rapidfireai 0.0.1__py3-none-any.whl → 0.9.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidfireai might be problematic. Click here for more details.
- rapidfireai/__init__.py +11 -5
- rapidfireai/automl/__init__.py +20 -0
- rapidfireai/automl/base.py +48 -0
- rapidfireai/automl/datatypes.py +42 -0
- rapidfireai/automl/grid_search.py +125 -0
- rapidfireai/automl/model_config.py +102 -0
- rapidfireai/automl/random_search.py +145 -0
- rapidfireai/backend/__init__.py +0 -0
- rapidfireai/backend/chunks.py +63 -0
- rapidfireai/backend/controller.py +637 -0
- rapidfireai/backend/scheduler.py +137 -0
- rapidfireai/backend/worker.py +272 -0
- rapidfireai/cli.py +380 -0
- rapidfireai/db/__init__.py +0 -0
- rapidfireai/db/db_interface.py +135 -0
- rapidfireai/db/rf_db.py +694 -0
- rapidfireai/db/tables.sql +64 -0
- rapidfireai/dispatcher/dispatcher.py +391 -0
- rapidfireai/dispatcher/gunicorn.conf.py +25 -0
- rapidfireai/experiment.py +168 -0
- rapidfireai/frontend/build/asset-manifest.json +276 -0
- rapidfireai/frontend/build/favicon.ico +0 -0
- rapidfireai/frontend/build/index.html +1 -0
- rapidfireai/frontend/build/manifest.json +15 -0
- rapidfireai/frontend/build/pdf.worker.js +1 -0
- rapidfireai/frontend/build/report.html +39 -0
- rapidfireai/frontend/build/static/css/1482.3b7bf531.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/2730.3f8937ff.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/318.0def90a7.css +7 -0
- rapidfireai/frontend/build/static/css/4762.9b7b71f7.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/4950.487ecc8b.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/5170.2574ce9d.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6121.4d541986.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6343.dd6979f2.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6534.433c213f.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6920.ffac4b2a.css +2 -0
- rapidfireai/frontend/build/static/css/7246.bf2f0c87.css +9 -0
- rapidfireai/frontend/build/static/css/7367.dd6979f2.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/8690.05d081e5.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/9531.d0910d3c.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/9780.363e4943.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/main~d91a9049.c0be472c.css +1 -0
- rapidfireai/frontend/build/static/js/1000.e5ed264b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1012.ac98ab59.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1079.6c13ac0d.js +1 -0
- rapidfireai/frontend/build/static/js/110.9059f3b8.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1142.872d0010.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1167.9a6da14c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1248.60890b4f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1262.83dc7673.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js.LICENSE.txt +9 -0
- rapidfireai/frontend/build/static/js/1303.7d19305c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1351.45076ff3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1355.b896a592.js +1 -0
- rapidfireai/frontend/build/static/js/1357.02c46a02.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1470.c51d60c6.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1482.23b74f50.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1500.19799d8d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1648.d3b9edc7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1860.7d96e3f9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1909.5b1d9ff4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1928.44245110.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/1928.44245110.chunk.js.LICENSE.txt +11 -0
- rapidfireai/frontend/build/static/js/1933.deba26ca.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/21.aac92802.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2103.0ca12071.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2258.b3b8fab4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2289.9ad51e87.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2323.7dd927d7.js +2 -0
- rapidfireai/frontend/build/static/js/2323.7dd927d7.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/2346.ed99ca72.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2386.0a660834.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2402.465048f9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/243.5a83bbca.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2589.68571e16.js +1 -0
- rapidfireai/frontend/build/static/js/2647.65092bab.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2691.65d4a4e7.js +1 -0
- rapidfireai/frontend/build/static/js/2730.b38dd6f3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2746.ef752da4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2779.580d4491.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2799.fe5993b2.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/2901.ee0c606b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/2956.a393c8cc.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2972.679bed05.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js.LICENSE.txt +51 -0
- rapidfireai/frontend/build/static/js/3093.488df653.js +1 -0
- rapidfireai/frontend/build/static/js/3145.66ee61b9.js +1 -0
- rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/3307.f6fb258c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3325.d5b03d65.js +1 -0
- rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/3387.bb8edad3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3448.438e6579.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3460.735eea87.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3505.7fd3921a.js +2 -0
- rapidfireai/frontend/build/static/js/3505.7fd3921a.js.LICENSE.txt +9 -0
- rapidfireai/frontend/build/static/js/3510.cd167a00.js +2 -0
- rapidfireai/frontend/build/static/js/3510.cd167a00.js.LICENSE.txt +18 -0
- rapidfireai/frontend/build/static/js/3563.cc828e19.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/359.08960b84.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/359.08960b84.chunk.js.LICENSE.txt +4 -0
- rapidfireai/frontend/build/static/js/3608.403b4b79.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3652.cb8add7f.js +1 -0
- rapidfireai/frontend/build/static/js/3775.5230b157.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3817.53555d18.js +2 -0
- rapidfireai/frontend/build/static/js/3817.53555d18.js.LICENSE.txt +18 -0
- rapidfireai/frontend/build/static/js/3835.d9946ff9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3964.874f0297.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3968.275cbc3d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3999.765cbd82.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4020.4452c046.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4138.2f6f6d9f.js +1 -0
- rapidfireai/frontend/build/static/js/4160.f424554c.js +1 -0
- rapidfireai/frontend/build/static/js/4180.50cea095.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4221.b0bba3f5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4250.5bb49278.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4297.15777d8f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4349.c965f2de.js +2 -0
- rapidfireai/frontend/build/static/js/4349.c965f2de.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js +2 -0
- rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/4578.a8124588.js +1 -0
- rapidfireai/frontend/build/static/js/4596.89a97480.js +1 -0
- rapidfireai/frontend/build/static/js/4748.566f435a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4762.928e8a90.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4768.7945be63.js +2 -0
- rapidfireai/frontend/build/static/js/4768.7945be63.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/4804.26b50dd4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4850.62390a45.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4862.a0ccb221.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/491.5dc8ed40.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/492.9262f038.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/492.9262f038.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/4943.6d345fd3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4950.bc182e62.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/5170.0065e96f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5222.35c74a52.js +2 -0
- rapidfireai/frontend/build/static/js/5222.35c74a52.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js.LICENSE.txt +3 -0
- rapidfireai/frontend/build/static/js/5229.7dd42316.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5286.4c1ad26b.js +1 -0
- rapidfireai/frontend/build/static/js/5486.21cff711.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5526.7b368956.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5605.1ee4d87b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5682.40b42d8b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5794.9433d867.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/5862.50f42a0b.js +1 -0
- rapidfireai/frontend/build/static/js/5895.e26742f1.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5919.edd4a5cf.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/598.a0e792ae.js +1 -0
- rapidfireai/frontend/build/static/js/6058.74162bf9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/618.06051134.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/618.06051134.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/6335.9fca442d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6336.e05e1154.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6343.2bcd28ff.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6363.a319b8f2.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6478.344abf25.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6504.1c004564.js +1 -0
- rapidfireai/frontend/build/static/js/6534.ec7e149b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6715.55a5c19c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js.LICENSE.txt +19 -0
- rapidfireai/frontend/build/static/js/6846.67103d0e.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6861.34cf0198.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js.LICENSE.txt +5 -0
- rapidfireai/frontend/build/static/js/6933.8b564944.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/699.d0437920.js +1 -0
- rapidfireai/frontend/build/static/js/7076.4182f63a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7186.42ad86d5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7248.a46635fd.js +1 -0
- rapidfireai/frontend/build/static/js/725.6b15a14a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7266.3575539d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7367.7120474f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7436.8e226055.js +1 -0
- rapidfireai/frontend/build/static/js/7504.ef223844.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7603.ee049fe3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7721.7390b3cc.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7731.5796cced.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7832.7976a3e4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7844.72cc2e81.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7948.48eab032.js +1 -0
- rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8017.a9e7dc5a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8023.75f1f3df.js +2 -0
- rapidfireai/frontend/build/static/js/8023.75f1f3df.js.LICENSE.txt +41 -0
- rapidfireai/frontend/build/static/js/8123.b69db974.js +1 -0
- rapidfireai/frontend/build/static/js/813.065a87e5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/819.2056f122.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/819.2056f122.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8262.04bc17d1.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8300.75adcc4f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8336.b1d3e764.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8365.26cf64ea.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8486.8ec852a7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8497.19378265.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8541.4c55c9f4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8712.a9445fe6.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8763.61761e08.js +1 -0
- rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8867.767462b7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8953.c0f88dea.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9.f4492795.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9.f4492795.chunk.js.LICENSE.txt +12 -0
- rapidfireai/frontend/build/static/js/9079.88a8d2a3.js +1 -0
- rapidfireai/frontend/build/static/js/9082.37c40520.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9133.90ae330d.js +2 -0
- rapidfireai/frontend/build/static/js/9133.90ae330d.js.LICENSE.txt +8 -0
- rapidfireai/frontend/build/static/js/9151.1ac359d5.js +2 -0
- rapidfireai/frontend/build/static/js/9151.1ac359d5.js.LICENSE.txt +8 -0
- rapidfireai/frontend/build/static/js/9168.027bf2fd.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9194.9c5cc548.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9244.026f4aee.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/936.2e02d037.js +2 -0
- rapidfireai/frontend/build/static/js/936.2e02d037.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9369.7d1a0a1d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9427.7c8442e7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/944.55948859.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9499.c53a82da.js +2 -0
- rapidfireai/frontend/build/static/js/9499.c53a82da.js.LICENSE.txt +62 -0
- rapidfireai/frontend/build/static/js/9531.3ce05781.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9620.b6e973a7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9645.6fddfa65.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9669.d38dda6d.js +1 -0
- rapidfireai/frontend/build/static/js/9682.41b6b807.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js.LICENSE.txt +23 -0
- rapidfireai/frontend/build/static/js/9723.d3c7fe9e.js +1 -0
- rapidfireai/frontend/build/static/js/9780.02a27630.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9815.b8db3c5d.js +1 -0
- rapidfireai/frontend/build/static/js/9886.2940b53a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/main~1f912138.fa9d03b1.js +1 -0
- rapidfireai/frontend/build/static/js/main~43dd7041.2e00860d.js +1 -0
- rapidfireai/frontend/build/static/js/main~84781932.68deffff.js +1 -0
- rapidfireai/frontend/build/static/media/404-overflow.fad9a31861b0afba6f921ebb8e769688.svg +32 -0
- rapidfireai/frontend/build/static/media/RapidFire_Square_Bug.27ceb48296314a4bc0d4.png +0 -0
- rapidfireai/frontend/build/static/media/chart-bar.0fd4a63680fba840a7b69fbf07969f79.svg +7 -0
- rapidfireai/frontend/build/static/media/chart-contour.0d4b306f2669f3ad25375568935e3ce3.svg +5 -0
- rapidfireai/frontend/build/static/media/chart-difference.16174216d6f3b7c24f40e3541fe0ca2c.svg +20 -0
- rapidfireai/frontend/build/static/media/chart-image.cc434c4dc50780966344e2385a15f8fe.svg +6 -0
- rapidfireai/frontend/build/static/media/chart-line.0adaa2036bb4eb5956db6d0c7e925a3d.svg +4 -0
- rapidfireai/frontend/build/static/media/chart-parallel.da7dedf539b2af4b654d377c679173e4.svg +7 -0
- rapidfireai/frontend/build/static/media/chart-scatter.69118d0023a6ff3973f7fa913834ac47.svg +9 -0
- rapidfireai/frontend/build/static/media/default-error.f246ddf367c6fbd67942e5a13382a7f1.svg +26 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.1e59d2330b4c6deb84b3.ttf +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.20fd1704ea223900efa9.woff2 +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.8b43027f47b20503057d.eot +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.c1e38fd9e0e74ba58f7a.svg +2671 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.f691f37e57f04c152e23.woff +0 -0
- rapidfireai/frontend/build/static/media/icon-visible-fill.8d34cd35303828fdfc15154f5536e63b.svg +7 -0
- rapidfireai/frontend/build/static/media/no-experiments.0e4f4a114ef73e7d81c09474aba64b6c.svg +22 -0
- rapidfireai/frontend/build/static/media/parallel-chart-placeholder.234ef0c5b220ef2a5a6fa5bafff173f7.svg +16 -0
- rapidfireai/frontend/build/static/media/permission-denied-lock.16036747d57cd663d7df223781a447b2.svg +14 -0
- rapidfireai/frontend/build/static/media/promo-modal-content.e3b2c6c568ac192b9bec54b838b54850.svg +30 -0
- rapidfireai/frontend/build/static/media/registered-model-grey-ok.8274b58d39504c8d1b8c358aa1c9aa35.svg +23 -0
- rapidfireai/frontend/build/static/media/warning.290a3b14118933547965e91ea61c5a61.svg +3 -0
- rapidfireai/frontend/proxy_middleware.py +233 -0
- rapidfireai/frontend/server.py +25 -0
- rapidfireai/ml/__init__.py +0 -0
- rapidfireai/ml/callbacks.py +176 -0
- rapidfireai/ml/checkpoint_utils.py +540 -0
- rapidfireai/ml/trainer.py +309 -0
- rapidfireai/start.sh +634 -0
- rapidfireai/utils/__init__.py +0 -0
- rapidfireai/utils/automl_utils.py +51 -0
- rapidfireai/utils/constants.py +141 -0
- rapidfireai/utils/datapaths.py +69 -0
- rapidfireai/utils/exceptions.py +82 -0
- rapidfireai/utils/experiment_utils.py +370 -0
- rapidfireai/utils/logging.py +87 -0
- rapidfireai/utils/mlflow_manager.py +121 -0
- rapidfireai/utils/serialize.py +15 -0
- rapidfireai/utils/shm_manager.py +469 -0
- rapidfireai/utils/trainer_config.py +23 -0
- rapidfireai/utils/worker_manager.py +219 -0
- rapidfireai/version.py +6 -0
- rapidfireai-0.9.10.dist-info/METADATA +247 -0
- rapidfireai-0.9.10.dist-info/RECORD +318 -0
- rapidfireai-0.9.10.dist-info/entry_points.txt +2 -0
- rapidfireai-0.0.1.dist-info/METADATA +0 -37
- rapidfireai-0.0.1.dist-info/RECORD +0 -6
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/WHEEL +0 -0
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/licenses/LICENSE +0 -0
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @licstart The following is the entire license notice for the
|
|
3
|
+
* Javascript code in this page
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2018 Mozilla Foundation
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* @licend The above is the entire license notice for the
|
|
20
|
+
* Javascript code in this page
|
|
21
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[2901],{87266:function(t,r,i){"use strict";var n=i(1101);t.exports=function(t,r){return n(t[0].mul(r[1]).add(r[0].mul(t[1])),t[1].mul(r[1]))}},68577:function(t){"use strict";t.exports=function(t,r){return t[0].mul(r[1]).cmp(r[0].mul(t[1]))}},27606:function(t,r,i){"use strict";var n=i(1101);t.exports=function(t,r){return n(t[0].mul(r[1]),t[1].mul(r[0]))}},56249:function(t,r,i){"use strict";var n=i(88403),e=i(35198),o=i(87396),h=i(90035),u=i(1101),s=i(27606);t.exports=function t(r,i){if(n(r))return i?s(r,t(i)):[r[0].clone(),r[1].clone()];var a,l,f=0;if(e(r))a=r.clone();else if("string"===typeof r)a=h(r);else{if(0===r)return[o(0),o(1)];if(r===Math.floor(r))a=o(r);else{for(;r!==Math.floor(r);)r*=Math.pow(2,256),f-=256;a=o(r)}}if(n(i))a.mul(i[1]),l=i[0].clone();else if(e(i))l=i.clone();else if("string"===typeof i)l=h(i);else if(i)if(i===Math.floor(i))l=o(i);else{for(;i!==Math.floor(i);)i*=Math.pow(2,256),f+=256;l=o(i)}else l=o(1);f>0?a=a.ushln(f):f<0&&(l=l.ushln(-f));return u(a,l)}},88403:function(t,r,i){"use strict";var n=i(35198);t.exports=function(t){return Array.isArray(t)&&2===t.length&&n(t[0])&&n(t[1])}},22483:function(t,r,i){"use strict";var n=i(61722);t.exports=function(t){return t.cmp(new n(0))}},22650:function(t,r,i){"use strict";var n=i(22483);t.exports=function(t){var r=t.length,i=t.words,e=0;if(1===r)e=i[0];else if(2===r)e=i[0]+67108864*i[1];else for(var o=0;o<r;o++){e+=i[o]*Math.pow(67108864,o)}return n(t)*e}},63742:function(t,r,i){"use strict";var n=i(49532),e=i(43863).countTrailingZeros;t.exports=function(t){var r=e(n.lo(t));if(r<32)return r;var i=e(n.hi(t));if(i>20)return 52;return i+32}},35198:function(t,r,i){"use strict";i(61722);t.exports=function(t){return t&&"object"===typeof t&&Boolean(t.words)}},87396:function(t,r,i){"use strict";var n=i(61722),e=i(49532);t.exports=function(t){var r=e.exponent(t);return r<52?new n(t):new n(t*Math.pow(2,52-r)).ushln(r-52)}},1101:function(t,r,i){"use strict";var n=i(87396),e=i(22483);t.exports=function(t,r){var i=e(t),o=e(r);if(0===i)return[n(0),n(1)];if(0===o)return[n(0),n(0)];o<0&&(t=t.neg(),r=r.neg());var h=t.gcd(r);if(h.cmpn(1))return[t.div(h),r.div(h)];return[t,r]}},90035:function(t,r,i){"use strict";var n=i(61722);t.exports=function(t){return new n(t)}},73691:function(t,r,i){"use strict";var n=i(1101);t.exports=function(t,r){return n(t[0].mul(r[0]),t[1].mul(r[1]))}},26260:function(t,r,i){"use strict";var n=i(22483);t.exports=function(t){return n(t[0])*n(t[1])}},62071:function(t,r,i){"use strict";var n=i(1101);t.exports=function(t,r){return n(t[0].mul(r[1]).sub(t[1].mul(r[0])),t[1].mul(r[1]))}},79995:function(t,r,i){"use strict";var n=i(22650),e=i(63742);t.exports=function(t){var r=t[0],i=t[1];if(0===r.cmpn(0))return 0;var o=r.abs().divmod(i.abs()),h=o.div,u=n(h),s=o.mod,a=r.negative!==i.negative?-1:1;if(0===s.cmpn(0))return a*u;if(u){var l=e(u)+4;return a*(u+(m=n(s.ushln(l).divRound(i)))*Math.pow(2,-l))}var f=i.bitLength()-s.bitLength()+53,m=n(s.ushln(f).divRound(i));return f<1023?a*m*Math.pow(2,-f):a*(m*=Math.pow(2,-1023))*Math.pow(2,1023-f)}},62683:function(t){"use strict";function r(t,r,i,n,e){for(var o=e+1;n<=e;){var h=n+e>>>1,u=t[h];(void 0!==i?i(u,r):u-r)>=0?(o=h,e=h-1):n=h+1}return o}function i(t,r,i,n,e){for(var o=e+1;n<=e;){var h=n+e>>>1,u=t[h];(void 0!==i?i(u,r):u-r)>0?(o=h,e=h-1):n=h+1}return o}function n(t,r,i,n,e){for(var o=n-1;n<=e;){var h=n+e>>>1,u=t[h];(void 0!==i?i(u,r):u-r)<0?(o=h,n=h+1):e=h-1}return o}function e(t,r,i,n,e){for(var o=n-1;n<=e;){var h=n+e>>>1,u=t[h];(void 0!==i?i(u,r):u-r)<=0?(o=h,n=h+1):e=h-1}return o}function o(t,r,i,n,e){for(;n<=e;){var o=n+e>>>1,h=t[o],u=void 0!==i?i(h,r):h-r;if(0===u)return o;u<=0?n=o+1:e=o-1}return-1}function h(t,r,i,n,e,o){return"function"===typeof i?o(t,r,i,void 0===n?0:0|n,void 0===e?t.length-1:0|e):o(t,r,void 0,void 0===i?0:0|i,void 0===n?t.length-1:0|n)}t.exports={ge:function(t,i,n,e,o){return h(t,i,n,e,o,r)},gt:function(t,r,n,e,o){return h(t,r,n,e,o,i)},lt:function(t,r,i,e,o){return h(t,r,i,e,o,n)},le:function(t,r,i,n,o){return h(t,r,i,n,o,e)},eq:function(t,r,i,n,e){return h(t,r,i,n,e,o)}}},43863:function(t,r){"use strict";function i(t){var r=32;return(t&=-t)&&r--,65535&t&&(r-=16),16711935&t&&(r-=8),252645135&t&&(r-=4),858993459&t&&(r-=2),1431655765&t&&(r-=1),r}r.INT_BITS=32,r.INT_MAX=2147483647,r.INT_MIN=-1<<31,r.sign=function(t){return(t>0)-(t<0)},r.abs=function(t){var r=t>>31;return(t^r)-r},r.min=function(t,r){return r^(t^r)&-(t<r)},r.max=function(t,r){return t^(t^r)&-(t<r)},r.isPow2=function(t){return!(t&t-1)&&!!t},r.log2=function(t){var r,i;return r=(t>65535)<<4,r|=i=((t>>>=r)>255)<<3,r|=i=((t>>>=i)>15)<<2,(r|=i=((t>>>=i)>3)<<1)|(t>>>=i)>>1},r.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},r.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},r.countTrailingZeros=i,r.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1},r.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},r.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var n=new Array(256);!function(t){for(var r=0;r<256;++r){var i=r,n=r,e=7;for(i>>>=1;i;i>>>=1)n<<=1,n|=1&i,--e;t[r]=n<<e&255}}(n),r.reverse=function(t){return n[255&t]<<24|n[t>>>8&255]<<16|n[t>>>16&255]<<8|n[t>>>24&255]},r.interleave2=function(t,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(r=1431655765&((r=858993459&((r=252645135&((r=16711935&((r&=65535)|r<<8))|r<<4))|r<<2))|r<<1))<<1},r.deinterleave2=function(t,r){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>r&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},r.interleave3=function(t,r,i){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(r=1227133513&((r=3272356035&((r=251719695&((r=4278190335&((r&=1023)|r<<16))|r<<8))|r<<4))|r<<2))<<1)|(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<2},r.deinterleave3=function(t,r){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>r&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},r.nextCombination=function(t){var r=t|t-1;return r+1|(~r&-~r)-1>>>i(t)+1}},85154:function(t,r,i){"use strict";var n=i(98722);t.exports=function(t,r){r||(r={});var i,h,u,s,a,l,f,m,v,c,p,d=null==r.cutoff?.25:r.cutoff,g=null==r.radius?8:r.radius,M=r.channel||0;if(ArrayBuffer.isView(t)||Array.isArray(t)){if(!r.width||!r.height)throw Error("For raw data width and height should be provided by options");i=r.width,h=r.height,s=t,l=r.stride?r.stride:Math.floor(t.length/i/h)}else window.HTMLCanvasElement&&t instanceof window.HTMLCanvasElement?(f=(m=t).getContext("2d"),i=m.width,h=m.height,s=(v=f.getImageData(0,0,i,h)).data,l=4):window.CanvasRenderingContext2D&&t instanceof window.CanvasRenderingContext2D?(f=t,i=(m=t.canvas).width,h=m.height,s=(v=f.getImageData(0,0,i,h)).data,l=4):window.ImageData&&t instanceof window.ImageData&&(v=t,i=t.width,h=t.height,s=v.data,l=4);if(u=Math.max(i,h),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(a=s,s=Array(i*h),c=0,p=a.length;c<p;c++)s[c]=a[c*l+M]/255;else if(1!==l)throw Error("Raw data can have only 1 value per pixel");var w=Array(i*h),y=Array(i*h),b=Array(u),x=Array(u),_=Array(u+1),A=Array(u);for(c=0,p=i*h;c<p;c++){var k=s[c];w[c]=1===k?0:0===k?e:Math.pow(Math.max(0,.5-k),2),y[c]=1===k?e:0===k?0:Math.pow(Math.max(0,k-.5),2)}o(w,i,h,b,x,A,_),o(y,i,h,b,x,A,_);var I=window.Float32Array?new Float32Array(i*h):new Array(i*h);for(c=0,p=i*h;c<p;c++)I[c]=n(1-((w[c]-y[c])/g+d),0,1);return I};var e=1e20;function o(t,r,i,n,e,o,u){for(var s=0;s<r;s++){for(var a=0;a<i;a++)n[a]=t[a*r+s];for(h(n,e,o,u,i),a=0;a<i;a++)t[a*r+s]=e[a]}for(a=0;a<i;a++){for(s=0;s<r;s++)n[s]=t[a*r+s];for(h(n,e,o,u,r),s=0;s<r;s++)t[a*r+s]=Math.sqrt(e[s])}}function h(t,r,i,n,o){i[0]=0,n[0]=-e,n[1]=+e;for(var h=1,u=0;h<o;h++){for(var s=(t[h]+h*h-(t[i[u]]+i[u]*i[u]))/(2*h-2*i[u]);s<=n[u];)u--,s=(t[h]+h*h-(t[i[u]]+i[u]*i[u]))/(2*h-2*i[u]);i[++u]=h,n[u]=s,n[u+1]=+e}for(h=0,u=0;h<o;h++){for(;n[u+1]<h;)u++;r[h]=(h-i[u])*(h-i[u])+t[i[u]]}}},61722:function(t,r,i){!function(t,r){"use strict";function n(t,r){if(!t)throw new Error(r||"Assertion failed")}function e(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}function o(t,r,i){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==r&&"be"!==r||(i=r,r=10),this._init(t||0,r||10,i||"be"))}var h;"object"===typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{h=i(47790).Buffer}catch(A){}function u(t,r,i){for(var n=0,e=Math.min(t.length,i),o=r;o<e;o++){var h=t.charCodeAt(o)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function s(t,r,i,n){for(var e=0,o=Math.min(t.length,i),h=r;h<o;h++){var u=t.charCodeAt(h)-48;e*=n,e+=u>=49?u-49+10:u>=17?u-17+10:u}return e}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,r){return t.cmp(r)>0?t:r},o.min=function(t,r){return t.cmp(r)<0?t:r},o.prototype._init=function(t,r,i){if("number"===typeof t)return this._initNumber(t,r,i);if("object"===typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),n(r===(0|r)&&r>=2&&r<=36);var e=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&e++,16===r?this._parseHex(t,e):this._parseBase(t,r,e),"-"===t[0]&&(this.negative=1),this.strip(),"le"===i&&this._initArray(this.toArray(),r,i)},o.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},o.prototype._initArray=function(t,r,i){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var e=0;e<this.length;e++)this.words[e]=0;var o,h,u=0;if("be"===i)for(e=t.length-1,o=0;e>=0;e-=3)h=t[e]|t[e-1]<<8|t[e-2]<<16,this.words[o]|=h<<u&67108863,this.words[o+1]=h>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===i)for(e=0,o=0;e<t.length;e+=3)h=t[e]|t[e+1]<<8|t[e+2]<<16,this.words[o]|=h<<u&67108863,this.words[o+1]=h>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this.strip()},o.prototype._parseHex=function(t,r){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,e,o=0;for(i=t.length-6,n=0;i>=r;i-=6)e=u(t,i,i+6),this.words[n]|=e<<o&67108863,this.words[n+1]|=e>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);i+6!==r&&(e=u(t,r,i+6),this.words[n]|=e<<o&67108863,this.words[n+1]|=e>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var n=0,e=1;e<=67108863;e*=r)n++;n--,e=e/r|0;for(var o=t.length-i,h=o%n,u=Math.min(o,o-h)+i,a=0,l=i;l<u;l+=n)a=s(t,l,l+n,r),this.imuln(e),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==h){var f=1;for(a=s(t,l,t.length,r),l=0;l<h;l++)f*=r;this.imuln(f),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var a=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,r,i){i.negative=r.negative^t.negative;var n=t.length+r.length|0;i.length=n,n=n-1|0;var e=0|t.words[0],o=0|r.words[0],h=e*o,u=67108863&h,s=h/67108864|0;i.words[0]=u;for(var a=1;a<n;a++){for(var l=s>>>26,f=67108863&s,m=Math.min(a,r.length-1),v=Math.max(0,a-t.length+1);v<=m;v++){var c=a-v|0;l+=(h=(e=0|t.words[c])*(o=0|r.words[v])+f)/67108864|0,f=67108863&h}i.words[a]=0|f,s=0|l}return 0!==s?i.words[a]=0|s:i.length--,i.strip()}o.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var e=0,o=0,h=0;h<this.length;h++){var u=this.words[h],s=(16777215&(u<<e|o)).toString(16);i=0!==(o=u>>>24-e&16777215)||h!==this.length-1?a[6-s.length]+s+i:s+i,(e+=2)>=26&&(e-=26,h--)}for(0!==o&&(i=o.toString(16)+i);i.length%r!==0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var m=l[t],v=f[t];i="";var c=this.clone();for(c.negative=0;!c.isZero();){var p=c.modn(v).toString(t);i=(c=c.idivn(v)).isZero()?p+i:a[m-p.length]+p+i}for(this.isZero()&&(i="0"+i);i.length%r!==0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,r){return n("undefined"!==typeof h),this.toArrayLike(h,t,r)},o.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},o.prototype.toArrayLike=function(t,r,i){var e=this.byteLength(),o=i||Math.max(1,e);n(e<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var h,u,s="le"===r,a=new t(o),l=this.clone();if(s){for(u=0;!l.isZero();u++)h=l.andln(255),l.iushrn(8),a[u]=h;for(;u<o;u++)a[u]=0}else{for(u=0;u<o-e;u++)a[u]=0;for(u=0;!l.isZero();u++)h=l.andln(255),l.iushrn(8),a[o-u-1]=h}return a},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},o.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0===(8191&r)&&(i+=13,r>>>=13),0===(127&r)&&(i+=7,r>>>=7),0===(15&r)&&(i+=4,r>>>=4),0===(3&r)&&(i+=2,r>>>=2),0===(1&r)&&i++,i},o.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var n=0;n<i.length;n++)this.words[n]=r.words[n]^i.words[n];if(this!==r)for(;n<r.length;n++)this.words[n]=r.words[n];return this.length=r.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var e=0;e<r;e++)this.words[e]=67108863&~this.words[e];return i>0&&(this.words[e]=~this.words[e]&67108863>>26-i),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,r){n("number"===typeof t&&t>=0);var i=t/26|0,e=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<e:this.words[i]&~(1<<e),this.strip()},o.prototype.iadd=function(t){var r,i,n;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,n=t):(i=t,n=this);for(var e=0,o=0;o<n.length;o++)r=(0|i.words[o])+(0|n.words[o])+e,this.words[o]=67108863&r,e=r>>>26;for(;0!==e&&o<i.length;o++)r=(0|i.words[o])+e,this.words[o]=67108863&r,e=r>>>26;if(this.length=i.length,0!==e)this.words[this.length]=e,this.length++;else if(i!==this)for(;o<i.length;o++)this.words[o]=i.words[o];return this},o.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var i,n,e=this.cmp(t);if(0===e)return this.negative=0,this.length=1,this.words[0]=0,this;e>0?(i=this,n=t):(i=t,n=this);for(var o=0,h=0;h<n.length;h++)o=(r=(0|i.words[h])-(0|n.words[h])+o)>>26,this.words[h]=67108863&r;for(;0!==o&&h<i.length;h++)o=(r=(0|i.words[h])+o)>>26,this.words[h]=67108863&r;if(0===o&&h<i.length&&i!==this)for(;h<i.length;h++)this.words[h]=i.words[h];return this.length=Math.max(this.length,h),i!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var v=function(t,r,i){var n,e,o,h=t.words,u=r.words,s=i.words,a=0,l=0|h[0],f=8191&l,m=l>>>13,v=0|h[1],c=8191&v,p=v>>>13,d=0|h[2],g=8191&d,M=d>>>13,w=0|h[3],y=8191&w,b=w>>>13,x=0|h[4],_=8191&x,A=x>>>13,k=0|h[5],I=8191&k,B=k>>>13,q=0|h[6],S=8191&q,R=q>>>13,T=0|h[7],Z=8191&T,C=T>>>13,N=0|h[8],j=8191&N,E=N>>>13,O=0|h[9],L=8191&O,D=O>>>13,F=0|u[0],P=8191&F,z=F>>>13,U=0|u[1],H=8191&U,K=U>>>13,J=0|u[2],G=8191&J,Q=J>>>13,Y=0|u[3],$=8191&Y,V=Y>>>13,X=0|u[4],W=8191&X,tt=X>>>13,rt=0|u[5],it=8191&rt,nt=rt>>>13,et=0|u[6],ot=8191&et,ht=et>>>13,ut=0|u[7],st=8191&ut,at=ut>>>13,lt=0|u[8],ft=8191<,mt=lt>>>13,vt=0|u[9],ct=8191&vt,pt=vt>>>13;i.negative=t.negative^r.negative,i.length=19;var dt=(a+(n=Math.imul(f,P))|0)+((8191&(e=(e=Math.imul(f,z))+Math.imul(m,P)|0))<<13)|0;a=((o=Math.imul(m,z))+(e>>>13)|0)+(dt>>>26)|0,dt&=67108863,n=Math.imul(c,P),e=(e=Math.imul(c,z))+Math.imul(p,P)|0,o=Math.imul(p,z);var gt=(a+(n=n+Math.imul(f,H)|0)|0)+((8191&(e=(e=e+Math.imul(f,K)|0)+Math.imul(m,H)|0))<<13)|0;a=((o=o+Math.imul(m,K)|0)+(e>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(g,P),e=(e=Math.imul(g,z))+Math.imul(M,P)|0,o=Math.imul(M,z),n=n+Math.imul(c,H)|0,e=(e=e+Math.imul(c,K)|0)+Math.imul(p,H)|0,o=o+Math.imul(p,K)|0;var Mt=(a+(n=n+Math.imul(f,G)|0)|0)+((8191&(e=(e=e+Math.imul(f,Q)|0)+Math.imul(m,G)|0))<<13)|0;a=((o=o+Math.imul(m,Q)|0)+(e>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,P),e=(e=Math.imul(y,z))+Math.imul(b,P)|0,o=Math.imul(b,z),n=n+Math.imul(g,H)|0,e=(e=e+Math.imul(g,K)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,K)|0,n=n+Math.imul(c,G)|0,e=(e=e+Math.imul(c,Q)|0)+Math.imul(p,G)|0,o=o+Math.imul(p,Q)|0;var wt=(a+(n=n+Math.imul(f,$)|0)|0)+((8191&(e=(e=e+Math.imul(f,V)|0)+Math.imul(m,$)|0))<<13)|0;a=((o=o+Math.imul(m,V)|0)+(e>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(_,P),e=(e=Math.imul(_,z))+Math.imul(A,P)|0,o=Math.imul(A,z),n=n+Math.imul(y,H)|0,e=(e=e+Math.imul(y,K)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,K)|0,n=n+Math.imul(g,G)|0,e=(e=e+Math.imul(g,Q)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,Q)|0,n=n+Math.imul(c,$)|0,e=(e=e+Math.imul(c,V)|0)+Math.imul(p,$)|0,o=o+Math.imul(p,V)|0;var yt=(a+(n=n+Math.imul(f,W)|0)|0)+((8191&(e=(e=e+Math.imul(f,tt)|0)+Math.imul(m,W)|0))<<13)|0;a=((o=o+Math.imul(m,tt)|0)+(e>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(I,P),e=(e=Math.imul(I,z))+Math.imul(B,P)|0,o=Math.imul(B,z),n=n+Math.imul(_,H)|0,e=(e=e+Math.imul(_,K)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(y,G)|0,e=(e=e+Math.imul(y,Q)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(g,$)|0,e=(e=e+Math.imul(g,V)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(c,W)|0,e=(e=e+Math.imul(c,tt)|0)+Math.imul(p,W)|0,o=o+Math.imul(p,tt)|0;var bt=(a+(n=n+Math.imul(f,it)|0)|0)+((8191&(e=(e=e+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;a=((o=o+Math.imul(m,nt)|0)+(e>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(S,P),e=(e=Math.imul(S,z))+Math.imul(R,P)|0,o=Math.imul(R,z),n=n+Math.imul(I,H)|0,e=(e=e+Math.imul(I,K)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,K)|0,n=n+Math.imul(_,G)|0,e=(e=e+Math.imul(_,Q)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(y,$)|0,e=(e=e+Math.imul(y,V)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,V)|0,n=n+Math.imul(g,W)|0,e=(e=e+Math.imul(g,tt)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(c,it)|0,e=(e=e+Math.imul(c,nt)|0)+Math.imul(p,it)|0,o=o+Math.imul(p,nt)|0;var xt=(a+(n=n+Math.imul(f,ot)|0)|0)+((8191&(e=(e=e+Math.imul(f,ht)|0)+Math.imul(m,ot)|0))<<13)|0;a=((o=o+Math.imul(m,ht)|0)+(e>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Z,P),e=(e=Math.imul(Z,z))+Math.imul(C,P)|0,o=Math.imul(C,z),n=n+Math.imul(S,H)|0,e=(e=e+Math.imul(S,K)|0)+Math.imul(R,H)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(I,G)|0,e=(e=e+Math.imul(I,Q)|0)+Math.imul(B,G)|0,o=o+Math.imul(B,Q)|0,n=n+Math.imul(_,$)|0,e=(e=e+Math.imul(_,V)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(y,W)|0,e=(e=e+Math.imul(y,tt)|0)+Math.imul(b,W)|0,o=o+Math.imul(b,tt)|0,n=n+Math.imul(g,it)|0,e=(e=e+Math.imul(g,nt)|0)+Math.imul(M,it)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(c,ot)|0,e=(e=e+Math.imul(c,ht)|0)+Math.imul(p,ot)|0,o=o+Math.imul(p,ht)|0;var _t=(a+(n=n+Math.imul(f,st)|0)|0)+((8191&(e=(e=e+Math.imul(f,at)|0)+Math.imul(m,st)|0))<<13)|0;a=((o=o+Math.imul(m,at)|0)+(e>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(j,P),e=(e=Math.imul(j,z))+Math.imul(E,P)|0,o=Math.imul(E,z),n=n+Math.imul(Z,H)|0,e=(e=e+Math.imul(Z,K)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,K)|0,n=n+Math.imul(S,G)|0,e=(e=e+Math.imul(S,Q)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,Q)|0,n=n+Math.imul(I,$)|0,e=(e=e+Math.imul(I,V)|0)+Math.imul(B,$)|0,o=o+Math.imul(B,V)|0,n=n+Math.imul(_,W)|0,e=(e=e+Math.imul(_,tt)|0)+Math.imul(A,W)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(y,it)|0,e=(e=e+Math.imul(y,nt)|0)+Math.imul(b,it)|0,o=o+Math.imul(b,nt)|0,n=n+Math.imul(g,ot)|0,e=(e=e+Math.imul(g,ht)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,ht)|0,n=n+Math.imul(c,st)|0,e=(e=e+Math.imul(c,at)|0)+Math.imul(p,st)|0,o=o+Math.imul(p,at)|0;var At=(a+(n=n+Math.imul(f,ft)|0)|0)+((8191&(e=(e=e+Math.imul(f,mt)|0)+Math.imul(m,ft)|0))<<13)|0;a=((o=o+Math.imul(m,mt)|0)+(e>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(L,P),e=(e=Math.imul(L,z))+Math.imul(D,P)|0,o=Math.imul(D,z),n=n+Math.imul(j,H)|0,e=(e=e+Math.imul(j,K)|0)+Math.imul(E,H)|0,o=o+Math.imul(E,K)|0,n=n+Math.imul(Z,G)|0,e=(e=e+Math.imul(Z,Q)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(S,$)|0,e=(e=e+Math.imul(S,V)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(I,W)|0,e=(e=e+Math.imul(I,tt)|0)+Math.imul(B,W)|0,o=o+Math.imul(B,tt)|0,n=n+Math.imul(_,it)|0,e=(e=e+Math.imul(_,nt)|0)+Math.imul(A,it)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(y,ot)|0,e=(e=e+Math.imul(y,ht)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,ht)|0,n=n+Math.imul(g,st)|0,e=(e=e+Math.imul(g,at)|0)+Math.imul(M,st)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(c,ft)|0,e=(e=e+Math.imul(c,mt)|0)+Math.imul(p,ft)|0,o=o+Math.imul(p,mt)|0;var kt=(a+(n=n+Math.imul(f,ct)|0)|0)+((8191&(e=(e=e+Math.imul(f,pt)|0)+Math.imul(m,ct)|0))<<13)|0;a=((o=o+Math.imul(m,pt)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(L,H),e=(e=Math.imul(L,K))+Math.imul(D,H)|0,o=Math.imul(D,K),n=n+Math.imul(j,G)|0,e=(e=e+Math.imul(j,Q)|0)+Math.imul(E,G)|0,o=o+Math.imul(E,Q)|0,n=n+Math.imul(Z,$)|0,e=(e=e+Math.imul(Z,V)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,V)|0,n=n+Math.imul(S,W)|0,e=(e=e+Math.imul(S,tt)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(I,it)|0,e=(e=e+Math.imul(I,nt)|0)+Math.imul(B,it)|0,o=o+Math.imul(B,nt)|0,n=n+Math.imul(_,ot)|0,e=(e=e+Math.imul(_,ht)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,ht)|0,n=n+Math.imul(y,st)|0,e=(e=e+Math.imul(y,at)|0)+Math.imul(b,st)|0,o=o+Math.imul(b,at)|0,n=n+Math.imul(g,ft)|0,e=(e=e+Math.imul(g,mt)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,mt)|0;var It=(a+(n=n+Math.imul(c,ct)|0)|0)+((8191&(e=(e=e+Math.imul(c,pt)|0)+Math.imul(p,ct)|0))<<13)|0;a=((o=o+Math.imul(p,pt)|0)+(e>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(L,G),e=(e=Math.imul(L,Q))+Math.imul(D,G)|0,o=Math.imul(D,Q),n=n+Math.imul(j,$)|0,e=(e=e+Math.imul(j,V)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,V)|0,n=n+Math.imul(Z,W)|0,e=(e=e+Math.imul(Z,tt)|0)+Math.imul(C,W)|0,o=o+Math.imul(C,tt)|0,n=n+Math.imul(S,it)|0,e=(e=e+Math.imul(S,nt)|0)+Math.imul(R,it)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(I,ot)|0,e=(e=e+Math.imul(I,ht)|0)+Math.imul(B,ot)|0,o=o+Math.imul(B,ht)|0,n=n+Math.imul(_,st)|0,e=(e=e+Math.imul(_,at)|0)+Math.imul(A,st)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(y,ft)|0,e=(e=e+Math.imul(y,mt)|0)+Math.imul(b,ft)|0,o=o+Math.imul(b,mt)|0;var Bt=(a+(n=n+Math.imul(g,ct)|0)|0)+((8191&(e=(e=e+Math.imul(g,pt)|0)+Math.imul(M,ct)|0))<<13)|0;a=((o=o+Math.imul(M,pt)|0)+(e>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(L,$),e=(e=Math.imul(L,V))+Math.imul(D,$)|0,o=Math.imul(D,V),n=n+Math.imul(j,W)|0,e=(e=e+Math.imul(j,tt)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,tt)|0,n=n+Math.imul(Z,it)|0,e=(e=e+Math.imul(Z,nt)|0)+Math.imul(C,it)|0,o=o+Math.imul(C,nt)|0,n=n+Math.imul(S,ot)|0,e=(e=e+Math.imul(S,ht)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,ht)|0,n=n+Math.imul(I,st)|0,e=(e=e+Math.imul(I,at)|0)+Math.imul(B,st)|0,o=o+Math.imul(B,at)|0,n=n+Math.imul(_,ft)|0,e=(e=e+Math.imul(_,mt)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,mt)|0;var qt=(a+(n=n+Math.imul(y,ct)|0)|0)+((8191&(e=(e=e+Math.imul(y,pt)|0)+Math.imul(b,ct)|0))<<13)|0;a=((o=o+Math.imul(b,pt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(L,W),e=(e=Math.imul(L,tt))+Math.imul(D,W)|0,o=Math.imul(D,tt),n=n+Math.imul(j,it)|0,e=(e=e+Math.imul(j,nt)|0)+Math.imul(E,it)|0,o=o+Math.imul(E,nt)|0,n=n+Math.imul(Z,ot)|0,e=(e=e+Math.imul(Z,ht)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,ht)|0,n=n+Math.imul(S,st)|0,e=(e=e+Math.imul(S,at)|0)+Math.imul(R,st)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(I,ft)|0,e=(e=e+Math.imul(I,mt)|0)+Math.imul(B,ft)|0,o=o+Math.imul(B,mt)|0;var St=(a+(n=n+Math.imul(_,ct)|0)|0)+((8191&(e=(e=e+Math.imul(_,pt)|0)+Math.imul(A,ct)|0))<<13)|0;a=((o=o+Math.imul(A,pt)|0)+(e>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(L,it),e=(e=Math.imul(L,nt))+Math.imul(D,it)|0,o=Math.imul(D,nt),n=n+Math.imul(j,ot)|0,e=(e=e+Math.imul(j,ht)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,ht)|0,n=n+Math.imul(Z,st)|0,e=(e=e+Math.imul(Z,at)|0)+Math.imul(C,st)|0,o=o+Math.imul(C,at)|0,n=n+Math.imul(S,ft)|0,e=(e=e+Math.imul(S,mt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,mt)|0;var Rt=(a+(n=n+Math.imul(I,ct)|0)|0)+((8191&(e=(e=e+Math.imul(I,pt)|0)+Math.imul(B,ct)|0))<<13)|0;a=((o=o+Math.imul(B,pt)|0)+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(L,ot),e=(e=Math.imul(L,ht))+Math.imul(D,ot)|0,o=Math.imul(D,ht),n=n+Math.imul(j,st)|0,e=(e=e+Math.imul(j,at)|0)+Math.imul(E,st)|0,o=o+Math.imul(E,at)|0,n=n+Math.imul(Z,ft)|0,e=(e=e+Math.imul(Z,mt)|0)+Math.imul(C,ft)|0,o=o+Math.imul(C,mt)|0;var Tt=(a+(n=n+Math.imul(S,ct)|0)|0)+((8191&(e=(e=e+Math.imul(S,pt)|0)+Math.imul(R,ct)|0))<<13)|0;a=((o=o+Math.imul(R,pt)|0)+(e>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(L,st),e=(e=Math.imul(L,at))+Math.imul(D,st)|0,o=Math.imul(D,at),n=n+Math.imul(j,ft)|0,e=(e=e+Math.imul(j,mt)|0)+Math.imul(E,ft)|0,o=o+Math.imul(E,mt)|0;var Zt=(a+(n=n+Math.imul(Z,ct)|0)|0)+((8191&(e=(e=e+Math.imul(Z,pt)|0)+Math.imul(C,ct)|0))<<13)|0;a=((o=o+Math.imul(C,pt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(L,ft),e=(e=Math.imul(L,mt))+Math.imul(D,ft)|0,o=Math.imul(D,mt);var Ct=(a+(n=n+Math.imul(j,ct)|0)|0)+((8191&(e=(e=e+Math.imul(j,pt)|0)+Math.imul(E,ct)|0))<<13)|0;a=((o=o+Math.imul(E,pt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863;var Nt=(a+(n=Math.imul(L,ct))|0)+((8191&(e=(e=Math.imul(L,pt))+Math.imul(D,ct)|0))<<13)|0;return a=((o=Math.imul(D,pt))+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=dt,s[1]=gt,s[2]=Mt,s[3]=wt,s[4]=yt,s[5]=bt,s[6]=xt,s[7]=_t,s[8]=At,s[9]=kt,s[10]=It,s[11]=Bt,s[12]=qt,s[13]=St,s[14]=Rt,s[15]=Tt,s[16]=Zt,s[17]=Ct,s[18]=Nt,0!==a&&(s[19]=a,i.length++),i};function c(t,r,i){return(new p).mulp(t,r,i)}function p(t,r){this.x=t,this.y=r}Math.imul||(v=m),o.prototype.mulTo=function(t,r){var i,n=this.length+t.length;return i=10===this.length&&10===t.length?v(this,t,r):n<63?m(this,t,r):n<1024?function(t,r,i){i.negative=r.negative^t.negative,i.length=t.length+r.length;for(var n=0,e=0,o=0;o<i.length-1;o++){var h=e;e=0;for(var u=67108863&n,s=Math.min(o,r.length-1),a=Math.max(0,o-t.length+1);a<=s;a++){var l=o-a,f=(0|t.words[l])*(0|r.words[a]),m=67108863&f;u=67108863&(m=m+u|0),e+=(h=(h=h+(f/67108864|0)|0)+(m>>>26)|0)>>>26,h&=67108863}i.words[o]=u,n=h,h=e}return 0!==n?i.words[o]=n:i.length--,i.strip()}(this,t,r):c(this,t,r),i},p.prototype.makeRBT=function(t){for(var r=new Array(t),i=o.prototype._countBits(t)-1,n=0;n<t;n++)r[n]=this.revBin(n,i,t);return r},p.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var n=0,e=0;e<r;e++)n|=(1&t)<<r-e-1,t>>=1;return n},p.prototype.permute=function(t,r,i,n,e,o){for(var h=0;h<o;h++)n[h]=r[t[h]],e[h]=i[t[h]]},p.prototype.transform=function(t,r,i,n,e,o){this.permute(o,t,r,i,n,e);for(var h=1;h<e;h<<=1)for(var u=h<<1,s=Math.cos(2*Math.PI/u),a=Math.sin(2*Math.PI/u),l=0;l<e;l+=u)for(var f=s,m=a,v=0;v<h;v++){var c=i[l+v],p=n[l+v],d=i[l+v+h],g=n[l+v+h],M=f*d-m*g;g=f*g+m*d,d=M,i[l+v]=c+d,n[l+v]=p+g,i[l+v+h]=c-d,n[l+v+h]=p-g,v!==u&&(M=s*f-a*m,m=s*m+a*f,f=M)}},p.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),n=1&i,e=0;for(i=i/2|0;i;i>>>=1)e++;return 1<<e+1+n},p.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var n=0;n<i/2;n++){var e=t[n];t[n]=t[i-n-1],t[i-n-1]=e,e=r[n],r[n]=-r[i-n-1],r[i-n-1]=-e}},p.prototype.normalize13b=function(t,r){for(var i=0,n=0;n<r/2;n++){var e=8192*Math.round(t[2*n+1]/r)+Math.round(t[2*n]/r)+i;t[n]=67108863&e,i=e<67108864?0:e/67108864|0}return t},p.prototype.convert13b=function(t,r,i,e){for(var o=0,h=0;h<r;h++)o+=0|t[h],i[2*h]=8191&o,o>>>=13,i[2*h+1]=8191&o,o>>>=13;for(h=2*r;h<e;++h)i[h]=0;n(0===o),n(0===(-8192&o))},p.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},p.prototype.mulp=function(t,r,i){var n=2*this.guessLen13b(t.length,r.length),e=this.makeRBT(n),o=this.stub(n),h=new Array(n),u=new Array(n),s=new Array(n),a=new Array(n),l=new Array(n),f=new Array(n),m=i.words;m.length=n,this.convert13b(t.words,t.length,h,n),this.convert13b(r.words,r.length,a,n),this.transform(h,o,u,s,n,e),this.transform(a,o,l,f,n,e);for(var v=0;v<n;v++){var c=u[v]*l[v]-s[v]*f[v];s[v]=u[v]*f[v]+s[v]*l[v],u[v]=c}return this.conjugate(u,s,n),this.transform(u,s,m,o,n,e),this.conjugate(m,o,n),this.normalize13b(m,n),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},o.prototype.mul=function(t){var r=new o(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},o.prototype.mulf=function(t){var r=new o(null);return r.words=new Array(this.length+t.length),c(this,t,r)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var e=(0|this.words[i])*t,o=(67108863&e)+(67108863&r);r>>=26,r+=e/67108864|0,r+=o>>>26,this.words[i]=67108863&o}return 0!==r&&(this.words[i]=r,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var r=function(t){for(var r=new Array(t.bitLength()),i=0;i<r.length;i++){var n=i/26|0,e=i%26;r[i]=(t.words[n]&1<<e)>>>e}return r}(t);if(0===r.length)return new o(1);for(var i=this,n=0;n<r.length&&0===r[n];n++,i=i.sqr());if(++n<r.length)for(var e=i.sqr();n<r.length;n++,e=e.sqr())0!==r[n]&&(i=i.mul(e));return i},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var r,i=t%26,e=(t-i)/26,o=67108863>>>26-i<<26-i;if(0!==i){var h=0;for(r=0;r<this.length;r++){var u=this.words[r]&o,s=(0|this.words[r])-u<<i;this.words[r]=s|h,h=u>>>26-i}h&&(this.words[r]=h,this.length++)}if(0!==e){for(r=this.length-1;r>=0;r--)this.words[r+e]=this.words[r];for(r=0;r<e;r++)this.words[r]=0;this.length+=e}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,r,i){var e;n("number"===typeof t&&t>=0),e=r?(r-r%26)/26:0;var o=t%26,h=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=i;if(e-=h,e=Math.max(0,e),s){for(var a=0;a<h;a++)s.words[a]=this.words[a];s.length=h}if(0===h);else if(this.length>h)for(this.length-=h,a=0;a<this.length;a++)this.words[a]=this.words[a+h];else this.words[0]=0,this.length=1;var l=0;for(a=this.length-1;a>=0&&(0!==l||a>=e);a--){var f=0|this.words[a];this.words[a]=l<<26-o|f>>>o,l=f&u}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,r,i){return n(0===this.negative),this.iushrn(t,r,i)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var r=t%26,i=(t-r)/26,e=1<<r;return!(this.length<=i)&&!!(this.words[i]&e)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var r=t%26,i=(t-r)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==r&&i++,this.length=Math.min(i,this.length),0!==r){var e=67108863^67108863>>>r<<r;this.words[this.length-1]&=e}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,r,i){var e,o,h=t.length+i;this._expand(h);var u=0;for(e=0;e<t.length;e++){o=(0|this.words[e+i])+u;var s=(0|t.words[e])*r;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[e+i]=67108863&o}for(;e<this.length-i;e++)u=(o=(0|this.words[e+i])+u)>>26,this.words[e+i]=67108863&o;if(0===u)return this.strip();for(n(-1===u),u=0,e=0;e<this.length;e++)u=(o=-(0|this.words[e])+u)>>26,this.words[e]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,r){var i=(this.length,t.length),n=this.clone(),e=t,h=0|e.words[e.length-1];0!==(i=26-this._countBits(h))&&(e=e.ushln(i),n.iushln(i),h=0|e.words[e.length-1]);var u,s=n.length-e.length;if("mod"!==r){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var a=0;a<u.length;a++)u.words[a]=0}var l=n.clone()._ishlnsubmul(e,1,s);0===l.negative&&(n=l,u&&(u.words[s]=1));for(var f=s-1;f>=0;f--){var m=67108864*(0|n.words[e.length+f])+(0|n.words[e.length+f-1]);for(m=Math.min(m/h|0,67108863),n._ishlnsubmul(e,m,f);0!==n.negative;)m--,n.negative=0,n._ishlnsubmul(e,1,f),n.isZero()||(n.negative^=1);u&&(u.words[f]=m)}return u&&u.strip(),n.strip(),"div"!==r&&0!==i&&n.iushrn(i),{div:u||null,mod:n}},o.prototype.divmod=function(t,r,i){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(e=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:e,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(e=u.div.neg()),{div:e,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,r);var e,h,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,n=t.ushrn(1),e=t.andln(1),o=i.cmp(n);return o<0||1===e&&0===o?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var r=(1<<26)%t,i=0,e=this.length-1;e>=0;e--)i=(r*i+(0|this.words[e]))%t;return i},o.prototype.idivn=function(t){n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var e=(0|this.words[i])+67108864*r;this.words[i]=e/t|0,r=e%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var e=new o(1),h=new o(0),u=new o(0),s=new o(1),a=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++a;for(var l=i.clone(),f=r.clone();!r.isZero();){for(var m=0,v=1;0===(r.words[0]&v)&&m<26;++m,v<<=1);if(m>0)for(r.iushrn(m);m-- >0;)(e.isOdd()||h.isOdd())&&(e.iadd(l),h.isub(f)),e.iushrn(1),h.iushrn(1);for(var c=0,p=1;0===(i.words[0]&p)&&c<26;++c,p<<=1);if(c>0)for(i.iushrn(c);c-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(l),s.isub(f)),u.iushrn(1),s.iushrn(1);r.cmp(i)>=0?(r.isub(i),e.isub(u),h.isub(s)):(i.isub(r),u.isub(e),s.isub(h))}return{a:u,b:s,gcd:i.iushln(a)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var e,h=new o(1),u=new o(0),s=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var a=0,l=1;0===(r.words[0]&l)&&a<26;++a,l<<=1);if(a>0)for(r.iushrn(a);a-- >0;)h.isOdd()&&h.iadd(s),h.iushrn(1);for(var f=0,m=1;0===(i.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(i.iushrn(f);f-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);r.cmp(i)>=0?(r.isub(i),h.isub(u)):(i.isub(r),u.isub(h))}return(e=0===r.cmpn(1)?h:u).cmpn(0)<0&&e.iadd(t),e},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var n=0;r.isEven()&&i.isEven();n++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var e=r.cmp(i);if(e<0){var o=r;r=i,i=o}else if(0===e||0===i.cmpn(1))break;r.isub(i)}return i.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var r=t%26,i=(t-r)/26,e=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=e,this;for(var o=e,h=i;0!==o&&h<this.length;h++){var u=0|this.words[h];o=(u+=o)>>>26,u&=67108863,this.words[h]=u}return 0!==o&&(this.words[h]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var r,i=t<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)r=1;else{i&&(t=-t),n(t<=67108863,"Number is too big");var e=0|this.words[0];r=e===t?0:e<t?-1:1}return 0!==this.negative?0|-r:r},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var n=0|this.words[i],e=0|t.words[i];if(n!==e){n<e?r=-1:n>e&&(r=1);break}}return r},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var d={k256:null,p224:null,p192:null,p25519:null};function g(t,r){this.name=t,this.p=new o(r,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function y(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function b(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"===typeof t){var r=o._prime(t);this.m=r.p,this.prime=r}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function _(t){x.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var r,i=t;do{this.split(i,this.tmp),r=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(r>this.n);var n=r<this.n?-1:i.ucmp(this.p);return 0===n?(i.words[0]=0,i.length=1):n>0?i.isub(this.p):i.strip(),i},g.prototype.split=function(t,r){t.iushrn(this.n,0,r)},g.prototype.imulK=function(t){return t.imul(this.k)},e(M,g),M.prototype.split=function(t,r){for(var i=4194303,n=Math.min(t.length,9),e=0;e<n;e++)r.words[e]=t.words[e];if(r.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(r.words[r.length++]=o&i,e=10;e<t.length;e++){var h=0|t.words[e];t.words[e-10]=(h&i)<<4|o>>>22,o=h}o>>>=22,t.words[e-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},M.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var n=0|t.words[i];r+=977*n,t.words[i]=67108863&r,r=64*n+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},e(w,g),e(y,g),e(b,g),b.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var n=19*(0|t.words[i])+r,e=67108863&n;n>>>=26,t.words[i]=e,r=n}return 0!==r&&(t.words[t.length++]=r),t},o._prime=function(t){if(d[t])return d[t];var r;if("k256"===t)r=new M;else if("p224"===t)r=new w;else if("p192"===t)r=new y;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new b}return d[t]=r,r},x.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,r){n(0===(t.negative|r.negative),"red works only with positives"),n(t.red&&t.red===r.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},x.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},x.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},x.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},x.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},x.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},x.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(n(r%2===1),3===r){var i=this.m.add(new o(1)).iushrn(2);return this.pow(t,i)}for(var e=this.m.subn(1),h=0;!e.isZero()&&0===e.andln(1);)h++,e.iushrn(1);n(!e.isZero());var u=new o(1).toRed(this),s=u.redNeg(),a=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,a).cmp(s);)l.redIAdd(s);for(var f=this.pow(l,e),m=this.pow(t,e.addn(1).iushrn(1)),v=this.pow(t,e),c=h;0!==v.cmp(u);){for(var p=v,d=0;0!==p.cmp(u);d++)p=p.redSqr();n(d<c);var g=this.pow(f,new o(1).iushln(c-d-1));m=m.redMul(g),f=g.redSqr(),v=v.redMul(f),c=d}return m},x.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},x.prototype.pow=function(t,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return t.clone();var i=new Array(16);i[0]=new o(1).toRed(this),i[1]=t;for(var n=2;n<i.length;n++)i[n]=this.mul(i[n-1],t);var e=i[0],h=0,u=0,s=r.bitLength()%26;for(0===s&&(s=26),n=r.length-1;n>=0;n--){for(var a=r.words[n],l=s-1;l>=0;l--){var f=a>>l&1;e!==i[0]&&(e=this.sqr(e)),0!==f||0!==h?(h<<=1,h|=f,(4===++u||0===n&&0===l)&&(e=this.mul(e,i[h]),u=0,h=0)):u=0}s=26}return e},x.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},x.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},o.mont=function(t){return new _(t)},e(_,x),_.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},_.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},_.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),e=i.isub(n).iushrn(this.shift),o=e;return e.cmp(this.m)>=0?o=e.isub(this.m):e.cmpn(0)<0&&(o=e.iadd(this.m)),o._forceRed(this)},_.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new o(0)._forceRed(this);var i=t.mul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),e=i.isub(n).iushrn(this.shift),h=e;return e.cmp(this.m)>=0?h=e.isub(this.m):e.cmpn(0)<0&&(h=e.iadd(this.m)),h._forceRed(this)},_.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=i.nmd(t),this)},13903:function(t){"use strict";t.exports=function(t){var r,i,n,e=t.length,o=0;for(r=0;r<e;++r)o+=t[r].length;var h=new Array(o),u=0;for(r=0;r<e;++r){var s=t[r],a=s.length;for(i=0;i<a;++i){var l=h[u++]=new Array(a-1),f=0;for(n=0;n<a;++n)n!==i&&(l[f++]=s[n]);if(1&i){var m=l[1];l[1]=l[0],l[0]=m}}}return h}},21581:function(t,r,i){"use strict";var n=i(63715),e=i(18361),o=i(27785),h=i(47814);function u(t){return[Math.min(t[0],t[1]),Math.max(t[0],t[1])]}function s(t,r){return t[0]-r[0]||t[1]-r[1]}function a(t,r,i){return r in t?t[r]:i}t.exports=function(t,r,i){Array.isArray(r)?(i=i||{},r=r||[]):(i=r||{},r=[]);var l=!!a(i,"delaunay",!0),f=!!a(i,"interior",!0),m=!!a(i,"exterior",!0),v=!!a(i,"infinity",!1);if(!f&&!m||0===t.length)return[];var c=n(t,r);if(l||f!==m||v){for(var p=e(t.length,function(t){return t.map(u).sort(s)}(r)),d=0;d<c.length;++d){var g=c[d];p.addTriangle(g[0],g[1],g[2])}return l&&o(t,p),m?f?v?h(p,0,v):p.cells():h(p,1,v):h(p,-1)}return c}},27785:function(t,r,i){"use strict";var n=i(91107)[4];i(62683);function e(t,r,i,e,o,h){var u=r.opposite(e,o);if(!(u<0)){if(o<e){var s=e;e=o,o=s,s=h,h=u,u=s}r.isConstraint(e,o)||n(t[e],t[o],t[h],t[u])<0&&i.push(e,o)}}t.exports=function(t,r){for(var i=[],o=t.length,h=r.stars,u=0;u<o;++u)for(var s=h[u],a=1;a<s.length;a+=2){if(!((v=s[a])<u)&&!r.isConstraint(u,v)){for(var l=s[a-1],f=-1,m=1;m<s.length;m+=2)if(s[m-1]===v){f=s[m];break}f<0||n(t[u],t[v],t[l],t[f])<0&&i.push(u,v)}}for(;i.length>0;){for(var v=i.pop(),c=(l=-1,f=-1,s=h[u=i.pop()],1);c<s.length;c+=2){var p=s[c-1],d=s[c];p===v?f=d:d===v&&(l=p)}l<0||f<0||(n(t[u],t[v],t[l],t[f])>=0||(r.flip(u,v),e(t,r,i,l,u,f),e(t,r,i,u,f,l),e(t,r,i,f,v,l),e(t,r,i,v,l,f)))}}},47814:function(t,r,i){"use strict";var n=i(62683);function e(t,r,i,n,e,o,h){this.cells=t,this.neighbor=r,this.flags=n,this.constraint=i,this.active=e,this.next=o,this.boundary=h}function o(t,r){return t[0]-r[0]||t[1]-r[1]||t[2]-r[2]}t.exports=function(t,r,i){var n=function(t,r){for(var i=t.cells(),n=i.length,h=0;h<n;++h){var u=(g=i[h])[0],s=g[1],a=g[2];s<a?s<u&&(g[0]=s,g[1]=a,g[2]=u):a<u&&(g[0]=a,g[1]=u,g[2]=s)}i.sort(o);var l=new Array(n);for(h=0;h<l.length;++h)l[h]=0;var f=[],m=[],v=new Array(3*n),c=new Array(3*n),p=null;r&&(p=[]);var d=new e(i,v,c,l,f,m,p);for(h=0;h<n;++h)for(var g=i[h],M=0;M<3;++M){u=g[M],s=g[(M+1)%3];var w=v[3*h+M]=d.locate(s,u,t.opposite(s,u)),y=c[3*h+M]=t.isConstraint(u,s);w<0&&(y?m.push(h):(f.push(h),l[h]=1),r&&p.push([s,u,-1]))}return d}(t,i);if(0===r)return i?n.cells.concat(n.boundary):n.cells;var h=1,u=n.active,s=n.next,a=n.flags,l=n.cells,f=n.constraint,m=n.neighbor;for(;u.length>0||s.length>0;){for(;u.length>0;){var v=u.pop();if(a[v]!==-h){a[v]=h;l[v];for(var c=0;c<3;++c){var p=m[3*v+c];p>=0&&0===a[p]&&(f[3*v+c]?s.push(p):(u.push(p),a[p]=h))}}}var d=s;s=u,u=d,s.length=0,h=-h}var g=function(t,r,i){for(var n=0,e=0;e<t.length;++e)r[e]===i&&(t[n++]=t[e]);return t.length=n,t}(l,a,r);if(i)return g.concat(n.boundary);return g},e.prototype.locate=function(){var t=[0,0,0];return function(r,i,e){var h=r,u=i,s=e;return i<e?i<r&&(h=i,u=e,s=r):e<r&&(h=e,u=r,s=i),h<0?-1:(t[0]=h,t[1]=u,t[2]=s,n.eq(this.cells,t,o))}}()},63715:function(t,r,i){"use strict";var n=i(62683),e=i(30223)[3],o=0;function h(t,r,i,n,e){this.a=t,this.b=r,this.idx=i,this.lowerIds=n,this.upperIds=e}function u(t,r,i,n){this.a=t,this.b=r,this.type=i,this.idx=n}function s(t,r){var i=t.a[0]-r.a[0]||t.a[1]-r.a[1]||t.type-r.type;return i||(t.type!==o&&(i=e(t.a,t.b,r.b))?i:t.idx-r.idx)}function a(t,r){return e(t.a,t.b,r)}function l(t,r,i,o,h){for(var u=n.lt(r,o,a),s=n.gt(r,o,a),l=u;l<s;++l){for(var f=r[l],m=f.lowerIds,v=m.length;v>1&&e(i[m[v-2]],i[m[v-1]],o)>0;)t.push([m[v-1],m[v-2],h]),v-=1;m.length=v,m.push(h);var c=f.upperIds;for(v=c.length;v>1&&e(i[c[v-2]],i[c[v-1]],o)<0;)t.push([c[v-2],c[v-1],h]),v-=1;c.length=v,c.push(h)}}function f(t,r){var i;return(i=t.a[0]<r.a[0]?e(t.a,t.b,r.a):e(r.b,r.a,t.a))?i:(i=r.b[0]<t.b[0]?e(t.a,t.b,r.b):e(r.b,r.a,t.b))||t.idx-r.idx}function m(t,r,i){var e=n.le(t,i,f),o=t[e],u=o.upperIds,s=u[u.length-1];o.upperIds=[s],t.splice(e+1,0,new h(i.a,i.b,i.idx,[s],u))}function v(t,r,i){var e=i.a;i.a=i.b,i.b=e;var o=n.eq(t,i,f),h=t[o];t[o-1].upperIds=h.upperIds,t.splice(o,1)}t.exports=function(t,r){for(var i=t.length,n=r.length,e=[],a=0;a<i;++a)e.push(new u(t[a],null,o,a));for(a=0;a<n;++a){var f=r[a],c=t[f[0]],p=t[f[1]];c[0]<p[0]?e.push(new u(c,p,2,a),new u(p,c,1,a)):c[0]>p[0]&&e.push(new u(p,c,2,a),new u(c,p,1,a))}e.sort(s);for(var d=e[0].a[0]-(1+Math.abs(e[0].a[0]))*Math.pow(2,-52),g=[new h([d,1],[d,0],-1,[],[],[],[])],M=[],w=(a=0,e.length);a<w;++a){var y=e[a],b=y.type;b===o?l(M,g,t,y.a,y.idx):2===b?m(g,t,y):v(g,t,y)}return M}},18361:function(t,r,i){"use strict";var n=i(62683);function e(t,r){this.stars=t,this.edges=r}t.exports=function(t,r){for(var i=new Array(t),n=0;n<t;++n)i[n]=[];return new e(i,r)};var o=e.prototype;function h(t,r,i){for(var n=1,e=t.length;n<e;n+=2)if(t[n-1]===r&&t[n]===i)return t[n-1]=t[e-2],t[n]=t[e-1],void(t.length=e-2)}o.isConstraint=function(){var t=[0,0];function r(t,r){return t[0]-r[0]||t[1]-r[1]}return function(i,e){return t[0]=Math.min(i,e),t[1]=Math.max(i,e),n.eq(this.edges,t,r)>=0}}(),o.removeTriangle=function(t,r,i){var n=this.stars;h(n[t],r,i),h(n[r],i,t),h(n[i],t,r)},o.addTriangle=function(t,r,i){var n=this.stars;n[t].push(r,i),n[r].push(i,t),n[i].push(t,r)},o.opposite=function(t,r){for(var i=this.stars[r],n=1,e=i.length;n<e;n+=2)if(i[n]===t)return i[n-1];return-1},o.flip=function(t,r){var i=this.opposite(t,r),n=this.opposite(r,t);this.removeTriangle(t,r,i),this.removeTriangle(r,t,n),this.addTriangle(t,n,i),this.addTriangle(r,i,n)},o.edges=function(){for(var t=this.stars,r=[],i=0,n=t.length;i<n;++i)for(var e=t[i],o=0,h=e.length;o<h;o+=2)r.push([e[o],e[o+1]]);return r},o.cells=function(){for(var t=this.stars,r=[],i=0,n=t.length;i<n;++i)for(var e=t[i],o=0,h=e.length;o<h;o+=2){var u=e[o],s=e[o+1];i<Math.min(u,s)&&r.push([i,u,s])}return r}},98142:function(t){"use strict";t.exports=function(t){for(var r=1,i=1;i<t.length;++i)for(var n=0;n<i;++n)if(t[i]<t[n])r=-r;else if(t[n]===t[i])return 0;return r}},25047:function(t,r,i){"use strict";var n=i(4957),e=i(68370);function o(t,r){for(var i=0,n=t.length,e=0;e<n;++e)i+=t[e]*r[e];return i}function h(t){var r=t.length;if(0===r)return[];t[0].length;var i=n([t.length+1,t.length+1],1),h=n([t.length+1],1);i[r][r]=0;for(var u=0;u<r;++u){for(var s=0;s<=u;++s)i[s][u]=i[u][s]=2*o(t[u],t[s]);h[u]=o(t[u],t[u])}var a=e(i,h),l=0,f=a[r+1];for(u=0;u<f.length;++u)l+=f[u];var m=new Array(r);for(u=0;u<r;++u){f=a[u];var v=0;for(s=0;s<f.length;++s)v+=f[s];m[u]=v/l}return m}function u(t){if(0===t.length)return[];for(var r=t[0].length,i=n([r]),e=h(t),o=0;o<t.length;++o)for(var u=0;u<r;++u)i[u]+=t[o][u]*e[o];return i}u.barycenetric=h,t.exports=u},16318:function(t,r,i){t.exports=function(t){for(var r=n(t),i=0,e=0;e<t.length;++e)for(var o=t[e],h=0;h<r.length;++h)i+=Math.pow(o[h]-r[h],2);return Math.sqrt(i/t.length)};var n=i(25047)},98722:function(t){t.exports=function(t,r,i){return r<i?t<r?r:t>i?i:t:t<i?i:t>r?r:t}},91295:function(t,r,i){"use strict";t.exports=function(t,r,i){var n;if(i){n=r;for(var e=new Array(r.length),o=0;o<r.length;++o){var h=r[o];e[o]=[h[0],h[1],i[o]]}r=e}var u=function(t,r,i){var n=c(t,[],v(t));return g(r,n,i),!!n}(t,r,!!i);for(;M(t,r,!!i);)u=!0;if(i&&u){n.length=0,i.length=0;for(o=0;o<r.length;++o){h=r[o];n.push([h[0],h[1]]),i.push(h[2])}}return u};var n=i(5586),e=i(54500),o=i(51890),h=i(56249),u=i(68577),s=i(79995),a=i(89973),l=i(48257),f=i(20408);function m(t){var r=s(t);return[l(r,-1/0),l(r,1/0)]}function v(t){for(var r=new Array(t.length),i=0;i<t.length;++i){var n=t[i];r[i]=[l(n[0],-1/0),l(n[1],-1/0),l(n[0],1/0),l(n[1],1/0)]}return r}function c(t,r,i){for(var o=r.length,h=new n(o),u=[],s=0;s<r.length;++s){var a=r[s],f=m(a[0]),v=m(a[1]);u.push([l(f[0],-1/0),l(v[0],-1/0),l(f[1],1/0),l(v[1],1/0)])}e(u,(function(t,r){h.link(t,r)}));var c=!0,p=new Array(o);for(s=0;s<o;++s){(g=h.find(s))!==s&&(c=!1,t[g]=[Math.min(t[s][0],t[g][0]),Math.min(t[s][1],t[g][1])])}if(c)return null;var d=0;for(s=0;s<o;++s){var g;(g=h.find(s))===s?(p[s]=d,t[d++]=t[s]):p[s]=-1}t.length=d;for(s=0;s<o;++s)p[s]<0&&(p[s]=p[h.find(s)]);return p}function p(t,r){return t[0]-r[0]||t[1]-r[1]}function d(t,r){var i=t[0]-r[0]||t[1]-r[1];return i||(t[2]<r[2]?-1:t[2]>r[2]?1:0)}function g(t,r,i){if(0!==t.length){if(r)for(var n=0;n<t.length;++n){var e=r[(h=t[n])[0]],o=r[h[1]];h[0]=Math.min(e,o),h[1]=Math.max(e,o)}else for(n=0;n<t.length;++n){var h;e=(h=t[n])[0],o=h[1];h[0]=Math.min(e,o),h[1]=Math.max(e,o)}i?t.sort(d):t.sort(p);var u=1;for(n=1;n<t.length;++n){var s=t[n-1],a=t[n];(a[0]!==s[0]||a[1]!==s[1]||i&&a[2]!==s[2])&&(t[u++]=a)}t.length=u}}function M(t,r,i){var n=function(t,r){for(var i=new Array(r.length),n=0;n<r.length;++n){var e=r[n],o=t[e[0]],h=t[e[1]];i[n]=[l(Math.min(o[0],h[0]),-1/0),l(Math.min(o[1],h[1]),-1/0),l(Math.max(o[0],h[0]),1/0),l(Math.max(o[1],h[1]),1/0)]}return i}(t,r),m=function(t,r,i){var n=[];return e(i,(function(i,e){var h=r[i],u=r[e];if(h[0]!==u[0]&&h[0]!==u[1]&&h[1]!==u[0]&&h[1]!==u[1]){var s=t[h[0]],a=t[h[1]],l=t[u[0]],f=t[u[1]];o(s,a,l,f)&&n.push([i,e])}})),n}(t,r,n),p=v(t),d=function(t,r,i,n){var h=[];return e(i,n,(function(i,n){var e=r[i];if(e[0]!==n&&e[1]!==n){var u=t[n],s=t[e[0]],a=t[e[1]];o(s,a,u,u)&&h.push([i,n])}})),h}(t,r,n,p),M=function(t,r,i,n,e){var o,l,m=t.map((function(t){return[h(t[0]),h(t[1])]}));for(o=0;o<i.length;++o){var v=i[o];l=v[0];var c=v[1],p=r[l],d=r[c],g=f(a(t[p[0]]),a(t[p[1]]),a(t[d[0]]),a(t[d[1]]));if(g){var M=t.length;t.push([s(g[0]),s(g[1])]),m.push(g),n.push([l,M],[c,M])}}for(n.sort((function(t,r){if(t[0]!==r[0])return t[0]-r[0];var i=m[t[1]],n=m[r[1]];return u(i[0],n[0])||u(i[1],n[1])})),o=n.length-1;o>=0;--o){var w=r[l=(B=n[o])[0]],y=w[0],b=w[1],x=t[y],_=t[b];if((x[0]-_[0]||x[1]-_[1])<0){var A=y;y=b,b=A}w[0]=y;var k,I=w[1]=B[1];for(e&&(k=w[2]);o>0&&n[o-1][0]===l;){var B,q=(B=n[--o])[1];e?r.push([I,q,k]):r.push([I,q]),I=q}e?r.push([I,b,k]):r.push([I,b])}return m}(t,r,m,d,i),w=c(t,M);return g(r,w,i),!!w||(m.length>0||d.length>0)}},20408:function(t,r,i){"use strict";t.exports=function(t,r,i,n){var o=u(r,t),f=u(n,i),m=l(o,f);if(0===h(m))return null;var v=u(t,i),c=l(f,v),p=e(c,m),d=a(o,p);return s(t,d)};var n=i(73691),e=i(27606),o=i(62071),h=i(26260),u=i(15891),s=i(28918),a=i(23538);function l(t,r){return o(n(t[0],r[1]),n(t[1],r[0]))}},54500:function(t,r,i){"use strict";t.exports=function(t,r,i){switch(arguments.length){case 1:return n=[],a(e=t,e,l,!0),n;case 2:return"function"===typeof r?a(t,t,r,!0):function(t,r){return n=[],a(t,r,l,!1),n}(t,r);case 3:return a(t,r,i,!1);default:throw new Error("box-intersect: Invalid arguments")}var e};var n,e=i(32237),o=i(53304),h=i(22417);function u(t,r){for(var i=0;i<t;++i)if(!(r[i]<=r[i+t]))return!0;return!1}function s(t,r,i,n){for(var e=0,o=0,h=0,s=t.length;h<s;++h){var a=t[h];if(!u(r,a)){for(var l=0;l<2*r;++l)i[e++]=a[l];n[o++]=h}}return o}function a(t,r,i,n){var u=t.length,a=r.length;if(!(u<=0||a<=0)){var l=t[0].length>>>1;if(!(l<=0)){var f,m=e.mallocDouble(2*l*u),v=e.mallocInt32(u);if((u=s(t,l,m,v))>0){if(1===l&&n)o.init(u),f=o.sweepComplete(l,i,0,u,m,v,0,u,m,v);else{var c=e.mallocDouble(2*l*a),p=e.mallocInt32(a);(a=s(r,l,c,p))>0&&(o.init(u+a),f=1===l?o.sweepBipartite(l,i,0,u,m,v,0,a,c,p):h(l,i,n,u,m,v,a,c,p),e.free(c),e.free(p))}e.free(m),e.free(v)}return f}}}function l(t,r){n.push([t,r])}},27776:function(t,r){"use strict";var i="d",n="ax",e="vv",o="fp",h="es",u="rs",s="re",a="rb",l="ri",f="rp",m="bs",v="be",c="bb",p="bi",d="bp",g="rv",M="Q",w=[i,n,e,u,s,a,l,m,v,c,p];function y(t){var r="bruteForce"+(t?"Full":"Partial"),y=[],b=w.slice();t||b.splice(3,0,o);var x=["function "+r+"("+b.join()+"){"];function _(r,o){var b=function(t,r,o){var y="bruteForce"+(t?"Red":"Blue")+(r?"Flip":"")+(o?"Full":""),b=["function ",y,"(",w.join(),"){","var ",h,"=2*",i,";"],x="for(var i="+u+","+f+"="+h+"*"+u+";i<"+s+";++i,"+f+"+="+h+"){var x0="+a+"["+n+"+"+f+"],x1="+a+"["+n+"+"+f+"+"+i+"],xi="+l+"[i];",_="for(var j="+m+","+d+"="+h+"*"+m+";j<"+v+";++j,"+d+"+="+h+"){var y0="+c+"["+n+"+"+d+"],"+(o?"y1="+c+"["+n+"+"+d+"+"+i+"],":"")+"yi="+p+"[j];";return t?b.push(x,M,":",_):b.push(_,M,":",x),o?b.push("if(y1<x0||x1<y0)continue;"):r?b.push("if(y0<=x0||x1<y0)continue;"):b.push("if(y0<x0||x1<y0)continue;"),b.push("for(var k="+n+"+1;k<"+i+";++k){var r0="+a+"[k+"+f+"],r1="+a+"[k+"+i+"+"+f+"],b0="+c+"[k+"+d+"],b1="+c+"[k+"+i+"+"+d+"];if(r1<b0||b1<r0)continue "+M+";}var "+g+"="+e+"("),r?b.push("yi,xi"):b.push("xi,yi"),b.push(");if("+g+"!==void 0)return "+g+";}}}"),{name:y,code:b.join("")}}(r,o,t);y.push(b.code),x.push("return "+b.name+"("+w.join()+");")}x.push("if("+s+"-"+u+">"+v+"-"+m+"){"),t?(_(!0,!1),x.push("}else{"),_(!1,!1)):(x.push("if(fp){"),_(!0,!0),x.push("}else{"),_(!0,!1),x.push("}}else{if(fp){"),_(!1,!0),x.push("}else{"),_(!1,!1),x.push("}")),x.push("}}return "+r);var A=y.join("")+x.join("");return new Function(A)()}r.partial=y(!1),r.full=y(!0)},22417:function(t,r,i){"use strict";t.exports=function(t,r,i,o,l,B,q,S,R){!function(t,r){var i=8*e.log2(r+1)*(t+1)|0,o=e.nextPow2(y*i);x.length<o&&(n.free(x),x=n.mallocInt32(o));var h=e.nextPow2(b*i);_.length<h&&(n.free(_),_=n.mallocDouble(h))}(t,o+q);var T,Z=0,C=2*t;A(Z++,0,0,o,0,q,i?16:0,-1/0,1/0),i||A(Z++,0,0,q,0,o,1,-1/0,1/0);for(;Z>0;){var N=(Z-=1)*y,j=x[N],E=x[N+1],O=x[N+2],L=x[N+3],D=x[N+4],F=x[N+5],P=Z*b,z=_[P],U=_[P+1],H=1&F,K=!!(16&F),J=l,G=B,Q=S,Y=R;if(H&&(J=S,G=R,Q=l,Y=B),!(2&F&&E>=(O=d(t,j,E,O,J,G,U)))&&!(4&F&&(E=g(t,j,E,O,J,G,z))>=O)){var $=O-E,V=D-L;if(K){if(t*$*($+V)<v){if(void 0!==(T=s.scanComplete(t,j,r,E,O,J,G,L,D,Q,Y)))return T;continue}}else{if(t*Math.min($,V)<f){if(void 0!==(T=h(t,j,r,H,E,O,J,G,L,D,Q,Y)))return T;continue}if(t*$*V<m){if(void 0!==(T=s.scanBipartite(t,j,r,H,E,O,J,G,L,D,Q,Y)))return T;continue}}var X=c(t,j,E,O,J,G,z,U);if(E<X)if(t*(X-E)<f){if(void 0!==(T=u(t,j+1,r,E,X,J,G,L,D,Q,Y)))return T}else if(j===t-2){if(void 0!==(T=H?s.sweepBipartite(t,r,L,D,Q,Y,E,X,J,G):s.sweepBipartite(t,r,E,X,J,G,L,D,Q,Y)))return T}else A(Z++,j+1,E,X,L,D,H,-1/0,1/0),A(Z++,j+1,L,D,E,X,1^H,-1/0,1/0);if(X<O){var W=a(t,j,L,D,Q,Y),tt=Q[C*W+j],rt=p(t,j,W,D,Q,Y,tt);if(rt<D&&A(Z++,j,X,O,rt,D,(4|H)+(K?16:0),tt,U),L<W&&A(Z++,j,X,O,L,W,(2|H)+(K?16:0),z,tt),W+1===rt){if(void 0!==(T=K?I(t,j,r,X,O,J,G,W,Q,Y[W]):k(t,j,r,H,X,O,J,G,W,Q,Y[W])))return T}else if(W<rt){var it;if(K){if(X<(it=M(t,j,X,O,J,G,tt))){var nt=p(t,j,X,it,J,G,tt);if(j===t-2){if(X<nt&&void 0!==(T=s.sweepComplete(t,r,X,nt,J,G,W,rt,Q,Y)))return T;if(nt<it&&void 0!==(T=s.sweepBipartite(t,r,nt,it,J,G,W,rt,Q,Y)))return T}else X<nt&&A(Z++,j+1,X,nt,W,rt,16,-1/0,1/0),nt<it&&(A(Z++,j+1,nt,it,W,rt,0,-1/0,1/0),A(Z++,j+1,W,rt,nt,it,1,-1/0,1/0))}}else X<(it=H?w(t,j,X,O,J,G,tt):M(t,j,X,O,J,G,tt))&&(j===t-2?T=H?s.sweepBipartite(t,r,W,rt,Q,Y,X,it,J,G):s.sweepBipartite(t,r,X,it,J,G,W,rt,Q,Y):(A(Z++,j+1,X,it,W,rt,H,-1/0,1/0),A(Z++,j+1,W,rt,X,it,1^H,-1/0,1/0)))}}}}};var n=i(32237),e=i(43863),o=i(27776),h=o.partial,u=o.full,s=i(53304),a=i(50324),l=i(83978),f=128,m=1<<22,v=1<<22,c=l("!(lo>=p0)&&!(p1>=hi)",["p0","p1"]),p=l("lo===p0",["p0"]),d=l("lo<p0",["p0"]),g=l("hi<=p0",["p0"]),M=l("lo<=p0&&p0<=hi",["p0"]),w=l("lo<p0&&p0<=hi",["p0"]),y=6,b=2,x=n.mallocInt32(1024),_=n.mallocDouble(1024);function A(t,r,i,n,e,o,h,u,s){var a=y*t;x[a]=r,x[a+1]=i,x[a+2]=n,x[a+3]=e,x[a+4]=o,x[a+5]=h;var l=b*t;_[l]=u,_[l+1]=s}function k(t,r,i,n,e,o,h,u,s,a,l){var f=2*t,m=s*f,v=a[m+r];t:for(var c=e,p=e*f;c<o;++c,p+=f){var d=h[p+r],g=h[p+r+t];if(!(v<d||g<v)&&(!n||v!==d)){for(var M,w=u[c],y=r+1;y<t;++y){d=h[p+y],g=h[p+y+t];var b=a[m+y],x=a[m+y+t];if(g<b||x<d)continue t}if(void 0!==(M=n?i(l,w):i(w,l)))return M}}}function I(t,r,i,n,e,o,h,u,s,a){var l=2*t,f=u*l,m=s[f+r];t:for(var v=n,c=n*l;v<e;++v,c+=l){var p=h[v];if(p!==a){var d=o[c+r],g=o[c+r+t];if(!(m<d||g<m)){for(var M=r+1;M<t;++M){d=o[c+M],g=o[c+M+t];var w=s[f+M],y=s[f+M+t];if(g<w||y<d)continue t}var b=i(p,a);if(void 0!==b)return b}}}}},50324:function(t,r,i){"use strict";t.exports=function(t,r,i,h,u,s){if(h<=i+1)return i;var a=i,l=h,f=h+i>>>1,m=2*t,v=f,c=u[m*f+r];for(;a<l;){if(l-a<e){o(t,r,a,l,u,s),c=u[m*f+r];break}var p=l-a,d=Math.random()*p+a|0,g=u[m*d+r],M=Math.random()*p+a|0,w=u[m*M+r],y=Math.random()*p+a|0,b=u[m*y+r];g<=w?b>=w?(v=M,c=w):g>=b?(v=d,c=g):(v=y,c=b):w>=b?(v=M,c=w):b>=g?(v=d,c=g):(v=y,c=b);for(var x=m*(l-1),_=m*v,A=0;A<m;++A,++x,++_){var k=u[x];u[x]=u[_],u[_]=k}var I=s[l-1];s[l-1]=s[v],s[v]=I;for(x=m*(l-1),_=m*(v=n(t,r,a,l-1,u,s,c)),A=0;A<m;++A,++x,++_){k=u[x];u[x]=u[_],u[_]=k}I=s[l-1];if(s[l-1]=s[v],s[v]=I,f<v){for(l=v-1;a<l&&u[m*(l-1)+r]===c;)l-=1;l+=1}else{if(!(v<f))break;for(a=v+1;a<l&&u[m*a+r]===c;)a+=1}}return n(t,r,i,f,u,s,u[m*f+r])};var n=i(83978)("lo<p0",["p0"]),e=8;function o(t,r,i,n,e,o){for(var h=2*t,u=h*(i+1)+r,s=i+1;s<n;++s,u+=h)for(var a=e[u],l=s,f=h*(s-1);l>i&&e[f+r]>a;--l,f-=h){for(var m=f,v=f+h,c=0;c<h;++c,++m,++v){var p=e[m];e[m]=e[v],e[v]=p}var d=o[l];o[l]=o[l-1],o[l-1]=d}}},83978:function(t){"use strict";t.exports=function(t,i){var n="abcdef".split("").concat(i),e=[];t.indexOf("lo")>=0&&e.push("lo=e[k+n]");t.indexOf("hi")>=0&&e.push("hi=e[k+o]");return n.push(r.replace("_",e.join()).replace("$",t)),Function.apply(void 0,n)};var r="for(var j=2*a,k=j*c,l=k,m=c,n=b,o=a+b,p=c;d>p;++p,k+=j){var _;if($)if(m===p)m+=1,l+=j;else{for(var s=0;j>s;++s){var t=e[k+s];e[k+s]=e[l],e[l++]=t}var u=f[p];f[p]=f[m],f[m++]=u}}return m"},90202:function(t){"use strict";t.exports=function(t,n){n<=4*r?i(0,n-1,t):a(0,n-1,t)};var r=32;function i(t,r,i){for(var n=2*(t+1),e=t+1;e<=r;++e){for(var o=i[n++],h=i[n++],u=e,s=n-2;u-- >t;){var a=i[s-2],l=i[s-1];if(a<o)break;if(a===o&&l<h)break;i[s]=a,i[s+1]=l,s-=2}i[s]=o,i[s+1]=h}}function n(t,r,i){r*=2;var n=i[t*=2],e=i[t+1];i[t]=i[r],i[t+1]=i[r+1],i[r]=n,i[r+1]=e}function e(t,r,i){r*=2,i[t*=2]=i[r],i[t+1]=i[r+1]}function o(t,r,i,n){r*=2,i*=2;var e=n[t*=2],o=n[t+1];n[t]=n[r],n[t+1]=n[r+1],n[r]=n[i],n[r+1]=n[i+1],n[i]=e,n[i+1]=o}function h(t,r,i,n,e){r*=2,e[t*=2]=e[r],e[r]=i,e[t+1]=e[r+1],e[r+1]=n}function u(t,r,i){r*=2;var n=i[t*=2],e=i[r];return!(n<e)&&(n!==e||i[t+1]>i[r+1])}function s(t,r,i,n){var e=n[t*=2];return e<r||e===r&&n[t+1]<i}function a(t,l,f){var m=(l-t+1)/6|0,v=t+m,c=l-m,p=t+l>>1,d=p-m,g=p+m,M=v,w=d,y=p,b=g,x=c,_=t+1,A=l-1,k=0;u(M,w,f)&&(k=M,M=w,w=k),u(b,x,f)&&(k=b,b=x,x=k),u(M,y,f)&&(k=M,M=y,y=k),u(w,y,f)&&(k=w,w=y,y=k),u(M,b,f)&&(k=M,M=b,b=k),u(y,b,f)&&(k=y,y=b,b=k),u(w,x,f)&&(k=w,w=x,x=k),u(w,y,f)&&(k=w,w=y,y=k),u(b,x,f)&&(k=b,b=x,x=k);for(var I=f[2*w],B=f[2*w+1],q=f[2*b],S=f[2*b+1],R=2*M,T=2*y,Z=2*x,C=2*v,N=2*p,j=2*c,E=0;E<2;++E){var O=f[R+E],L=f[T+E],D=f[Z+E];f[C+E]=O,f[N+E]=L,f[j+E]=D}e(d,t,f),e(g,l,f);for(var F=_;F<=A;++F)if(s(F,I,B,f))F!==_&&n(F,_,f),++_;else if(!s(F,q,S,f))for(;;){if(s(A,q,S,f)){s(A,I,B,f)?(o(F,_,A,f),++_,--A):(n(F,A,f),--A);break}if(--A<F)break}h(t,_-1,I,B,f),h(l,A+1,q,S,f),_-2-t<=r?i(t,_-2,f):a(t,_-2,f),l-(A+2)<=r?i(A+2,l,f):a(A+2,l,f),A-_<=r?i(_,A,f):a(_,A,f)}},53304:function(t,r,i){"use strict";t.exports={init:function(t){var r=e.nextPow2(t);s.length<r&&(n.free(s),s=n.mallocInt32(r));a.length<r&&(n.free(a),a=n.mallocInt32(r));l.length<r&&(n.free(l),l=n.mallocInt32(r));f.length<r&&(n.free(f),f=n.mallocInt32(r));m.length<r&&(n.free(m),m=n.mallocInt32(r));v.length<r&&(n.free(v),v=n.mallocInt32(r));var i=8*r;c.length<i&&(n.free(c),c=n.mallocDouble(i))},sweepBipartite:function(t,r,i,n,e,u,m,v,g,M){for(var w=0,y=2*t,b=t-1,x=y-1,_=i;_<n;++_){var A=u[_],k=y*_;c[w++]=e[k+b],c[w++]=-(A+1),c[w++]=e[k+x],c[w++]=A}for(_=m;_<v;++_){A=M[_]+h;var I=y*_;c[w++]=g[I+b],c[w++]=-A,c[w++]=g[I+x],c[w++]=A}var B=w>>>1;o(c,B);var q=0,S=0;for(_=0;_<B;++_){var R=0|c[2*_+1];if(R>=h)p(l,f,S--,R=R-h|0);else if(R>=0)p(s,a,q--,R);else if(R<=-h){R=-R-h|0;for(var T=0;T<q;++T){if(void 0!==(Z=r(s[T],R)))return Z}d(l,f,S++,R)}else{R=-R-1|0;for(T=0;T<S;++T){var Z;if(void 0!==(Z=r(R,l[T])))return Z}d(s,a,q++,R)}}},sweepComplete:function(t,r,i,n,e,h,u,g,M,w){for(var y=0,b=2*t,x=t-1,_=b-1,A=i;A<n;++A){var k=h[A]+1<<1,I=b*A;c[y++]=e[I+x],c[y++]=-k,c[y++]=e[I+_],c[y++]=k}for(A=u;A<g;++A){k=w[A]+1<<1;var B=b*A;c[y++]=M[B+x],c[y++]=1|-k,c[y++]=M[B+_],c[y++]=1|k}var q=y>>>1;o(c,q);var S=0,R=0,T=0;for(A=0;A<q;++A){var Z=0|c[2*A+1],C=1&Z;if(A<q-1&&Z>>1===c[2*A+3]>>1&&(C=2,A+=1),Z<0){for(var N=-(Z>>1)-1,j=0;j<T;++j){if(void 0!==(E=r(m[j],N)))return E}if(0!==C)for(j=0;j<S;++j){if(void 0!==(E=r(s[j],N)))return E}if(1!==C)for(j=0;j<R;++j){var E;if(void 0!==(E=r(l[j],N)))return E}0===C?d(s,a,S++,N):1===C?d(l,f,R++,N):2===C&&d(m,v,T++,N)}else{N=(Z>>1)-1;0===C?p(s,a,S--,N):1===C?p(l,f,R--,N):2===C&&p(m,v,T--,N)}}},scanBipartite:function(t,r,i,n,e,u,l,f,m,v,g,M){var w=0,y=2*t,b=r,x=r+t,_=1,A=1;n?A=h:_=h;for(var k=e;k<u;++k){var I=k+_,B=y*k;c[w++]=l[B+b],c[w++]=-I,c[w++]=l[B+x],c[w++]=I}for(k=m;k<v;++k){I=k+A;var q=y*k;c[w++]=g[q+b],c[w++]=-I}var S=w>>>1;o(c,S);var R=0;for(k=0;k<S;++k){var T=0|c[2*k+1];if(T<0){var Z=!1;if((I=-T)>=h?(Z=!n,I-=h):(Z=!!n,I-=1),Z)d(s,a,R++,I);else{var C=M[I],N=y*I,j=g[N+r+1],E=g[N+r+1+t];t:for(var O=0;O<R;++O){var L=s[O],D=y*L;if(!(E<l[D+r+1]||l[D+r+1+t]<j)){for(var F=r+2;F<t;++F)if(g[N+F+t]<l[D+F]||l[D+F+t]<g[N+F])continue t;var P,z=f[L];if(void 0!==(P=n?i(C,z):i(z,C)))return P}}}}else p(s,a,R--,T-_)}},scanComplete:function(t,r,i,n,e,u,a,l,f,m,v){for(var p=0,d=2*t,g=r,M=r+t,w=n;w<e;++w){var y=w+h,b=d*w;c[p++]=u[b+g],c[p++]=-y,c[p++]=u[b+M],c[p++]=y}for(w=l;w<f;++w){y=w+1;var x=d*w;c[p++]=m[x+g],c[p++]=-y}var _=p>>>1;o(c,_);var A=0;for(w=0;w<_;++w){var k=0|c[2*w+1];if(k<0){if((y=-k)>=h)s[A++]=y-h;else{var I=v[y-=1],B=d*y,q=m[B+r+1],S=m[B+r+1+t];t:for(var R=0;R<A;++R){var T=s[R],Z=a[T];if(Z===I)break;var C=d*T;if(!(S<u[C+r+1]||u[C+r+1+t]<q)){for(var N=r+2;N<t;++N)if(m[B+N+t]<u[C+N]||u[C+N+t]<m[B+N])continue t;var j=i(Z,I);if(void 0!==j)return j}}}}else{for(y=k-h,R=A-1;R>=0;--R)if(s[R]===y){for(N=R+1;N<A;++N)s[N-1]=s[N];break}--A}}}};var n=i(32237),e=i(43863),o=i(90202),h=1<<28,u=1024,s=n.mallocInt32(u),a=n.mallocInt32(u),l=n.mallocInt32(u),f=n.mallocInt32(u),m=n.mallocInt32(u),v=n.mallocInt32(u),c=n.mallocDouble(8192);function p(t,r,i,n){var e=r[n],o=t[i-1];t[e]=o,r[o]=e}function d(t,r,i,n){t[i]=n,r[n]=i}},82719:function(t){"use strict";t.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},21257:function(t){"use strict";t.exports=JSON.parse('{"0":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}')}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 2932.7cc0689b.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[2932],{12734:function(e,t,n){n.d(t,{v:function(){return i}});var o=n(19158),r=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e){function t(t,n){var o=e.call(this,t)||this;return o.ctrl=n,o}return r(t,e),t.prototype.getCtrl=function(){return this.ctrl},t}(o.u)},44916:function(e,t,n){n.d(t,{$:function(){return c}});var o=n(72925),r=n(6788),i=n(18928),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=0,c=function(e){function t(t,n){var o=e.call(this)||this;return o.lastFocusEvent=null,o.columnGroupChild=t,o.parentRowCtrl=n,o.instanceId=t.getUniqueId()+"-"+u++,o}return s(t,e),t.prototype.shouldStopEventPropagation=function(e){var t=this.focusService.getFocusedHeader(),n=t.headerRowIndex,o=t.column;return(0,i.isUserSuppressingHeaderKeyboardEvent)(this.gridOptionsWrapper,e,n,o)},t.prototype.setGui=function(e){this.eGui=e,this.addDomData()},t.prototype.addDomData=function(){var e=this,n=t.DOM_DATA_KEY_HEADER_CTRL;this.gridOptionsWrapper.setDomData(this.eGui,n,this),this.addDestroyFunc((function(){return e.gridOptionsWrapper.setDomData(e.eGui,n,null)}))},t.prototype.getGui=function(){return this.eGui},t.prototype.focus=function(e){return!!this.eGui&&(this.lastFocusEvent=e||null,this.eGui.focus(),!0)},t.prototype.getRowIndex=function(){return this.parentRowCtrl.getRowIndex()},t.prototype.getParentRowCtrl=function(){return this.parentRowCtrl},t.prototype.getPinned=function(){return this.parentRowCtrl.getPinned()},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.getColumnGroupChild=function(){return this.columnGroupChild},t.DOM_DATA_KEY_HEADER_CTRL="headerCtrl",a([(0,r.ds)("focusService")],t.prototype,"focusService",void 0),t}(o.X)},87847:function(e,t,n){n.d(t,{L:function(){return _}});var o=n(40691),r=n(6788),i=n(89809),s=n(85302),a=n(20635),u=n(19057),c=n(68316),l=n(12817),p=n(68246),d=n(44916),h=n(79545),f=n(47325),g=n(16892),m=n(72925),v=n(79045),y=n(70326),C=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),S=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},O=function(e){function t(t,n,o,r,i){var s=e.call(this)||this;return s.pinned=t,s.column=n,s.eResize=o,s.comp=r,s.ctrl=i,s}return C(t,e),t.prototype.postConstruct=function(){var e,t,n=this,o=this.column.getColDef(),r=[],i=function(){r.forEach((function(e){return e()})),r.length=0},s=function(){var s=n.column.isResizable(),a=!n.gridOptionsWrapper.isSuppressAutoSize()&&!o.suppressAutoSize;(s!==e||a!==t)&&(e=s,t=a,i(),function(){if((0,v.setDisplayed)(n.eResize,e),e){var o=n.horizontalResizeService.addResizeBar({eResizeBar:n.eResize,onResizeStart:n.onResizeStart.bind(n),onResizing:n.onResizing.bind(n,!1),onResizeEnd:n.onResizing.bind(n,!0)});if(r.push(o),t){var i=n.gridOptionsWrapper.isSkipHeaderOnAutoSize(),s=function(){n.columnModel.autoSizeColumn(n.column,i,"uiColumnResized")};n.eResize.addEventListener("dblclick",s);var a=new y.M(n.eResize);a.addEventListener(y.M.EVENT_DOUBLE_TAP,s),n.addDestroyFunc((function(){n.eResize.removeEventListener("dblclick",s),a.removeEventListener(y.M.EVENT_DOUBLE_TAP,s),a.destroy()}))}}}())};s(),this.addDestroyFunc(i),this.ctrl.addRefreshFunction(s)},t.prototype.onResizing=function(e,t){var n=this.normaliseResizeAmount(t),o=[{key:this.column,newWidth:this.resizeStartWidth+n}];this.columnModel.setColumnWidths(o,this.resizeWithShiftKey,e,"uiColumnDragged"),e&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.onResizeStart=function(e){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=e,this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.normaliseResizeAmount=function(e){var t=e,n=this.pinned!==g.Y.PINNED_LEFT,o=this.pinned===g.Y.PINNED_RIGHT;return this.gridOptionsWrapper.isEnableRtl()?n&&(t*=-1):o&&(t*=-1),t},S([(0,r.ds)("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),S([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),S([r.o7],t.prototype,"postConstruct",null),t}(m.X),E=n(26064),D=n(88114),R=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),b=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},A=function(e){function t(t){var n=e.call(this)||this;n.cbSelectAllVisible=!1,n.processingEventFromCheckbox=!1,n.column=t;var o=t.getColDef();return n.filteredOnly=!!o&&!!o.headerCheckboxSelectionFilteredOnly,n}return R(t,e),t.prototype.onSpaceKeyPressed=function(e){var t=this.cbSelectAll,n=this.gridOptionsWrapper.getDocument();t.isDisplayed()&&!t.getGui().contains(n.activeElement)&&(e.preventDefault(),t.setValue(!t.getValue()))},t.prototype.getCheckboxGui=function(){return this.cbSelectAll.getGui()},t.prototype.setComp=function(e){this.headerCellCtrl=e,this.cbSelectAll=this.createManagedBean(new E.U),this.cbSelectAll.addCssClass("ag-header-select-all"),(0,c.setAriaRole)(this.cbSelectAll.getGui(),"presentation"),this.showOrHideSelectAll(),this.addManagedListener(this.eventService,D.s.EVENT_NEW_COLUMNS_LOADED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,D.s.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,D.s.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,D.s.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addManagedListener(this.cbSelectAll,E.U.EVENT_CHANGED,this.onCbSelectAll.bind(this)),this.cbSelectAll.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()},t.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setDisplayed(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox()),this.refreshSelectAllLabel()},t.prototype.onModelChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.onSelectionChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.getNextCheckboxState=function(e){return(0!==e.selected||0!==e.notSelected)&&(e.selected>0&&e.notSelected>0?null:e.selected>0)},t.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var e=this.getSelectionCount(),t=this.getNextCheckboxState(e);this.cbSelectAll.setValue(t),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}},t.prototype.refreshSelectAllLabel=function(){if(this.cbSelectAllVisible){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.cbSelectAll.getValue()?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),n=e("ariaRowSelectAll","Press Space to toggle all rows selection");this.headerCellCtrl.setAriaDescriptionProperty("selectAll",n+" ("+t+")")}else this.headerCellCtrl.setAriaDescriptionProperty("selectAll",null);this.headerCellCtrl.refreshAriaDescription()},t.prototype.getSelectionCount=function(){var e=this,t=0,n=0,o=function(o){e.gridOptionsWrapper.isGroupSelectsChildren()&&o.group||(o.isSelected()?t++:o.selectable&&n++)};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(o):this.gridApi.forEachNode(o),{notSelected:n,selected:t}},t.prototype.checkRightRowModelType=function(){var e=this.rowModel.getType();e===g.Y.ROW_MODEL_TYPE_CLIENT_SIDE||console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using "+e)},t.prototype.onCbSelectAll=function(){this.processingEventFromCheckbox||this.cbSelectAllVisible&&(this.cbSelectAll.getValue()?this.selectionService.selectAllRowNodes(this.filteredOnly):this.selectionService.deselectAllRowNodes(this.filteredOnly))},t.prototype.isCheckboxSelection=function(){var e=this.column.getColDef().headerCheckboxSelection;"function"===typeof e&&(e=e({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi,context:this.gridOptionsWrapper.getContext()}));return!!e&&(this.gridOptionsWrapper.isRowModelServerSide()?(console.warn("AG Grid: headerCheckboxSelection is not supported for Server Side Row Model"),!1):this.gridOptionsWrapper.isRowModelInfinite()?(console.warn("AG Grid: headerCheckboxSelection is not supported for Infinite Row Model"),!1):!this.gridOptionsWrapper.isRowModelViewport()||(console.warn("AG Grid: headerCheckboxSelection is not supported for Viewport Row Model"),!1))},b([(0,r.ds)("gridApi")],t.prototype,"gridApi",void 0),b([(0,r.ds)("columnApi")],t.prototype,"columnApi",void 0),b([(0,r.ds)("rowModel")],t.prototype,"rowModel",void 0),b([(0,r.ds)("selectionService")],t.prototype,"selectionService",void 0),t}(m.X),P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),w=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},_=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.refreshFunctions=[],o.userHeaderClasses=new Set,o.ariaDescriptionProperties=new Map,o.column=t,o}return P(t,e),t.prototype.setComp=function(t,n,o){var r=this;e.prototype.setGui.call(this,n),this.comp=t,this.colDefVersion=this.columnModel.getColDefVersion(),this.updateState(),this.setupWidth(),this.setupMovingCss(),this.setupMenuClass(),this.setupSortableClass(),this.addColumnHoverListener(),this.setupFilterCss(),this.setupColId(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(),this.setupSelectAll(),this.setupUserComp(),this.refreshAria(),this.createManagedBean(new O(this.getPinned(),this.column,o,t,this)),this.createManagedBean(new f.x([this.column],n)),this.createManagedBean(new u.u(this.column,n,this.beans)),this.createManagedBean(new l.G(n,{shouldStopEventPropagation:function(e){return r.shouldStopEventPropagation(e)},onTabKeyDown:function(){return null},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,a.s.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.addManagedListener(this.eventService,a.s.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.addManagedListener(this.eventService,a.s.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,a.s.EVENT_COLUMN_PIVOT_CHANGED,this.onColumnPivotChanged.bind(this))},t.prototype.setupUserComp=function(){var e=this.lookupUserCompDetails();this.setCompDetails(e)},t.prototype.setCompDetails=function(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)},t.prototype.lookupUserCompDetails=function(){var e=this.createParams(),t=this.column.getColDef();return this.userComponentFactory.getHeaderCompDetails(t,e)},t.prototype.createParams=function(){var e=this,t=this.column.getColDef();return{column:this.column,displayName:this.displayName,enableSorting:t.sortable,enableMenu:this.menuEnabled,showColumnMenu:function(t){e.gridApi.showColumnMenuAfterButtonClick(e.column,t)},progressSort:function(t){e.sortController.progressSort(e.column,!!t,"uiColumnSorted")},setSort:function(t,n){e.sortController.setSortForColumn(e.column,t,!!n,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext(),eGridHeader:this.getGui()}},t.prototype.setupSelectAll=function(){this.selectAllFeature=this.createManagedBean(new A(this.column)),this.selectAllFeature.setComp(this)},t.prototype.getSelectAllGui=function(){return this.selectAllFeature.getCheckboxGui()},t.prototype.handleKeyDown=function(e){e.key===o.D.SPACE&&this.selectAllFeature.onSpaceKeyPressed(e),e.key===o.D.ENTER&&this.onEnterKeyPressed(e)},t.prototype.onEnterKeyPressed=function(e){var t=this.comp.getUserCompInstance();if(t)if(e.ctrlKey||e.metaKey)this.menuEnabled&&t.showMenu&&(e.preventDefault(),t.showMenu());else if(this.sortable){var n=e.shiftKey;this.sortController.progressSort(this.column,n,"uiColumnSorted")}},t.prototype.isMenuEnabled=function(){return this.menuEnabled},t.prototype.onFocusIn=function(e){if(!this.getGui().contains(e.relatedTarget)){var t=this.getRowIndex();this.focusService.setFocusedHeader(t,this.column)}this.setActiveHeader(!0)},t.prototype.onFocusOut=function(e){this.getGui().contains(e.relatedTarget)||this.setActiveHeader(!1)},t.prototype.setupTooltip=function(){var e=this,t={getColumn:function(){return e.column},getColDef:function(){return e.column.getColDef()},getGui:function(){return e.eGui},getLocation:function(){return"header"},getTooltipValue:function(){return e.column.getColDef().headerTooltip}},n=this.createManagedBean(new p.C(t,this.beans));n.setComp(this.comp),this.refreshFunctions.push((function(){return n.refreshToolTip()}))},t.prototype.setupClassesFromColDef=function(){var e=this,t=function(){var t=e.column.getColDef(),n=e.gridOptionsWrapper,o=h.P.getHeaderClassesFromColDef(t,n,e.column,null),r=e.userHeaderClasses;e.userHeaderClasses=new Set(o),o.forEach((function(t){r.has(t)?r.delete(t):e.comp.addOrRemoveCssClass(t,!0)})),r.forEach((function(t){return e.comp.addOrRemoveCssClass(t,!1)}))};this.refreshFunctions.push(t),t()},t.prototype.setDragSource=function(e){var t=this;this.dragSourceElement=e,this.removeDragSource(),e&&this.draggable&&(this.moveDragSource={type:i.qR.HeaderCell,eElement:e,defaultIconName:i.WO.ICON_HIDE,getDragItem:function(){return t.createDragItem()},dragItemName:this.displayName,onDragStarted:function(){return t.column.setMoving(!0,"uiColumnMoved")},onDragStopped:function(){return t.column.setMoving(!1,"uiColumnMoved")}},this.dragAndDropService.addDragSource(this.moveDragSource,!0))},t.prototype.createDragItem=function(){var e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}},t.prototype.removeDragSource=function(){this.moveDragSource&&(this.dragAndDropService.removeDragSource(this.moveDragSource),this.moveDragSource=void 0)},t.prototype.onNewColumnsLoaded=function(){var e=this.columnModel.getColDefVersion();e!=this.colDefVersion&&(this.colDefVersion=e,this.refresh())},t.prototype.updateState=function(){var e=this.column.getColDef();this.menuEnabled=this.menuFactory.isMenuEnabled(this.column)&&!e.suppressMenu,this.sortable=e.sortable,this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()},t.prototype.addRefreshFunction=function(e){this.refreshFunctions.push(e)},t.prototype.refresh=function(){this.updateState(),this.refreshHeaderComp(),this.refreshAria(),this.refreshFunctions.forEach((function(e){return e()}))},t.prototype.refreshHeaderComp=function(){var e=this.lookupUserCompDetails();!!(null!=this.comp.getUserCompInstance()&&this.userCompDetails.componentClass==e.componentClass)&&this.attemptHeaderCompRefresh(e.params)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)},t.prototype.attemptHeaderCompRefresh=function(e){var t=this.comp.getUserCompInstance();return!!t&&(!!t.refresh&&t.refresh(e))},t.prototype.calculateDisplayName=function(){return this.columnModel.getDisplayNameForColumn(this.column,"header",!0)},t.prototype.checkDisplayName=function(){this.displayName!==this.calculateDisplayName()&&this.refresh()},t.prototype.workOutDraggable=function(){var e=this.column.getColDef();return!!(!this.gridOptionsWrapper.isSuppressMovableColumns()&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot},t.prototype.onColumnRowGroupChanged=function(){this.checkDisplayName()},t.prototype.onColumnPivotChanged=function(){this.checkDisplayName()},t.prototype.onColumnValueChanged=function(){this.checkDisplayName()},t.prototype.setupWidth=function(){var e=this,t=function(){e.comp.setWidth(e.column.getActualWidth()+"px")};this.addManagedListener(this.column,s.V.EVENT_WIDTH_CHANGED,t),t()},t.prototype.setupMovingCss=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.column.isMoving())};this.addManagedListener(this.column,s.V.EVENT_MOVING_CHANGED,t),t()},t.prototype.setupMenuClass=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-column-menu-visible",e.column.isMenuVisible())};this.addManagedListener(this.column,s.V.EVENT_MENU_VISIBLE_CHANGED,t),t()},t.prototype.setupSortableClass=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-sortable",!!e.sortable)};t(),this.addRefreshFunction(t),this.addManagedListener(this.column,s.V.EVENT_SORT_CHANGED,this.refreshAriaSort.bind(this))},t.prototype.refreshAriaSort=function(){if(this.sortable){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.comp.setAriaSort((0,c.getAriaSortState)(this.column)),this.setAriaDescriptionProperty("sort",e("ariaSortableColumn","Press ENTER to sort."))}else this.comp.setAriaSort(),this.setAriaDescriptionProperty("sort",null)},t.prototype.refreshAriaMenu=function(){if(this.menuEnabled){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.setAriaDescriptionProperty("menu",e("ariaMenuColumn","Press CTRL ENTER to open column menu."))}else this.setAriaDescriptionProperty("menu",null)},t.prototype.setAriaDescriptionProperty=function(e,t){null!=t?this.ariaDescriptionProperties.set(e,t):this.ariaDescriptionProperties.delete(e)},t.prototype.refreshAriaDescription=function(){var e=Array.from(this.ariaDescriptionProperties.values());this.comp.setAriaDescription(e.length?e.join(" "):void 0)},t.prototype.refreshAria=function(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaDescription()},t.prototype.addColumnHoverListener=function(){var e=this,t=function(){if(e.gridOptionsWrapper.isColumnHoverHighlight()){var t=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",t)}};this.addManagedListener(this.eventService,a.s.EVENT_COLUMN_HOVER_CHANGED,t),t()},t.prototype.setupFilterCss=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-filtered",e.column.isFilterActive())};this.addManagedListener(this.column,s.V.EVENT_FILTER_ACTIVE_CHANGED,t),t()},t.prototype.setupColId=function(){this.comp.setColId(this.column.getColId())},t.prototype.addActiveHeaderMouseListeners=function(){var e=this,t=function(t){return e.setActiveHeader("mouseenter"===t.type)};this.addManagedListener(this.getGui(),"mouseenter",t),this.addManagedListener(this.getGui(),"mouseleave",t)},t.prototype.setActiveHeader=function(e){this.comp.addOrRemoveCssClass("ag-header-active",e)},w([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),w([(0,r.ds)("columnHoverService")],t.prototype,"columnHoverService",void 0),w([(0,r.ds)("beans")],t.prototype,"beans",void 0),w([(0,r.ds)("sortController")],t.prototype,"sortController",void 0),w([(0,r.ds)("menuFactory")],t.prototype,"menuFactory",void 0),w([(0,r.ds)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),w([(0,r.ds)("gridApi")],t.prototype,"gridApi",void 0),w([(0,r.ds)("columnApi")],t.prototype,"columnApi",void 0),w([(0,r.ds)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),w([r.y],t.prototype,"removeDragSource",null),t}(d.$)},16244:function(e,t,n){n.d(t,{B:function(){return v}});var o=n(6788),r=n(85302),i=n(88114),s=n(24436),a=n(59565),u=n(79045),c=n(25644),l=n(72968),p=n(7884),d=n(19158),h=n(52442),f=n(70326),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastMovingChanged=0,t}return g(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.refresh=function(e){return this.params=e,this.workOutTemplate()==this.currentTemplate&&(this.workOutShowMenu()==this.currentShowMenu&&(this.workOutSort()==this.currentSort&&(this.setDisplayName(e),!0)))},t.prototype.workOutTemplate=function(){var e=(0,s.firstExistingValue)(this.params.template,t.TEMPLATE);return e=e&&e.trim?e.trim():e},t.prototype.init=function(e){this.params=e,this.currentTemplate=this.workOutTemplate(),this.setTemplate(this.currentTemplate),this.setupTap(),this.setupIcons(e.column),this.setMenu(),this.setupSort(),this.setupFilterIcon(),this.setDisplayName(e)},t.prototype.setDisplayName=function(e){if(this.currentDisplayName!=e.displayName){this.currentDisplayName=e.displayName;var t=(0,p.escapeString)(this.currentDisplayName);this.eText&&(this.eText.innerHTML=t)}},t.prototype.setupIcons=function(e){this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addInIcon("menu",this.eMenu,e),this.addInIcon("filter",this.eFilter,e)},t.prototype.addInIcon=function(e,t,n){if(null!=t){var o=(0,l.createIconNoSpan)(e,this.gridOptionsWrapper,n);o&&t.appendChild(o)}},t.prototype.setupTap=function(){var e=this,t=this.gridOptionsWrapper;if(!t.isSuppressTouch()){var n=new f.M(this.getGui(),!0),o=t.isSuppressMenuHide(),r=o&&(0,c.exists)(this.eMenu),i=r?new f.M(this.eMenu,!0):n;if(this.params.enableMenu){var s=r?"EVENT_TAP":"EVENT_LONG_TAP";this.addManagedListener(i,f.M[s],(function(n){t.getApi().showColumnMenuAfterMouseClick(e.params.column,n.touchStart)}))}if(this.params.enableSorting){this.addManagedListener(n,f.M.EVENT_TAP,(function(t){var n=t.touchStart.target;o&&e.eMenu.contains(n)||e.sortController.progressSort(e.params.column,!1,"uiColumnSorted")}))}this.addDestroyFunc((function(){return n.destroy()})),r&&this.addDestroyFunc((function(){return i.destroy()}))}},t.prototype.workOutShowMenu=function(){var e=!this.gridOptionsWrapper.isSuppressMenuHide(),t=(0,a.isIOSUserAgent)()&&e;return this.params.enableMenu&&!t},t.prototype.setMenu=function(){var e=this;if(this.eMenu)if(this.currentShowMenu=this.workOutShowMenu(),this.currentShowMenu){var t=this.gridOptionsWrapper.isSuppressMenuHide();this.addManagedListener(this.eMenu,"click",(function(){return e.showMenu(e.eMenu)})),this.eMenu.classList.toggle("ag-header-menu-always-show",t)}else(0,u.removeFromParent)(this.eMenu)},t.prototype.showMenu=function(e){e||(e=this.eMenu),this.menuFactory.showMenuAfterButtonClick(this.params.column,e,"columnMenu")},t.prototype.removeSortIcons=function(){(0,u.removeFromParent)(this.eSortAsc),(0,u.removeFromParent)(this.eSortDesc),(0,u.removeFromParent)(this.eSortNone),(0,u.removeFromParent)(this.eSortOrder)},t.prototype.workOutSort=function(){return this.params.enableSorting},t.prototype.setupSort=function(){var e=this;if(this.currentSort=this.params.enableSorting,this.currentSort){var t=this.gridOptionsWrapper.isMultiSortKeyCtrl();this.addManagedListener(this.params.column,r.V.EVENT_MOVING_CHANGED,(function(){e.lastMovingChanged=(new Date).getTime()})),this.eLabel&&this.addManagedListener(this.eLabel,"click",(function(n){var o=e.params.column.isMoving(),r=(new Date).getTime()-e.lastMovingChanged<50;if(!(o||r)){var i=t?n.ctrlKey||n.metaKey:n.shiftKey;e.params.progressSort(i)}})),this.addManagedListener(this.params.column,r.V.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged(),this.addManagedListener(this.eventService,i.s.EVENT_SORT_CHANGED,this.setMultiSortOrder.bind(this)),this.setMultiSortOrder()}else this.removeSortIcons()},t.prototype.onSortChanged=function(){if(this.addOrRemoveCssClass("ag-header-cell-sorted-asc",this.params.column.isSortAscending()),this.addOrRemoveCssClass("ag-header-cell-sorted-desc",this.params.column.isSortDescending()),this.addOrRemoveCssClass("ag-header-cell-sorted-none",this.params.column.isSortNone()),this.eSortAsc&&this.eSortAsc.classList.toggle("ag-hidden",!this.params.column.isSortAscending()),this.eSortDesc&&this.eSortDesc.classList.toggle("ag-hidden",!this.params.column.isSortDescending()),this.eSortNone){var e=!this.params.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();this.eSortNone.classList.toggle("ag-hidden",e||!this.params.column.isSortNone())}},t.prototype.setMultiSortOrder=function(){if(this.eSortOrder){var e=this.params.column,t=this.sortController.getColumnsWithSortingOrdered(),n=t.indexOf(e),o=t.length>1,r=e.isSorting()&&o;(0,u.setDisplayed)(this.eSortOrder,r),n>=0?this.eSortOrder.innerHTML=(n+1).toString():(0,u.clearElement)(this.eSortOrder)}},t.prototype.setupFilterIcon=function(){this.eFilter&&(this.addManagedListener(this.params.column,r.V.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},t.prototype.onFilterChanged=function(){var e=this.params.column.isFilterActive();this.eFilter.classList.toggle("ag-hidden",!e)},t.TEMPLATE='<div class="ag-cell-label-container" role="presentation">\n <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span>\n <div ref="eLabel" class="ag-header-cell-label" role="presentation">\n <span ref="eText" class="ag-header-cell-text"></span>\n <span ref="eFilter" class="ag-header-icon ag-header-label-icon ag-filter-icon" aria-hidden="true"></span>\n <span ref="eSortOrder" class="ag-header-icon ag-header-label-icon ag-sort-order" aria-hidden="true"></span>\n <span ref="eSortAsc" class="ag-header-icon ag-header-label-icon ag-sort-ascending-icon" aria-hidden="true"></span>\n <span ref="eSortDesc" class="ag-header-icon ag-header-label-icon ag-sort-descending-icon" aria-hidden="true"></span>\n <span ref="eSortNone" class="ag-header-icon ag-header-label-icon ag-sort-none-icon" aria-hidden="true"></span>\n </div>\n </div>',m([(0,o.ds)("sortController")],t.prototype,"sortController",void 0),m([(0,o.ds)("menuFactory")],t.prototype,"menuFactory",void 0),m([(0,h.P)("eFilter")],t.prototype,"eFilter",void 0),m([(0,h.P)("eSortAsc")],t.prototype,"eSortAsc",void 0),m([(0,h.P)("eSortDesc")],t.prototype,"eSortDesc",void 0),m([(0,h.P)("eSortNone")],t.prototype,"eSortNone",void 0),m([(0,h.P)("eSortOrder")],t.prototype,"eSortOrder",void 0),m([(0,h.P)("eMenu")],t.prototype,"eMenu",void 0),m([(0,h.P)("eLabel")],t.prototype,"eLabel",void 0),m([(0,h.P)("eText")],t.prototype,"eText",void 0),t}(d.u)},22484:function(e,t,n){n.d(t,{P:function(){return l}});var o=n(6788),r=n(72925),i=n(79045),s=n(40691),a=n(68316),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.hideActiveMenu=function(){this.hidePopup&&this.hidePopup()},t.prototype.showMenuAfterMouseEvent=function(e,t){var n=this;this.showPopup(e,(function(o){n.popupService.positionPopupUnderMouseEvent({column:e,type:"columnMenu",mouseEvent:t,ePopup:o})}),t.target)},t.prototype.showMenuAfterButtonClick=function(e,t,n){var o=this;this.showPopup(e,(function(r){o.popupService.positionPopupUnderComponent({type:n,eventSource:t,ePopup:r,keepWithinBounds:!0,column:e})}),t)},t.prototype.showPopup=function(e,t,n){var o=this,r=this.filterManager.getOrCreateFilterWrapper(e,"COLUMN_MENU");if(!r)throw new Error("AG Grid - unable to show popup filter, filter instantiation failed");var s,u=document.createElement("div");(0,a.setAriaRole)(u,"presentation"),u.classList.add("ag-menu"),this.tabListener=this.addManagedListener(u,"keydown",(function(e){return o.trapFocusWithin(e,u)})),r.guiPromise.then((function(e){return u.appendChild(e)}));var c=n||this.ctrlsService.getGridBodyCtrl().getGui(),l=this.gridOptionsWrapper.getLocaleTextFunc(),p=this.popupService.addPopup({modal:!0,eChild:u,closeOnEsc:!0,closedCallback:function(t){e.setMenuVisible(!1,"contextMenu");var r=t instanceof KeyboardEvent;if(o.tabListener&&(o.tabListener=o.tabListener()),r&&n&&(0,i.isVisible)(n)){var s=o.focusService.findTabbableParent(n);s&&s.focus()}},positionCallback:function(){return t(u)},anchorToElement:c,ariaLabel:l("ariaLabelColumnMenu","Column Menu")});p&&(this.hidePopup=s=p.hideFunc),r.filterPromise.then((function(e){t(u),e.afterGuiAttached&&e.afterGuiAttached({container:"columnMenu",hidePopup:s})})),e.setMenuVisible(!0,"contextMenu")},t.prototype.trapFocusWithin=function(e,t){e.key!==s.D.TAB||e.defaultPrevented||this.focusService.findNextFocusableElement(t,!1,e.shiftKey)||(e.preventDefault(),this.focusService.focusInto(t,e.shiftKey))},t.prototype.isMenuEnabled=function(e){return e.isFilterAllowed()},c([(0,o.ds)("filterManager")],t.prototype,"filterManager",void 0),c([(0,o.ds)("popupService")],t.prototype,"popupService",void 0),c([(0,o.ds)("focusService")],t.prototype,"focusService",void 0),c([(0,o.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=c([(0,o.dR)("menuFactory")],t)}(r.X)},45535:function(e,t,n){n.d(t,{K:function(){return A}});var o=n(40691),r=n(6788),i=n(89809),s=n(85302),a=n(81027),u=n(19057),c=n(24436),l=n(12817),p=n(68246),d=n(44916),h=n(79545),f=n(47325),g=n(16892),m=n(72925),v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),y=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},C=function(e){function t(t,n,o,r){var i=e.call(this)||this;return i.eResize=n,i.comp=t,i.pinned=o,i.columnGroup=r,i}return v(t,e),t.prototype.postConstruct=function(){var e=this;if(this.columnGroup.isResizable()){var t=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(this.addDestroyFunc(t),!this.gridOptionsWrapper.isSuppressAutoSize()){var n=this.gridOptionsWrapper.isSkipHeaderOnAutoSize();this.eResize.addEventListener("dblclick",(function(){var t=[];e.columnGroup.getDisplayedLeafColumns().forEach((function(e){e.getColDef().suppressAutoSize||t.push(e.getColId())})),t.length>0&&e.columnModel.autoSizeColumns({columns:t,skipHeader:n,stopAtGroup:e.columnGroup,source:"uiColumnResized"}),e.resizeLeafColumnsToFit()}))}}else this.comp.addOrRemoveResizableCssClass("ag-hidden",!0)},t.prototype.onResizeStart=function(e){var t=this;this.calculateInitialValues();var n=null;if(e&&(n=this.columnModel.getDisplayedGroupAfter(this.columnGroup)),n){var o=n.getDisplayedLeafColumns();this.resizeTakeFromCols=o.filter((function(e){return e.isResizable()})),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach((function(e){return t.resizeTakeFromStartWidth+=e.getActualWidth()})),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach((function(e){return t.resizeTakeFromRatios.push(e.getActualWidth()/t.resizeTakeFromStartWidth)}))}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.onResizing=function(e,t){var n=this.normaliseDragChange(t),o=this.resizeStartWidth+n;this.resizeColumns(o,e)},t.prototype.resizeLeafColumnsToFit=function(){var e=this.autoWidthCalculator.getPreferredWidthForColumnGroup(this.columnGroup);this.calculateInitialValues(),e>this.resizeStartWidth&&this.resizeColumns(e,!0)},t.prototype.resizeColumns=function(e,t){void 0===t&&(t=!0);var n=[];if(n.push({columns:this.resizeCols,ratios:this.resizeRatios,width:e}),this.resizeTakeFromCols){var o=e-this.resizeStartWidth;n.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-o})}this.columnModel.resizeColumnSets({resizeSets:n,finished:t,source:"uiColumnDragged"}),t&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.calculateInitialValues=function(){var e=this,t=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=t.filter((function(e){return e.isResizable()})),this.resizeStartWidth=0,this.resizeCols.forEach((function(t){return e.resizeStartWidth+=t.getActualWidth()})),this.resizeRatios=[],this.resizeCols.forEach((function(t){return e.resizeRatios.push(t.getActualWidth()/e.resizeStartWidth)}))},t.prototype.normaliseDragChange=function(e){var t=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==g.Y.PINNED_LEFT&&(t*=-1):this.pinned===g.Y.PINNED_RIGHT&&(t*=-1),t},y([(0,r.ds)("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),y([(0,r.ds)("autoWidthCalculator")],t.prototype,"autoWidthCalculator",void 0),y([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),y([r.o7],t.prototype,"postConstruct",null),t}(m.X),S=n(10426),O=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),E=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},D=function(e){function t(t,n){var o=e.call(this)||this;return o.removeChildListenersFuncs=[],o.columnGroup=n,o.comp=t,o}return O(t,e),t.prototype.postConstruct=function(){this.addListenersToChildrenColumns(),this.addManagedListener(this.columnGroup,S.o.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))},t.prototype.addListenersToChildrenColumns=function(){var e=this;this.removeListenersOnChildrenColumns();var t=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach((function(n){n.addEventListener(s.V.EVENT_WIDTH_CHANGED,t),n.addEventListener(s.V.EVENT_VISIBLE_CHANGED,t),e.removeChildListenersFuncs.push((function(){n.removeEventListener(s.V.EVENT_WIDTH_CHANGED,t),n.removeEventListener(s.V.EVENT_VISIBLE_CHANGED,t)}))}))},t.prototype.removeListenersOnChildrenColumns=function(){this.removeChildListenersFuncs.forEach((function(e){return e()})),this.removeChildListenersFuncs=[]},t.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},t.prototype.onWidthChanged=function(){this.comp.setWidth(this.columnGroup.getActualWidth()+"px")},E([r.o7],t.prototype,"postConstruct",null),t}(m.X),R=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),b=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},A=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.columnGroup=t,o}return R(t,e),t.prototype.setComp=function(t,n,o){e.prototype.setGui.call(this,n),this.comp=t,this.displayName=this.columnModel.getDisplayNameForColumnGroup(this.columnGroup,"header"),this.addClasses(),this.addAttributes(),this.setupMovingCss(),this.setupExpandable(),this.setupTooltip(),this.setupUserComp();var r=this.getParentRowCtrl().getPinned(),i=this.columnGroup.getProvidedColumnGroup().getLeafColumns();this.createManagedBean(new f.x(i,n)),this.createManagedBean(new u.u(this.columnGroup,n,this.beans)),this.createManagedBean(new D(t,this.columnGroup)),this.groupResizeFeature=this.createManagedBean(new C(t,o,r,this.columnGroup)),this.createManagedBean(new l.G(n,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:function(){},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.resizeLeafColumnsToFit=function(){this.groupResizeFeature.onResizeStart(!1),this.groupResizeFeature.resizeLeafColumnsToFit()},t.prototype.setupUserComp=function(){var e=this,t=this.displayName,n={displayName:this.displayName,columnGroup:this.columnGroup,setExpanded:function(t){e.columnModel.setColumnGroupOpened(e.columnGroup.getProvidedColumnGroup(),t,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};if(!t){for(var o=this.columnGroup,r=o.getLeafColumns();o.getParent()&&o.getParent().getLeafColumns().length===r.length;)o=o.getParent();var i=o.getColGroupDef();i&&(t=i.headerName),t||(t=r?this.columnModel.getDisplayNameForColumn(r[0],"header",!0):"")}var s=this.userComponentFactory.getHeaderGroupCompDetails(n);this.comp.setUserCompDetails(s)},t.prototype.setupTooltip=function(){var e=this,t=this.columnGroup.getColGroupDef(),n={getColumn:function(){return e.columnGroup},getGui:function(){return e.eGui},getLocation:function(){return"headerGroup"},getTooltipValue:function(){return t&&t.headerTooltip}};t&&(n.getColDef=function(){return t}),this.createManagedBean(new p.C(n,this.beans)).setComp(this.comp)},t.prototype.setupExpandable=function(){var e=this.columnGroup.getProvidedColumnGroup();this.refreshExpanded(),this.addManagedListener(e,a.D.EVENT_EXPANDABLE_CHANGED,this.refreshExpanded.bind(this)),this.addManagedListener(e,a.D.EVENT_EXPANDED_CHANGED,this.refreshExpanded.bind(this))},t.prototype.refreshExpanded=function(){var e=this.columnGroup;this.expandable=e.isExpandable();var t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0)},t.prototype.addAttributes=function(){this.comp.setColId(this.columnGroup.getUniqueId())},t.prototype.addClasses=function(){var e=this,t=this.columnGroup.getColGroupDef(),n=h.P.getHeaderClassesFromColDef(t,this.gridOptionsWrapper,null,this.columnGroup);n.push(this.columnGroup.isPadding()?"ag-header-group-cell-no-group":"ag-header-group-cell-with-group"),n.forEach((function(t){return e.comp.addOrRemoveCssClass(t,!0)}))},t.prototype.setupMovingCss=function(){var e=this,t=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),n=function(){return e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.columnGroup.isMoving())};t.forEach((function(t){e.addManagedListener(t,s.V.EVENT_MOVING_CHANGED,n)})),n()},t.prototype.onFocusIn=function(e){if(!this.eGui.contains(e.relatedTarget)){var t=this.getRowIndex();this.beans.focusService.setFocusedHeader(t,this.columnGroup)}},t.prototype.handleKeyDown=function(e){var t=this.gridOptionsWrapper.getDocument().activeElement===this.eGui;if(this.expandable&&t&&e.key===o.D.ENTER){var n=this.columnGroup,r=!n.isExpanded();this.columnModel.setColumnGroupOpened(n.getProvidedColumnGroup(),r,"uiColumnExpanded")}},t.prototype.setDragSource=function(e){var t=this;if(!this.isSuppressMoving()){var n=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),o={type:i.qR.HeaderCell,eElement:e,defaultIconName:i.WO.ICON_HIDE,dragItemName:this.displayName,getDragItem:this.getDragItemForGroup.bind(this),onDragStarted:function(){return n.forEach((function(e){return e.setMoving(!0,"uiColumnDragged")}))},onDragStopped:function(){return n.forEach((function(e){return e.setMoving(!1,"uiColumnDragged")}))}};this.dragAndDropService.addDragSource(o,!0),this.addDestroyFunc((function(){return t.dragAndDropService.removeDragSource(o)}))}},t.prototype.getDragItemForGroup=function(){var e=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),t={};e.forEach((function(e){return t[e.getId()]=e.isVisible()}));var n=[];return this.columnModel.getAllDisplayedColumns().forEach((function(t){e.indexOf(t)>=0&&(n.push(t),(0,c.removeFromArray)(e,t))})),e.forEach((function(e){return n.push(e)})),{columns:n,visibleState:t}},t.prototype.isSuppressMoving=function(){var e=!1;return this.columnGroup.getLeafColumns().forEach((function(t){(t.getColDef().suppressMovable||t.getColDef().lockPosition)&&(e=!0)})),e||this.gridOptionsWrapper.isSuppressMovableColumns()},b([(0,r.ds)("beans")],t.prototype,"beans",void 0),b([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),b([(0,r.ds)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),b([(0,r.ds)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),b([(0,r.ds)("gridApi")],t.prototype,"gridApi",void 0),b([(0,r.ds)("columnApi")],t.prototype,"columnApi",void 0),t}(d.$)},16340:function(e,t,n){n.d(t,{A:function(){return m}});var o=n(6788),r=n(81027),i=n(79045),s=n(18117),a=n(19837),u=n(25644),c=n(72968),l=n(7884),p=n(19158),d=n(52442),h=n(70326),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},m=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return f(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){this.params=e,this.checkWarnings(),this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()},t.prototype.checkWarnings=function(){if(this.params.template){(0,a.doOnce)((function(){return console.warn("AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)")}),"HeaderGroupComp.templateNotSupported")}},t.prototype.setupExpandIcons=function(){var e=this;this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");var t=function(t){if(!(0,s.isStopPropagationForAgGrid)(t)){var n=!e.params.columnGroup.isExpanded();e.columnModel.setColumnGroupOpened(e.params.columnGroup.getProvidedColumnGroup(),n,"uiColumnExpanded")}};this.addTouchAndClickListeners(this.eCloseIcon,t),this.addTouchAndClickListeners(this.eOpenIcon,t);var n=function(e){(0,s.stopPropagationForAgGrid)(e)};this.addManagedListener(this.eCloseIcon,"dblclick",n),this.addManagedListener(this.eOpenIcon,"dblclick",n),this.addManagedListener(this.getGui(),"dblclick",t),this.updateIconVisibility();var o=this.params.columnGroup.getProvidedColumnGroup();this.addManagedListener(o,r.D.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addManagedListener(o,r.D.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))},t.prototype.addTouchAndClickListeners=function(e,t){var n=new h.M(e,!0);this.addManagedListener(n,h.M.EVENT_TAP,t),this.addDestroyFunc((function(){return n.destroy()})),this.addManagedListener(e,"click",t)},t.prototype.updateIconVisibility=function(){if(this.params.columnGroup.isExpandable()){var e=this.params.columnGroup.isExpanded();(0,i.setDisplayed)(this.eOpenIcon,e),(0,i.setDisplayed)(this.eCloseIcon,!e)}else(0,i.setDisplayed)(this.eOpenIcon,!1),(0,i.setDisplayed)(this.eCloseIcon,!1)},t.prototype.addInIcon=function(e,t){var n=(0,c.createIconNoSpan)(e,this.gridOptionsWrapper,null);n&&this.getRefElement(t).appendChild(n)},t.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable())return(0,i.setDisplayed)(this.eOpenIcon,!1),void(0,i.setDisplayed)(this.eCloseIcon,!1)},t.prototype.setupLabel=function(){var e=this.params.displayName;if((0,u.exists)(e)){var t=(0,l.escapeString)(e);this.getRefElement("agLabel").innerHTML=t}},t.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer" role="presentation">\n <span ref="agLabel" class="ag-header-group-text" role="presentation"></span>\n <span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span>\n <span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span>\n </div>',g([(0,o.ds)("columnModel")],t.prototype,"columnModel",void 0),g([(0,d.P)("agOpened")],t.prototype,"eOpenIcon",void 0),g([(0,d.P)("agClosed")],t.prototype,"eCloseIcon",void 0),t}(p.u)},79545:function(e,t,n){n.d(t,{P:function(){return s}});var o=n(25644),r=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(a){r={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},i=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e},s=function(){function e(){}return e.getHeaderClassesFromColDef=function(e,t,n,r){return(0,o.missing)(e)?[]:this.getColumnClassesFromCollDef(e.headerClass,e,t,n,r)},e.getToolPanelClassesFromColDef=function(e,t,n,r){return(0,o.missing)(e)?[]:this.getColumnClassesFromCollDef(e.toolPanelClass,e,t,n,r)},e.getClassParams=function(e,t,n,o){return{colDef:e,column:n,columnGroup:o,api:t.getApi(),columnApi:t.getColumnApi(),context:t.getContext()}},e.getColumnClassesFromCollDef=function(e,t,n,r,s){if((0,o.missing)(e))return[];var a;"function"===typeof e?a=e(this.getClassParams(t,n,r,s)):a=e;return"string"===typeof a?[a]:Array.isArray(a)?i(a):[]},e}()},44080:function(e,t,n){n.d(t,{r:function(){return u}});var o=n(6788),r=n(52442),i=n(12734),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(n){return e.call(this,t.TEMPLATE,n)||this}return s(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),n={addOrRemoveCssClass:function(t,n){return e.addOrRemoveCssClass(t,n)},addOrRemoveBodyCssClass:function(t,n){return e.eFloatingFilterBody.classList.toggle(t,n)},addOrRemoveButtonWrapperCssClass:function(t,n){return e.eButtonWrapper.classList.toggle(t,n)},setCompDetails:function(t){return e.setCompDetails(t)},getFloatingFilterComp:function(){return e.compPromise},setWidth:function(e){return t.style.width=e},setMenuIcon:function(t){return e.eButtonShowMainFilter.appendChild(t)}};this.ctrl.setComp(n,t,this.eButtonShowMainFilter,this.eFloatingFilterBody)},t.prototype.setCompDetails=function(e){var t=this;this.compPromise=e.newAgStackInstance(),this.compPromise.then((function(e){return t.afterCompCreated(e)}))},t.prototype.afterCompCreated=function(e){var t=this;e&&(this.addDestroyFunc((function(){return t.context.destroyBean(e)})),this.isAlive()&&(this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()))},t.TEMPLATE='<div class="ag-header-cell ag-floating-filter" role="gridcell" tabindex="-1">\n <div ref="eFloatingFilterBody" role="presentation"></div>\n <div class="ag-floating-filter-button ag-hidden" ref="eButtonWrapper" role="presentation">\n <button type="button" aria-label="Open Filter Menu" class="ag-floating-filter-button-button" ref="eButtonShowMainFilter" tabindex="-1"></button>\n </div>\n </div>',a([(0,r.P)("eFloatingFilterBody")],t.prototype,"eFloatingFilterBody",void 0),a([(0,r.P)("eButtonWrapper")],t.prototype,"eButtonWrapper",void 0),a([(0,r.P)("eButtonShowMainFilter")],t.prototype,"eButtonShowMainFilter",void 0),a([o.o7],t.prototype,"postConstruct",null),t}(i.v)},47006:function(e,t,n){n.d(t,{H:function(){return v}});var o=n(44916),r=n(40691),i=n(6788),s=n(85302),a=n(88114),u=n(35895),c=n(19057),l=n(79045),p=n(72968),d=n(12817),h=n(47325),f=n(29163),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.column=t,o}return g(t,e),t.prototype.setComp=function(t,n,o,r){e.prototype.setGui.call(this,n),this.comp=t,this.eButtonShowMainFilter=o,this.eFloatingFilterBody=r;var i=this.column.getColDef(),s=!!i.filter||!!i.filterFramework,a=!!i.floatingFilter;this.active=s&&a,this.setupWidth(),this.setupLeft(),this.setupHover(),this.setupFocus(),this.setupUserComp(),this.setupSyncWithFilter(),this.setupUi(),this.addManagedListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this))},t.prototype.setupUi=function(){if(this.comp.addOrRemoveButtonWrapperCssClass("ag-hidden",!this.active||this.suppressFilterButton),this.active){this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton);var e=(0,p.createIconNoSpan)("filter",this.gridOptionsWrapper,this.column);e&&this.eButtonShowMainFilter.appendChild(e)}},t.prototype.setupFocus=function(){this.createManagedBean(new d.G(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.onTabKeyDown=function(e){if(!(this.gridOptionsWrapper.getDocument().activeElement===this.eGui)){var t=this.focusService.findNextFocusableElement(this.eGui,null,e.shiftKey);if(t)return this.beans.headerNavigationService.scrollToColumn(this.column),e.preventDefault(),void t.focus();var n=this.findNextColumnWithFloatingFilter(e.shiftKey);n&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:this.getParentRowCtrl().getRowIndex(),column:n},event:e})&&e.preventDefault()}},t.prototype.findNextColumnWithFloatingFilter=function(e){var t=this.beans.columnModel,n=this.column;do{if(!(n=e?t.getDisplayedColBefore(n):t.getDisplayedColAfter(n)))break}while(!n.getColDef().filter||!n.getColDef().floatingFilter);return n},t.prototype.handleKeyDown=function(e){var t=this.gridOptionsWrapper.getDocument().activeElement===this.eGui;switch(e.key){case r.D.UP:case r.D.DOWN:t||e.preventDefault();case r.D.LEFT:case r.D.RIGHT:if(t)return;e.stopPropagation();case r.D.ENTER:t&&this.focusService.focusInto(this.eGui)&&e.preventDefault();break;case r.D.ESCAPE:t||this.eGui.focus()}},t.prototype.onFocusIn=function(e){if(!this.eGui.contains(e.relatedTarget)){var t=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),n=!!e.relatedTarget&&(0,l.isElementChildOfClass)(e.relatedTarget,"ag-floating-filter");if(t&&n&&e.target===this.eGui){var o=this.lastFocusEvent,i=!(!o||o.key!==r.D.TAB);if(o&&i){var s=o.shiftKey;this.focusService.focusInto(this.eGui,s)}}var a=this.getRowIndex();this.beans.focusService.setFocusedHeader(a,this.column)}},t.prototype.setupHover=function(){var e=this;this.createManagedBean(new h.x([this.column],this.eGui));var t=function(){if(e.gridOptionsWrapper.isColumnHoverHighlight()){var t=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",t)}};this.addManagedListener(this.eventService,a.s.EVENT_COLUMN_HOVER_CHANGED,t),t()},t.prototype.setupLeft=function(){var e=new c.u(this.column,this.eGui,this.beans);this.createManagedBean(e)},t.prototype.setupUserComp=function(){var e=this;if(this.active){var t=this.column.getColDef(),n=this.filterManager.createFilterParams(this.column,t),o=this.userComponentFactory.mergeParamsWithApplicationProvidedParams(t,f.in,n),r=this.userComponentFactory.getDefaultFloatingFilterType(t);null==r&&(r="agReadOnlyFloatingFilter");var i={column:this.column,filterParams:o,currentParentModel:function(){return e.currentParentModel()},parentFilterInstance:function(t){return e.parentFilterInstance(t)},showParentFilter:function(){return e.showParentFilter()},suppressFilterButton:!1};this.suppressFilterButton=!!t.floatingFilterComponentParams&&!!t.floatingFilterComponentParams.suppressFilterButton;var s=this.userComponentFactory.getFloatingFilterCompDetails(t,i,r);s&&this.comp.setCompDetails(s)}},t.prototype.currentParentModel=function(){var e=this.getFilterComponent(!1);return e?e.resolveNow(null,(function(e){return e&&e.getModel()})):null},t.prototype.getFilterComponent=function(e){return void 0===e&&(e=!0),this.filterManager.getFilterComponent(this.column,"NO_UI",e)},t.prototype.parentFilterInstance=function(e){var t=this.getFilterComponent();null!=t&&t.then((function(t){e((0,u.s)(t))}))},t.prototype.showParentFilter=function(){var e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.menuFactory.showMenuAfterButtonClick(this.column,e,"floatingFilter","filterMenuTab",["filterMenuTab"])},t.prototype.setupSyncWithFilter=function(){var e=this;if(this.active){var t=function(t){var n=e.comp.getFloatingFilterComp();if(n){var o=e.currentParentModel();n.then((function(e){e&&e.onParentModelChanged(o,t)}))}};this.addManagedListener(this.column,s.V.EVENT_FILTER_CHANGED,t),this.filterManager.isFilterActive(this.column)&&t(null)}},t.prototype.setupWidth=function(){var e=this,t=function(){var t=e.column.getActualWidth()+"px";e.comp.setWidth(t)};this.addManagedListener(this.column,s.V.EVENT_WIDTH_CHANGED,t),t()},m([(0,i.ds)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),m([(0,i.ds)("filterManager")],t.prototype,"filterManager",void 0),m([(0,i.ds)("columnHoverService")],t.prototype,"columnHoverService",void 0),m([(0,i.ds)("gridApi")],t.prototype,"gridApi",void 0),m([(0,i.ds)("menuFactory")],t.prototype,"menuFactory",void 0),m([(0,i.ds)("beans")],t.prototype,"beans",void 0),t}(o.$)},47325:function(e,t,n){n.d(t,{x:function(){return a}});var o=n(72925),r=n(6788),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e){function t(t,n){var o=e.call(this)||this;return o.columns=t,o.element=n,o}return i(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isColumnHoverHighlight()&&this.addMouseHoverListeners()},t.prototype.addMouseHoverListeners=function(){this.addManagedListener(this.element,"mouseout",this.onMouseOut.bind(this)),this.addManagedListener(this.element,"mouseover",this.onMouseOver.bind(this))},t.prototype.onMouseOut=function(){this.columnHoverService.clearMouseOver()},t.prototype.onMouseOver=function(){this.columnHoverService.setMouseOver(this.columns)},s([(0,r.ds)("columnHoverService")],t.prototype,"columnHoverService",void 0),s([r.o7],t.prototype,"postConstruct",null),t}(o.X)},90146:function(e,t,n){n.d(t,{R:function(){return s}});var o=n(89809),r=n(6788),i=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},s=function(){function e(e){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=e}return e.prototype.onDragEnter=function(e){var t=this;if(this.clearColumnsList(),!this.gridOptionsWrapper.isFunctionsReadOnly()){var n=e.dragItem.columns;n&&n.forEach((function(e){e.isPrimary()&&(e.isAnyFunctionActive()||(e.isAllowValue()?t.columnsToAggregate.push(e):e.isAllowRowGroup()?t.columnsToGroup.push(e):e.isAllowPivot()&&t.columnsToPivot.push(e)))}))}},e.prototype.getIconName=function(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?o.WO.ICON_PINNED:o.WO.ICON_MOVE:null},e.prototype.onDragLeave=function(e){this.clearColumnsList()},e.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},e.prototype.onDragging=function(e){},e.prototype.onDragStop=function(e){this.columnsToAggregate.length>0&&this.columnModel.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnModel.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnModel.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")},i([(0,r.ds)("columnModel")],e.prototype,"columnModel",void 0),i([(0,r.ds)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),e}()},31286:function(e,t,n){n.d(t,{L:function(){return p}});var o=n(89809),r=n(6788),i=n(33807),s=n(90146),a=n(16892),u=n(72925),c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},p=function(e){function t(t,n){var o=e.call(this)||this;return o.pinned=t,o.eContainer=n,o}return c(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){switch(e.pinned){case a.Y.PINNED_LEFT:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.leftRowContainerCtrl.getContainerElement()],[t.bottomLeftRowContainerCtrl.getContainerElement()],[t.topLeftRowContainerCtrl.getContainerElement()]];break;case a.Y.PINNED_RIGHT:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.rightRowContainerCtrl.getContainerElement()],[t.bottomRightRowContainerCtrl.getContainerElement()],[t.topRightRowContainerCtrl.getContainerElement()]];break;default:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.centerRowContainerCtrl.getViewportElement()],[t.bottomCenterRowContainerCtrl.getViewportElement()],[t.topCenterRowContainerCtrl.getViewportElement()]]}}))},t.prototype.isInterestedIn=function(e){return e===o.qR.HeaderCell||e===o.qR.ToolPanel&&this.gridOptionsWrapper.isAllowDragFromColumnsToolPanel()},t.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},t.prototype.getContainer=function(){return this.eContainer},t.prototype.init=function(){this.moveColumnFeature=this.createManagedBean(new i.a(this.pinned,this.eContainer)),this.bodyDropPivotTarget=this.createManagedBean(new s.R(this.pinned)),this.dragAndDropService.addDropTarget(this)},t.prototype.getIconName=function(){return this.currentDropListener.getIconName()},t.prototype.isDropColumnInPivotMode=function(e){return this.columnModel.isPivotMode()&&e.dragSource.type===o.qR.ToolPanel},t.prototype.onDragEnter=function(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)},t.prototype.onDragLeave=function(e){this.currentDropListener.onDragLeave(e)},t.prototype.onDragging=function(e){this.currentDropListener.onDragging(e)},t.prototype.onDragStop=function(e){this.currentDropListener.onDragStop(e)},l([(0,r.ds)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),l([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),l([(0,r.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([r.o7],t.prototype,"postConstruct",null),l([r.o7],t.prototype,"init",null),t}(u.X)},33807:function(e,t,n){n.d(t,{a:function(){return c}});var o=n(6788),r=n(16892),i=n(89809),s=n(25644),a=n(24436),u=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(){function e(e,t){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=e,this.eContainer=t,this.centerContainer=!(0,s.exists)(e)}return e.prototype.init=function(){var e=this;this.ctrlsService.whenReady((function(){e.gridBodyCon=e.ctrlsService.getGridBodyCtrl()}))},e.prototype.getIconName=function(){return this.pinned?i.WO.ICON_PINNED:i.WO.ICON_MOVE},e.prototype.onDragEnter=function(e){var t=e.dragItem.columns;if(e.dragSource.type===i.qR.ToolPanel)this.setColumnsVisible(t,!0,"uiColumnDragged");else{var n=e.dragItem.visibleState,o=(t||[]).filter((function(e){return n[e.getId()]}));this.setColumnsVisible(o,!0,"uiColumnDragged")}this.setColumnsPinned(t,this.pinned,"uiColumnDragged"),this.onDragging(e,!0)},e.prototype.onDragLeave=function(e){if(!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()&&!e.fromNudge){var t=e.dragSource.getDragItem().columns;this.setColumnsVisible(t,!1,"uiColumnDragged")}this.ensureIntervalCleared()},e.prototype.setColumnsVisible=function(e,t,n){if(void 0===n&&(n="api"),e){var o=e.filter((function(e){return!e.getColDef().lockVisible}));this.columnModel.setColumnsVisible(o,t,n)}},e.prototype.setColumnsPinned=function(e,t,n){if(void 0===n&&(n="api"),e){var o=e.filter((function(e){return!e.getColDef().lockPinned}));this.columnModel.setColumnsPinned(o,t,n)}},e.prototype.onDragStop=function(){this.ensureIntervalCleared()},e.prototype.normaliseX=function(e){this.gridOptionsWrapper.isEnableRtl()&&(e=this.eContainer.clientWidth-e);return this.centerContainer&&(e+=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft()),e},e.prototype.checkCenterForScrolling=function(e){if(this.centerContainer){var t=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft(),n=t+this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=e<t+50,this.needToMoveLeft=e>n-50):(this.needToMoveLeft=e<t+50,this.needToMoveRight=e>n-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},e.prototype.onDragging=function(e,t){var n=this;if(void 0===t&&(t=!1),this.lastDraggingEvent=e,!(0,s.missing)(e.hDirection)){var o=this.normaliseX(e.x);t||this.checkCenterForScrolling(o);var r=this.normaliseDirection(e.hDirection),i=e.dragSource.type,a=e.dragSource.getDragItem().columns;a=a.filter((function(e){return!e.getColDef().lockPinned||e.getPinned()==n.pinned})),this.attemptMoveColumns(i,a,r,o,t)}},e.prototype.normaliseDirection=function(e){if(!this.gridOptionsWrapper.isEnableRtl())return e;switch(e){case i.Iu.Left:return i.Iu.Right;case i.Iu.Right:return i.Iu.Left;default:console.error("AG Grid: Unknown direction "+e)}},e.prototype.calculateOldIndex=function(e){var t=this.columnModel.getAllGridColumns(),n=(0,a.sortNumerically)(e.map((function(e){return t.indexOf(e)}))),o=n[0];return(0,a.last)(n)-o!==n.length-1?null:o},e.prototype.attemptMoveColumns=function(e,t,n,o,r){var s=n===i.Iu.Left,a=n===i.Iu.Right,u=t.slice();this.columnModel.sortColumnsLikeGridColumns(u);var c=this.calculateValidMoves(u,a,o),l=this.calculateOldIndex(u);if(0!==c.length){var p=c[0],d=null!==l&&!r;if(e==i.qR.HeaderCell&&(d=null!==l),d){if(s&&p>=l)return;if(a&&p<=l)return}for(var h=0;h<c.length;h++){var f=c[h];if(this.columnModel.doesMovePassRules(u,f))return void this.columnModel.moveColumns(u,f,"uiColumnDragged")}}},e.prototype.calculateValidMoves=function(e,t,n){var o=this.gridOptionsWrapper.isSuppressMovableColumns()||e.some((function(e){return e.getColDef().suppressMovable}));if(o)return[];var r,i=this.columnModel.getDisplayedColumns(this.pinned),s=this.columnModel.getAllGridColumns(),u=i.filter((function(t){return(0,a.includes)(e,t)})),c=i.filter((function(t){return!(0,a.includes)(e,t)})),l=s.filter((function(t){return!(0,a.includes)(e,t)})),p=0,d=n;if(t){var h=0;u.forEach((function(e){return h+=e.getActualWidth()})),d-=h}if(d>0){for(var f=0;f<c.length;f++){if((d-=c[f].getActualWidth())<0)break;p++}t&&p++}if(p>0){var g=c[p-1];r=l.indexOf(g)+1}else-1===(r=l.indexOf(c[0]))&&(r=0);var m=[r],v=function(e,t){return e-t};if(t){for(var y=r+1,C=s.length-1;y<=C;)m.push(y),y++;m.sort(v)}else{y=r,C=s.length-1;for(var S=s[y];y<=C&&this.isColumnHidden(i,S);)y++,m.push(y),S=s[y];y=r-1;for(;y>=0;)m.push(y),y--;m.sort(v).reverse()}return m},e.prototype.isColumnHidden=function(e,t){return e.indexOf(t)<0},e.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(i.WO.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(i.WO.ICON_RIGHT,!0))},e.prototype.ensureIntervalCleared=function(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(i.WO.ICON_MOVE))},e.prototype.moveInterval=function(){var e;this.intervalCount++,(e=10+5*this.intervalCount)>100&&(e=100);var t=null,n=this.gridBodyCon.getScrollFeature();if(this.needToMoveLeft?t=n.scrollHorizontally(-e):this.needToMoveRight&&(t=n.scrollHorizontally(e)),0!==t)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;var o=this.lastDraggingEvent.dragItem.columns.filter((function(e){return!e.getColDef().lockPinned}));if(o.length>0&&(this.dragAndDropService.setGhostIcon(i.WO.ICON_PINNED),this.failedMoveAttempts>7)){var s=this.needToMoveLeft?r.Y.PINNED_LEFT:r.Y.PINNED_RIGHT;this.setColumnsPinned(o,s,"uiColumnDragged"),this.dragAndDropService.nudge()}}},u([(0,o.ds)("columnModel")],e.prototype,"columnModel",void 0),u([(0,o.ds)("dragAndDropService")],e.prototype,"dragAndDropService",void 0),u([(0,o.ds)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),u([(0,o.ds)("ctrlsService")],e.prototype,"ctrlsService",void 0),u([o.o7],e.prototype,"init",null),e}()},71231:function(e,t,n){n.d(t,{B:function(){return o},R:function(){return p}});var o,r=n(72925),i=n(6788),s=n(10426),a=n(24436),u=n(8586),c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT"}(o||(o={}));var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.gridBodyCon=t.gridBodyCtrl}))},t.prototype.getHeaderRowCount=function(){var e=this.ctrlsService.getHeaderRowContainerCtrl();return e?e.getRowCount():0},t.prototype.getHeaderRowType=function(e){var t=this.ctrlsService.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)},t.prototype.navigateVertically=function(e,t,n){if(t||(t=this.focusService.getFocusedHeader()),!t)return!1;var r=t.headerRowIndex,i=t.column,s=this.getHeaderRowCount(),a=e===o.UP,c=a?r-1:r+1,l=null,p=!1;c<0&&(c=0,l=i,p=!0),c>=s&&(c=-1);var d=this.getHeaderRowType(r);if(!p){if(d===u.Y.COLUMN_GROUP){var h=i;l=a?i.getParent():h.getDisplayedChildren()[0]}else if(d===u.Y.FLOATING_FILTER)l=i;else{h=i;l=a?h.getParent():h}if(!l)return!1}return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:c,column:l},allowUserOverride:!0,event:n})},t.prototype.navigateHorizontally=function(e,t,n){void 0===t&&(t=!1);var r,i,s=this.focusService.getFocusedHeader();return e===o.LEFT!==this.gridOptionsWrapper.isEnableRtl()?(i="Before",r=this.headerPositionUtils.findHeader(s,i)):(i="After",r=this.headerPositionUtils.findHeader(s,i)),r?this.focusService.focusHeaderPosition({headerPosition:r,direction:i,fromTab:t,allowUserOverride:!0,event:n}):!t||this.focusNextHeaderRow(s,i,n)},t.prototype.focusNextHeaderRow=function(e,t,n){var o,r=e.headerRowIndex,i=null;return"Before"===t?r>0&&(o=r-1,i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"end")):(o=r+1,i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"start")),this.focusService.focusHeaderPosition({headerPosition:i,direction:t,fromTab:!0,allowUserOverride:!0,event:n})},t.prototype.scrollToColumn=function(e,t){if(void 0===t&&(t="After"),!e.getPinned()){var n;if(e instanceof s.o){var o=e.getDisplayedLeafColumns();n="Before"===t?(0,a.last)(o):o[0]}else n=e;this.gridBodyCon.getScrollFeature().ensureColumnVisible(n),this.gridBodyCon.getScrollFeature().horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames()}},l([(0,i.ds)("focusService")],t.prototype,"focusService",void 0),l([(0,i.ds)("headerPositionUtils")],t.prototype,"headerPositionUtils",void 0),l([(0,i.ds)("animationFrameService")],t.prototype,"animationFrameService",void 0),l([(0,i.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([i.o7],t.prototype,"postConstruct",null),t=l([(0,i.dR)("headerNavigationService")],t)}(r.X)},45715:function(e,t,n){n.d(t,{C:function(){return c}});var o=n(72925),r=n(6788),i=n(10426),s=n(8586),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),u=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.findHeader=function(e,t){var n,o,r;if(e.column instanceof i.o?(o="getDisplayedGroup"+t,n=this.columnModel[o](e.column)):(r="getDisplayedCol"+t,n=this.columnModel[r](e.column)),n)return{column:n,headerRowIndex:e.headerRowIndex}},t.prototype.findColAtEdgeForHeaderRow=function(e,t){var n=this.columnModel.getAllDisplayedColumns(),o=n["start"===t?0:n.length-1];if(o){var r=this.ctrlsService.getHeaderRowContainerCtrl(o.getPinned()).getRowType(e);return r==s.Y.COLUMN_GROUP?{headerRowIndex:e,column:this.columnModel.getColumnGroupAtLevel(o,e)}:{headerRowIndex:null==r?-1:e,column:o}}},u([(0,r.ds)("columnModel")],t.prototype,"columnModel",void 0),u([(0,r.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=u([(0,r.dR)("headerPositionUtils")],t)}(o.X)},42286:function(e,t,n){n.d(t,{Q:function(){return a}});var o=n(6788),r=n(72925),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.addResizeBar=function(e){var t=this,n={dragStartPixels:e.dragStartPixels||0,eElement:e.eResizeBar,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this,e),onDragging:this.onDragging.bind(this,e)};this.dragService.addDragSource(n,!0);return function(){return t.dragService.removeDragSource(n)}},t.prototype.onDragStart=function(e,t){this.dragStartX=t.clientX,this.setResizeIcons();var n=t instanceof MouseEvent&&!0===t.shiftKey;e.onResizeStart(n)},t.prototype.setResizeIcons=function(){var e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!0),e.disableUserSelect(!0)},t.prototype.onDragStop=function(e,t){e.onResizeEnd(this.resizeAmount),this.resetIcons()},t.prototype.resetIcons=function(){var e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!1),e.disableUserSelect(!1)},t.prototype.onDragging=function(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)},s([(0,o.ds)("dragService")],t.prototype,"dragService",void 0),s([(0,o.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=s([(0,o.dR)("horizontalResizeService")],t)}(r.X)},36313:function(e,t,n){n.d(t,{z:function(){return l}});var o=n(16892),r=n(6788),i=n(19158),s=n(90967),a=n(17334),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return u(t,e),t.prototype.postConstruct=function(){var e=this,t={addOrRemoveCssClass:function(t,n){return e.addOrRemoveCssClass(t,n)},setHeightAndMinHeight:function(t){e.getGui().style.height=t,e.getGui().style.minHeight=t}};this.createManagedBean(new s.v).setComp(t,this.getGui(),this.getFocusableElement());var n=function(t){e.createManagedBean(t),e.appendChild(t)};n(new a.U(o.Y.PINNED_LEFT)),n(new a.U(null)),n(new a.U(o.Y.PINNED_RIGHT))},t.TEMPLATE='<div class="ag-header" role="presentation"/>',c([r.o7],t.prototype,"postConstruct",null),t}(i.u)},90967:function(e,t,n){n.d(t,{v:function(){return h}});var o=n(40691),r=n(72925),i=n(6788),s=n(20635),a=n(75570),u=n(25644),c=n(12817),l=n(71231),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.setComp=function(e,t,n){this.comp=e,this.eGui=t,this.createManagedBean(new c.G(n,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,s.s.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.onPivotModeChanged(),this.setupHeaderHeight(),this.ctrlsService.registerGridHeaderCtrl(this)},t.prototype.setupHeaderHeight=function(){var e=this.setHeaderHeight.bind(this);e(),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_PIVOT_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_PIVOT_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_FLOATING_FILTERS_HEIGHT,e),this.addManagedListener(this.eventService,s.s.EVENT_DISPLAYED_COLUMNS_CHANGED,e)},t.prototype.setHeaderHeight=function(){var e,t,n,o=this.columnModel,r=this.gridOptionsWrapper,i=0,s=o.getHeaderRowCount();o.hasFloatingFilters()&&(s++,i=1),o.isPivotMode()?(t=r.getPivotGroupHeaderHeight(),n=r.getPivotHeaderHeight()):(t=r.getGroupHeaderHeight(),n=r.getHeaderHeight());var a=s-(1+i);e=i*r.getFloatingFiltersHeight(),e+=a*t;var u=(e+=n)+1+"px";this.comp.setHeightAndMinHeight(u)},t.prototype.onPivotModeChanged=function(){var e=this.columnModel.isPivotMode();this.comp.addOrRemoveCssClass("ag-pivot-on",e),this.comp.addOrRemoveCssClass("ag-pivot-off",!e)},t.prototype.onTabKeyDown=function(e){var t=this.gridOptionsWrapper.isEnableRtl(),n=e.shiftKey!==t?l.B.LEFT:l.B.RIGHT;(this.headerNavigationService.navigateHorizontally(n,!0,e)||this.focusService.focusNextGridCoreContainer(e.shiftKey))&&e.preventDefault()},t.prototype.handleKeyDown=function(e){var t=null;switch(e.key){case o.D.LEFT:t=l.B.LEFT;case o.D.RIGHT:(0,u.exists)(t)||(t=l.B.RIGHT),this.headerNavigationService.navigateHorizontally(t,!1,e);break;case o.D.UP:t=l.B.UP;case o.D.DOWN:(0,u.exists)(t)||(t=l.B.DOWN),this.headerNavigationService.navigateVertically(t,null,e)&&e.preventDefault();break;default:return}},t.prototype.onFocusOut=function(e){var t=this.gridOptionsWrapper.getDocument(),n=e.relatedTarget;!n&&this.eGui.contains(t.activeElement)||this.eGui.contains(n)||this.focusService.clearFocusedHeader()},d([(0,i.ds)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),d([(0,i.ds)("focusService")],t.prototype,"focusService",void 0),d([(0,i.ds)("columnModel")],t.prototype,"columnModel",void 0),d([(0,i.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),t}(r.X)},8586:function(e,t,n){n.d(t,{H:function(){return S},Y:function(){return o}});var o,r=n(6788),i=n(68316),s=n(79045),a=n(97998),u=n(19158),c=n(52442),l=n(12734),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},h=function(e){function t(n){var o=e.call(this,t.TEMPLATE,n)||this;return o.headerCompVersion=0,o.column=n.getColumnGroupChild(),o.pinned=n.getPinned(),o}return p(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),n=function(e,n,o){var r=o||t;null!=n&&""!=n?r.setAttribute(e,n):r.removeAttribute(e)},o={setWidth:function(e){return t.style.width=e},addOrRemoveCssClass:function(t,n){return e.addOrRemoveCssClass(t,n)},setColId:function(e){return n("col-id",e)},setTitle:function(e){return n("title",e)},setAriaDescription:function(e){return(0,i.setAriaDescription)(t,e)},setAriaSort:function(e){return e?(0,i.setAriaSort)(t,e):(0,i.removeAriaSort)(t)},setUserCompDetails:function(t){return e.setUserCompDetails(t)},getUserCompInstance:function(){return e.headerComp}};this.ctrl.setComp(o,this.getGui(),this.eResize);var r=this.ctrl.getSelectAllGui();this.eResize.insertAdjacentElement("afterend",r)},t.prototype.destroyHeaderComp=function(){this.headerComp&&(this.getGui().removeChild(this.headerCompGui),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)},t.prototype.setUserCompDetails=function(e){var t=this;this.headerCompVersion++;var n=this.headerCompVersion;e.newAgStackInstance().then((function(e){return t.afterCompCreated(n,e)}))},t.prototype.afterCompCreated=function(e,t){e==this.headerCompVersion&&this.isAlive()?(this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.getGui().appendChild(this.headerCompGui),this.ctrl.setDragSource(this.headerCompGui)):this.destroyBean(t)},t.TEMPLATE='<div class="ag-header-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n </div>',d([(0,c.P)("eResize")],t.prototype,"eResize",void 0),d([r.o7],t.prototype,"postConstruct",null),d([r.y],t.prototype,"destroyHeaderComp",null),t}(l.v),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},m=function(e){function t(n){return e.call(this,t.TEMPLATE,n)||this}return f(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),n=function(e,n){return void 0!=n?t.setAttribute(e,n):t.removeAttribute(e)},o={addOrRemoveCssClass:function(t,n){return e.addOrRemoveCssClass(t,n)},addOrRemoveResizableCssClass:function(t,n){return e.eResize.classList.toggle(t,n)},setWidth:function(e){return t.style.width=e},setColId:function(e){return t.setAttribute("col-id",e)},setAriaExpanded:function(e){return n("aria-expanded",e)},setTitle:function(e){return n("title",e)},setUserCompDetails:function(t){return e.setUserCompDetails(t)}};this.ctrl.setComp(o,t,this.eResize)},t.prototype.setUserCompDetails=function(e){var t=this;e.newAgStackInstance().then((function(e){return t.afterHeaderCompCreated(e)}))},t.prototype.afterHeaderCompCreated=function(e){var t=this,n=function(){return t.destroyBean(e)};this.isAlive()?(this.getGui().appendChild(e.getGui()),this.addDestroyFunc(n),this.ctrl.setDragSource(e.getGui())):n()},t.TEMPLATE='<div class="ag-header-group-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n </div>',g([(0,r.ds)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),g([(0,c.P)("eResize")],t.prototype,"eResize",void 0),g([r.o7],t.prototype,"postConstruct",null),t}(l.v),v=n(44080),y=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e.COLUMN_GROUP="group",e.COLUMN="column",e.FLOATING_FILTER="filter"}(o||(o={}));var S=function(e){function t(t){var n=e.call(this)||this;n.headerComps={};var r=t.getType()==o.COLUMN_GROUP?"ag-header-row-column-group":t.getType()==o.FLOATING_FILTER?"ag-header-row-column-filter":"ag-header-row-column";return n.setTemplate('<div class="ag-header-row '+r+'" role="row"></div>'),n.ctrl=t,n}return y(t,e),t.prototype.init=function(){var e=this,t={setTransform:function(t){return e.getGui().style.transform=t},setHeight:function(t){return e.getGui().style.height=t},setTop:function(t){return e.getGui().style.top=t},setHeaderCtrls:function(t){return e.setHeaderCtrls(t)},setWidth:function(t){return e.getGui().style.width=t},setAriaRowIndex:function(t){return(0,i.setAriaRowIndex)(e.getGui(),t)}};this.ctrl.setComp(t)},t.prototype.destroyHeaderCtrls=function(){this.setHeaderCtrls([])},t.prototype.setHeaderCtrls=function(e){var t=this;if(this.isAlive()){var n=this.headerComps;if(this.headerComps={},e.forEach((function(e){var o=e.getInstanceId(),r=n[o];delete n[o],null==r&&(r=t.createHeaderComp(e),t.getGui().appendChild(r.getGui())),t.headerComps[o]=r})),(0,a.iterateObject)(n,(function(e,n){t.getGui().removeChild(n.getGui()),t.destroyBean(n)})),this.gridOptionsWrapper.isEnsureDomOrder()){var o=(0,a.getAllValuesInObject)(this.headerComps);o.sort((function(e,t){return e.getCtrl().getColumnGroupChild().getLeft()-t.getCtrl().getColumnGroupChild().getLeft()}));var r=o.map((function(e){return e.getGui()}));(0,s.setDomChildOrder)(this.getGui(),r)}}},t.prototype.createHeaderComp=function(e){var t;switch(this.ctrl.getType()){case o.COLUMN_GROUP:t=new m(e);break;case o.FLOATING_FILTER:t=new v.r(e);break;default:t=new h(e)}return this.createBean(t),t.setParentComponent(this),t},C([r.o7],t.prototype,"init",null),C([r.y],t.prototype,"destroyHeaderCtrls",null),t}(u.u)},6206:function(e,t,n){n.d(t,{f:function(){return y}});var o=n(16892),r=n(72925),i=n(6788),s=n(20635),a=n(75570),u=n(59565),c=n(97998),l=n(47006),p=n(87847),d=n(45535),h=n(8586),f=n(25644),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=0,y=function(e){function t(t,n,o){var r=e.call(this)||this;return r.instanceId=v++,r.headerCellCtrls={},r.rowIndex=t,r.pinned=n,r.type=o,r}return g(t,e),t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.setComp=function(e){this.comp=e,this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addEventListeners(),(0,u.isBrowserSafari)()&&this.comp.setTransform("translateZ(0)"),e.setAriaRowIndex(this.rowIndex+1)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,s.s.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_DOM_LAYOUT,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.s.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.s.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_PIVOT_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_FLOATING_FILTERS_HEIGHT,this.onRowHeightChanged.bind(this))},t.prototype.getHeaderCellCtrl=function(e){return(0,f.values)(this.headerCellCtrls).find((function(t){return t.getColumnGroupChild()===e}))},t.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth()},t.prototype.getType=function(){return this.type},t.prototype.onColumnResized=function(){this.setWidth()},t.prototype.setWidth=function(){var e=this.getWidthForRow();this.comp.setWidth(e+"px")},t.prototype.getWidthForRow=function(){return this.gridOptionsWrapper.getDomLayout()===o.Y.DOM_LAYOUT_PRINT?null!=this.pinned?0:this.columnModel.getContainerWidth(o.Y.PINNED_RIGHT)+this.columnModel.getContainerWidth(o.Y.PINNED_LEFT)+this.columnModel.getContainerWidth(null):this.columnModel.getContainerWidth(this.pinned)},t.prototype.onRowHeightChanged=function(){var e,t,n=this.columnModel.getHeaderRowCount(),o=[],r=0;this.columnModel.hasFloatingFilters()&&(n++,r=1),this.columnModel.isPivotMode()?(e=this.gridOptionsWrapper.getPivotGroupHeaderHeight(),t=this.gridOptionsWrapper.getPivotHeaderHeight()):(e=this.gridOptionsWrapper.getGroupHeaderHeight(),t=this.gridOptionsWrapper.getHeaderHeight());for(var i=n-(1+r),s=0;s<i;s++)o.push(e);o.push(t);for(s=0;s<r;s++)o.push(this.gridOptionsWrapper.getFloatingFiltersHeight());var a=0;for(s=0;s<this.rowIndex;s++)a+=o[s];this.comp.setTop(a+"px"),this.comp.setHeight(o[this.rowIndex]+"px")},t.prototype.getPinned=function(){return this.pinned},t.prototype.getRowIndex=function(){return this.rowIndex},t.prototype.onVirtualColumnsChanged=function(){var e=this,t=this.headerCellCtrls;this.headerCellCtrls={},this.getColumnsInViewport().forEach((function(n){if(!n.isEmptyGroup()){var o=n.getUniqueId(),r=t[o];if(delete t[o],r&&r.getColumnGroupChild()!=n&&(e.destroyBean(r),r=void 0),null==r)switch(e.type){case h.Y.FLOATING_FILTER:r=e.createBean(new l.H(n,e));break;case h.Y.COLUMN_GROUP:r=e.createBean(new d.K(n,e));break;default:r=e.createBean(new p.L(n,e))}e.headerCellCtrls[o]=r}}));(0,c.iterateObject)(t,(function(t,n){var o;(o=n,!!e.focusService.isHeaderWrapperFocused(o)&&e.columnModel.isDisplayed(o.getColumnGroupChild()))?e.headerCellCtrls[t]=n:e.destroyBean(n)}));var n=(0,c.getAllValuesInObject)(this.headerCellCtrls);this.comp.setHeaderCtrls(n)},t.prototype.destroyCtrls=function(){var e=this;(0,c.iterateObject)(this.headerCellCtrls,(function(t,n){e.destroyBean(n)})),this.headerCellCtrls={}},t.prototype.getColumnsInViewport=function(){return this.gridOptionsWrapper.getDomLayout()===o.Y.DOM_LAYOUT_PRINT?this.getColumnsInViewportPrintLayout():this.getColumnsInViewportNormalLayout()},t.prototype.getColumnsInViewportPrintLayout=function(){var e=this;if(null!=this.pinned)return[];var t=[],n=this.getActualDepth();return[o.Y.PINNED_LEFT,null,o.Y.PINNED_RIGHT].forEach((function(o){var r=e.columnModel.getVirtualHeaderGroupRow(o,n);t=t.concat(r)})),t},t.prototype.getActualDepth=function(){return this.type==h.Y.FLOATING_FILTER?this.rowIndex-1:this.rowIndex},t.prototype.getColumnsInViewportNormalLayout=function(){return this.columnModel.getVirtualHeaderGroupRow(this.pinned,this.getActualDepth())},t.prototype.focusHeader=function(e,t){var n=(0,c.getAllValuesInObject)(this.headerCellCtrls).find((function(t){return t.getColumnGroupChild()==e}));return!!n&&(n.focus(t),!0)},m([(0,i.ds)("columnModel")],t.prototype,"columnModel",void 0),m([(0,i.ds)("focusService")],t.prototype,"focusService",void 0),m([i.y],t.prototype,"destroyCtrls",null),t}(r.X)},17334:function(e,t,n){n.d(t,{U:function(){return h}});var o=n(16892),r=n(6788),i=n(79045),s=n(97998),a=n(19158),u=n(52442),c=n(8586),l=n(23932),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},h=function(e){function t(t){var n=e.call(this)||this;return n.headerRowComps={},n.rowCompsList=[],n.pinned=t,n}return p(t,e),t.prototype.init=function(){var e=this;this.selectAndSetTemplate();var t={addOrRemoveCssClass:function(t,n){return e.addOrRemoveCssClass(t,n)},setCtrls:function(t){return e.setCtrls(t)},setCenterWidth:function(t){return e.eCenterContainer.style.width=t},setContainerTransform:function(t){return e.eCenterContainer.style.transform=t},setPinnedContainerWidth:function(t){var n=e.getGui();n.style.width=t,n.style.maxWidth=t,n.style.minWidth=t}};this.createManagedBean(new l.O(this.pinned)).setComp(t,this.getGui())},t.prototype.selectAndSetTemplate=function(){var e=this.pinned==o.Y.PINNED_LEFT,n=this.pinned==o.Y.PINNED_RIGHT,r=e?t.PINNED_LEFT_TEMPLATE:n?t.PINNED_RIGHT_TEMPLATE:t.CENTER_TEMPLATE;this.setTemplate(r),this.eRowContainer=this.eCenterContainer?this.eCenterContainer:this.getGui()},t.prototype.destroyRowComps=function(){this.setCtrls([])},t.prototype.destroyRowComp=function(e){this.destroyBean(e),this.eRowContainer.removeChild(e.getGui())},t.prototype.setCtrls=function(e){var t,n=this,o=this.headerRowComps;this.headerRowComps={},this.rowCompsList=[];e.forEach((function(e){var r=e.getInstanceId(),s=o[r];delete o[r];var a=s||n.createBean(new c.H(e));n.headerRowComps[r]=a,n.rowCompsList.push(a),function(e){var o=e.getGui();o.parentElement!=n.eRowContainer&&n.eRowContainer.appendChild(o),t&&(0,i.ensureDomOrder)(n.eRowContainer,o,t),t=o}(a)})),(0,s.getAllValuesInObject)(o).forEach((function(e){return n.destroyRowComp(e)}))},t.PINNED_LEFT_TEMPLATE='<div class="ag-pinned-left-header" role="presentation"/>',t.PINNED_RIGHT_TEMPLATE='<div class="ag-pinned-right-header" role="presentation"/>',t.CENTER_TEMPLATE='<div class="ag-header-viewport" role="presentation">\n <div class="ag-header-container" ref="eCenterContainer" role="rowgroup"></div>\n </div>',d([(0,u.P)("eCenterContainer")],t.prototype,"eCenterContainer",void 0),d([r.o7],t.prototype,"init",null),d([r.y],t.prototype,"destroyRowComps",null),t}(a.u)},23932:function(e,t,n){n.d(t,{O:function(){return v}});var o=n(16892),r=n(72925),i=n(6788),s=n(85302),a=n(20635),u=n(11088),c=n(46599),l=n(31286),p=n(8586),d=n(6206),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},g=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(a){r={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},m=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e},v=function(e){function t(t){var n=e.call(this)||this;return n.groupsRowCtrls=[],n.pinned=t,n}return h(t,e),t.prototype.setComp=function(e,t){this.comp=e,this.setupCenterWidth(),this.setupPinnedWidth(),this.setupDragAndDrop(t),this.addManagedListener(this.eventService,a.s.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.ctrlsService.registerHeaderContainer(this,this.pinned),this.columnModel.isReady()&&this.refresh()},t.prototype.setupDragAndDrop=function(e){var t=new l.L(this.pinned,e);this.createManagedBean(t)},t.prototype.refresh=function(e){var t=this;void 0===e&&(e=!1);var n=new c.RI,o=this.focusService.getFocusHeaderToUseAfterRefresh();!function(){var e=t.columnModel.getHeaderRowCount()-1;t.groupsRowCtrls=t.destroyBeans(t.groupsRowCtrls);for(var o=0;o<e;o++){var r=t.createBean(new d.f(n.next(),t.pinned,p.Y.COLUMN_GROUP));t.groupsRowCtrls.push(r)}}(),function(){var o=n.next();(null==t.columnsRowCtrl||!e||t.columnsRowCtrl.getRowIndex()!==o)&&(t.destroyBean(t.columnsRowCtrl),t.columnsRowCtrl=t.createBean(new d.f(o,t.pinned,p.Y.COLUMN)))}(),function(){var o=function(){t.filtersRowCtrl=t.destroyBean(t.filtersRowCtrl)};if(t.columnModel.hasFloatingFilters()){var r=n.next();if(t.filtersRowCtrl){var i=t.filtersRowCtrl.getRowIndex()!==r;e&&!i||o()}t.filtersRowCtrl||(t.filtersRowCtrl=t.createBean(new d.f(r,t.pinned,p.Y.FLOATING_FILTER)))}else o()}();var r=this.getAllCtrls();this.comp.setCtrls(r),this.restoreFocusOnHeader(o)},t.prototype.restoreFocusOnHeader=function(e){null!=e&&e.column.getPinned()==this.pinned&&this.focusService.focusHeaderPosition({headerPosition:e})},t.prototype.getAllCtrls=function(){var e=m(this.groupsRowCtrls,[this.columnsRowCtrl]);return this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e},t.prototype.onGridColumnsChanged=function(){this.refresh(!0)},t.prototype.setupCenterWidth=function(){var e=this;null==this.pinned&&this.createManagedBean(new u.c((function(t){return e.comp.setCenterWidth(t+"px")})))},t.prototype.setHorizontalScroll=function(e){this.comp.setContainerTransform("translateX("+e+"px)")},t.prototype.setupPinnedWidth=function(){var e=this;if(null!=this.pinned){var t=this.pinned===o.Y.PINNED_LEFT,n=this.pinned===o.Y.PINNED_RIGHT,r=function(){var o=t?e.pinnedWidthService.getPinnedLeftWidth():e.pinnedWidthService.getPinnedRightWidth();if(null!=o){var r=0==o,i=e.gridOptionsWrapper.isEnableRtl(),s=e.gridOptionsWrapper.getScrollbarWidth(),a=e.scrollVisibleService.isVerticalScrollShowing()&&(i&&t||!i&&n)?o+s:o;e.comp.setPinnedContainerWidth(a+"px"),e.comp.addOrRemoveCssClass("ag-hidden",r)}};this.addManagedListener(this.eventService,a.s.EVENT_LEFT_PINNED_WIDTH_CHANGED,r),this.addManagedListener(this.eventService,a.s.EVENT_RIGHT_PINNED_WIDTH_CHANGED,r),this.addManagedListener(this.eventService,a.s.EVENT_SCROLL_VISIBILITY_CHANGED,r),this.addManagedListener(this.eventService,a.s.EVENT_SCROLLBAR_WIDTH_CHANGED,r)}},t.prototype.getHeaderCtrlForColumn=function(e){if(e instanceof s.V){if(!this.columnsRowCtrl)return;return this.columnsRowCtrl.getHeaderCellCtrl(e)}if(0!==this.groupsRowCtrls.length)for(var t=0;t<this.groupsRowCtrls.length;t++){var n=this.groupsRowCtrls[t].getHeaderCellCtrl(e);if(n)return n}},t.prototype.getHtmlElementForColumnHeader=function(e){var t=this.getHeaderCtrlForColumn(e);return t?t.getGui():null},t.prototype.getRowType=function(e){var t=this.getAllCtrls()[e];return t?t.getType():void 0},t.prototype.focusHeader=function(e,t,n){var o=this.getAllCtrls()[e];return!!o&&o.focusHeader(t,n)},t.prototype.getRowCount=function(){return this.getAllCtrls().length},f([(0,i.ds)("ctrlsService")],t.prototype,"ctrlsService",void 0),f([(0,i.ds)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),f([(0,i.ds)("pinnedWidthService")],t.prototype,"pinnedWidthService",void 0),f([(0,i.ds)("columnModel")],t.prototype,"columnModel",void 0),f([(0,i.ds)("focusService")],t.prototype,"focusService",void 0),t}(r.X)},71343:function(e,t,n){var o,r;n.d(t,{L:function(){return o},O:function(){return r}}),function(e){e[e.FILL=0]="FILL",e[e.RANGE=1]="RANGE"}(o||(o={})),function(e){e[e.VALUE=0]="VALUE",e[e.DIMENSION=1]="DIMENSION"}(r||(r={}))},24242:function(e,t,n){var o;n.d(t,{z:function(){return o}}),function(e){e.EVERYTHING="group",e.FILTER="filter",e.SORT="sort",e.MAP="map",e.AGGREGATE="aggregate",e.FILTER_AGGREGATES="filter_aggregates",e.PIVOT="pivot",e.NOTHING="nothing"}(o||(o={}))},33025:function(e,t,n){var o;n.d(t,{F:function(){return o}}),function(e){e[e.SINGLE_SHEET=0]="SINGLE_SHEET",e[e.MULTI_SHEET=1]="MULTI_SHEET"}(o||(o={}))},36691:function(e,t,n){n.d(t,{P:function(){return u},V:function(){return c}});var o=n(6788),r=n(72925),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e,t){return function(n,o){t(n,o,e)}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setBeans=function(e){this.logging=e.isDebug()},t.prototype.create=function(e){return new c(e,this.isLogging.bind(this))},t.prototype.isLogging=function(){return this.logging},s([a(0,(0,o.Vf)("gridOptionsWrapper"))],t.prototype,"setBeans",null),t=s([(0,o.dR)("loggerFactory")],t)}(r.X),c=function(){function e(e,t){this.name=e,this.isLoggingFunc=t}return e.prototype.isLogging=function(){return this.isLoggingFunc()},e.prototype.log=function(e){this.isLoggingFunc()&&console.log("AG Grid."+this.name+": "+e)},e}()},96368:function(e,t,n){n.r(t),n.d(t,{AbstractHeaderCellCtrl:function(){return J.$},AgAbstractField:function(){return Ue.J},AgAngleSelect:function(){return tt.w},AgCheckbox:function(){return Ke.U},AgColorPicker:function(){return nt.o},AgDialog:function(){return at.f},AgGroupComponent:function(){return ot.P},AgInputNumberField:function(){return $e.S},AgInputRange:function(){return Ze.y},AgInputTextArea:function(){return Qe.v},AgInputTextField:function(){return qe.s},AgMenuItemComponent:function(){return rt.y},AgMenuList:function(){return it.i},AgMenuPanel:function(){return st.q},AgPanel:function(){return ut.L},AgPromise:function(){return Nt.oY},AgPromiseStatus:function(){return Nt.SE},AgRadioButton:function(){return Ye.O},AgSelect:function(){return Je.J},AgSlider:function(){return et.Y},AgStackComponentsRegistry:function(){return p.y},AgToggleButton:function(){return Xe.b},AlignedGridsService:function(){return Ct.T},AnimateShowChangeCellRenderer:function(){return De.Y},AnimateSlideCellRenderer:function(){return Re.k},AnimationFrameService:function(){return ge.h},AutoScrollService:function(){return mt.M},AutoWidthCalculator:function(){return _e.Q},Autowired:function(){return m.ds},BarColumnLabelPlacement:function(){return Ne},BaseComponentWrapper:function(){return Yt.C},Bean:function(){return m.dR},BeanStub:function(){return g.X},Beans:function(){return Ee.M},BodyDropPivotTarget:function(){return z.R},BodyDropTarget:function(){return j.L},CellComp:function(){return Te.e},CellCtrl:function(){return Ie.w},CellNavigationService:function(){return yt.a},CellPositionUtils:function(){return Bt.H},CellRangeType:function(){return gt.O},ChangedPath:function(){return We.k},CheckboxSelectionComponent:function(){return Me.T},ClientSideRowModelSteps:function(){return ze.z},ColDefUtil:function(){return d.s},Color:function(){return Nt.Q1},Column:function(){return O.V},ColumnApi:function(){return Kt.j},ColumnFactory:function(){return r.t},ColumnGroup:function(){return E.o},ColumnKeyCreator:function(){return s.a},ColumnModel:function(){return i.K},ColumnUtils:function(){return a.A},Component:function(){return ce.u},ComponentUtil:function(){return l.k},Constants:function(){return St.Y},Context:function(){return m.ob},CssClassApplier:function(){return k.P},CssClassManager:function(){return ce.h},CtrlsService:function(){return Mt.G},CustomTooltipFeature:function(){return qt.H},DateFilter:function(){return T.Z},DisplayedGroupCreator:function(){return u.H},DragAndDropService:function(){return C.WO},DragService:function(){return S.a},DragSourceType:function(){return C.qR},Environment:function(){return Xt.O},EventService:function(){return Pt.U},Events:function(){return Dt.s},ExcelFactoryMode:function(){return y.F},ExpressionService:function(){return xt.k},FilterManager:function(){return b.q},FloatingFilterMapper:function(){return G.a},FocusService:function(){return Rt.c},Grid:function(){return Ot.x},GridApi:function(){return Et.f},GridBodyComp:function(){return F.I},GridBodyCtrl:function(){return H.m2},GridComp:function(){return Tt.q},GridCoreCreator:function(){return Ot.U},GridCtrl:function(){return It.s},GridHeaderComp:function(){return K.z},GridHeaderCtrl:function(){return Y.v},GridOptionsWrapper:function(){return At.a},GroupCellRenderer:function(){return be.H},GroupCellRendererCtrl:function(){return Ae.i},GroupInstanceIdCreator:function(){return c.u},HeaderCellCtrl:function(){return Q.L},HeaderFilterCellComp:function(){return L.r},HeaderFilterCellCtrl:function(){return $.H},HeaderGroupCellCtrl:function(){return Z.K},HeaderNavigationDirection:function(){return kt.B},HeaderNavigationService:function(){return kt.R},HeaderPositionUtils:function(){return jt.C},HeaderRowComp:function(){return X.H},HeaderRowContainerComp:function(){return U.U},HeaderRowContainerCtrl:function(){return ee.O},HeaderRowCtrl:function(){return q.f},HeaderRowType:function(){return X.Y},HorizontalDirection:function(){return C.Iu},HorizontalResizeService:function(){return te.Q},KeyCode:function(){return ue.D},LargeTextCellEditor:function(){return me.G},LayoutCssClasses:function(){return ke.g},Logger:function(){return Lt.V},LoggerFactory:function(){return Lt.P},ManagedFocusFeature:function(){return re.G},ModuleNames:function(){return Qt.z},ModuleRegistry:function(){return $t.s},MouseEventService:function(){return W.R},MoveColumnFeature:function(){return ne.a},NavigationService:function(){return V.o},NumberFilter:function(){return _.y},NumberSequence:function(){return Nt.RI},Optional:function(){return m.Xx},PaginationProxy:function(){return Be.T},PinnedRowModel:function(){return He.a},PopupComponent:function(){return pt.y},PopupEditorWrapper:function(){return ve.z},PopupSelectCellEditor:function(){return ye.u},PopupService:function(){return dt.O},PopupTextCellEditor:function(){return Ce.f},PositionableFeature:function(){return we.q},PostConstruct:function(){return m.o7},PreConstruct:function(){return m.fK},PreDestroy:function(){return m.y},PropertyKeys:function(){return Ut.K},ProvidedColumnGroup:function(){return D.D},ProvidedFilter:function(){return A.Q},Qualifier:function(){return m.Vf},QuerySelector:function(){return v.y},RefSelector:function(){return v.P},ResizeObserverService:function(){return fe.k},RowAnimationCssClasses:function(){return H.IG},RowContainerComp:function(){return x.B},RowContainerCtrl:function(){return B.Rl},RowContainerName:function(){return B.lo},RowContainerType:function(){return B.uv},RowCtrl:function(){return Le.C},RowHighlightPosition:function(){return R.m},RowNode:function(){return R.T},RowNodeBlock:function(){return Ve.i},RowNodeBlockLoader:function(){return xe.R},RowNodeSorter:function(){return _t.m},RowPositionUtils:function(){return zt.H},RowRenderer:function(){return Ge.k},ScalarFilter:function(){return w.T},ScrollVisibleService:function(){return N.f},SelectCellEditor:function(){return Se.e},SelectableService:function(){return wt.K},SelectionHandleType:function(){return gt.L},SelectionService:function(){return Gt.A},ServerSideTransactionResultStatus:function(){return o},SetLeftFeature:function(){return Pe.u},SimpleFilter:function(){return P.P},SortController:function(){return Ft.x},StandardMenuFactory:function(){return oe.P},StylingService:function(){return je.E},TabGuardComp:function(){return ct.a},TabGuardCtrl:function(){return lt.U},TabbedLayout:function(){return de},TemplateService:function(){return Ht.I},TextCellEditor:function(){return Oe.z},TextFilter:function(){return M.U},TextFloatingFilter:function(){return I.U},Timer:function(){return Nt.M4},TouchListener:function(){return ht.M},UserComponentFactory:function(){return f.x},UserComponentRegistry:function(){return h.u},ValueCache:function(){return Vt.Y},ValueFormatterService:function(){return Fe.R},ValueService:function(){return Wt.b},VanillaFrameworkOverrides:function(){return vt.p},VerticalDirection:function(){return C.mq},VirtualList:function(){return ft.w},_:function(){return Nt._},defaultGroupComparator:function(){return bt.Z},getRowContainerTypeForName:function(){return B.CS},simpleHttpRequest:function(){return he.C},stringToArray:function(){return Nt.Gn}});var o,r=n(50151),i=n(63176),s=n(31004),a=n(55064),u=n(24937),c=n(39760),l=n(26495),p=n(86515),d=n(22695),h=n(94870),f=n(84879),g=n(72925),m=n(6788),v=n(52442),y=n(33025),C=n(89809),S=n(8763),O=n(85302),E=n(10426),D=n(81027),R=n(79659),b=n(83255),A=n(19124),P=n(1526),w=n(55760),_=n(42273),M=n(15461),T=n(40259),I=n(7823),L=n(44080),G=n(27508),F=n(10308),H=n(68211),N=n(52255),W=n(54403),V=n(76254),x=n(35199),B=n(72129),z=n(90146),j=n(31286),k=n(79545),U=n(17334),K=n(36313),Y=n(90967),X=n(8586),q=n(6206),Q=n(87847),$=n(47006),Z=n(45535),J=n(44916),ee=n(23932),te=n(42286),ne=n(33807),oe=n(22484),re=n(12817),ie=n(79045),se=n(68316),ae=n(19837),ue=n(40691),ce=n(19158),le=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),pe=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},de=function(e){function t(n){var o=e.call(this,t.getTemplate(n.cssClass))||this;return o.items=[],o.tabbedItemScrollMap=new Map,o.params=n,n.items&&n.items.forEach((function(e){return o.addItem(e)})),o}return le(t,e),t.prototype.postConstruct=function(){this.createManagedBean(new re.G(this.getFocusableElement(),{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this)}))},t.getTemplate=function(e){return'<div class="ag-tabs '+e+'">\n <div ref="eHeader" role="tablist" class="ag-tabs-header '+(e?e+"-header":"")+'"></div>\n <div ref="eBody" role="presentation" class="ag-tabs-body '+(e?e+"-body":"")+'"></div>\n </div>'},t.prototype.handleKeyDown=function(e){var t=this.gridOptionsWrapper.getDocument();switch(e.key){case ue.D.RIGHT:case ue.D.LEFT:if(!this.eHeader.contains(t.activeElement))return;var n=this.items.indexOf(this.activeItem),o=e.key===ue.D.RIGHT?Math.min(n+1,this.items.length-1):Math.max(n-1,0);if(n===o)return;e.preventDefault();var r=this.items[o];this.showItemWrapper(r),r.eHeaderButton.focus();break;case ue.D.UP:case ue.D.DOWN:e.stopPropagation()}},t.prototype.onTabKeyDown=function(e){if(!e.defaultPrevented){var t=this,n=t.focusService,o=t.eHeader,r=t.eBody,i=t.activeItem,s=this.gridOptionsWrapper.getDocument().activeElement;if(e.preventDefault(),o.contains(s))n.focusInto(r,e.shiftKey);else if(n.isFocusUnderManagedComponent(r))i.eHeaderButton.focus();else{var a=n.findNextFocusableElement(r,!1,e.shiftKey);a?a.focus():i.eHeaderButton.focus()}}},t.prototype.setAfterAttachedParams=function(e){this.afterAttachedParams=e},t.prototype.showFirstItem=function(){this.items.length>0&&this.showItemWrapper(this.items[0])},t.prototype.addItem=function(e){var t=document.createElement("span");(0,se.setAriaRole)(t,"tab"),t.setAttribute("tabIndex","-1"),t.appendChild(e.title),t.classList.add("ag-tab"),this.eHeader.appendChild(t),(0,se.setAriaLabel)(t,e.titleLabel);var n={tabbedItem:e,eHeaderButton:t};this.items.push(n),t.addEventListener("click",this.showItemWrapper.bind(this,n))},t.prototype.showItem=function(e){var t=this.items.find((function(t){return t.tabbedItem===e}));t&&this.showItemWrapper(t)},t.prototype.showItemWrapper=function(e){var t=this,n=e.tabbedItem,o=e.eHeaderButton;this.params.onItemClicked&&this.params.onItemClicked({item:n}),this.activeItem!==e?(this.lastScrollListener&&(this.lastScrollListener=this.lastScrollListener()),(0,ie.clearElement)(this.eBody),n.bodyPromise.then((function(e){t.eBody.appendChild(e);var o=!t.focusService.isKeyboardMode();if(t.focusService.focusInto(t.eBody,!1,o),n.afterAttachedCallback&&n.afterAttachedCallback(t.afterAttachedParams),t.params.keepScrollPosition){var r=n.getScrollableContainer&&n.getScrollableContainer()||e;t.lastScrollListener=t.addManagedListener(r,"scroll",(function(){t.tabbedItemScrollMap.set(n.name,r.scrollTop)}));var i=t.tabbedItemScrollMap.get(n.name);void 0!==i&&setTimeout((function(){r.scrollTop=i}),0)}})),this.activeItem&&this.activeItem.eHeaderButton.classList.remove("ag-tab-selected"),o.classList.add("ag-tab-selected"),this.activeItem=e):(0,ae.callIfPresent)(this.params.onActiveItemClicked)},pe([(0,m.ds)("focusService")],t.prototype,"focusService",void 0),pe([(0,v.P)("eHeader")],t.prototype,"eHeader",void 0),pe([(0,v.P)("eBody")],t.prototype,"eBody",void 0),pe([m.o7],t.prototype,"postConstruct",null),t}(ce.u),he=n(5463),fe=n(9321),ge=n(44734),me=n(41612),ve=n(60371),ye=n(57394),Ce=n(98349),Se=n(99512),Oe=n(21835),Ee=n(43187),De=n(8022),Re=n(16344),be=n(59991),Ae=n(34442),Pe=n(19057),we=n(62101),_e=n(22725),Me=n(85526),Te=n(57438),Ie=n(60385),Le=n(38338),Ge=n(83347),Fe=n(58372),He=n(52700);!function(e){e.Applied="Applied",e.StoreNotFound="StoreNotFound",e.StoreLoading="StoreLoading",e.StoreWaitingToLoad="StoreWaitingToLoad",e.StoreLoadingFailed="StoreLoadingFailed",e.StoreWrongType="StoreWrongType",e.Cancelled="Cancelled"}(o||(o={}));var Ne,We=n(69882),Ve=n(64349),xe=n(92406),Be=n(66252),ze=n(24242),je=n(39453),ke=n(76962),Ue=n(72271),Ke=n(26064),Ye=n(34154),Xe=n(67001),qe=n(45112),Qe=n(22255),$e=n(94658),Ze=n(74476),Je=n(39449),et=n(29104),tt=n(3158),nt=n(49919),ot=n(8755),rt=n(21386),it=n(34382),st=n(72394),at=n(49129),ut=n(86963),ct=n(63806),lt=n(85127),pt=n(96964),dt=n(59936),ht=n(70326),ft=n(81858),gt=n(71343),mt=n(45662),vt=n(47393),yt=n(47326),Ct=n(28163),St=n(16892),Ot=n(32799),Et=n(35895),Dt=n(20635),Rt=n(3968),bt=n(89346),At=n(75570),Pt=n(40432),wt=n(62694),_t=n(8990),Mt=n(13358),Tt=n(96188),It=n(35594),Lt=n(36691),Gt=n(60574),Ft=n(25691),Ht=n(50762),Nt=n(46599),Wt=n(85938),Vt=n(14239),xt=n(53641),Bt=n(65032),zt=n(432),jt=n(45715),kt=n(71231),Ut=n(40674),Kt=n(11901),Yt=n(32817),Xt=n(47978),qt=n(78913);!function(e){e.InsideBase="insideBase",e.InsideEnd="insideEnd",e.Center="center",e.OutsideEnd="outsideEnd"}(Ne||(Ne={}));var Qt=n(94189),$t=n(42614),Zt=(n(88114),"undefined"===typeof n.g?{}:n.g);Zt.HTMLElement="undefined"===typeof HTMLElement?{}:HTMLElement,Zt.HTMLButtonElement="undefined"===typeof HTMLButtonElement?{}:HTMLButtonElement,Zt.HTMLSelectElement="undefined"===typeof HTMLSelectElement?{}:HTMLSelectElement,Zt.HTMLInputElement="undefined"===typeof HTMLInputElement?{}:HTMLInputElement,Zt.Node="undefined"===typeof Node?{}:Node,Zt.MouseEvent="undefined"===typeof MouseEvent?{}:MouseEvent}}]);
|