diff --git a/CHANGELOG.md b/CHANGELOG.md index 2329372457..42c09f616b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ # Changelog +## Release v0.41.0 + +Features: + +- Updated pages to use mds components +- support for resolving IPv4/IPv6 + + +Bug Fix: + +- Remove cache for ClientIP +- Fixed override environment variables display in settings page +- Fixed daylight savings time support in share modal + ## Release v0.40.0 Features: diff --git a/portal-ui/build/asset-manifest.json b/portal-ui/build/asset-manifest.json index b0812ff132..c9722fcbf0 100644 --- a/portal-ui/build/asset-manifest.json +++ b/portal-ui/build/asset-manifest.json @@ -1,114 +1,103 @@ { "files": { "main.css": "./static/css/main.e60e4760.css", - "main.js": "./static/js/main.ca749b3b.js", + "main.js": "./static/js/main.4a881f62.js", "static/js/1260.1bfa3ef3.chunk.js": "./static/js/1260.1bfa3ef3.chunk.js", - "static/js/6914.62c54850.chunk.js": "./static/js/6914.62c54850.chunk.js", + "static/js/6914.4cdcdbac.chunk.js": "./static/js/6914.4cdcdbac.chunk.js", "static/js/9121.99feaddd.chunk.js": "./static/js/9121.99feaddd.chunk.js", - "static/js/1829.9db2921b.chunk.js": "./static/js/1829.9db2921b.chunk.js", + "static/js/1829.bb99f80d.chunk.js": "./static/js/1829.bb99f80d.chunk.js", "static/js/6272.1dc1f3f1.chunk.js": "./static/js/6272.1dc1f3f1.chunk.js", "static/js/5088.b53be05e.chunk.js": "./static/js/5088.b53be05e.chunk.js", "static/js/6122.c29df041.chunk.js": "./static/js/6122.c29df041.chunk.js", - "static/js/808.6b19d840.chunk.js": "./static/js/808.6b19d840.chunk.js", + "static/js/808.ab7d4067.chunk.js": "./static/js/808.ab7d4067.chunk.js", "static/js/8060.a5309a8c.chunk.js": "./static/js/8060.a5309a8c.chunk.js", "static/js/9635.495d0211.chunk.js": "./static/js/9635.495d0211.chunk.js", - "static/js/2338.6e3ddba5.chunk.js": "./static/js/2338.6e3ddba5.chunk.js", - "static/js/4335.09096e69.chunk.js": "./static/js/4335.09096e69.chunk.js", - "static/js/8521.06664483.chunk.js": "./static/js/8521.06664483.chunk.js", - "static/js/3543.d91de02c.chunk.js": "./static/js/3543.d91de02c.chunk.js", + "static/js/2338.7e05398b.chunk.js": "./static/js/2338.7e05398b.chunk.js", + "static/js/4439.25b65874.chunk.js": "./static/js/4439.25b65874.chunk.js", + "static/js/3832.df5c5c44.chunk.js": "./static/js/3832.df5c5c44.chunk.js", + "static/js/7668.497c21fa.chunk.js": "./static/js/7668.497c21fa.chunk.js", "static/js/2074.1f0d525f.chunk.js": "./static/js/2074.1f0d525f.chunk.js", - "static/js/3067.76cd4ffe.chunk.js": "./static/js/3067.76cd4ffe.chunk.js", - "static/js/2637.96b15c1c.chunk.js": "./static/js/2637.96b15c1c.chunk.js", - "static/js/5962.b97f970a.chunk.js": "./static/js/5962.b97f970a.chunk.js", - "static/js/701.6661257a.chunk.js": "./static/js/701.6661257a.chunk.js", - "static/js/416.8346e1f6.chunk.js": "./static/js/416.8346e1f6.chunk.js", - "static/js/7821.a2de4d84.chunk.js": "./static/js/7821.a2de4d84.chunk.js", - "static/js/2545.ff1b01f5.chunk.js": "./static/js/2545.ff1b01f5.chunk.js", - "static/js/8388.af3ddceb.chunk.js": "./static/js/8388.af3ddceb.chunk.js", - "static/js/4065.546ae369.chunk.js": "./static/js/4065.546ae369.chunk.js", - "static/js/5935.e874456b.chunk.js": "./static/js/5935.e874456b.chunk.js", - "static/js/4563.be189475.chunk.js": "./static/js/4563.be189475.chunk.js", - "static/js/191.7f06526e.chunk.js": "./static/js/191.7f06526e.chunk.js", + "static/js/3067.5b61002d.chunk.js": "./static/js/3067.5b61002d.chunk.js", + "static/js/2637.3410b817.chunk.js": "./static/js/2637.3410b817.chunk.js", + "static/js/5962.a48bdf0f.chunk.js": "./static/js/5962.a48bdf0f.chunk.js", + "static/js/701.f437ee2b.chunk.js": "./static/js/701.f437ee2b.chunk.js", + "static/js/416.35f4384d.chunk.js": "./static/js/416.35f4384d.chunk.js", + "static/js/7821.12244c04.chunk.js": "./static/js/7821.12244c04.chunk.js", + "static/js/2545.b9034e94.chunk.js": "./static/js/2545.b9034e94.chunk.js", + "static/js/8388.6f443220.chunk.js": "./static/js/8388.6f443220.chunk.js", + "static/js/4065.0d93bddc.chunk.js": "./static/js/4065.0d93bddc.chunk.js", + "static/js/5935.9a86ce62.chunk.js": "./static/js/5935.9a86ce62.chunk.js", + "static/js/4563.c7493096.chunk.js": "./static/js/4563.c7493096.chunk.js", + "static/js/191.d24fde8f.chunk.js": "./static/js/191.d24fde8f.chunk.js", "static/js/1329.df839007.chunk.js": "./static/js/1329.df839007.chunk.js", - "static/js/7614.b687ba7f.chunk.js": "./static/js/7614.b687ba7f.chunk.js", - "static/js/1764.ba7b49eb.chunk.js": "./static/js/1764.ba7b49eb.chunk.js", - "static/js/6491.5f7a419d.chunk.js": "./static/js/6491.5f7a419d.chunk.js", - "static/js/4902.89f3e9e1.chunk.js": "./static/js/4902.89f3e9e1.chunk.js", - "static/js/3379.6be9ca7b.chunk.js": "./static/js/3379.6be9ca7b.chunk.js", - "static/js/3171.a4ead4ca.chunk.js": "./static/js/3171.a4ead4ca.chunk.js", + "static/js/7614.d747c8a5.chunk.js": "./static/js/7614.d747c8a5.chunk.js", + "static/js/1690.48a846c2.chunk.js": "./static/js/1690.48a846c2.chunk.js", + "static/js/6491.50e302e9.chunk.js": "./static/js/6491.50e302e9.chunk.js", + "static/js/4902.29338457.chunk.js": "./static/js/4902.29338457.chunk.js", + "static/js/1432.1b192c18.chunk.js": "./static/js/1432.1b192c18.chunk.js", + "static/js/3171.3ea2b377.chunk.js": "./static/js/3171.3ea2b377.chunk.js", "static/js/8360.8ac053e0.chunk.js": "./static/js/8360.8ac053e0.chunk.js", - "static/js/6577.02d2b685.chunk.js": "./static/js/6577.02d2b685.chunk.js", + "static/js/6577.fa755089.chunk.js": "./static/js/6577.fa755089.chunk.js", "static/js/3875.1266ad37.chunk.js": "./static/js/3875.1266ad37.chunk.js", - "static/js/3115.0561791c.chunk.js": "./static/js/3115.0561791c.chunk.js", - "static/js/8270.47bda2ac.chunk.js": "./static/js/8270.47bda2ac.chunk.js", - "static/js/977.39e86031.chunk.js": "./static/js/977.39e86031.chunk.js", - "static/js/6686.3284b22b.chunk.js": "./static/js/6686.3284b22b.chunk.js", - "static/js/9059.521ca60c.chunk.js": "./static/js/9059.521ca60c.chunk.js", + "static/js/3115.bf4040fb.chunk.js": "./static/js/3115.bf4040fb.chunk.js", + "static/js/2603.e6ac8963.chunk.js": "./static/js/2603.e6ac8963.chunk.js", + "static/js/977.92e54eab.chunk.js": "./static/js/977.92e54eab.chunk.js", + "static/js/6686.50107964.chunk.js": "./static/js/6686.50107964.chunk.js", + "static/js/9059.bfb04f0e.chunk.js": "./static/js/9059.bfb04f0e.chunk.js", "static/js/4770.08d9efec.chunk.js": "./static/js/4770.08d9efec.chunk.js", - "static/js/6247.bb8bb4b7.chunk.js": "./static/js/6247.bb8bb4b7.chunk.js", - "static/js/4414.1db328e3.chunk.js": "./static/js/4414.1db328e3.chunk.js", - "static/js/8833.50d1395d.chunk.js": "./static/js/8833.50d1395d.chunk.js", + "static/js/6247.ecc0982e.chunk.js": "./static/js/6247.ecc0982e.chunk.js", + "static/js/4414.4553a541.chunk.js": "./static/js/4414.4553a541.chunk.js", + "static/js/8833.dd546f51.chunk.js": "./static/js/8833.dd546f51.chunk.js", "static/js/1516.75dc9a97.chunk.js": "./static/js/1516.75dc9a97.chunk.js", "static/js/483.8c83b198.chunk.js": "./static/js/483.8c83b198.chunk.js", - "static/js/8045.820a2282.chunk.js": "./static/js/8045.820a2282.chunk.js", - "static/js/6895.f365fd4e.chunk.js": "./static/js/6895.f365fd4e.chunk.js", + "static/js/9467.0e6dd103.chunk.js": "./static/js/9467.0e6dd103.chunk.js", + "static/js/6895.ab51144b.chunk.js": "./static/js/6895.ab51144b.chunk.js", "static/js/4874.5e5b3042.chunk.js": "./static/js/4874.5e5b3042.chunk.js", - "static/js/1191.a7906808.chunk.js": "./static/js/1191.a7906808.chunk.js", + "static/js/1191.1f6c42ce.chunk.js": "./static/js/1191.1f6c42ce.chunk.js", "static/js/3956.3d92ba64.chunk.js": "./static/js/3956.3d92ba64.chunk.js", "static/js/9221.5b85a40b.chunk.js": "./static/js/9221.5b85a40b.chunk.js", "static/js/8896.dbf5cc38.chunk.js": "./static/js/8896.dbf5cc38.chunk.js", "static/js/9134.63488b77.chunk.js": "./static/js/9134.63488b77.chunk.js", - "static/js/5223.d053b523.chunk.js": "./static/js/5223.d053b523.chunk.js", - "static/js/9382.bd8214f2.chunk.js": "./static/js/9382.bd8214f2.chunk.js", - "static/js/7134.1a5a0c34.chunk.js": "./static/js/7134.1a5a0c34.chunk.js", - "static/js/3034.e1fff37c.chunk.js": "./static/js/3034.e1fff37c.chunk.js", - "static/js/3138.47ee08f2.chunk.js": "./static/js/3138.47ee08f2.chunk.js", + "static/js/5223.fbb147c5.chunk.js": "./static/js/5223.fbb147c5.chunk.js", + "static/js/5661.89c92240.chunk.js": "./static/js/5661.89c92240.chunk.js", + "static/js/7134.22af3be8.chunk.js": "./static/js/7134.22af3be8.chunk.js", + "static/js/3034.7295026b.chunk.js": "./static/js/3034.7295026b.chunk.js", + "static/js/3138.caecfaad.chunk.js": "./static/js/3138.caecfaad.chunk.js", "static/js/711.bc7ee5ed.chunk.js": "./static/js/711.bc7ee5ed.chunk.js", - "static/js/6901.9f19a060.chunk.js": "./static/js/6901.9f19a060.chunk.js", - "static/js/2185.dabc2b42.chunk.js": "./static/js/2185.dabc2b42.chunk.js", + "static/js/8850.18268ff7.chunk.js": "./static/js/8850.18268ff7.chunk.js", + "static/js/2185.47993549.chunk.js": "./static/js/2185.47993549.chunk.js", "static/js/9968.c45ff8f4.chunk.js": "./static/js/9968.c45ff8f4.chunk.js", - "static/js/7494.883411d0.chunk.js": "./static/js/7494.883411d0.chunk.js", - "static/js/4738.c8ae5b4a.chunk.js": "./static/js/4738.c8ae5b4a.chunk.js", - "static/js/3989.7bc0050a.chunk.js": "./static/js/3989.7bc0050a.chunk.js", - "static/js/5702.0d80f056.chunk.js": "./static/js/5702.0d80f056.chunk.js", - "static/js/5759.edc8340c.chunk.js": "./static/js/5759.edc8340c.chunk.js", - "static/js/51.872b251a.chunk.js": "./static/js/51.872b251a.chunk.js", + "static/js/7494.8d3127b2.chunk.js": "./static/js/7494.8d3127b2.chunk.js", + "static/js/4738.f09817d5.chunk.js": "./static/js/4738.f09817d5.chunk.js", + "static/js/3989.456ae7ca.chunk.js": "./static/js/3989.456ae7ca.chunk.js", + "static/js/5702.719f144e.chunk.js": "./static/js/5702.719f144e.chunk.js", + "static/js/5759.c9d43b13.chunk.js": "./static/js/5759.c9d43b13.chunk.js", + "static/js/51.21f079a0.chunk.js": "./static/js/51.21f079a0.chunk.js", "static/js/312.a4a9011b.chunk.js": "./static/js/312.a4a9011b.chunk.js", - "static/js/2032.27438209.chunk.js": "./static/js/2032.27438209.chunk.js", - "static/js/4619.471aee8b.chunk.js": "./static/js/4619.471aee8b.chunk.js", + "static/js/2032.64ae0f99.chunk.js": "./static/js/2032.64ae0f99.chunk.js", + "static/js/4619.ac23bc25.chunk.js": "./static/js/4619.ac23bc25.chunk.js", "static/js/8990.58d88bc9.chunk.js": "./static/js/8990.58d88bc9.chunk.js", "static/js/8455.6e72f5ad.chunk.js": "./static/js/8455.6e72f5ad.chunk.js", - "static/js/3690.6957ca61.chunk.js": "./static/js/3690.6957ca61.chunk.js", - "static/js/1604.64ec26a0.chunk.js": "./static/js/1604.64ec26a0.chunk.js", + "static/js/3690.848bebec.chunk.js": "./static/js/3690.848bebec.chunk.js", + "static/js/1604.7bfdfe29.chunk.js": "./static/js/1604.7bfdfe29.chunk.js", "static/js/9952.977159a7.chunk.js": "./static/js/9952.977159a7.chunk.js", "static/js/402.64814df4.chunk.js": "./static/js/402.64814df4.chunk.js", - "static/js/1705.8c12b37a.chunk.js": "./static/js/1705.8c12b37a.chunk.js", - "static/js/1581.9e1d2acf.chunk.js": "./static/js/1581.9e1d2acf.chunk.js", + "static/js/1705.0eb547ff.chunk.js": "./static/js/1705.0eb547ff.chunk.js", + "static/js/1581.2174ac68.chunk.js": "./static/js/1581.2174ac68.chunk.js", "static/js/455.3a91ee14.chunk.js": "./static/js/455.3a91ee14.chunk.js", - "static/js/2661.88895459.chunk.js": "./static/js/2661.88895459.chunk.js", - "static/js/3509.3accc3d1.chunk.js": "./static/js/3509.3accc3d1.chunk.js", - "static/js/889.a30c4ca5.chunk.js": "./static/js/889.a30c4ca5.chunk.js", + "static/js/8296.f82aeccc.chunk.js": "./static/js/8296.f82aeccc.chunk.js", + "static/js/3509.e1e73737.chunk.js": "./static/js/3509.e1e73737.chunk.js", + "static/js/889.52891a95.chunk.js": "./static/js/889.52891a95.chunk.js", "static/js/9088.b641525f.chunk.js": "./static/js/9088.b641525f.chunk.js", - "static/js/247.83abc0ba.chunk.js": "./static/js/247.83abc0ba.chunk.js", + "static/js/247.69f3daa1.chunk.js": "./static/js/247.69f3daa1.chunk.js", "static/js/2763.ced3d1e6.chunk.js": "./static/js/2763.ced3d1e6.chunk.js", - "static/js/911.85827a45.chunk.js": "./static/js/911.85827a45.chunk.js", - "static/js/4549.3d93db81.chunk.js": "./static/js/4549.3d93db81.chunk.js", - "static/js/817.ae83167e.chunk.js": "./static/js/817.ae83167e.chunk.js", - "static/js/9518.37a0f445.chunk.js": "./static/js/9518.37a0f445.chunk.js", - "static/js/2193.a74f0e37.chunk.js": "./static/js/2193.a74f0e37.chunk.js", - "static/js/225.4a99e6a2.chunk.js": "./static/js/225.4a99e6a2.chunk.js", - "static/js/601.0071eb88.chunk.js": "./static/js/601.0071eb88.chunk.js", - "static/js/9955.92b905ab.chunk.js": "./static/js/9955.92b905ab.chunk.js", - "static/js/6786.1f6da6c6.chunk.js": "./static/js/6786.1f6da6c6.chunk.js", - "static/js/8265.889d47d3.chunk.js": "./static/js/8265.889d47d3.chunk.js", - "static/js/134.3f6d60a2.chunk.js": "./static/js/134.3f6d60a2.chunk.js", - "static/js/3801.bece6d36.chunk.js": "./static/js/3801.bece6d36.chunk.js", - "static/js/1748.291be92f.chunk.js": "./static/js/1748.291be92f.chunk.js", - "static/js/2121.6000774d.chunk.js": "./static/js/2121.6000774d.chunk.js", - "static/js/7082.e66ba30d.chunk.js": "./static/js/7082.e66ba30d.chunk.js", - "static/js/1520.8019c157.chunk.js": "./static/js/1520.8019c157.chunk.js", - "static/js/6008.10fb9564.chunk.js": "./static/js/6008.10fb9564.chunk.js", - "static/js/7784.c0448d91.chunk.js": "./static/js/7784.c0448d91.chunk.js", + "static/js/2977.d858b026.chunk.js": "./static/js/2977.d858b026.chunk.js", + "static/js/2631.e93b9518.chunk.js": "./static/js/2631.e93b9518.chunk.js", + "static/js/601.83f062ee.chunk.js": "./static/js/601.83f062ee.chunk.js", + "static/js/8265.c2eab6fe.chunk.js": "./static/js/8265.c2eab6fe.chunk.js", + "static/js/5061.be51bf34.chunk.js": "./static/js/5061.be51bf34.chunk.js", + "static/js/6521.f929e9dd.chunk.js": "./static/js/6521.f929e9dd.chunk.js", + "static/js/7374.9d2e12d2.chunk.js": "./static/js/7374.9d2e12d2.chunk.js", "static/media/videoBG.mp4": "./static/media/videoBG.17363418b3c2246a0e27.mp4", "static/media/loginAnimationPoster.png": "./static/media/loginAnimationPoster.9aa924bfe619e71d5d29.png", "static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff", @@ -132,117 +121,106 @@ "static/media/placeholderimage.png": "./static/media/placeholderimage.077ea48bd1ef1f4a883f.png", "index.html": "./index.html", "main.e60e4760.css.map": "./static/css/main.e60e4760.css.map", - "main.ca749b3b.js.map": "./static/js/main.ca749b3b.js.map", + "main.4a881f62.js.map": "./static/js/main.4a881f62.js.map", "1260.1bfa3ef3.chunk.js.map": "./static/js/1260.1bfa3ef3.chunk.js.map", - "6914.62c54850.chunk.js.map": "./static/js/6914.62c54850.chunk.js.map", + "6914.4cdcdbac.chunk.js.map": "./static/js/6914.4cdcdbac.chunk.js.map", "9121.99feaddd.chunk.js.map": "./static/js/9121.99feaddd.chunk.js.map", - "1829.9db2921b.chunk.js.map": "./static/js/1829.9db2921b.chunk.js.map", + "1829.bb99f80d.chunk.js.map": "./static/js/1829.bb99f80d.chunk.js.map", "6272.1dc1f3f1.chunk.js.map": "./static/js/6272.1dc1f3f1.chunk.js.map", "5088.b53be05e.chunk.js.map": "./static/js/5088.b53be05e.chunk.js.map", "6122.c29df041.chunk.js.map": "./static/js/6122.c29df041.chunk.js.map", - "808.6b19d840.chunk.js.map": "./static/js/808.6b19d840.chunk.js.map", + "808.ab7d4067.chunk.js.map": "./static/js/808.ab7d4067.chunk.js.map", "8060.a5309a8c.chunk.js.map": "./static/js/8060.a5309a8c.chunk.js.map", "9635.495d0211.chunk.js.map": "./static/js/9635.495d0211.chunk.js.map", - "2338.6e3ddba5.chunk.js.map": "./static/js/2338.6e3ddba5.chunk.js.map", - "4335.09096e69.chunk.js.map": "./static/js/4335.09096e69.chunk.js.map", - "8521.06664483.chunk.js.map": "./static/js/8521.06664483.chunk.js.map", - "3543.d91de02c.chunk.js.map": "./static/js/3543.d91de02c.chunk.js.map", + "2338.7e05398b.chunk.js.map": "./static/js/2338.7e05398b.chunk.js.map", + "4439.25b65874.chunk.js.map": "./static/js/4439.25b65874.chunk.js.map", + "3832.df5c5c44.chunk.js.map": "./static/js/3832.df5c5c44.chunk.js.map", + "7668.497c21fa.chunk.js.map": "./static/js/7668.497c21fa.chunk.js.map", "2074.1f0d525f.chunk.js.map": "./static/js/2074.1f0d525f.chunk.js.map", - "3067.76cd4ffe.chunk.js.map": "./static/js/3067.76cd4ffe.chunk.js.map", - "2637.96b15c1c.chunk.js.map": "./static/js/2637.96b15c1c.chunk.js.map", - "5962.b97f970a.chunk.js.map": "./static/js/5962.b97f970a.chunk.js.map", - "701.6661257a.chunk.js.map": "./static/js/701.6661257a.chunk.js.map", - "416.8346e1f6.chunk.js.map": "./static/js/416.8346e1f6.chunk.js.map", - "7821.a2de4d84.chunk.js.map": "./static/js/7821.a2de4d84.chunk.js.map", - "2545.ff1b01f5.chunk.js.map": "./static/js/2545.ff1b01f5.chunk.js.map", - "8388.af3ddceb.chunk.js.map": "./static/js/8388.af3ddceb.chunk.js.map", - "4065.546ae369.chunk.js.map": "./static/js/4065.546ae369.chunk.js.map", - "5935.e874456b.chunk.js.map": "./static/js/5935.e874456b.chunk.js.map", - "4563.be189475.chunk.js.map": "./static/js/4563.be189475.chunk.js.map", - "191.7f06526e.chunk.js.map": "./static/js/191.7f06526e.chunk.js.map", + "3067.5b61002d.chunk.js.map": "./static/js/3067.5b61002d.chunk.js.map", + "2637.3410b817.chunk.js.map": "./static/js/2637.3410b817.chunk.js.map", + "5962.a48bdf0f.chunk.js.map": "./static/js/5962.a48bdf0f.chunk.js.map", + "701.f437ee2b.chunk.js.map": "./static/js/701.f437ee2b.chunk.js.map", + "416.35f4384d.chunk.js.map": "./static/js/416.35f4384d.chunk.js.map", + "7821.12244c04.chunk.js.map": "./static/js/7821.12244c04.chunk.js.map", + "2545.b9034e94.chunk.js.map": "./static/js/2545.b9034e94.chunk.js.map", + "8388.6f443220.chunk.js.map": "./static/js/8388.6f443220.chunk.js.map", + "4065.0d93bddc.chunk.js.map": "./static/js/4065.0d93bddc.chunk.js.map", + "5935.9a86ce62.chunk.js.map": "./static/js/5935.9a86ce62.chunk.js.map", + "4563.c7493096.chunk.js.map": "./static/js/4563.c7493096.chunk.js.map", + "191.d24fde8f.chunk.js.map": "./static/js/191.d24fde8f.chunk.js.map", "1329.df839007.chunk.js.map": "./static/js/1329.df839007.chunk.js.map", - "7614.b687ba7f.chunk.js.map": "./static/js/7614.b687ba7f.chunk.js.map", - "1764.ba7b49eb.chunk.js.map": "./static/js/1764.ba7b49eb.chunk.js.map", - "6491.5f7a419d.chunk.js.map": "./static/js/6491.5f7a419d.chunk.js.map", - "4902.89f3e9e1.chunk.js.map": "./static/js/4902.89f3e9e1.chunk.js.map", - "3379.6be9ca7b.chunk.js.map": "./static/js/3379.6be9ca7b.chunk.js.map", - "3171.a4ead4ca.chunk.js.map": "./static/js/3171.a4ead4ca.chunk.js.map", + "7614.d747c8a5.chunk.js.map": "./static/js/7614.d747c8a5.chunk.js.map", + "1690.48a846c2.chunk.js.map": "./static/js/1690.48a846c2.chunk.js.map", + "6491.50e302e9.chunk.js.map": "./static/js/6491.50e302e9.chunk.js.map", + "4902.29338457.chunk.js.map": "./static/js/4902.29338457.chunk.js.map", + "1432.1b192c18.chunk.js.map": "./static/js/1432.1b192c18.chunk.js.map", + "3171.3ea2b377.chunk.js.map": "./static/js/3171.3ea2b377.chunk.js.map", "8360.8ac053e0.chunk.js.map": "./static/js/8360.8ac053e0.chunk.js.map", - "6577.02d2b685.chunk.js.map": "./static/js/6577.02d2b685.chunk.js.map", + "6577.fa755089.chunk.js.map": "./static/js/6577.fa755089.chunk.js.map", "3875.1266ad37.chunk.js.map": "./static/js/3875.1266ad37.chunk.js.map", - "3115.0561791c.chunk.js.map": "./static/js/3115.0561791c.chunk.js.map", - "8270.47bda2ac.chunk.js.map": "./static/js/8270.47bda2ac.chunk.js.map", - "977.39e86031.chunk.js.map": "./static/js/977.39e86031.chunk.js.map", - "6686.3284b22b.chunk.js.map": "./static/js/6686.3284b22b.chunk.js.map", - "9059.521ca60c.chunk.js.map": "./static/js/9059.521ca60c.chunk.js.map", + "3115.bf4040fb.chunk.js.map": "./static/js/3115.bf4040fb.chunk.js.map", + "2603.e6ac8963.chunk.js.map": "./static/js/2603.e6ac8963.chunk.js.map", + "977.92e54eab.chunk.js.map": "./static/js/977.92e54eab.chunk.js.map", + "6686.50107964.chunk.js.map": "./static/js/6686.50107964.chunk.js.map", + "9059.bfb04f0e.chunk.js.map": "./static/js/9059.bfb04f0e.chunk.js.map", "4770.08d9efec.chunk.js.map": "./static/js/4770.08d9efec.chunk.js.map", - "6247.bb8bb4b7.chunk.js.map": "./static/js/6247.bb8bb4b7.chunk.js.map", - "4414.1db328e3.chunk.js.map": "./static/js/4414.1db328e3.chunk.js.map", - "8833.50d1395d.chunk.js.map": "./static/js/8833.50d1395d.chunk.js.map", + "6247.ecc0982e.chunk.js.map": "./static/js/6247.ecc0982e.chunk.js.map", + "4414.4553a541.chunk.js.map": "./static/js/4414.4553a541.chunk.js.map", + "8833.dd546f51.chunk.js.map": "./static/js/8833.dd546f51.chunk.js.map", "1516.75dc9a97.chunk.js.map": "./static/js/1516.75dc9a97.chunk.js.map", "483.8c83b198.chunk.js.map": "./static/js/483.8c83b198.chunk.js.map", - "8045.820a2282.chunk.js.map": "./static/js/8045.820a2282.chunk.js.map", - "6895.f365fd4e.chunk.js.map": "./static/js/6895.f365fd4e.chunk.js.map", + "9467.0e6dd103.chunk.js.map": "./static/js/9467.0e6dd103.chunk.js.map", + "6895.ab51144b.chunk.js.map": "./static/js/6895.ab51144b.chunk.js.map", "4874.5e5b3042.chunk.js.map": "./static/js/4874.5e5b3042.chunk.js.map", - "1191.a7906808.chunk.js.map": "./static/js/1191.a7906808.chunk.js.map", + "1191.1f6c42ce.chunk.js.map": "./static/js/1191.1f6c42ce.chunk.js.map", "3956.3d92ba64.chunk.js.map": "./static/js/3956.3d92ba64.chunk.js.map", "9221.5b85a40b.chunk.js.map": "./static/js/9221.5b85a40b.chunk.js.map", "8896.dbf5cc38.chunk.js.map": "./static/js/8896.dbf5cc38.chunk.js.map", "9134.63488b77.chunk.js.map": "./static/js/9134.63488b77.chunk.js.map", - "5223.d053b523.chunk.js.map": "./static/js/5223.d053b523.chunk.js.map", - "9382.bd8214f2.chunk.js.map": "./static/js/9382.bd8214f2.chunk.js.map", - "7134.1a5a0c34.chunk.js.map": "./static/js/7134.1a5a0c34.chunk.js.map", - "3034.e1fff37c.chunk.js.map": "./static/js/3034.e1fff37c.chunk.js.map", - "3138.47ee08f2.chunk.js.map": "./static/js/3138.47ee08f2.chunk.js.map", + "5223.fbb147c5.chunk.js.map": "./static/js/5223.fbb147c5.chunk.js.map", + "5661.89c92240.chunk.js.map": "./static/js/5661.89c92240.chunk.js.map", + "7134.22af3be8.chunk.js.map": "./static/js/7134.22af3be8.chunk.js.map", + "3034.7295026b.chunk.js.map": "./static/js/3034.7295026b.chunk.js.map", + "3138.caecfaad.chunk.js.map": "./static/js/3138.caecfaad.chunk.js.map", "711.bc7ee5ed.chunk.js.map": "./static/js/711.bc7ee5ed.chunk.js.map", - "6901.9f19a060.chunk.js.map": "./static/js/6901.9f19a060.chunk.js.map", - "2185.dabc2b42.chunk.js.map": "./static/js/2185.dabc2b42.chunk.js.map", + "8850.18268ff7.chunk.js.map": "./static/js/8850.18268ff7.chunk.js.map", + "2185.47993549.chunk.js.map": "./static/js/2185.47993549.chunk.js.map", "9968.c45ff8f4.chunk.js.map": "./static/js/9968.c45ff8f4.chunk.js.map", - "7494.883411d0.chunk.js.map": "./static/js/7494.883411d0.chunk.js.map", - "4738.c8ae5b4a.chunk.js.map": "./static/js/4738.c8ae5b4a.chunk.js.map", - "3989.7bc0050a.chunk.js.map": "./static/js/3989.7bc0050a.chunk.js.map", - "5702.0d80f056.chunk.js.map": "./static/js/5702.0d80f056.chunk.js.map", - "5759.edc8340c.chunk.js.map": "./static/js/5759.edc8340c.chunk.js.map", - "51.872b251a.chunk.js.map": "./static/js/51.872b251a.chunk.js.map", + "7494.8d3127b2.chunk.js.map": "./static/js/7494.8d3127b2.chunk.js.map", + "4738.f09817d5.chunk.js.map": "./static/js/4738.f09817d5.chunk.js.map", + "3989.456ae7ca.chunk.js.map": "./static/js/3989.456ae7ca.chunk.js.map", + "5702.719f144e.chunk.js.map": "./static/js/5702.719f144e.chunk.js.map", + "5759.c9d43b13.chunk.js.map": "./static/js/5759.c9d43b13.chunk.js.map", + "51.21f079a0.chunk.js.map": "./static/js/51.21f079a0.chunk.js.map", "312.a4a9011b.chunk.js.map": "./static/js/312.a4a9011b.chunk.js.map", - "2032.27438209.chunk.js.map": "./static/js/2032.27438209.chunk.js.map", - "4619.471aee8b.chunk.js.map": "./static/js/4619.471aee8b.chunk.js.map", + "2032.64ae0f99.chunk.js.map": "./static/js/2032.64ae0f99.chunk.js.map", + "4619.ac23bc25.chunk.js.map": "./static/js/4619.ac23bc25.chunk.js.map", "8990.58d88bc9.chunk.js.map": "./static/js/8990.58d88bc9.chunk.js.map", "8455.6e72f5ad.chunk.js.map": "./static/js/8455.6e72f5ad.chunk.js.map", - "3690.6957ca61.chunk.js.map": "./static/js/3690.6957ca61.chunk.js.map", - "1604.64ec26a0.chunk.js.map": "./static/js/1604.64ec26a0.chunk.js.map", + "3690.848bebec.chunk.js.map": "./static/js/3690.848bebec.chunk.js.map", + "1604.7bfdfe29.chunk.js.map": "./static/js/1604.7bfdfe29.chunk.js.map", "9952.977159a7.chunk.js.map": "./static/js/9952.977159a7.chunk.js.map", "402.64814df4.chunk.js.map": "./static/js/402.64814df4.chunk.js.map", - "1705.8c12b37a.chunk.js.map": "./static/js/1705.8c12b37a.chunk.js.map", - "1581.9e1d2acf.chunk.js.map": "./static/js/1581.9e1d2acf.chunk.js.map", + "1705.0eb547ff.chunk.js.map": "./static/js/1705.0eb547ff.chunk.js.map", + "1581.2174ac68.chunk.js.map": "./static/js/1581.2174ac68.chunk.js.map", "455.3a91ee14.chunk.js.map": "./static/js/455.3a91ee14.chunk.js.map", - "2661.88895459.chunk.js.map": "./static/js/2661.88895459.chunk.js.map", - "3509.3accc3d1.chunk.js.map": "./static/js/3509.3accc3d1.chunk.js.map", - "889.a30c4ca5.chunk.js.map": "./static/js/889.a30c4ca5.chunk.js.map", + "8296.f82aeccc.chunk.js.map": "./static/js/8296.f82aeccc.chunk.js.map", + "3509.e1e73737.chunk.js.map": "./static/js/3509.e1e73737.chunk.js.map", + "889.52891a95.chunk.js.map": "./static/js/889.52891a95.chunk.js.map", "9088.b641525f.chunk.js.map": "./static/js/9088.b641525f.chunk.js.map", - "247.83abc0ba.chunk.js.map": "./static/js/247.83abc0ba.chunk.js.map", + "247.69f3daa1.chunk.js.map": "./static/js/247.69f3daa1.chunk.js.map", "2763.ced3d1e6.chunk.js.map": "./static/js/2763.ced3d1e6.chunk.js.map", - "911.85827a45.chunk.js.map": "./static/js/911.85827a45.chunk.js.map", - "4549.3d93db81.chunk.js.map": "./static/js/4549.3d93db81.chunk.js.map", - "817.ae83167e.chunk.js.map": "./static/js/817.ae83167e.chunk.js.map", - "9518.37a0f445.chunk.js.map": "./static/js/9518.37a0f445.chunk.js.map", - "2193.a74f0e37.chunk.js.map": "./static/js/2193.a74f0e37.chunk.js.map", - "225.4a99e6a2.chunk.js.map": "./static/js/225.4a99e6a2.chunk.js.map", - "601.0071eb88.chunk.js.map": "./static/js/601.0071eb88.chunk.js.map", - "9955.92b905ab.chunk.js.map": "./static/js/9955.92b905ab.chunk.js.map", - "6786.1f6da6c6.chunk.js.map": "./static/js/6786.1f6da6c6.chunk.js.map", - "8265.889d47d3.chunk.js.map": "./static/js/8265.889d47d3.chunk.js.map", - "134.3f6d60a2.chunk.js.map": "./static/js/134.3f6d60a2.chunk.js.map", - "3801.bece6d36.chunk.js.map": "./static/js/3801.bece6d36.chunk.js.map", - "1748.291be92f.chunk.js.map": "./static/js/1748.291be92f.chunk.js.map", - "2121.6000774d.chunk.js.map": "./static/js/2121.6000774d.chunk.js.map", - "7082.e66ba30d.chunk.js.map": "./static/js/7082.e66ba30d.chunk.js.map", - "1520.8019c157.chunk.js.map": "./static/js/1520.8019c157.chunk.js.map", - "6008.10fb9564.chunk.js.map": "./static/js/6008.10fb9564.chunk.js.map", - "7784.c0448d91.chunk.js.map": "./static/js/7784.c0448d91.chunk.js.map" + "2977.d858b026.chunk.js.map": "./static/js/2977.d858b026.chunk.js.map", + "2631.e93b9518.chunk.js.map": "./static/js/2631.e93b9518.chunk.js.map", + "601.83f062ee.chunk.js.map": "./static/js/601.83f062ee.chunk.js.map", + "8265.c2eab6fe.chunk.js.map": "./static/js/8265.c2eab6fe.chunk.js.map", + "5061.be51bf34.chunk.js.map": "./static/js/5061.be51bf34.chunk.js.map", + "6521.f929e9dd.chunk.js.map": "./static/js/6521.f929e9dd.chunk.js.map", + "7374.9d2e12d2.chunk.js.map": "./static/js/7374.9d2e12d2.chunk.js.map" }, "entrypoints": [ "static/css/main.e60e4760.css", - "static/js/main.ca749b3b.js" + "static/js/main.4a881f62.js" ] } \ No newline at end of file diff --git a/portal-ui/build/index.html b/portal-ui/build/index.html index bf9f8f3ab0..166e09fb2f 100644 --- a/portal-ui/build/index.html +++ b/portal-ui/build/index.html @@ -1 +1 @@ -MinIO Console
\ No newline at end of file +MinIO Console
\ No newline at end of file diff --git a/portal-ui/build/static/js/1191.1f6c42ce.chunk.js b/portal-ui/build/static/js/1191.1f6c42ce.chunk.js new file mode 100644 index 0000000000..7d801d6959 --- /dev/null +++ b/portal-ui/build/static/js/1191.1f6c42ce.chunk.js @@ -0,0 +1,2 @@ +(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1191],{92217:function(e,t,n){"use strict";var r=n(72791),o=n(29945),i=n(78029),c=n.n(i),a=n(27454),s=n(80184);t.Z=function(e){var t=e.value,n=e.label,i=void 0===n?"":n,l=e.tooltip,u=void 0===l?"":l,d=e.mode,p=void 0===d?"json":d,f=e.onChange,h=e.editorHeight,y=void 0===h?250:h,m=e.helptip;return(0,s.jsx)(o.pq4,{value:t,onChange:function(e){return f(e)},mode:p,tooltip:u,editorHeight:y,label:i,helpTools:(0,s.jsx)(r.Fragment,{children:(0,s.jsx)(a.Z,{tooltip:"Copy to Clipboard",children:(0,s.jsx)(c(),{text:t,children:(0,s.jsx)(o.zxk,{type:"button",id:"copy-code-mirror",icon:(0,s.jsx)(o.TIy,{}),color:"primary",variant:"regular"})})})}),helpTip:m,helpTipPlacement:"right"})}},879:function(e,t,n){"use strict";n.d(t,{D_:function(){return c},Et:function(){return o},GJ:function(){return i},yh:function(){return r}});var r={RED:"#C83B51",GREEN:"#4CCB92",YELLOW:"#FFBD62"},o=function(e,t){return e<=t/2?"bad":2!==t&&e===t/2+1?"warn":e===t?"good":void 0},i=function(e){switch(e){case"offline":return"bad";case"online":return"good";default:return"warn"}},c=function(e,t){return e<=t/2?"bad":e===t/2+1?"warn":e===t?"good":void 0}},1191:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var r=n(1413),o=n(29439),i=n(72791),c=n(78687),a=n(57689),s=n(29945),l=n(23814),u=n(92217),d=n(56087),p=n(38442),f=n(75578),h=n(59114),y=n(879),m=n(80184),x={display:"grid",gridTemplateColumns:"70px 1fr",gap:15},j=function(e){var t=e.search,n=void 0===t?"":t,r=e.children,o=void 0===r?"":r,i=new RegExp("(".concat(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(n),")"),"i"),c=String(o).split(i);return n?c.map((function(e,t){return i.test(e)?(0,m.jsx)("mark",{children:e},t):e})):o},b=function(e){var t=e.policyStatements,n=(0,i.useState)(""),r=(0,o.Z)(n,2),c=r[0],a=r[1];return(0,m.jsxs)(s.rjZ,{container:!0,children:[(0,m.jsx)(s.rjZ,{item:!0,xs:12,children:(0,m.jsxs)(s.rjZ,{container:!0,sx:{display:"flex",alignItems:"center"},children:[(0,m.jsx)(s.SYi,{content:(0,m.jsxs)(i.Fragment,{children:["Define which actions are permitted on a specified resource. Learn more about"," ",(0,m.jsx)("a",{target:"blank",href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html",children:"IAM conditional statements"}),"."]}),placement:"right",children:(0,m.jsx)(s.rjZ,{item:!0,xs:12,sm:6,sx:{fontWeight:"bold"},children:"Statements"})}),(0,m.jsx)(s.rjZ,{item:!0,xs:12,sm:6,sx:{display:"flex",justifyContent:"flex-end"},children:(0,m.jsx)(h.Z,{placeholder:"Search",onChange:a,value:c,sx:{maxWidth:380}})})]})}),!t&&(0,m.jsx)(i.Fragment,{children:"Policy has no statements"}),t&&(0,m.jsx)(s.rjZ,{item:!0,xs:12,sx:{"& .policy-row":{borderBottom:"1px solid #eaeaea"},"& .policy-row:first-child":{borderTop:"1px solid #eaeaea"},"& .policy-row:last-child":{borderBottom:"0px"},paddingTop:"15px","& mark":{color:"#000000",fontWeight:500}},children:t.map((function(e,t){var n=e.Effect,r="Allow"===n;return(0,m.jsxs)(s.xuv,{className:"policy-row",sx:{display:"grid",gridTemplateColumns:"1fr",gap:"15px",fontSize:"14px",padding:"10px 0 10px 0","& .label":{fontWeight:600}},children:[(0,m.jsxs)(s.xuv,{sx:x,children:[(0,m.jsx)(s.xuv,{className:"label",children:"Effect:"}),(0,m.jsxs)(s.xuv,{sx:{display:"flex",alignItems:"center","& .min-icon":{marginRight:"5px",fill:r?y.yh.GREEN:y.yh.RED,height:"14px",width:"14px"}},children:[r?(0,m.jsx)(s.E31,{}):(0,m.jsx)(s.dRf,{}),n]})]}),(0,m.jsxs)(s.rjZ,{container:!0,sx:{gap:15},children:[(0,m.jsxs)(s.rjZ,{item:!0,xs:12,sm:6,sx:x,children:[(0,m.jsx)(s.xuv,{className:"label",children:"Actions:"}),(0,m.jsx)(s.xuv,{children:e.Action&&e.Action.map((function(e,n){return(0,m.jsx)("div",{children:(0,m.jsx)(j,{search:c,children:e})},"".concat(t,"-r-").concat(n))}))})]}),(0,m.jsxs)(s.rjZ,{item:!0,xs:12,sm:6,sx:x,children:[(0,m.jsx)(s.xuv,{className:"label",children:"Resources:"}),(0,m.jsx)(s.xuv,{children:e.Resource&&e.Resource.map((function(e,n){return(0,m.jsxs)("div",{children:[" ",(0,m.jsx)(j,{search:c,children:e})]},"".concat(t,"-r-").concat(n))}))})]})]})]},"".concat(t))}))})]})},g=n(45248),v=n(87995),C=n(46078),w=n(44690),S=n(27454),O=n(47974),P=n(31776),Z=n(99670),E=(0,f.Z)(i.lazy((function(){return n.e(312).then(n.bind(n,312))}))),k=function(){var e=(0,w.TL)(),t=(0,a.s0)(),n=(0,a.UO)(),f=(0,c.v9)(C.$4),y=(0,i.useState)(null),x=(0,o.Z)(y,2),j=x[0],k=x[1],R=(0,i.useState)([]),D=(0,o.Z)(R,2),_=D[0],F=D[1],T=(0,i.useState)([]),A=(0,o.Z)(T,2),I=A[0],M=A[1],N=(0,i.useState)([]),L=(0,o.Z)(N,2),B=L[0],U=L[1],G=(0,i.useState)(!1),z=(0,o.Z)(G,2),H=z[0],K=z[1],J=(0,g.IO)(n.policyName||""),W=(0,i.useState)(""),X=(0,o.Z)(W,2),Y=X[0],Q=X[1],$=(0,i.useState)(!0),q=(0,o.Z)($,2),V=q[0],ee=q[1],te=(0,i.useState)(""),ne=(0,o.Z)(te,2),re=ne[0],oe=ne[1],ie=(0,i.useState)(!0),ce=(0,o.Z)(ie,2),ae=ce[0],se=ce[1],le=(0,i.useState)(""),ue=(0,o.Z)(le,2),de=ue[0],pe=ue[1],fe=(0,i.useState)(!0),he=(0,o.Z)(fe,2),ye=he[0],me=he[1],xe=(0,i.useState)(!1),je=(0,o.Z)(xe,2),be=je[0],ge=je[1],ve=(0,i.useState)("summary"),Ce=(0,o.Z)(ve,2),we=Ce[0],Se=Ce[1],Oe=f&&f.includes("ldap-idp")||!1,Pe=(0,p.F)(d.C3,d.K6,!0),Ze=(0,p.F)(d.C3,d.k_,!0),Ee=(0,p.F)(d.C3,d.Rs,!0),ke=(0,p.F)(d.C3,d.iw,!0),Re=(0,p.F)(d.C3,d.GD,!0),De=(0,p.F)(d.C3,d.bE,!0),_e=(0,p.F)(d.C3,d.XM,!0);(0,i.useEffect)((function(){V&&(V&&(Re?P.h.policy.policyInfo((0,g.LL)(J)).then((function(e){if(e.data){var t,n;k(e.data),Q(e?JSON.stringify(JSON.parse(null===(t=e.data)||void 0===t?void 0:t.policy),null,4):"");var r=JSON.parse(null===(n=e.data)||void 0===n?void 0:n.policy);F(r.Statement)}ee(!1)})).catch((function(t){e((0,v.Ih)(t)),ee(!1)})):ee(!1)),ae&&(Ee&&!Oe?P.h.policies.listUsersForPolicy((0,g.LL)(J)).then((function(e){var t;M(null!==(t=e.data)&&void 0!==t?t:[]),se(!1)})).catch((function(t){e((0,v.Ih)(t)),se(!1)})):se(!1)),ye&&(Pe&&!Oe?P.h.policies.listGroupsForPolicy((0,g.LL)(J)).then((function(e){var t;U(null!==(t=e.data)&&void 0!==t?t:[]),me(!1)})).catch((function(t){e((0,v.Ih)(t)),me(!1)})):me(!1)))}),[J,V,ae,ye,M,U,Q,k,se,me,Ee,Pe,Re,Oe,e]);var Fe=""!==J.trim(),Te=[{type:"view",onClick:function(e){t("".concat(d.gA.USERS,"/").concat((0,g.LL)(e)))},disableButtonFunction:function(){return!ke}}],Ae=I.filter((function(e){return e.includes(re)})),Ie=[{type:"view",onClick:function(e){t("".concat(d.gA.GROUPS,"/").concat((0,g.LL)(e)))},disableButtonFunction:function(){return!Ze}}],Me=B.filter((function(e){return e.includes(de)})),Ne=function(){se(!0),me(!0),ee(!0)};return(0,i.useEffect)((function(){e((0,v.Sc)("policy_details_summary"))}),[]),(0,m.jsxs)(i.Fragment,{children:[be&&(0,m.jsx)(E,{deleteOpen:be,selectedPolicy:J,closeDeleteModalAndRefresh:function(e){ge(!1),t(d.gA.POLICIES)}}),(0,m.jsx)(O.Z,{label:(0,m.jsx)(i.Fragment,{children:(0,m.jsx)(s.hbI,{label:"Policy",onClick:function(){return t(d.gA.POLICIES)}})}),actions:(0,m.jsx)(Z.Z,{})}),(0,m.jsxs)(s.Xgh,{children:[(0,m.jsx)(s.UHn,{icon:(0,m.jsx)(s.v42,{width:40}),title:J,subTitle:(0,m.jsx)(i.Fragment,{children:"IAM Policy"}),actions:(0,m.jsxs)(i.Fragment,{children:[(0,m.jsx)(p.s,{scopes:[d.Ft.ADMIN_DELETE_POLICY],resource:d.C3,errorProps:{disabled:!0},children:(0,m.jsx)(S.Z,{tooltip:De?"":(0,d.MK)(d.bE,"delete Policies"),children:(0,m.jsx)(s.zxk,{id:"delete-policy",label:"Delete Policy",variant:"secondary",icon:(0,m.jsx)(s.XHJ,{}),onClick:function(){ge(!0)},disabled:!De})})}),(0,m.jsx)(S.Z,{tooltip:"Refresh",children:(0,m.jsx)(s.zxk,{id:"refresh-policy",label:"Refresh",variant:"regular",icon:(0,m.jsx)(s.DuK,{}),onClick:function(){Ne()}})})]}),sx:{marginBottom:15}}),(0,m.jsx)(s.xuv,{children:(0,m.jsx)(s.mQc,{options:[{tabConfig:{label:"Summary",disabled:!Re,id:"summary"},content:(0,m.jsx)(i.Fragment,{children:(0,m.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_summary"))},children:[(0,m.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Policy Summary"}),(0,m.jsx)(s.xuv,{withBorders:!0,children:(0,m.jsx)(b,{policyStatements:_})})]})})},{tabConfig:{label:"Users",disabled:!Ee||Oe,id:"users"},content:(0,m.jsx)(i.Fragment,{children:(0,m.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_users"))},children:[(0,m.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Users"}),(0,m.jsxs)(s.rjZ,{container:!0,children:[I.length>0&&(0,m.jsx)(s.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},l.OR.actionsTray),{},{marginBottom:15}),children:(0,m.jsx)(h.Z,{value:re,placeholder:"Search Users",id:"search-resource",onChange:function(e){oe(e)}})}),(0,m.jsx)(s.wQF,{itemActions:Te,columns:[{label:"Name",elementKey:"name"}],isLoading:ae,records:Ae,entityName:"Users with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Groups",disabled:!Pe||Oe,id:"groups"},content:(0,m.jsx)(i.Fragment,{children:(0,m.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_groups"))},children:[(0,m.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Groups"}),(0,m.jsxs)(s.rjZ,{container:!0,children:[B.length>0&&(0,m.jsx)(s.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},l.OR.actionsTray),{},{marginBottom:15}),children:(0,m.jsx)(h.Z,{value:re,placeholder:"Search Groups",id:"search-resource",onChange:function(e){pe(e)}})}),(0,m.jsx)(s.wQF,{itemActions:Ie,columns:[{label:"Name",elementKey:"name"}],isLoading:ye,records:Me,entityName:"Groups with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Raw Policy",disabled:!Re,id:"raw-policy"},content:(0,m.jsx)(i.Fragment,{children:(0,m.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_policy"))},children:[(0,m.jsx)(s.SYi,{content:(0,m.jsx)(i.Fragment,{children:(0,m.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})}),placement:"right",children:(0,m.jsx)(s.NZf,{children:"Raw Policy"})}),(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(t){t.preventDefault(),H||(K(!0),_e?P.h.policies.addPolicy({name:J,policy:Y}).then((function(t){K(!1),e((0,v.y1)("Policy successfully updated")),Ne()})).catch((function(t){K(!1),e((0,v.Ih)({errorMessage:"There was an error updating the Policy ",detailedError:"There was an error updating the Policy: "+(t.error.detailedMessage||"")+". Please check Policy syntax."}))})):K(!1))},children:(0,m.jsxs)(s.rjZ,{container:!0,children:[(0,m.jsx)(s.rjZ,{item:!0,xs:12,children:(0,m.jsx)(u.Z,{value:Y,onChange:function(e){_e&&Q(e)},editorHeight:"350px",helptip:(0,m.jsx)(i.Fragment,{children:(0,m.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})})})}),(0,m.jsxs)(s.rjZ,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end",paddingTop:16,gap:8},children:[!j&&(0,m.jsx)(s.zxk,{type:"button",variant:"regular",id:"clear-policy",onClick:function(){Q("{}")},children:"Clear"}),(0,m.jsx)(p.s,{scopes:[d.Ft.ADMIN_CREATE_POLICY],resource:d.C3,errorProps:{disabled:!0},children:(0,m.jsx)(S.Z,{tooltip:_e?"":(0,d.MK)(d.XM,"edit a Policy"),children:(0,m.jsx)(s.zxk,{id:"save",type:"submit",variant:"callAction",color:"primary",disabled:H||!Fe||!_e,label:"Save"})})})]}),H&&(0,m.jsx)(s.rjZ,{item:!0,xs:12,children:(0,m.jsx)(s.kod,{})})]})})]})})}],currentTabOrPath:we,onTabClick:function(e){return Se(e)}})})]})]})}},76998:function(e,t,n){"use strict";var r=n(42458),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,c,a,s,l,u=!1;t||(t={}),n=t.debug||!1;try{if(c=r(),a=document.createRange(),s=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),a.selectNodeContents(l),s.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(a):s.removeAllRanges()),l&&document.body.removeChild(l),c()}return u}},568:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=a(n(72791)),i=a(n(76998)),c=["text","onCopy","options","children"];function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n.\n\nimport React, { Fragment } from \"react\";\nimport { Button, CodeEditor, CopyIcon } from \"mds\";\nimport CopyToClipboard from \"react-copy-to-clipboard\";\nimport TooltipWrapper from \"../../TooltipWrapper/TooltipWrapper\";\n\ninterface ICodeWrapper {\n value: string;\n label?: string;\n mode?: string;\n tooltip?: string;\n onChange: (value: string) => any;\n editorHeight?: string | number;\n helptip?: any;\n}\n\nconst CodeMirrorWrapper = ({\n value,\n label = \"\",\n tooltip = \"\",\n mode = \"json\",\n onChange,\n editorHeight = 250,\n helptip,\n}: ICodeWrapper) => {\n return (\n onChange(value)}\n mode={mode}\n tooltip={tooltip}\n editorHeight={editorHeight}\n label={label}\n helpTools={\n \n \n \n }\n color={\"primary\"}\n variant={\"regular\"}\n />\n \n \n \n }\n helpTip={helptip}\n helpTipPlacement=\"right\"\n />\n );\n};\n\nexport default CodeMirrorWrapper;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nexport const STATUS_COLORS = {\n RED: \"#C83B51\",\n GREEN: \"#4CCB92\",\n YELLOW: \"#FFBD62\",\n};\n\nexport const getDriveStatusColor = (\n activeDisks: number,\n totalDrives: number,\n) => {\n if (activeDisks <= totalDrives / 2) {\n return \"bad\";\n }\n if (totalDrives !== 2 && activeDisks === totalDrives / 2 + 1) {\n return \"warn\";\n }\n if (activeDisks === totalDrives) {\n return \"good\";\n }\n};\n\nexport const serverStatusColor = (health_status: string) => {\n switch (health_status) {\n case \"offline\":\n return \"bad\";\n case \"online\":\n return \"good\";\n default:\n return \"warn\";\n }\n};\nexport const getNetworkStatusColor = (\n activeNetwork: number,\n networkTotal: number,\n) => {\n if (activeNetwork <= networkTotal / 2) {\n return \"bad\";\n }\n if (activeNetwork === networkTotal / 2 + 1) {\n return \"warn\";\n }\n if (activeNetwork === networkTotal) {\n return \"good\";\n }\n};\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport { DisabledIcon, EnabledIcon, Box, Grid, HelpTip } from \"mds\";\nimport SearchBox from \"../Common/SearchBox\";\nimport { STATUS_COLORS } from \"../Dashboard/BasicDashboard/Utils\";\nimport { IAMStatement } from \"./types\";\n\nconst rowGridStyle = {\n display: \"grid\",\n gridTemplateColumns: \"70px 1fr\",\n gap: 15,\n};\n\nconst escapeRegExp = (str = \"\") =>\n str.replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n\nconst Highlight = ({ search = \"\", children = \"\" }): any => {\n const txtParts = new RegExp(`(${escapeRegExp(search)})`, \"i\");\n const parts = String(children).split(txtParts);\n\n if (search) {\n return parts.map((part, index) =>\n txtParts.test(part) ? {part} : part,\n );\n } else {\n return children;\n }\n};\n\nconst PolicyView = ({\n policyStatements,\n}: {\n policyStatements: IAMStatement[];\n}) => {\n const [filter, setFilter] = useState(\"\");\n\n return (\n \n \n \n \n Define which actions are permitted on a specified resource.\n Learn more about{\" \"}\n \n IAM conditional statements\n \n .\n \n }\n placement=\"right\"\n >\n \n Statements\n \n \n \n \n \n \n \n {!policyStatements && Policy has no statements}\n {policyStatements && (\n \n {policyStatements.map((stmt, i) => {\n const effect = stmt.Effect;\n const isAllow = effect === \"Allow\";\n return (\n \n \n Effect:\n \n {isAllow ? : }\n {effect}\n \n \n \n \n Actions:\n \n {stmt.Action &&\n stmt.Action.map((act, actIndex) => (\n
\n {act}\n
\n ))}\n
\n
\n \n Resources:\n \n {stmt.Resource &&\n stmt.Resource.map((res, resIndex) => (\n
\n {\" \"}\n {res}\n
\n ))}\n
\n
\n
\n \n );\n })}\n \n )}\n \n );\n};\n\nexport default PolicyView;\n","// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { IAMPolicy, IAMStatement } from \"./types\";\nimport { useSelector } from \"react-redux\";\nimport { useNavigate, useParams } from \"react-router-dom\";\nimport {\n BackLink,\n Box,\n Button,\n DataTable,\n Grid,\n IAMPoliciesIcon,\n PageLayout,\n ProgressBar,\n RefreshIcon,\n ScreenTitle,\n SectionTitle,\n Tabs,\n TrashIcon,\n HelpTip,\n} from \"mds\";\nimport { actionsTray } from \"../Common/FormComponents/common/styleLibrary\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport CodeMirrorWrapper from \"../Common/FormComponents/CodeMirrorWrapper/CodeMirrorWrapper\";\n\nimport {\n CONSOLE_UI_RESOURCE,\n createPolicyPermissions,\n deletePolicyPermissions,\n getGroupPermissions,\n IAM_PAGES,\n IAM_SCOPES,\n listGroupPermissions,\n listUsersPermissions,\n permissionTooltipHelper,\n viewPolicyPermissions,\n viewUserPermissions,\n} from \"../../../common/SecureComponent/permissions\";\nimport {\n hasPermission,\n SecureComponent,\n} from \"../../../common/SecureComponent\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nimport PolicyView from \"./PolicyView\";\nimport { decodeURLString, encodeURLString } from \"../../../common/utils\";\nimport {\n setErrorSnackMessage,\n setHelpName,\n setSnackBarMessage,\n} from \"../../../systemSlice\";\nimport { selFeatures } from \"../consoleSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport TooltipWrapper from \"../Common/TooltipWrapper/TooltipWrapper\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport { Policy } from \"../../../api/consoleApi\";\nimport { api } from \"../../../api\";\nimport HelpMenu from \"../HelpMenu\";\nimport SearchBox from \"../Common/SearchBox\";\n\nconst DeletePolicy = withSuspense(React.lazy(() => import(\"./DeletePolicy\")));\n\nconst PolicyDetails = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const params = useParams();\n\n const features = useSelector(selFeatures);\n\n const [policy, setPolicy] = useState(null);\n const [policyStatements, setPolicyStatements] = useState([]);\n const [userList, setUserList] = useState([]);\n const [groupList, setGroupList] = useState([]);\n const [addLoading, setAddLoading] = useState(false);\n\n const policyName = decodeURLString(params.policyName || \"\");\n\n const [policyDefinition, setPolicyDefinition] = useState(\"\");\n const [loadingPolicy, setLoadingPolicy] = useState(true);\n const [filterUsers, setFilterUsers] = useState(\"\");\n const [loadingUsers, setLoadingUsers] = useState(true);\n const [filterGroups, setFilterGroups] = useState(\"\");\n const [loadingGroups, setLoadingGroups] = useState(true);\n const [deleteOpen, setDeleteOpen] = useState(false);\n const [selectedTab, setSelectedTab] = useState(\"summary\");\n\n const ldapIsEnabled = (features && features.includes(\"ldap-idp\")) || false;\n\n const displayGroups = hasPermission(\n CONSOLE_UI_RESOURCE,\n listGroupPermissions,\n true,\n );\n\n const viewGroup = hasPermission(\n CONSOLE_UI_RESOURCE,\n getGroupPermissions,\n true,\n );\n\n const displayUsers = hasPermission(\n CONSOLE_UI_RESOURCE,\n listUsersPermissions,\n true,\n );\n\n const viewUser = hasPermission(\n CONSOLE_UI_RESOURCE,\n viewUserPermissions,\n true,\n );\n\n const displayPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n viewPolicyPermissions,\n true,\n );\n\n const canDeletePolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n deletePolicyPermissions,\n true,\n );\n\n const canEditPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n createPolicyPermissions,\n true,\n );\n\n const saveRecord = (event: React.FormEvent) => {\n event.preventDefault();\n if (addLoading) {\n return;\n }\n setAddLoading(true);\n if (canEditPolicy) {\n api.policies\n .addPolicy({\n name: policyName,\n policy: policyDefinition,\n })\n .then((_) => {\n setAddLoading(false);\n dispatch(setSnackBarMessage(\"Policy successfully updated\"));\n refreshPolicyDetails();\n })\n .catch((err) => {\n setAddLoading(false);\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"There was an error updating the Policy \",\n detailedError:\n \"There was an error updating the Policy: \" +\n (err.error.detailedMessage || \"\") +\n \". Please check Policy syntax.\",\n }),\n );\n });\n } else {\n setAddLoading(false);\n }\n };\n\n useEffect(() => {\n const loadUsersForPolicy = () => {\n if (loadingUsers) {\n if (displayUsers && !ldapIsEnabled) {\n api.policies\n .listUsersForPolicy(encodeURLString(policyName))\n .then((result) => {\n setUserList(result.data ?? []);\n setLoadingUsers(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingUsers(false);\n });\n } else {\n setLoadingUsers(false);\n }\n }\n };\n\n const loadGroupsForPolicy = () => {\n if (loadingGroups) {\n if (displayGroups && !ldapIsEnabled) {\n api.policies\n .listGroupsForPolicy(encodeURLString(policyName))\n .then((result) => {\n setGroupList(result.data ?? []);\n setLoadingGroups(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingGroups(false);\n });\n } else {\n setLoadingGroups(false);\n }\n }\n };\n const loadPolicyDetails = () => {\n if (loadingPolicy) {\n if (displayPolicy) {\n api.policy\n .policyInfo(encodeURLString(policyName))\n .then((result) => {\n if (result.data) {\n setPolicy(result.data);\n setPolicyDefinition(\n result\n ? JSON.stringify(JSON.parse(result.data?.policy!), null, 4)\n : \"\",\n );\n const pol: IAMPolicy = JSON.parse(result.data?.policy!);\n setPolicyStatements(pol.Statement);\n }\n setLoadingPolicy(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingPolicy(false);\n });\n } else {\n setLoadingPolicy(false);\n }\n }\n };\n\n if (loadingPolicy) {\n loadPolicyDetails();\n loadUsersForPolicy();\n loadGroupsForPolicy();\n }\n }, [\n policyName,\n loadingPolicy,\n loadingUsers,\n loadingGroups,\n setUserList,\n setGroupList,\n setPolicyDefinition,\n setPolicy,\n setLoadingUsers,\n setLoadingGroups,\n displayUsers,\n displayGroups,\n displayPolicy,\n ldapIsEnabled,\n dispatch,\n ]);\n\n const resetForm = () => {\n setPolicyDefinition(\"{}\");\n };\n\n const validSave = policyName.trim() !== \"\";\n\n const deletePolicy = () => {\n setDeleteOpen(true);\n };\n\n const closeDeleteModalAndRefresh = (refresh: boolean) => {\n setDeleteOpen(false);\n navigate(IAM_PAGES.POLICIES);\n };\n\n const userViewAction = (user: any) => {\n navigate(`${IAM_PAGES.USERS}/${encodeURLString(user)}`);\n };\n const userTableActions = [\n {\n type: \"view\",\n onClick: userViewAction,\n disableButtonFunction: () => !viewUser,\n },\n ];\n\n const filteredUsers = userList.filter((elementItem) =>\n elementItem.includes(filterUsers),\n );\n\n const groupViewAction = (group: any) => {\n navigate(`${IAM_PAGES.GROUPS}/${encodeURLString(group)}`);\n };\n\n const groupTableActions = [\n {\n type: \"view\",\n onClick: groupViewAction,\n disableButtonFunction: () => !viewGroup,\n },\n ];\n\n const filteredGroups = groupList.filter((elementItem) =>\n elementItem.includes(filterGroups),\n );\n\n const refreshPolicyDetails = () => {\n setLoadingUsers(true);\n setLoadingGroups(true);\n setLoadingPolicy(true);\n };\n\n useEffect(() => {\n dispatch(setHelpName(\"policy_details_summary\"));\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n {deleteOpen && (\n \n )}\n \n navigate(IAM_PAGES.POLICIES)}\n />\n \n }\n actions={}\n />\n \n }\n title={policyName}\n subTitle={IAM Policy}\n actions={\n \n \n \n }\n onClick={deletePolicy}\n disabled={!canDeletePolicy}\n />\n \n \n\n \n }\n onClick={() => {\n refreshPolicyDetails();\n }}\n />\n \n \n }\n sx={{ marginBottom: 15 }}\n />\n \n \n \n dispatch(setHelpName(\"policy_details_summary\"))\n }\n >\n \n Policy Summary\n \n \n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Users\",\n disabled: !displayUsers || ldapIsEnabled,\n id: \"users\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_users\"))\n }\n >\n \n Users\n \n \n {userList.length > 0 && (\n \n {\n setFilterUsers(val);\n }}\n />\n \n )}\n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Groups\",\n disabled: !displayGroups || ldapIsEnabled,\n id: \"groups\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_groups\"))\n }\n >\n \n Groups\n \n \n {groupList.length > 0 && (\n \n {\n setFilterGroups(val);\n }}\n />\n \n )}\n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Raw Policy\",\n disabled: !displayPolicy,\n id: \"raw-policy\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_policy\"))\n }\n >\n \n \n Guide to access policy structure\n \n \n }\n placement=\"right\"\n >\n Raw Policy\n \n ) => {\n saveRecord(e);\n }}\n >\n \n \n {\n if (canEditPolicy) {\n setPolicyDefinition(value);\n }\n }}\n editorHeight={\"350px\"}\n helptip={\n \n \n Guide to access policy structure\n \n \n }\n />\n \n \n {!policy && (\n {\n resetForm();\n }}\n >\n Clear\n \n )}\n \n \n \n \n \n \n {addLoading && (\n \n \n \n )}\n \n \n \n \n ),\n },\n ]}\n currentTabOrPath={selectedTab}\n onTabClick={(tab) => setSelectedTab(tab)}\n />\n \n \n \n );\n};\n\nexport default PolicyDetails;\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n"],"names":["_ref","value","_ref$label","label","_ref$tooltip","tooltip","_ref$mode","mode","onChange","_ref$editorHeight","editorHeight","helptip","_jsx","CodeEditor","helpTools","Fragment","children","TooltipWrapper","CopyToClipboard","text","Button","type","id","icon","CopyIcon","color","variant","helpTip","helpTipPlacement","STATUS_COLORS","RED","GREEN","YELLOW","getDriveStatusColor","activeDisks","totalDrives","serverStatusColor","health_status","getNetworkStatusColor","activeNetwork","networkTotal","rowGridStyle","display","gridTemplateColumns","gap","Highlight","_ref$search","search","_ref$children","txtParts","RegExp","concat","arguments","length","undefined","replace","escapeRegExp","parts","String","split","map","part","index","test","_ref2","policyStatements","_useState","useState","_useState2","_slicedToArray","filter","setFilter","_jsxs","Grid","container","item","xs","sx","alignItems","HelpTip","content","target","href","placement","sm","fontWeight","justifyContent","SearchBox","placeholder","maxWidth","borderBottom","borderTop","paddingTop","stmt","i","effect","Effect","isAllow","Box","className","fontSize","padding","marginRight","fill","height","width","EnabledIcon","DisabledIcon","Action","act","actIndex","Resource","res","resIndex","DeletePolicy","withSuspense","React","dispatch","useAppDispatch","navigate","useNavigate","params","useParams","features","useSelector","selFeatures","policy","setPolicy","_useState3","_useState4","setPolicyStatements","_useState5","_useState6","userList","setUserList","_useState7","_useState8","groupList","setGroupList","_useState9","_useState10","addLoading","setAddLoading","policyName","decodeURLString","_useState11","_useState12","policyDefinition","setPolicyDefinition","_useState13","_useState14","loadingPolicy","setLoadingPolicy","_useState15","_useState16","filterUsers","setFilterUsers","_useState17","_useState18","loadingUsers","setLoadingUsers","_useState19","_useState20","filterGroups","setFilterGroups","_useState21","_useState22","loadingGroups","setLoadingGroups","_useState23","_useState24","deleteOpen","setDeleteOpen","_useState25","_useState26","selectedTab","setSelectedTab","ldapIsEnabled","includes","displayGroups","hasPermission","CONSOLE_UI_RESOURCE","listGroupPermissions","viewGroup","getGroupPermissions","displayUsers","listUsersPermissions","viewUser","viewUserPermissions","displayPolicy","viewPolicyPermissions","canDeletePolicy","deletePolicyPermissions","canEditPolicy","createPolicyPermissions","useEffect","api","policyInfo","encodeURLString","then","result","data","_result$data3","_result$data4","JSON","stringify","parse","pol","Statement","catch","err","setErrorSnackMessage","policies","listUsersForPolicy","_result$data","listGroupsForPolicy","_result$data2","validSave","trim","userTableActions","onClick","user","IAM_PAGES","USERS","disableButtonFunction","filteredUsers","elementItem","groupTableActions","group","GROUPS","filteredGroups","refreshPolicyDetails","setHelpName","selectedPolicy","closeDeleteModalAndRefresh","refresh","POLICIES","PageHeaderWrapper","BackLink","actions","HelpMenu","PageLayout","ScreenTitle","IAMPoliciesIcon","title","subTitle","SecureComponent","scopes","IAM_SCOPES","ADMIN_DELETE_POLICY","resource","errorProps","disabled","permissionTooltipHelper","TrashIcon","RefreshIcon","marginBottom","Tabs","options","tabConfig","onMouseMove","SectionTitle","separator","withBorders","PolicyView","_objectSpread","actionsTray","val","DataTable","itemActions","columns","elementKey","isLoading","records","entityName","idField","customPaperHeight","noValidate","autoComplete","onSubmit","e","preventDefault","addPolicy","name","_","setSnackBarMessage","errorMessage","detailedError","error","detailedMessage","CodeMirrorWrapper","ADMIN_CREATE_POLICY","ProgressBar","currentTabOrPath","onTabClick","tab","deselectCurrent","require","clipboardToIE11Formatting","module","exports","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","ariaHidden","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","stopPropagation","format","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","copyKey","navigator","userAgent","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","_react","_interopRequireDefault","_copyToClipboard","_excluded","__esModule","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","enumerable","push","apply","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","call","_defineProperties","props","descriptor","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","Super","_getPrototypeOf","NewTarget","this","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","create","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","Array","_key","event","_this$props","elem","Children","only","_this$props2","cloneElement","PureComponent","rangeCount","active","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur","focus"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1191.a7906808.chunk.js b/portal-ui/build/static/js/1191.a7906808.chunk.js deleted file mode 100644 index b2d94331fe..0000000000 --- a/portal-ui/build/static/js/1191.a7906808.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1191],{92217:function(e,t,n){"use strict";var r=n(72791),o=n(29945),i=n(78029),c=n.n(i),a=n(27454),s=n(80184);t.Z=function(e){var t=e.value,n=e.label,i=void 0===n?"":n,l=e.tooltip,u=void 0===l?"":l,d=e.mode,p=void 0===d?"json":d,f=e.onChange,y=e.editorHeight,h=void 0===y?250:y;return(0,s.jsx)(o.pq4,{value:t,onChange:function(e){return f(e)},mode:p,tooltip:u,editorHeight:h,label:i,helpTools:(0,s.jsx)(r.Fragment,{children:(0,s.jsx)(a.Z,{tooltip:"Copy to Clipboard",children:(0,s.jsx)(c(),{text:t,children:(0,s.jsx)(o.zxk,{type:"button",id:"copy-code-mirror",icon:(0,s.jsx)(o.TIy,{}),color:"primary",variant:"regular"})})})})})}},879:function(e,t,n){"use strict";n.d(t,{D_:function(){return c},Et:function(){return o},GJ:function(){return i},yh:function(){return r}});var r={RED:"#C83B51",GREEN:"#4CCB92",YELLOW:"#FFBD62"},o=function(e,t){return e<=t/2?"bad":2!==t&&e===t/2+1?"warn":e===t?"good":void 0},i=function(e){switch(e){case"offline":return"bad";case"online":return"good";default:return"warn"}},c=function(e,t){return e<=t/2?"bad":e===t/2+1?"warn":e===t?"good":void 0}},1191:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var r=n(1413),o=n(29439),i=n(72791),c=n(78687),a=n(57689),s=n(29945),l=n(23814),u=n(92217),d=n(56087),p=n(38442),f=n(75578),y=n(59114),h=n(879),x=n(80184),m={display:"grid",gridTemplateColumns:"70px 1fr",gap:15},j=function(e){var t=e.search,n=void 0===t?"":t,r=e.children,o=void 0===r?"":r,i=new RegExp("(".concat(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(n),")"),"i"),c=String(o).split(i);return n?c.map((function(e,t){return i.test(e)?(0,x.jsx)("mark",{children:e},t):e})):o},b=function(e){var t=e.policyStatements,n=(0,i.useState)(""),r=(0,o.Z)(n,2),c=r[0],a=r[1];return(0,x.jsxs)(s.rjZ,{container:!0,children:[(0,x.jsx)(s.rjZ,{item:!0,xs:12,children:(0,x.jsxs)(s.rjZ,{container:!0,sx:{display:"flex",alignItems:"center"},children:[(0,x.jsx)(s.rjZ,{item:!0,xs:12,sm:6,sx:{fontWeight:"bold"},children:"Statements"}),(0,x.jsx)(s.rjZ,{item:!0,xs:12,sm:6,sx:{display:"flex",justifyContent:"flex-end"},children:(0,x.jsx)(y.Z,{placeholder:"Search",onChange:a,value:c,sx:{maxWidth:380}})})]})}),!t&&(0,x.jsx)(i.Fragment,{children:"Policy has no statements"}),t&&(0,x.jsx)(s.rjZ,{item:!0,xs:12,sx:{"& .policy-row":{borderBottom:"1px solid #eaeaea"},"& .policy-row:first-child":{borderTop:"1px solid #eaeaea"},"& .policy-row:last-child":{borderBottom:"0px"},paddingTop:"15px","& mark":{color:"#000000",fontWeight:500}},children:t.map((function(e,t){var n=e.Effect,r="Allow"===n;return(0,x.jsxs)(s.xuv,{className:"policy-row",sx:{display:"grid",gridTemplateColumns:"1fr",gap:"15px",fontSize:"14px",padding:"10px 0 10px 0","& .label":{fontWeight:600}},children:[(0,x.jsxs)(s.xuv,{sx:m,children:[(0,x.jsx)(s.xuv,{className:"label",children:"Effect:"}),(0,x.jsxs)(s.xuv,{sx:{display:"flex",alignItems:"center","& .min-icon":{marginRight:"5px",fill:r?h.yh.GREEN:h.yh.RED,height:"14px",width:"14px"}},children:[r?(0,x.jsx)(s.E31,{}):(0,x.jsx)(s.dRf,{}),n]})]}),(0,x.jsxs)(s.rjZ,{container:!0,sx:{gap:15},children:[(0,x.jsxs)(s.rjZ,{item:!0,xs:12,sm:6,sx:m,children:[(0,x.jsx)(s.xuv,{className:"label",children:"Actions:"}),(0,x.jsx)(s.xuv,{children:e.Action&&e.Action.map((function(e,n){return(0,x.jsx)("div",{children:(0,x.jsx)(j,{search:c,children:e})},"".concat(t,"-r-").concat(n))}))})]}),(0,x.jsxs)(s.rjZ,{item:!0,xs:12,sm:6,sx:m,children:[(0,x.jsx)(s.xuv,{className:"label",children:"Resources:"}),(0,x.jsx)(s.xuv,{children:e.Resource&&e.Resource.map((function(e,n){return(0,x.jsxs)("div",{children:[" ",(0,x.jsx)(j,{search:c,children:e})]},"".concat(t,"-r-").concat(n))}))})]})]})]},"".concat(t))}))})]})},g=n(45248),v=n(87995),C=n(46078),w=n(44690),S=n(27454),O=n(47974),Z=n(31776),P=n(99670),E=(0,f.Z)(i.lazy((function(){return n.e(312).then(n.bind(n,312))}))),R=function(){var e=(0,w.TL)(),t=(0,a.s0)(),n=(0,a.UO)(),f=(0,c.v9)(C.$4),h=(0,i.useState)(null),m=(0,o.Z)(h,2),j=m[0],R=m[1],k=(0,i.useState)([]),D=(0,o.Z)(k,2),_=D[0],F=D[1],T=(0,i.useState)([]),A=(0,o.Z)(T,2),I=A[0],N=A[1],L=(0,i.useState)([]),M=(0,o.Z)(L,2),B=M[0],U=M[1],G=(0,i.useState)(!1),z=(0,o.Z)(G,2),H=z[0],K=z[1],J=(0,g.IO)(n.policyName||""),W=(0,i.useState)(""),X=(0,o.Z)(W,2),Q=X[0],Y=X[1],$=(0,i.useState)(!0),q=(0,o.Z)($,2),V=q[0],ee=q[1],te=(0,i.useState)(""),ne=(0,o.Z)(te,2),re=ne[0],oe=ne[1],ie=(0,i.useState)(!0),ce=(0,o.Z)(ie,2),ae=ce[0],se=ce[1],le=(0,i.useState)(""),ue=(0,o.Z)(le,2),de=ue[0],pe=ue[1],fe=(0,i.useState)(!0),ye=(0,o.Z)(fe,2),he=ye[0],xe=ye[1],me=(0,i.useState)(!1),je=(0,o.Z)(me,2),be=je[0],ge=je[1],ve=(0,i.useState)("summary"),Ce=(0,o.Z)(ve,2),we=Ce[0],Se=Ce[1],Oe=f&&f.includes("ldap-idp")||!1,Ze=(0,p.F)(d.C3,d.K6,!0),Pe=(0,p.F)(d.C3,d.k_,!0),Ee=(0,p.F)(d.C3,d.Rs,!0),Re=(0,p.F)(d.C3,d.iw,!0),ke=(0,p.F)(d.C3,d.GD,!0),De=(0,p.F)(d.C3,d.bE,!0),_e=(0,p.F)(d.C3,d.XM,!0);(0,i.useEffect)((function(){V&&(V&&(ke?Z.h.policy.policyInfo((0,g.LL)(J)).then((function(e){if(e.data){var t,n;R(e.data),Y(e?JSON.stringify(JSON.parse(null===(t=e.data)||void 0===t?void 0:t.policy),null,4):"");var r=JSON.parse(null===(n=e.data)||void 0===n?void 0:n.policy);F(r.Statement)}ee(!1)})).catch((function(t){e((0,v.Ih)(t)),ee(!1)})):ee(!1)),ae&&(Ee&&!Oe?Z.h.policies.listUsersForPolicy((0,g.LL)(J)).then((function(e){var t;N(null!==(t=e.data)&&void 0!==t?t:[]),se(!1)})).catch((function(t){e((0,v.Ih)(t)),se(!1)})):se(!1)),he&&(Ze&&!Oe?Z.h.policies.listGroupsForPolicy((0,g.LL)(J)).then((function(e){var t;U(null!==(t=e.data)&&void 0!==t?t:[]),xe(!1)})).catch((function(t){e((0,v.Ih)(t)),xe(!1)})):xe(!1)))}),[J,V,ae,he,N,U,Y,R,se,xe,Ee,Ze,ke,Oe,e]);var Fe=""!==J.trim(),Te=[{type:"view",onClick:function(e){t("".concat(d.gA.USERS,"/").concat((0,g.LL)(e)))},disableButtonFunction:function(){return!Re}}],Ae=I.filter((function(e){return e.includes(re)})),Ie=[{type:"view",onClick:function(e){t("".concat(d.gA.GROUPS,"/").concat((0,g.LL)(e)))},disableButtonFunction:function(){return!Pe}}],Ne=B.filter((function(e){return e.includes(de)})),Le=function(){se(!0),xe(!0),ee(!0)};return(0,i.useEffect)((function(){e((0,v.Sc)("policy_details_summary"))}),[]),(0,x.jsxs)(i.Fragment,{children:[be&&(0,x.jsx)(E,{deleteOpen:be,selectedPolicy:J,closeDeleteModalAndRefresh:function(e){ge(!1),t(d.gA.POLICIES)}}),(0,x.jsx)(O.Z,{label:(0,x.jsx)(i.Fragment,{children:(0,x.jsx)(s.hbI,{label:"Policy",onClick:function(){return t(d.gA.POLICIES)}})}),actions:(0,x.jsx)(P.Z,{})}),(0,x.jsxs)(s.Xgh,{children:[(0,x.jsx)(s.UHn,{icon:(0,x.jsx)(s.v42,{width:40}),title:J,subTitle:(0,x.jsx)(i.Fragment,{children:"IAM Policy"}),actions:(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(p.s,{scopes:[d.Ft.ADMIN_DELETE_POLICY],resource:d.C3,errorProps:{disabled:!0},children:(0,x.jsx)(S.Z,{tooltip:De?"":(0,d.MK)(d.bE,"delete Policies"),children:(0,x.jsx)(s.zxk,{id:"delete-policy",label:"Delete Policy",variant:"secondary",icon:(0,x.jsx)(s.XHJ,{}),onClick:function(){ge(!0)},disabled:!De})})}),(0,x.jsx)(S.Z,{tooltip:"Refresh",children:(0,x.jsx)(s.zxk,{id:"refresh-policy",label:"Refresh",variant:"regular",icon:(0,x.jsx)(s.DuK,{}),onClick:function(){Le()}})})]}),sx:{marginBottom:15}}),(0,x.jsx)(s.xuv,{children:(0,x.jsx)(s.mQc,{options:[{tabConfig:{label:"Summary",disabled:!ke,id:"summary"},content:(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_summary"))},children:[(0,x.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Policy Summary"}),(0,x.jsx)(s.xuv,{withBorders:!0,children:(0,x.jsx)(b,{policyStatements:_})})]})})},{tabConfig:{label:"Users",disabled:!Ee||Oe,id:"users"},content:(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_users"))},children:[(0,x.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Users"}),(0,x.jsxs)(s.rjZ,{container:!0,children:[I.length>0&&(0,x.jsx)(s.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},l.OR.actionsTray),{},{marginBottom:15}),children:(0,x.jsx)(y.Z,{value:re,placeholder:"Search Users",id:"search-resource",onChange:function(e){oe(e)}})}),(0,x.jsx)(s.wQF,{itemActions:Te,columns:[{label:"Name",elementKey:"name"}],isLoading:ae,records:Ae,entityName:"Users with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Groups",disabled:!Ze||Oe,id:"groups"},content:(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_groups"))},children:[(0,x.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Groups"}),(0,x.jsxs)(s.rjZ,{container:!0,children:[B.length>0&&(0,x.jsx)(s.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},l.OR.actionsTray),{},{marginBottom:15}),children:(0,x.jsx)(y.Z,{value:re,placeholder:"Search Groups",id:"search-resource",onChange:function(e){pe(e)}})}),(0,x.jsx)(s.wQF,{itemActions:Ie,columns:[{label:"Name",elementKey:"name"}],isLoading:he,records:Ne,entityName:"Groups with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Raw Policy",disabled:!ke,id:"raw-policy"},content:(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)(s.rjZ,{onMouseMove:function(){return e((0,v.Sc)("policy_details_policy"))},children:[(0,x.jsx)(s.NZf,{separator:!0,sx:{marginBottom:15},children:"Raw Policy"}),(0,x.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(t){t.preventDefault(),H||(K(!0),_e?Z.h.policies.addPolicy({name:J,policy:Q}).then((function(t){K(!1),e((0,v.y1)("Policy successfully updated")),Le()})).catch((function(t){K(!1),e((0,v.Ih)({errorMessage:"There was an error updating the Policy ",detailedError:"There was an error updating the Policy: "+(t.error.detailedMessage||"")+". Please check Policy syntax."}))})):K(!1))},children:(0,x.jsxs)(s.rjZ,{container:!0,children:[(0,x.jsx)(s.rjZ,{item:!0,xs:12,children:(0,x.jsx)(u.Z,{value:Q,onChange:function(e){_e&&Y(e)},editorHeight:"350px"})}),(0,x.jsxs)(s.rjZ,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end",paddingTop:16,gap:8},children:[!j&&(0,x.jsx)(s.zxk,{type:"button",variant:"regular",id:"clear-policy",onClick:function(){Y("{}")},children:"Clear"}),(0,x.jsx)(p.s,{scopes:[d.Ft.ADMIN_CREATE_POLICY],resource:d.C3,errorProps:{disabled:!0},children:(0,x.jsx)(S.Z,{tooltip:_e?"":(0,d.MK)(d.XM,"edit a Policy"),children:(0,x.jsx)(s.zxk,{id:"save",type:"submit",variant:"callAction",color:"primary",disabled:H||!Fe||!_e,label:"Save"})})})]}),H&&(0,x.jsx)(s.rjZ,{item:!0,xs:12,children:(0,x.jsx)(s.kod,{})})]})})]})})}],currentTabOrPath:we,onTabClick:function(e){return Se(e)}})})]})]})}},76998:function(e,t,n){"use strict";var r=n(42458),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,c,a,s,l,u=!1;t||(t={}),n=t.debug||!1;try{if(c=r(),a=document.createRange(),s=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),a.selectNodeContents(l),s.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(a):s.removeAllRanges()),l&&document.body.removeChild(l),c()}return u}},568:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=a(n(72791)),i=a(n(76998)),c=["text","onCopy","options","children"];function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n.\n\nimport React, { Fragment } from \"react\";\nimport { Button, CodeEditor, CopyIcon } from \"mds\";\nimport CopyToClipboard from \"react-copy-to-clipboard\";\nimport TooltipWrapper from \"../../TooltipWrapper/TooltipWrapper\";\n\ninterface ICodeWrapper {\n value: string;\n label?: string;\n mode?: string;\n tooltip?: string;\n onChange: (value: string) => any;\n editorHeight?: string | number;\n}\n\nconst CodeMirrorWrapper = ({\n value,\n label = \"\",\n tooltip = \"\",\n mode = \"json\",\n onChange,\n editorHeight = 250,\n}: ICodeWrapper) => {\n return (\n onChange(value)}\n mode={mode}\n tooltip={tooltip}\n editorHeight={editorHeight}\n label={label}\n helpTools={\n \n \n \n }\n color={\"primary\"}\n variant={\"regular\"}\n />\n \n \n \n }\n />\n );\n};\n\nexport default CodeMirrorWrapper;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nexport const STATUS_COLORS = {\n RED: \"#C83B51\",\n GREEN: \"#4CCB92\",\n YELLOW: \"#FFBD62\",\n};\n\nexport const getDriveStatusColor = (\n activeDisks: number,\n totalDrives: number,\n) => {\n if (activeDisks <= totalDrives / 2) {\n return \"bad\";\n }\n if (totalDrives !== 2 && activeDisks === totalDrives / 2 + 1) {\n return \"warn\";\n }\n if (activeDisks === totalDrives) {\n return \"good\";\n }\n};\n\nexport const serverStatusColor = (health_status: string) => {\n switch (health_status) {\n case \"offline\":\n return \"bad\";\n case \"online\":\n return \"good\";\n default:\n return \"warn\";\n }\n};\nexport const getNetworkStatusColor = (\n activeNetwork: number,\n networkTotal: number,\n) => {\n if (activeNetwork <= networkTotal / 2) {\n return \"bad\";\n }\n if (activeNetwork === networkTotal / 2 + 1) {\n return \"warn\";\n }\n if (activeNetwork === networkTotal) {\n return \"good\";\n }\n};\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport { DisabledIcon, EnabledIcon, Box, Grid } from \"mds\";\nimport SearchBox from \"../Common/SearchBox\";\nimport { STATUS_COLORS } from \"../Dashboard/BasicDashboard/Utils\";\nimport { IAMStatement } from \"./types\";\n\nconst rowGridStyle = {\n display: \"grid\",\n gridTemplateColumns: \"70px 1fr\",\n gap: 15,\n};\n\nconst escapeRegExp = (str = \"\") =>\n str.replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n\nconst Highlight = ({ search = \"\", children = \"\" }): any => {\n const txtParts = new RegExp(`(${escapeRegExp(search)})`, \"i\");\n const parts = String(children).split(txtParts);\n\n if (search) {\n return parts.map((part, index) =>\n txtParts.test(part) ? {part} : part,\n );\n } else {\n return children;\n }\n};\n\nconst PolicyView = ({\n policyStatements,\n}: {\n policyStatements: IAMStatement[];\n}) => {\n const [filter, setFilter] = useState(\"\");\n\n return (\n \n \n \n \n Statements\n \n \n \n \n \n \n {!policyStatements && Policy has no statements}\n {policyStatements && (\n \n {policyStatements.map((stmt, i) => {\n const effect = stmt.Effect;\n const isAllow = effect === \"Allow\";\n return (\n \n \n Effect:\n \n {isAllow ? : }\n {effect}\n \n \n \n \n Actions:\n \n {stmt.Action &&\n stmt.Action.map((act, actIndex) => (\n
\n {act}\n
\n ))}\n
\n
\n \n Resources:\n \n {stmt.Resource &&\n stmt.Resource.map((res, resIndex) => (\n
\n {\" \"}\n {res}\n
\n ))}\n
\n
\n
\n \n );\n })}\n \n )}\n \n );\n};\n\nexport default PolicyView;\n","// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { IAMPolicy, IAMStatement } from \"./types\";\nimport { useSelector } from \"react-redux\";\nimport { useNavigate, useParams } from \"react-router-dom\";\nimport {\n BackLink,\n Box,\n Button,\n DataTable,\n Grid,\n IAMPoliciesIcon,\n PageLayout,\n ProgressBar,\n RefreshIcon,\n ScreenTitle,\n SectionTitle,\n Tabs,\n TrashIcon,\n} from \"mds\";\nimport { actionsTray } from \"../Common/FormComponents/common/styleLibrary\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport CodeMirrorWrapper from \"../Common/FormComponents/CodeMirrorWrapper/CodeMirrorWrapper\";\n\nimport {\n CONSOLE_UI_RESOURCE,\n createPolicyPermissions,\n deletePolicyPermissions,\n getGroupPermissions,\n IAM_PAGES,\n IAM_SCOPES,\n listGroupPermissions,\n listUsersPermissions,\n permissionTooltipHelper,\n viewPolicyPermissions,\n viewUserPermissions,\n} from \"../../../common/SecureComponent/permissions\";\nimport {\n hasPermission,\n SecureComponent,\n} from \"../../../common/SecureComponent\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nimport PolicyView from \"./PolicyView\";\nimport { decodeURLString, encodeURLString } from \"../../../common/utils\";\nimport {\n setErrorSnackMessage,\n setHelpName,\n setSnackBarMessage,\n} from \"../../../systemSlice\";\nimport { selFeatures } from \"../consoleSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport TooltipWrapper from \"../Common/TooltipWrapper/TooltipWrapper\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport { Policy } from \"../../../api/consoleApi\";\nimport { api } from \"../../../api\";\nimport HelpMenu from \"../HelpMenu\";\nimport SearchBox from \"../Common/SearchBox\";\n\nconst DeletePolicy = withSuspense(React.lazy(() => import(\"./DeletePolicy\")));\n\nconst PolicyDetails = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const params = useParams();\n\n const features = useSelector(selFeatures);\n\n const [policy, setPolicy] = useState(null);\n const [policyStatements, setPolicyStatements] = useState([]);\n const [userList, setUserList] = useState([]);\n const [groupList, setGroupList] = useState([]);\n const [addLoading, setAddLoading] = useState(false);\n\n const policyName = decodeURLString(params.policyName || \"\");\n\n const [policyDefinition, setPolicyDefinition] = useState(\"\");\n const [loadingPolicy, setLoadingPolicy] = useState(true);\n const [filterUsers, setFilterUsers] = useState(\"\");\n const [loadingUsers, setLoadingUsers] = useState(true);\n const [filterGroups, setFilterGroups] = useState(\"\");\n const [loadingGroups, setLoadingGroups] = useState(true);\n const [deleteOpen, setDeleteOpen] = useState(false);\n const [selectedTab, setSelectedTab] = useState(\"summary\");\n\n const ldapIsEnabled = (features && features.includes(\"ldap-idp\")) || false;\n\n const displayGroups = hasPermission(\n CONSOLE_UI_RESOURCE,\n listGroupPermissions,\n true,\n );\n\n const viewGroup = hasPermission(\n CONSOLE_UI_RESOURCE,\n getGroupPermissions,\n true,\n );\n\n const displayUsers = hasPermission(\n CONSOLE_UI_RESOURCE,\n listUsersPermissions,\n true,\n );\n\n const viewUser = hasPermission(\n CONSOLE_UI_RESOURCE,\n viewUserPermissions,\n true,\n );\n\n const displayPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n viewPolicyPermissions,\n true,\n );\n\n const canDeletePolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n deletePolicyPermissions,\n true,\n );\n\n const canEditPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n createPolicyPermissions,\n true,\n );\n\n const saveRecord = (event: React.FormEvent) => {\n event.preventDefault();\n if (addLoading) {\n return;\n }\n setAddLoading(true);\n if (canEditPolicy) {\n api.policies\n .addPolicy({\n name: policyName,\n policy: policyDefinition,\n })\n .then((_) => {\n setAddLoading(false);\n dispatch(setSnackBarMessage(\"Policy successfully updated\"));\n refreshPolicyDetails();\n })\n .catch((err) => {\n setAddLoading(false);\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"There was an error updating the Policy \",\n detailedError:\n \"There was an error updating the Policy: \" +\n (err.error.detailedMessage || \"\") +\n \". Please check Policy syntax.\",\n }),\n );\n });\n } else {\n setAddLoading(false);\n }\n };\n\n useEffect(() => {\n const loadUsersForPolicy = () => {\n if (loadingUsers) {\n if (displayUsers && !ldapIsEnabled) {\n api.policies\n .listUsersForPolicy(encodeURLString(policyName))\n .then((result) => {\n setUserList(result.data ?? []);\n setLoadingUsers(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingUsers(false);\n });\n } else {\n setLoadingUsers(false);\n }\n }\n };\n\n const loadGroupsForPolicy = () => {\n if (loadingGroups) {\n if (displayGroups && !ldapIsEnabled) {\n api.policies\n .listGroupsForPolicy(encodeURLString(policyName))\n .then((result) => {\n setGroupList(result.data ?? []);\n setLoadingGroups(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingGroups(false);\n });\n } else {\n setLoadingGroups(false);\n }\n }\n };\n const loadPolicyDetails = () => {\n if (loadingPolicy) {\n if (displayPolicy) {\n api.policy\n .policyInfo(encodeURLString(policyName))\n .then((result) => {\n if (result.data) {\n setPolicy(result.data);\n setPolicyDefinition(\n result\n ? JSON.stringify(JSON.parse(result.data?.policy!), null, 4)\n : \"\",\n );\n const pol: IAMPolicy = JSON.parse(result.data?.policy!);\n setPolicyStatements(pol.Statement);\n }\n setLoadingPolicy(false);\n })\n .catch((err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n setLoadingPolicy(false);\n });\n } else {\n setLoadingPolicy(false);\n }\n }\n };\n\n if (loadingPolicy) {\n loadPolicyDetails();\n loadUsersForPolicy();\n loadGroupsForPolicy();\n }\n }, [\n policyName,\n loadingPolicy,\n loadingUsers,\n loadingGroups,\n setUserList,\n setGroupList,\n setPolicyDefinition,\n setPolicy,\n setLoadingUsers,\n setLoadingGroups,\n displayUsers,\n displayGroups,\n displayPolicy,\n ldapIsEnabled,\n dispatch,\n ]);\n\n const resetForm = () => {\n setPolicyDefinition(\"{}\");\n };\n\n const validSave = policyName.trim() !== \"\";\n\n const deletePolicy = () => {\n setDeleteOpen(true);\n };\n\n const closeDeleteModalAndRefresh = (refresh: boolean) => {\n setDeleteOpen(false);\n navigate(IAM_PAGES.POLICIES);\n };\n\n const userViewAction = (user: any) => {\n navigate(`${IAM_PAGES.USERS}/${encodeURLString(user)}`);\n };\n const userTableActions = [\n {\n type: \"view\",\n onClick: userViewAction,\n disableButtonFunction: () => !viewUser,\n },\n ];\n\n const filteredUsers = userList.filter((elementItem) =>\n elementItem.includes(filterUsers),\n );\n\n const groupViewAction = (group: any) => {\n navigate(`${IAM_PAGES.GROUPS}/${encodeURLString(group)}`);\n };\n\n const groupTableActions = [\n {\n type: \"view\",\n onClick: groupViewAction,\n disableButtonFunction: () => !viewGroup,\n },\n ];\n\n const filteredGroups = groupList.filter((elementItem) =>\n elementItem.includes(filterGroups),\n );\n\n const refreshPolicyDetails = () => {\n setLoadingUsers(true);\n setLoadingGroups(true);\n setLoadingPolicy(true);\n };\n\n useEffect(() => {\n dispatch(setHelpName(\"policy_details_summary\"));\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n {deleteOpen && (\n \n )}\n \n navigate(IAM_PAGES.POLICIES)}\n />\n \n }\n actions={}\n />\n \n }\n title={policyName}\n subTitle={IAM Policy}\n actions={\n \n \n \n }\n onClick={deletePolicy}\n disabled={!canDeletePolicy}\n />\n \n \n\n \n }\n onClick={() => {\n refreshPolicyDetails();\n }}\n />\n \n \n }\n sx={{ marginBottom: 15 }}\n />\n \n \n \n dispatch(setHelpName(\"policy_details_summary\"))\n }\n >\n \n Policy Summary\n \n \n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Users\",\n disabled: !displayUsers || ldapIsEnabled,\n id: \"users\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_users\"))\n }\n >\n \n Users\n \n \n {userList.length > 0 && (\n \n {\n setFilterUsers(val);\n }}\n />\n \n )}\n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Groups\",\n disabled: !displayGroups || ldapIsEnabled,\n id: \"groups\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_groups\"))\n }\n >\n \n Groups\n \n \n {groupList.length > 0 && (\n \n {\n setFilterGroups(val);\n }}\n />\n \n )}\n \n \n \n \n ),\n },\n {\n tabConfig: {\n label: \"Raw Policy\",\n disabled: !displayPolicy,\n id: \"raw-policy\",\n },\n content: (\n \n \n dispatch(setHelpName(\"policy_details_policy\"))\n }\n >\n \n Raw Policy\n \n ) => {\n saveRecord(e);\n }}\n >\n \n \n {\n if (canEditPolicy) {\n setPolicyDefinition(value);\n }\n }}\n editorHeight={\"350px\"}\n />\n \n \n {!policy && (\n {\n resetForm();\n }}\n >\n Clear\n \n )}\n \n \n \n \n \n \n {addLoading && (\n \n \n \n )}\n \n \n \n \n ),\n },\n ]}\n currentTabOrPath={selectedTab}\n onTabClick={(tab) => setSelectedTab(tab)}\n />\n \n \n \n );\n};\n\nexport default PolicyDetails;\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n"],"names":["_ref","value","_ref$label","label","_ref$tooltip","tooltip","_ref$mode","mode","onChange","_ref$editorHeight","editorHeight","_jsx","CodeEditor","helpTools","Fragment","children","TooltipWrapper","CopyToClipboard","text","Button","type","id","icon","CopyIcon","color","variant","STATUS_COLORS","RED","GREEN","YELLOW","getDriveStatusColor","activeDisks","totalDrives","serverStatusColor","health_status","getNetworkStatusColor","activeNetwork","networkTotal","rowGridStyle","display","gridTemplateColumns","gap","Highlight","_ref$search","search","_ref$children","txtParts","RegExp","concat","arguments","length","undefined","replace","escapeRegExp","parts","String","split","map","part","index","test","_ref2","policyStatements","_useState","useState","_useState2","_slicedToArray","filter","setFilter","_jsxs","Grid","container","item","xs","sx","alignItems","sm","fontWeight","justifyContent","SearchBox","placeholder","maxWidth","borderBottom","borderTop","paddingTop","stmt","i","effect","Effect","isAllow","Box","className","fontSize","padding","marginRight","fill","height","width","EnabledIcon","DisabledIcon","Action","act","actIndex","Resource","res","resIndex","DeletePolicy","withSuspense","React","dispatch","useAppDispatch","navigate","useNavigate","params","useParams","features","useSelector","selFeatures","policy","setPolicy","_useState3","_useState4","setPolicyStatements","_useState5","_useState6","userList","setUserList","_useState7","_useState8","groupList","setGroupList","_useState9","_useState10","addLoading","setAddLoading","policyName","decodeURLString","_useState11","_useState12","policyDefinition","setPolicyDefinition","_useState13","_useState14","loadingPolicy","setLoadingPolicy","_useState15","_useState16","filterUsers","setFilterUsers","_useState17","_useState18","loadingUsers","setLoadingUsers","_useState19","_useState20","filterGroups","setFilterGroups","_useState21","_useState22","loadingGroups","setLoadingGroups","_useState23","_useState24","deleteOpen","setDeleteOpen","_useState25","_useState26","selectedTab","setSelectedTab","ldapIsEnabled","includes","displayGroups","hasPermission","CONSOLE_UI_RESOURCE","listGroupPermissions","viewGroup","getGroupPermissions","displayUsers","listUsersPermissions","viewUser","viewUserPermissions","displayPolicy","viewPolicyPermissions","canDeletePolicy","deletePolicyPermissions","canEditPolicy","createPolicyPermissions","useEffect","api","policyInfo","encodeURLString","then","result","data","_result$data3","_result$data4","JSON","stringify","parse","pol","Statement","catch","err","setErrorSnackMessage","policies","listUsersForPolicy","_result$data","listGroupsForPolicy","_result$data2","validSave","trim","userTableActions","onClick","user","IAM_PAGES","USERS","disableButtonFunction","filteredUsers","elementItem","groupTableActions","group","GROUPS","filteredGroups","refreshPolicyDetails","setHelpName","selectedPolicy","closeDeleteModalAndRefresh","refresh","POLICIES","PageHeaderWrapper","BackLink","actions","HelpMenu","PageLayout","ScreenTitle","IAMPoliciesIcon","title","subTitle","SecureComponent","scopes","IAM_SCOPES","ADMIN_DELETE_POLICY","resource","errorProps","disabled","permissionTooltipHelper","TrashIcon","RefreshIcon","marginBottom","Tabs","options","tabConfig","content","onMouseMove","SectionTitle","separator","withBorders","PolicyView","_objectSpread","actionsTray","val","DataTable","itemActions","columns","elementKey","isLoading","records","entityName","idField","customPaperHeight","noValidate","autoComplete","onSubmit","e","preventDefault","addPolicy","name","_","setSnackBarMessage","errorMessage","detailedError","error","detailedMessage","CodeMirrorWrapper","ADMIN_CREATE_POLICY","ProgressBar","currentTabOrPath","onTabClick","tab","deselectCurrent","require","clipboardToIE11Formatting","module","exports","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","ariaHidden","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","stopPropagation","format","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","copyKey","navigator","userAgent","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","_react","_interopRequireDefault","_copyToClipboard","_excluded","__esModule","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","enumerable","push","apply","target","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","call","_defineProperties","props","descriptor","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","Super","_getPrototypeOf","NewTarget","this","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","create","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","Array","_key","event","_this$props","elem","Children","only","_this$props2","cloneElement","PureComponent","rangeCount","active","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur","focus"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/134.3f6d60a2.chunk.js b/portal-ui/build/static/js/134.3f6d60a2.chunk.js deleted file mode 100644 index ca0d29923a..0000000000 --- a/portal-ui/build/static/js/134.3f6d60a2.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[134],{13901:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3v-3h18v3z"}),"CallToAction");t.Z=u},31292:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"Code");t.Z=u},61809:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M8 19h3v3h2v-3h3l-4-4-4 4zm8-15h-3V1h-2v3H8l4 4 4-4zM4 9v2h16V9H4zm0 3h16v2H4z"}),"Compress");t.Z=u},67055:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"}),"FindReplace");t.Z=u},98095:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z"}),"LocalHospital");t.Z=u},36909:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M17 12c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm1.65 7.35L16.5 17.2V14h1v2.79l1.85 1.85-.7.71zM18 3h-3.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H6c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h6.11c-.59-.57-1.07-1.25-1.42-2H6V5h2v3h8V5h2v5.08c.71.1 1.38.31 2 .6V5c0-1.1-.9-2-2-2zm-6 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"PendingActions");t.Z=u},87569:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}),"Public");t.Z=u},21141:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),c=n(80184),u=(0,o.default)((0,c.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");t.Z=u},45649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28610)},31260:function(e,t,n){"use strict";var r=n(78949);t.Z=r.Z},28610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return c.Z},createSvgIcon:function(){return u.Z},debounce:function(){return i.Z},deprecatedPropType:function(){return a},isMuiElement:function(){return l.Z},ownerDocument:function(){return f.Z},ownerWindow:function(){return s.Z},requirePropFactory:function(){return p},setRef:function(){return d},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return v.Z},unstable_useId:function(){return y.Z},unsupportedProp:function(){return b},useControlled:function(){return h.Z},useEventCallback:function(){return m.Z},useForkRef:function(){return g.Z},useIsFocusVisible:function(){return C.Z}});var r=n(55902),o=n(14036),c=n(31260),u=n(76189),i=n(83199);var a=function(e,t){return function(){return null}},l=n(19103),f=n(98301),s=n(17602);n(87462);var p=function(e,t){return function(){return null}},d=n(62971).Z,v=n(40162),y=n(67384);var b=function(e,t,n,r,o){return null},h=n(98278),m=n(89683),g=n(42071),C=n(23031),w={configure:function(e){r.Z.configure(e)}}},19103:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72791);var o=function(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},78949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){for(var n=0;n null;\n }\n return (props, propName, componentName, location, propFullName) => {\n const componentNameSafe = componentName || '<>';\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The ${location} \\`${propFullNameSafe}\\` of ` + `\\`${componentNameSafe}\\` is deprecated. ${reason}`);\n }\n return null;\n };\n}","import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils';\nexport default requirePropFactory;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function requirePropFactory(componentNameInError, Component) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n\n // eslint-disable-next-line react/forbid-foreign-prop-types\n const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;\n const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {\n const propFullNameSafe = propFullName || propName;\n const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];\n if (defaultTypeChecker) {\n const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);\n if (typeCheckerResult) {\n return typeCheckerResult;\n }\n }\n if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {\n return new Error(`The prop \\`${propFullNameSafe}\\` of ` + `\\`${componentNameInError}\\` can only be used together with the \\`${requiredProp}\\` prop.`);\n }\n return null;\n };\n return requireProp;\n}","import { unstable_setRef as setRef } from '@mui/utils';\nexport default setRef;","import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils';\nexport default unsupportedProp;","export default function unsupportedProp(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The prop \\`${propFullNameSafe}\\` is not supported. Please remove it.`);\n }\n return null;\n}","'use client';\n\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/base/ClassNameGenerator';\nexport { default as capitalize } from './capitalize';\nexport { default as createChainedFunction } from './createChainedFunction';\nexport { default as createSvgIcon } from './createSvgIcon';\nexport { default as debounce } from './debounce';\nexport { default as deprecatedPropType } from './deprecatedPropType';\nexport { default as isMuiElement } from './isMuiElement';\nexport { default as ownerDocument } from './ownerDocument';\nexport { default as ownerWindow } from './ownerWindow';\nexport { default as requirePropFactory } from './requirePropFactory';\nexport { default as setRef } from './setRef';\nexport { default as unstable_useEnhancedEffect } from './useEnhancedEffect';\nexport { default as unstable_useId } from './useId';\nexport { default as unsupportedProp } from './unsupportedProp';\nexport { default as useControlled } from './useControlled';\nexport { default as useEventCallback } from './useEventCallback';\nexport { default as useForkRef } from './useForkRef';\nexport { default as useIsFocusVisible } from './useIsFocusVisible';\n// TODO: remove this export once ClassNameGenerator is stable\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const unstable_ClassNameGenerator = {\n configure: generator => {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(['MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.', '', \"You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead\", '', 'The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401', '', 'The updated documentation: https://mui.com/guides/classname-generator/'].join('\\n'));\n }\n ClassNameGenerator.configure(generator);\n }\n};","import { unstable_isMuiElement as isMuiElement } from '@mui/utils';\nexport default isMuiElement;","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n var _muiName, _element$type;\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n (_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;\n}","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","Object","defineProperty","value","enumerable","get","_utils","createSvgIcon","createChainedFunction","validator","reason","componentNameInError","Component","props","propName","componentName","location","propFullName","unstable_ClassNameGenerator","configure","generator","ClassNameGenerator","element","muiNames","_muiName","_element$type","React","indexOf","type","muiName","_payload","_len","arguments","length","funcs","Array","_key","reduce","acc","func","_len2","args","_key2","apply","this","deselectCurrent","clipboardToIE11Formatting","module","text","options","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","ariaHidden","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","e","stopPropagation","format","preventDefault","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","test","navigator","userAgent","replace","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","constructor","prototype","CopyToClipboard","_react","_copyToClipboard","_excluded","__esModule","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","_objectSpread","target","i","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","call","_defineProperties","descriptor","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","create","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","concat","event","_this$props","children","elem","Children","only","onClick","_this$props2","cloneElement","PureComponent","undefined","rangeCount","active","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur","focus"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1432.1b192c18.chunk.js b/portal-ui/build/static/js/1432.1b192c18.chunk.js new file mode 100644 index 0000000000..4699649154 --- /dev/null +++ b/portal-ui/build/static/js/1432.1b192c18.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1432,4770],{59447:function(e,n,t){var i=t(93433),o=t(29439),a=t(72791),r=t(26181),l=t.n(r),s=t(29945),c=t(80184);n.Z=function(e){var n=e.elements,t=e.name,r=e.label,u=e.tooltip,d=void 0===u?"":u,f=e.commonPlaceholder,p=void 0===f?"":f,h=e.onChange,m=e.withBorder,v=void 0!==m&&m,x=(0,a.useState)([""]),g=(0,o.Z)(x,2),b=g[0],y=g[1],j=(0,a.createRef)();(0,a.useEffect)((function(){if(1===b.length&&""===b[0]&&n&&""!==n){var e=n.split(",");e.push(""),y(e)}}),[n,b]),(0,a.useEffect)((function(){if(b.length>1){var e=j.current;e&&e.scrollIntoView(!1)}}),[b,j]);var k=(0,a.useCallback)((function(e){h(e)}),[h]),_=(0,a.useRef)(!0);(0,a.useEffect)((function(){if(_.current)_.current=!1;else{var e=b.filter((function(e){return""!==e.trim()})).join(",");k(e)}}),[b]);var C=function(e){e.persist();var n=(0,i.Z)(b),t=l()(e.target,"dataset.index","0");n[parseInt(t)]=e.target.value,y(n)},S=b.map((function(e,n){return(0,c.jsx)(s.Wzg,{id:"".concat(t,"-").concat(n.toString()),label:"",name:"".concat(t,"-").concat(n.toString()),value:b[n],onChange:C,index:n,placeholder:p,overlayIcon:n===b.length-1?(0,c.jsx)(s.dtP,{}):null,overlayAction:function(){!function(e){if(""!==e[e.length-1].trim()){var n=(0,i.Z)(e);n.push(""),y(n)}}(b)}},"csv-multi-".concat(t,"-").concat(n.toString()))}));return(0,c.jsx)(a.Fragment,{children:(0,c.jsxs)(s.xuv,{sx:{display:"flex"},className:"inputItem",children:[(0,c.jsxs)(s.AZs,{sx:{alignItems:"flex-start"},children:[(0,c.jsx)("span",{children:r}),""!==d&&(0,c.jsx)(s.xuv,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,c.jsx)(s.ua7,{tooltip:d,placement:"top",children:(0,c.jsx)(s.xuv,{className:d,children:(0,c.jsx)(s.byK,{})})})})]}),(0,c.jsxs)(s.xuv,{withBorders:v,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[S,(0,c.jsx)("div",{ref:j})]})]})})}},11432:function(e,n,t){t.r(n),t.d(n,{default:function(){return B}});var i=t(74165),o=t(15861),a=t(29439),r=t(72791),l=t(29945),s=t(58493),c=t(57689),u=t(26181),d=t.n(u),f=t(78687),p=t(31776),h=t(82342),m=t(87995),v=t(44690),x=t(93433),g=t(56028),b=t(23814),y=t(80184),j=function(e){var n=e.open,t=e.type,i=e.onCloseEndpoint,o=(0,r.useState)(""),s=(0,a.Z)(o,2),c=s[0],u=s[1],d=(0,r.useState)(""),f=(0,a.Z)(d,2),j=f[0],k=f[1],_=(0,r.useState)(""),C=(0,a.Z)(_,2),S=C[0],w=C[1],E=(0,r.useState)(!1),Z=(0,a.Z)(E,2),A=Z[0],I=Z[1],T=(0,r.useState)(["name","endpoint"]),q=(0,a.Z)(T,2),L=q[0],D=q[1],N=(0,r.useState)(["name","endpoint","auth-token"]),R=(0,a.Z)(N,2),z=R[0],W=R[1],P=(0,v.TL)(),F=function(e){W(z.filter((function(n){return n!==e})))},B=function(e,n){L.includes(e)&&n?D(L.filter((function(n){return n!==e}))):n||L.includes(e)||D([].concat((0,x.Z)(L),[e]))},M="Add new Webhook",O=(0,y.jsx)(l.tYf,{});switch(t){case"logger_webhook":M="New Logger Webhook",O=(0,y.jsx)(l.zD0,{});break;case"audit_webhook":M="New Audit Webhook",O=(0,y.jsx)(l.Pd4,{})}return(0,y.jsx)(r.Fragment,{children:(0,y.jsxs)(g.Z,{modalOpen:n,title:M,onClose:i,titleIcon:O,children:[(0,y.jsxs)(l.ltY,{containerPadding:!1,withBorders:!1,children:[(0,y.jsx)(l.Wzg,{id:"name",name:"name",onChange:function(e){F("name"),u(e.target.value),B("name",e.target.validity.valid)},error:L.includes("name")&&!z.includes("name")?"Invalid Name":"",label:"Name",value:c,pattern:"^(?=.*[a-zA-Z0-9]).{1,}$",required:!0}),(0,y.jsx)(l.Wzg,{id:"endpoint",name:"endpoint",onChange:function(e){F("endpoint"),k(e.target.value),B("endpoint",e.target.validity.valid)},error:L.includes("endpoint")&&!z.includes("endpoint")?"Invalid Endpoint set":"",label:"Endpoint",value:j,pattern:"^(https?):\\/\\/([a-zA-Z0-9\\-.]+)(:[0-9]+)?(\\/[a-zA-Z0-9\\-.\\/]*)?$",required:!0}),(0,y.jsx)(l.Wzg,{id:"auth-token",name:"auth-token",onChange:function(e){F("auth-token"),w(e.target.value)},label:"Auth Token",value:S})]}),A&&(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{marginBottom:10},children:(0,y.jsx)(l.kod,{})}),(0,y.jsxs)(l.rjZ,{item:!0,xs:12,sx:b.ID.modalButtonBar,children:[(0,y.jsx)(l.zxk,{id:"reset",type:"button",variant:"regular",disabled:A,onClick:i,label:"Cancel",sx:{marginRight:10}}),(0,y.jsx)(l.zxk,{id:"save-lifecycle",type:"submit",variant:"callAction",color:"primary",disabled:A||0!==L.length,label:"Save",onClick:function(){if(!A&&0===L.length)if(""!==c.trim())if(""!==j.trim()){I(!0);var e={key_values:[{key:"endpoint",value:j},{key:"auth_token",value:S}],arn_resource_id:c};p.h.configs.setConfig(t,e).then((function(e){I(!1),P((0,m.cN)(e.data.restart||!1)),e.data.restart||P((0,m.y1)("Configuration saved successfully")),i(),P((0,m.Ie)(!0))})).catch((function(e){I(!1),P((0,m.Ih)((0,h.g)(e.error)))}))}else D([].concat((0,x.Z)(L),["endpoint"]));else D([].concat((0,x.Z)(L),["name"]))}})]})]})})},k=t(23508),_=function(e){var n=e.modalOpen,t=e.onClose,i=e.selectedARN,o=(0,r.useState)(!1),s=(0,a.Z)(o,2),c=s[0],u=s[1],d=(0,v.TL)();(0,r.useEffect)((function(){c&&p.h.configs.resetConfig(i).then((function(){u(!1),d((0,m.cN)(!0)),d((0,m.Ie)(!0)),t()})).catch((function(e){u(!1),d((0,m.Ih)((0,h.g)(e.error)))}))}),[c,d,t,i]);var f=!i.includes(":"),x="Are you sure you want to delete the Configured Endpoint";return f&&(x="Are you sure you want to reset the Default"),(0,y.jsx)(k.Z,{title:f?"Reset Default Webhook":"Delete Webhook",confirmText:f?"Reset":"Delete",isOpen:n,isLoading:c,onConfirm:function(){u(!0)},titleIcon:(0,y.jsx)(l.NvT,{}),onClose:t,confirmationContent:(0,y.jsxs)(r.Fragment,{children:["".concat(x," "),(0,y.jsx)("strong",{children:i}),"?"]})})},C=function(e){var n,t,i,o,c,u,d=e.open,f=e.type,j=e.endpointInfo,k=e.onCloseEndpoint,_=(0,r.useState)(""),C=(0,a.Z)(_,2),S=C[0],w=C[1],E=(0,r.useState)(""),Z=(0,a.Z)(E,2),A=Z[0],I=Z[1],T=(0,r.useState)(""),q=(0,a.Z)(T,2),L=q[0],D=q[1],N=(0,r.useState)("on"),R=(0,a.Z)(N,2),z=R[0],W=R[1],P=(0,r.useState)(!1),F=(0,a.Z)(P,2),B=F[0],M=F[1],O=(0,r.useState)([]),K=(0,a.Z)(O,2),Y=K[0],V=K[1],H=(0,v.TL)();(0,r.useEffect)((function(){if(j){var e=j.key_values.find((function(e){return"endpoint"===e.key})),n=j.key_values.find((function(e){return"auth_token"===e.key})),t=j.key_values.find((function(e){return"enable"===e.key})),i=[];if(e){var o=e.value;""===o?i.push("endpoint"):I(o)}if(n){var a=n.value;""===a?i.push("auth-token"):D(a)}t&&"off"===t.value&&W(t.value),w(j.name||""),V(i)}}),[j]);var U=!S.includes(":"),G=j.key_values.filter((function(e){return!!e.env_override})),$=(0,s.F_)(G),J="Edit Webhook",Q=(0,y.jsx)(l.tYf,{});switch(f){case"logger_webhook":J="Edit ".concat(U?" the Default ":"","Logger Webhook"),Q=(0,y.jsx)(l.zD0,{});break;case"audit_webhook":J="Edit ".concat(U?" the Default ":"","Audit Webhook"),Q=(0,y.jsx)(l.Pd4,{})}return G.length>0&&(J="View env variable Webhook"),(0,y.jsx)(r.Fragment,{children:(0,y.jsx)(g.Z,{modalOpen:d,title:"".concat(J).concat(U?"":" - ".concat(S)),onClose:k,titleIcon:Q,children:(0,y.jsx)(l.ltY,{withBorders:!1,containerPadding:!1,children:G.length>0?(0,y.jsxs)(r.Fragment,{children:[(0,y.jsx)(l.bSr,{label:"Enabled",sx:{width:"100%"},actionButton:(0,y.jsx)(l.rjZ,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,y.jsx)(l.ua7,{tooltip:$.enable?"This value is set from the ".concat((null===(n=$.enable)||void 0===n?void 0:n.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,y.jsx)(l.zD0,{style:{width:20}})})}),children:(null===(t=$.enable)||void 0===t?void 0:t.value)||"-"}),(0,y.jsx)(l.bSr,{label:"Endpoint",sx:{width:"100%"},actionButton:(0,y.jsx)(l.rjZ,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,y.jsx)(l.ua7,{tooltip:$.enable?"This value is set from the ".concat((null===(i=$.endpoint)||void 0===i?void 0:i.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,y.jsx)(l.zD0,{style:{width:20}})})}),children:(null===(o=$.endpoint)||void 0===o?void 0:o.value)||"-"}),(0,y.jsx)(l.bSr,{label:"Auth Token",sx:{width:"100%"},actionButton:(0,y.jsx)(l.rjZ,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,y.jsx)(l.ua7,{tooltip:$.enable?"This value is set from the ".concat((null===(c=$.auth_token)||void 0===c?void 0:c.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,y.jsx)(l.zD0,{style:{width:20}})})}),children:(null===(u=$.auth_token)||void 0===u?void 0:u.value)||"-"})]}):(0,y.jsxs)(r.Fragment,{children:[(0,y.jsx)(l.rsf,{onChange:function(e){var n=e.target.checked?"on":"off";W(n)},id:"endpoint_enabled",name:"endpoint_enabled",label:"Enabled",value:"switch_on",checked:"on"===z}),(0,y.jsx)(l.Wzg,{id:"endpoint",name:"endpoint",onChange:function(e){I(e.target.value),function(e,n){Y.includes(e)&&n?V(Y.filter((function(n){return n!==e}))):n||Y.includes(e)||V([].concat((0,x.Z)(Y),[e]))}("endpoint",e.target.validity.valid)},error:Y.includes("endpoint")?"Invalid Endpoint set":"",label:"Endpoint",value:A,pattern:"^(https?):\\/\\/([a-zA-Z0-9\\-.]+)(:[0-9]+)?(\\/[a-zA-Z0-9\\-.\\/]*)?$",required:!0}),(0,y.jsx)(l.Wzg,{id:"auth-token",name:"auth-token",onChange:function(e){D(e.target.value)},label:"Auth Token",value:L}),B&&(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{marginBottom:10},children:(0,y.jsx)(l.kod,{})}),(0,y.jsxs)(l.rjZ,{item:!0,sx:b.ID.modalButtonBar,children:[(0,y.jsx)(l.zxk,{id:"reset",type:"button",variant:"regular",disabled:B,onClick:k,label:"Cancel"}),(0,y.jsx)(l.zxk,{id:"save-lifecycle",type:"submit",variant:"callAction",color:"primary",disabled:B||0!==Y.length,label:"Update",onClick:function(){if(!B&&0===Y.length)if(A&&""!==A.trim()){M(!0);var e={key_values:[{key:"endpoint",value:A},{key:"auth_token",value:L},{key:"enable",value:z}]};p.h.configs.setConfig(S,e).then((function(e){M(!1),H((0,m.cN)(e.data.restart||!1)),e.data.restart||H((0,m.y1)("Configuration saved successfully")),k(),H((0,m.Ie)(!0))})).catch((function(e){M(!1),H((0,m.Ih)((0,h.g)(e.error)))}))}else V([].concat((0,x.Z)(Y),["endpoint"]))}})]})]})})})})},S=function(e){e.setResetConfigurationOpen;var n=e.WebhookSettingslist,t=e.type,i=(0,r.useState)(!1),o=(0,a.Z)(i,2),s=o[0],c=o[1],u=(0,r.useState)(!1),d=(0,a.Z)(u,2),f=d[0],p=d[1],h=(0,r.useState)(!1),m=(0,a.Z)(h,2),v=m[0],x=m[1],g=(0,r.useState)(""),b=(0,a.Z)(g,2),k=b[0],S=b[1],w=(0,r.useState)(null),E=(0,a.Z)(w,2),Z=E[0],A=E[1],I=[{type:"view",onClick:function(e){e.name&&(x(!0),A(e))}},{type:"delete",onClick:function(e){e.name&&(p(!0),S(e.name))},disableButtonFunction:function(e){var t=n.find((function(n){return n.name===e}));if(t){var i,o=null===(i=t.key_values)||void 0===i?void 0:i.filter((function(e){return!!e.env_override}));return!!(o&&o.length>0)}return!1}}];return(0,y.jsxs)(l.rjZ,{container:!0,children:[s&&(0,y.jsx)(j,{open:s,type:t,onCloseEndpoint:function(){c(!1)}}),f&&(0,y.jsx)(_,{modalOpen:f,onClose:function(){p(!1),S("")},selectedARN:k,type:t}),v&&Z&&(0,y.jsx)(C,{open:v,type:t,endpointInfo:Z,onCloseEndpoint:function(){x(!1),A(null)}}),(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end"},children:(0,y.jsx)(l.zxk,{id:"newWebhook",variant:"callAction",onClick:function(){c(!0)},children:"New Endpoint"})}),(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{padding:"0 10px 10px"},children:(0,y.jsxs)(r.Fragment,{children:[(0,y.jsx)("h3",{children:"Currently Configured Endpoints"}),(0,y.jsx)(l.wQF,{columns:[{label:"Status",elementKey:"key_values",renderFunction:function(e){var n=e.find((function(e){return"enable"===e.key}));if(null!==n&&void 0!==n&&n.env_override){var t=null!==n&&void 0!==n&&n.env_override.value&&"on"!==(null===n||void 0===n?void 0:n.env_override.value)&&null!==n&&void 0!==n&&n.env_override.value?"Disabled":"Enabled";return(0,y.jsxs)(l.rjZ,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,y.jsx)(l.zD0,{style:{fill:"#052F51",width:"14px"}}),t?"Enabled":"Disabled"]})}return n&&"on"!==n.value&&n.value?(0,y.jsxs)(l.rjZ,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,y.jsx)(l.qwj,{style:{fill:"#C83B51",width:14,height:14}}),"Disabled"]}):(0,y.jsxs)(l.rjZ,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,y.jsx)(l.Yp9,{style:{fill:"#4CCB92",width:14,height:14}}),"Enabled"]})},width:50},{label:"Name",elementKey:"name"},{label:"Endpoint",elementKey:"key_values",renderFunction:function(e){var n=e.find((function(e){return"endpoint"===e.key}));return n?n.env_override?n.env_override.value:n.value:""}}],itemActions:I,idField:"name",isLoading:!1,records:n,entityName:"endpoints",customPaperHeight:"calc(100vh - 750px)"})]})})]})},w=t(94770),E=t(90767),Z=function(e){var n=e.selectedConfiguration,t=e.className,i=void 0===t?"":t,o=(0,v.TL)(),u=(0,c.s0)(),x=(0,c.TH)().pathname,g=void 0===x?"":x,b=g.substring(g.lastIndexOf("/")+1);b="settings"===b?"region":b;var j=(0,r.useState)([]),k=(0,a.Z)(j,2),_=k[0],C=k[1],Z=(0,r.useState)(!1),A=(0,a.Z)(Z,2),I=A[0],T=A[1],q=(0,r.useState)([]),L=(0,a.Z)(q,2),D=L[0],N=L[1],R=(0,r.useState)([]),z=(0,a.Z)(R,2),W=z[0],P=z[1],F=(0,r.useState)(!1),B=(0,a.Z)(F,2),M=B[0],O=B[1],K=(0,r.useState)({}),Y=(0,a.Z)(K,2),V=Y[0],H=Y[1],U=(0,f.v9)((function(e){return e.system.loadingConfigurations}));(0,r.useEffect)((function(){o((0,m.Ie)(!0))}),[b,o]),(0,r.useEffect)((function(){if(U){var e=d()(n,"configuration_id",!1);if(e)return void p.h.configs.configInfo(e).then((function(n){P(n.data);var t=d()(n.data[0],"key_values",[]),i=s.DP[e].map((function(e){var n=t.find((function(n){return n.key===e.name})),i=(null===n||void 0===n?void 0:n.value)||"";return{key:e.name,value:e.customValueProcess?e.customValueProcess(i):i,env_override:null===n||void 0===n?void 0:n.env_override}}));N(i),H((0,s.F_)(i)),o((0,m.Ie)(!1))})).catch((function(e){o((0,m.Ie)(!1)),o((0,m.Ih)((0,h.g)(e.error)))}));o((0,m.Ie)(!1))}}),[U,n,o]),(0,r.useEffect)((function(){if(I){var e={key_values:(0,s.DD)(_)};p.h.configs.setConfig(n.configuration_id,e).then((function(e){T(!1),o((0,m.cN)(e.data.restart||!1)),o((0,m.Ie)(!0)),e.data.restart||o((0,m.y1)("Configuration saved successfully"))})).catch((function(e){T(!1),o((0,m.Ih)((0,h.g)(e.error)))}))}}),[I,o,n,_,u]);var G=(0,r.useCallback)((function(e){C(e)}),[C]),$=function(){O(!0)};return(0,y.jsx)(r.Fragment,{children:(0,y.jsxs)("div",{onMouseMove:function(){o((0,m.Sc)("settings_".concat(n.configuration_label)))},children:[M&&(0,y.jsx)(E.Z,{configurationName:n.configuration_id,closeResetModalAndRefresh:function(e){O(!1),o((0,m.cN)(e)),e&&o((0,m.Ie)(!0))},resetOpen:M}),U?(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{textAlign:"center",paddingTop:"15px"},children:(0,y.jsx)(l.aNw,{})}):(0,y.jsx)(l.xuv,{sx:{padding:"15px",height:"100%"},children:"logger_webhook"===n.configuration_id||"audit_webhook"===n.configuration_id?(0,y.jsx)(S,{WebhookSettingslist:W,setResetConfigurationOpen:$,type:n.configuration_id}):(0,y.jsx)(r.Fragment,{children:(0,y.jsxs)("form",{noValidate:!0,onSubmit:function(e){e.preventDefault(),T(!0)},className:i,style:{height:"100%",display:"flex",flexFlow:"column"},children:[(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{display:"grid",gridTemplateColumns:"1fr",gap:"10px"},children:(0,y.jsx)(w.default,{fields:s.DP[n.configuration_id],onChange:G,defaultVals:D,overrideEnv:V})}),(0,y.jsxs)(l.rjZ,{item:!0,xs:12,sx:{paddingTop:"15px ",textAlign:"right",maxHeight:"60px",display:"flex",alignItems:"center",justifyContent:"flex-end"},children:[(0,y.jsx)(l.zxk,{type:"button",id:"restore-defaults",variant:"secondary",onClick:$,label:"Restore Defaults"}),"\xa0 \xa0",(0,y.jsx)(l.zxk,{id:"save",type:"submit",variant:"callAction",disabled:I,label:"Save"})]})]})})})]})})},A=function(){var e=(0,c.TH)().pathname,n=void 0===e?"":e,t=n.substring(n.lastIndexOf("/")+1),i=s.bx.find((function(e){return e.configuration_id===t})),o="".concat(t);return(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{height:"100%","& .identity_ldap, .api":{"& label":{minWidth:220,marginRight:0}}},children:i&&(0,y.jsx)(Z,{className:"".concat(o),selectedConfiguration:i})})},I=t(56087),T=t(47974),q=t(9505),L=t(45248),D=t(99779),N=t(27454),R=function(){var e=(0,f.I0)(),n=(0,q.Z)((function(e){(0,L.zZ)(new Blob([window.atob(e.value)]),"minio-server-config-".concat(D.ou.now().toFormat("LL-dd-yyyy-HH-mm-ss"),".conf"))}),(function(n){e((0,m.Ih)(n))})),t=(0,a.Z)(n,2),i=t[0],o=t[1];return(0,y.jsx)(N.Z,{tooltip:"Warning! The resulting file will contain server configuration information in plain text",children:(0,y.jsx)(l.zxk,{id:"export-config",onClick:function(){o("GET","api/v1/configs/export")},icon:(0,y.jsx)(l.rG2,{}),label:"Export",variant:"regular",disabled:i})})},z=function(){var e=(0,c.s0)(),n=(0,f.I0)(),t=(0,f.v9)((function(e){return e.system.serverNeedsRestart})),i=(0,r.useState)(void 0),o=(0,a.Z)(i,2),s=o[0],u=o[1],d=(0,r.useRef)(null),p=(0,q.Z)((function(e){n((0,m.cN)(!0)),u(!0)}),(function(e){n((0,m.Ih)(e))})),h=(0,a.Z)(p,2),v=h[0],x=h[1];(0,r.useEffect)((function(){!t&&s&&e(0)}),[t,s,e]);return(0,y.jsxs)(r.Fragment,{children:[(0,y.jsx)("input",{type:"file",onChange:function(e){if(null!==e&&void 0!==e&&null!==e.target.files&&void 0!==e.target.files){e.preventDefault();var n=(0,a.Z)(e.target.files,1)[0],t=new FormData,i=new Blob([n],{type:n.type});t.append("file",i,n.name),x("POST","api/v1/configs/import",t),e.target.value=""}},style:{display:"none"},ref:d}),(0,y.jsx)(N.Z,{tooltip:"The file must be valid and should have valid config values",children:(0,y.jsx)(l.zxk,{id:"import-config",onClick:function(){d&&d.current&&d.current.click()},icon:(0,y.jsx)(l._8t,{}),label:"Import",variant:"regular",disabled:v})})]})},W=t(99670),P=["region"],F=["cache"],B=function(){var e=(0,c.TH)().pathname,n=void 0===e?"":e,t=(0,v.TL)(),u=(0,c.s0)(),d=(0,r.useState)([]),f=(0,a.Z)(d,2),x=f[0],g=f[1],b=(0,r.useCallback)((0,o.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p.h.configs.listConfig().then((function(e){var n;if(e&&null!==e&&void 0!==e&&e.data&&null!==e&&void 0!==e&&null!==(n=e.data)&&void 0!==n&&n.configurations){var t,i=((null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.configurations)||[]).reduce((function(e,n){var t=n.key,i=void 0===t?"":t;return F.includes(i)||e.push(i),e}),[]);g(i)}})).catch((function(e){t((0,m.Ih)((0,h.g)(e)))}));case 1:case"end":return e.stop()}}),e)}))),[t]);(0,r.useEffect)((function(){b(),t((0,m.Sc)("settings_Region"))}),[]);var j=s.bx.filter((function(e){var n=e.configuration_id;return P.includes(n)||x.includes(n)||!x.length}));return(0,y.jsxs)(r.Fragment,{children:[(0,y.jsx)(T.Z,{label:"Settings",actions:(0,y.jsx)(W.Z,{})}),(0,y.jsxs)(l.Xgh,{children:[(0,y.jsxs)(l.rjZ,{item:!0,xs:12,id:"settings-container",children:[(0,y.jsx)(l.UHn,{icon:(0,y.jsx)(l.ewm,{}),title:"MinIO Configuration:",actions:(0,y.jsxs)(l.xuv,{sx:{display:"flex",gap:10},children:[(0,y.jsx)(z,{}),(0,y.jsx)(R,{})]}),sx:{marginBottom:15}}),(0,y.jsx)(l.mQc,{currentTabOrPath:n,onTabClick:function(e){u(e)},useRouteTabs:!0,options:j.map((function(e){var n,t=e.configuration_id,i=e.configuration_label,o=e.icon;return{tabConfig:{id:"settings-tab-".concat(i),label:i,value:t,icon:o,to:(n=t,"".concat(I.gA.SETTINGS,"/").concat(n))}}})),routes:(0,y.jsxs)(c.Z5,{children:[j.map((function(e){return(0,y.jsx)(c.AW,{path:"".concat(e.configuration_id),element:(0,y.jsx)(A,{})},"configItem-".concat(e.configuration_label))})),(0,y.jsx)(c.AW,{path:"/",element:(0,y.jsx)(c.Fg,{to:"".concat(I.gA.SETTINGS,"/region")})})]})})]}),(0,y.jsx)(l.rjZ,{item:!0,xs:12,sx:{paddingTop:"15px"},children:(0,y.jsx)(l.KfX,{title:"Learn more about Configurations",iconComponent:(0,y.jsx)(l.ewm,{}),help:(0,y.jsxs)(r.Fragment,{children:["MinIO supports a variety of configurations ranging from encryption, compression, region, notifications, etc.",(0,y.jsx)("br",{}),(0,y.jsx)("br",{}),"You can learn more at our"," ",(0,y.jsx)("a",{href:"https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-config.html?ref=con#id4",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]})]})}},58493:function(e,n,t){t.d(n,{DD:function(){return u},DP:function(){return c},F_:function(){return f},_0:function(){return d},bx:function(){return s}});var i=t(4942),o=t(1413),a=t(93433),r=(t(72791),t(29945)),l=t(80184),s=[{icon:(0,l.jsx)(r.N1D,{}),configuration_id:"region",configuration_label:"Region"},{icon:(0,l.jsx)(r.jG4,{}),configuration_id:"compression",configuration_label:"Compression"},{icon:(0,l.jsx)(r.dNJ,{}),configuration_id:"api",configuration_label:"API"},{icon:(0,l.jsx)(r.JOn,{}),configuration_id:"heal",configuration_label:"Heal"},{icon:(0,l.jsx)(r.oTr,{}),configuration_id:"scanner",configuration_label:"Scanner"},{icon:(0,l.jsx)(r._m8,{}),configuration_id:"etcd",configuration_label:"Etcd"},{icon:(0,l.jsx)(r.zD0,{}),configuration_id:"logger_webhook",configuration_label:"Logger Webhook"},{icon:(0,l.jsx)(r.Pd4,{}),configuration_id:"audit_webhook",configuration_label:"Audit Webhook"},{icon:(0,l.jsx)(r.I$E,{}),configuration_id:"audit_kafka",configuration_label:"Audit Kafka"}],c={region:[{name:"name",required:!0,label:"Server Location",tooltip:'Name of the location of the server e.g. "us-west-rack2"',type:"string",placeholder:"e.g. us-west-rack-2"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",placeholder:"Enter custom notes if any"}],compression:[{name:"extensions",required:!1,label:"Extensions",tooltip:'Extensions to compress e.g. ".txt", ".log" or ".csv" - you can write one per field',type:"csv",placeholder:"Enter an Extension",withBorder:!0},{name:"mime_types",required:!1,label:"Mime Types",tooltip:'Mime types e.g. "text/*", "application/json" or "application/xml" - you can write one per field',type:"csv",placeholder:"Enter a Mime Type",withBorder:!0}],api:[{name:"requests_max",required:!1,label:"Requests Max",tooltip:"Maximum number of concurrent requests, e.g. '1600'",type:"number",placeholder:"Enter Requests Max"},{name:"cors_allow_origin",required:!1,label:"Cors Allow Origin",tooltip:"List of origins allowed for CORS requests",type:"csv",placeholder:"Enter allowed origin e.g. https://example.com"},{name:"replication_workers",required:!1,label:"Replication Workers",tooltip:"Number of replication workers, defaults to 100",type:"number",placeholder:"Enter Replication Workers"},{name:"replication_failed_workers",required:!1,label:"Replication Failed Workers",tooltip:"Number of replication workers for recently failed replicas, defaults to 4",type:"number",placeholder:"Enter Replication Failed Workers"}],heal:[{name:"bitrotscan",required:!1,label:"Bitrot Scan",tooltip:"Perform bitrot scan on disks when checking objects during scanner",type:"on|off"},{name:"max_sleep",required:!1,label:"Max Sleep",tooltip:"Maximum sleep duration between objects to slow down heal operation, e.g. 2s",type:"duration",placeholder:"Enter Max Sleep Duration"},{name:"max_io",required:!1,label:"Max IO",tooltip:"Maximum IO requests allowed between objects to slow down heal operation, e.g. 3",type:"number",placeholder:"Enter Max IO"}],scanner:[{name:"delay",required:!1,label:"Delay Multiplier",tooltip:"Scanner delay multiplier, defaults to '10.0'",type:"number",placeholder:"Enter Delay"},{name:"max_wait",required:!1,label:"Max Wait",tooltip:"Maximum wait time between operations, defaults to '15s'",type:"duration",placeholder:"Enter Max Wait"},{name:"cycle",required:!1,label:"Cycle",tooltip:"Time duration between scanner cycles, defaults to '1m'",type:"duration",placeholder:"Enter Cycle"}],etcd:[{name:"endpoints",required:!0,label:"Endpoints",tooltip:'List of etcd endpoints e.g. "http://localhost:2379" - you can write one per field',type:"csv",placeholder:"Enter Endpoint"},{name:"path_prefix",required:!1,label:"Path Prefix",tooltip:'Namespace prefix to isolate tenants e.g. "customer1/"',type:"string",placeholder:"Enter Path Prefix"},{name:"coredns_path",required:!1,label:"Coredns Path",tooltip:'Shared bucket DNS records, default is "/skydns"',type:"string",placeholder:"Enter Coredns Path"},{name:"client_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_cert_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",multiline:!0,placeholder:"Enter custom notes if any"}],logger_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_kafka:[{name:"enable",required:!1,label:"Enable",tooltip:"Enable audit_kafka target",type:"on|off",customValueProcess:function(e){return""===e||"on"===e?"on":"off"}},{name:"brokers",required:!0,label:"Brokers",type:"csv",placeholder:"Enter Kafka Broker"},{name:"topic",required:!1,label:"Topic",type:"string",placeholder:"Enter Kafka Topic",tooltip:"Kafka topic used for bucket notifications"},{name:"sasl",required:!1,label:"Use SASL",tooltip:"Enable SASL (Simple Authentication and Security Layer) authentication",type:"on|off"},{name:"sasl_username",required:!1,label:"SASL Username",type:"string",placeholder:"Enter SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_password",required:!1,label:"SASL Password",type:"password",placeholder:"Enter SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_mechanism",required:!1,label:"SASL Mechanism",type:"string",placeholder:"Enter SASL Mechanism",tooltip:"SASL authentication mechanism"},{name:"tls",required:!1,label:"Use TLS",tooltip:"Enable TLS (Transport Layer Security)",type:"on|off"},{name:"tls_skip_verify",required:!1,label:"Skip TLS Verification",tooltip:"Trust server TLS without verification",type:"on|off"},{name:"client_tls_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_tls_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"tls_client_auth",required:!1,label:"TLS Client Auth",tooltip:"ClientAuth determines the Kafka server's policy for TLS client authorization",type:"string"},{name:"version",required:!1,label:"Version",tooltip:"Specify the version of the Kafka cluster",type:"string"}]},u=function(e){return e.filter((function(e){return""!==e.value}))},d=function(e,n,t){var i=e.target,o=i.value,r=i.checked,l=(0,a.Z)(t);return r?l.push(o):l=l.filter((function(e){return e!==o})),n(l),l},f=function(e){var n={};return e.forEach((function(e){if(e.env_override){var t={value:e.env_override.value||"",overrideEnv:e.env_override.name||""};n=(0,o.Z)((0,o.Z)({},n),{},(0,i.Z)({},e.key,t))}})),n}},94770:function(e,n,t){t.r(n),t.d(n,{valueDef:function(){return c}});var i=t(93433),o=t(29439),a=t(72791),r=t(29945),l=t(59447),s=t(80184),c=function(e,n,t){var i="on|off"===n?"off":"";if(t.length>0){var o=t.find((function(n){return n.key===e}));o&&(i=o.value||"")}return i};n.default=function(e){var n=e.onChange,t=e.fields,u=e.defaultVals,d=e.overrideEnv,f=(0,a.useState)([]),p=(0,o.Z)(f,2),h=p[0],m=p[1],v=t||[],x=u||[];(0,a.useEffect)((function(){var e=t.map((function(e){return{key:e.name,value:c(e.name,e.type,x)}}));m(e)}),[t,u]),(0,a.useEffect)((function(){n(h)}),[h]);var g=function(e,n,t){var o=(0,i.Z)(h);n=n.trim(),o[t]={key:e,value:n},m(o)},b=function(e,n){var t=h[n];if(t){var i=null===d||void 0===d?void 0:d["".concat(t.key)];if(i)return(0,s.jsx)(r.bSr,{label:e.label,actionButton:(0,s.jsx)(r.rjZ,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,s.jsx)(r.ua7,{tooltip:"This value is set from the ".concat(i.overrideEnv," environment variable"),placement:"left",children:(0,s.jsx)(r.zD0,{style:{width:20}})})}),sx:{width:"100%"},children:i.value})}switch(e.type){case"on|off":var o=t?t.value:"off";return(0,s.jsx)(r.rsf,{onChange:function(t){var i=t.target.checked?"on":"off";g(e.name,i,n)},id:e.name,name:e.name,label:e.label,value:"switch_on",tooltip:e.tooltip,checked:"on"===o});case"csv":return(0,s.jsx)(l.Z,{elements:t?t.value:"",label:e.label,name:e.name,onChange:function(t){var i="";i=Array.isArray(t)?t.join(","):t,g(e.name,i,n)},tooltip:e.tooltip,commonPlaceholder:e.placeholder,withBorder:!0});case"comment":return(0,s.jsx)(r.q5m,{id:e.name,name:e.name,label:e.label,tooltip:e.tooltip,value:t?t.value:"",onChange:function(t){return g(e.name,t.target.value,n)},placeholder:e.placeholder});default:return(0,s.jsx)(r.Wzg,{id:e.name,name:e.name,label:e.label,tooltip:e.tooltip,value:t?t.value:"",onChange:function(t){return g(e.name,t.target.value,n)},placeholder:e.placeholder})}};return(0,s.jsx)(r.ltY,{withBorders:!1,containerPadding:!1,children:v.map((function(e,n){return(0,s.jsx)(a.Fragment,{children:b(e,n)},e.name)}))})}},90767:function(e,n,t){var i=t(29439),o=t(72791),a=t(31776),r=t(82342),l=t(23508),s=t(29945),c=t(87995),u=t(44690),d=t(80184);n.Z=function(e){var n=e.configurationName,t=e.closeResetModalAndRefresh,f=e.resetOpen,p=(0,u.TL)(),h=(0,o.useState)(!1),m=(0,i.Z)(h,2),v=m[0],x=m[1];(0,o.useEffect)((function(){v&&a.h.configs.resetConfig(n).then((function(){x(!1),t(!0)})).catch((function(e){x(!1),p((0,c.Ih)((0,r.g)(e.error)))}))}),[t,n,v,p]);return(0,d.jsx)(l.Z,{title:"Restore Defaults",confirmText:"Yes, Reset Configuration",isOpen:f,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:v,onConfirm:function(){x(!0)},onClose:function(){t(!1)},confirmationContent:(0,d.jsxs)(o.Fragment,{children:[v&&(0,d.jsx)(s.kod,{}),(0,d.jsxs)(o.Fragment,{children:["Are you sure you want to restore these configurations to default values?",(0,d.jsx)("br",{}),(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:"Please note that this may cause your system to not be accessible"})]})]})})}}}]); +//# sourceMappingURL=1432.1b192c18.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1432.1b192c18.chunk.js.map b/portal-ui/build/static/js/1432.1b192c18.chunk.js.map new file mode 100644 index 0000000000..da71b61d37 --- /dev/null +++ b/portal-ui/build/static/js/1432.1b192c18.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/1432.1b192c18.chunk.js","mappings":"iMAuLA,IAlJyB,SAAHA,GAQI,IAPxBC,EAAQD,EAARC,SACAC,EAAIF,EAAJE,KACAC,EAAKH,EAALG,MAAKC,EAAAJ,EACLK,QAAAA,OAAO,IAAAD,EAAG,GAAEA,EAAAE,EAAAN,EACZO,kBAAAA,OAAiB,IAAAD,EAAG,GAAEA,EACtBE,EAAQR,EA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GAA0B,EAC5B,IACC/H,OAAM,SAACC,GACNmR,GAAgB,GAChBrU,GAASmD,EAAAA,EAAAA,KAAqBC,EAAAA,EAAAA,GAAeF,EAAI9B,QACnD,GAEN,GAAG,CAAC4J,EAA2BD,EAAmBqJ,EAAcpU,IAMhE,OACEvD,EAAAA,EAAAA,KAACkH,EAAAA,EAAa,CACZpD,MAAK,mBACLqD,YAAa,2BACbC,OAAQoH,EACRlK,WAAWtE,EAAAA,EAAAA,KAACuH,EAAAA,IAAiB,IAC7BF,UAAWsQ,EACXrQ,UAXuB,WACzBsQ,GAAgB,EAClB,EAUIvT,QAAS,WACPkK,GAA0B,EAC5B,EACA/G,qBACE1G,EAAAA,EAAAA,MAACF,EAAAA,SAAQ,CAAAC,SAAA,CACN8W,IAAgB3X,EAAAA,EAAAA,KAACiF,EAAAA,IAAW,KAC7BnE,EAAAA,EAAAA,MAACF,EAAAA,SAAQ,CAAAC,SAAA,CAAC,4EAGRb,EAAAA,EAAAA,KAAA,UACAA,EAAAA,EAAAA,KAAA,KACEkJ,MAAO,CACL2O,SAAU,QACVC,WAAY,SACZC,SAAU,cACVlX,SACH,4EAQb,C","sources":["screens/Console/Common/FormComponents/CSVMultiSelector/CSVMultiSelector.tsx","screens/Console/EventDestinations/WebhookSettings/AddEndpointModal.tsx","screens/Console/EventDestinations/WebhookSettings/DeleteWebhookEndpoint.tsx","screens/Console/EventDestinations/WebhookSettings/EditWebhookEndpoint.tsx","screens/Console/EventDestinations/WebhookSettings/WebhookSettings.tsx","screens/Console/EventDestinations/CustomForms/EditConfiguration.tsx","screens/Console/Configurations/ConfigurationPanels/ConfigurationForm.tsx","screens/Console/Configurations/ConfigurationPanels/ExportConfigButton.tsx","screens/Console/Configurations/ConfigurationPanels/ImportConfigButton.tsx","screens/Console/Configurations/ConfigurationPanels/ConfigurationOptions.tsx","screens/Console/Configurations/utils.tsx","screens/Console/EventDestinations/ConfTargetGeneric.tsx","screens/Console/EventDestinations/CustomForms/ResetConfigurationModal.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\nimport React, {\n ChangeEvent,\n createRef,\n useCallback,\n useEffect,\n useRef,\n useState,\n Fragment,\n} from \"react\";\nimport get from \"lodash/get\";\nimport { AddIcon, Box, HelpIcon, InputBox, InputLabel, Tooltip } from \"mds\";\n\ninterface ICSVMultiSelector {\n elements: string;\n name: string;\n label: string;\n tooltip?: string;\n commonPlaceholder?: string;\n withBorder?: boolean;\n onChange: (elements: string) => void;\n}\n\nconst CSVMultiSelector = ({\n elements,\n name,\n label,\n tooltip = \"\",\n commonPlaceholder = \"\",\n onChange,\n withBorder = false,\n}: ICSVMultiSelector) => {\n const [currentElements, setCurrentElements] = useState([\"\"]);\n const bottomList = createRef();\n\n // Use effect to get the initial values from props\n useEffect(() => {\n if (\n currentElements.length === 1 &&\n currentElements[0] === \"\" &&\n elements &&\n elements !== \"\"\n ) {\n const elementsSplit = elements.split(\",\");\n elementsSplit.push(\"\");\n\n setCurrentElements(elementsSplit);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [elements, currentElements]);\n\n // Use effect to send new values to onChange\n useEffect(() => {\n if (currentElements.length > 1) {\n const refScroll = bottomList.current;\n if (refScroll) {\n refScroll.scrollIntoView(false);\n }\n }\n }, [currentElements, bottomList]);\n\n const onChangeCallback = useCallback(\n (newString: string) => {\n onChange(newString);\n },\n [onChange],\n );\n\n // We avoid multiple re-renders / hang issue typing too fast\n const firstUpdate = useRef(true);\n useEffect(() => {\n if (firstUpdate.current) {\n firstUpdate.current = false;\n return;\n }\n const elementsString = currentElements\n .filter((element) => element.trim() !== \"\")\n .join(\",\");\n\n onChangeCallback(elementsString);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentElements]);\n\n // If the last input is not empty, we add a new one\n const addEmptyLine = (elementsUp: string[]) => {\n if (elementsUp[elementsUp.length - 1].trim() !== \"\") {\n const cpList = [...elementsUp];\n cpList.push(\"\");\n setCurrentElements(cpList);\n }\n };\n\n // Onchange function for input box, we get the dataset-index & only update that value in the array\n const onChangeElement = (e: ChangeEvent) => {\n e.persist();\n\n let updatedElement = [...currentElements];\n const index = get(e.target, \"dataset.index\", \"0\");\n const indexNum = parseInt(index);\n updatedElement[indexNum] = e.target.value;\n\n setCurrentElements(updatedElement);\n };\n\n const inputs = currentElements.map((element, index) => {\n return (\n : null}\n overlayAction={() => {\n addEmptyLine(currentElements);\n }}\n />\n );\n });\n\n return (\n \n \n \n {label}\n {tooltip !== \"\" && (\n \n \n \n \n \n \n \n )}\n \n \n {inputs}\n
\n \n \n \n );\n};\nexport default CSVMultiSelector;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport {\n Button,\n ConsoleIcon,\n FormLayout,\n Grid,\n InputBox,\n PendingItemsIcon,\n ProgressBar,\n WebhookIcon,\n} from \"mds\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\nimport {\n configurationIsLoading,\n setErrorSnackMessage,\n setServerNeedsRestart,\n setSnackBarMessage,\n} from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\n\ninterface IEndpointModal {\n open: boolean;\n type: string;\n onCloseEndpoint: () => void;\n}\n\nconst AddEndpointModal = ({ open, type, onCloseEndpoint }: IEndpointModal) => {\n const [name, setName] = useState(\"\");\n const [endpoint, setEndpoint] = useState(\"\");\n const [authToken, setAuthToken] = useState(\"\");\n const [saving, setSaving] = useState(false);\n const [invalidInputs, setInvalidInput] = useState([\n \"name\",\n \"endpoint\",\n ]);\n const [initialInputs, setInitialInputs] = useState([\n \"name\",\n \"endpoint\",\n \"auth-token\",\n ]);\n\n const dispatch = useAppDispatch();\n\n const saveWebhook = () => {\n if (saving) {\n return;\n }\n\n if (invalidInputs.length !== 0) {\n return;\n }\n\n if (name.trim() === \"\") {\n setInvalidInput([...invalidInputs, \"name\"]);\n\n return;\n }\n\n if (endpoint.trim() === \"\") {\n setInvalidInput([...invalidInputs, \"endpoint\"]);\n\n return;\n }\n\n setSaving(true);\n\n const payload = {\n key_values: [\n {\n key: \"endpoint\",\n value: endpoint,\n },\n {\n key: \"auth_token\",\n value: authToken,\n },\n ],\n arn_resource_id: name,\n };\n\n api.configs\n .setConfig(type, payload)\n .then((res) => {\n setSaving(false);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n\n onCloseEndpoint();\n dispatch(configurationIsLoading(true));\n })\n .catch((err) => {\n setSaving(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const initializeInput = (name: string) => {\n setInitialInputs(initialInputs.filter((item) => item !== name));\n };\n\n const validateInput = (name: string, valid: boolean) => {\n if (invalidInputs.includes(name) && valid) {\n setInvalidInput(invalidInputs.filter((item) => item !== name));\n return;\n }\n\n if (!valid && !invalidInputs.includes(name)) {\n setInvalidInput([...invalidInputs, name]);\n }\n };\n\n let title = \"Add new Webhook\";\n let icon = ;\n\n switch (type) {\n case \"logger_webhook\":\n title = \"New Logger Webhook\";\n icon = ;\n break;\n case \"audit_webhook\":\n title = \"New Audit Webhook\";\n icon = ;\n break;\n }\n\n return (\n \n \n \n ) => {\n initializeInput(\"name\");\n setName(event.target.value);\n validateInput(\"name\", event.target.validity.valid);\n }}\n error={\n invalidInputs.includes(\"name\") && !initialInputs.includes(\"name\")\n ? \"Invalid Name\"\n : \"\"\n }\n label=\"Name\"\n value={name}\n pattern={\"^(?=.*[a-zA-Z0-9]).{1,}$\"}\n required\n />\n ) => {\n initializeInput(\"endpoint\");\n setEndpoint(event.target.value);\n validateInput(\"endpoint\", event.target.validity.valid);\n }}\n error={\n invalidInputs.includes(\"endpoint\") &&\n !initialInputs.includes(\"endpoint\")\n ? \"Invalid Endpoint set\"\n : \"\"\n }\n label=\"Endpoint\"\n value={endpoint}\n pattern={\n \"^(https?):\\\\/\\\\/([a-zA-Z0-9\\\\-.]+)(:[0-9]+)?(\\\\/[a-zA-Z0-9\\\\-.\\\\/]*)?$\"\n }\n required\n />\n ) => {\n initializeInput(\"auth-token\");\n setAuthToken(event.target.value);\n }}\n label=\"Auth Token\"\n value={authToken}\n />\n \n {saving && (\n \n \n \n )}\n \n \n \n \n \n \n );\n};\n\nexport default AddEndpointModal;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState, Fragment } from \"react\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport {\n configurationIsLoading,\n setErrorSnackMessage,\n setServerNeedsRestart,\n} from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteWebhookEndpoint {\n modalOpen: boolean;\n onClose: () => void;\n selectedARN: string;\n type: string;\n}\n\nconst DeleteWebhookEndpoint = ({\n modalOpen,\n onClose,\n selectedARN,\n}: IDeleteWebhookEndpoint) => {\n const [deleteLoading, setDeleteLoading] = useState(false);\n\n const dispatch = useAppDispatch();\n\n useEffect(() => {\n if (deleteLoading) {\n api.configs\n .resetConfig(selectedARN)\n .then(() => {\n setDeleteLoading(false);\n dispatch(setServerNeedsRestart(true));\n dispatch(configurationIsLoading(true));\n onClose();\n })\n .catch((err) => {\n setDeleteLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n }\n }, [deleteLoading, dispatch, onClose, selectedARN]);\n\n const onConfirmDelete = () => {\n setDeleteLoading(true);\n };\n\n const defaultWH = !selectedARN.includes(\":\");\n\n let message = \"Are you sure you want to delete the Configured Endpoint\";\n\n // Main webhook, we just reset\n if (defaultWH) {\n message = \"Are you sure you want to reset the Default\";\n }\n\n return (\n }\n onClose={onClose}\n confirmationContent={\n \n {`${message} `}\n {selectedARN}?\n \n }\n />\n );\n};\n\nexport default DeleteWebhookEndpoint;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport {\n Button,\n ConsoleIcon,\n FormLayout,\n Grid,\n InputBox,\n PendingItemsIcon,\n ProgressBar,\n ReadBox,\n Switch,\n Tooltip,\n WebhookIcon,\n} from \"mds\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\nimport {\n configurationIsLoading,\n setErrorSnackMessage,\n setServerNeedsRestart,\n setSnackBarMessage,\n} from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\nimport { IConfigurationSys } from \"../../Configurations/types\";\nimport { overrideFields } from \"../../Configurations/utils\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\n\ninterface IEndpointModal {\n open: boolean;\n type: string;\n endpointInfo: IConfigurationSys;\n onCloseEndpoint: () => void;\n}\n\nconst EditEndpointModal = ({\n open,\n type,\n endpointInfo,\n onCloseEndpoint,\n}: IEndpointModal) => {\n const [name, setName] = useState(\"\");\n const [endpoint, setEndpoint] = useState(\"\");\n const [authToken, setAuthToken] = useState(\"\");\n const [endpointState, setEndpointState] = useState(\"on\");\n const [saving, setSaving] = useState(false);\n const [invalidInputs, setInvalidInput] = useState([]);\n\n const dispatch = useAppDispatch();\n\n useEffect(() => {\n if (endpointInfo) {\n const endpointLocate = endpointInfo.key_values.find(\n (key) => key.key === \"endpoint\",\n );\n const tokenLocate = endpointInfo.key_values.find(\n (key) => key.key === \"auth_token\",\n );\n const enable = endpointInfo.key_values.find(\n (key) => key.key === \"enable\",\n );\n\n let invalidInputs: string[] = [];\n\n if (endpointLocate) {\n const endpointValue = endpointLocate.value;\n\n if (endpointValue === \"\") {\n invalidInputs.push(\"endpoint\");\n } else {\n setEndpoint(endpointValue);\n }\n }\n\n if (tokenLocate) {\n const tokenValue = tokenLocate.value;\n\n if (tokenValue === \"\") {\n invalidInputs.push(\"auth-token\");\n } else {\n setAuthToken(tokenValue);\n }\n }\n\n if (enable) {\n if (enable.value === \"off\") {\n setEndpointState(enable.value);\n }\n }\n\n setName(endpointInfo.name || \"\");\n setInvalidInput(invalidInputs);\n }\n }, [endpointInfo]);\n\n const updateWebhook = () => {\n if (saving) {\n return;\n }\n\n if (invalidInputs.length !== 0) {\n return;\n }\n\n if (!endpoint || endpoint.trim() === \"\") {\n setInvalidInput([...invalidInputs, \"endpoint\"]);\n\n return;\n }\n\n setSaving(true);\n\n const payload = {\n key_values: [\n {\n key: \"endpoint\",\n value: endpoint,\n },\n {\n key: \"auth_token\",\n value: authToken,\n },\n {\n key: \"enable\",\n value: endpointState,\n },\n ],\n };\n\n api.configs\n .setConfig(name, payload)\n .then((res) => {\n setSaving(false);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n\n onCloseEndpoint();\n dispatch(configurationIsLoading(true));\n })\n .catch((err) => {\n setSaving(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const validateInput = (name: string, valid: boolean) => {\n if (invalidInputs.includes(name) && valid) {\n setInvalidInput(invalidInputs.filter((item) => item !== name));\n return;\n }\n\n if (!valid && !invalidInputs.includes(name)) {\n setInvalidInput([...invalidInputs, name]);\n }\n };\n\n const defaultWH = !name.includes(\":\");\n const hasOverride = endpointInfo.key_values.filter(\n (itm) => !!itm.env_override,\n );\n\n const overrideValues = overrideFields(hasOverride);\n\n let title = \"Edit Webhook\";\n let icon = ;\n\n switch (type) {\n case \"logger_webhook\":\n title = `Edit ${defaultWH ? \" the Default \" : \"\"}Logger Webhook`;\n icon = ;\n break;\n case \"audit_webhook\":\n title = `Edit ${defaultWH ? \" the Default \" : \"\"}Audit Webhook`;\n icon = ;\n break;\n }\n\n if (hasOverride.length > 0) {\n title = \"View env variable Webhook\";\n }\n\n return (\n \n \n \n {hasOverride.length > 0 ? (\n \n \n \n \n \n \n }\n >\n {overrideValues.enable?.value || \"-\"}\n \n \n \n \n \n \n }\n >\n {overrideValues.endpoint?.value || \"-\"}\n \n \n \n \n \n \n }\n >\n {overrideValues.auth_token?.value || \"-\"}\n \n \n ) : (\n \n ) => {\n const value = e.target.checked ? \"on\" : \"off\";\n setEndpointState(value);\n }}\n id={\"endpoint_enabled\"}\n name={\"endpoint_enabled\"}\n label={\"Enabled\"}\n value={\"switch_on\"}\n checked={endpointState === \"on\"}\n />\n ) => {\n setEndpoint(event.target.value);\n validateInput(\"endpoint\", event.target.validity.valid);\n }}\n error={\n invalidInputs.includes(\"endpoint\")\n ? \"Invalid Endpoint set\"\n : \"\"\n }\n label=\"Endpoint\"\n value={endpoint}\n pattern={\n \"^(https?):\\\\/\\\\/([a-zA-Z0-9\\\\-.]+)(:[0-9]+)?(\\\\/[a-zA-Z0-9\\\\-.\\\\/]*)?$\"\n }\n required\n />\n ) => {\n setAuthToken(event.target.value);\n }}\n label=\"Auth Token\"\n value={authToken}\n />\n {saving && (\n \n \n \n )}\n \n \n \n \n \n )}\n \n \n \n );\n};\n\nexport default EditEndpointModal;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport { IConfigurationSys, IElementValue } from \"../../Configurations/types\";\nimport {\n Button,\n ConsoleIcon,\n DataTable,\n Grid,\n TierOfflineIcon,\n TierOnlineIcon,\n} from \"mds\";\nimport AddEndpointModal from \"./AddEndpointModal\";\nimport DeleteWebhookEndpoint from \"./DeleteWebhookEndpoint\";\nimport EditWebhookEndpoint from \"./EditWebhookEndpoint\";\nimport { Configuration } from \"api/consoleApi\";\n\ninterface WebhookSettingsProps {\n WebhookSettingslist: Configuration[];\n setResetConfigurationOpen: () => void;\n type: string;\n}\n\nconst WebhookSettings = ({\n setResetConfigurationOpen,\n WebhookSettingslist,\n type,\n}: WebhookSettingsProps) => {\n const [newEndpointOpen, setNewEndpointOpen] = useState(false);\n const [deleteWebhookOpen, setDeleteWebhookOpen] = useState(false);\n const [editWebhookOpen, setEditWebhookOpen] = useState(false);\n const [selectedARN, setSelectedARN] = useState(\"\");\n const [selectedEndpoint, setSelectedEndpoint] =\n useState(null);\n\n const renderEndpoint = (item: IElementValue[]) => {\n const endpointFilter = item.find((itm) => itm.key === \"endpoint\");\n\n if (endpointFilter) {\n if (endpointFilter.env_override) {\n return endpointFilter.env_override.value;\n }\n\n return endpointFilter.value;\n }\n\n return \"\";\n };\n\n const renderWebhookStatus = (item: IElementValue[]) => {\n const EnableFilter = item.find((itm) => itm.key === \"enable\");\n\n if (EnableFilter?.env_override) {\n const overrideEnabled =\n !EnableFilter?.env_override.value ||\n EnableFilter?.env_override.value === \"on\" ||\n !EnableFilter?.env_override.value\n ? \"Enabled\"\n : \"Disabled\";\n return (\n \n \n {overrideEnabled ? \"Enabled\" : \"Disabled\"}\n \n );\n }\n\n // If enable is not set, then enabled by default\n if (!EnableFilter || EnableFilter.value === \"on\" || !EnableFilter.value) {\n return (\n \n \n Enabled\n \n );\n }\n\n return (\n \n \n Disabled\n \n );\n };\n\n const onCloseDelete = () => {\n setDeleteWebhookOpen(false);\n setSelectedARN(\"\");\n };\n\n const onCloseEditWebhook = () => {\n setEditWebhookOpen(false);\n setSelectedEndpoint(null);\n };\n\n const actions = [\n {\n type: \"view\",\n onClick: (item: IConfigurationSys) => {\n if (item.name) {\n setEditWebhookOpen(true);\n setSelectedEndpoint(item);\n }\n },\n },\n {\n type: \"delete\",\n onClick: (item: IConfigurationSys) => {\n if (item.name) {\n setDeleteWebhookOpen(true);\n setSelectedARN(item.name);\n }\n },\n disableButtonFunction: (item: string) => {\n const wHook = WebhookSettingslist.find(\n (element) => element.name === item,\n );\n\n if (wHook) {\n const hasOverride = wHook.key_values?.filter(\n (itm) => !!itm.env_override,\n );\n\n // Has override values, we cannot delete.\n if (hasOverride && hasOverride.length > 0) {\n return true;\n }\n\n return false;\n }\n return false;\n },\n },\n ];\n return (\n \n {newEndpointOpen && (\n {\n setNewEndpointOpen(false);\n }}\n />\n )}\n {deleteWebhookOpen && (\n \n )}\n {editWebhookOpen && selectedEndpoint && (\n \n )}\n \n {\n setNewEndpointOpen(true);\n }}\n >\n New Endpoint\n \n \n \n \n

Currently Configured Endpoints

\n \n
\n
\n
\n );\n};\nexport default WebhookSettings;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useCallback, useEffect, useState } from \"react\";\nimport get from \"lodash/get\";\nimport { Box, Button, Grid, Loader } from \"mds\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport { api } from \"api\";\nimport { Configuration, ConfigurationKV } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport {\n fieldsConfigurations,\n overrideFields,\n removeEmptyFields,\n} from \"../../Configurations/utils\";\nimport {\n IConfigurationElement,\n IElementValue,\n IOverrideEnv,\n KVField,\n} from \"../../Configurations/types\";\nimport {\n configurationIsLoading,\n setErrorSnackMessage,\n setHelpName,\n setServerNeedsRestart,\n setSnackBarMessage,\n} from \"../../../../systemSlice\";\nimport { AppState, useAppDispatch } from \"../../../../store\";\nimport WebhookSettings from \"../WebhookSettings/WebhookSettings\";\nimport ConfTargetGeneric from \"../ConfTargetGeneric\";\nimport ResetConfigurationModal from \"./ResetConfigurationModal\";\n\ninterface IAddNotificationEndpointProps {\n selectedConfiguration: IConfigurationElement;\n className?: string;\n}\n\nconst EditConfiguration = ({\n selectedConfiguration,\n className = \"\",\n}: IAddNotificationEndpointProps) => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const { pathname = \"\" } = useLocation();\n\n let selConfigTab = pathname.substring(pathname.lastIndexOf(\"/\") + 1);\n selConfigTab = selConfigTab === \"settings\" ? \"region\" : selConfigTab;\n\n //Local States\n const [valuesObj, setValueObj] = useState([]);\n const [saving, setSaving] = useState(false);\n const [configValues, setConfigValues] = useState([]);\n const [configSubsysList, setConfigSubsysList] = useState([]);\n const [resetConfigurationOpen, setResetConfigurationOpen] =\n useState(false);\n const [overrideEnvs, setOverrideEnvs] = useState({});\n\n const loadingConfig = useSelector(\n (state: AppState) => state.system.loadingConfigurations,\n );\n\n useEffect(() => {\n dispatch(configurationIsLoading(true));\n }, [selConfigTab, dispatch]);\n\n useEffect(() => {\n if (loadingConfig) {\n const configId = get(selectedConfiguration, \"configuration_id\", false);\n\n if (configId) {\n api.configs\n .configInfo(configId)\n .then((res) => {\n setConfigSubsysList(res.data);\n let values: ConfigurationKV[] = get(res.data[0], \"key_values\", []);\n\n const fieldsConfig: KVField[] = fieldsConfigurations[configId];\n\n const keyVals: IElementValue[] = fieldsConfig.map((field) => {\n const includedValue = values.find(\n (element: ConfigurationKV) => element.key === field.name,\n );\n const customValue = includedValue?.value || \"\";\n\n return {\n key: field.name,\n value: field.customValueProcess\n ? field.customValueProcess(customValue)\n : customValue,\n env_override: includedValue?.env_override,\n };\n });\n\n setConfigValues(keyVals);\n setOverrideEnvs(overrideFields(keyVals));\n dispatch(configurationIsLoading(false));\n })\n .catch((err) => {\n dispatch(configurationIsLoading(false));\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n\n return;\n }\n dispatch(configurationIsLoading(false));\n }\n }, [loadingConfig, selectedConfiguration, dispatch]);\n\n useEffect(() => {\n if (saving) {\n const payload = {\n key_values: removeEmptyFields(valuesObj),\n };\n api.configs\n .setConfig(selectedConfiguration.configuration_id, payload)\n .then((res) => {\n setSaving(false);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n dispatch(configurationIsLoading(true));\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n })\n .catch((err) => {\n setSaving(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n }\n }, [saving, dispatch, selectedConfiguration, valuesObj, navigate]);\n\n //Fetch Actions\n const submitForm = (event: React.FormEvent) => {\n event.preventDefault();\n setSaving(true);\n };\n\n const onValueChange = useCallback(\n (newValue: IElementValue[]) => {\n setValueObj(newValue);\n },\n [setValueObj],\n );\n\n const continueReset = (restart: boolean) => {\n setResetConfigurationOpen(false);\n dispatch(setServerNeedsRestart(restart));\n if (restart) {\n dispatch(configurationIsLoading(true));\n }\n };\n\n const resetConfigurationMOpen = () => {\n setResetConfigurationOpen(true);\n };\n\n return (\n \n {\n dispatch(\n setHelpName(\n `settings_${selectedConfiguration.configuration_label}`,\n ),\n );\n }}\n >\n {resetConfigurationOpen && (\n \n )}\n {loadingConfig ? (\n \n \n \n ) : (\n \n {selectedConfiguration.configuration_id === \"logger_webhook\" ||\n selectedConfiguration.configuration_id === \"audit_webhook\" ? (\n \n ) : (\n \n \n \n \n \n \n \n    \n \n \n \n \n )}\n \n )}\n
\n
\n );\n};\n\nexport default EditConfiguration;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { Grid } from \"mds\";\nimport { configurationElements } from \"../utils\";\nimport EditConfiguration from \"../../EventDestinations/CustomForms/EditConfiguration\";\n\nconst ConfigurationsList = () => {\n const { pathname = \"\" } = useLocation();\n\n const configName = pathname.substring(pathname.lastIndexOf(\"/\") + 1);\n\n const validActiveConfig = configurationElements.find(\n (element) => element.configuration_id === configName,\n );\n const containerClassName = `${configName}`;\n return (\n \n {validActiveConfig && (\n \n )}\n \n );\n};\n\nexport default ConfigurationsList;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport { Button, UploadIcon } from \"mds\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport { performDownload } from \"../../../../common/utils\";\nimport { DateTime } from \"luxon\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useDispatch } from \"react-redux\";\nimport TooltipWrapper from \"../../Common/TooltipWrapper/TooltipWrapper\";\n\nconst ExportConfigButton = () => {\n const dispatch = useDispatch();\n const [isReqLoading, invokeApi] = useApi(\n (res: any) => {\n //base64 encoded information so decode before downloading.\n performDownload(\n new Blob([window.atob(res.value)]),\n `minio-server-config-${DateTime.now().toFormat(\n \"LL-dd-yyyy-HH-mm-ss\",\n )}.conf`,\n );\n },\n (err) => {\n dispatch(setErrorSnackMessage(err));\n },\n );\n\n return (\n \n {\n invokeApi(\"GET\", `api/v1/configs/export`);\n }}\n icon={}\n label={\"Export\"}\n variant={\"regular\"}\n disabled={isReqLoading}\n />\n \n );\n};\n\nexport default ExportConfigButton;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useRef, useState } from \"react\";\nimport { Button, DownloadIcon } from \"mds\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport {\n setErrorSnackMessage,\n setServerNeedsRestart,\n} from \"../../../../systemSlice\";\nimport TooltipWrapper from \"../../Common/TooltipWrapper/TooltipWrapper\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AppState } from \"../../../../store\";\n\nconst ImportConfigButton = () => {\n const navigate = useNavigate();\n const dispatch = useDispatch();\n\n const needsRestart = useSelector(\n (state: AppState) => state.system.serverNeedsRestart,\n );\n\n const [refreshPage, setRefreshPage] = useState(\n undefined,\n );\n const fileUpload = useRef(null);\n\n const [isReqLoading, invokeApi] = useApi(\n (res: any) => {\n //base64 encoded information so decode before downloading.\n dispatch(setServerNeedsRestart(true)); //import should refreshPage as per mc.\n setRefreshPage(true);\n },\n (err) => {\n dispatch(setErrorSnackMessage(err));\n },\n );\n\n useEffect(() => {\n if (!needsRestart && refreshPage) {\n navigate(0); // refresh the page.\n }\n }, [needsRestart, refreshPage, navigate]);\n\n const handleUploadButton = (e: any) => {\n if (\n e === null ||\n e === undefined ||\n e.target.files === null ||\n e.target.files === undefined\n ) {\n return;\n }\n e.preventDefault();\n const [fileToUpload] = e.target.files;\n\n const formData = new FormData();\n const blobFile = new Blob([fileToUpload], { type: fileToUpload.type });\n\n formData.append(\"file\", blobFile, fileToUpload.name);\n // @ts-ignore\n invokeApi(\"POST\", `api/v1/configs/import`, formData);\n\n e.target.value = \"\";\n };\n\n return (\n \n \n \n {\n if (fileUpload && fileUpload.current) {\n fileUpload.current.click();\n }\n }}\n icon={}\n label={\"Import\"}\n variant={\"regular\"}\n disabled={isReqLoading}\n />\n \n \n );\n};\n\nexport default ImportConfigButton;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useCallback, useEffect, useState } from \"react\";\nimport {\n Box,\n Grid,\n HelpBox,\n PageLayout,\n ScreenTitle,\n SettingsIcon,\n Tabs,\n} from \"mds\";\n\nimport { configurationElements } from \"../utils\";\nimport {\n Navigate,\n Route,\n Routes,\n useLocation,\n useNavigate,\n} from \"react-router-dom\";\n\nimport ConfigurationForm from \"./ConfigurationForm\";\nimport { IAM_PAGES } from \"../../../../common/SecureComponent/permissions\";\nimport PageHeaderWrapper from \"../../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport ExportConfigButton from \"./ExportConfigButton\";\nimport ImportConfigButton from \"./ImportConfigButton\";\n\nimport HelpMenu from \"../../HelpMenu\";\nimport { setErrorSnackMessage, setHelpName } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { api } from \"../../../../api\";\nimport { IElement } from \"../types\";\nimport { errorToHandler } from \"../../../../api/errors\";\n\nconst getRoutePath = (path: string) => {\n return `${IAM_PAGES.SETTINGS}/${path}`;\n};\n\n// region is not part of config subsystem list.\nconst NON_SUB_SYS_CONFIG_ITEMS = [\"region\"];\nconst IGNORED_CONFIG_SUB_SYS = [\"cache\"]; // cache config is not supported.\n\nconst ConfigurationOptions = () => {\n const { pathname = \"\" } = useLocation();\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n\n const [configSubSysList, setConfigSubSysList] = useState([]);\n const fetchConfigSubSysList = useCallback(async () => {\n api.configs\n .listConfig() // get a list of available config subsystems.\n .then((res) => {\n if (res && res?.data && res?.data?.configurations) {\n const confSubSysList = (res?.data?.configurations || []).reduce(\n (acc: string[], { key = \"\" }) => {\n if (!IGNORED_CONFIG_SUB_SYS.includes(key)) {\n acc.push(key);\n }\n return acc;\n },\n [],\n );\n\n setConfigSubSysList(confSubSysList);\n }\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err)));\n });\n }, [dispatch]);\n\n useEffect(() => {\n fetchConfigSubSysList();\n dispatch(setHelpName(\"settings_Region\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const availableConfigSubSys = configurationElements.filter(\n ({ configuration_id }: IElement) => {\n return (\n NON_SUB_SYS_CONFIG_ITEMS.includes(configuration_id) ||\n configSubSysList.includes(configuration_id) ||\n !configSubSysList.length\n );\n },\n );\n\n return (\n \n } />\n \n \n }\n title={\"MinIO Configuration:\"}\n actions={\n \n \n \n \n }\n sx={{ marginBottom: 15 }}\n />\n {\n navigate(path);\n }}\n useRouteTabs\n options={availableConfigSubSys.map((element) => {\n const { configuration_id, configuration_label, icon } = element;\n return {\n tabConfig: {\n id: `settings-tab-${configuration_label}`,\n label: configuration_label,\n value: configuration_id,\n icon: icon,\n to: getRoutePath(configuration_id),\n },\n };\n })}\n routes={\n \n {availableConfigSubSys.map((element) => (\n }\n />\n ))}\n }\n />\n \n }\n />\n \n \n }\n help={\n \n MinIO supports a variety of configurations ranging from\n encryption, compression, region, notifications, etc.\n
\n
\n You can learn more at our{\" \"}\n \n documentation\n \n .\n
\n }\n />\n
\n
\n
\n );\n};\n\nexport default ConfigurationOptions;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\nimport React from \"react\";\nimport { IElement, IElementValue, IOverrideEnv, OverrideValue } from \"./types\";\nimport {\n CodeIcon,\n CompressIcon,\n ConsoleIcon,\n FindReplaceIcon,\n FirstAidIcon,\n KeyIcon,\n LogsIcon,\n PendingItemsIcon,\n PublicIcon,\n} from \"mds\";\n\nexport const configurationElements: IElement[] = [\n {\n icon: ,\n configuration_id: \"region\",\n configuration_label: \"Region\",\n },\n {\n icon: ,\n configuration_id: \"compression\",\n configuration_label: \"Compression\",\n },\n {\n icon: ,\n configuration_id: \"api\",\n configuration_label: \"API\",\n },\n {\n icon: ,\n configuration_id: \"heal\",\n configuration_label: \"Heal\",\n },\n {\n icon: ,\n configuration_id: \"scanner\",\n configuration_label: \"Scanner\",\n },\n {\n icon: ,\n configuration_id: \"etcd\",\n configuration_label: \"Etcd\",\n },\n {\n icon: ,\n configuration_id: \"logger_webhook\",\n configuration_label: \"Logger Webhook\",\n },\n {\n icon: ,\n configuration_id: \"audit_webhook\",\n configuration_label: \"Audit Webhook\",\n },\n {\n icon: ,\n configuration_id: \"audit_kafka\",\n configuration_label: \"Audit Kafka\",\n },\n];\n\nexport const fieldsConfigurations: any = {\n region: [\n {\n name: \"name\",\n required: true,\n label: \"Server Location\",\n tooltip: 'Name of the location of the server e.g. \"us-west-rack2\"',\n type: \"string\",\n placeholder: \"e.g. us-west-rack-2\",\n },\n {\n name: \"comment\",\n required: false,\n label: \"Comment\",\n tooltip: \"You can add a comment to this setting\",\n type: \"comment\",\n placeholder: \"Enter custom notes if any\",\n },\n ],\n compression: [\n {\n name: \"extensions\",\n required: false,\n label: \"Extensions\",\n tooltip:\n 'Extensions to compress e.g. \".txt\", \".log\" or \".csv\" - you can write one per field',\n type: \"csv\",\n placeholder: \"Enter an Extension\",\n withBorder: true,\n },\n {\n name: \"mime_types\",\n required: false,\n label: \"Mime Types\",\n tooltip:\n 'Mime types e.g. \"text/*\", \"application/json\" or \"application/xml\" - you can write one per field',\n type: \"csv\",\n placeholder: \"Enter a Mime Type\",\n withBorder: true,\n },\n ],\n api: [\n {\n name: \"requests_max\",\n required: false,\n label: \"Requests Max\",\n tooltip: \"Maximum number of concurrent requests, e.g. '1600'\",\n type: \"number\",\n placeholder: \"Enter Requests Max\",\n },\n {\n name: \"cors_allow_origin\",\n required: false,\n label: \"Cors Allow Origin\",\n tooltip: \"List of origins allowed for CORS requests\",\n type: \"csv\",\n placeholder: \"Enter allowed origin e.g. https://example.com\",\n },\n {\n name: \"replication_workers\",\n required: false,\n label: \"Replication Workers\",\n tooltip: \"Number of replication workers, defaults to 100\",\n type: \"number\",\n placeholder: \"Enter Replication Workers\",\n },\n {\n name: \"replication_failed_workers\",\n required: false,\n label: \"Replication Failed Workers\",\n tooltip:\n \"Number of replication workers for recently failed replicas, defaults to 4\",\n type: \"number\",\n placeholder: \"Enter Replication Failed Workers\",\n },\n ],\n heal: [\n {\n name: \"bitrotscan\",\n required: false,\n label: \"Bitrot Scan\",\n tooltip:\n \"Perform bitrot scan on disks when checking objects during scanner\",\n type: \"on|off\",\n },\n {\n name: \"max_sleep\",\n required: false,\n label: \"Max Sleep\",\n tooltip:\n \"Maximum sleep duration between objects to slow down heal operation, e.g. 2s\",\n type: \"duration\",\n placeholder: \"Enter Max Sleep Duration\",\n },\n {\n name: \"max_io\",\n required: false,\n label: \"Max IO\",\n tooltip:\n \"Maximum IO requests allowed between objects to slow down heal operation, e.g. 3\",\n type: \"number\",\n placeholder: \"Enter Max IO\",\n },\n ],\n scanner: [\n {\n name: \"delay\",\n required: false,\n label: \"Delay Multiplier\",\n tooltip: \"Scanner delay multiplier, defaults to '10.0'\",\n type: \"number\",\n placeholder: \"Enter Delay\",\n },\n {\n name: \"max_wait\",\n required: false,\n label: \"Max Wait\",\n tooltip: \"Maximum wait time between operations, defaults to '15s'\",\n type: \"duration\",\n placeholder: \"Enter Max Wait\",\n },\n {\n name: \"cycle\",\n required: false,\n label: \"Cycle\",\n tooltip: \"Time duration between scanner cycles, defaults to '1m'\",\n type: \"duration\",\n placeholder: \"Enter Cycle\",\n },\n ],\n etcd: [\n {\n name: \"endpoints\",\n required: true,\n label: \"Endpoints\",\n tooltip:\n 'List of etcd endpoints e.g. \"http://localhost:2379\" - you can write one per field',\n type: \"csv\",\n placeholder: \"Enter Endpoint\",\n },\n {\n name: \"path_prefix\",\n required: false,\n label: \"Path Prefix\",\n tooltip: 'Namespace prefix to isolate tenants e.g. \"customer1/\"',\n type: \"string\",\n placeholder: \"Enter Path Prefix\",\n },\n {\n name: \"coredns_path\",\n required: false,\n label: \"Coredns Path\",\n tooltip: 'Shared bucket DNS records, default is \"/skydns\"',\n type: \"string\",\n placeholder: \"Enter Coredns Path\",\n },\n {\n name: \"client_cert\",\n required: false,\n label: \"Client Cert\",\n tooltip: \"Client cert for mTLS authentication\",\n type: \"string\",\n placeholder: \"Enter Client Cert\",\n },\n {\n name: \"client_cert_key\",\n required: false,\n label: \"Client Cert Key\",\n tooltip: \"Client cert key for mTLS authentication\",\n type: \"string\",\n placeholder: \"Enter Client Cert Key\",\n },\n {\n name: \"comment\",\n required: false,\n label: \"Comment\",\n tooltip: \"You can add a comment to this setting\",\n type: \"comment\",\n multiline: true,\n placeholder: \"Enter custom notes if any\",\n },\n ],\n logger_webhook: [\n {\n name: \"endpoint\",\n required: true,\n label: \"Endpoint\",\n type: \"string\",\n placeholder: \"Enter Endpoint\",\n },\n {\n name: \"auth_token\",\n required: true,\n label: \"Auth Token\",\n type: \"string\",\n placeholder: \"Enter Auth Token\",\n },\n ],\n audit_webhook: [\n {\n name: \"endpoint\",\n required: true,\n label: \"Endpoint\",\n type: \"string\",\n placeholder: \"Enter Endpoint\",\n },\n {\n name: \"auth_token\",\n required: true,\n label: \"Auth Token\",\n type: \"string\",\n placeholder: \"Enter Auth Token\",\n },\n ],\n audit_kafka: [\n {\n name: \"enable\",\n required: false,\n label: \"Enable\",\n tooltip: \"Enable audit_kafka target\",\n type: \"on|off\",\n customValueProcess: (origValue: string) => {\n return origValue === \"\" || origValue === \"on\" ? \"on\" : \"off\";\n },\n },\n {\n name: \"brokers\",\n required: true,\n label: \"Brokers\",\n type: \"csv\",\n placeholder: \"Enter Kafka Broker\",\n },\n {\n name: \"topic\",\n required: false,\n label: \"Topic\",\n type: \"string\",\n placeholder: \"Enter Kafka Topic\",\n tooltip: \"Kafka topic used for bucket notifications\",\n },\n {\n name: \"sasl\",\n required: false,\n label: \"Use SASL\",\n tooltip:\n \"Enable SASL (Simple Authentication and Security Layer) authentication\",\n type: \"on|off\",\n },\n {\n name: \"sasl_username\",\n required: false,\n label: \"SASL Username\",\n type: \"string\",\n placeholder: \"Enter SASL Username\",\n tooltip: \"Username for SASL/PLAIN or SASL/SCRAM authentication\",\n },\n {\n name: \"sasl_password\",\n required: false,\n label: \"SASL Password\",\n type: \"password\",\n placeholder: \"Enter SASL Password\",\n tooltip: \"Password for SASL/PLAIN or SASL/SCRAM authentication\",\n },\n {\n name: \"sasl_mechanism\",\n required: false,\n label: \"SASL Mechanism\",\n type: \"string\",\n placeholder: \"Enter SASL Mechanism\",\n tooltip: \"SASL authentication mechanism\",\n },\n {\n name: \"tls\",\n required: false,\n label: \"Use TLS\",\n tooltip: \"Enable TLS (Transport Layer Security)\",\n type: \"on|off\",\n },\n {\n name: \"tls_skip_verify\",\n required: false,\n label: \"Skip TLS Verification\",\n tooltip: \"Trust server TLS without verification\",\n type: \"on|off\",\n },\n {\n name: \"client_tls_cert\",\n required: false,\n label: \"Client Cert\",\n tooltip: \"Client cert for mTLS authentication\",\n type: \"string\",\n placeholder: \"Enter Client Cert\",\n },\n {\n name: \"client_tls_key\",\n required: false,\n label: \"Client Cert Key\",\n tooltip: \"Client cert key for mTLS authentication\",\n type: \"string\",\n placeholder: \"Enter Client Cert Key\",\n },\n {\n name: \"tls_client_auth\",\n required: false,\n label: \"TLS Client Auth\",\n tooltip:\n \"ClientAuth determines the Kafka server's policy for TLS client authorization\",\n type: \"string\",\n },\n {\n name: \"version\",\n required: false,\n label: \"Version\",\n tooltip: \"Specify the version of the Kafka cluster\",\n type: \"string\",\n },\n ],\n};\n\nexport const removeEmptyFields = (formFields: IElementValue[]) => {\n const nonEmptyFields = formFields.filter((field) => field.value !== \"\");\n\n return nonEmptyFields;\n};\n\nexport const selectSAs = (\n e: React.ChangeEvent,\n setSelectedSAs: Function,\n selectedSAs: string[],\n) => {\n const targetD = e.target;\n const value = targetD.value;\n const checked = targetD.checked;\n\n let elements: string[] = [...selectedSAs]; // We clone the selectedSAs array\n if (checked) {\n // If the user has checked this field we need to push this to selectedSAs\n elements.push(value);\n } else {\n // User has unchecked this field, we need to remove it from the list\n elements = elements.filter((element) => element !== value);\n }\n setSelectedSAs(elements);\n return elements;\n};\n\nexport const overrideFields = (formFields: IElementValue[]): IOverrideEnv => {\n let overrideReturn: IOverrideEnv = {};\n\n formFields.forEach((envItem) => {\n // it has override values, we construct the value\n if (envItem.env_override) {\n const value: OverrideValue = {\n value: envItem.env_override.value || \"\",\n overrideEnv: envItem.env_override.name || \"\",\n };\n\n overrideReturn = { ...overrideReturn, [envItem.key]: value };\n }\n });\n\n return overrideReturn;\n};\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport {\n CommentBox,\n ConsoleIcon,\n FormLayout,\n Grid,\n InputBox,\n ReadBox,\n Switch,\n Tooltip,\n} from \"mds\";\nimport { IElementValue, IOverrideEnv, KVField } from \"../Configurations/types\";\nimport CSVMultiSelector from \"../Common/FormComponents/CSVMultiSelector/CSVMultiSelector\";\n\ninterface IConfGenericProps {\n onChange: (newValue: IElementValue[]) => void;\n fields: KVField[];\n defaultVals?: IElementValue[];\n overrideEnv?: IOverrideEnv;\n}\n\n// Function to get defined values,\n//we make this because the backed sometimes don't return all the keys when there is an initial configuration\nexport const valueDef = (\n key: string,\n type: string,\n defaults: IElementValue[],\n) => {\n let defValue = type === \"on|off\" ? \"off\" : \"\";\n\n if (defaults.length > 0) {\n const storedConfig = defaults.find((element) => element.key === key);\n\n if (storedConfig) {\n defValue = storedConfig.value || \"\";\n }\n }\n\n return defValue;\n};\n\nconst ConfTargetGeneric = ({\n onChange,\n fields,\n defaultVals,\n overrideEnv,\n}: IConfGenericProps) => {\n const [valueHolder, setValueHolder] = useState([]);\n const fieldsElements = !fields ? [] : fields;\n const defValList = !defaultVals ? [] : defaultVals;\n\n // Effect to create all the values to hold\n useEffect(() => {\n const values: IElementValue[] = fields.map((field) => {\n const stateInsert: IElementValue = {\n key: field.name,\n value: valueDef(field.name, field.type, defValList),\n };\n return stateInsert;\n });\n\n setValueHolder(values);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fields, defaultVals]);\n\n useEffect(() => {\n onChange(valueHolder);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [valueHolder]);\n\n const setValueElement = (key: string, value: string, index: number) => {\n const valuesDup = [...valueHolder];\n value = value.trim();\n valuesDup[index] = { key, value };\n\n setValueHolder(valuesDup);\n };\n\n const fieldDefinition = (field: KVField, item: number) => {\n const holderItem = valueHolder[item];\n\n if (holderItem) {\n // Override Value with env var, we display generic string component\n const override = overrideEnv?.[`${holderItem.key}`];\n\n if (override) {\n return (\n \n \n \n \n \n }\n sx={{ width: \"100%\" }}\n >\n {override.value}\n \n );\n }\n }\n\n switch (field.type) {\n case \"on|off\":\n const value = holderItem ? holderItem.value : \"off\";\n\n return (\n ) => {\n const value = e.target.checked ? \"on\" : \"off\";\n setValueElement(field.name, value, item);\n }}\n id={field.name}\n name={field.name}\n label={field.label}\n value={\"switch_on\"}\n tooltip={field.tooltip}\n checked={value === \"on\"}\n />\n );\n case \"csv\":\n return (\n {\n let valCh = \"\";\n\n if (Array.isArray(value)) {\n valCh = value.join(\",\");\n } else {\n valCh = value;\n }\n\n setValueElement(field.name, valCh, item);\n }}\n tooltip={field.tooltip}\n commonPlaceholder={field.placeholder}\n withBorder={true}\n />\n );\n case \"comment\":\n return (\n setValueElement(field.name, e.target.value, item)}\n placeholder={field.placeholder}\n />\n );\n default:\n return (\n ) =>\n setValueElement(field.name, e.target.value, item)\n }\n placeholder={field.placeholder}\n />\n );\n }\n };\n\n return (\n \n {fieldsElements.map((field, item) => (\n {fieldDefinition(field, item)}\n ))}\n \n );\n};\n\nexport default ConfTargetGeneric;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\nimport { ConfirmDeleteIcon, ProgressBar } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IResetConfiguration {\n configurationName: string;\n closeResetModalAndRefresh: (reloadConfiguration: boolean) => void;\n resetOpen: boolean;\n}\n\nconst ResetConfigurationModal = ({\n configurationName,\n closeResetModalAndRefresh,\n resetOpen,\n}: IResetConfiguration) => {\n const dispatch = useAppDispatch();\n const [resetLoading, setResetLoading] = useState(false);\n\n useEffect(() => {\n if (resetLoading) {\n api.configs\n .resetConfig(configurationName)\n .then(() => {\n setResetLoading(false);\n closeResetModalAndRefresh(true);\n })\n .catch((err) => {\n setResetLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n }\n }, [closeResetModalAndRefresh, configurationName, resetLoading, dispatch]);\n\n const resetConfiguration = () => {\n setResetLoading(true);\n };\n\n return (\n }\n isLoading={resetLoading}\n onConfirm={resetConfiguration}\n onClose={() => {\n closeResetModalAndRefresh(false);\n }}\n confirmationContent={\n \n {resetLoading && }\n \n Are you sure you want to restore these configurations to default\n values?\n
\n \n Please note that this may cause your system to not be accessible\n \n
\n
\n }\n />\n );\n};\n\nexport default ResetConfigurationModal;\n"],"names":["_ref","elements","name","label","_ref$tooltip","tooltip","_ref$commonPlaceholde","commonPlaceholder","onChange","_ref$withBorder","withBorder","_useState","useState","_useState2","_slicedToArray","currentElements","setCurrentElements","bottomList","createRef","useEffect","length","elementsSplit","split","push","refScroll","current","scrollIntoView","onChangeCallback","useCallback","newString","firstUpdate","useRef","elementsString","filter","element","trim","join","onChangeElement","e","persist","updatedElement","_toConsumableArray","index","get","target","parseInt","value","inputs","map","_jsx","InputBox","id","concat","toString","placeholder","overlayIcon","AddIcon","overlayAction","elementsUp","cpList","addEmptyLine","Fragment","children","_jsxs","Box","sx","display","className","InputLabel","alignItems","marginLeft","width","Tooltip","placement","HelpIcon","withBorders","overflowY","height","position","ref","open","type","onCloseEndpoint","setName","_useState3","_useState4","endpoint","setEndpoint","_useState5","_useState6","authToken","setAuthToken","_useState7","_useState8","saving","setSaving","_useState9","_useState10","invalidInputs","setInvalidInput","_useState11","_useState12","initialInputs","setInitialInputs","dispatch","useAppDispatch","initializeInput","item","validateInput","valid","includes","title","icon","WebhookIcon","ConsoleIcon","PendingItemsIcon","ModalWrapper","modalOpen","onClose","titleIcon","FormLayout","containerPadding","event","validity","error","pattern","required","Grid","xs","marginBottom","ProgressBar","modalStyleUtils","modalButtonBar","Button","variant","disabled","onClick","marginRight","color","payload","key_values","key","arn_resource_id","api","configs","setConfig","then","res","setServerNeedsRestart","data","restart","setSnackBarMessage","configurationIsLoading","catch","err","setErrorSnackMessage","errorToHandler","selectedARN","deleteLoading","setDeleteLoading","resetConfig","defaultWH","message","ConfirmDialog","confirmText","isOpen","isLoading","onConfirm","ConfirmDeleteIcon","confirmationContent","_overrideValues$enabl","_overrideValues$enabl2","_overrideValues$endpo","_overrideValues$endpo2","_overrideValues$auth_","_overrideValues$auth_2","endpointInfo","endpointState","setEndpointState","endpointLocate","find","tokenLocate","enable","endpointValue","tokenValue","hasOverride","itm","env_override","overrideValues","overrideFields","ReadBox","actionButton","justifyContent","paddingRight","overrideEnv","style","auth_token","Switch","checked","setResetConfigurationOpen","WebhookSettingslist","newEndpointOpen","setNewEndpointOpen","deleteWebhookOpen","setDeleteWebhookOpen","editWebhookOpen","setEditWebhookOpen","setSelectedARN","selectedEndpoint","setSelectedEndpoint","actions","disableButtonFunction","wHook","_wHook$key_values","container","AddEndpointModal","DeleteWebhookEndpoint","EditWebhookEndpoint","padding","DataTable","columns","elementKey","renderFunction","EnableFilter","overrideEnabled","flexDirection","justifyItems","fontSize","fill","TierOfflineIcon","TierOnlineIcon","endpointFilter","itemActions","idField","records","entityName","customPaperHeight","selectedConfiguration","_ref$className","navigate","useNavigate","_useLocation$pathname","useLocation","pathname","selConfigTab","substring","lastIndexOf","valuesObj","setValueObj","configValues","setConfigValues","configSubsysList","setConfigSubsysList","resetConfigurationOpen","overrideEnvs","setOverrideEnvs","loadingConfig","useSelector","state","system","loadingConfigurations","configId","configInfo","values","keyVals","fieldsConfigurations","field","includedValue","customValue","customValueProcess","removeEmptyFields","configuration_id","onValueChange","newValue","resetConfigurationMOpen","onMouseMove","setHelpName","configuration_label","ResetConfigurationModal","configurationName","closeResetModalAndRefresh","resetOpen","textAlign","paddingTop","Loader","WebhookSettings","noValidate","onSubmit","preventDefault","flexFlow","gridTemplateColumns","gap","ConfTargetGeneric","fields","defaultVals","maxHeight","configName","validActiveConfig","configurationElements","containerClassName","minWidth","EditConfiguration","useDispatch","_useApi","useApi","performDownload","Blob","window","atob","DateTime","now","toFormat","_useApi2","isReqLoading","invokeApi","TooltipWrapper","UploadIcon","needsRestart","serverNeedsRestart","undefined","refreshPage","setRefreshPage","fileUpload","files","fileToUpload","formData","FormData","blobFile","append","click","DownloadIcon","NON_SUB_SYS_CONFIG_ITEMS","IGNORED_CONFIG_SUB_SYS","configSubSysList","setConfigSubSysList","fetchConfigSubSysList","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","listConfig","_res$data","configurations","_res$data2","confSubSysList","reduce","acc","_ref2","_ref2$key","stop","availableConfigSubSys","_ref3","PageHeaderWrapper","HelpMenu","PageLayout","ScreenTitle","SettingsIcon","ImportConfigButton","ExportConfigButton","Tabs","currentTabOrPath","onTabClick","path","useRouteTabs","options","tabConfig","to","IAM_PAGES","SETTINGS","routes","Routes","Route","ConfigurationForm","Navigate","HelpBox","iconComponent","help","href","rel","PublicIcon","CompressIcon","CodeIcon","FirstAidIcon","FindReplaceIcon","KeyIcon","LogsIcon","region","compression","heal","scanner","etcd","multiline","logger_webhook","audit_webhook","audit_kafka","origValue","formFields","selectSAs","setSelectedSAs","selectedSAs","targetD","overrideReturn","forEach","envItem","_objectSpread","_defineProperty","valueDef","defaults","defValue","storedConfig","valueHolder","setValueHolder","fieldsElements","defValList","setValueElement","valuesDup","fieldDefinition","holderItem","override","CSVMultiSelector","valCh","Array","isArray","CommentBox","resetLoading","setResetLoading","maxWidth","whiteSpace","wordWrap"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1520.8019c157.chunk.js b/portal-ui/build/static/js/1520.8019c157.chunk.js deleted file mode 100644 index 3af70e5ced..0000000000 --- a/portal-ui/build/static/js/1520.8019c157.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1520],{85523:function(e,o,r){r.d(o,{Z:function(){return S}});var n=r(4942),t=r(63366),a=r(87462),i=r(72791),c=r(63733),l=r(94419),s=r(52930),u=r(1582),d=r(20890),p=r(14036),f=r(66934),m=r(31402),v=r(75878),h=r(21217);function Z(e){return(0,h.Z)("MuiFormControlLabel",e)}var b=(0,v.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),g=r(76147),k=r(80184),y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],w=(0,f.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(e,o){var r=e.ownerState;return[(0,n.Z)({},"& .".concat(b.label),o.label),o.root,o["labelPlacement".concat((0,p.Z)(r.labelPlacement))]]}})((function(e){var o=e.theme,r=e.ownerState;return(0,a.Z)((0,n.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(b.disabled),{cursor:"default"}),"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},(0,n.Z)({},"& .".concat(b.label),(0,n.Z)({},"&.".concat(b.disabled),{color:(o.vars||o).palette.text.disabled})))})),x=(0,f.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:function(e,o){return o.asterisk}})((function(e){var o=e.theme;return(0,n.Z)({},"&.".concat(b.error),{color:(o.vars||o).palette.error.main})})),S=i.forwardRef((function(e,o){var r,n,f=(0,m.Z)({props:e,name:"MuiFormControlLabel"}),v=f.className,h=f.componentsProps,b=void 0===h?{}:h,S=f.control,C=f.disabled,P=f.disableTypography,R=f.label,F=f.labelPlacement,N=void 0===F?"end":F,j=f.required,M=f.slotProps,z=void 0===M?{}:M,B=(0,t.Z)(f,y),q=(0,s.Z)(),I=null!=(r=null!=C?C:S.props.disabled)?r:null==q?void 0:q.disabled,L=null!=j?j:S.props.required,G={disabled:I,required:L};["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof S.props[e]&&"undefined"!==typeof f[e]&&(G[e]=f[e])}));var O=(0,g.Z)({props:f,muiFormControl:q,states:["error"]}),E=(0,a.Z)({},f,{disabled:I,labelPlacement:N,required:L,error:O.error}),T=function(e){var o=e.classes,r=e.disabled,n=e.labelPlacement,t=e.error,a=e.required,i={root:["root",r&&"disabled","labelPlacement".concat((0,p.Z)(n)),t&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",t&&"error"]};return(0,l.Z)(i,Z,o)}(E),A=null!=(n=z.typography)?n:b.typography,D=R;return null==D||D.type===d.Z||P||(D=(0,k.jsx)(d.Z,(0,a.Z)({component:"span"},A,{className:(0,c.Z)(T.label,null==A?void 0:A.className),children:D}))),(0,k.jsxs)(w,(0,a.Z)({className:(0,c.Z)(T.root,v),ownerState:E,ref:o},B,{children:[i.cloneElement(S,G),L?(0,k.jsxs)(u.Z,{direction:"row",alignItems:"center",children:[D,(0,k.jsxs)(x,{ownerState:E,"aria-hidden":!0,className:T.asterisk,children:["\u2009","*"]})]}):D]}))}))},61419:function(e,o,r){r.d(o,{Z:function(){return z}});var n=r(4942),t=r(63366),a=r(87462),i=r(72791),c=r(63733),l=r(94419),s=r(12065),u=r(97278),d=r(31402),p=r(76189),f=r(80184),m=(0,p.Z)((0,f.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),v=(0,p.Z)((0,f.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),h=r(66934),Z=(0,h.ZP)("span")({position:"relative",display:"flex"}),b=(0,h.ZP)(m)({transform:"scale(1)"}),g=(0,h.ZP)(v)((function(e){var o=e.theme,r=e.ownerState;return(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},r.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));var k=function(e){var o=e.checked,r=void 0!==o&&o,n=e.classes,t=void 0===n?{}:n,i=e.fontSize,c=(0,a.Z)({},e,{checked:r});return(0,f.jsxs)(Z,{className:t.root,ownerState:c,children:[(0,f.jsx)(b,{fontSize:i,className:t.background,ownerState:c}),(0,f.jsx)(g,{fontSize:i,className:t.dot,ownerState:c})]})},y=r(14036),w=r(31260),x=r(18672);var S=r(75878),C=r(21217);function P(e){return(0,C.Z)("MuiRadio",e)}var R=(0,S.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),F=["checked","checkedIcon","color","icon","name","onChange","size","className"],N=(0,h.ZP)(u.Z,{shouldForwardProp:function(e){return(0,h.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,o){var r=e.ownerState;return[o.root,o["color".concat((0,y.Z)(r.color))]]}})((function(e){var o=e.theme,r=e.ownerState;return(0,a.Z)({color:(o.vars||o).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===r.color?o.vars.palette.action.activeChannel:o.vars.palette[r.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,s.Fq)("default"===r.color?o.palette.action.active:o.palette[r.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(0,n.Z)({},"&.".concat(R.checked),{color:(o.vars||o).palette[r.color].main}),(0,n.Z)({},"&.".concat(R.disabled),{color:(o.vars||o).palette.action.disabled}))}));var j=(0,f.jsx)(k,{checked:!0}),M=(0,f.jsx)(k,{}),z=i.forwardRef((function(e,o){var r,n,s,u,p=(0,d.Z)({props:e,name:"MuiRadio"}),m=p.checked,v=p.checkedIcon,h=void 0===v?j:v,Z=p.color,b=void 0===Z?"primary":Z,g=p.icon,k=void 0===g?M:g,S=p.name,C=p.onChange,R=p.size,z=void 0===R?"medium":R,B=p.className,q=(0,t.Z)(p,F),I=(0,a.Z)({},p,{color:b,size:z}),L=function(e){var o=e.classes,r=e.color,n=e.size,t={root:["root","color".concat((0,y.Z)(r)),"medium"!==n&&"size".concat((0,y.Z)(n))]};return(0,a.Z)({},o,(0,l.Z)(t,P,o))}(I),G=i.useContext(x.Z),O=m,E=(0,w.Z)(C,G&&G.onChange),T=S;return G&&("undefined"===typeof O&&(s=G.value,O="object"===typeof(u=p.value)&&null!==u?s===u:String(s)===String(u)),"undefined"===typeof T&&(T=G.name)),(0,f.jsx)(N,(0,a.Z)({type:"radio",icon:i.cloneElement(k,{fontSize:null!=(r=M.props.fontSize)?r:z}),checkedIcon:i.cloneElement(h,{fontSize:null!=(n=j.props.fontSize)?n:z}),ownerState:I,classes:L,name:T,checked:O,onChange:E,ref:o,className:(0,c.Z)(L.root,B)},q))}))},10765:function(e,o,r){r.d(o,{Z:function(){return C}});var n=r(29439),t=r(87462),a=r(63366),i=r(72791),c=r(63733),l=r(94419),s=r(66934),u=r(31402),d=r(75878),p=r(21217);function f(e){return(0,p.Z)("MuiFormGroup",e)}(0,d.Z)("MuiFormGroup",["root","row","error"]);var m=r(52930),v=r(76147),h=r(80184),Z=["className","row"],b=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,o){var r=e.ownerState;return[o.root,r.row&&o.row]}})((function(e){var o=e.ownerState;return(0,t.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},o.row&&{flexDirection:"row"})})),g=i.forwardRef((function(e,o){var r=(0,u.Z)({props:e,name:"MuiFormGroup"}),n=r.className,i=r.row,s=void 0!==i&&i,d=(0,a.Z)(r,Z),p=(0,m.Z)(),g=(0,v.Z)({props:r,muiFormControl:p,states:["error"]}),k=(0,t.Z)({},r,{row:s,error:g.error}),y=function(e){var o=e.classes,r={root:["root",e.row&&"row",e.error&&"error"]};return(0,l.Z)(r,f,o)}(k);return(0,h.jsx)(b,(0,t.Z)({className:(0,c.Z)(y.root,n),ownerState:k,ref:o},d))})),k=r(42071),y=r(98278),w=r(18672),x=r(67384),S=["actions","children","defaultValue","name","onChange","value"],C=i.forwardRef((function(e,o){var r=e.actions,c=e.children,l=e.defaultValue,s=e.name,u=e.onChange,d=e.value,p=(0,a.Z)(e,S),f=i.useRef(null),m=(0,y.Z)({controlled:d,default:l,name:"RadioGroup"}),v=(0,n.Z)(m,2),Z=v[0],b=v[1];i.useImperativeHandle(r,(function(){return{focus:function(){var e=f.current.querySelector("input:not(:disabled):checked");e||(e=f.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var C=(0,k.Z)(o,f),P=(0,x.Z)(s),R=i.useMemo((function(){return{name:P,onChange:function(e){b(e.target.value),u&&u(e,e.target.value)},value:Z}}),[P,u,b,Z]);return(0,h.jsx)(w.Z.Provider,{value:R,children:(0,h.jsx)(g,(0,t.Z)({role:"radiogroup",ref:C},p,{children:c}))})}))},18672:function(e,o,r){var n=r(72791).createContext(void 0);o.Z=n},1582:function(e,o,r){r.d(o,{Z:function(){return R}});var n=r(4942),t=r(63366),a=r(87462),i=r(72791),c=r(63733),l=r(82466),s=r(94419),u=r(21217),d=(0,r(44046).ZP)(),p=r(86083),f=r(78519),m=r(85080),v=r(51184),h=r(45682),Z=r(80184),b=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,m.Z)(),k=d("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,o){return o.root}});function y(e){return(0,p.Z)({props:e,name:"MuiStack",defaultTheme:g})}function w(e,o){var r=i.Children.toArray(e).filter(Boolean);return r.reduce((function(e,n,t){return e.push(n),t0?s[r[o-1]]:"column";s[e]=n}}));t=(0,l.Z)(t,(0,v.k9)({theme:r},u,(function(e,r){return o.useFlexGap?{gap:(0,h.NA)(i,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":(0,n.Z)({},"margin".concat((t=r?s[r]:o.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[t])),(0,h.NA)(i,e))};var t})))}return t=(0,v.dt)(r.breakpoints,t)};var S=r(66934),C=r(31402),P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e.createStyledComponent,r=void 0===o?k:o,n=e.useThemeProps,l=void 0===n?y:n,d=e.componentName,p=void 0===d?"MuiStack":d,m=r(x),v=i.forwardRef((function(e,o){var r=l(e),n=(0,f.Z)(r),i=n.component,d=void 0===i?"div":i,v=n.direction,h=void 0===v?"column":v,g=n.spacing,k=void 0===g?0:g,y=n.divider,x=n.children,S=n.className,C=n.useFlexGap,P=void 0!==C&&C,R=(0,t.Z)(n,b),F={direction:h,spacing:k,useFlexGap:P},N=(0,s.Z)({root:["root"]},(function(e){return(0,u.Z)(p,e)}),{});return(0,Z.jsx)(m,(0,a.Z)({as:d,ownerState:F,ref:o,className:(0,c.Z)(N.root,S)},R,{children:y?w(x,y):x}))}));return v}({createStyledComponent:(0,S.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,o){return o.root}}),useThemeProps:function(e){return(0,C.Z)({props:e,name:"MuiStack"})}}),R=P},97278:function(e,o,r){r.d(o,{Z:function(){return y}});var n=r(29439),t=r(63366),a=r(87462),i=r(72791),c=r(63733),l=r(94419),s=r(14036),u=r(66934),d=r(98278),p=r(52930),f=r(95080),m=r(75878),v=r(21217);function h(e){return(0,v.Z)("PrivateSwitchBase",e)}(0,m.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Z=r(80184),b=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],g=(0,u.ZP)(f.Z)((function(e){var o=e.ownerState;return(0,a.Z)({padding:9,borderRadius:"50%"},"start"===o.edge&&{marginLeft:"small"===o.size?-3:-12},"end"===o.edge&&{marginRight:"small"===o.size?-3:-12})})),k=(0,u.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=i.forwardRef((function(e,o){var r=e.autoFocus,i=e.checked,u=e.checkedIcon,f=e.className,m=e.defaultChecked,v=e.disabled,y=e.disableFocusRipple,w=void 0!==y&&y,x=e.edge,S=void 0!==x&&x,C=e.icon,P=e.id,R=e.inputProps,F=e.inputRef,N=e.name,j=e.onBlur,M=e.onChange,z=e.onFocus,B=e.readOnly,q=e.required,I=void 0!==q&&q,L=e.tabIndex,G=e.type,O=e.value,E=(0,t.Z)(e,b),T=(0,d.Z)({controlled:i,default:Boolean(m),name:"SwitchBase",state:"checked"}),A=(0,n.Z)(T,2),D=A[0],$=A[1],H=(0,p.Z)(),V=v;H&&"undefined"===typeof V&&(V=H.disabled);var W="checkbox"===G||"radio"===G,_=(0,a.Z)({},e,{checked:D,disabled:V,disableFocusRipple:w,edge:S}),U=function(e){var o=e.classes,r=e.checked,n=e.disabled,t=e.edge,a={root:["root",r&&"checked",n&&"disabled",t&&"edge".concat((0,s.Z)(t))],input:["input"]};return(0,l.Z)(a,h,o)}(_);return(0,Z.jsxs)(g,(0,a.Z)({component:"span",className:(0,c.Z)(U.root,f),centerRipple:!0,focusRipple:!w,disabled:V,tabIndex:null,role:void 0,onFocus:function(e){z&&z(e),H&&H.onFocus&&H.onFocus(e)},onBlur:function(e){j&&j(e),H&&H.onBlur&&H.onBlur(e)},ownerState:_,ref:o},E,{children:[(0,Z.jsx)(k,(0,a.Z)({autoFocus:r,checked:i,defaultChecked:m,className:U.input,disabled:V,id:W?P:void 0,name:N,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var o=e.target.checked;$(o),M&&M(e,o)}},readOnly:B,ref:F,required:I,ownerState:_,tabIndex:L,type:G},"checkbox"===G&&void 0===O?{}:{value:O},R)),D?u:C]}))}))},31260:function(e,o,r){var n=r(78949);o.Z=n.Z},78949:function(e,o,r){function n(){for(var e=arguments.length,o=new Array(e),r=0;r {\n const {\n classes,\n disabled,\n labelPlacement,\n error,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', `labelPlacement${capitalize(labelPlacement)}`, error && 'error', required && 'required'],\n label: ['label', disabled && 'disabled'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormControlLabelUtilityClasses, classes);\n};\nexport const FormControlLabelRoot = styled('label', {\n name: 'MuiFormControlLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formControlLabelClasses.label}`]: styles.label\n }, styles.root, styles[`labelPlacement${capitalize(ownerState.labelPlacement)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n [`&.${formControlLabelClasses.disabled}`]: {\n cursor: 'default'\n }\n}, ownerState.labelPlacement === 'start' && {\n flexDirection: 'row-reverse',\n marginLeft: 16,\n // used for row presentation of radio/checkbox\n marginRight: -11\n}, ownerState.labelPlacement === 'top' && {\n flexDirection: 'column-reverse',\n marginLeft: 16\n}, ownerState.labelPlacement === 'bottom' && {\n flexDirection: 'column',\n marginLeft: 16\n}, {\n [`& .${formControlLabelClasses.label}`]: {\n [`&.${formControlLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n }\n}));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormControlLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(({\n theme\n}) => ({\n [`&.${formControlLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n}));\n\n/**\n * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\nconst FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {\n var _ref, _slotProps$typography;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormControlLabel'\n });\n const {\n className,\n componentsProps = {},\n control,\n disabled: disabledProp,\n disableTypography,\n label: labelProp,\n labelPlacement = 'end',\n required: requiredProp,\n slotProps = {}\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;\n const required = requiredProp != null ? requiredProp : control.props.required;\n const controlProps = {\n disabled,\n required\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = _extends({}, props, {\n disabled,\n labelPlacement,\n required,\n error: fcs.error\n });\n const classes = useUtilityClasses(ownerState);\n const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;\n let label = labelProp;\n if (label != null && label.type !== Typography && !disableTypography) {\n label = /*#__PURE__*/_jsx(Typography, _extends({\n component: \"span\"\n }, typographySlotProps, {\n className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),\n children: label\n }));\n }\n return /*#__PURE__*/_jsxs(FormControlLabelRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other, {\n children: [/*#__PURE__*/React.cloneElement(control, controlProps), required ? /*#__PURE__*/_jsxs(Stack, {\n direction: \"row\",\n alignItems: \"center\",\n children: [label, /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n }) : label]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n /**\n * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n /**\n * If `true`, the control is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is rendered as it is passed without an additional typography node.\n */\n disableTypography: PropTypes.bool,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * A text or an element to be used in an enclosing label element.\n */\n label: PropTypes.node,\n /**\n * The position of the label.\n * @default 'end'\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * @ignore\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default FormControlLabel;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'RadioButtonUnchecked');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z\"\n}), 'RadioButtonChecked');","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';\nimport RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';\nimport styled from '../styles/styled';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst RadioButtonIconRoot = styled('span')({\n position: 'relative',\n display: 'flex'\n});\nconst RadioButtonIconBackground = styled(RadioButtonUncheckedIcon)({\n // Scale applied to prevent dot misalignment in Safari\n transform: 'scale(1)'\n});\nconst RadioButtonIconDot = styled(RadioButtonCheckedIcon)(({\n theme,\n ownerState\n}) => _extends({\n left: 0,\n position: 'absolute',\n transform: 'scale(0)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeIn,\n duration: theme.transitions.duration.shortest\n })\n}, ownerState.checked && {\n transform: 'scale(1)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeOut,\n duration: theme.transitions.duration.shortest\n })\n}));\n\n/**\n * @ignore - internal component.\n */\nfunction RadioButtonIcon(props) {\n const {\n checked = false,\n classes = {},\n fontSize\n } = props;\n const ownerState = _extends({}, props, {\n checked\n });\n return /*#__PURE__*/_jsxs(RadioButtonIconRoot, {\n className: classes.root,\n ownerState: ownerState,\n children: [/*#__PURE__*/_jsx(RadioButtonIconBackground, {\n fontSize: fontSize,\n className: classes.background,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(RadioButtonIconDot, {\n fontSize: fontSize,\n className: classes.dot,\n ownerState: ownerState\n })]\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? RadioButtonIcon.propTypes = {\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n /**\n * The size of the component.\n * `small` is equivalent to the dense radio styling.\n */\n fontSize: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default RadioButtonIcon;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getRadioUtilityClass(slot) {\n return generateUtilityClass('MuiRadio', slot);\n}\nconst radioClasses = generateUtilityClasses('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);\nexport default radioClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"checked\", \"checkedIcon\", \"color\", \"icon\", \"name\", \"onChange\", \"size\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport { alpha } from '@mui/system';\nimport SwitchBase from '../internal/SwitchBase';\nimport useThemeProps from '../styles/useThemeProps';\nimport RadioButtonIcon from './RadioButtonIcon';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport useRadioGroup from '../RadioGroup/useRadioGroup';\nimport radioClasses, { getRadioUtilityClass } from './radioClasses';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n size\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, size !== 'medium' && `size${capitalize(size)}`]\n };\n return _extends({}, classes, composeClasses(slots, getRadioUtilityClass, classes));\n};\nconst RadioRoot = styled(SwitchBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiRadio',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n color: (theme.vars || theme).palette.text.secondary\n}, !ownerState.disableRipple && {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n}, ownerState.color !== 'default' && {\n [`&.${radioClasses.checked}`]: {\n color: (theme.vars || theme).palette[ownerState.color].main\n }\n}, {\n [`&.${radioClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n }\n}));\nfunction areEqualValues(a, b) {\n if (typeof b === 'object' && b !== null) {\n return a === b;\n }\n\n // The value could be a number, the DOM will stringify it anyway.\n return String(a) === String(b);\n}\nconst defaultCheckedIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {\n checked: true\n});\nconst defaultIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {});\nconst Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {\n var _defaultIcon$props$fo, _defaultCheckedIcon$p;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiRadio'\n });\n const {\n checked: checkedProp,\n checkedIcon = defaultCheckedIcon,\n color = 'primary',\n icon = defaultIcon,\n name: nameProp,\n onChange: onChangeProp,\n size = 'medium',\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n size\n });\n const classes = useUtilityClasses(ownerState);\n const radioGroup = useRadioGroup();\n let checked = checkedProp;\n const onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);\n let name = nameProp;\n if (radioGroup) {\n if (typeof checked === 'undefined') {\n checked = areEqualValues(radioGroup.value, props.value);\n }\n if (typeof name === 'undefined') {\n name = radioGroup.name;\n }\n }\n return /*#__PURE__*/_jsx(RadioRoot, _extends({\n type: \"radio\",\n icon: /*#__PURE__*/React.cloneElement(icon, {\n fontSize: (_defaultIcon$props$fo = defaultIcon.props.fontSize) != null ? _defaultIcon$props$fo : size\n }),\n checkedIcon: /*#__PURE__*/React.cloneElement(checkedIcon, {\n fontSize: (_defaultCheckedIcon$p = defaultCheckedIcon.props.fontSize) != null ? _defaultCheckedIcon$p : size\n }),\n ownerState: ownerState,\n classes: classes,\n name: name,\n checked: checked,\n onChange: onChange,\n ref: ref,\n className: clsx(classes.root, className)\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Radio.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n * @default \n */\n checkedIcon: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display when the component is unchecked.\n * @default \n */\n icon: PropTypes.node,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * `small` is equivalent to the dense radio styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default Radio;","'use client';\n\nimport * as React from 'react';\nimport RadioGroupContext from './RadioGroupContext';\nexport default function useRadioGroup() {\n return React.useContext(RadioGroupContext);\n}","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getFormGroupUtilityClass(slot) {\n return generateUtilityClass('MuiFormGroup', slot);\n}\nconst formGroupClasses = generateUtilityClasses('MuiFormGroup', ['root', 'row', 'error']);\nexport default formGroupClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"row\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport { getFormGroupUtilityClass } from './formGroupClasses';\nimport useFormControl from '../FormControl/useFormControl';\nimport formControlState from '../FormControl/formControlState';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n row,\n error\n } = ownerState;\n const slots = {\n root: ['root', row && 'row', error && 'error']\n };\n return composeClasses(slots, getFormGroupUtilityClass, classes);\n};\nconst FormGroupRoot = styled('div', {\n name: 'MuiFormGroup',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.row && styles.row];\n }\n})(({\n ownerState\n}) => _extends({\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap'\n}, ownerState.row && {\n flexDirection: 'row'\n}));\n\n/**\n * `FormGroup` wraps controls such as `Checkbox` and `Switch`.\n * It provides compact row layout.\n * For the `Radio`, you should be using the `RadioGroup` component instead of this one.\n */\nconst FormGroup = /*#__PURE__*/React.forwardRef(function FormGroup(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormGroup'\n });\n const {\n className,\n row = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = _extends({}, props, {\n row,\n error: fcs.error\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormGroupRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormGroup.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Display group of elements in a compact row.\n * @default false\n */\n row: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default FormGroup;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"actions\", \"children\", \"defaultValue\", \"name\", \"onChange\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport FormGroup from '../FormGroup';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nimport RadioGroupContext from './RadioGroupContext';\nimport useId from '../utils/useId';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n children,\n defaultValue,\n name: nameProp,\n onChange,\n value: valueProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const rootRef = React.useRef(null);\n const [value, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'RadioGroup'\n });\n React.useImperativeHandle(actions, () => ({\n focus: () => {\n let input = rootRef.current.querySelector('input:not(:disabled):checked');\n if (!input) {\n input = rootRef.current.querySelector('input:not(:disabled)');\n }\n if (input) {\n input.focus();\n }\n }\n }), []);\n const handleRef = useForkRef(ref, rootRef);\n const name = useId(nameProp);\n const contextValue = React.useMemo(() => ({\n name,\n onChange(event) {\n setValueState(event.target.value);\n if (onChange) {\n onChange(event, event.target.value);\n }\n },\n value\n }), [name, onChange, setValueState, value]);\n return /*#__PURE__*/_jsx(RadioGroupContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(FormGroup, _extends({\n role: \"radiogroup\",\n ref: handleRef\n }, other, {\n children: children\n }))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? RadioGroup.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * The name used to reference the value of the control.\n * If you don't provide this prop, it falls back to a randomly generated name.\n */\n name: PropTypes.string,\n /**\n * Callback fired when a radio button is selected.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * @param {string} value The value of the selected radio button.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * Value of the selected radio button. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default RadioGroup;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst RadioGroupContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n RadioGroupContext.displayName = 'RadioGroupContext';\n}\nexport default RadioGroupContext;","import createStyled from './createStyled';\nconst styled = createStyled();\nexport default styled;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"component\", \"direction\", \"spacing\", \"divider\", \"children\", \"className\", \"useFlexGap\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { deepmerge, unstable_composeClasses as composeClasses, unstable_generateUtilityClass as generateUtilityClass } from '@mui/utils';\nimport systemStyled from '../styled';\nimport useThemePropsSystem from '../useThemeProps';\nimport { extendSxProp } from '../styleFunctionSx';\nimport createTheme from '../createTheme';\nimport { handleBreakpoints, mergeBreakpointsInOrder, resolveBreakpointValues } from '../breakpoints';\nimport { createUnarySpacing, getValue } from '../spacing';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiStack',\n defaultTheme\n });\n}\n\n/**\n * Return an array with the separator React element interspersed between\n * each React node of the input children.\n *\n * > joinChildren([1,2,3], 0)\n * [1,0,2,0,3]\n */\nfunction joinChildren(children, separator) {\n const childrenArray = React.Children.toArray(children).filter(Boolean);\n return childrenArray.reduce((output, child, index) => {\n output.push(child);\n if (index < childrenArray.length - 1) {\n output.push( /*#__PURE__*/React.cloneElement(separator, {\n key: `separator-${index}`\n }));\n }\n return output;\n }, []);\n}\nconst getSideFromDirection = direction => {\n return {\n row: 'Left',\n 'row-reverse': 'Right',\n column: 'Top',\n 'column-reverse': 'Bottom'\n }[direction];\n};\nexport const style = ({\n ownerState,\n theme\n}) => {\n let styles = _extends({\n display: 'flex',\n flexDirection: 'column'\n }, handleBreakpoints({\n theme\n }, resolveBreakpointValues({\n values: ownerState.direction,\n breakpoints: theme.breakpoints.values\n }), propValue => ({\n flexDirection: propValue\n })));\n if (ownerState.spacing) {\n const transformer = createUnarySpacing(theme);\n const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {\n if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {\n acc[breakpoint] = true;\n }\n return acc;\n }, {});\n const directionValues = resolveBreakpointValues({\n values: ownerState.direction,\n base\n });\n const spacingValues = resolveBreakpointValues({\n values: ownerState.spacing,\n base\n });\n if (typeof directionValues === 'object') {\n Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {\n const directionValue = directionValues[breakpoint];\n if (!directionValue) {\n const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';\n directionValues[breakpoint] = previousDirectionValue;\n }\n });\n }\n const styleFromPropValue = (propValue, breakpoint) => {\n if (ownerState.useFlexGap) {\n return {\n gap: getValue(transformer, propValue)\n };\n }\n return {\n // The useFlexGap={false} implement relies on each child to give up control of the margin.\n // We need to reset the margin to avoid double spacing.\n '& > :not(style):not(style)': {\n margin: 0\n },\n '& > :not(style) ~ :not(style)': {\n [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)\n }\n };\n };\n styles = deepmerge(styles, handleBreakpoints({\n theme\n }, spacingValues, styleFromPropValue));\n }\n styles = mergeBreakpointsInOrder(theme.breakpoints, styles);\n return styles;\n};\nexport default function createStack(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiStack'\n } = options;\n const useUtilityClasses = () => {\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n const StackRoot = createStyledComponent(style);\n const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n component = 'div',\n direction = 'column',\n spacing = 0,\n divider,\n children,\n className,\n useFlexGap = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = {\n direction,\n spacing,\n useFlexGap\n };\n const classes = useUtilityClasses();\n return /*#__PURE__*/_jsx(StackRoot, _extends({\n as: component,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className)\n }, other, {\n children: divider ? joinChildren(children, divider) : children\n }));\n });\n process.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n divider: PropTypes.node,\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Stack;\n}","'use client';\n\nimport PropTypes from 'prop-types';\nimport { createStack } from '@mui/system';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nconst Stack = createStack({\n createStyledComponent: styled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n }),\n useThemeProps: inProps => useThemeProps({\n props: inProps,\n name: 'MuiStack'\n })\n});\nprocess.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n * @default 'column'\n */\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n /**\n * Add an element between each child.\n */\n divider: PropTypes.node,\n /**\n * Defines the space between immediate children.\n * @default 0\n */\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * The system prop, which allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.\n *\n * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),\n * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.\n *\n * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.\n * @default false\n */\n useFlexGap: PropTypes.bool\n} : void 0;\nexport default Stack;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getSwitchBaseUtilityClass(slot) {\n return generateUtilityClass('PrivateSwitchBase', slot);\n}\nconst switchBaseClasses = generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);\nexport default switchBaseClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"checked\", \"checkedIcon\", \"className\", \"defaultChecked\", \"disabled\", \"disableFocusRipple\", \"edge\", \"icon\", \"id\", \"inputProps\", \"inputRef\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"readOnly\", \"required\", \"tabIndex\", \"type\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport capitalize from '../utils/capitalize';\nimport styled from '../styles/styled';\nimport useControlled from '../utils/useControlled';\nimport useFormControl from '../FormControl/useFormControl';\nimport ButtonBase from '../ButtonBase';\nimport { getSwitchBaseUtilityClass } from './switchBaseClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n checked,\n disabled,\n edge\n } = ownerState;\n const slots = {\n root: ['root', checked && 'checked', disabled && 'disabled', edge && `edge${capitalize(edge)}`],\n input: ['input']\n };\n return composeClasses(slots, getSwitchBaseUtilityClass, classes);\n};\nconst SwitchBaseRoot = styled(ButtonBase)(({\n ownerState\n}) => _extends({\n padding: 9,\n borderRadius: '50%'\n}, ownerState.edge === 'start' && {\n marginLeft: ownerState.size === 'small' ? -3 : -12\n}, ownerState.edge === 'end' && {\n marginRight: ownerState.size === 'small' ? -3 : -12\n}));\nconst SwitchBaseInput = styled('input')({\n cursor: 'inherit',\n position: 'absolute',\n opacity: 0,\n width: '100%',\n height: '100%',\n top: 0,\n left: 0,\n margin: 0,\n padding: 0,\n zIndex: 1\n});\n\n/**\n * @ignore - internal component.\n */\nconst SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref) {\n const {\n autoFocus,\n checked: checkedProp,\n checkedIcon,\n className,\n defaultChecked,\n disabled: disabledProp,\n disableFocusRipple = false,\n edge = false,\n icon,\n id,\n inputProps,\n inputRef,\n name,\n onBlur,\n onChange,\n onFocus,\n readOnly,\n required = false,\n tabIndex,\n type,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const [checked, setCheckedState] = useControlled({\n controlled: checkedProp,\n default: Boolean(defaultChecked),\n name: 'SwitchBase',\n state: 'checked'\n });\n const muiFormControl = useFormControl();\n const handleFocus = event => {\n if (onFocus) {\n onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n }\n };\n const handleInputChange = event => {\n // Workaround for https://github.com/facebook/react/issues/9023\n if (event.nativeEvent.defaultPrevented) {\n return;\n }\n const newChecked = event.target.checked;\n setCheckedState(newChecked);\n if (onChange) {\n // TODO v6: remove the second argument.\n onChange(event, newChecked);\n }\n };\n let disabled = disabledProp;\n if (muiFormControl) {\n if (typeof disabled === 'undefined') {\n disabled = muiFormControl.disabled;\n }\n }\n const hasLabelFor = type === 'checkbox' || type === 'radio';\n const ownerState = _extends({}, props, {\n checked,\n disabled,\n disableFocusRipple,\n edge\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SwitchBaseRoot, _extends({\n component: \"span\",\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n tabIndex: null,\n role: undefined,\n onFocus: handleFocus,\n onBlur: handleBlur,\n ownerState: ownerState,\n ref: ref\n }, other, {\n children: [/*#__PURE__*/_jsx(SwitchBaseInput, _extends({\n autoFocus: autoFocus,\n checked: checkedProp,\n defaultChecked: defaultChecked,\n className: classes.input,\n disabled: disabled,\n id: hasLabelFor ? id : undefined,\n name: name,\n onChange: handleInputChange,\n readOnly: readOnly,\n ref: inputRef,\n required: required,\n ownerState: ownerState,\n tabIndex: tabIndex,\n type: type\n }, type === 'checkbox' && value === undefined ? {} : {\n value\n }, inputProps)), checked ? checkedIcon : icon]\n }));\n});\n\n// NB: If changed, please update Checkbox, Switch and Radio\n// so that the API documentation is updated.\nprocess.env.NODE_ENV !== \"production\" ? SwitchBase.propTypes = {\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node.isRequired,\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node.isRequired,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /*\n * @ignore\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.object,\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The input component prop `type`.\n */\n type: PropTypes.string.isRequired,\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default SwitchBase;","import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils';\nexport default createChainedFunction;","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}"],"names":["getFormControlLabelUtilityClasses","slot","generateUtilityClass","generateUtilityClasses","_excluded","FormControlLabelRoot","styled","name","overridesResolver","props","styles","ownerState","_defineProperty","concat","formControlLabelClasses","label","root","capitalize","labelPlacement","_ref3","theme","_extends","display","alignItems","cursor","verticalAlign","WebkitTapHighlightColor","marginLeft","marginRight","disabled","flexDirection","color","vars","palette","text","AsteriskComponent","asterisk","_ref4","error","main","React","inProps","ref","_ref","_slotProps$typography","useThemeProps","className","_props$componentsProp","componentsProps","control","disabledProp","disableTypography","labelProp","_props$labelPlacement","requiredProp","required","_props$slotProps","slotProps","other","_objectWithoutPropertiesLoose","muiFormControl","useFormControl","controlProps","forEach","key","fcs","formControlState","states","classes","slots","composeClasses","useUtilityClasses","typographySlotProps","typography","type","Typography","_jsx","component","clsx","children","_jsxs","Stack","direction","createSvgIcon","d","RadioButtonIconRoot","position","RadioButtonIconBackground","RadioButtonUncheckedIcon","transform","RadioButtonIconDot","RadioButtonCheckedIcon","left","transition","transitions","create","easing","easeIn","duration","shortest","checked","easeOut","_props$checked","_props$classes","fontSize","background","dot","getRadioUtilityClass","RadioRoot","SwitchBase","shouldForwardProp","prop","rootShouldForwardProp","secondary","disableRipple","backgroundColor","action","activeChannel","mainChannel","hoverOpacity","alpha","active","radioClasses","defaultCheckedIcon","RadioButtonIcon","defaultIcon","_defaultIcon$props$fo","_defaultCheckedIcon$p","a","b","checkedProp","_props$checkedIcon","checkedIcon","_props$color","_props$icon","icon","nameProp","onChangeProp","onChange","_props$size","size","radioGroup","RadioGroupContext","createChainedFunction","value","String","getFormGroupUtilityClass","FormGroupRoot","row","flexWrap","_props$row","actions","defaultValue","valueProp","rootRef","_useControlled","useControlled","controlled","default","_useControlled2","_slicedToArray","setValueState","focus","input","current","querySelector","handleRef","useForkRef","useId","contextValue","event","target","Provider","FormGroup","role","undefined","createStyled","defaultTheme","createTheme","defaultCreateStyledComponent","systemStyled","useThemePropsDefault","useThemePropsSystem","joinChildren","separator","childrenArray","toArray","filter","Boolean","reduce","output","child","index","push","length","style","handleBreakpoints","resolveBreakpointValues","values","breakpoints","propValue","spacing","transformer","createUnarySpacing","base","Object","keys","acc","breakpoint","directionValues","spacingValues","previousDirectionValue","deepmerge","useFlexGap","gap","getValue","margin","column","mergeBreakpointsInOrder","options","arguments","_options$createStyled","createStyledComponent","_options$useThemeProp","_options$componentNam","componentName","StackRoot","themeProps","extendSxProp","_props$component","_props$direction","_props$spacing","divider","_props$useFlexGap","as","createStack","getSwitchBaseUtilityClass","SwitchBaseRoot","ButtonBase","padding","borderRadius","edge","SwitchBaseInput","opacity","width","height","top","zIndex","autoFocus","defaultChecked","_props$disableFocusRi","disableFocusRipple","_props$edge","id","inputProps","inputRef","onBlur","onFocus","readOnly","_props$required","tabIndex","state","setCheckedState","hasLabelFor","centerRipple","focusRipple","nativeEvent","defaultPrevented","newChecked","_len","funcs","Array","_key","func","_len2","args","_key2","apply","this"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1581.2174ac68.chunk.js b/portal-ui/build/static/js/1581.2174ac68.chunk.js new file mode 100644 index 0000000000..6ef0a9d098 --- /dev/null +++ b/portal-ui/build/static/js/1581.2174ac68.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1581],{1581:function(e,t,n){n.r(t);var a=n(29439),o=n(72791),i=n(29945),u=n(45248),r=n(23814),c=n(56028),l=n(84741),d=n(87995),s=n(44690),f=n(31776),b=n(82342),h=n(80184);t.default=function(e){var t=e.open,n=e.enabled,x=e.cfg,p=e.selectedBucket,g=e.closeModalAndRefresh,k=(0,s.TL)(),v=(0,o.useState)(!1),j=(0,a.Z)(v,2),m=j[0],C=j[1],S=(0,o.useState)(!1),Z=(0,a.Z)(S,2),q=Z[0],B=Z[1],_=(0,o.useState)("1"),z=(0,a.Z)(_,2),E=z[0],y=z[1],A=(0,o.useState)("Ti"),T=(0,a.Z)(A,2),w=T[0],F=T[1],O=(0,o.useState)(!1),P=(0,a.Z)(O,2),Q=P[0],I=P[1];(0,o.useEffect)((function(){if(n&&(B(!0),x)){var e=(0,u.Am)(x.quota||0,!0,!1,!0);y(e.total.toString()),F(e.unit),I(!0)}}),[n,x]),(0,o.useEffect)((function(){I(!q||/^\d*(?:\.\d{1,2})?$/.test(E))}),[q,E]);return(0,h.jsx)(c.Z,{modalOpen:t,onClose:function(){g()},title:"Enable Bucket Quota",titleIcon:(0,h.jsx)(i.Wqw,{}),children:(0,h.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),!m&&Q&&f.h.buckets.setBucketQuota(p,{enabled:q,amount:parseInt((0,u.Pw)(E,w,!0)),quota_type:"hard"}).then((function(){C(!1),g()})).catch((function(e){C(!1),k((0,d.zb)((0,b.g)(e.error)))}))},children:(0,h.jsxs)(i.ltY,{withBorders:!1,containerPadding:!1,children:[(0,h.jsx)(i.rsf,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:q,onChange:function(e){B(e.target.checked)},label:"Enabled"}),q&&(0,h.jsx)(i.Wzg,{id:"quota_size",name:"quota_size",onChange:function(e){y(e.target.value),e.target.validity.valid?I(!0):I(!1)},label:"Quota",value:E,required:!0,min:"1",overlayObject:(0,h.jsx)(l.Z,{id:"quota_unit",onUnitChange:function(e){F(e)},unitSelected:w,unitsList:(0,u.zQ)(["Ki"]),disabled:!1}),error:Q?"":"Please enter a valid quota"}),(0,h.jsxs)(i.rjZ,{item:!0,xs:12,sx:r.ID.modalButtonBar,children:[(0,h.jsx)(i.zxk,{id:"cancel",type:"button",variant:"regular",disabled:m,onClick:function(){g()},label:"Cancel"}),(0,h.jsx)(i.zxk,{id:"save",type:"submit",variant:"callAction",disabled:m||!Q,label:"Save"})]}),m&&(0,h.jsx)(i.rjZ,{item:!0,xs:12,children:(0,h.jsx)(i.kod,{})})]})})})}},84741:function(e,t,n){var a=n(29439),o=n(72791),i=n(29945),u=n(17691),r=n(26181),c=n.n(r),l=n(80184),d=u.ZP.button((function(e){var t=e.theme;return{border:"1px solid ".concat(c()(t,"borderColor","#E2E2E2")),borderRadius:3,color:c()(t,"secondaryText","#5B5C5C"),backgroundColor:c()(t,"boxBackground","#FBFAFA"),fontSize:12}}));t.Z=function(e){var t=e.id,n=e.unitSelected,u=e.unitsList,r=e.disabled,c=void 0!==r&&r,s=e.onUnitChange,f=o.useState(null),b=(0,a.Z)(f,2),h=b[0],x=b[1],p=Boolean(h),g=function(e){x(null),""!==e&&s&&s(e)};return(0,l.jsxs)(o.Fragment,{children:[(0,l.jsx)(d,{id:"".concat(t,"-button"),"aria-controls":"".concat(t,"-menu"),"aria-haspopup":"true","aria-expanded":p?"true":void 0,onClick:function(e){x(e.currentTarget)},disabled:c,type:"button",children:n}),(0,l.jsx)(i.udT,{id:"upload-main-menu",options:u,selectedOption:"",onSelect:function(e){return g(e)},hideTriggerAction:function(){g("")},open:p,anchorEl:h,anchorOrigin:"end"})]})}}}]); +//# sourceMappingURL=1581.2174ac68.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1581.2174ac68.chunk.js.map b/portal-ui/build/static/js/1581.2174ac68.chunk.js.map new file mode 100644 index 0000000000..5c972c9eb9 --- /dev/null +++ b/portal-ui/build/static/js/1581.2174ac68.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/1581.2174ac68.chunk.js","mappings":"2PAsMA,UApJoB,SAAHA,GAMS,IALxBC,EAAID,EAAJC,KACAC,EAAOF,EAAPE,QACAC,EAAGH,EAAHG,IACAC,EAAcJ,EAAdI,eACAC,EAAoBL,EAApBK,qBAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAA8BC,EAAAA,EAAAA,WAAkB,GAAMC,GAAAC,EAAAA,EAAAA,GAAAH,EAAA,GAA/CI,EAAOF,EAAA,GAAEG,EAAUH,EAAA,GAC1BI,GAAwCL,EAAAA,EAAAA,WAAkB,GAAMM,GAAAJ,EAAAA,EAAAA,GAAAG,EAAA,GAAzDE,EAAYD,EAAA,GAAEE,EAAeF,EAAA,GACpCG,GAAkCT,EAAAA,EAAAA,UAAiB,KAAIU,GAAAR,EAAAA,EAAAA,GAAAO,EAAA,GAAhDE,EAASD,EAAA,GAAEE,EAAYF,EAAA,GAC9BG,GAAkCb,EAAAA,EAAAA,UAAiB,MAAKc,GAAAZ,EAAAA,EAAAA,GAAAW,EAAA,GAAjDE,EAASD,EAAA,GAAEE,EAAYF,EAAA,GAC9BG,GAAoCjB,EAAAA,EAAAA,WAAkB,GAAMkB,GAAAhB,EAAAA,EAAAA,GAAAe,EAAA,GAArDE,EAAUD,EAAA,GAAEE,EAAaF,EAAA,IAEhCG,EAAAA,EAAAA,YAAU,WACR,GAAI5B,IACFe,GAAgB,GACZd,GAAK,CACP,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,MAAKC,GAAAzG,EAAAA,EAAAA,GAAAuG,EAAA,GAAjEG,EAAQD,EAAA,GAAEE,EAAWF,EAAA,GACtBnH,EAAOsH,QAAQF,GAIfG,EAAc,SAACC,GACnBH,EAAY,MACI,KAAZG,GAAkBrC,GACpBA,EAAaqC,EAEjB,EAEA,OACEzD,EAAAA,EAAAA,MAAC0D,EAAAA,SAAQ,CAAA7E,SAAA,EACPP,EAAAA,EAAAA,KAAC+D,EAAc,CACb/B,GAAE,GAAAoC,OAAKpC,EAAE,WACT,mBAAAoC,OAAkBpC,EAAE,SACpB,gBAAc,OACd,gBAAerE,EAAO,YAAS0H,EAC/BxB,QAjBc,SAACzB,GACnB4C,EAAY5C,EAAMkD,cACpB,EAgBMnC,SAAUA,EACVQ,KAAM,SAASpD,SAEdyC,KAEHhD,EAAAA,EAAAA,KAACuF,EAAAA,IAAgB,CACfvD,GAAI,mBACJwD,QAASvC,EACTwC,eAAgB,GAChBC,SAAU,SAAC3D,GAAK,OAAKmD,EAAYnD,EAAM,EACvC4D,kBAAmB,WACjBT,EAAY,GACd,EACAvH,KAAMA,EACNoH,SAAUA,EACVa,aAAc,UAItB,C","sources":["screens/Console/Buckets/BucketDetails/EnableQuota.tsx","screens/Console/Common/FormComponents/InputUnitMenu/InputUnitMenu.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState } from \"react\";\nimport {\n BucketQuotaIcon,\n Button,\n FormLayout,\n InputBox,\n Switch,\n Grid,\n ProgressBar,\n} from \"mds\";\nimport {\n calculateBytes,\n getBytes,\n k8sScalarUnitsExcluding,\n} from \"../../../../common/utils\";\n\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\nimport InputUnitMenu from \"../../Common/FormComponents/InputUnitMenu/InputUnitMenu\";\n\nimport { setModalErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { BucketQuota } from \"api/consoleApi\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\n\ninterface IEnableQuotaProps {\n open: boolean;\n enabled: boolean;\n cfg: BucketQuota | null;\n selectedBucket: string;\n closeModalAndRefresh: () => void;\n}\n\nconst EnableQuota = ({\n open,\n enabled,\n cfg,\n selectedBucket,\n closeModalAndRefresh,\n}: IEnableQuotaProps) => {\n const dispatch = useAppDispatch();\n const [loading, setLoading] = useState(false);\n const [quotaEnabled, setQuotaEnabled] = useState(false);\n const [quotaSize, setQuotaSize] = useState(\"1\");\n const [quotaUnit, setQuotaUnit] = useState(\"Ti\");\n const [validInput, setValidInput] = useState(false);\n\n useEffect(() => {\n if (enabled) {\n setQuotaEnabled(true);\n if (cfg) {\n const unitCalc = calculateBytes(cfg.quota || 0, true, false, true);\n\n setQuotaSize(unitCalc.total.toString());\n setQuotaUnit(unitCalc.unit);\n setValidInput(true);\n }\n }\n }, [enabled, cfg]);\n\n useEffect(() => {\n const valRegExp = /^\\d*(?:\\.\\d{1,2})?$/;\n\n if (!quotaEnabled) {\n setValidInput(true);\n return;\n }\n\n setValidInput(valRegExp.test(quotaSize));\n }, [quotaEnabled, quotaSize]);\n\n const enableBucketEncryption = () => {\n if (loading || !validInput) {\n return;\n }\n\n api.buckets\n .setBucketQuota(selectedBucket, {\n enabled: quotaEnabled,\n amount: parseInt(getBytes(quotaSize, quotaUnit, true)),\n quota_type: \"hard\",\n })\n .then(() => {\n setLoading(false);\n closeModalAndRefresh();\n })\n .catch((err) => {\n setLoading(false);\n dispatch(setModalErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n return (\n {\n closeModalAndRefresh();\n }}\n title=\"Enable Bucket Quota\"\n titleIcon={}\n >\n ) => {\n e.preventDefault();\n enableBucketEncryption();\n }}\n >\n \n ) => {\n setQuotaEnabled(event.target.checked);\n }}\n label={\"Enabled\"}\n />\n {quotaEnabled && (\n ) => {\n setQuotaSize(e.target.value);\n if (!e.target.validity.valid) {\n setValidInput(false);\n } else {\n setValidInput(true);\n }\n }}\n label=\"Quota\"\n value={quotaSize}\n required\n min=\"1\"\n overlayObject={\n {\n setQuotaUnit(newValue);\n }}\n unitSelected={quotaUnit}\n unitsList={k8sScalarUnitsExcluding([\"Ki\"])}\n disabled={false}\n />\n }\n error={!validInput ? \"Please enter a valid quota\" : \"\"}\n />\n )}\n \n {\n closeModalAndRefresh();\n }}\n label={\"Cancel\"}\n />\n\n \n \n {loading && (\n \n \n \n )}\n \n \n \n );\n};\n\nexport default EnableQuota;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { DropdownSelector, SelectorType } from \"mds\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\n\ninterface IInputUnitBox {\n id: string;\n unitSelected: string;\n unitsList: SelectorType[];\n disabled?: boolean;\n onUnitChange?: (newValue: string) => void;\n}\n\nconst UnitMenuButton = styled.button(({ theme }) => ({\n border: `1px solid ${get(theme, \"borderColor\", \"#E2E2E2\")}`,\n borderRadius: 3,\n color: get(theme, \"secondaryText\", \"#5B5C5C\"),\n backgroundColor: get(theme, \"boxBackground\", \"#FBFAFA\"),\n fontSize: 12,\n}));\n\nconst InputUnitMenu = ({\n id,\n unitSelected,\n unitsList,\n disabled = false,\n onUnitChange,\n}: IInputUnitBox) => {\n const [anchorEl, setAnchorEl] = React.useState(null);\n const open = Boolean(anchorEl);\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget);\n };\n const handleClose = (newUnit: string) => {\n setAnchorEl(null);\n if (newUnit !== \"\" && onUnitChange) {\n onUnitChange(newUnit);\n }\n };\n\n return (\n \n \n {unitSelected}\n \n handleClose(value)}\n hideTriggerAction={() => {\n handleClose(\"\");\n }}\n open={open}\n anchorEl={anchorEl}\n anchorOrigin={\"end\"}\n />\n \n );\n};\n\nexport default InputUnitMenu;\n"],"names":["_ref","open","enabled","cfg","selectedBucket","closeModalAndRefresh","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","loading","setLoading","_useState3","_useState4","quotaEnabled","setQuotaEnabled","_useState5","_useState6","quotaSize","setQuotaSize","_useState7","_useState8","quotaUnit","setQuotaUnit","_useState9","_useState10","validInput","setValidInput","useEffect","unitCalc","calculateBytes","quota","total","toString","unit","test","_jsx","ModalWrapper","modalOpen","onClose","title","titleIcon","BucketQuotaIcon","children","noValidate","autoComplete","onSubmit","e","preventDefault","api","buckets","setBucketQuota","amount","parseInt","getBytes","quota_type","then","catch","err","setModalErrorSnackMessage","errorToHandler","error","_jsxs","FormLayout","withBorders","containerPadding","Switch","value","id","name","checked","onChange","event","target","label","InputBox","validity","valid","required","min","overlayObject","InputUnitMenu","onUnitChange","newValue","unitSelected","unitsList","k8sScalarUnitsExcluding","disabled","Grid","item","xs","sx","modalStyleUtils","modalButtonBar","Button","type","variant","onClick","ProgressBar","UnitMenuButton","styled","button","theme","border","concat","get","borderRadius","color","backgroundColor","fontSize","_ref2","_ref2$disabled","_React$useState","React","_React$useState2","anchorEl","setAnchorEl","Boolean","handleClose","newUnit","Fragment","undefined","currentTarget","DropdownSelector","options","selectedOption","onSelect","hideTriggerAction","anchorOrigin"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1581.9e1d2acf.chunk.js b/portal-ui/build/static/js/1581.9e1d2acf.chunk.js deleted file mode 100644 index aa88dc23d1..0000000000 --- a/portal-ui/build/static/js/1581.9e1d2acf.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1581],{1581:function(t,e,n){n.r(e);var a=n(29439),o=n(72791),i=n(29945),u=n(45248),r=n(23814),l=n(56028),c=n(84741),s=n(87995),d=n(44690),f=n(31776),b=n(82342),h=n(80184);e.default=function(t){var e=t.open,n=t.enabled,v=t.cfg,x=t.selectedBucket,g=t.closeModalAndRefresh,p=(0,d.TL)(),m=(0,o.useState)(!1),k=(0,a.Z)(m,2),j=k[0],Z=k[1],C=(0,o.useState)(!1),S=(0,a.Z)(C,2),q=S[0],z=S[1],_=(0,o.useState)("1"),y=(0,a.Z)(_,2),B=y[0],w=y[1],E=(0,o.useState)("Ti"),T=(0,a.Z)(E,2),F=T[0],O=T[1],Q=(0,o.useState)(!1),A=(0,a.Z)(Q,2),I=A[0],L=A[1];(0,o.useEffect)((function(){if(n&&(z(!0),v)){var t=(0,u.Am)(v.quota||0,!0,!1,!0);w(t.total.toString()),O(t.unit),L(!0)}}),[n,v]),(0,o.useEffect)((function(){L(!q||/^\d*(?:\.\d{1,2})?$/.test(B))}),[q,B]);return(0,h.jsx)(l.Z,{modalOpen:e,onClose:function(){g()},title:"Enable Bucket Quota",titleIcon:(0,h.jsx)(i.Wqw,{}),children:(0,h.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(t){t.preventDefault(),!j&&I&&f.h.buckets.setBucketQuota(x,{enabled:q,amount:parseInt((0,u.Pw)(B,F,!0)),quota_type:"hard"}).then((function(){Z(!1),g()})).catch((function(t){Z(!1),p((0,s.zb)((0,b.g)(t.error)))}))},children:(0,h.jsxs)(i.ltY,{withBorders:!1,containerPadding:!1,children:[(0,h.jsx)(i.rsf,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:q,onChange:function(t){z(t.target.checked)},label:"Enabled"}),q&&(0,h.jsx)(i.Wzg,{id:"quota_size",name:"quota_size",onChange:function(t){w(t.target.value),t.target.validity.valid?L(!0):L(!1)},label:"Quota",value:B,required:!0,min:"1",overlayObject:(0,h.jsx)(c.Z,{id:"quota_unit",onUnitChange:function(t){O(t)},unitSelected:F,unitsList:(0,u.zQ)(["Ki"]),disabled:!1}),error:I?"":"Please enter a valid quota"}),(0,h.jsxs)(i.rjZ,{item:!0,xs:12,sx:r.ID.modalButtonBar,children:[(0,h.jsx)(i.zxk,{id:"cancel",type:"button",variant:"regular",disabled:j,onClick:function(){g()},label:"Cancel"}),(0,h.jsx)(i.zxk,{id:"save",type:"submit",variant:"callAction",disabled:j||!I,label:"Save"})]}),j&&(0,h.jsx)(i.rjZ,{item:!0,xs:12,children:(0,h.jsx)(i.kod,{})})]})})})}},84741:function(t,e,n){var a=n(29439),o=n(72791),i=n(11135),u=n(25787),r=n(80911),l=n(77865),c=n(80184);e.Z=(0,u.Z)((function(t){return(0,i.Z)({buttonTrigger:{border:"#F0F2F2 1px solid",borderRadius:3,color:"#838383",backgroundColor:"#fff",fontSize:12}})}))((function(t){var e=t.classes,n=t.id,i=t.unitSelected,u=t.unitsList,s=t.disabled,d=void 0!==s&&s,f=t.onUnitChange,b=o.useState(null),h=(0,a.Z)(b,2),v=h[0],x=h[1],g=Boolean(v),p=function(t){x(null),""!==t&&f&&f(t)};return(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)("button",{id:"".concat(n,"-button"),"aria-controls":"".concat(n,"-menu"),"aria-haspopup":"true","aria-expanded":g?"true":void 0,onClick:function(t){x(t.currentTarget)},className:e.buttonTrigger,disabled:d,type:"button",children:i}),(0,c.jsx)(r.Z,{id:"".concat(n,"-menu"),"aria-labelledby":"".concat(n,"-button"),anchorEl:v,open:g,onClose:function(){p("")},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:u.map((function(t){return(0,c.jsx)(l.Z,{onClick:function(){return p(t.value)},children:t.label},"itemUnit-".concat(t.value,"-").concat(t.label))}))})]})}))}}]); -//# sourceMappingURL=1581.9e1d2acf.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1581.9e1d2acf.chunk.js.map b/portal-ui/build/static/js/1581.9e1d2acf.chunk.js.map deleted file mode 100644 index f92737fc26..0000000000 --- a/portal-ui/build/static/js/1581.9e1d2acf.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/1581.9e1d2acf.chunk.js","mappings":"2PAsMA,UApJoB,SAAHA,GAMS,IALxBC,EAAID,EAAJC,KACAC,EAAOF,EAAPE,QACAC,EAAGH,EAAHG,IACAC,EAAcJ,EAAdI,eACAC,EAAoBL,EAApBK,qBAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAA8BC,EAAAA,EAAAA,WAAkB,GAAMC,GAAAC,EAAAA,EAAAA,GAAAH,EAAA,GAA/CI,EAAOF,EAAA,GAAEG,EAAUH,EAAA,GAC1BI,GAAwCL,EAAAA,EAAAA,WAAkB,GAAMM,GAAAJ,EAAAA,EAAAA,GAAAG,EAAA,GAAzDE,EAAYD,EAAA,GAAEE,EAAeF,EAAA,GACpCG,GAAkCT,EAAAA,EAAAA,UAAiB,KAAIU,GAAAR,EAAAA,EAAAA,GAAAO,EAAA,GAAhDE,EAASD,EAAA,GAAEE,EAAYF,EAAA,GAC9BG,GAAkCb,EAAAA,EAAAA,UAAiB,MAAKc,GAAAZ,EAAAA,EAAAA,GAAAW,EAAA,GAAjDE,EAASD,EAAA,GAAEE,EAAYF,EAAA,GAC9BG,GAAoCjB,EAAAA,EAAAA,WAAkB,GAAMkB,GAAAhB,EAAAA,EAAAA,GAAAe,EAAA,GAArDE,EAAU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YpF,EAAZoF,aAEA4B,EAAgCC,EAAAA,SAAmC,MAAKC,GAAAvG,EAAAA,EAAAA,GAAAqG,EAAA,GAAjEG,EAAQD,EAAA,GAAEE,EAAWF,EAAA,GACtBjH,EAAOoH,QAAQF,GAIfG,EAAc,SAACC,GACnBH,EAAY,MACI,KAAZG,GAAkBnC,GACpBA,EAAamC,EAEjB,EAEA,OACEvD,EAAAA,EAAAA,MAACwD,EAAAA,SAAQ,CAAA3E,SAAA,EACPP,EAAAA,EAAAA,KAAA,UACEgC,GAAE,GAAAmD,OAAKnD,EAAE,WACT,mBAAAmD,OAAkBnD,EAAE,SACpB,gBAAc,OACd,gBAAerE,EAAO,YAASyH,EAC/BvB,QAjBc,SAACzB,GACnB0C,EAAY1C,EAAMiD,cACpB,EAgBMC,UAAWd,EAAQN,cACnBf,SAAUA,EACVQ,KAAM,SAASpD,SAEdyC,KAEHhD,EAAAA,EAAAA,KAACuF,EAAAA,EAAI,CACHvD,GAAE,GAAAmD,OAAKnD,EAAE,SACT,qBAAAmD,OAAoBnD,EAAE,WACtB6C,SAAUA,EACVlH,KAAMA,EACNwC,QAAS,WACP6E,EAAY,GACd,EACAQ,aAAc,CACZC,SAAU,SACVC,WAAY,UAEdC,gBAAiB,CACfF,SAAU,MACVC,WAAY,UACZnF,SAED0C,EAAU2C,KAAI,SAAC9F,GAAI,OAClBE,EAAAA,EAAAA,KAAC6F,EAAAA,EAAQ,CACPhC,QAAS,kBAAMmB,EAAYlF,EAAKiC,MAAM,EAACxB,SAGtCT,EAAKwC,OAAK,YAAA6C,OAFMrF,EAAKiC,MAAK,KAAAoD,OAAIrF,EAAKwC,OAG3B,QAKrB,G","sources":["screens/Console/Buckets/BucketDetails/EnableQuota.tsx","screens/Console/Common/FormComponents/InputUnitMenu/InputUnitMenu.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState } from \"react\";\nimport {\n BucketQuotaIcon,\n Button,\n FormLayout,\n InputBox,\n Switch,\n Grid,\n ProgressBar,\n} from \"mds\";\nimport {\n calculateBytes,\n getBytes,\n k8sScalarUnitsExcluding,\n} from \"../../../../common/utils\";\n\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\nimport InputUnitMenu from \"../../Common/FormComponents/InputUnitMenu/InputUnitMenu\";\n\nimport { setModalErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { BucketQuota } from \"api/consoleApi\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\n\ninterface IEnableQuotaProps {\n open: boolean;\n enabled: boolean;\n cfg: BucketQuota | null;\n selectedBucket: string;\n closeModalAndRefresh: () => void;\n}\n\nconst EnableQuota = ({\n open,\n enabled,\n cfg,\n selectedBucket,\n closeModalAndRefresh,\n}: IEnableQuotaProps) => {\n const dispatch = useAppDispatch();\n const [loading, setLoading] = useState(false);\n const [quotaEnabled, setQuotaEnabled] = useState(false);\n const [quotaSize, setQuotaSize] = useState(\"1\");\n const [quotaUnit, setQuotaUnit] = useState(\"Ti\");\n const [validInput, setValidInput] = useState(false);\n\n useEffect(() => {\n if (enabled) {\n setQuotaEnabled(true);\n if (cfg) {\n const unitCalc = calculateBytes(cfg.quota || 0, true, false, true);\n\n setQuotaSize(unitCalc.total.toString());\n setQuotaUnit(unitCalc.unit);\n setValidInput(true);\n }\n }\n }, [enabled, cfg]);\n\n useEffect(() => {\n const valRegExp = /^\\d*(?:\\.\\d{1,2})?$/;\n\n if (!quotaEnabled) {\n setValidInput(true);\n return;\n }\n\n setValidInput(valRegExp.test(quotaSize));\n }, [quotaEnabled, quotaSize]);\n\n const enableBucketEncryption = () => {\n if (loading || !validInput) {\n return;\n }\n\n api.buckets\n .setBucketQuota(selectedBucket, {\n enabled: quotaEnabled,\n amount: parseInt(getBytes(quotaSize, quotaUnit, true)),\n quota_type: \"hard\",\n })\n .then(() => {\n setLoading(false);\n closeModalAndRefresh();\n })\n .catch((err) => {\n setLoading(false);\n dispatch(setModalErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n return (\n {\n closeModalAndRefresh();\n }}\n title=\"Enable Bucket Quota\"\n titleIcon={}\n >\n ) => {\n e.preventDefault();\n enableBucketEncryption();\n }}\n >\n \n ) => {\n setQuotaEnabled(event.target.checked);\n }}\n label={\"Enabled\"}\n />\n {quotaEnabled && (\n ) => {\n setQuotaSize(e.target.value);\n if (!e.target.validity.valid) {\n setValidInput(false);\n } else {\n setValidInput(true);\n }\n }}\n label=\"Quota\"\n value={quotaSize}\n required\n min=\"1\"\n overlayObject={\n {\n setQuotaUnit(newValue);\n }}\n unitSelected={quotaUnit}\n unitsList={k8sScalarUnitsExcluding([\"Ki\"])}\n disabled={false}\n />\n }\n error={!validInput ? \"Please enter a valid quota\" : \"\"}\n />\n )}\n \n {\n closeModalAndRefresh();\n }}\n label={\"Cancel\"}\n />\n\n \n \n {loading && (\n \n \n \n )}\n \n \n \n );\n};\n\nexport default EnableQuota;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { SelectorType } from \"mds\";\nimport { Menu, MenuItem } from \"@mui/material\";\n\ninterface IInputUnitBox {\n classes: any;\n id: string;\n unitSelected: string;\n unitsList: SelectorType[];\n disabled?: boolean;\n onUnitChange?: (newValue: string) => void;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n buttonTrigger: {\n border: \"#F0F2F2 1px solid\",\n borderRadius: 3,\n color: \"#838383\",\n backgroundColor: \"#fff\",\n fontSize: 12,\n },\n });\n\nconst InputUnitMenu = ({\n classes,\n id,\n unitSelected,\n unitsList,\n disabled = false,\n onUnitChange,\n}: IInputUnitBox) => {\n const [anchorEl, setAnchorEl] = React.useState(null);\n const open = Boolean(anchorEl);\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget);\n };\n const handleClose = (newUnit: string) => {\n setAnchorEl(null);\n if (newUnit !== \"\" && onUnitChange) {\n onUnitChange(newUnit);\n }\n };\n\n return (\n \n \n {unitSelected}\n \n {\n handleClose(\"\");\n }}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n >\n {unitsList.map((unit) => (\n handleClose(unit.value)}\n key={`itemUnit-${unit.value}-${unit.label}`}\n >\n {unit.label}\n \n ))}\n \n \n );\n};\n\nexport default withStyles(styles)(InputUnitMenu);\n"],"names":["_ref","open","enabled","cfg","selectedBucket","closeModalAndRefresh","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","loading","setLoading","_useState3","_useState4","quotaEnabled","setQuotaEnabled","_useState5","_useState6","quotaSize","setQuotaSize","_useState7","_useState8","quotaUnit","setQuotaUnit","_useState9","_useState10","validInput","setValidInput","useEffect","unitCalc","calculateBytes","quota","total","toString","unit","test","_jsx","ModalWrapper","modalOpen","onClose","title","titleIcon","BucketQuotaIcon","children","noValidate","autoComplete","onSubmit","e","preventDefault","api","buckets","setBucketQuota","amount","parseInt","getBytes","quota_type","then","catch","err","setModalErrorSnackMessage","errorToHandler","error","_jsxs","FormLayout","withBorders","containerPadding","Switch","value","id","name","checked","onChange","event","target","label","InputBox","validity","valid","required","min","overlayObject","InputUnitMenu","onUnitChange","newValue","unitSelected","unitsList","k8sScalarUnitsExcluding","disabled","Grid","item","xs","sx","modalStyleUtils","modalButtonBar","Button","type","variant","onClick","ProgressBar","withStyles","theme","createStyles","buttonTrigger","border","borderRadius","color","backgroundColor","fontSize","classes","_ref$disabled","_React$useState","React","_React$useState2","anchorEl","setAnchorEl","Boolean","handleClose","newUnit","Fragment","concat","undefined","currentTarget","className","Menu","anchorOrigin","vertical","horizontal","transformOrigin","map","MenuItem"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1604.64ec26a0.chunk.js b/portal-ui/build/static/js/1604.64ec26a0.chunk.js deleted file mode 100644 index 473c23a0f6..0000000000 --- a/portal-ui/build/static/js/1604.64ec26a0.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1604],{1604:function(e,t,n){n.r(t);var a=n(29439),i=n(72791),o=n(29945),l=n(31776),u=n(66315),r=n(82342),s=n(23814),c=n(87995),d=n(44690),f=n(56028),m=n(80184);t.default=function(e){var t=e.open,n=e.bucketName,b=e.closeModalAndRefresh,h=(0,d.TL)(),p=(0,i.useState)(!1),v=(0,a.Z)(p,2),g=v[0],x=v[1],y=(0,i.useState)(!0),C=(0,a.Z)(y,2),j=C[0],k=C[1],S=(0,i.useState)(u.oO.Compliance),R=(0,a.Z)(S,2),Z=R[0],_=R[1],z=(0,i.useState)(u.zR.Days),N=(0,a.Z)(z,2),w=N[0],B=N[1],D=(0,i.useState)(1),O=(0,a.Z)(D,2),E=O[0],V=O[1],A=(0,i.useState)(!1),M=(0,a.Z)(A,2),Y=M[0],q=M[1];return(0,i.useEffect)((function(){Number.isNaN(E)||(E||1)<1?q(!1):q(!0)}),[E]),(0,i.useEffect)((function(){j&&l.h.buckets.getBucketRetentionConfig(n).then((function(e){k(!1),_(e.data.mode),V(e.data.validity),B(e.data.unit)})).catch((function(){k(!1)}))}),[j,n]),(0,m.jsx)(f.Z,{title:"Set Retention Configuration",modalOpen:t,onClose:function(){b()},children:j?(0,m.jsx)(o.aNw,{style:{width:16,height:16}}):(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(x(!0),l.h.buckets.setBucketRetentionConfig(n,{mode:Z||u.oO.Compliance,unit:w||u.zR.Days,validity:E||1}).then((function(){x(!1),b()})).catch((function(e){x(!1),h((0,c.zb)((0,r.g)(e.error)))})))},children:(0,m.jsxs)(o.ltY,{containerPadding:!1,withBorders:!1,children:[(0,m.jsx)(o.Eep,{currentValue:Z,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){_(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}]}),(0,m.jsx)(o.Eep,{currentValue:w,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){B(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]}),(0,m.jsx)(o.Wzg,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){V(e.target.valueAsNumber)},label:"Retention Validity",value:String(E),required:!0,min:"1"}),(0,m.jsxs)(o.rjZ,{item:!0,xs:12,sx:s.ID.modalButtonBar,children:[(0,m.jsx)(o.zxk,{id:"cancel",type:"button",variant:"regular",disabled:g,onClick:function(){b()},label:"Cancel"}),(0,m.jsx)(o.zxk,{id:"set",type:"submit",variant:"callAction",color:"primary",disabled:g||!Y,label:"Set"})]}),g&&(0,m.jsx)(o.rjZ,{item:!0,xs:12,children:(0,m.jsx)(o.kod,{})})]})})})}}}]); -//# sourceMappingURL=1604.64ec26a0.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1604.64ec26a0.chunk.js.map b/portal-ui/build/static/js/1604.64ec26a0.chunk.js.map deleted file mode 100644 index 20ed27f2a4..0000000000 --- a/portal-ui/build/static/js/1604.64ec26a0.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/1604.64ec26a0.chunk.js","mappings":"gPAqMA,UA5J2B,SAAHA,GAIS,IAH/BC,EAAID,EAAJC,KACAC,EAAUF,EAAVE,WACAC,EAAoBH,EAApBG,qBAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAAoCC,EAAAA,EAAAA,WAAkB,GAAMC,GAAAC,EAAAA,EAAAA,GAAAH,EAAA,GAArDI,EAAUF,EAAA,GAAEG,EAAaH,EAAA,GAChCI,GAAsCL,EAAAA,EAAAA,WAAkB,GAAKM,GAAAJ,EAAAA,EAAAA,GAAAG,EAAA,GAAtDE,EAAWD,EAAA,GAAEE,EAAcF,EAAA,GAClCG,GAA0CT,EAAAA,EAAAA,UAExCU,EAAAA,GAAoBC,YAAWC,GAAAV,EAAAA,EAAAA,GAAAO,EAAA,GAF1BI,EAAaD,EAAA,GAAEE,EAAgBF,EAAA,GAGtCG,GAA0Cf,EAAAA,EAAAA,UAExCgB,EAAAA,GAAoBC,MAAKC,GAAAhB,EAAAA,EAAAA,GAAAa,EAAA,GAFpBI,EAAaD,EAAA,GAAEE,EAAgBF,EAAA,GAGtCG,GAAkDrB,EAAAA,EAAAA,UAEhD,GAAEsB,GAAApB,EAAAA,EAAAA,GAAAmB,EAAA,GAFGE,EAAiBD,EAAA,GAAEE,EAAoBF,EAAA,GAG9CG,GAA0BzB,EAAAA,EAAAA,WAAkB,GAAM0B,GAAAxB,EAAAA,EAAAA,GAAAuB,EAAA,GAA3CE,EAAKD,EAAA,GAAEE,EAAQF,EAAA,GAkDtB,OA1BAG,EAAAA,EAAAA,YAAU,WACJC,OAAOC,MAAMR,KAAuBA,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,MAAO,aAAcH,MAAO,kBAGlC5B,EAAAA,EAAAA,KAACwB,EAAAA,IAAU,CACTC,aAAchD,EACdiD,GAAG,iBACHC,KAAK,iBACLC,MAAM,iBACNC,SAAU,SAAChB,GACTnC,EAAiBmC,EAAEiB,OAAOC,MAC5B,EACAC,gBAAiB,CACf,CAAED,MAAO,OAAQH,MAAO,QACxB,CAAEG,MAAO,QAASH,MAAO,aAG7B5B,EAAAA,EAAAA,KAACiC,EAAAA,IAAQ,CACPC,KAAK,SACLR,GAAG,qBACHC,KAAK,qBACLE,SAAU,SAAChB,GACT/B,EAAqB+B,EAAEiB,OAAOK,cAChC,EACAP,MAAM,qBACNG,MAAOK,OAAOvD,GACdwD,UAAQ,EACRC,IAAI,OAENlB,EAAAA,EAAAA,MAACmB,EAAAA,IAAI,CAACC,MAAI,EAACC,GAAI,GAAIC,GAAIC,EAAAA,GAAgBC,eAAevC,SAAA,EACpDL,EAAAA,EAAAA,KAAC6C,EAAAA,IAAM,CACLnB,GAAI,SACJQ,KAAK,SACLY,QAAQ,UACRC,SAAUtF,EACVuF,QAAS,WACP9F,GACF,EACA0E,MAAO,YAET5B,EAAAA,EAAAA,KAAC6C,EAAAA,IAAM,CACLnB,GAAI,MACJQ,KAAK,SACLY,QAAQ,aACRG,MAAM,UACNF,SAAUtF,IAAewB,EACzB2C,MAAO,WAGVnE,IACCuC,EAAAA,EAAAA,KAACuC,EAAAA,IAAI,CAACC,MAAI,EAACC,GAAI,GAAGpC,UAChBL,EAAAA,EAAAA,KAACkD,EAAAA,IAAW,YAQ5B,C","sources":["screens/Console/Buckets/BucketDetails/SetRetentionConfig.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState } from \"react\";\nimport {\n Button,\n Loader,\n Grid,\n FormLayout,\n RadioGroup,\n InputBox,\n ProgressBar,\n} from \"mds\";\nimport { api } from \"api\";\nimport { ObjectRetentionMode, ObjectRetentionUnit } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\n\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\nimport { setModalErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\n\ninterface ISetRetentionConfigProps {\n open: boolean;\n bucketName: string;\n closeModalAndRefresh: () => void;\n}\n\nconst SetRetentionConfig = ({\n open,\n bucketName,\n closeModalAndRefresh,\n}: ISetRetentionConfigProps) => {\n const dispatch = useAppDispatch();\n const [addLoading, setAddLoading] = useState(false);\n const [loadingForm, setLoadingForm] = useState(true);\n const [retentionMode, setRetentionMode] = useState<\n ObjectRetentionMode | undefined\n >(ObjectRetentionMode.Compliance);\n const [retentionUnit, setRetentionUnit] = useState<\n ObjectRetentionUnit | undefined\n >(ObjectRetentionUnit.Days);\n const [retentionValidity, setRetentionValidity] = useState<\n number | undefined\n >(1);\n const [valid, setValid] = useState(false);\n\n const setRetention = (event: React.FormEvent) => {\n event.preventDefault();\n if (addLoading) {\n return;\n }\n setAddLoading(true);\n api.buckets\n .setBucketRetentionConfig(bucketName, {\n mode: retentionMode || ObjectRetentionMode.Compliance,\n unit: retentionUnit || ObjectRetentionUnit.Days,\n validity: retentionValidity || 1,\n })\n .then(() => {\n setAddLoading(false);\n closeModalAndRefresh();\n })\n .catch((err) => {\n setAddLoading(false);\n dispatch(setModalErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n useEffect(() => {\n if (Number.isNaN(retentionValidity) || (retentionValidity || 1) < 1) {\n setValid(false);\n return;\n }\n setValid(true);\n }, [retentionValidity]);\n\n useEffect(() => {\n if (loadingForm) {\n api.buckets\n .getBucketRetentionConfig(bucketName)\n .then((res) => {\n setLoadingForm(false);\n\n // We set default values\n setRetentionMode(res.data.mode);\n setRetentionValidity(res.data.validity);\n setRetentionUnit(res.data.unit);\n })\n .catch(() => {\n setLoadingForm(false);\n });\n }\n }, [loadingForm, bucketName]);\n\n return (\n {\n closeModalAndRefresh();\n }}\n >\n {loadingForm ? (\n \n ) : (\n ) => {\n setRetention(e);\n }}\n >\n \n ) => {\n setRetentionMode(e.target.value as ObjectRetentionMode);\n }}\n selectorOptions={[\n { value: \"compliance\", label: \"Compliance\" },\n { value: \"governance\", label: \"Governance\" },\n ]}\n />\n ) => {\n setRetentionUnit(e.target.value as ObjectRetentionUnit);\n }}\n selectorOptions={[\n { value: \"days\", label: \"Days\" },\n { value: \"years\", label: \"Years\" },\n ]}\n />\n ) => {\n setRetentionValidity(e.target.valueAsNumber);\n }}\n label=\"Retention Validity\"\n value={String(retentionValidity)}\n required\n min=\"1\"\n />\n \n {\n closeModalAndRefresh();\n }}\n label={\"Cancel\"}\n />\n \n \n {addLoading && (\n \n \n \n )}\n \n \n )}\n \n );\n};\n\nexport default SetRetentionConfig;\n"],"names":["_ref","open","bucketName","closeModalAndRefresh","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","addLoading","setAddLoading","_useState3","_useState4","loadingForm","setLoadingForm","_useState5","ObjectRetentionMode","Compliance","_useState6","retentionMode","setRetentionMode","_useState7","ObjectRetentionUnit","Days","_useState8","retentionUnit","setRetentionUnit","_useState9","_useState10","retentionValidity","setRetentionValidity","_useState11","_useState12","valid","setValid","useEffect","Number","isNaN","api","buckets","getBucketRetentionConfig","then","res","data","mode","validity","unit","catch","_jsx","ModalWrapper","title","modalOpen","onClose","children","Loader","style","width","height","noValidate","autoComplete","onSubmit","e","preventDefault","setBucketRetentionConfig","err","setModalErrorSnackMessage","errorToHandler","error","_jsxs","FormLayout","containerPadding","withBorders","RadioGroup","currentValue","id","name","label","onChange","target","value","selectorOptions","InputBox","type","valueAsNumber","String","required","min","Grid","item","xs","sx","modalStyleUtils","modalButtonBar","Button","variant","disabled","onClick","color","ProgressBar"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1604.7bfdfe29.chunk.js b/portal-ui/build/static/js/1604.7bfdfe29.chunk.js new file mode 100644 index 0000000000..2025e91ce6 --- /dev/null +++ b/portal-ui/build/static/js/1604.7bfdfe29.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1604],{1604:function(e,t,n){n.r(t);var i=n(29439),a=n(72791),o=n(29945),l=n(31776),r=n(66315),c=n(82342),s=n(23814),u=n(87995),d=n(44690),m=n(56028),b=n(80184);t.default=function(e){var t=e.open,n=e.bucketName,h=e.closeModalAndRefresh,p=(0,d.TL)(),f=(0,a.useState)(!1),g=(0,i.Z)(f,2),j=g[0],v=g[1],x=(0,a.useState)(!0),k=(0,i.Z)(x,2),y=k[0],C=k[1],S=(0,a.useState)(r.oO.Compliance),R=(0,i.Z)(S,2),Z=R[0],O=R[1],_=(0,a.useState)(r.zR.Days),w=(0,i.Z)(_,2),z=w[0],N=w[1],B=(0,a.useState)(1),D=(0,i.Z)(B,2),E=D[0],V=D[1],A=(0,a.useState)(!1),M=(0,i.Z)(A,2),T=M[0],G=M[1];return(0,a.useEffect)((function(){Number.isNaN(E)||(E||1)<1?G(!1):G(!0)}),[E]),(0,a.useEffect)((function(){y&&l.h.buckets.getBucketRetentionConfig(n).then((function(e){C(!1),O(e.data.mode),V(e.data.validity),N(e.data.unit)})).catch((function(){C(!1)}))}),[y,n]),(0,b.jsx)(m.Z,{title:"Set Retention Configuration",modalOpen:t,onClose:function(){h()},children:y?(0,b.jsx)(o.aNw,{style:{width:16,height:16}}):(0,b.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),j||(v(!0),l.h.buckets.setBucketRetentionConfig(n,{mode:Z||r.oO.Compliance,unit:z||r.zR.Days,validity:E||1}).then((function(){v(!1),h()})).catch((function(e){v(!1),p((0,u.zb)((0,c.g)(e.error)))})))},children:(0,b.jsxs)(o.ltY,{containerPadding:!1,withBorders:!1,children:[(0,b.jsx)(o.Eep,{currentValue:Z,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){O(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}],helpTip:(0,b.jsxs)(a.Fragment,{children:[" ",(0,b.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-compliance",target:"blank",children:"Compliance"})," ","lock protects Objects from write operations by all users, including the MinIO root user.",(0,b.jsx)("br",{}),(0,b.jsx)("br",{}),(0,b.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-governance",target:"blank",children:"Governance"})," ","lock protects Objects from write operations by non-privileged users."]}),helpTipPlacement:"right"}),(0,b.jsx)(o.Eep,{currentValue:z,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){N(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]}),(0,b.jsx)(o.Wzg,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){V(e.target.valueAsNumber)},label:"Retention Validity",value:String(E),required:!0,min:"1"}),(0,b.jsxs)(o.rjZ,{item:!0,xs:12,sx:s.ID.modalButtonBar,children:[(0,b.jsx)(o.zxk,{id:"cancel",type:"button",variant:"regular",disabled:j,onClick:function(){h()},label:"Cancel"}),(0,b.jsx)(o.zxk,{id:"set",type:"submit",variant:"callAction",color:"primary",disabled:j||!T,label:"Set"})]}),j&&(0,b.jsx)(o.rjZ,{item:!0,xs:12,children:(0,b.jsx)(o.kod,{})})]})})})}}}]); +//# sourceMappingURL=1604.7bfdfe29.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1604.7bfdfe29.chunk.js.map b/portal-ui/build/static/js/1604.7bfdfe29.chunk.js.map new file mode 100644 index 0000000000..73a56e5b34 --- /dev/null +++ b/portal-ui/build/static/js/1604.7bfdfe29.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/1604.7bfdfe29.chunk.js","mappings":"gPA6NA,UApL2B,SAAHA,GAIS,IAH/BC,EAAID,EAAJC,KACAC,EAAUF,EAAVE,WACAC,EAAoBH,EAApBG,qBAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAAoCC,EAAAA,EAAAA,WAAkB,GAAMC,GAAAC,EAAAA,EAAAA,GAAAH,EAAA,GAArDI,EAAUF,EAAA,GAAEG,EAAaH,EAAA,GAChCI,GAAsCL,EAAAA,EAAAA,WAAkB,GAAKM,GAAAJ,EAAAA,EAAAA,GAAAG,EAAA,GAAtDE,EAAWD,EAAA,GAAEE,EAAcF,EAAA,GAClCG,GAA0CT,EAAAA,EAAAA,UAExCU,EAAAA,GAAoBC,YAAWC,GAAAV,EAAAA,EAAAA,GAAAO,EAAA,GAF1BI,EAAaD,EAAA,GAAEE,EAAgBF,EAAA,GAGtCG,GAA0Cf,EAAAA,EAAAA,UAExCgB,EAAAA,GAAoBC,MAAKC,GAAAhB,EAAAA,EAAAA,GAAAa,EAAA,GAFpBI,EAAaD,EAAA,GAAEE,EAAgBF,EAAA,GAGtCG,GAAkDrB,EAAAA,EAAAA,UAEhD,GAAEsB,GAAApB,EAAAA,EAAAA,GAAAmB,EAAA,GAFGE,EAAiBD,EAAA,GAAEE,EAAoBF,EAAA,GAG9CG,GAA0BzB,EAAAA,EAAAA,WAAkB,GAAM0B,GAAAxB,EAAAA,EAAAA,GAAAuB,EAAA,GAA3CE,EAAKD,EAAA,GAAEE,EAAQF,EAAA,GAkDtB,OA1BAG,EAAAA,EAAAA,YAAU,WACJC,OAAOC,MAAMR,KAAuBA,GAAqB,GAAK,EAChEK,GAAS,GAGXA,GAAS,EACX,GA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Buckets/BucketDetails/SetRetentionConfig.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState, Fragment } from \"react\";\nimport {\n Button,\n Loader,\n Grid,\n FormLayout,\n RadioGroup,\n InputBox,\n ProgressBar,\n} from \"mds\";\nimport { api } from \"api\";\nimport { ObjectRetentionMode, ObjectRetentionUnit } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\n\nimport { modalStyleUtils } from \"../../Common/FormComponents/common/styleLibrary\";\nimport { setModalErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport ModalWrapper from \"../../Common/ModalWrapper/ModalWrapper\";\n\ninterface ISetRetentionConfigProps {\n open: boolean;\n bucketName: string;\n closeModalAndRefresh: () => void;\n}\n\nconst SetRetentionConfig = ({\n open,\n bucketName,\n closeModalAndRefresh,\n}: ISetRetentionConfigProps) => {\n const dispatch = useAppDispatch();\n const [addLoading, setAddLoading] = useState(false);\n const [loadingForm, setLoadingForm] = useState(true);\n const [retentionMode, setRetentionMode] = useState<\n ObjectRetentionMode | undefined\n >(ObjectRetentionMode.Compliance);\n const [retentionUnit, setRetentionUnit] = useState<\n ObjectRetentionUnit | undefined\n >(ObjectRetentionUnit.Days);\n const [retentionValidity, setRetentionValidity] = useState<\n number | undefined\n >(1);\n const [valid, setValid] = useState(false);\n\n const setRetention = (event: React.FormEvent) => {\n event.preventDefault();\n if (addLoading) {\n return;\n }\n setAddLoading(true);\n api.buckets\n .setBucketRetentionConfig(bucketName, {\n mode: retentionMode || ObjectRetentionMode.Compliance,\n unit: retentionUnit || ObjectRetentionUnit.Days,\n validity: retentionValidity || 1,\n })\n .then(() => {\n setAddLoading(false);\n closeModalAndRefresh();\n })\n .catch((err) => {\n setAddLoading(false);\n dispatch(setModalErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n useEffect(() => {\n if (Number.isNaN(retentionValidity) || (retentionValidity || 1) < 1) {\n setValid(false);\n return;\n }\n setValid(true);\n }, [retentionValidity]);\n\n useEffect(() => {\n if (loadingForm) {\n api.buckets\n .getBucketRetentionConfig(bucketName)\n .then((res) => {\n setLoadingForm(false);\n\n // We set default values\n setRetentionMode(res.data.mode);\n setRetentionValidity(res.data.validity);\n setRetentionUnit(res.data.unit);\n })\n .catch(() => {\n setLoadingForm(false);\n });\n }\n }, [loadingForm, bucketName]);\n\n return (\n {\n closeModalAndRefresh();\n }}\n >\n {loadingForm ? (\n \n ) : (\n ) => {\n setRetention(e);\n }}\n >\n \n ) => {\n setRetentionMode(e.target.value as ObjectRetentionMode);\n }}\n selectorOptions={[\n { value: \"compliance\", label: \"Compliance\" },\n { value: \"governance\", label: \"Governance\" },\n ]}\n helpTip={\n \n {\" \"}\n \n Compliance\n {\" \"}\n lock protects Objects from write operations by all users,\n including the MinIO root user.\n
\n
\n \n Governance\n {\" \"}\n lock protects Objects from write operations by non-privileged\n users.\n
\n }\n helpTipPlacement=\"right\"\n />\n ) => {\n setRetentionUnit(e.target.value as ObjectRetentionUnit);\n }}\n selectorOptions={[\n { value: \"days\", label: \"Days\" },\n { value: \"years\", label: \"Years\" },\n ]}\n />\n ) => {\n setRetentionValidity(e.target.valueAsNumber);\n }}\n label=\"Retention Validity\"\n value={String(retentionValidity)}\n required\n min=\"1\"\n />\n \n {\n closeModalAndRefresh();\n }}\n label={\"Cancel\"}\n />\n \n \n {addLoading && (\n \n \n \n )}\n
\n \n )}\n \n );\n};\n\nexport default SetRetentionConfig;\n"],"names":["_ref","open","bucketName","closeModalAndRefresh","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","addLoading","setAddLoading","_useState3","_useState4","loadingForm","setLoadingForm","_useState5","ObjectRetentionMode","Compliance","_useState6","retentionMode","setRetentionMode","_useState7","ObjectRetentionUnit","Days","_useState8","retentionUnit","setRetentionUnit","_useState9","_useState10","retentionValidity","setRetentionValidity","_useState11","_useState12","valid","setValid","useEffect","Number","isNaN","api","buckets","getBucketRetentionConfig","then","res","data","mode","validity","unit","catch","_jsx","ModalWrapper","title","modalOpen","onClose","children","Loader","style","width","height","noValidate","autoComplete","onSubmit","e","preventDefault","setBucketRetentionConfig","err","setModalErrorSnackMessage","errorToHandler","error","_jsxs","FormLayout","containerPadding","withBorders","RadioGroup","currentValue","id","name","label","onChange","target","value","selectorOptions","helpTip","Fragment","href","helpTipPlacement","InputBox","type","valueAsNumber","String","required","min","Grid","item","xs","sx","modalStyleUtils","modalButtonBar","Button","variant","disabled","onClick","color","ProgressBar"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1690.48a846c2.chunk.js b/portal-ui/build/static/js/1690.48a846c2.chunk.js new file mode 100644 index 0000000000..caa860c283 --- /dev/null +++ b/portal-ui/build/static/js/1690.48a846c2.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1690],{90767:function(e,n,t){var i=t(29439),r=t(72791),o=t(31776),s=t(82342),a=t(23508),l=t(29945),c=t(87995),u=t(44690),d=t(80184);n.Z=function(e){var n=e.configurationName,t=e.closeResetModalAndRefresh,p=e.resetOpen,x=(0,u.TL)(),f=(0,r.useState)(!1),h=(0,i.Z)(f,2),g=h[0],m=h[1];(0,r.useEffect)((function(){g&&o.h.configs.resetConfig(n).then((function(){m(!1),t(!0)})).catch((function(e){m(!1),x((0,c.Ih)((0,s.g)(e.error)))}))}),[t,n,g,x]);return(0,d.jsx)(a.Z,{title:"Restore Defaults",confirmText:"Yes, Reset Configuration",isOpen:p,titleIcon:(0,d.jsx)(l.NvT,{}),isLoading:g,onConfirm:function(){m(!0)},onClose:function(){t(!1)},confirmationContent:(0,d.jsxs)(r.Fragment,{children:[g&&(0,d.jsx)(l.kod,{}),(0,d.jsxs)(r.Fragment,{children:["Are you sure you want to restore these configurations to default values?",(0,d.jsx)("br",{}),(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:"Please note that this may cause your system to not be accessible"})]})]})})}},37099:function(e,n,t){var i=t(72791),r=t(29945),o=t(80184),s=function(e){var n=e.icon,t=e.description;return(0,o.jsxs)(r.xuv,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[n," ",(0,o.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:t})]})};n.Z=function(e){var n=e.helpText,t=e.docLink,a=e.docText,l=e.contents;return(0,o.jsxs)(r.xuv,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px"},children:[(0,o.jsxs)(r.xuv,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px",paddingBottom:"20px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,o.jsx)(r.M9A,{}),(0,o.jsx)("div",{children:n})]}),(0,o.jsxs)(r.xuv,{sx:{fontSize:"14px",marginBottom:"15px"},children:[l.map((function(e,n){return(0,o.jsxs)(i.Fragment,{children:[e.icon&&(0,o.jsx)(r.xuv,{sx:{paddingBottom:"20px"},children:(0,o.jsx)(s,{icon:e.icon,description:e.iconDescription})}),(0,o.jsx)(r.xuv,{sx:{paddingBottom:"20px"},children:e.text})]},"feature-item-".concat(n))})),(0,o.jsx)(r.xuv,{sx:{paddingBottom:"20px"},children:(0,o.jsx)("a",{href:t,target:"_blank",rel:"noopener",children:a})})]})]})}},11690:function(e,n,t){t.r(n),t.d(n,{default:function(){return P}});var i=t(4942),r=t(74165),o=t(15861),s=t(1413),a=t(29439),l=t(72791),c=t(29945),u=t(31776),d=t(82342),p=t(44690),x=t(87995),f=t(79979),h=t(47974),g=t(37099),m=t(93433),v=t(78687),y=t(99779),j=t(80184),b=function(e){var n=e.name;return(0,j.jsxs)("h4",{children:[(0,j.jsx)(c.ZyT,{style:{transform:"rotateZ(90deg)"}}),n]})},k=function(e){var n=e.blockName,t=e.results;return(0,j.jsxs)(l.Fragment,{children:[(0,j.jsxs)("strong",{children:[n,":"]}),(0,j.jsx)("ul",{children:t.map((function(e,t){return(0,j.jsx)("li",{children:e},"policy-".concat(n,"-").concat(t))}))})]})},C=function(e){var n,t,i,r,o,s,a=e.entityName,u=e.results,d=0;switch(a){case"Group":d=(null===(n=u.groups)||void 0===n?void 0:n.length)||0;break;case"Policy":d=(null===(t=u.policies)||void 0===t?void 0:t.length)||0;break;case"User":d=(null===(i=u.users)||void 0===i?void 0:i.length)||0}return(0,j.jsxs)(c.xuv,{className:"resultElement",sx:{marginTop:50,"&:first-of-type":{marginTop:0}},children:[(0,j.jsxs)(c.NZf,{separator:!0,sx:{fontSize:12},icon:(0,j.jsx)(c.anK,{style:{width:17,height:17}}),actions:(0,j.jsxs)(c.xuv,{sx:{fontSize:14},children:[(0,j.jsx)("strong",{children:d})," Entit",1===d?"y":"ies"," Found"]}),children:[a," Mappings"]}),(0,j.jsxs)(c.xuv,{className:"resultsList",sx:{h4:{borderBottom:"#e2e2e2 1px solid",padding:"12px 0",margin:0,marginBottom:15,display:"flex",alignItems:"center","& svg":{marginRight:10,fill:"#3C77A7"}}},children:["Group"===a&&(null===(r=u.groups)||void 0===r?void 0:r.map((function(e,n){return(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(b,{name:e.group||""}),e.policies&&(0,j.jsx)(k,{blockName:"Policies",results:e.policies})]},"policy-res-".concat(n))}))),"User"===a&&(null===(o=u.users)||void 0===o?void 0:o.map((function(e,n){return(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(b,{name:e.user||""}),e.policies&&(0,j.jsx)(k,{blockName:"Policies",results:e.policies})]},"users-res-".concat(n))}))),"Policy"===a&&(null===(s=u.policies)||void 0===s?void 0:s.map((function(e,n){return(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(b,{name:e.policy||""}),e.groups&&(0,j.jsx)(k,{blockName:"Groups",results:e.groups}),e.users&&(0,j.jsx)(k,{blockName:"Users",results:e.users})]},"policy-map-".concat(n))})))]})]})},D=t(58400),Z=function(){var e=(0,p.TL)(),n=(0,l.useState)(!1),t=(0,a.Z)(n,2),i=t[0],r=t[1],o=(0,l.useState)([""]),s=(0,a.Z)(o,2),f=s[0],h=s[1],g=(0,l.useState)([""]),b=(0,a.Z)(g,2),k=b[0],Z=b[1],S=(0,l.useState)(null),_=(0,a.Z)(S,2),w=_[0],P=_[1],I=(0,v.v9)((function(e){return e.createUser.selectedPolicies}));return(0,j.jsxs)(c.xuv,{sx:{marginTop:15,paddingTop:0},children:[(0,j.jsxs)(c.rjZ,{container:!0,sx:{marginTop:5},children:[(0,j.jsxs)(c.rjZ,{item:!0,sm:12,md:6,lg:5,sx:{padding:10,paddingTop:0},children:[(0,j.jsx)(c.NZf,{children:"Query Filters"}),(0,j.jsxs)(c.xuv,{sx:{padding:"0 10px",display:"flex",flexDirection:"column",gap:40},children:[(0,j.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,j.jsx)(c.xuv,{sx:{display:"flex"},children:(0,j.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Users"})}),(0,j.jsx)(c.xuv,{sx:{overflowY:"auto",minHeight:50,maxHeight:250,"& > div > div":{width:"100%"}},children:f.map((function(e,n){return(0,j.jsx)(c.Wzg,{id:"search-user-".concat(n),value:e,onChange:function(e){var t=(0,m.Z)(f);t[n]=e.target.value,h(t)},overlayIcon:f.length===n+1?(0,j.jsx)(c.dtP,{}):(0,j.jsx)(c.HFL,{}),overlayAction:function(){!function(e,n){if(e){var t=[].concat((0,m.Z)(f),[""]);h(t)}else{var i=f.filter((function(e,t){return t!==n}));h(i)}}(f.length===n+1,n)}},"search-user-".concat(n))}))})]}),(0,j.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,j.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Groups"}),(0,j.jsx)(c.xuv,{sx:{overflowY:"auto",minHeight:50,maxHeight:"calc(100vh - 340px)","& > div > div":{width:"100%"}},children:k.map((function(e,n){return(0,j.jsx)(c.Wzg,{id:"search-group-".concat(n),value:e,onChange:function(e){var t=(0,m.Z)(k);t[n]=e.target.value,Z(t)},overlayIcon:k.length===n+1?(0,j.jsx)(c.dtP,{}):(0,j.jsx)(c.HFL,{}),overlayAction:function(){!function(e,n){if(e){var t=[].concat((0,m.Z)(k),[""]);Z(t)}else{var i=k.filter((function(e,t){return t!==n}));Z(i)}}(k.length===n+1,n)}},"search-group-".concat(n))}))})]}),(0,j.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,j.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Policies"}),(0,j.jsx)(c.xuv,{sx:{minHeight:265,maxHeight:"calc(100vh - 740px)"},children:(0,j.jsx)(D.Z,{selectedPolicy:I,noTitle:!0})})]})]})]}),(0,j.jsx)(c.rjZ,{item:!0,sm:12,md:6,lg:7,sx:{padding:10,paddingTop:0,display:"flex",flexDirection:"column"},children:i?(0,j.jsx)(c.xuv,{sx:{textAlign:"center"},children:(0,j.jsx)(c.aNw,{})}):(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(c.NZf,{actions:(0,j.jsx)(c.xuv,{sx:{display:"flex",flexDirection:"row",alignItems:"center",fontSize:14},children:null!==w&&void 0!==w&&w.timestamp?(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(c.wZd,{style:{width:14,height:14,marginRight:5,fill:"#BEBFBF"}}),y.ou.fromISO(w.timestamp).toFormat("D HH:mm:ss")]}):""}),children:"Query Results"}),w?(0,j.jsxs)(c.xuv,{sx:{backgroundColor:"#FBFAFA",padding:"8px 22px",flexGrow:1,overflowY:"auto"},children:[!w.groups&&!w.users&&!w.policies&&(0,j.jsx)(c.xuv,{sx:{textAlign:"center"},children:(0,j.jsx)("h4",{children:"No Results Available"})}),!!w.groups&&(0,j.jsx)(C,{results:w,entityName:"Group"}),!!w.users&&(0,j.jsx)(C,{results:w,entityName:"User"}),!!w.policies&&(0,j.jsx)(C,{results:w,entityName:"Policy"})]}):(0,j.jsx)(c.xuv,{sx:{textAlign:"center"},children:"No query results yet"})]})})]}),(0,j.jsx)(c.rjZ,{container:!0,children:(0,j.jsx)(c.rjZ,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-start",marginTop:45,padding:"0 20px"},children:(0,j.jsx)(c.zxk,{id:"search-entity",type:"button",variant:"callAction",onClick:function(){r(!0);var n={},t=I.filter((function(e){return""!==e})),i=f.filter((function(e){return""!==e})),o=k.filter((function(e){return""!==e}));t.length>0&&(n.policies=t),i.length>0&&(n.users=i),o.length>0&&(n.groups=o),u.h.ldapEntities.getLdapEntities(n).then((function(e){P(e.data),r(!1)})).catch((function(n){e((0,x.Ih)((0,d.g)(n.error))),r(!1)}))},icon:(0,j.jsx)(c.W1M,{}),children:"Search"})})})]})},S=t(90767),_=t(99670),w=["server_addr","lookup_bind_dn","user_dn_search_base_dn","user_dn_search_filter"],P=function(){var e=(0,p.TL)(),n=f.iR,t=(0,l.useState)(!0),m=(0,a.Z)(t,2),v=m[0],y=m[1],b=(0,l.useState)(!1),k=(0,a.Z)(b,2),C=k[0],D=k[1],P=(0,l.useState)(!1),I=(0,a.Z)(P,2),A=I[0],N=I[1],E=(0,l.useState)({}),O=(0,a.Z)(E,2),L=O[0],F=O[1],q=(0,l.useState)({}),B=(0,a.Z)(q,2),T=B[0],R=B[1],z=(0,l.useState)(void 0),U=(0,a.Z)(z,2),M=U[0],K=U[1],H=(0,l.useState)(!1),G=(0,a.Z)(H,2),Y=G[0],W=G[1],Q=(0,l.useState)(!1),X=(0,a.Z)(Q,2),V=X[0],J=X[1],$=(0,l.useState)("configuration"),ee=(0,a.Z)($,2),ne=ee[0],te=ee[1],ie=(0,l.useState)(!1),re=(0,a.Z)(ie,2),oe=re[0],se=re[1],ae=function(){Y&&M&&le(M),W(!Y)},le=function(e){var n={},t={};if(e&&e.length>0){var i=e.find((function(e){return"enable"===e.key})),r=0,o=0;e.forEach((function(e){e.env_override?(n[e.key]=e.env_override.value,t[e.key]=e.env_override.name):n[e.key]=e.value,w.includes(e.key)&&(e.value&&""!==e.value&&"off"!==e.value||e.env_override&&""!==e.env_override.value&&"off"!==e.env_override.value)&&r++,w.includes(e.key)&&e.env_override&&o++}));var s=0!==r;s&&(i&&"off"!==i.value||!i)?D(!0):D(!1),0!==o&&se(!0),N(s)}R(t),F(n)};(0,l.useEffect)((function(){v&&u.h.configs.configInfo("identity_ldap").then((function(e){e.data.length>0&&(K(e.data[0].key_values),le(e.data[0].key_values||[])),y(!1)})).catch((function(n){y(!1),e((0,x.Ih)((0,d.g)(n.error)))}))}),[e,v]);var ce=function(){var n=(0,o.Z)((0,r.Z)().mark((function n(t){return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:J(!1),t&&(e((0,x.cN)(t)),K(void 0),F({}),D(!1),N(!1),W(!1));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return(0,l.useEffect)((function(){e((0,x.Sc)("LDAP"))}),[]),(0,j.jsxs)(c.rjZ,{item:!0,xs:12,children:[V&&(0,j.jsx)(S.Z,{configurationName:"identity_ldap",closeResetModalAndRefresh:ce,resetOpen:V}),(0,j.jsx)(h.Z,{label:"LDAP",actions:(0,j.jsx)(_.Z,{})}),(0,j.jsx)(c.Xgh,{variant:"constrained",children:(0,j.jsx)(c.mQc,{horizontal:!0,options:[{tabConfig:{id:"configuration",label:"Configuration"},content:(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(c.UHn,{icon:null,title:Y?"Edit Configuration":"",actions:Y?null:(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(c.ua7,{tooltip:oe?"Configuration cannot be edited in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,j.jsx)(c.zxk,{id:"edit",type:"button",variant:"callAction",icon:(0,j.jsx)(c.dY8,{}),onClick:ae,label:"Edit Configuration",disabled:v||oe})}),A&&(0,j.jsx)(c.ua7,{tooltip:oe?"Configuration cannot be disabled / enabled in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,j.jsx)(c.zxk,{id:"is-configuration-enabled",onClick:function(){return function(n){var t={key_values:[{key:"enable",value:n?"on":"off"}]};u.h.configs.setConfig("identity_ldap",t).then((function(n){D(!C),e((0,x.cN)(n.data.restart||!1)),n.data.restart||e((0,x.y1)("Configuration saved successfully"))})).catch((function(n){e((0,x.Ih)((0,d.g)(n.error)))}))}(!C)},label:C?"Disable LDAP":"Enable LDAP",variant:C?"secondary":"regular",disabled:oe})}),(0,j.jsx)(c.zxk,{id:"refresh-idp-config",onClick:function(){return y(!0)},label:"Refresh",icon:(0,j.jsx)(c.DuK,{})})]})}),(0,j.jsx)("br",{}),v?(0,j.jsx)(c.xuv,{sx:{display:"flex",justifyContent:"center",marginTop:10},children:(0,j.jsx)(c.aNw,{})}):(0,j.jsx)(l.Fragment,{children:Y?(0,j.jsx)(l.Fragment,{children:(0,j.jsxs)(c.ltY,{helpBox:(0,j.jsx)(g.Z,{helpText:"Learn more about LDAP Configurations",contents:f.Si,docLink:"https://min.io/docs/minio/linux/operations/external-iam.html?ref=con#minio-external-iam-ad-ldap",docText:"Learn more about LDAP Configurations"}),children:[Y&&A?(0,j.jsx)(c.xuv,{sx:{marginBottom:15},children:(0,j.jsx)(c.KfX,{title:(0,j.jsx)(c.xuv,{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexGrow:1},children:"Lookup Bind Password must be re-entered to change LDAP configurations"}),iconComponent:(0,j.jsx)(c.e6P,{}),help:null})}):null,Object.entries(n).map((function(e){var n=(0,a.Z)(e,2);return function(e,n){return"toggle"===n.type?(0,j.jsx)(c.rsf,{indicatorLabels:["Enabled","Disabled"],checked:"on"===L[e],value:"is-field-enabled",id:"is-field-enabled",name:"is-field-enabled",label:n.label,tooltip:n.tooltip,onChange:function(n){return F((0,s.Z)((0,s.Z)({},L),{},(0,i.Z)({},e,n.target.checked?"on":"off")))},description:"",disabled:!Y},e):(0,j.jsx)(c.Wzg,{id:e,required:n.required,name:e,label:n.label,tooltip:n.tooltip,error:n.hasError(L[e],Y),value:L[e]?L[e]:"",onChange:function(n){return F((0,s.Z)((0,s.Z)({},L),{},(0,i.Z)({},e,n.target.value)))},placeholder:n.placeholder,disabled:!Y,type:n.type},e)}(n[0],n[1])})),(0,j.jsxs)(c.xuv,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginTop:"20px",gap:"15px"},children:[Y&&A&&(0,j.jsx)(c.zxk,{id:"clear",type:"button",variant:"secondary",onClick:function(){return J(!0)},label:"Reset Configuration"}),(0,j.jsx)(c.zxk,{id:"cancel",type:"button",variant:"regular",onClick:ae,label:"Cancel"}),(0,j.jsx)(c.zxk,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:v||!function(){for(var e=0,t=Object.entries(n);e0?(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)(s.rjZ,{item:!0,xs:12,className:"inputItem",children:(0,f.jsx)(l.Z,{placeholder:"Start typing to search for a Policy",onChange:function(e){_(e)},value:S,label:t?"":"Assign Policies"})}),(0,f.jsx)(s.wQF,{columns:[{label:"Policy",elementKey:"name"}],onSelect:function(e){var n=e.target,t=n.value,r=n.checked,o=(0,i.Z)(w);r?o.push(t):o=o.filter((function(e){return e!==t})),o=o.filter((function(e){return""!==e})),h((0,d.ue)(o))},selectedItems:w,isLoading:k,records:I,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,f.jsx)(s.xuv,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},21639:function(e,n,t){t.d(n,{KE:function(){return s},LQ:function(){return i},V2:function(){return o},g4:function(){return r}});var i=function(e,n){if(e.accessKey&&n.accessKey){if(e.accessKey>n.accessKey)return 1;if(e.accessKeyn.name?1:e.namen?1:en.policy?1:e.policy.\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\nimport { ConfirmDeleteIcon, ProgressBar } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IResetConfiguration {\n configurationName: string;\n closeResetModalAndRefresh: (reloadConfiguration: boolean) => void;\n resetOpen: boolean;\n}\n\nconst ResetConfigurationModal = ({\n configurationName,\n closeResetModalAndRefresh,\n resetOpen,\n}: IResetConfiguration) => {\n const dispatch = useAppDispatch();\n const [resetLoading, setResetLoading] = useState(false);\n\n useEffect(() => {\n if (resetLoading) {\n api.configs\n .resetConfig(configurationName)\n .then(() => {\n setResetLoading(false);\n closeResetModalAndRefresh(true);\n })\n .catch((err) => {\n setResetLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n }\n }, [closeResetModalAndRefresh, configurationName, resetLoading, dispatch]);\n\n const resetConfiguration = () => {\n setResetLoading(true);\n };\n\n return (\n }\n isLoading={resetLoading}\n onConfirm={resetConfiguration}\n onClose={() => {\n closeResetModalAndRefresh(false);\n }}\n confirmationContent={\n \n {resetLoading && }\n \n Are you sure you want to restore these configurations to default\n values?\n
\n \n Please note that this may cause your system to not be accessible\n \n
\n
\n }\n />\n );\n};\n\nexport default ResetConfigurationModal;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { HelpIconFilled, Box } from \"mds\";\n\ninterface IContent {\n icon: React.ReactNode;\n text: string;\n iconDescription: string;\n}\n\ninterface IAddIDPConfigurationHelpBoxProps {\n helpText: string;\n docLink: string;\n docText: string;\n contents: IContent[];\n}\n\nconst FeatureItem = ({\n icon,\n description,\n}: {\n icon: any;\n description: string;\n}) => {\n return (\n \n {icon}{\" \"}\n
\n {description}\n
\n \n );\n};\n\nconst AddIDPConfigurationHelpBox = ({\n helpText,\n docLink,\n docText,\n contents,\n}: IAddIDPConfigurationHelpBoxProps) => {\n return (\n \n \n \n
{helpText}
\n \n \n {contents.map((content, index) => (\n \n {content.icon && (\n \n \n \n )}\n {content.text}\n \n ))}\n \n \n {docText}\n \n \n \n \n );\n};\n\nexport default AddIDPConfigurationHelpBox;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { Box, CollapseCaret, GroupsMenuIcon, SectionTitle } from \"mds\";\nimport { LdapEntities } from \"api/consoleApi\";\n\ninterface IResultBlock {\n entityName: \"Group\" | \"User\" | \"Policy\";\n results: LdapEntities;\n}\n\ninterface IEntityResultName {\n name: string;\n}\n\ninterface IEntityResultItem {\n blockName: \"Policies\" | \"Groups\" | \"Users\";\n results: string[];\n}\n\nconst EntityResultTitle = ({ name }: IEntityResultName) => {\n return (\n

\n \n {name}\n

\n );\n};\n\nconst EntityResultItems = ({ blockName, results }: IEntityResultItem) => {\n return (\n \n {blockName}:\n
    \n {results.map((res, index) => (\n
  • {res}
  • \n ))}\n
\n
\n );\n};\n\nconst LDAPResultsBlock = ({ entityName, results }: IResultBlock) => {\n let entityLength = 0;\n\n switch (entityName) {\n case \"Group\":\n entityLength = results.groups?.length || 0;\n break;\n case \"Policy\":\n entityLength = results.policies?.length || 0;\n break;\n case \"User\":\n entityLength = results.users?.length || 0;\n break;\n }\n\n return (\n \n }\n actions={\n \n {entityLength} Entit\n {entityLength === 1 ? \"y\" : \"ies\"} Found\n \n }\n >\n {entityName} Mappings\n \n \n {entityName === \"Group\" &&\n results.groups?.map((groupData, index) => {\n return (\n \n \n {groupData.policies && (\n \n )}\n \n );\n })}\n {entityName === \"User\" &&\n results.users?.map((groupData, index) => {\n return (\n \n \n {groupData.policies && (\n \n )}\n \n );\n })}\n {entityName === \"Policy\" &&\n results.policies?.map((groupData, index) => {\n return (\n \n \n {groupData.groups && (\n \n )}\n {groupData.users && (\n \n )}\n \n );\n })}\n \n \n );\n};\n\nexport default LDAPResultsBlock;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport {\n AddIcon,\n Box,\n Button,\n Grid,\n InputBox,\n Loader,\n RemoveIcon,\n SearchIcon,\n SectionTitle,\n TimeIcon,\n} from \"mds\";\nimport { useSelector } from \"react-redux\";\nimport { DateTime } from \"luxon\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport { LdapEntities } from \"api/consoleApi\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { AppState, useAppDispatch } from \"../../../../store\";\nimport LDAPResultsBlock from \"./LDAPResultsBlock\";\nimport PolicySelectors from \"../../Policies/PolicySelectors\";\n\nconst LDAPEntitiesQuery = () => {\n const dispatch = useAppDispatch();\n\n const [loading, setLoading] = useState(false);\n const [users, setUsers] = useState([\"\"]);\n const [groups, setGroups] = useState([\"\"]);\n const [results, setResults] = useState(null);\n\n const selectedPolicies = useSelector(\n (state: AppState) => state.createUser.selectedPolicies,\n );\n\n const searchEntities = () => {\n setLoading(true);\n\n let data: any = {};\n\n let cleanPolicies = selectedPolicies.filter((pol) => pol !== \"\");\n let cleanUsers = users.filter((usr) => usr !== \"\");\n let cleanGroups = groups.filter((grp) => grp !== \"\");\n\n if (cleanPolicies.length > 0) {\n data[\"policies\"] = cleanPolicies;\n }\n\n if (cleanUsers.length > 0) {\n data[\"users\"] = cleanUsers;\n }\n\n if (cleanGroups.length > 0) {\n data[\"groups\"] = cleanGroups;\n }\n\n api.ldapEntities\n .getLdapEntities(data)\n .then((result) => {\n setResults(result.data);\n setLoading(false);\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n setLoading(false);\n });\n };\n\n const alterUsersList = (addItem: boolean, index: number) => {\n if (addItem) {\n const alterUsers = [...users, \"\"];\n setUsers(alterUsers);\n\n return;\n }\n\n const filteredUsers = users.filter((_, indx) => indx !== index);\n\n setUsers(filteredUsers);\n };\n\n const alterGroupsList = (addItem: boolean, index: number) => {\n if (addItem) {\n const alterGroups = [...groups, \"\"];\n setGroups(alterGroups);\n\n return;\n }\n\n const filteredGroups = groups.filter((_, indx) => indx !== index);\n\n setGroups(filteredGroups);\n };\n\n return (\n \n \n \n Query Filters\n\n \n \n \n

\n Users\n

\n
\n div > div\": {\n width: \"100%\",\n },\n }}\n >\n {users.map((userDat, index) => {\n return (\n ) => {\n const usersElements = [...users];\n usersElements[index] = e.target.value;\n setUsers(usersElements);\n }}\n overlayIcon={\n users.length === index + 1 ? (\n \n ) : (\n \n )\n }\n overlayAction={() => {\n alterUsersList(users.length === index + 1, index);\n }}\n />\n );\n })}\n
\n
\n \n

\n Groups\n

\n div > div\": {\n width: \"100%\",\n },\n }}\n >\n {groups.map((groupDat, index) => {\n return (\n ) => {\n const groupsElements = [...groups];\n groupsElements[index] = e.target.value;\n setGroups(groupsElements);\n }}\n overlayIcon={\n groups.length === index + 1 ? (\n \n ) : (\n \n )\n }\n overlayAction={() => {\n alterGroupsList(groups.length === index + 1, index);\n }}\n />\n );\n })}\n
\n \n \n

\n Policies\n

\n \n \n
\n \n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n {results?.timestamp ? (\n \n \n {DateTime.fromISO(results.timestamp).toFormat(\n \"D HH:mm:ss\",\n )}\n \n ) : (\n \"\"\n )}\n \n }\n >\n Query Results\n \n {results ? (\n \n {!results.groups && !results.users && !results.policies && (\n \n

No Results Available

\n
\n )}\n {!!results.groups && (\n \n )}\n {!!results.users && (\n \n )}\n {!!results.policies && (\n \n )}\n \n ) : (\n No query results yet\n )}\n
\n )}\n \n \n \n \n }\n >\n Search\n \n \n \n \n );\n};\n\nexport default LDAPEntitiesQuery;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport {\n Box,\n Button,\n ConsoleIcon,\n EditIcon,\n FormLayout,\n Grid,\n HelpBox,\n InputBox,\n Loader,\n PageLayout,\n RefreshIcon,\n Switch,\n Tabs,\n Tooltip,\n ValuePair,\n WarnIcon,\n ScreenTitle,\n} from \"mds\";\nimport { api } from \"api\";\nimport { ConfigurationKV } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport { useAppDispatch } from \"../../../../store\";\nimport {\n setErrorSnackMessage,\n setHelpName,\n setServerNeedsRestart,\n setSnackBarMessage,\n} from \"../../../../systemSlice\";\nimport { ldapFormFields, ldapHelpBoxContents } from \"../utils\";\nimport PageHeaderWrapper from \"../../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport AddIDPConfigurationHelpBox from \"../AddIDPConfigurationHelpbox\";\nimport LDAPEntitiesQuery from \"./LDAPEntitiesQuery\";\nimport ResetConfigurationModal from \"../../EventDestinations/CustomForms/ResetConfigurationModal\";\nimport HelpMenu from \"../../HelpMenu\";\n\nconst enabledConfigLDAP = [\n \"server_addr\",\n \"lookup_bind_dn\",\n \"user_dn_search_base_dn\",\n \"user_dn_search_filter\",\n];\n\nconst IDPLDAPConfigurationDetails = () => {\n const dispatch = useAppDispatch();\n\n const formFields = ldapFormFields;\n\n const [loading, setLoading] = useState(true);\n const [isEnabled, setIsEnabled] = useState(false);\n const [hasConfiguration, setHasConfiguration] = useState(false);\n const [fields, setFields] = useState({});\n const [overrideFields, setOverrideFields] = useState({});\n const [record, setRecord] = useState(\n undefined,\n );\n const [editMode, setEditMode] = useState(false);\n const [resetOpen, setResetOpen] = useState(false);\n const [curTab, setCurTab] = useState(\"configuration\");\n const [envOverride, setEnvOverride] = useState(false);\n\n const toggleEditMode = () => {\n if (editMode && record) {\n parseFields(record);\n }\n setEditMode(!editMode);\n };\n\n const parseFields = (record: ConfigurationKV[]) => {\n let fields: any = {};\n let ovrFlds: any = {};\n if (record && record.length > 0) {\n const enabled = record.find((item: any) => item.key === \"enable\");\n\n let totalCoincidences = 0;\n let totalOverride = 0;\n\n record.forEach((item: any) => {\n if (item.env_override) {\n fields[item.key] = item.env_override.value;\n ovrFlds[item.key] = item.env_override.name;\n } else {\n fields[item.key] = item.value;\n }\n\n if (\n enabledConfigLDAP.includes(item.key) &&\n ((item.value && item.value !== \"\" && item.value !== \"off\") ||\n (item.env_override &&\n item.env_override.value !== \"\" &&\n item.env_override.value !== \"off\"))\n ) {\n totalCoincidences++;\n }\n\n if (enabledConfigLDAP.includes(item.key) && item.env_override) {\n totalOverride++;\n }\n });\n\n const hasConfig = totalCoincidences !== 0;\n\n if (hasConfig && ((enabled && enabled.value !== \"off\") || !enabled)) {\n setIsEnabled(true);\n } else {\n setIsEnabled(false);\n }\n\n if (totalOverride !== 0) {\n setEnvOverride(true);\n }\n\n setHasConfiguration(hasConfig);\n }\n setOverrideFields(ovrFlds);\n setFields(fields);\n };\n\n useEffect(() => {\n const loadRecord = () => {\n api.configs\n .configInfo(\"identity_ldap\")\n .then((res) => {\n if (res.data.length > 0) {\n setRecord(res.data[0].key_values);\n parseFields(res.data[0].key_values || []);\n }\n setLoading(false);\n })\n .catch((err) => {\n setLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n if (loading) {\n loadRecord();\n }\n }, [dispatch, loading]);\n\n const validSave = () => {\n for (const [key, value] of Object.entries(formFields)) {\n if (\n value.required &&\n !(\n fields[key] !== undefined &&\n fields[key] !== null &&\n fields[key] !== \"\"\n )\n ) {\n return false;\n }\n }\n return true;\n };\n\n const saveRecord = () => {\n const keyVals = Object.keys(formFields).map((key) => {\n return {\n key,\n value: fields[key],\n };\n });\n\n api.configs\n .setConfig(\"identity_ldap\", {\n key_values: keyVals,\n })\n .then((res) => {\n setEditMode(false);\n setRecord(keyVals);\n parseFields(keyVals);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n setFields({ ...fields, lookup_bind_password: \"\" });\n\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const closeDeleteModalAndRefresh = async (refresh: boolean) => {\n setResetOpen(false);\n\n if (refresh) {\n dispatch(setServerNeedsRestart(refresh));\n setRecord(undefined);\n setFields({});\n setIsEnabled(false);\n setHasConfiguration(false);\n setEditMode(false);\n }\n };\n\n const toggleConfiguration = (value: boolean) => {\n const payload = {\n key_values: [\n {\n key: \"enable\",\n value: value ? \"on\" : \"off\",\n },\n ],\n };\n\n api.configs\n .setConfig(\"identity_ldap\", payload)\n .then((res) => {\n setIsEnabled(!isEnabled);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const renderFormField = (key: string, value: any) => {\n switch (value.type) {\n case \"toggle\":\n return (\n \n setFields({ ...fields, [key]: e.target.checked ? \"on\" : \"off\" })\n }\n description=\"\"\n disabled={!editMode}\n />\n );\n default:\n return (\n ) =>\n setFields({ ...fields, [key]: e.target.value })\n }\n placeholder={value.placeholder}\n disabled={!editMode}\n type={value.type}\n />\n );\n }\n };\n\n useEffect(() => {\n dispatch(setHelpName(\"LDAP\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n {resetOpen && (\n \n )}\n } />\n \n \n \n \n }\n onClick={toggleEditMode}\n label={\"Edit Configuration\"}\n disabled={loading || envOverride}\n />\n \n {hasConfiguration && (\n \n toggleConfiguration(!isEnabled)}\n label={\n isEnabled ? \"Disable LDAP\" : \"Enable LDAP\"\n }\n variant={isEnabled ? \"secondary\" : \"regular\"}\n disabled={envOverride}\n />\n \n )}\n setLoading(true)}\n label={\"Refresh\"}\n icon={}\n />\n \n ) : null\n }\n />\n
\n {loading ? (\n \n \n \n ) : (\n \n {editMode ? (\n \n \n }\n >\n {editMode && hasConfiguration ? (\n \n \n Lookup Bind Password must be re-entered to\n change LDAP configurations\n \n }\n iconComponent={}\n help={null}\n />\n \n ) : null}\n {Object.entries(formFields).map(([key, value]) =>\n renderFormField(key, value),\n )}\n \n {editMode && hasConfiguration && (\n setResetOpen(true)}\n label={\"Reset Configuration\"}\n />\n )}\n \n \n \n \n \n ) : (\n \n \n \n {hasConfiguration && (\n \n {Object.entries(formFields).map(\n ([key, value]) => {\n if (!value.editOnly) {\n let label: React.ReactNode = value.label;\n let val: React.ReactNode = fields[key]\n ? fields[key]\n : \"\";\n\n if (overrideFields[key]) {\n label = (\n \n {value.label}\n \n \n \n \n \n \n );\n\n val = (\n \n \n {val}\n \n \n );\n }\n return (\n \n );\n }\n return null;\n },\n )}\n \n )}\n \n \n )}\n \n )}\n \n ),\n },\n {\n tabConfig: {\n id: \"entities\",\n label: \"Entities\",\n disabled: !hasConfiguration || !isEnabled,\n },\n content: (\n \n {hasConfiguration && (\n \n \n \n )}\n \n ),\n },\n ]}\n currentTabOrPath={curTab}\n onTabClick={(newTab) => {\n setCurTab(newTab);\n setEditMode(false);\n }}\n />\n
\n
\n );\n};\n\nexport default IDPLDAPConfigurationDetails;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { LockIcon, LoginIcon } from \"mds\";\n\nexport const ldapHelpBoxContents = [\n {\n text: \"MinIO supports using an Active Directory or LDAP (AD/LDAP) service for external management of user identities. Configuring an external IDentity Provider (IDP) enables Single-Sign On (SSO) workflows, where applications authenticate against the external IDP before accessing MinIO.\",\n icon: ,\n iconDescription: \"Create Configurations\",\n },\n {\n text: \"MinIO queries the configured Active Directory / LDAP server to verify the credentials specified by the application and optionally return a list of groups in which the user has membership. MinIO supports two modes (Lookup-Bind Mode and Username-Bind Mode) for performing these queries\",\n icon: null,\n iconDescription: \"\",\n },\n {\n text: \"MinIO recommends using Lookup-Bind mode as the preferred method for verifying AD/LDAP credentials. Username-Bind mode is a legacy method retained for backwards compatibility only.\",\n icon: null,\n iconDescription: \"\",\n },\n];\n\nexport const openIDHelpBoxContents = [\n {\n text: \"MinIO supports using an OpenID Connect (OIDC) compatible IDentity Provider (IDP) such as Okta, KeyCloak, Dex, Google, or Facebook for external management of user identities.\",\n icon: ,\n iconDescription: \"Create Configurations\",\n },\n {\n text: \"Configuring an external IDP enables Single-Sign On workflows, where applications authenticate against the external IDP before accessing MinIO.\",\n icon: null,\n iconDescription: \"\",\n },\n];\n\nexport const openIDFormFields = {\n config_url: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Config URL is required\" : \"\";\n },\n label: \"Config URL\",\n tooltip: \"Config URL for identity provider configuration\",\n placeholder:\n \"https://identity-provider-url/.well-known/openid-configuration\",\n type: \"text\",\n editOnly: false,\n },\n client_id: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Client ID is required\" : \"\";\n },\n label: \"Client ID\",\n tooltip: \"Identity provider Client ID\",\n placeholder: \"Enter Client ID\",\n type: \"text\",\n editOnly: false,\n },\n client_secret: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Client Secret is required\" : \"\";\n },\n label: \"Client Secret\",\n tooltip: \"Identity provider Client Secret\",\n placeholder: \"Enter Client Secret\",\n type: \"password\",\n editOnly: true,\n },\n claim_name: {\n required: false,\n label: \"Claim Name\",\n tooltip: \"Claim from which MinIO will read the policy or role to use\",\n placeholder: \"Enter Claim Name\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n display_name: {\n required: false,\n label: \"Display Name\",\n tooltip: \"\",\n placeholder: \"Enter Display Name\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n claim_prefix: {\n required: false,\n label: \"Claim Prefix\",\n tooltip: \"\",\n placeholder: \"Enter Claim Prefix\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n scopes: {\n required: false,\n label: \"Scopes\",\n tooltip: \"\",\n placeholder: \"openid,profile,email\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n redirect_uri: {\n required: false,\n label: \"Redirect URI\",\n tooltip: \"\",\n placeholder: \"https://console-endpoint-url/oauth_callback\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n role_policy: {\n required: false,\n label: \"Role Policy\",\n tooltip: \"\",\n placeholder: \"readonly\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n claim_userinfo: {\n required: false,\n label: \"Claim User Info\",\n tooltip: \"\",\n placeholder: \"Claim User Info\",\n type: \"toggle\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n redirect_uri_dynamic: {\n required: false,\n label: \"Redirect URI Dynamic\",\n tooltip: \"\",\n placeholder: \"Redirect URI Dynamic\",\n type: \"toggle\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n};\n\nexport const ldapFormFields = {\n server_insecure: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Server Address is required\" : \"\";\n },\n label: \"Server Insecure\",\n tooltip: \"Disable SSL certificate verification \",\n placeholder: \"myldapserver.com:636\",\n type: \"toggle\",\n editOnly: false,\n },\n server_addr: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Server Address is required\" : \"\";\n },\n label: \"Server Address\",\n tooltip: 'AD/LDAP server address e.g. \"myldapserver.com:636\"',\n placeholder: \"myldapserver.com:636\",\n type: \"text\",\n editOnly: false,\n },\n lookup_bind_dn: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Lookup Bind DN is required\" : \"\";\n },\n label: \"Lookup Bind DN\",\n tooltip:\n \"DN (Distinguished Name) for LDAP read-only service account used to perform DN and group lookups\",\n placeholder: \"cn=admin,dc=min,dc=io\",\n type: \"text\",\n editOnly: false,\n },\n lookup_bind_password: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Lookup Bind Password is required\" : \"\";\n },\n label: \"Lookup Bind Password\",\n tooltip:\n \"Password for LDAP read-only service account used to perform DN and group lookups\",\n placeholder: \"admin\",\n type: \"password\",\n editOnly: true,\n },\n user_dn_search_base_dn: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"User DN Search Base DN is required\" : \"\";\n },\n label: \"User DN Search Base\",\n tooltip: \"\",\n placeholder: \"DC=example,DC=net\",\n type: \"text\",\n editOnly: false,\n },\n user_dn_search_filter: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"User DN Search Filter is required\" : \"\";\n },\n label: \"User DN Search Filter\",\n tooltip: \"\",\n placeholder: \"(sAMAcountName=%s)\",\n type: \"text\",\n editOnly: false,\n },\n group_search_base_dn: {\n required: false,\n hasError: (s: string, editMode: boolean) => \"\",\n label: \"Group Search Base DN\",\n tooltip: \"\",\n placeholder: \"ou=swengg,dc=min,dc=io\",\n type: \"text\",\n editOnly: false,\n },\n group_search_filter: {\n required: false,\n hasError: (s: string, editMode: boolean) => \"\",\n label: \"Group Search Filter\",\n tooltip: \"\",\n placeholder: \"(&(objectclass=groupofnames)(member=%d))\",\n type: \"text\",\n editOnly: false,\n },\n};\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useCallback, useEffect, useState } from \"react\";\n\nimport { Box, DataTable, Grid, ProgressBar } from \"mds\";\nimport { policySort } from \"../../../utils/sortFunctions\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport SearchBox from \"../Common/SearchBox\";\nimport { setModalErrorSnackMessage } from \"../../../systemSlice\";\nimport { AppState, useAppDispatch } from \"../../../store\";\nimport { setSelectedPolicies } from \"../Users/AddUsersSlice\";\nimport { useSelector } from \"react-redux\";\nimport { api } from \"../../../api\";\n\ninterface ISelectPolicyProps {\n selectedPolicy?: string[];\n noTitle?: boolean;\n}\n\nconst PolicySelectors = ({ noTitle = false }: ISelectPolicyProps) => {\n const dispatch = useAppDispatch();\n // Local State\n const [records, setRecords] = useState([]);\n const [loading, isLoading] = useState(false);\n const [filter, setFilter] = useState(\"\");\n\n const currentPolicies = useSelector(\n (state: AppState) => state.createUser.selectedPolicies,\n );\n\n const fetchPolicies = useCallback(() => {\n isLoading(true);\n\n api.policies\n .listPolicies()\n .then((res) => {\n const policies = res.data.policies ?? [];\n isLoading(false);\n setRecords(policies.sort(policySort));\n })\n .catch((err: ErrorResponseHandler) => {\n isLoading(false);\n dispatch(setModalErrorSnackMessage(err));\n });\n }, [dispatch]);\n\n //Effects\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n if (loading) {\n fetchPolicies();\n }\n }, [loading, fetchPolicies]);\n\n const selectionChanged = (e: React.ChangeEvent) => {\n const targetD = e.target;\n const value = targetD.value;\n const checked = targetD.checked;\n\n let elements: string[] = [...currentPolicies]; // We clone the checkedUsers array\n\n if (checked) {\n // If the user has checked this field we need to push this to checkedUsersList\n elements.push(value);\n } else {\n // User has unchecked this field, we need to remove it from the list\n elements = elements.filter((element) => element !== value);\n }\n // remove empty values\n elements = elements.filter((element) => element !== \"\");\n\n dispatch(setSelectedPolicies(elements));\n };\n\n const filteredRecords = records.filter((elementItem) =>\n elementItem.name.includes(filter),\n );\n\n return (\n \n {loading && }\n {records.length > 0 ? (\n \n \n {\n setFilter(value);\n }}\n value={filter}\n label={!noTitle ? \"Assign Policies\" : \"\"}\n />\n \n\n \n \n ) : (\n \n No Policies Available\n \n )}\n \n );\n};\n\nexport default PolicySelectors;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { Policy, User } from \"api/consoleApi\";\n\ninterface policyDetailsInterface {\n policy: string;\n}\n\nexport const usersSort = (a: User, b: User) => {\n if (a.accessKey && b.accessKey) {\n if (a.accessKey > b.accessKey) {\n return 1;\n }\n if (a.accessKey < b.accessKey) {\n return -1;\n }\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policySort = (a: Policy, b: Policy) => {\n if (a.name! > b.name!) {\n return 1;\n }\n if (a.name! < b.name!) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const stringSort = (a: string, b: string) => {\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policyDetailsSort = (\n a: policyDetailsInterface,\n b: policyDetailsInterface,\n) => {\n if (a.policy > b.policy) {\n return 1;\n }\n if (a.policy < b.policy) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n"],"names":["_ref","configurationName","closeResetModalAndRefresh","resetOpen","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","resetLoading","setResetLoading","useEffect","api","configs","resetConfig","then","catch","err","setErrorSnackMessage","errorToHandler","error","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onClose","confirmationContent","_jsxs","Fragment","children","ProgressBar","style","maxWidth","whiteSpace","wordWrap","FeatureItem","icon","description","Box","sx","display","marginRight","height","width","marginBottom","fontSize","fontStyle","color","_ref2","helpText","docLink","docText","contents","flex","border","borderRadius","flexFlow","padding","fontWeight","alignItems","paddingBottom","HelpIconFilled","map","content","index","iconDescription","text","concat","href","target","rel","EntityResultTitle","name","CollapseCaret","transform","EntityResultItems","blockName","results","res","_ref3","_results$groups","_results$policies","_results$users","_results$groups2","_results$users2","_results$policies2","entityName","entityLength","groups","length","policies","users","className","marginTop","SectionTitle","separator","GroupsMenuIcon","actions","h4","borderBottom","margin","fill","groupData","group","user","policy","loading","setLoading","_useState3","_useState4","setUsers","_useState5","_useState6","setGroups","_useState7","_useState8","setResults","selectedPolicies","useSelector","state","createUser","paddingTop","Grid","container","item","sm","md","lg","flexDirection","gap","withBorders","overflowY","minHeight","maxHeight","userDat","InputBox","id","value","onChange","e","usersElements","_toConsumableArray","overlayIcon","AddIcon","RemoveIcon","overlayAction","addItem","alterUsers","filteredUsers","filter","_","indx","alterUsersList","groupDat","groupsElements","alterGroups","filteredGroups","alterGroupsList","PolicySelectors","selectedPolicy","noTitle","textAlign","Loader","timestamp","TimeIcon","DateTime","fromISO","toFormat","backgroundColor","flexGrow","LDAPResultsBlock","xs","justifyContent","Button","type","variant","onClick","data","cleanPolicies","pol","cleanUsers","usr","cleanGroups","grp","ldapEntities","getLdapEntities","result","SearchIcon","enabledConfigLDAP","formFields","ldapFormFields","isEnabled","setIsEnabled","hasConfiguration","setHasConfiguration","fields","setFields","_useState9","_useState10","overrideFields","setOverrideFields","_useState11","undefined","_useState12","record","setRecord","_useState13","_useState14","editMode","setEditMode","_useState15","_useState16","setResetOpen","_useState17","_useState18","curTab","setCurTab","_useState19","_useState20","envOverride","setEnvOverride","toggleEditMode","parseFields","ovrFlds","enabled","find","key","totalCoincidences","totalOverride","forEach","env_override","includes","hasConfig","configInfo","key_values","closeDeleteModalAndRefresh","_asyncToGenerator","_regeneratorRuntime","mark","_callee","refresh","wrap","_context","prev","next","setServerNeedsRestart","stop","_x","apply","arguments","setHelpName","ResetConfigurationModal","PageHeaderWrapper","label","HelpMenu","PageLayout","Tabs","horizontal","options","tabConfig","ScreenTitle","Tooltip","tooltip","EditIcon","disabled","payload","setConfig","restart","setSnackBarMessage","toggleConfiguration","RefreshIcon","FormLayout","helpBox","AddIDPConfigurationHelpBox","ldapHelpBoxContents","HelpBox","iconComponent","WarnIcon","help","Object","entries","Switch","indicatorLabels","checked","_objectSpread","_defineProperty","required","hasError","placeholder","renderFormField","_i","_Object$entries","_Object$entries$_i","validSave","keyVals","keys","lookup_bind_password","gridTemplateColumns","gridAutoFlow","ValuePair","_ref5","_ref6","editOnly","val","placement","ConsoleIcon","LDAPEntitiesQuery","currentTabOrPath","onTabClick","newTab","LoginIcon","openIDHelpBoxContents","LockIcon","openIDFormFields","config_url","s","client_id","client_secret","claim_name","display_name","claim_prefix","scopes","redirect_uri","role_policy","claim_userinfo","redirect_uri_dynamic","server_insecure","server_addr","lookup_bind_dn","user_dn_search_base_dn","user_dn_search_filter","group_search_base_dn","group_search_filter","_ref$noTitle","records","setRecords","setFilter","currentPolicies","fetchPolicies","useCallback","listPolicies","_res$data$policies","sort","policySort","setModalErrorSnackMessage","filteredRecords","elementItem","SearchBox","DataTable","columns","elementKey","onSelect","targetD","elements","push","element","setSelectedPolicies","selectedItems","idField","customPaperHeight","usersSort","a","b","accessKey","stringSort","policyDetailsSort"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1705.0eb547ff.chunk.js b/portal-ui/build/static/js/1705.0eb547ff.chunk.js new file mode 100644 index 0000000000..65d6df575d --- /dev/null +++ b/portal-ui/build/static/js/1705.0eb547ff.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(e,n,t){t.r(n);var l=t(29439),c=t(72791),s=t(26181),a=t.n(s),o=t(29945),u=t(56087),i=t(38442),r=t(87995),d=t(44690),p=t(9505),f=t(75578),x=t(80184),T=(0,f.Z)(c.lazy((function(){return t.e(247).then(t.bind(t,40247))}))),h=(0,f.Z)(c.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,d.TL)(),s=(0,c.useState)(null),f=(0,l.Z)(s,2),v=f[0],_=f[1],S=(0,c.useState)(!1),j=(0,l.Z)(S,2),b=j[0],g=j[1],C=(0,c.useState)([]),G=(0,l.Z)(C,2),k=G[0],A=G[1],N=(0,c.useState)(["",""]),m=(0,l.Z)(N,2),U=m[0],Z=m[1],I=(0,c.useState)(!1),E=(0,l.Z)(I,2),F=E[0],P=E[1],w=(0,p.Z)((function(e){if(e&&null!=(null===e||void 0===e?void 0:e.details)){var n,t;if(e.details.tags)return _(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),void A(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags));_([]),A([])}}),(function(e){t((0,r.Ih)(e))})),y=(0,l.Z)(w,2),O=y[0],B=y[1],K=function(){B("GET","/api/v1/buckets/".concat(n))};return(0,c.useEffect)((function(){K()}),[n]),(0,x.jsxs)(o.xuv,{children:[O?(0,x.jsx)(o.aNw,{style:{width:16,height:16}}):null,(0,x.jsx)(i.s,{scopes:[u.Ft.S3_GET_BUCKET_TAGGING,u.Ft.S3_GET_ACTIONS],resource:n,children:(0,x.jsx)(o.xuv,{sx:{display:"flex",flexFlow:"column",marginTop:5},children:(0,x.jsxs)(o.xuv,{sx:{display:"flex",gap:8,flexWrap:"wrap"},children:[k&&k.map((function(e,t){var l=a()(v,"".concat(e),"");return""!==l?(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,x.jsx)(o.Vp9,{label:"".concat(e," : ").concat(l),id:"tag-".concat(e,"-").concat(l),onDelete:function(){!function(e,n){Z([e,n]),P(!0)}(e,l)}})},"chip-".concat(t)):null})),(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,x.jsx)(o.Vp9,{label:"Add tag",icon:(0,x.jsx)(o.dtP,{}),id:"create-tag",variant:"outlined",onClick:function(){g(!0)},sx:{cursor:"pointer",maxWidth:90}})})]})})}),b&&(0,x.jsx)(T,{modalOpen:b,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){g(!1),e&&K()}}),F&&(0,x.jsx)(h,{deleteOpen:F,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){P(!1),e&&K()},selectedTag:U})]})}}}]); +//# sourceMappingURL=1705.0eb547ff.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1705.8c12b37a.chunk.js.map b/portal-ui/build/static/js/1705.0eb547ff.chunk.js.map similarity index 98% rename from portal-ui/build/static/js/1705.8c12b37a.chunk.js.map rename to portal-ui/build/static/js/1705.0eb547ff.chunk.js.map index 269e1a3370..481aa94870 100644 --- a/portal-ui/build/static/js/1705.8c12b37a.chunk.js.map +++ b/portal-ui/build/static/js/1705.0eb547ff.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/1705.8c12b37a.chunk.js","mappings":"yPA4BMA,GAAoBC,EAAAA,EAAAA,GACxBC,EAAAA,MAAW,kBAAM,yEAA8B,KAE3CC,GAAuBF,EAAAA,EAAAA,GAC3BC,EAAAA,MAAW,kBAAM,+BAAiC,KA2JpD,UApJmB,SAAHE,GAAwC,IAAlCC,EAAUD,EAAVC,WACdC,GAAWC,EAAAA,EAAAA,MAEjBC,GAAw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b,SAAUtD,EACVqE,WAAY,CAAEQ,UAAU,EAAMC,QAAS,MAAOnC,UAE9CC,EAAAA,EAAAA,KAAC4B,EAAAA,IAAG,CACFC,MAAM,UACNM,MAAMnC,EAAAA,EAAAA,KAACoC,EAAAA,IAAO,IACdN,GAAI,aACJO,QAAS,WACTH,QAAS,WACPlE,GAAgB,EAClB,EACA2C,GAAI,CAAE2B,OAAQ,UAAWC,SAAU,eAS5CxE,IACCiC,EAAAA,EAAAA,KAACjD,EAAiB,CAChByF,UAAWzE,EACX0E,YAAa9E,EACbP,WAAYA,EACZsF,iBA3HiB,SAACC,GACxB3E,GAAgB,GACZ2E,GACFjD,GAEJ,IAyHKf,IACCqB,EAAAA,EAAAA,KAAC9C,EAAoB,CACnB0F,WAAYjE,EACZ8D,YAAa9E,EACbP,WAAYA,EACZsF,iBAvHoB,SAACC,GAC3B/D,GAAsB,GAElB+D,GACFjD,GAEJ,EAkHQnB,YAAaA,MAKvB,C","sources":["screens/Console/Buckets/BucketDetails/SummaryItems/BucketTags.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState } from \"react\";\nimport get from \"lodash/get\";\nimport { AddIcon, Box, Loader, Tag } from \"mds\";\nimport { Bucket } from \"../../../Watch/types\";\nimport { ErrorResponseHandler } from \"../../../../../common/types\";\nimport { IAM_SCOPES } from \"../../../../../common/SecureComponent/permissions\";\nimport { SecureComponent } from \"../../../../../common/SecureComponent\";\nimport { setErrorSnackMessage } from \"../../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../../store\";\nimport useApi from \"../../../Common/Hooks/useApi\";\nimport withSuspense from \"../../../Common/Components/withSuspense\";\n\nconst AddBucketTagModal = withSuspense(\n React.lazy(() => import(\"../AddBucketTagModal\")),\n);\nconst DeleteBucketTagModal = withSuspense(\n React.lazy(() => import(\"../DeleteBucketTagModal\")),\n);\n\ntype BucketTagProps = {\n bucketName: string;\n};\n\nconst BucketTags = ({ bucketName }: BucketTagProps) => {\n const dispatch = useAppDispatch();\n\n const [tags, setTags] = useState(null);\n const [tagModalOpen, setTagModalOpen] = useState(false);\n const [tagKeys, setTagKeys] = useState([]);\n const [selectedTag, setSelectedTag] = useState([\"\", \"\"]);\n const [deleteTagModalOpen, setDeleteTagModalOpen] = useState(false);\n\n const closeAddTagModal = (refresh: boolean) => {\n setTagModalOpen(false);\n if (refresh) {\n fetchTags();\n }\n };\n\n const deleteTag = (tagKey: string, tagLabel: string) => {\n setSelectedTag([tagKey, tagLabel]);\n setDeleteTagModalOpen(true);\n };\n\n const closeDeleteTagModal = (refresh: boolean) => {\n setDeleteTagModalOpen(false);\n\n if (refresh) {\n fetchTags();\n }\n };\n\n const onTagLoaded = (res: Bucket) => {\n if (!!res && res?.details != null) {\n if (res.details.tags) {\n setTags(res?.details?.tags);\n setTagKeys(Object.keys(res?.details?.tags));\n\n return;\n }\n setTags([]);\n setTagKeys([]);\n }\n };\n\n const onTagLoadFailed = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n };\n\n const [isLoading, invokeTagsApi] = useApi(onTagLoaded, onTagLoadFailed);\n\n const fetchTags = () => {\n invokeTagsApi(\"GET\", `/api/v1/buckets/${bucketName}`);\n };\n\n useEffect(() => {\n fetchTags();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [bucketName]);\n\n return (\n \n {isLoading ? : null}\n \n \n \n {tagKeys &&\n tagKeys.map((tagKey: any, index: any) => {\n const tag = get(tags, `${tagKey}`, \"\");\n if (tag !== \"\") {\n return (\n \n {\n deleteTag(tagKey, tag);\n }}\n />\n \n );\n }\n return null;\n })}\n \n }\n id={\"create-tag\"}\n variant={\"outlined\"}\n onClick={() => {\n setTagModalOpen(true);\n }}\n sx={{ cursor: \"pointer\", maxWidth: 90 }}\n />\n \n \n \n \n\n {/** Modals **/}\n\n {tagModalOpen && (\n \n )}\n {deleteTagModalOpen && (\n \n )}\n \n );\n};\n\nexport default BucketTags;\n"],"names":["AddBucketTagModal","withSuspense","React","DeleteBucketTagModal","_ref","bucketName","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","tags","setTags","_useState3","_useState4","tagModalOpen","setTagModalOpen","_useState5","_useState6","tagKeys","setTagKeys","_useState7","_useState8","selectedTag","setSelectedTag","_useState9","_useState10","deleteTagModalOpen","setDeleteTagModalOpen","_useApi","useApi","res","details","_res$details","_res$details2","Object","keys","err","setErrorSnackMessage","_useApi2","isLoading","invokeTagsApi","fetchTags","concat","useEffect","_jsxs","Box","children","_jsx","Loader","style","width","height","SecureComponent","scopes","IAM_SCOPES","S3_GET_BUCKET_TAGGING","S3_GET_ACTIONS","resource","sx","display","flexFlow","marginTop","gap","flexWrap","map","tagKey","index","tag","get","S3_PUT_BUCKET_TAGGING","S3_PUT_ACTIONS","matchAll","errorProps","deleteIcon","onDelete","Tag","label","id","tagLabel","deleteTag","disabled","onClick","icon","AddIcon","variant","cursor","maxWidth","modalOpen","currentTags","onCloseAndUpdate","refresh","deleteOpen"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/1705.0eb547ff.chunk.js","mappings":"yPA4BMA,GAAoBC,EAAAA,EAAAA,GACxBC,EAAAA,MAAW,kBAAM,8BAA8B,KAE3CC,GAAuBF,EAAAA,EAAAA,GAC3BC,EAAAA,MAAW,kBAAM,+BAAiC,KA2JpD,UApJmB,SAAHE,GAAwC,IAAlCC,EAAUD,EAAVC,WACdC,GAAWC,EAAAA,EAAAA,MAEjBC,GAAwBC,EAAAA,EAAAA,UAAc,MAA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EQ,UAAU,EAAMC,QAAS,MAAOnC,UAE9CC,EAAAA,EAAAA,KAAC4B,EAAAA,IAAG,CACFC,MAAM,UACNM,MAAMnC,EAAAA,EAAAA,KAACoC,EAAAA,IAAO,IACdN,GAAI,aACJO,QAAS,WACTH,QAAS,WACPlE,GAAgB,EAClB,EACA2C,GAAI,CAAE2B,OAAQ,UAAWC,SAAU,eAS5CxE,IACCiC,EAAAA,EAAAA,KAACjD,EAAiB,CAChByF,UAAWzE,EACX0E,YAAa9E,EACbP,WAAYA,EACZsF,iBA3HiB,SAACC,GACxB3E,GAAgB,GACZ2E,GACFjD,GAEJ,IAyHKf,IACCqB,EAAAA,EAAAA,KAAC9C,EAAoB,CACnB0F,WAAYjE,EACZ8D,YAAa9E,EACbP,WAAYA,EACZsF,iBAvHoB,SAACC,GAC3B/D,GAAsB,GAElB+D,GACFjD,GAEJ,EAkHQnB,YAAaA,MAKvB,C","sources":["screens/Console/Buckets/BucketDetails/SummaryItems/BucketTags.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useEffect, useState } from \"react\";\nimport get from \"lodash/get\";\nimport { AddIcon, Box, Loader, Tag } from \"mds\";\nimport { Bucket } from \"../../../Watch/types\";\nimport { ErrorResponseHandler } from \"../../../../../common/types\";\nimport { IAM_SCOPES } from \"../../../../../common/SecureComponent/permissions\";\nimport { SecureComponent } from \"../../../../../common/SecureComponent\";\nimport { setErrorSnackMessage } from \"../../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../../store\";\nimport useApi from \"../../../Common/Hooks/useApi\";\nimport withSuspense from \"../../../Common/Components/withSuspense\";\n\nconst AddBucketTagModal = withSuspense(\n React.lazy(() => import(\"../AddBucketTagModal\")),\n);\nconst DeleteBucketTagModal = withSuspense(\n React.lazy(() => import(\"../DeleteBucketTagModal\")),\n);\n\ntype BucketTagProps = {\n bucketName: string;\n};\n\nconst BucketTags = ({ bucketName }: BucketTagProps) => {\n const dispatch = useAppDispatch();\n\n const [tags, setTags] = useState(null);\n const [tagModalOpen, setTagModalOpen] = useState(false);\n const [tagKeys, setTagKeys] = useState([]);\n const [selectedTag, setSelectedTag] = useState([\"\", \"\"]);\n const [deleteTagModalOpen, setDeleteTagModalOpen] = useState(false);\n\n const closeAddTagModal = (refresh: boolean) => {\n setTagModalOpen(false);\n if (refresh) {\n fetchTags();\n }\n };\n\n const deleteTag = (tagKey: string, tagLabel: string) => {\n setSelectedTag([tagKey, tagLabel]);\n setDeleteTagModalOpen(true);\n };\n\n const closeDeleteTagModal = (refresh: boolean) => {\n setDeleteTagModalOpen(false);\n\n if (refresh) {\n fetchTags();\n }\n };\n\n const onTagLoaded = (res: Bucket) => {\n if (!!res && res?.details != null) {\n if (res.details.tags) {\n setTags(res?.details?.tags);\n setTagKeys(Object.keys(res?.details?.tags));\n\n return;\n }\n setTags([]);\n setTagKeys([]);\n }\n };\n\n const onTagLoadFailed = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n };\n\n const [isLoading, invokeTagsApi] = useApi(onTagLoaded, onTagLoadFailed);\n\n const fetchTags = () => {\n invokeTagsApi(\"GET\", `/api/v1/buckets/${bucketName}`);\n };\n\n useEffect(() => {\n fetchTags();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [bucketName]);\n\n return (\n \n {isLoading ? : null}\n \n \n \n {tagKeys &&\n tagKeys.map((tagKey: any, index: any) => {\n const tag = get(tags, `${tagKey}`, \"\");\n if (tag !== \"\") {\n return (\n \n {\n deleteTag(tagKey, tag);\n }}\n />\n \n );\n }\n return null;\n })}\n \n }\n id={\"create-tag\"}\n variant={\"outlined\"}\n onClick={() => {\n setTagModalOpen(true);\n }}\n sx={{ cursor: \"pointer\", maxWidth: 90 }}\n />\n \n \n \n \n\n {/** Modals **/}\n\n {tagModalOpen && (\n \n )}\n {deleteTagModalOpen && (\n \n )}\n \n );\n};\n\nexport default BucketTags;\n"],"names":["AddBucketTagModal","withSuspense","React","DeleteBucketTagModal","_ref","bucketName","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","tags","setTags","_useState3","_useState4","tagModalOpen","setTagModalOpen","_useState5","_useState6","tagKeys","setTagKeys","_useState7","_useState8","selectedTag","setSelectedTag","_useState9","_useState10","deleteTagModalOpen","setDeleteTagModalOpen","_useApi","useApi","res","details","_res$details","_res$details2","Object","keys","err","setErrorSnackMessage","_useApi2","isLoading","invokeTagsApi","fetchTags","concat","useEffect","_jsxs","Box","children","_jsx","Loader","style","width","height","SecureComponent","scopes","IAM_SCOPES","S3_GET_BUCKET_TAGGING","S3_GET_ACTIONS","resource","sx","display","flexFlow","marginTop","gap","flexWrap","map","tagKey","index","tag","get","S3_PUT_BUCKET_TAGGING","S3_PUT_ACTIONS","matchAll","errorProps","deleteIcon","onDelete","Tag","label","id","tagLabel","deleteTag","disabled","onClick","icon","AddIcon","variant","cursor","maxWidth","modalOpen","currentTags","onCloseAndUpdate","refresh","deleteOpen"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1705.8c12b37a.chunk.js b/portal-ui/build/static/js/1705.8c12b37a.chunk.js deleted file mode 100644 index aeb75ad48e..0000000000 --- a/portal-ui/build/static/js/1705.8c12b37a.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(e,n,t){t.r(n);var l=t(29439),s=t(72791),c=t(26181),a=t.n(c),o=t(29945),u=t(56087),i=t(38442),r=t(87995),d=t(44690),p=t(9505),f=t(75578),x=t(80184),T=(0,f.Z)(s.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(247)]).then(t.bind(t,40247))}))),h=(0,f.Z)(s.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,d.TL)(),c=(0,s.useState)(null),f=(0,l.Z)(c,2),v=f[0],_=f[1],S=(0,s.useState)(!1),j=(0,l.Z)(S,2),b=j[0],g=j[1],C=(0,s.useState)([]),G=(0,l.Z)(C,2),k=G[0],m=G[1],A=(0,s.useState)(["",""]),N=(0,l.Z)(A,2),U=N[0],Z=N[1],I=(0,s.useState)(!1),P=(0,l.Z)(I,2),E=P[0],F=P[1],w=(0,p.Z)((function(e){if(e&&null!=(null===e||void 0===e?void 0:e.details)){var n,t;if(e.details.tags)return _(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),void m(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags));_([]),m([])}}),(function(e){t((0,r.Ih)(e))})),y=(0,l.Z)(w,2),O=y[0],B=y[1],K=function(){B("GET","/api/v1/buckets/".concat(n))};return(0,s.useEffect)((function(){K()}),[n]),(0,x.jsxs)(o.xuv,{children:[O?(0,x.jsx)(o.aNw,{style:{width:16,height:16}}):null,(0,x.jsx)(i.s,{scopes:[u.Ft.S3_GET_BUCKET_TAGGING,u.Ft.S3_GET_ACTIONS],resource:n,children:(0,x.jsx)(o.xuv,{sx:{display:"flex",flexFlow:"column",marginTop:5},children:(0,x.jsxs)(o.xuv,{sx:{display:"flex",gap:8,flexWrap:"wrap"},children:[k&&k.map((function(e,t){var l=a()(v,"".concat(e),"");return""!==l?(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,x.jsx)(o.Vp9,{label:"".concat(e," : ").concat(l),id:"tag-".concat(e,"-").concat(l),onDelete:function(){!function(e,n){Z([e,n]),F(!0)}(e,l)}})},"chip-".concat(t)):null})),(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,x.jsx)(o.Vp9,{label:"Add tag",icon:(0,x.jsx)(o.dtP,{}),id:"create-tag",variant:"outlined",onClick:function(){g(!0)},sx:{cursor:"pointer",maxWidth:90}})})]})})}),b&&(0,x.jsx)(T,{modalOpen:b,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){g(!1),e&&K()}}),E&&(0,x.jsx)(h,{deleteOpen:E,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){F(!1),e&&K()},selectedTag:U})]})}}}]); -//# sourceMappingURL=1705.8c12b37a.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/1748.291be92f.chunk.js b/portal-ui/build/static/js/1748.291be92f.chunk.js deleted file mode 100644 index 80f4756aef..0000000000 --- a/portal-ui/build/static/js/1748.291be92f.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1748],{29823:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),i=n(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},3579:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),i=n(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEye");t.Z=a},20165:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),i=n(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},45649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28610)},29472:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(4942),o=n(63366),i=n(87462),a=n(72791),c=n(63733),l=n(36229),u=n(94419);var s=n(41107),f=n(66934),p=n(31402),d=n(14036),v=n(75878),m=n(21217);function g(e){return(0,m.Z)("MuiBadge",e)}var y=(0,v.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),b=n(80184),h=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],w=(0,f.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(e,t){return t.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),O=(0,f.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(e,t){var n=e.ownerState;return[t.badge,t[n.variant],t["anchorOrigin".concat((0,d.Z)(n.anchorOrigin.vertical)).concat((0,d.Z)(n.anchorOrigin.horizontal)).concat((0,d.Z)(n.overlap))],"default"!==n.color&&t["color".concat((0,d.Z)(n.color))],n.invisible&&t.invisible]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},"dot"===n.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,r.Z)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(y.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,r.Z)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(y.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,r.Z)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(y.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,r.Z)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(y.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,r.Z)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(y.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,r.Z)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(y.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,r.Z)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(y.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,r.Z)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(y.invisible),{transform:"scale(0) translate(-50%, 50%)"}),n.invisible&&{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})})})),x=a.forwardRef((function(e,t){var n,r,a,f,v,m,y=(0,p.Z)({props:e,name:"MuiBadge"}),x=y.anchorOrigin,j=void 0===x?{vertical:"top",horizontal:"right"}:x,C=y.className,D=y.component,Z=y.components,S=void 0===Z?{}:Z,P=y.componentsProps,k=void 0===P?{}:P,E=y.children,R=y.overlap,A=void 0===R?"rectangular":R,z=y.color,F=void 0===z?"default":z,T=y.invisible,I=void 0!==T&&T,M=y.max,_=void 0===M?99:M,B=y.badgeContent,L=y.slots,N=y.slotProps,W=y.showZero,U=void 0!==W&&W,H=y.variant,K=void 0===H?"standard":H,V=(0,o.Z)(y,h),$=function(e){var t=e.badgeContent,n=e.invisible,r=void 0!==n&&n,o=e.max,i=void 0===o?99:o,a=e.showZero,c=void 0!==a&&a,u=(0,l.Z)({badgeContent:t,max:i}),s=r;!1!==r||0!==t||c||(s=!0);var f=s?u:e,p=f.badgeContent,d=f.max,v=void 0===d?i:d;return{badgeContent:p,invisible:s,max:v,displayValue:p&&Number(p)>v?"".concat(v,"+"):p}}({max:_,invisible:I,badgeContent:B,showZero:U}),q=$.badgeContent,G=$.invisible,X=$.max,Y=$.displayValue,J=(0,l.Z)({anchorOrigin:j,color:F,overlap:A,variant:K,badgeContent:B}),Q=G||null==q&&"dot"!==K,ee=Q?J:y,te=ee.color,ne=void 0===te?F:te,re=ee.overlap,oe=void 0===re?A:re,ie=ee.anchorOrigin,ae=void 0===ie?j:ie,ce=ee.variant,le=void 0===ce?K:ce,ue="dot"!==le?Y:void 0,se=(0,i.Z)({},y,{badgeContent:q,invisible:Q,max:X,displayValue:ue,showZero:U,anchorOrigin:ae,color:ne,overlap:oe,variant:le}),fe=function(e){var t=e.color,n=e.anchorOrigin,r=e.invisible,o=e.overlap,i=e.variant,a=e.classes,c=void 0===a?{}:a,l={root:["root"],badge:["badge",i,r&&"invisible","anchorOrigin".concat((0,d.Z)(n.vertical)).concat((0,d.Z)(n.horizontal)),"anchorOrigin".concat((0,d.Z)(n.vertical)).concat((0,d.Z)(n.horizontal)).concat((0,d.Z)(o)),"overlap".concat((0,d.Z)(o)),"default"!==t&&"color".concat((0,d.Z)(t))]};return(0,u.Z)(l,g,c)}(se),pe=null!=(n=null!=(r=null==L?void 0:L.root)?r:S.Root)?n:w,de=null!=(a=null!=(f=null==L?void 0:L.badge)?f:S.Badge)?a:O,ve=null!=(v=null==N?void 0:N.root)?v:k.root,me=null!=(m=null==N?void 0:N.badge)?m:k.badge,ge=(0,s.y)({elementType:pe,externalSlotProps:ve,externalForwardedProps:V,additionalProps:{ref:t,as:D},ownerState:se,className:(0,c.Z)(null==ve?void 0:ve.className,fe.root,C)}),ye=(0,s.y)({elementType:de,externalSlotProps:me,ownerState:se,className:(0,c.Z)(fe.badge,null==me?void 0:me.className)});return(0,b.jsxs)(pe,(0,i.Z)({},ge,{children:[E,(0,b.jsx)(de,(0,i.Z)({},ye,{children:ue}))]}))}))},94454:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(4942),o=n(63366),i=n(87462),a=n(72791),c=n(63733),l=n(94419),u=n(12065),s=n(97278),f=n(76189),p=n(80184),d=(0,f.Z)((0,p.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),v=(0,f.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),m=(0,f.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),g=n(14036),y=n(31402),b=n(66934),h=n(75878),w=n(21217);function O(e){return(0,w.Z)("MuiCheckbox",e)}var x=(0,h.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),j=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],C=(0,b.ZP)(s.Z,{shouldForwardProp:function(e){return(0,b.FO)(e)||"classes"===e},name:"MuiCheckbox",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t["color".concat((0,g.Z)(n.color))]]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,i.Z)({color:(n.vars||n).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===o.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,u.Fq)("default"===o.color?n.palette.action.active:n.palette[o.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&(t={},(0,r.Z)(t,"&.".concat(x.checked,", &.").concat(x.indeterminate),{color:(n.vars||n).palette[o.color].main}),(0,r.Z)(t,"&.".concat(x.disabled),{color:(n.vars||n).palette.action.disabled}),t))})),D=(0,p.jsx)(v,{}),Z=(0,p.jsx)(d,{}),S=(0,p.jsx)(m,{}),P=a.forwardRef((function(e,t){var n,r,u=(0,y.Z)({props:e,name:"MuiCheckbox"}),s=u.checkedIcon,f=void 0===s?D:s,d=u.color,v=void 0===d?"primary":d,m=u.icon,b=void 0===m?Z:m,h=u.indeterminate,w=void 0!==h&&h,x=u.indeterminateIcon,P=void 0===x?S:x,k=u.inputProps,E=u.size,R=void 0===E?"medium":E,A=u.className,z=(0,o.Z)(u,j),F=w?P:b,T=w?P:f,I=(0,i.Z)({},u,{color:v,indeterminate:w,size:R}),M=function(e){var t=e.classes,n=e.indeterminate,r=e.color,o=e.size,a={root:["root",n&&"indeterminate","color".concat((0,g.Z)(r)),"size".concat((0,g.Z)(o))]},c=(0,l.Z)(a,O,t);return(0,i.Z)({},t,c)}(I);return(0,p.jsx)(C,(0,i.Z)({type:"checkbox",inputProps:(0,i.Z)({"data-indeterminate":w},k),icon:a.cloneElement(F,{fontSize:null!=(n=F.props.fontSize)?n:R}),checkedIcon:a.cloneElement(T,{fontSize:null!=(r=T.props.fontSize)?r:R}),ownerState:I,ref:t,className:(0,c.Z)(M.root,A)},z,{classes:M}))}))},57064:function(e,t,n){"use strict";var r=n(63366),o=n(87462),i=n(72791),a=n(63733),c=n(94419),l=n(66934),u=n(31402),s=n(96014),f=n(66199),p=n(80184),d=["className"],v=(0,l.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),m=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiListItemIcon"}),l=n.className,m=(0,r.Z)(n,d),g=i.useContext(f.Z),y=(0,o.Z)({},n,{alignItems:g.alignItems}),b=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,c.Z)(r,s.f,n)}(y);return(0,p.jsx)(v,(0,o.Z)({className:(0,a.Z)(b.root,l),ownerState:y,ref:t},m))}));t.Z=m},49900:function(e,t,n){"use strict";var r=n(4942),o=n(63366),i=n(87462),a=n(72791),c=n(63733),l=n(94419),u=n(20890),s=n(66199),f=n(31402),p=n(66934),d=n(29849),v=n(80184),m=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],g=(0,p.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,r.Z)({},"& .".concat(d.Z.primary),t.primary),(0,r.Z)({},"& .".concat(d.Z.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,i.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),y=a.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiListItemText"}),r=n.children,p=n.className,y=n.disableTypography,b=void 0!==y&&y,h=n.inset,w=void 0!==h&&h,O=n.primary,x=n.primaryTypographyProps,j=n.secondary,C=n.secondaryTypographyProps,D=(0,o.Z)(n,m),Z=a.useContext(s.Z).dense,S=null!=O?O:r,P=j,k=(0,i.Z)({},n,{disableTypography:b,inset:w,primary:!!S,secondary:!!P,dense:Z}),E=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,l.Z)(i,d.L,t)}(k);return null==S||S.type===u.Z||b||(S=(0,v.jsx)(u.Z,(0,i.Z)({variant:Z?"body2":"body1",className:E.primary,component:null!=x&&x.variant?void 0:"span",display:"block"},x,{children:S}))),null==P||P.type===u.Z||b||(P=(0,v.jsx)(u.Z,(0,i.Z)({variant:"body2",className:E.secondary,color:"text.secondary",display:"block"},C,{children:P}))),(0,v.jsxs)(g,(0,i.Z)({className:(0,c.Z)(E.root,p),ownerState:k,ref:t},D,{children:[S,P]}))}));t.Z=y},31260:function(e,t,n){"use strict";var r=n(78949);t.Z=r.Z},28610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return c.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return u.Z},ownerDocument:function(){return s.Z},ownerWindow:function(){return f.Z},requirePropFactory:function(){return p},setRef:function(){return d},unstable_ClassNameGenerator:function(){return O},unstable_useEnhancedEffect:function(){return v.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return g},useControlled:function(){return y.Z},useEventCallback:function(){return b.Z},useForkRef:function(){return h.Z},useIsFocusVisible:function(){return w.Z}});var r=n(55902),o=n(14036),i=n(31260),a=n(76189),c=n(83199);var l=function(e,t){return function(){return null}},u=n(19103),s=n(98301),f=n(17602);n(87462);var p=function(e,t){return function(){return null}},d=n(62971).Z,v=n(40162),m=n(67384);var g=function(e,t,n,r,o){return null},y=n(98278),b=n(89683),h=n(42071),w=n(23031),O={configure:function(e){r.Z.configure(e)}}},69998:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},76998:function(e,t,n){"use strict";var r=n(42458),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,c,l,u,s=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),c=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),c.selectNodeContents(u),l.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(f){n&&console.error("unable to copy using execCommand: ",f),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(c):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return s}},568:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=c(n(72791)),i=c(n(76998)),a=["text","onCopy","options","children"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var p=[".DS_Store","Thumbs.db"];function d(e){return"object"===typeof e&&null!==e}function v(e){return b(e.target.files).map((function(e){return f(e)}))}function m(e){return a(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return f(e)}))]}}))}))}function g(e,t){return a(this,void 0,void 0,(function(){var n;return c(this,(function(r){switch(r.label){case 0:return e.items?(n=b(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(h))]):[3,2];case 1:return[2,y(w(r.sent()))];case 2:return[2,y(b(e.files).map((function(e){return f(e)})))]}}))}))}function y(e){return e.filter((function(e){return-1===p.indexOf(e.name)}))}function b(e){if(null===e)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,_(n)];if(e.sizen)return[!1,_(n)]}return[!0,null]}function U(e){return void 0!==e&&null!==e}function H(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function K(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function V(e){e.preventDefault()}function $(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var le=(0,r.forwardRef)((function(e,t){var n=e.children,o=fe(ce(e,X)),i=o.open,a=ce(o,Y);return(0,r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),r.createElement(r.Fragment,null,n(ie(ie({},a),{},{open:i})))}));le.displayName="Dropzone";var ue={disabled:!1,getFilesFromEvent:function(e){return a(this,void 0,void 0,(function(){return c(this,(function(t){return d(e)&&d(e.dataTransfer)?[2,g(e.dataTransfer,e.type)]:function(e){return d(e)&&d(e.target)}(e)?[2,v(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,m(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};le.defaultProps=ue,le.propTypes={children:i().func,accept:i().objectOf(i().arrayOf(i().string)),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,maxFiles:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onFileDialogOpen:i().func,useFsAccessApi:i().bool,autoFocus:i().bool,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,onError:i().func,validator:i().func};var se={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ie(ie({},ue),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,c=t.minSize,l=t.multiple,u=t.maxFiles,s=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,v=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,b=t.useFsAccessApi,h=t.autoFocus,w=t.preventDropOnDocument,O=t.noClick,x=t.noKeyboard,j=t.noDrag,C=t.noDragEventsBubbling,D=t.onError,S=t.validator,R=(0,r.useMemo)((function(){return function(e){if(U(e))return Object.entries(e).reduce((function(e,t){var n=E(t,2),r=n[0],o=n[1];return[].concat(Z(e),[r],Z(o))}),[]).filter((function(e){return q(e)||G(e)})).join(",")}(n)}),[n]),A=(0,r.useMemo)((function(){return function(e){return U(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=E(e,2),n=t[0],r=t[1],o=!0;return q(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(G)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=E(t,2),r=n[0],o=n[1];return P(P({},e),{},k({},r,o))}),{})}]:e}(n)}),[n]),z=(0,r.useMemo)((function(){return"function"===typeof y?y:de}),[y]),F=(0,r.useMemo)((function(){return"function"===typeof g?g:de}),[g]),T=(0,r.useRef)(null),I=(0,r.useRef)(null),M=te((0,r.useReducer)(pe,se),2),_=M[0],B=M[1],X=_.isFocused,Y=_.isFileDialogActive,ne=(0,r.useRef)("undefined"!==typeof window&&window.isSecureContext&&b&&"showOpenFilePicker"in window),re=function(){!ne.current&&Y&&setTimeout((function(){I.current&&(I.current.files.length||(B({type:"closeDialog"}),F()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",re,!1),function(){window.removeEventListener("focus",re,!1)}}),[I,Y,F,ne]);var oe=(0,r.useRef)([]),le=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),oe.current=[])};(0,r.useEffect)((function(){return w&&(document.addEventListener("dragover",V,!1),document.addEventListener("drop",le,!1)),function(){w&&(document.removeEventListener("dragover",V),document.removeEventListener("drop",le))}}),[T,w]),(0,r.useEffect)((function(){return!o&&h&&T.current&&T.current.focus(),function(){}}),[T,h,o]);var fe=(0,r.useCallback)((function(e){D?D(e):console.error(e)}),[D]),ve=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Se(e),oe.current=[].concat(ee(oe.current),[e.target]),K(e)&&Promise.resolve(i(e)).then((function(t){if(!H(e)||C){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,c=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=E(N(e,n),1)[0],i=E(W(e,r,o),1)[0],a=c?c(e):null;return t&&i&&!a}))}({files:t,accept:R,minSize:c,maxSize:a,multiple:l,maxFiles:u,validator:S});B({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),s&&s(e)}})).catch((function(e){return fe(e)}))}),[i,s,fe,C,R,c,a,l,u,S]),me=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Se(e);var t=K(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&p&&p(e),!1}),[p,C]),ge=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Se(e);var t=oe.current.filter((function(e){return T.current&&T.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),oe.current=t,t.length>0||(B({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),K(e)&&f&&f(e))}),[T,f,C]),ye=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=te(N(e,R),2),o=t[0],i=t[1],l=te(W(e,c,a),2),u=l[0],s=l[1],f=S?S(e):null;if(o&&u&&!f)n.push(e);else{var p=[i,s];f&&(p=p.concat(f)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&n.length>1||l&&u>=1&&n.length>u)&&(n.forEach((function(e){r.push({file:e,errors:[L]})})),n.splice(0)),B({acceptedFiles:n,fileRejections:r,type:"setFiles"}),d&&d(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&v&&v(n,t)}),[B,l,R,c,a,u,d,v,m,S]),be=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Se(e),oe.current=[],K(e)&&Promise.resolve(i(e)).then((function(t){H(e)&&!C||ye(t,e)})).catch((function(e){return fe(e)})),B({type:"reset"})}),[i,ye,fe,C]),he=(0,r.useCallback)((function(){if(ne.current){B({type:"openDialog"}),z();var e={multiple:l,types:A};window.showOpenFilePicker(e).then((function(e){return i(e)})).then((function(e){ye(e,null),B({type:"closeDialog"})})).catch((function(e){var t;(t=e)instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(F(e),B({type:"closeDialog"})):!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?fe(e):(ne.current=!1,I.current?(I.current.value=null,I.current.click()):fe(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided.")))}))}else I.current&&(B({type:"openDialog"}),z(),I.current.value=null,I.current.click())}),[B,z,F,b,ye,fe,A,l]),we=(0,r.useCallback)((function(e){T.current&&T.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),he()))}),[T,he]),Oe=(0,r.useCallback)((function(){B({type:"focus"})}),[]),xe=(0,r.useCallback)((function(){B({type:"blur"})}),[]),je=(0,r.useCallback)((function(){O||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?he():setTimeout(he,0))}),[O,he]),Ce=function(e){return o?null:e},De=function(e){return x?null:Ce(e)},Ze=function(e){return j?null:Ce(e)},Se=function(e){C&&e.stopPropagation()},Pe=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,i=e.onKeyDown,a=e.onFocus,c=e.onBlur,l=e.onClick,u=e.onDragEnter,s=e.onDragOver,f=e.onDragLeave,p=e.onDrop,d=ce(e,J);return ie(ie(ae({onKeyDown:De($(i,we)),onFocus:De($(a,Oe)),onBlur:De($(c,xe)),onClick:Ce($(l,je)),onDragEnter:Ze($(u,ve)),onDragOver:Ze($(s,me)),onDragLeave:Ze($(f,ge)),onDrop:Ze($(p,be)),role:"string"===typeof r&&""!==r?r:"presentation"},n,T),o||x?{}:{tabIndex:0}),d)}}),[T,we,Oe,xe,je,ve,me,ge,be,x,j,o]),ke=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),Ee=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=ce(e,Q);return ie(ie({},ae({accept:R,multiple:l,type:"file",style:{display:"none"},onChange:Ce($(r,be)),onClick:Ce($(o,ke)),tabIndex:-1},n,I)),i)}}),[I,n,l,be,o]);return ie(ie({},_),{},{isFocused:X&&!o,getRootProps:Pe,getInputProps:Ee,rootRef:T,inputRef:I,open:Ce(he)})}function pe(e,t){switch(t.type){case"focus":return ie(ie({},e),{},{isFocused:!0});case"blur":return ie(ie({},e),{},{isFocused:!1});case"openDialog":return ie(ie({},se),{},{isFileDialogActive:!0});case"closeDialog":return ie(ie({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ie(ie({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ie(ie({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ie({},se);default:return e}}function de(){}},42458:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r {\n const {\n color,\n anchorOrigin,\n invisible,\n overlap,\n variant,\n classes = {}\n } = ownerState;\n const slots = {\n root: ['root'],\n badge: ['badge', variant, invisible && 'invisible', `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`, `overlap${capitalize(overlap)}`, color !== 'default' && `color${capitalize(color)}`]\n };\n return composeClasses(slots, getBadgeUtilityClass, classes);\n};\nconst BadgeRoot = styled('span', {\n name: 'MuiBadge',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n position: 'relative',\n display: 'inline-flex',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n flexShrink: 0\n});\nconst BadgeBadge = styled('span', {\n name: 'MuiBadge',\n slot: 'Badge',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.badge, styles[ownerState.variant], styles[`anchorOrigin${capitalize(ownerState.anchorOrigin.vertical)}${capitalize(ownerState.anchorOrigin.horizontal)}${capitalize(ownerState.overlap)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.invisible && styles.invisible];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n position: 'absolute',\n boxSizing: 'border-box',\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(12),\n minWidth: RADIUS_STANDARD * 2,\n lineHeight: 1,\n padding: '0 6px',\n height: RADIUS_STANDARD * 2,\n borderRadius: RADIUS_STANDARD,\n zIndex: 1,\n // Render the badge on top of potential ripples.\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.enteringScreen\n })\n}, ownerState.color !== 'default' && {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].main,\n color: (theme.vars || theme).palette[ownerState.color].contrastText\n}, ownerState.variant === 'dot' && {\n borderRadius: RADIUS_DOT,\n height: RADIUS_DOT * 2,\n minWidth: RADIUS_DOT * 2,\n padding: 0\n}, ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular' && {\n top: 0,\n right: 0,\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, -50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular' && {\n bottom: 0,\n right: 0,\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, 50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular' && {\n top: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular' && {\n bottom: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular' && {\n top: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, -50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular' && {\n bottom: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, 50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular' && {\n top: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n}, ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular' && {\n bottom: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n}, ownerState.invisible && {\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.leavingScreen\n })\n}));\nconst Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {\n var _ref, _slots$root, _ref2, _slots$badge, _slotProps$root, _slotProps$badge;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiBadge'\n });\n const {\n anchorOrigin: anchorOriginProp = {\n vertical: 'top',\n horizontal: 'right'\n },\n className,\n component,\n components = {},\n componentsProps = {},\n children,\n overlap: overlapProp = 'rectangular',\n color: colorProp = 'default',\n invisible: invisibleProp = false,\n max: maxProp = 99,\n badgeContent: badgeContentProp,\n slots,\n slotProps,\n showZero = false,\n variant: variantProp = 'standard'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n badgeContent,\n invisible: invisibleFromHook,\n max,\n displayValue: displayValueFromHook\n } = useBadge({\n max: maxProp,\n invisible: invisibleProp,\n badgeContent: badgeContentProp,\n showZero\n });\n const prevProps = usePreviousProps({\n anchorOrigin: anchorOriginProp,\n color: colorProp,\n overlap: overlapProp,\n variant: variantProp,\n badgeContent: badgeContentProp\n });\n const invisible = invisibleFromHook || badgeContent == null && variantProp !== 'dot';\n const {\n color = colorProp,\n overlap = overlapProp,\n anchorOrigin = anchorOriginProp,\n variant = variantProp\n } = invisible ? prevProps : props;\n const displayValue = variant !== 'dot' ? displayValueFromHook : undefined;\n const ownerState = _extends({}, props, {\n badgeContent,\n invisible,\n max,\n displayValue,\n showZero,\n anchorOrigin,\n color,\n overlap,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n\n // support both `slots` and `components` for backward compatibility\n const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;\n const BadgeSlot = (_ref2 = (_slots$badge = slots == null ? void 0 : slots.badge) != null ? _slots$badge : components.Badge) != null ? _ref2 : BadgeBadge;\n const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;\n const badgeSlotProps = (_slotProps$badge = slotProps == null ? void 0 : slotProps.badge) != null ? _slotProps$badge : componentsProps.badge;\n const rootProps = useSlotProps({\n elementType: RootSlot,\n externalSlotProps: rootSlotProps,\n externalForwardedProps: other,\n additionalProps: {\n ref,\n as: component\n },\n ownerState,\n className: clsx(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)\n });\n const badgeProps = useSlotProps({\n elementType: BadgeSlot,\n externalSlotProps: badgeSlotProps,\n ownerState,\n className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)\n });\n return /*#__PURE__*/_jsxs(RootSlot, _extends({}, rootProps, {\n children: [children, /*#__PURE__*/_jsx(BadgeSlot, _extends({}, badgeProps, {\n children: displayValue\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Badge.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The anchor of the badge.\n * @default {\n * vertical: 'top',\n * horizontal: 'right',\n * }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n /**\n * The content rendered within the badge.\n */\n badgeContent: PropTypes.node,\n /**\n * The badge will be added relative to this node.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Badge: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n badge: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * If `true`, the badge is invisible.\n * @default false\n */\n invisible: PropTypes.bool,\n /**\n * Max count to show.\n * @default 99\n */\n max: PropTypes.number,\n /**\n * Wrapped shape the badge should overlap.\n * @default 'rectangular'\n */\n overlap: PropTypes.oneOf(['circular', 'rectangular']),\n /**\n * Controls whether the badge is hidden when `badgeContent` is zero.\n * @default false\n */\n showZero: PropTypes.bool,\n /**\n * The props used for each slot inside the Badge.\n * @default {}\n */\n slotProps: PropTypes.shape({\n badge: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Badge.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n badge: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'standard'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['dot', 'standard']), PropTypes.string])\n} : void 0;\nexport default Badge;","'use client';\n\nimport { usePreviousProps } from '@mui/utils';\n/**\n *\n * Demos:\n *\n * - [Badge](https://mui.com/base-ui/react-badge/#hook)\n *\n * API:\n *\n * - [useBadge API](https://mui.com/base-ui/react-badge/hooks-api/#use-badge)\n */\nexport function useBadge(parameters) {\n const {\n badgeContent: badgeContentProp,\n invisible: invisibleProp = false,\n max: maxProp = 99,\n showZero = false\n } = parameters;\n const prevProps = usePreviousProps({\n badgeContent: badgeContentProp,\n max: maxProp\n });\n let invisible = invisibleProp;\n if (invisibleProp === false && badgeContentProp === 0 && !showZero) {\n invisible = true;\n }\n const {\n badgeContent,\n max = maxProp\n } = invisible ? prevProps : parameters;\n const displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;\n return {\n badgeContent,\n invisible,\n max,\n displayValue\n };\n}","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getCheckboxUtilityClass(slot) {\n return generateUtilityClass('MuiCheckbox', slot);\n}\nconst checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);\nexport default checkboxClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"checkedIcon\", \"color\", \"icon\", \"indeterminate\", \"indeterminateIcon\", \"inputProps\", \"size\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport { alpha } from '@mui/system';\nimport SwitchBase from '../internal/SwitchBase';\nimport CheckBoxOutlineBlankIcon from '../internal/svg-icons/CheckBoxOutlineBlank';\nimport CheckBoxIcon from '../internal/svg-icons/CheckBox';\nimport IndeterminateCheckBoxIcon from '../internal/svg-icons/IndeterminateCheckBox';\nimport capitalize from '../utils/capitalize';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport checkboxClasses, { getCheckboxUtilityClass } from './checkboxClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n indeterminate,\n color,\n size\n } = ownerState;\n const slots = {\n root: ['root', indeterminate && 'indeterminate', `color${capitalize(color)}`, `size${capitalize(size)}`]\n };\n const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst CheckboxRoot = styled(SwitchBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiCheckbox',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.indeterminate && styles.indeterminate, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n color: (theme.vars || theme).palette.text.secondary\n}, !ownerState.disableRipple && {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n}, ownerState.color !== 'default' && {\n [`&.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]: {\n color: (theme.vars || theme).palette[ownerState.color].main\n },\n [`&.${checkboxClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n }\n}));\nconst defaultCheckedIcon = /*#__PURE__*/_jsx(CheckBoxIcon, {});\nconst defaultIcon = /*#__PURE__*/_jsx(CheckBoxOutlineBlankIcon, {});\nconst defaultIndeterminateIcon = /*#__PURE__*/_jsx(IndeterminateCheckBoxIcon, {});\nconst Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {\n var _icon$props$fontSize, _indeterminateIcon$pr;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiCheckbox'\n });\n const {\n checkedIcon = defaultCheckedIcon,\n color = 'primary',\n icon: iconProp = defaultIcon,\n indeterminate = false,\n indeterminateIcon: indeterminateIconProp = defaultIndeterminateIcon,\n inputProps,\n size = 'medium',\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const icon = indeterminate ? indeterminateIconProp : iconProp;\n const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;\n const ownerState = _extends({}, props, {\n color,\n indeterminate,\n size\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(CheckboxRoot, _extends({\n type: \"checkbox\",\n inputProps: _extends({\n 'data-indeterminate': indeterminate\n }, inputProps),\n icon: /*#__PURE__*/React.cloneElement(icon, {\n fontSize: (_icon$props$fontSize = icon.props.fontSize) != null ? _icon$props$fontSize : size\n }),\n checkedIcon: /*#__PURE__*/React.cloneElement(indeterminateIcon, {\n fontSize: (_indeterminateIcon$pr = indeterminateIcon.props.fontSize) != null ? _indeterminateIcon$pr : size\n }),\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className)\n }, other, {\n classes: classes\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Checkbox.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n * @default \n */\n checkedIcon: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default checked state. Use when the component is not controlled.\n */\n defaultChecked: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display when the component is unchecked.\n * @default \n */\n icon: PropTypes.node,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * If `true`, the component appears indeterminate.\n * This does not set the native input element to indeterminate due\n * to inconsistent behavior across browsers.\n * However, we set a `data-indeterminate` attribute on the `input`.\n * @default false\n */\n indeterminate: PropTypes.bool,\n /**\n * The icon to display when the component is indeterminate.\n * @default \n */\n indeterminateIcon: PropTypes.node,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * `small` is equivalent to the dense checkbox styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default Checkbox;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport { getListItemIconUtilityClass } from './listItemIconClasses';\nimport ListContext from '../List/ListContext';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n alignItems,\n classes\n } = ownerState;\n const slots = {\n root: ['root', alignItems === 'flex-start' && 'alignItemsFlexStart']\n };\n return composeClasses(slots, getListItemIconUtilityClass, classes);\n};\nconst ListItemIconRoot = styled('div', {\n name: 'MuiListItemIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n minWidth: 56,\n color: (theme.vars || theme).palette.action.active,\n flexShrink: 0,\n display: 'inline-flex'\n}, ownerState.alignItems === 'flex-start' && {\n marginTop: 8\n}));\n\n/**\n * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.\n */\nconst ListItemIcon = /*#__PURE__*/React.forwardRef(function ListItemIcon(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiListItemIcon'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const context = React.useContext(ListContext);\n const ownerState = _extends({}, props, {\n alignItems: context.alignItems\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListItemIconRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemIcon.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component, normally `Icon`, `SvgIcon`,\n * or a `@mui/icons-material` SVG icon element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListItemIcon;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"disableTypography\", \"inset\", \"primary\", \"primaryTypographyProps\", \"secondary\", \"secondaryTypographyProps\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';\nimport Typography from '../Typography';\nimport ListContext from '../List/ListContext';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport listItemTextClasses, { getListItemTextUtilityClass } from './listItemTextClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n inset,\n primary,\n secondary,\n dense\n } = ownerState;\n const slots = {\n root: ['root', inset && 'inset', dense && 'dense', primary && secondary && 'multiline'],\n primary: ['primary'],\n secondary: ['secondary']\n };\n return composeClasses(slots, getListItemTextUtilityClass, classes);\n};\nconst ListItemTextRoot = styled('div', {\n name: 'MuiListItemText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${listItemTextClasses.primary}`]: styles.primary\n }, {\n [`& .${listItemTextClasses.secondary}`]: styles.secondary\n }, styles.root, ownerState.inset && styles.inset, ownerState.primary && ownerState.secondary && styles.multiline, ownerState.dense && styles.dense];\n }\n})(({\n ownerState\n}) => _extends({\n flex: '1 1 auto',\n minWidth: 0,\n marginTop: 4,\n marginBottom: 4\n}, ownerState.primary && ownerState.secondary && {\n marginTop: 6,\n marginBottom: 6\n}, ownerState.inset && {\n paddingLeft: 56\n}));\nconst ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiListItemText'\n });\n const {\n children,\n className,\n disableTypography = false,\n inset = false,\n primary: primaryProp,\n primaryTypographyProps,\n secondary: secondaryProp,\n secondaryTypographyProps\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n dense\n } = React.useContext(ListContext);\n let primary = primaryProp != null ? primaryProp : children;\n let secondary = secondaryProp;\n const ownerState = _extends({}, props, {\n disableTypography,\n inset,\n primary: !!primary,\n secondary: !!secondary,\n dense\n });\n const classes = useUtilityClasses(ownerState);\n if (primary != null && primary.type !== Typography && !disableTypography) {\n primary = /*#__PURE__*/_jsx(Typography, _extends({\n variant: dense ? 'body2' : 'body1',\n className: classes.primary,\n component: primaryTypographyProps != null && primaryTypographyProps.variant ? undefined : 'span',\n display: \"block\"\n }, primaryTypographyProps, {\n children: primary\n }));\n }\n if (secondary != null && secondary.type !== Typography && !disableTypography) {\n secondary = /*#__PURE__*/_jsx(Typography, _extends({\n variant: \"body2\",\n className: classes.secondary,\n color: \"text.secondary\",\n display: \"block\"\n }, secondaryTypographyProps, {\n children: secondary\n }));\n }\n return /*#__PURE__*/_jsxs(ListItemTextRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other, {\n children: [primary, secondary]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemText.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Alias for the `primary` prop.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the children won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `children` (or `primary`) text, and optional `secondary` text\n * with the Typography component.\n * @default false\n */\n disableTypography: PropTypes.bool,\n /**\n * If `true`, the children are indented.\n * This should be used if there is no left avatar or left icon.\n * @default false\n */\n inset: PropTypes.bool,\n /**\n * The main content element.\n */\n primary: PropTypes.node,\n /**\n * These props will be forwarded to the primary typography component\n * (as long as disableTypography is not `true`).\n */\n primaryTypographyProps: PropTypes.object,\n /**\n * The secondary content element.\n */\n secondary: PropTypes.node,\n /**\n * These props will be forwarded to the secondary typography component\n * (as long as disableTypography is not `true`).\n */\n secondaryTypographyProps: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListItemText;","import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils';\nexport default createChainedFunction;","import { unstable_deprecatedPropType as deprecatedPropType } from '@mui/utils';\nexport default deprecatedPropType;","export default function deprecatedPropType(validator, reason) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n return (props, propName, componentName, location, propFullName) => {\n const componentNameSafe = componentName || '<>';\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The ${location} \\`${propFullNameSafe}\\` of ` + `\\`${componentNameSafe}\\` is deprecated. ${reason}`);\n }\n return null;\n };\n}","import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils';\nexport default requirePropFactory;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function requirePropFactory(componentNameInError, Component) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n\n // eslint-disable-next-line react/forbid-foreign-prop-types\n const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;\n const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {\n const propFullNameSafe = propFullName || propName;\n const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];\n if (defaultTypeChecker) {\n const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);\n if (typeCheckerResult) {\n return typeCheckerResult;\n }\n }\n if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {\n return new Error(`The prop \\`${propFullNameSafe}\\` of ` + `\\`${componentNameInError}\\` can only be used together with the \\`${requiredProp}\\` prop.`);\n }\n return null;\n };\n return requireProp;\n}","import { unstable_setRef as setRef } from '@mui/utils';\nexport default setRef;","import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils';\nexport default unsupportedProp;","export default function unsupportedProp(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The prop \\`${propFullNameSafe}\\` is not supported. Please remove it.`);\n }\n return null;\n}","'use client';\n\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/base/ClassNameGenerator';\nexport { default as capitalize } from './capitalize';\nexport { default as createChainedFunction } from './createChainedFunction';\nexport { default as createSvgIcon } from './createSvgIcon';\nexport { default as debounce } from './debounce';\nexport { default as deprecatedPropType } from './deprecatedPropType';\nexport { default as isMuiElement } from './isMuiElement';\nexport { default as ownerDocument } from './ownerDocument';\nexport { default as ownerWindow } from './ownerWindow';\nexport { default as requirePropFactory } from './requirePropFactory';\nexport { default as setRef } from './setRef';\nexport { default as unstable_useEnhancedEffect } from './useEnhancedEffect';\nexport { default as unstable_useId } from './useId';\nexport { default as unsupportedProp } from './unsupportedProp';\nexport { default as useControlled } from './useControlled';\nexport { default as useEventCallback } from './useEventCallback';\nexport { default as useForkRef } from './useForkRef';\nexport { default as useIsFocusVisible } from './useIsFocusVisible';\n// TODO: remove this export once ClassNameGenerator is stable\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const unstable_ClassNameGenerator = {\n configure: generator => {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(['MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.', '', \"You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead\", '', 'The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401', '', 'The updated documentation: https://mui.com/guides/classname-generator/'].join('\\n'));\n }\n ClassNameGenerator.configure(generator);\n }\n};","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (file, acceptedFiles) {\n if (file && acceptedFiles) {\n var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(',');\n var fileName = file.name || '';\n var mimeType = (file.type || '').toLowerCase();\n var baseMimeType = mimeType.replace(/\\/.*$/, '');\n return acceptedFilesArray.some(function (type) {\n var validType = type.trim().toLowerCase();\n\n if (validType.charAt(0) === '.') {\n return fileName.toLowerCase().endsWith(validType);\n } else if (validType.endsWith('/*')) {\n // This is something like a image/* mime type\n return baseMimeType === validType.replace(/\\/.*$/, '');\n }\n\n return mimeType === validType;\n });\n }\n\n return true;\n};","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export const COMMON_MIME_TYPES = new Map([\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types\n ['aac', 'audio/aac'],\n ['abw', 'application/x-abiword'],\n ['arc', 'application/x-freearc'],\n ['avif', 'image/avif'],\n ['avi', 'video/x-msvideo'],\n ['azw', 'application/vnd.amazon.ebook'],\n ['bin', 'application/octet-stream'],\n ['bmp', 'image/bmp'],\n ['bz', 'application/x-bzip'],\n ['bz2', 'application/x-bzip2'],\n ['cda', 'application/x-cdf'],\n ['csh', 'application/x-csh'],\n ['css', 'text/css'],\n ['csv', 'text/csv'],\n ['doc', 'application/msword'],\n ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'],\n ['eot', 'application/vnd.ms-fontobject'],\n ['epub', 'application/epub+zip'],\n ['gz', 'application/gzip'],\n ['gif', 'image/gif'],\n ['heic', 'image/heic'],\n ['heif', 'image/heif'],\n ['htm', 'text/html'],\n ['html', 'text/html'],\n ['ico', 'image/vnd.microsoft.icon'],\n ['ics', 'text/calendar'],\n ['jar', 'application/java-archive'],\n ['jpeg', 'image/jpeg'],\n ['jpg', 'image/jpeg'],\n ['js', 'text/javascript'],\n ['json', 'application/json'],\n ['jsonld', 'application/ld+json'],\n ['mid', 'audio/midi'],\n ['midi', 'audio/midi'],\n ['mjs', 'text/javascript'],\n ['mp3', 'audio/mpeg'],\n ['mp4', 'video/mp4'],\n ['mpeg', 'video/mpeg'],\n ['mpkg', 'application/vnd.apple.installer+xml'],\n ['odp', 'application/vnd.oasis.opendocument.presentation'],\n ['ods', 'application/vnd.oasis.opendocument.spreadsheet'],\n ['odt', 'application/vnd.oasis.opendocument.text'],\n ['oga', 'audio/ogg'],\n ['ogv', 'video/ogg'],\n ['ogx', 'application/ogg'],\n ['opus', 'audio/opus'],\n ['otf', 'font/otf'],\n ['png', 'image/png'],\n ['pdf', 'application/pdf'],\n ['php', 'application/x-httpd-php'],\n ['ppt', 'application/vnd.ms-powerpoint'],\n ['pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation'],\n ['rar', 'application/vnd.rar'],\n ['rtf', 'application/rtf'],\n ['sh', 'application/x-sh'],\n ['svg', 'image/svg+xml'],\n ['swf', 'application/x-shockwave-flash'],\n ['tar', 'application/x-tar'],\n ['tif', 'image/tiff'],\n ['tiff', 'image/tiff'],\n ['ts', 'video/mp2t'],\n ['ttf', 'font/ttf'],\n ['txt', 'text/plain'],\n ['vsd', 'application/vnd.visio'],\n ['wav', 'audio/wav'],\n ['weba', 'audio/webm'],\n ['webm', 'video/webm'],\n ['webp', 'image/webp'],\n ['woff', 'font/woff'],\n ['woff2', 'font/woff2'],\n ['xhtml', 'application/xhtml+xml'],\n ['xls', 'application/vnd.ms-excel'],\n ['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],\n ['xml', 'application/xml'],\n ['xul', 'application/vnd.mozilla.xul+xml'],\n ['zip', 'application/zip'],\n ['7z', 'application/x-7z-compressed'],\n\n // Others\n ['mkv', 'video/x-matroska'],\n ['mov', 'video/quicktime'],\n ['msg', 'application/vnd.ms-outlook']\n]);\n\n\nexport function toFileWithPath(file: FileWithPath, path?: string): FileWithPath {\n const f = withMimeType(file);\n if (typeof f.path !== 'string') { // on electron, path is already set to the absolute path\n const {webkitRelativePath} = file;\n Object.defineProperty(f, 'path', {\n value: typeof path === 'string'\n ? path\n // If is set,\n // the File will have a {webkitRelativePath} property\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory\n : typeof webkitRelativePath === 'string' && webkitRelativePath.length > 0\n ? webkitRelativePath\n : file.name,\n writable: false,\n configurable: false,\n enumerable: true\n });\n }\n\n return f;\n}\n\nexport interface FileWithPath extends File {\n readonly path?: string;\n}\n\nfunction withMimeType(file: FileWithPath) {\n const {name} = file;\n const hasExtension = name && name.lastIndexOf('.') !== -1;\n\n if (hasExtension && !file.type) {\n const ext = name.split('.')\n .pop()!.toLowerCase();\n const type = COMMON_MIME_TYPES.get(ext);\n if (type) {\n Object.defineProperty(file, 'type', {\n value: type,\n writable: false,\n configurable: false,\n enumerable: true\n });\n }\n }\n\n return file;\n}\n","import {FileWithPath, toFileWithPath} from './file';\n\n\nconst FILES_TO_IGNORE = [\n // Thumbnail cache files for macOS and Windows\n '.DS_Store', // macOs\n 'Thumbs.db' // Windows\n];\n\n\n/**\n * Convert a DragEvent's DataTrasfer object to a list of File objects\n * NOTE: If some of the items are folders,\n * everything will be flattened and placed in the same list but the paths will be kept as a {path} property.\n *\n * EXPERIMENTAL: A list of https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle objects can also be passed as an arg\n * and a list of File objects will be returned.\n *\n * @param evt\n */\nexport async function fromEvent(evt: Event | any): Promise<(FileWithPath | DataTransferItem)[]> {\n if (isObject(evt) && isDataTransfer(evt.dataTransfer)) {\n return getDataTransferFiles(evt.dataTransfer, evt.type);\n } else if (isChangeEvt(evt)) {\n return getInputFiles(evt);\n } else if (Array.isArray(evt) && evt.every(item => 'getFile' in item && typeof item.getFile === 'function')) {\n return getFsHandleFiles(evt)\n }\n return [];\n}\n\nfunction isDataTransfer(value: any): value is DataTransfer {\n return isObject(value);\n}\n\nfunction isChangeEvt(value: any): value is Event {\n return isObject(value) && isObject(value.target);\n}\n\nfunction isObject(v: any): v is T {\n return typeof v === 'object' && v !== null\n}\n\nfunction getInputFiles(evt: Event) {\n return fromList((evt.target as HTMLInputElement).files).map(file => toFileWithPath(file));\n}\n\n// Ee expect each handle to be https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle\nasync function getFsHandleFiles(handles: any[]) {\n const files = await Promise.all(handles.map(h => h.getFile()));\n return files.map(file => toFileWithPath(file));\n}\n\n\nasync function getDataTransferFiles(dt: DataTransfer, type: string) {\n // IE11 does not support dataTransfer.items\n // See https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/items#Browser_compatibility\n if (dt.items) {\n const items = fromList(dt.items)\n .filter(item => item.kind === 'file');\n // According to https://html.spec.whatwg.org/multipage/dnd.html#dndevents,\n // only 'dragstart' and 'drop' has access to the data (source node)\n if (type !== 'drop') {\n return items;\n }\n const files = await Promise.all(items.map(toFilePromises));\n return noIgnoredFiles(flatten(files));\n }\n\n return noIgnoredFiles(fromList(dt.files)\n .map(file => toFileWithPath(file)));\n}\n\nfunction noIgnoredFiles(files: FileWithPath[]) {\n return files.filter(file => FILES_TO_IGNORE.indexOf(file.name) === -1);\n}\n\n// IE11 does not support Array.from()\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from#Browser_compatibility\n// https://developer.mozilla.org/en-US/docs/Web/API/FileList\n// https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList\nfunction fromList(items: DataTransferItemList | FileList | null): T[] {\n if (items === null) {\n return [];\n }\n\n const files = [];\n\n // tslint:disable: prefer-for-of\n for (let i = 0; i < items.length; i++) {\n const file = items[i];\n files.push(file);\n }\n\n return files as any;\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem\nfunction toFilePromises(item: DataTransferItem) {\n if (typeof item.webkitGetAsEntry !== 'function') {\n return fromDataTransferItem(item);\n }\n\n const entry = item.webkitGetAsEntry();\n\n // Safari supports dropping an image node from a different window and can be retrieved using\n // the DataTransferItem.getAsFile() API\n // NOTE: FileSystemEntry.file() throws if trying to get the file\n if (entry && entry.isDirectory) {\n return fromDirEntry(entry) as any;\n }\n\n return fromDataTransferItem(item);\n}\n\nfunction flatten(items: any[]): T[] {\n return items.reduce((acc, files) => [\n ...acc,\n ...(Array.isArray(files) ? flatten(files) : [files])\n ], []);\n}\n\nfunction fromDataTransferItem(item: DataTransferItem) {\n const file = item.getAsFile();\n if (!file) {\n return Promise.reject(`${item} is not a File`);\n }\n const fwp = toFileWithPath(file);\n return Promise.resolve(fwp);\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry\nasync function fromEntry(entry: any) {\n return entry.isDirectory ? fromDirEntry(entry) : fromFileEntry(entry);\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry\nfunction fromDirEntry(entry: any) {\n const reader = entry.createReader();\n\n return new Promise((resolve, reject) => {\n const entries: Promise[] = [];\n\n function readEntries() {\n // https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/createReader\n // https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries\n reader.readEntries(async (batch: any[]) => {\n if (!batch.length) {\n // Done reading directory\n try {\n const files = await Promise.all(entries);\n resolve(files);\n } catch (err) {\n reject(err);\n }\n } else {\n const items = Promise.all(batch.map(fromEntry));\n entries.push(items);\n\n // Continue reading\n readEntries();\n }\n }, (err: any) => {\n reject(err);\n });\n }\n\n readEntries();\n });\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry\nasync function fromFileEntry(entry: any) {\n return new Promise((resolve, reject) => {\n entry.file((file: FileWithPath) => {\n const fwp = toFileWithPath(file, entry.fullPath);\n resolve(fwp);\n }, (err: any) => {\n reject(err);\n });\n });\n}\n\n// Infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\ninterface FileArray extends Array {}\ntype FileValue = FileWithPath\n | FileArray[];\n","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport accepts from \"attr-accept\"; // Error codes\n\nexport var FILE_INVALID_TYPE = \"file-invalid-type\";\nexport var FILE_TOO_LARGE = \"file-too-large\";\nexport var FILE_TOO_SMALL = \"file-too-small\";\nexport var TOO_MANY_FILES = \"too-many-files\";\nexport var ErrorCode = {\n FileInvalidType: FILE_INVALID_TYPE,\n FileTooLarge: FILE_TOO_LARGE,\n FileTooSmall: FILE_TOO_SMALL,\n TooManyFiles: TOO_MANY_FILES\n}; // File Errors\n\nexport var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr(accept) {\n accept = Array.isArray(accept) && accept.length === 1 ? accept[0] : accept;\n var messageSuffix = Array.isArray(accept) ? \"one of \".concat(accept.join(\", \")) : accept;\n return {\n code: FILE_INVALID_TYPE,\n message: \"File type must be \".concat(messageSuffix)\n };\n};\nexport var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) {\n return {\n code: FILE_TOO_LARGE,\n message: \"File is larger than \".concat(maxSize, \" \").concat(maxSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) {\n return {\n code: FILE_TOO_SMALL,\n message: \"File is smaller than \".concat(minSize, \" \").concat(minSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var TOO_MANY_FILES_REJECTION = {\n code: TOO_MANY_FILES,\n message: \"Too many files\"\n}; // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with\n// that MIME type will always be accepted\n\nexport function fileAccepted(file, accept) {\n var isAcceptable = file.type === \"application/x-moz-file\" || accepts(file, accept);\n return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)];\n}\nexport function fileMatchSize(file, minSize, maxSize) {\n if (isDefined(file.size)) {\n if (isDefined(minSize) && isDefined(maxSize)) {\n if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];\n } else if (isDefined(minSize) && file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];else if (isDefined(maxSize) && file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n }\n\n return [true, null];\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n/**\n *\n * @param {object} options\n * @param {File[]} options.files\n * @param {string|string[]} [options.accept]\n * @param {number} [options.minSize]\n * @param {number} [options.maxSize]\n * @param {boolean} [options.multiple]\n * @param {number} [options.maxFiles]\n * @param {(f: File) => FileError|FileError[]|null} [options.validator]\n * @returns\n */\n\n\nexport function allFilesAccepted(_ref) {\n var files = _ref.files,\n accept = _ref.accept,\n minSize = _ref.minSize,\n maxSize = _ref.maxSize,\n multiple = _ref.multiple,\n maxFiles = _ref.maxFiles,\n validator = _ref.validator;\n\n if (!multiple && files.length > 1 || multiple && maxFiles >= 1 && files.length > maxFiles) {\n return false;\n }\n\n return files.every(function (file) {\n var _fileAccepted = fileAccepted(file, accept),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 1),\n accepted = _fileAccepted2[0];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1),\n sizeMatch = _fileMatchSize2[0];\n\n var customErrors = validator ? validator(file) : null;\n return accepted && sizeMatch && !customErrors;\n });\n} // React's synthetic events has event.isPropagationStopped,\n// but to remain compatibility with other libs (Preact) fall back\n// to check event.cancelBubble\n\nexport function isPropagationStopped(event) {\n if (typeof event.isPropagationStopped === \"function\") {\n return event.isPropagationStopped();\n } else if (typeof event.cancelBubble !== \"undefined\") {\n return event.cancelBubble;\n }\n\n return false;\n}\nexport function isEvtWithFiles(event) {\n if (!event.dataTransfer) {\n return !!event.target && !!event.target.files;\n } // https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types\n // https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types#file\n\n\n return Array.prototype.some.call(event.dataTransfer.types, function (type) {\n return type === \"Files\" || type === \"application/x-moz-file\";\n });\n}\nexport function isKindFile(item) {\n return _typeof(item) === \"object\" && item !== null && item.kind === \"file\";\n} // allow the entire document to be a drag target\n\nexport function onDocumentDragOver(event) {\n event.preventDefault();\n}\n\nfunction isIe(userAgent) {\n return userAgent.indexOf(\"MSIE\") !== -1 || userAgent.indexOf(\"Trident/\") !== -1;\n}\n\nfunction isEdge(userAgent) {\n return userAgent.indexOf(\"Edge/\") !== -1;\n}\n\nexport function isIeOrEdge() {\n var userAgent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.navigator.userAgent;\n return isIe(userAgent) || isEdge(userAgent);\n}\n/**\n * This is intended to be used to compose event handlers\n * They are executed in order until one of them calls `event.isPropagationStopped()`.\n * Note that the check is done on the first invoke too,\n * meaning that if propagation was stopped before invoking the fns,\n * no handlers will be executed.\n *\n * @param {Function} fns the event hanlder functions\n * @return {Function} the event handler to add to an element\n */\n\nexport function composeEventHandlers() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n\n return function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return fns.some(function (fn) {\n if (!isPropagationStopped(event) && fn) {\n fn.apply(void 0, [event].concat(args));\n }\n\n return isPropagationStopped(event);\n });\n };\n}\n/**\n * canUseFileSystemAccessAPI checks if the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)\n * is supported by the browser.\n * @returns {boolean}\n */\n\nexport function canUseFileSystemAccessAPI() {\n return \"showOpenFilePicker\" in window;\n}\n/**\n * Convert the `{accept}` dropzone prop to the\n * `{types}` option for https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n *\n * @param {AcceptProp} accept\n * @returns {{accept: string[]}[]}\n */\n\nexport function pickerOptionsFromAccept(accept) {\n if (isDefined(accept)) {\n var acceptForPicker = Object.entries(accept).filter(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n mimeType = _ref3[0],\n ext = _ref3[1];\n\n var ok = true;\n\n if (!isMIMEType(mimeType)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.\"));\n ok = false;\n }\n\n if (!Array.isArray(ext) || !ext.every(isExt)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because an invalid file extension was provided.\"));\n ok = false;\n }\n\n return ok;\n }).reduce(function (agg, _ref4) {\n var _ref5 = _slicedToArray(_ref4, 2),\n mimeType = _ref5[0],\n ext = _ref5[1];\n\n return _objectSpread(_objectSpread({}, agg), {}, _defineProperty({}, mimeType, ext));\n }, {});\n return [{\n // description is required due to https://crbug.com/1264708\n description: \"Files\",\n accept: acceptForPicker\n }];\n }\n\n return accept;\n}\n/**\n * Convert the `{accept}` dropzone prop to an array of MIME types/extensions.\n * @param {AcceptProp} accept\n * @returns {string}\n */\n\nexport function acceptPropAsAcceptAttr(accept) {\n if (isDefined(accept)) {\n return Object.entries(accept).reduce(function (a, _ref6) {\n var _ref7 = _slicedToArray(_ref6, 2),\n mimeType = _ref7[0],\n ext = _ref7[1];\n\n return [].concat(_toConsumableArray(a), [mimeType], _toConsumableArray(ext));\n }, []) // Silently discard invalid entries as pickerOptionsFromAccept warns about these\n .filter(function (v) {\n return isMIMEType(v) || isExt(v);\n }).join(\",\");\n }\n\n return undefined;\n}\n/**\n * Check if v is an exception caused by aborting a request (e.g window.showOpenFilePicker()).\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is an abort exception.\n */\n\nexport function isAbort(v) {\n return v instanceof DOMException && (v.name === \"AbortError\" || v.code === v.ABORT_ERR);\n}\n/**\n * Check if v is a security error.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is a security error.\n */\n\nexport function isSecurityError(v) {\n return v instanceof DOMException && (v.name === \"SecurityError\" || v.code === v.SECURITY_ERR);\n}\n/**\n * Check if v is a MIME type string.\n *\n * See accepted format: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers.\n *\n * @param {string} v\n */\n\nexport function isMIMEType(v) {\n return v === \"audio/*\" || v === \"video/*\" || v === \"image/*\" || v === \"text/*\" || /\\w+\\/[-+.\\w]+/g.test(v);\n}\n/**\n * Check if v is a file extension.\n * @param {string} v\n */\n\nexport function isExt(v) {\n return /^.*\\.[\\w]+$/.test(v);\n}\n/**\n * @typedef {Object.} AcceptProp\n */\n\n/**\n * @typedef {object} FileError\n * @property {string} message\n * @property {ErrorCode|string} code\n */\n\n/**\n * @typedef {\"file-invalid-type\"|\"file-too-large\"|\"file-too-small\"|\"too-many-files\"} ErrorCode\n */","var _excluded = [\"children\"],\n _excluded2 = [\"open\"],\n _excluded3 = [\"refKey\", \"role\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"onClick\", \"onDragEnter\", \"onDragOver\", \"onDragLeave\", \"onDrop\"],\n _excluded4 = [\"refKey\", \"onChange\", \"onClick\"];\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* eslint prefer-template: 0 */\nimport React, { forwardRef, Fragment, useCallback, useEffect, useImperativeHandle, useMemo, useReducer, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { fromEvent } from \"file-selector\";\nimport { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from \"./utils/index\";\n/**\n * Convenience wrapper component for the `useDropzone` hook\n *\n * ```jsx\n * \n * {({getRootProps, getInputProps}) => (\n *
\n * \n *

Drag 'n' drop some files here, or click to select files

\n *
\n * )}\n *
\n * ```\n */\n\nvar Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n params = _objectWithoutProperties(_ref, _excluded);\n\n var _useDropzone = useDropzone(params),\n open = _useDropzone.open,\n props = _objectWithoutProperties(_useDropzone, _excluded2);\n\n useImperativeHandle(ref, function () {\n return {\n open: open\n };\n }, [open]); // TODO: Figure out why react-styleguidist cannot create docs if we don't return a jsx element\n\n return /*#__PURE__*/React.createElement(Fragment, null, children(_objectSpread(_objectSpread({}, props), {}, {\n open: open\n })));\n});\nDropzone.displayName = \"Dropzone\"; // Add default props for react-docgen\n\nvar defaultProps = {\n disabled: false,\n getFilesFromEvent: fromEvent,\n maxSize: Infinity,\n minSize: 0,\n multiple: true,\n maxFiles: 0,\n preventDropOnDocument: true,\n noClick: false,\n noKeyboard: false,\n noDrag: false,\n noDragEventsBubbling: false,\n validator: null,\n useFsAccessApi: true,\n autoFocus: false\n};\nDropzone.defaultProps = defaultProps;\nDropzone.propTypes = {\n /**\n * Render function that exposes the dropzone state and prop getter fns\n *\n * @param {object} params\n * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render\n * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render\n * @param {Function} params.open Open the native file selection dialog\n * @param {boolean} params.isFocused Dropzone area is in focus\n * @param {boolean} params.isFileDialogActive File dialog is opened\n * @param {boolean} params.isDragActive Active drag is in progress\n * @param {boolean} params.isDragAccept Dragged files are accepted\n * @param {boolean} params.isDragReject Some dragged files are rejected\n * @param {File[]} params.acceptedFiles Accepted files\n * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected\n */\n children: PropTypes.func,\n\n /**\n * Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n */\n accept: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),\n\n /**\n * Allow drag 'n' drop (or selection from the file dialog) of multiple files\n */\n multiple: PropTypes.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: PropTypes.bool,\n\n /**\n * If true, disables click to open the native file selection dialog\n */\n noClick: PropTypes.bool,\n\n /**\n * If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n */\n noKeyboard: PropTypes.bool,\n\n /**\n * If true, disables drag 'n' drop\n */\n noDrag: PropTypes.bool,\n\n /**\n * If true, stops drag event propagation to parents\n */\n noDragEventsBubbling: PropTypes.bool,\n\n /**\n * Minimum file size (in bytes)\n */\n minSize: PropTypes.number,\n\n /**\n * Maximum file size (in bytes)\n */\n maxSize: PropTypes.number,\n\n /**\n * Maximum accepted number of files\n * The default value is 0 which means there is no limitation to how many files are accepted.\n */\n maxFiles: PropTypes.number,\n\n /**\n * Enable/disable the dropzone\n */\n disabled: PropTypes.bool,\n\n /**\n * Use this to provide a custom file aggregator\n *\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n getFilesFromEvent: PropTypes.func,\n\n /**\n * Cb for when closing the file dialog with no selection\n */\n onFileDialogCancel: PropTypes.func,\n\n /**\n * Cb for when opening the file dialog\n */\n onFileDialogOpen: PropTypes.func,\n\n /**\n * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `` click event.\n */\n useFsAccessApi: PropTypes.bool,\n\n /**\n * Set to true to focus the root element on render\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Cb for when the `dragenter` event occurs.\n *\n * @param {DragEvent} event\n */\n onDragEnter: PropTypes.func,\n\n /**\n * Cb for when the `dragleave` event occurs\n *\n * @param {DragEvent} event\n */\n onDragLeave: PropTypes.func,\n\n /**\n * Cb for when the `dragover` event occurs\n *\n * @param {DragEvent} event\n */\n onDragOver: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n *\n * @param {File[]} acceptedFiles\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n onDrop: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are accepted, this callback is not invoked.\n *\n * @param {File[]} files\n * @param {(DragEvent|Event)} event\n */\n onDropAccepted: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are rejected, this callback is not invoked.\n *\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event\n */\n onDropRejected: PropTypes.func,\n\n /**\n * Cb for when there's some error from any of the promises.\n *\n * @param {Error} error\n */\n onError: PropTypes.func,\n\n /**\n * Custom validation function. It must return null if there's no errors.\n * @param {File} file\n * @returns {FileError|FileError[]|null}\n */\n validator: PropTypes.func\n};\nexport default Dropzone;\n/**\n * A function that is invoked for the `dragenter`,\n * `dragover` and `dragleave` events.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dragCb\n * @param {DragEvent} event\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dropCb\n * @param {File[]} acceptedFiles List of accepted files\n * @param {FileRejection[]} fileRejections List of rejected files and why they were rejected\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are files (such as link, text, etc.).\n *\n * @callback dropAcceptedCb\n * @param {File[]} files List of accepted files that meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n *\n * @callback dropRejectedCb\n * @param {File[]} files List of rejected files that do not meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is used aggregate files,\n * in a asynchronous fashion, from drag or input change events.\n *\n * @callback getFilesFromEvent\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n * @returns {(File[]|Promise)}\n */\n\n/**\n * An object with the current dropzone state.\n *\n * @typedef {object} DropzoneState\n * @property {boolean} isFocused Dropzone area is in focus\n * @property {boolean} isFileDialogActive File dialog is opened\n * @property {boolean} isDragActive Active drag is in progress\n * @property {boolean} isDragAccept Dragged files are accepted\n * @property {boolean} isDragReject Some dragged files are rejected\n * @property {File[]} acceptedFiles Accepted files\n * @property {FileRejection[]} fileRejections Rejected files and why they were rejected\n */\n\n/**\n * An object with the dropzone methods.\n *\n * @typedef {object} DropzoneMethods\n * @property {Function} getRootProps Returns the props you should apply to the root drop container you render\n * @property {Function} getInputProps Returns the props you should apply to hidden file input you render\n * @property {Function} open Open the native file selection dialog\n */\n\nvar initialState = {\n isFocused: false,\n isFileDialogActive: false,\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false,\n acceptedFiles: [],\n fileRejections: []\n};\n/**\n * A React hook that creates a drag 'n' drop area.\n *\n * ```jsx\n * function MyDropzone(props) {\n * const {getRootProps, getInputProps} = useDropzone({\n * onDrop: acceptedFiles => {\n * // do something with the File objects, e.g. upload to some server\n * }\n * });\n * return (\n *
\n * \n *

Drag and drop some files here, or click to select files

\n *
\n * )\n * }\n * ```\n *\n * @function useDropzone\n *\n * @param {object} props\n * @param {import(\"./utils\").AcceptProp} [props.accept] Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n * @param {boolean} [props.multiple=true] Allow drag 'n' drop (or selection from the file dialog) of multiple files\n * @param {boolean} [props.preventDropOnDocument=true] If false, allow dropped items to take over the current browser window\n * @param {boolean} [props.noClick=false] If true, disables click to open the native file selection dialog\n * @param {boolean} [props.noKeyboard=false] If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n * @param {boolean} [props.noDrag=false] If true, disables drag 'n' drop\n * @param {boolean} [props.noDragEventsBubbling=false] If true, stops drag event propagation to parents\n * @param {number} [props.minSize=0] Minimum file size (in bytes)\n * @param {number} [props.maxSize=Infinity] Maximum file size (in bytes)\n * @param {boolean} [props.disabled=false] Enable/disable the dropzone\n * @param {getFilesFromEvent} [props.getFilesFromEvent] Use this to provide a custom file aggregator\n * @param {Function} [props.onFileDialogCancel] Cb for when closing the file dialog with no selection\n * @param {boolean} [props.useFsAccessApi] Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `` click event.\n * @param {boolean} autoFocus Set to true to auto focus the root element.\n * @param {Function} [props.onFileDialogOpen] Cb for when opening the file dialog\n * @param {dragCb} [props.onDragEnter] Cb for when the `dragenter` event occurs.\n * @param {dragCb} [props.onDragLeave] Cb for when the `dragleave` event occurs\n * @param {dragCb} [props.onDragOver] Cb for when the `dragover` event occurs\n * @param {dropCb} [props.onDrop] Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be an object with keys as a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) and the value an array of file extensions (optional).\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n * @param {dropAcceptedCb} [props.onDropAccepted]\n * @param {dropRejectedCb} [props.onDropRejected]\n * @param {(error: Error) => void} [props.onError]\n *\n * @returns {DropzoneState & DropzoneMethods}\n */\n\nexport function useDropzone() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),\n accept = _defaultProps$props.accept,\n disabled = _defaultProps$props.disabled,\n getFilesFromEvent = _defaultProps$props.getFilesFromEvent,\n maxSize = _defaultProps$props.maxSize,\n minSize = _defaultProps$props.minSize,\n multiple = _defaultProps$props.multiple,\n maxFiles = _defaultProps$props.maxFiles,\n onDragEnter = _defaultProps$props.onDragEnter,\n onDragLeave = _defaultProps$props.onDragLeave,\n onDragOver = _defaultProps$props.onDragOver,\n onDrop = _defaultProps$props.onDrop,\n onDropAccepted = _defaultProps$props.onDropAccepted,\n onDropRejected = _defaultProps$props.onDropRejected,\n onFileDialogCancel = _defaultProps$props.onFileDialogCancel,\n onFileDialogOpen = _defaultProps$props.onFileDialogOpen,\n useFsAccessApi = _defaultProps$props.useFsAccessApi,\n autoFocus = _defaultProps$props.autoFocus,\n preventDropOnDocument = _defaultProps$props.preventDropOnDocument,\n noClick = _defaultProps$props.noClick,\n noKeyboard = _defaultProps$props.noKeyboard,\n noDrag = _defaultProps$props.noDrag,\n noDragEventsBubbling = _defaultProps$props.noDragEventsBubbling,\n onError = _defaultProps$props.onError,\n validator = _defaultProps$props.validator;\n\n var acceptAttr = useMemo(function () {\n return acceptPropAsAcceptAttr(accept);\n }, [accept]);\n var pickerTypes = useMemo(function () {\n return pickerOptionsFromAccept(accept);\n }, [accept]);\n var onFileDialogOpenCb = useMemo(function () {\n return typeof onFileDialogOpen === \"function\" ? onFileDialogOpen : noop;\n }, [onFileDialogOpen]);\n var onFileDialogCancelCb = useMemo(function () {\n return typeof onFileDialogCancel === \"function\" ? onFileDialogCancel : noop;\n }, [onFileDialogCancel]);\n /**\n * @constant\n * @type {React.MutableRefObject}\n */\n\n var rootRef = useRef(null);\n var inputRef = useRef(null);\n\n var _useReducer = useReducer(reducer, initialState),\n _useReducer2 = _slicedToArray(_useReducer, 2),\n state = _useReducer2[0],\n dispatch = _useReducer2[1];\n\n var isFocused = state.isFocused,\n isFileDialogActive = state.isFileDialogActive;\n var fsAccessApiWorksRef = useRef(typeof window !== \"undefined\" && window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI()); // Update file dialog active state when the window is focused on\n\n var onWindowFocus = function onWindowFocus() {\n // Execute the timeout only if the file dialog is opened in the browser\n if (!fsAccessApiWorksRef.current && isFileDialogActive) {\n setTimeout(function () {\n if (inputRef.current) {\n var files = inputRef.current.files;\n\n if (!files.length) {\n dispatch({\n type: \"closeDialog\"\n });\n onFileDialogCancelCb();\n }\n }\n }, 300);\n }\n };\n\n useEffect(function () {\n window.addEventListener(\"focus\", onWindowFocus, false);\n return function () {\n window.removeEventListener(\"focus\", onWindowFocus, false);\n };\n }, [inputRef, isFileDialogActive, onFileDialogCancelCb, fsAccessApiWorksRef]);\n var dragTargetsRef = useRef([]);\n\n var onDocumentDrop = function onDocumentDrop(event) {\n if (rootRef.current && rootRef.current.contains(event.target)) {\n // If we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n\n event.preventDefault();\n dragTargetsRef.current = [];\n };\n\n useEffect(function () {\n if (preventDropOnDocument) {\n document.addEventListener(\"dragover\", onDocumentDragOver, false);\n document.addEventListener(\"drop\", onDocumentDrop, false);\n }\n\n return function () {\n if (preventDropOnDocument) {\n document.removeEventListener(\"dragover\", onDocumentDragOver);\n document.removeEventListener(\"drop\", onDocumentDrop);\n }\n };\n }, [rootRef, preventDropOnDocument]); // Auto focus the root when autoFocus is true\n\n useEffect(function () {\n if (!disabled && autoFocus && rootRef.current) {\n rootRef.current.focus();\n }\n\n return function () {};\n }, [rootRef, autoFocus, disabled]);\n var onErrCb = useCallback(function (e) {\n if (onError) {\n onError(e);\n } else {\n // Let the user know something's gone wrong if they haven't provided the onError cb.\n console.error(e);\n }\n }, [onError]);\n var onDragEnterCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]);\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n var fileCount = files.length;\n var isDragAccept = fileCount > 0 && allFilesAccepted({\n files: files,\n accept: acceptAttr,\n minSize: minSize,\n maxSize: maxSize,\n multiple: multiple,\n maxFiles: maxFiles,\n validator: validator\n });\n var isDragReject = fileCount > 0 && !isDragAccept;\n dispatch({\n isDragAccept: isDragAccept,\n isDragReject: isDragReject,\n isDragActive: true,\n type: \"setDraggedFiles\"\n });\n\n if (onDragEnter) {\n onDragEnter(event);\n }\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n }, [getFilesFromEvent, onDragEnter, onErrCb, noDragEventsBubbling, acceptAttr, minSize, maxSize, multiple, maxFiles, validator]);\n var onDragOverCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event);\n var hasFiles = isEvtWithFiles(event);\n\n if (hasFiles && event.dataTransfer) {\n try {\n event.dataTransfer.dropEffect = \"copy\";\n } catch (_unused) {}\n /* eslint-disable-line no-empty */\n\n }\n\n if (hasFiles && onDragOver) {\n onDragOver(event);\n }\n\n return false;\n }, [onDragOver, noDragEventsBubbling]);\n var onDragLeaveCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event); // Only deactivate once the dropzone and all children have been left\n\n var targets = dragTargetsRef.current.filter(function (target) {\n return rootRef.current && rootRef.current.contains(target);\n }); // Make sure to remove a target present multiple times only once\n // (Firefox may fire dragenter/dragleave multiple times on the same element)\n\n var targetIdx = targets.indexOf(event.target);\n\n if (targetIdx !== -1) {\n targets.splice(targetIdx, 1);\n }\n\n dragTargetsRef.current = targets;\n\n if (targets.length > 0) {\n return;\n }\n\n dispatch({\n type: \"setDraggedFiles\",\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false\n });\n\n if (isEvtWithFiles(event) && onDragLeave) {\n onDragLeave(event);\n }\n }, [rootRef, onDragLeave, noDragEventsBubbling]);\n var setFiles = useCallback(function (files, event) {\n var acceptedFiles = [];\n var fileRejections = [];\n files.forEach(function (file) {\n var _fileAccepted = fileAccepted(file, acceptAttr),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 2),\n accepted = _fileAccepted2[0],\n acceptError = _fileAccepted2[1];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2),\n sizeMatch = _fileMatchSize2[0],\n sizeError = _fileMatchSize2[1];\n\n var customErrors = validator ? validator(file) : null;\n\n if (accepted && sizeMatch && !customErrors) {\n acceptedFiles.push(file);\n } else {\n var errors = [acceptError, sizeError];\n\n if (customErrors) {\n errors = errors.concat(customErrors);\n }\n\n fileRejections.push({\n file: file,\n errors: errors.filter(function (e) {\n return e;\n })\n });\n }\n });\n\n if (!multiple && acceptedFiles.length > 1 || multiple && maxFiles >= 1 && acceptedFiles.length > maxFiles) {\n // Reject everything and empty accepted files\n acceptedFiles.forEach(function (file) {\n fileRejections.push({\n file: file,\n errors: [TOO_MANY_FILES_REJECTION]\n });\n });\n acceptedFiles.splice(0);\n }\n\n dispatch({\n acceptedFiles: acceptedFiles,\n fileRejections: fileRejections,\n type: \"setFiles\"\n });\n\n if (onDrop) {\n onDrop(acceptedFiles, fileRejections, event);\n }\n\n if (fileRejections.length > 0 && onDropRejected) {\n onDropRejected(fileRejections, event);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted(acceptedFiles, event);\n }\n }, [dispatch, multiple, acceptAttr, minSize, maxSize, maxFiles, onDrop, onDropAccepted, onDropRejected, validator]);\n var onDropCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [];\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n setFiles(files, event);\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n\n dispatch({\n type: \"reset\"\n });\n }, [getFilesFromEvent, setFiles, onErrCb, noDragEventsBubbling]); // Fn for opening the file dialog programmatically\n\n var openFileDialog = useCallback(function () {\n // No point to use FS access APIs if context is not secure\n // https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#feature_detection\n if (fsAccessApiWorksRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb(); // https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n\n var opts = {\n multiple: multiple,\n types: pickerTypes\n };\n window.showOpenFilePicker(opts).then(function (handles) {\n return getFilesFromEvent(handles);\n }).then(function (files) {\n setFiles(files, null);\n dispatch({\n type: \"closeDialog\"\n });\n }).catch(function (e) {\n // AbortError means the user canceled\n if (isAbort(e)) {\n onFileDialogCancelCb(e);\n dispatch({\n type: \"closeDialog\"\n });\n } else if (isSecurityError(e)) {\n fsAccessApiWorksRef.current = false; // CORS, so cannot use this API\n // Try using the input\n\n if (inputRef.current) {\n inputRef.current.value = null;\n inputRef.current.click();\n } else {\n onErrCb(new Error(\"Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided.\"));\n }\n } else {\n onErrCb(e);\n }\n });\n return;\n }\n\n if (inputRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb();\n inputRef.current.value = null;\n inputRef.current.click();\n }\n }, [dispatch, onFileDialogOpenCb, onFileDialogCancelCb, useFsAccessApi, setFiles, onErrCb, pickerTypes, multiple]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone\n\n var onKeyDownCb = useCallback(function (event) {\n // Ignore keyboard events bubbling up the DOM tree\n if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {\n return;\n }\n\n if (event.key === \" \" || event.key === \"Enter\" || event.keyCode === 32 || event.keyCode === 13) {\n event.preventDefault();\n openFileDialog();\n }\n }, [rootRef, openFileDialog]); // Update focus state for the dropzone\n\n var onFocusCb = useCallback(function () {\n dispatch({\n type: \"focus\"\n });\n }, []);\n var onBlurCb = useCallback(function () {\n dispatch({\n type: \"blur\"\n });\n }, []); // Cb to open the file dialog when click occurs on the dropzone\n\n var onClickCb = useCallback(function () {\n if (noClick) {\n return;\n } // In IE11/Edge the file-browser dialog is blocking, therefore, use setTimeout()\n // to ensure React can handle state changes\n // See: https://github.com/react-dropzone/react-dropzone/issues/450\n\n\n if (isIeOrEdge()) {\n setTimeout(openFileDialog, 0);\n } else {\n openFileDialog();\n }\n }, [noClick, openFileDialog]);\n\n var composeHandler = function composeHandler(fn) {\n return disabled ? null : fn;\n };\n\n var composeKeyboardHandler = function composeKeyboardHandler(fn) {\n return noKeyboard ? null : composeHandler(fn);\n };\n\n var composeDragHandler = function composeDragHandler(fn) {\n return noDrag ? null : composeHandler(fn);\n };\n\n var stopPropagation = function stopPropagation(event) {\n if (noDragEventsBubbling) {\n event.stopPropagation();\n }\n };\n\n var getRootProps = useMemo(function () {\n return function () {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref2$refKey = _ref2.refKey,\n refKey = _ref2$refKey === void 0 ? \"ref\" : _ref2$refKey,\n role = _ref2.role,\n onKeyDown = _ref2.onKeyDown,\n onFocus = _ref2.onFocus,\n onBlur = _ref2.onBlur,\n onClick = _ref2.onClick,\n onDragEnter = _ref2.onDragEnter,\n onDragOver = _ref2.onDragOver,\n onDragLeave = _ref2.onDragLeave,\n onDrop = _ref2.onDrop,\n rest = _objectWithoutProperties(_ref2, _excluded3);\n\n return _objectSpread(_objectSpread(_defineProperty({\n onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),\n onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),\n onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onClickCb)),\n onDragEnter: composeDragHandler(composeEventHandlers(onDragEnter, onDragEnterCb)),\n onDragOver: composeDragHandler(composeEventHandlers(onDragOver, onDragOverCb)),\n onDragLeave: composeDragHandler(composeEventHandlers(onDragLeave, onDragLeaveCb)),\n onDrop: composeDragHandler(composeEventHandlers(onDrop, onDropCb)),\n role: typeof role === \"string\" && role !== \"\" ? role : \"presentation\"\n }, refKey, rootRef), !disabled && !noKeyboard ? {\n tabIndex: 0\n } : {}), rest);\n };\n }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onClickCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, noKeyboard, noDrag, disabled]);\n var onInputElementClick = useCallback(function (event) {\n event.stopPropagation();\n }, []);\n var getInputProps = useMemo(function () {\n return function () {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref3$refKey = _ref3.refKey,\n refKey = _ref3$refKey === void 0 ? \"ref\" : _ref3$refKey,\n onChange = _ref3.onChange,\n onClick = _ref3.onClick,\n rest = _objectWithoutProperties(_ref3, _excluded4);\n\n var inputProps = _defineProperty({\n accept: acceptAttr,\n multiple: multiple,\n type: \"file\",\n style: {\n display: \"none\"\n },\n onChange: composeHandler(composeEventHandlers(onChange, onDropCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)),\n tabIndex: -1\n }, refKey, inputRef);\n\n return _objectSpread(_objectSpread({}, inputProps), rest);\n };\n }, [inputRef, accept, multiple, onDropCb, disabled]);\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: isFocused && !disabled,\n getRootProps: getRootProps,\n getInputProps: getInputProps,\n rootRef: rootRef,\n inputRef: inputRef,\n open: composeHandler(openFileDialog)\n });\n}\n/**\n * @param {DropzoneState} state\n * @param {{type: string} & DropzoneState} action\n * @returns {DropzoneState}\n */\n\nfunction reducer(state, action) {\n /* istanbul ignore next */\n switch (action.type) {\n case \"focus\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: true\n });\n\n case \"blur\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: false\n });\n\n case \"openDialog\":\n return _objectSpread(_objectSpread({}, initialState), {}, {\n isFileDialogActive: true\n });\n\n case \"closeDialog\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFileDialogActive: false\n });\n\n case \"setDraggedFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isDragActive: action.isDragActive,\n isDragAccept: action.isDragAccept,\n isDragReject: action.isDragReject\n });\n\n case \"setFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n acceptedFiles: action.acceptedFiles,\n fileRejections: action.fileRejections\n });\n\n case \"reset\":\n return _objectSpread({}, initialState);\n\n default:\n return state;\n }\n}\n\nfunction noop() {}\n\nexport { ErrorCode } from \"./utils\";","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","Object","defineProperty","value","enumerable","get","_utils","createSvgIcon","getBadgeUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","BadgeRoot","styled","name","overridesResolver","props","styles","root","position","display","verticalAlign","flexShrink","BadgeBadge","ownerState","badge","variant","concat","capitalize","anchorOrigin","vertical","horizontal","overlap","color","invisible","_ref3","theme","_extends","flexDirection","flexWrap","justifyContent","alignContent","alignItems","boxSizing","fontFamily","typography","fontWeight","fontWeightMedium","fontSize","pxToRem","minWidth","RADIUS_STANDARD","lineHeight","padding","height","borderRadius","zIndex","transition","transitions","create","easing","easeInOut","duration","enteringScreen","backgroundColor","vars","palette","main","contrastText","RADIUS_DOT","_defineProperty","top","right","transform","transformOrigin","badgeClasses","bottom","left","leavingScreen","React","inProps","ref","_ref","_slots$root","_ref2","_slots$badge","_slotProps$root","_slotProps$badge","useThemeProps","_props$anchorOrigin","anchorOriginProp","className","component","_props$components","components","_props$componentsProp","componentsProps","children","_props$overlap","overlapProp","_props$color","colorProp","_props$invisible","invisibleProp","_props$max","max","maxProp","badgeContentProp","badgeContent","slots","slotProps","_props$showZero","showZero","_props$variant","variantProp","other","_objectWithoutPropertiesLoose","_useBadge","parameters","_parameters$invisible","_parameters$max","_parameters$showZero","prevProps","usePreviousProps","_ref$max","displayValue","Number","useBadge","invisibleFromHook","displayValueFromHook","_ref12","_ref12$color","_ref12$overlap","_ref12$anchorOrigin","_ref12$variant","undefined","classes","_ownerState$classes","composeClasses","useUtilityClasses","RootSlot","Root","BadgeSlot","Badge","rootSlotProps","badgeSlotProps","rootProps","useSlotProps","elementType","externalSlotProps","externalForwardedProps","additionalProps","as","clsx","badgeProps","_jsxs","_jsx","getCheckboxUtilityClass","CheckboxRoot","SwitchBase","shouldForwardProp","prop","rootShouldForwardProp","indeterminate","text","secondary","disableRipple","action","activeChannel","primary","mainChannel","hoverOpacity","alpha","active","checkboxClasses","checked","disabled","defaultCheckedIcon","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","_icon$props$fontSize","_indeterminateIcon$pr","_props$checkedIcon","checkedIcon","_props$icon","icon","iconProp","_props$indeterminate","_props$indeterminateI","indeterminateIcon","indeterminateIconProp","inputProps","_props$size","size","composedClasses","type","ListItemIconRoot","alignItemsFlexStart","marginTop","ListItemIcon","context","ListContext","getListItemIconUtilityClass","ListItemTextRoot","listItemTextClasses","inset","multiline","dense","flex","marginBottom","paddingLeft","ListItemText","_props$disableTypogra","disableTypography","_props$inset","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","getListItemTextUtilityClass","Typography","createChainedFunction","validator","reason","componentNameInError","Component","propName","componentName","location","propFullName","unstable_ClassNameGenerator","configure","generator","ClassNameGenerator","file","acceptedFiles","acceptedFilesArray","Array","isArray","split","fileName","mimeType","toLowerCase","baseMimeType","replace","some","validType","trim","charAt","endsWith","deselectCurrent","clipboardToIE11Formatting","module","options","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","ariaHidden","style","all","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","e","stopPropagation","format","preventDefault","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","test","navigator","userAgent","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","constructor","prototype","CopyToClipboard","_react","_copyToClipboard","__esModule","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","sourceSymbolKeys","propertyIsEnumerable","call","_defineProperties","descriptor","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","this","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","_key","event","_this$props","elem","Children","only","onClick","_this$props2","cloneElement","PureComponent","__awaiter","thisArg","_arguments","P","Promise","resolve","reject","fulfilled","step","next","rejected","done","then","__generator","f","y","t","g","_","label","sent","trys","ops","verb","n","v","op","pop","__read","m","r","ar","__spreadArray","to","from","pack","l","slice","SuppressedError","COMMON_MIME_TYPES","Map","toFileWithPath","path","lastIndexOf","ext","withMimeType","webkitRelativePath","FILES_TO_IGNORE","isObject","getInputFiles","evt","fromList","files","map","getFsHandleFiles","handles","h","getFile","_a","getDataTransferFiles","dt","items","item","kind","toFilePromises","noIgnoredFiles","flatten","webkitGetAsEntry","fromDataTransferItem","entry","isDirectory","fromDirEntry","reduce","acc","getAsFile","fwp","fromEntry","fromFileEntry","reader","createReader","entries","readEntries","batch","err_1","fullPath","_toConsumableArray","arr","_arrayLikeToArray","_arrayWithoutHoles","iter","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","_slicedToArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","_iterableToArrayLimit","_nonIterableRest","minLen","toString","len","arr2","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","getInvalidTypeRejectionErr","accept","messageSuffix","join","code","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","TOO_MANY_FILES_REJECTION","fileAccepted","isAcceptable","accepts","fileMatchSize","isDefined","isPropagationStopped","cancelBubble","isEvtWithFiles","dataTransfer","types","onDocumentDragOver","composeEventHandlers","fns","_len2","_key2","fn","isMIMEType","isExt","_excluded2","_excluded3","_excluded4","Dropzone","forwardRef","_useDropzone","useDropzone","open","useImperativeHandle","Fragment","displayName","defaultProps","getFilesFromEvent","isChangeEvt","every","Infinity","multiple","maxFiles","preventDropOnDocument","noClick","noKeyboard","noDrag","noDragEventsBubbling","useFsAccessApi","autoFocus","propTypes","PropTypes","onFileDialogCancel","onFileDialogOpen","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onError","initialState","isFocused","isFileDialogActive","isDragActive","isDragAccept","isDragReject","fileRejections","_defaultProps$props","acceptAttr","useMemo","a","_ref6","_ref7","acceptPropAsAcceptAttr","pickerTypes","description","ok","agg","_ref4","_ref5","pickerOptionsFromAccept","onFileDialogOpenCb","noop","onFileDialogCancelCb","rootRef","useRef","inputRef","_useReducer2","useReducer","reducer","state","dispatch","fsAccessApiWorksRef","isSecureContext","onWindowFocus","current","setTimeout","useEffect","removeEventListener","dragTargetsRef","onDocumentDrop","contains","focus","onErrCb","useCallback","onDragEnterCb","persist","fileCount","accepted","sizeMatch","customErrors","allFilesAccepted","catch","onDragOverCb","hasFiles","dropEffect","_unused","onDragLeaveCb","targets","targetIdx","splice","setFiles","_fileAccepted2","acceptError","_fileMatchSize2","sizeError","errors","onDropCb","openFileDialog","opts","showOpenFilePicker","DOMException","ABORT_ERR","SECURITY_ERR","isSecurityError","click","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","onClickCb","isIe","isEdge","isIeOrEdge","composeHandler","composeKeyboardHandler","composeDragHandler","getRootProps","_ref2$refKey","refKey","role","onKeyDown","onFocus","onBlur","rest","tabIndex","onInputElementClick","getInputProps","_ref3$refKey","onChange","rangeCount","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1764.ba7b49eb.chunk.js b/portal-ui/build/static/js/1764.ba7b49eb.chunk.js deleted file mode 100644 index d4f132587d..0000000000 --- a/portal-ui/build/static/js/1764.ba7b49eb.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1764],{90767:function(e,n,t){"use strict";var r=t(29439),i=t(72791),o=t(31776),s=t(82342),a=t(23508),l=t(29945),c=t(87995),u=t(44690),d=t(80184);n.Z=function(e){var n=e.configurationName,t=e.closeResetModalAndRefresh,f=e.resetOpen,p=(0,u.TL)(),x=(0,i.useState)(!1),h=(0,r.Z)(x,2),m=h[0],g=h[1];(0,i.useEffect)((function(){m&&o.h.configs.resetConfig(n).then((function(){g(!1),t(!0)})).catch((function(e){g(!1),p((0,c.Ih)((0,s.g)(e.error)))}))}),[t,n,m,p]);return(0,d.jsx)(a.Z,{title:"Restore Defaults",confirmText:"Yes, Reset Configuration",isOpen:f,titleIcon:(0,d.jsx)(l.NvT,{}),isLoading:m,onConfirm:function(){g(!0)},onClose:function(){t(!1)},confirmationContent:(0,d.jsxs)(i.Fragment,{children:[m&&(0,d.jsx)(l.kod,{}),(0,d.jsxs)(i.Fragment,{children:["Are you sure you want to restore these configurations to default values?",(0,d.jsx)("br",{}),(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:"Please note that this may cause your system to not be accessible"})]})]})})}},37099:function(e,n,t){"use strict";var r=t(72791),i=t(29945),o=t(80184),s=function(e){var n=e.icon,t=e.description;return(0,o.jsxs)(i.xuv,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[n," ",(0,o.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:t})]})};n.Z=function(e){var n=e.helpText,t=e.docLink,a=e.docText,l=e.contents;return(0,o.jsxs)(i.xuv,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px"},children:[(0,o.jsxs)(i.xuv,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px",paddingBottom:"20px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,o.jsx)(i.M9A,{}),(0,o.jsx)("div",{children:n})]}),(0,o.jsxs)(i.xuv,{sx:{fontSize:"14px",marginBottom:"15px"},children:[l.map((function(e,n){return(0,o.jsxs)(r.Fragment,{children:[e.icon&&(0,o.jsx)(i.xuv,{sx:{paddingBottom:"20px"},children:(0,o.jsx)(s,{icon:e.icon,description:e.iconDescription})}),(0,o.jsx)(i.xuv,{sx:{paddingBottom:"20px"},children:e.text})]},"feature-item-".concat(n))})),(0,o.jsx)(i.xuv,{sx:{paddingBottom:"20px"},children:(0,o.jsx)("a",{href:t,target:"_blank",rel:"noopener",children:a})})]})]})}},1764:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return E}});var r=t(4942),i=t(74165),o=t(15861),s=t(1413),a=t(29439),l=t(72791),c=t(29945),u=t(31776),d=t(82342),f=t(44690),p=t(87995),x=t(79979),h=t(61889),m=t(72455),g=t(80184),v=(0,m.Z)((function(e){return{headerBarIcon:{marginRight:".7rem",color:e.palette.primary.main,"& .min-icon":{width:44,height:44},"@media (max-width: 600px)":{display:"none"}},headerBarSubheader:{color:"grey","@media (max-width: 900px)":{maxWidth:200}},stContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:8,borderBottom:"1px solid #EAEAEA","@media (max-width: 600px)":{flexFlow:"column"}},titleColumn:{height:"auto",justifyContent:"center",display:"flex",flexFlow:"column",alignItems:"flex-start","& h1":{fontSize:19}},leftItems:{display:"flex",alignItems:"center","@media (max-width: 600px)":{flexFlow:"column",width:"100%"}},rightItems:{display:"flex",alignItems:"center","& button":{marginLeft:8},"@media (max-width: 600px)":{width:"100%"}}}})),y=function(e){var n=e.icon,t=e.title,r=e.subTitle,i=e.actions,o=e.className,s=v();return(0,g.jsx)(h.ZP,{container:!0,children:(0,g.jsxs)(h.ZP,{item:!0,xs:12,className:"".concat(s.stContainer," ").concat(o||""),children:[(0,g.jsxs)("div",{className:s.leftItems,children:[n?(0,g.jsx)("div",{className:s.headerBarIcon,children:n}):null,(0,g.jsxs)("div",{className:s.titleColumn,children:[(0,g.jsx)("h1",{style:{margin:0},children:t}),(0,g.jsx)("span",{className:s.headerBarSubheader,children:r})]})]}),(0,g.jsx)("div",{className:s.rightItems,children:i})]})})},j=t(47974),b=t(37099),Z=t(93433),C=t(78687),k=t(99779),w=function(e){var n=e.name;return(0,g.jsxs)("h4",{children:[(0,g.jsx)(c.ZyT,{style:{transform:"rotateZ(90deg)"}}),n]})},D=function(e){var n=e.blockName,t=e.results;return(0,g.jsxs)(l.Fragment,{children:[(0,g.jsxs)("strong",{children:[n,":"]}),(0,g.jsx)("ul",{children:t.map((function(e,t){return(0,g.jsx)("li",{children:e},"policy-".concat(n,"-").concat(t))}))})]})},_=function(e){var n,t,r,i,o,s,a=e.entityName,u=e.results,d=0;switch(a){case"Group":d=(null===(n=u.groups)||void 0===n?void 0:n.length)||0;break;case"Policy":d=(null===(t=u.policies)||void 0===t?void 0:t.length)||0;break;case"User":d=(null===(r=u.users)||void 0===r?void 0:r.length)||0}return(0,g.jsxs)(c.xuv,{className:"resultElement",sx:{marginTop:50,"&:first-of-type":{marginTop:0}},children:[(0,g.jsxs)(c.NZf,{separator:!0,sx:{fontSize:12},icon:(0,g.jsx)(c.anK,{style:{width:17,height:17}}),actions:(0,g.jsxs)(c.xuv,{sx:{fontSize:14},children:[(0,g.jsx)("strong",{children:d})," Entit",1===d?"y":"ies"," Found"]}),children:[a," Mappings"]}),(0,g.jsxs)(c.xuv,{className:"resultsList",sx:{h4:{borderBottom:"#e2e2e2 1px solid",padding:"12px 0",margin:0,marginBottom:15,display:"flex",alignItems:"center","& svg":{marginRight:10,fill:"#3C77A7"}}},children:["Group"===a&&(null===(i=u.groups)||void 0===i?void 0:i.map((function(e,n){return(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(w,{name:e.group||""}),e.policies&&(0,g.jsx)(D,{blockName:"Policies",results:e.policies})]},"policy-res-".concat(n))}))),"User"===a&&(null===(o=u.users)||void 0===o?void 0:o.map((function(e,n){return(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(w,{name:e.user||""}),e.policies&&(0,g.jsx)(D,{blockName:"Policies",results:e.policies})]},"users-res-".concat(n))}))),"Policy"===a&&(null===(s=u.policies)||void 0===s?void 0:s.map((function(e,n){return(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(w,{name:e.policy||""}),e.groups&&(0,g.jsx)(D,{blockName:"Groups",results:e.groups}),e.users&&(0,g.jsx)(D,{blockName:"Users",results:e.users})]},"policy-map-".concat(n))})))]})]})},I=t(58400),S=function(){var e=(0,f.TL)(),n=(0,l.useState)(!1),t=(0,a.Z)(n,2),r=t[0],i=t[1],o=(0,l.useState)([""]),s=(0,a.Z)(o,2),x=s[0],h=s[1],m=(0,l.useState)([""]),v=(0,a.Z)(m,2),y=v[0],j=v[1],b=(0,l.useState)(null),w=(0,a.Z)(b,2),D=w[0],S=w[1],P=(0,C.v9)((function(e){return e.createUser.selectedPolicies}));return(0,g.jsxs)(c.xuv,{sx:{marginTop:15,paddingTop:0},children:[(0,g.jsxs)(c.rjZ,{container:!0,sx:{marginTop:5},children:[(0,g.jsxs)(c.rjZ,{item:!0,sm:12,md:6,lg:5,sx:{padding:10,paddingTop:0},children:[(0,g.jsx)(c.NZf,{children:"Query Filters"}),(0,g.jsxs)(c.xuv,{sx:{padding:"0 10px",display:"flex",flexDirection:"column",gap:40},children:[(0,g.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,g.jsx)(c.xuv,{sx:{display:"flex"},children:(0,g.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Users"})}),(0,g.jsx)(c.xuv,{sx:{overflowY:"auto",minHeight:50,maxHeight:250,"& > div > div":{width:"100%"}},children:x.map((function(e,n){return(0,g.jsx)(c.Wzg,{id:"search-user-".concat(n),value:e,onChange:function(e){var t=(0,Z.Z)(x);t[n]=e.target.value,h(t)},overlayIcon:x.length===n+1?(0,g.jsx)(c.dtP,{}):(0,g.jsx)(c.HFL,{}),overlayAction:function(){!function(e,n){if(e){var t=[].concat((0,Z.Z)(x),[""]);h(t)}else{var r=x.filter((function(e,t){return t!==n}));h(r)}}(x.length===n+1,n)}},"search-user-".concat(n))}))})]}),(0,g.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,g.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Groups"}),(0,g.jsx)(c.xuv,{sx:{overflowY:"auto",minHeight:50,maxHeight:"calc(100vh - 340px)","& > div > div":{width:"100%"}},children:y.map((function(e,n){return(0,g.jsx)(c.Wzg,{id:"search-group-".concat(n),value:e,onChange:function(e){var t=(0,Z.Z)(y);t[n]=e.target.value,j(t)},overlayIcon:y.length===n+1?(0,g.jsx)(c.dtP,{}):(0,g.jsx)(c.HFL,{}),overlayAction:function(){!function(e,n){if(e){var t=[].concat((0,Z.Z)(y),[""]);j(t)}else{var r=y.filter((function(e,t){return t!==n}));j(r)}}(y.length===n+1,n)}},"search-group-".concat(n))}))})]}),(0,g.jsxs)(c.xuv,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,g.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Policies"}),(0,g.jsx)(c.xuv,{sx:{minHeight:265,maxHeight:"calc(100vh - 740px)"},children:(0,g.jsx)(I.Z,{selectedPolicy:P,noTitle:!0})})]})]})]}),(0,g.jsx)(c.rjZ,{item:!0,sm:12,md:6,lg:7,sx:{padding:10,paddingTop:0,display:"flex",flexDirection:"column"},children:r?(0,g.jsx)(c.xuv,{sx:{textAlign:"center"},children:(0,g.jsx)(c.aNw,{})}):(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(c.NZf,{actions:(0,g.jsx)(c.xuv,{sx:{display:"flex",flexDirection:"row",alignItems:"center",fontSize:14},children:null!==D&&void 0!==D&&D.timestamp?(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(c.wZd,{style:{width:14,height:14,marginRight:5,fill:"#BEBFBF"}}),k.ou.fromISO(D.timestamp).toFormat("D HH:mm:ss")]}):""}),children:"Query Results"}),D?(0,g.jsxs)(c.xuv,{sx:{backgroundColor:"#FBFAFA",padding:"8px 22px",flexGrow:1,overflowY:"auto"},children:[!D.groups&&!D.users&&!D.policies&&(0,g.jsx)(c.xuv,{sx:{textAlign:"center"},children:(0,g.jsx)("h4",{children:"No Results Available"})}),!!D.groups&&(0,g.jsx)(_,{results:D,entityName:"Group"}),!!D.users&&(0,g.jsx)(_,{results:D,entityName:"User"}),!!D.policies&&(0,g.jsx)(_,{results:D,entityName:"Policy"})]}):(0,g.jsx)(c.xuv,{sx:{textAlign:"center"},children:"No query results yet"})]})})]}),(0,g.jsx)(c.rjZ,{container:!0,children:(0,g.jsx)(c.rjZ,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-start",marginTop:45,padding:"0 20px"},children:(0,g.jsx)(c.zxk,{id:"search-entity",type:"button",variant:"callAction",onClick:function(){i(!0);var n={},t=P.filter((function(e){return""!==e})),r=x.filter((function(e){return""!==e})),o=y.filter((function(e){return""!==e}));t.length>0&&(n.policies=t),r.length>0&&(n.users=r),o.length>0&&(n.groups=o),u.h.ldapEntities.getLdapEntities(n).then((function(e){S(e.data),i(!1)})).catch((function(n){e((0,p.Ih)((0,d.g)(n.error))),i(!1)}))},icon:(0,g.jsx)(c.W1M,{}),children:"Search"})})})]})},P=t(90767),N=t(99670),A=["server_addr","lookup_bind_dn","user_dn_search_base_dn","user_dn_search_filter"],E=function(){var e=(0,f.TL)(),n=x.iR,t=(0,l.useState)(!0),h=(0,a.Z)(t,2),m=h[0],v=h[1],Z=(0,l.useState)(!1),C=(0,a.Z)(Z,2),k=C[0],w=C[1],D=(0,l.useState)(!1),_=(0,a.Z)(D,2),I=_[0],E=_[1],O=(0,l.useState)({}),L=(0,a.Z)(O,2),F=L[0],B=L[1],q=(0,l.useState)({}),R=(0,a.Z)(q,2),T=R[0],z=R[1],M=(0,l.useState)(void 0),U=(0,a.Z)(M,2),K=U[0],H=U[1],G=(0,l.useState)(!1),W=(0,a.Z)(G,2),Y=W[0],Q=W[1],V=(0,l.useState)(!1),X=(0,a.Z)(V,2),J=X[0],$=X[1],ee=(0,l.useState)("configuration"),ne=(0,a.Z)(ee,2),te=ne[0],re=ne[1],ie=(0,l.useState)(!1),oe=(0,a.Z)(ie,2),se=oe[0],ae=oe[1],le=function(){Y&&K&&ce(K),Q(!Y)},ce=function(e){var n={},t={};if(e&&e.length>0){var r=e.find((function(e){return"enable"===e.key})),i=0,o=0;e.forEach((function(e){e.env_override?(n[e.key]=e.env_override.value,t[e.key]=e.env_override.name):n[e.key]=e.value,A.includes(e.key)&&(e.value&&""!==e.value&&"off"!==e.value||e.env_override&&""!==e.env_override.value&&"off"!==e.env_override.value)&&i++,A.includes(e.key)&&e.env_override&&o++}));var s=0!==i;s&&(r&&"off"!==r.value||!r)?w(!0):w(!1),0!==o&&ae(!0),E(s)}z(t),B(n)};(0,l.useEffect)((function(){m&&u.h.configs.configInfo("identity_ldap").then((function(e){e.data.length>0&&(H(e.data[0].key_values),ce(e.data[0].key_values||[])),v(!1)})).catch((function(n){v(!1),e((0,p.Ih)((0,d.g)(n.error)))}))}),[e,m]);var ue=function(){var n=(0,o.Z)((0,i.Z)().mark((function n(t){return(0,i.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:$(!1),t&&(e((0,p.cN)(t)),H(void 0),B({}),w(!1),E(!1),Q(!1));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return(0,l.useEffect)((function(){e((0,p.Sc)("LDAP"))}),[]),(0,g.jsxs)(c.rjZ,{item:!0,xs:12,children:[J&&(0,g.jsx)(P.Z,{configurationName:"identity_ldap",closeResetModalAndRefresh:ue,resetOpen:J}),(0,g.jsx)(j.Z,{label:"LDAP",actions:(0,g.jsx)(N.Z,{})}),(0,g.jsx)(c.Xgh,{variant:"constrained",children:(0,g.jsx)(c.mQc,{horizontal:!0,options:[{tabConfig:{id:"configuration",label:"Configuration"},content:(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(y,{title:Y?"Edit Configuration":"",actions:Y?null:(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)(c.ua7,{tooltip:se?"Configuration cannot be edited in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,g.jsx)(c.zxk,{id:"edit",type:"button",variant:"callAction",icon:(0,g.jsx)(c.dY8,{}),onClick:le,label:"Edit Configuration",disabled:m||se})}),I&&(0,g.jsx)(c.ua7,{tooltip:se?"Configuration cannot be disabled / enabled in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,g.jsx)(c.zxk,{id:"is-configuration-enabled",onClick:function(){return function(n){var t={key_values:[{key:"enable",value:n?"on":"off"}]};u.h.configs.setConfig("identity_ldap",t).then((function(n){w(!k),e((0,p.cN)(n.data.restart||!1)),n.data.restart||e((0,p.y1)("Configuration saved successfully"))})).catch((function(n){e((0,p.Ih)((0,d.g)(n.error)))}))}(!k)},label:k?"Disable LDAP":"Enable LDAP",variant:k?"secondary":"regular",disabled:se})}),(0,g.jsx)(c.zxk,{id:"refresh-idp-config",onClick:function(){return v(!0)},label:"Refresh",icon:(0,g.jsx)(c.DuK,{})})]})}),(0,g.jsx)("br",{}),m?(0,g.jsx)(c.xuv,{sx:{display:"flex",justifyContent:"center",marginTop:10},children:(0,g.jsx)(c.aNw,{})}):(0,g.jsx)(l.Fragment,{children:Y?(0,g.jsx)(l.Fragment,{children:(0,g.jsxs)(c.ltY,{helpBox:(0,g.jsx)(b.Z,{helpText:"Learn more about LDAP Configurations",contents:x.Si,docLink:"https://min.io/docs/minio/linux/operations/external-iam.html?ref=con#minio-external-iam-ad-ldap",docText:"Learn more about LDAP Configurations"}),children:[Y&&I?(0,g.jsx)(c.xuv,{sx:{marginBottom:15},children:(0,g.jsx)(c.KfX,{title:(0,g.jsx)(c.xuv,{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexGrow:1},children:"Lookup Bind Password must be re-entered to change LDAP configurations"}),iconComponent:(0,g.jsx)(c.e6P,{}),help:null})}):null,Object.entries(n).map((function(e){var n=(0,a.Z)(e,2);return function(e,n){return"toggle"===n.type?(0,g.jsx)(c.rsf,{indicatorLabels:["Enabled","Disabled"],checked:"on"===F[e],value:"is-field-enabled",id:"is-field-enabled",name:"is-field-enabled",label:n.label,tooltip:n.tooltip,onChange:function(n){return B((0,s.Z)((0,s.Z)({},F),{},(0,r.Z)({},e,n.target.checked?"on":"off")))},description:"",disabled:!Y},e):(0,g.jsx)(c.Wzg,{id:e,required:n.required,name:e,label:n.label,tooltip:n.tooltip,error:n.hasError(F[e],Y),value:F[e]?F[e]:"",onChange:function(n){return B((0,s.Z)((0,s.Z)({},F),{},(0,r.Z)({},e,n.target.value)))},placeholder:n.placeholder,disabled:!Y,type:n.type},e)}(n[0],n[1])})),(0,g.jsxs)(c.xuv,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginTop:"20px",gap:"15px"},children:[Y&&I&&(0,g.jsx)(c.zxk,{id:"clear",type:"button",variant:"secondary",onClick:function(){return $(!0)},label:"Reset Configuration"}),(0,g.jsx)(c.zxk,{id:"cancel",type:"button",variant:"regular",onClick:le,label:"Cancel"}),(0,g.jsx)(c.zxk,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:m||!function(){for(var e=0,t=Object.entries(n);e0?(0,x.jsxs)(o.Fragment,{children:[(0,x.jsx)(s.rjZ,{item:!0,xs:12,className:"inputItem",children:(0,x.jsx)(l.Z,{placeholder:"Start typing to search for a Policy",onChange:function(e){_(e)},value:D,label:t?"":"Assign Policies"})}),(0,x.jsx)(s.wQF,{columns:[{label:"Policy",elementKey:"name"}],onSelect:function(e){var n=e.target,t=n.value,i=n.checked,o=(0,r.Z)(I);i?o.push(t):o=o.filter((function(e){return e!==t})),o=o.filter((function(e){return""!==e})),h((0,d.ue)(o))},selectedItems:I,isLoading:Z,records:P,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,x.jsx)(s.xuv,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},21639:function(e,n,t){"use strict";t.d(n,{KE:function(){return s},LQ:function(){return r},V2:function(){return o},g4:function(){return i}});var r=function(e,n){if(e.accessKey&&n.accessKey){if(e.accessKey>n.accessKey)return 1;if(e.accessKeyn.name?1:e.namen?1:en.policy?1:e.policy.\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\nimport { ConfirmDeleteIcon, ProgressBar } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IResetConfiguration {\n configurationName: string;\n closeResetModalAndRefresh: (reloadConfiguration: boolean) => void;\n resetOpen: boolean;\n}\n\nconst ResetConfigurationModal = ({\n configurationName,\n closeResetModalAndRefresh,\n resetOpen,\n}: IResetConfiguration) => {\n const dispatch = useAppDispatch();\n const [resetLoading, setResetLoading] = useState(false);\n\n useEffect(() => {\n if (resetLoading) {\n api.configs\n .resetConfig(configurationName)\n .then(() => {\n setResetLoading(false);\n closeResetModalAndRefresh(true);\n })\n .catch((err) => {\n setResetLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n }\n }, [closeResetModalAndRefresh, configurationName, resetLoading, dispatch]);\n\n const resetConfiguration = () => {\n setResetLoading(true);\n };\n\n return (\n }\n isLoading={resetLoading}\n onConfirm={resetConfiguration}\n onClose={() => {\n closeResetModalAndRefresh(false);\n }}\n confirmationContent={\n \n {resetLoading && }\n \n Are you sure you want to restore these configurations to default\n values?\n
\n \n Please note that this may cause your system to not be accessible\n \n
\n
\n }\n />\n );\n};\n\nexport default ResetConfigurationModal;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { HelpIconFilled, Box } from \"mds\";\n\ninterface IContent {\n icon: React.ReactNode;\n text: string;\n iconDescription: string;\n}\n\ninterface IAddIDPConfigurationHelpBoxProps {\n helpText: string;\n docLink: string;\n docText: string;\n contents: IContent[];\n}\n\nconst FeatureItem = ({\n icon,\n description,\n}: {\n icon: any;\n description: string;\n}) => {\n return (\n \n {icon}{\" \"}\n
\n {description}\n
\n \n );\n};\n\nconst AddIDPConfigurationHelpBox = ({\n helpText,\n docLink,\n docText,\n contents,\n}: IAddIDPConfigurationHelpBoxProps) => {\n return (\n \n \n \n
{helpText}
\n \n \n {contents.map((content, index) => (\n \n {content.icon && (\n \n \n \n )}\n {content.text}\n \n ))}\n \n \n {docText}\n \n \n \n \n );\n};\n\nexport default AddIDPConfigurationHelpBox;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport Grid from \"@mui/material/Grid\";\nimport { Theme } from \"@mui/material/styles\";\nimport makeStyles from \"@mui/styles/makeStyles\";\n\ninterface IScreenTitle {\n icon?: any;\n title?: any;\n subTitle?: any;\n actions?: any;\n className?: any;\n}\n\nconst useStyles = makeStyles((theme: Theme) => ({\n headerBarIcon: {\n marginRight: \".7rem\",\n color: theme.palette.primary.main,\n \"& .min-icon\": {\n width: 44,\n height: 44,\n },\n \"@media (max-width: 600px)\": {\n display: \"none\",\n },\n },\n headerBarSubheader: {\n color: \"grey\",\n \"@media (max-width: 900px)\": {\n maxWidth: 200,\n },\n },\n stContainer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: 8,\n\n borderBottom: \"1px solid #EAEAEA\",\n \"@media (max-width: 600px)\": {\n flexFlow: \"column\",\n },\n },\n titleColumn: {\n height: \"auto\",\n justifyContent: \"center\",\n display: \"flex\",\n flexFlow: \"column\",\n alignItems: \"flex-start\",\n \"& h1\": {\n fontSize: 19,\n },\n },\n leftItems: {\n display: \"flex\",\n alignItems: \"center\",\n \"@media (max-width: 600px)\": {\n flexFlow: \"column\",\n width: \"100%\",\n },\n },\n rightItems: {\n display: \"flex\",\n alignItems: \"center\",\n \"& button\": {\n marginLeft: 8,\n },\n \"@media (max-width: 600px)\": {\n width: \"100%\",\n },\n },\n}));\n\nconst ScreenTitle = ({\n icon,\n title,\n subTitle,\n actions,\n className,\n}: IScreenTitle) => {\n const classes = useStyles();\n return (\n \n \n
\n {icon ?
{icon}
: null}\n
\n

{title}

\n {subTitle}\n
\n
\n\n
{actions}
\n
\n \n );\n};\n\nexport default ScreenTitle;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport { Box, CollapseCaret, GroupsMenuIcon, SectionTitle } from \"mds\";\nimport { LdapEntities } from \"api/consoleApi\";\n\ninterface IResultBlock {\n entityName: \"Group\" | \"User\" | \"Policy\";\n results: LdapEntities;\n}\n\ninterface IEntityResultName {\n name: string;\n}\n\ninterface IEntityResultItem {\n blockName: \"Policies\" | \"Groups\" | \"Users\";\n results: string[];\n}\n\nconst EntityResultTitle = ({ name }: IEntityResultName) => {\n return (\n

\n \n {name}\n

\n );\n};\n\nconst EntityResultItems = ({ blockName, results }: IEntityResultItem) => {\n return (\n \n {blockName}:\n
    \n {results.map((res, index) => (\n
  • {res}
  • \n ))}\n
\n
\n );\n};\n\nconst LDAPResultsBlock = ({ entityName, results }: IResultBlock) => {\n let entityLength = 0;\n\n switch (entityName) {\n case \"Group\":\n entityLength = results.groups?.length || 0;\n break;\n case \"Policy\":\n entityLength = results.policies?.length || 0;\n break;\n case \"User\":\n entityLength = results.users?.length || 0;\n break;\n }\n\n return (\n \n }\n actions={\n \n {entityLength} Entit\n {entityLength === 1 ? \"y\" : \"ies\"} Found\n \n }\n >\n {entityName} Mappings\n \n \n {entityName === \"Group\" &&\n results.groups?.map((groupData, index) => {\n return (\n \n \n {groupData.policies && (\n \n )}\n \n );\n })}\n {entityName === \"User\" &&\n results.users?.map((groupData, index) => {\n return (\n \n \n {groupData.policies && (\n \n )}\n \n );\n })}\n {entityName === \"Policy\" &&\n results.policies?.map((groupData, index) => {\n return (\n \n \n {groupData.groups && (\n \n )}\n {groupData.users && (\n \n )}\n \n );\n })}\n \n \n );\n};\n\nexport default LDAPResultsBlock;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useState } from \"react\";\nimport {\n AddIcon,\n Box,\n Button,\n Grid,\n InputBox,\n Loader,\n RemoveIcon,\n SearchIcon,\n SectionTitle,\n TimeIcon,\n} from \"mds\";\nimport { useSelector } from \"react-redux\";\nimport { DateTime } from \"luxon\";\nimport { api } from \"api\";\nimport { errorToHandler } from \"api/errors\";\nimport { LdapEntities } from \"api/consoleApi\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { AppState, useAppDispatch } from \"../../../../store\";\nimport LDAPResultsBlock from \"./LDAPResultsBlock\";\nimport PolicySelectors from \"../../Policies/PolicySelectors\";\n\nconst LDAPEntitiesQuery = () => {\n const dispatch = useAppDispatch();\n\n const [loading, setLoading] = useState(false);\n const [users, setUsers] = useState([\"\"]);\n const [groups, setGroups] = useState([\"\"]);\n const [results, setResults] = useState(null);\n\n const selectedPolicies = useSelector(\n (state: AppState) => state.createUser.selectedPolicies,\n );\n\n const searchEntities = () => {\n setLoading(true);\n\n let data: any = {};\n\n let cleanPolicies = selectedPolicies.filter((pol) => pol !== \"\");\n let cleanUsers = users.filter((usr) => usr !== \"\");\n let cleanGroups = groups.filter((grp) => grp !== \"\");\n\n if (cleanPolicies.length > 0) {\n data[\"policies\"] = cleanPolicies;\n }\n\n if (cleanUsers.length > 0) {\n data[\"users\"] = cleanUsers;\n }\n\n if (cleanGroups.length > 0) {\n data[\"groups\"] = cleanGroups;\n }\n\n api.ldapEntities\n .getLdapEntities(data)\n .then((result) => {\n setResults(result.data);\n setLoading(false);\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n setLoading(false);\n });\n };\n\n const alterUsersList = (addItem: boolean, index: number) => {\n if (addItem) {\n const alterUsers = [...users, \"\"];\n setUsers(alterUsers);\n\n return;\n }\n\n const filteredUsers = users.filter((_, indx) => indx !== index);\n\n setUsers(filteredUsers);\n };\n\n const alterGroupsList = (addItem: boolean, index: number) => {\n if (addItem) {\n const alterGroups = [...groups, \"\"];\n setGroups(alterGroups);\n\n return;\n }\n\n const filteredGroups = groups.filter((_, indx) => indx !== index);\n\n setGroups(filteredGroups);\n };\n\n return (\n \n \n \n Query Filters\n\n \n \n \n

\n Users\n

\n
\n div > div\": {\n width: \"100%\",\n },\n }}\n >\n {users.map((userDat, index) => {\n return (\n ) => {\n const usersElements = [...users];\n usersElements[index] = e.target.value;\n setUsers(usersElements);\n }}\n overlayIcon={\n users.length === index + 1 ? (\n \n ) : (\n \n )\n }\n overlayAction={() => {\n alterUsersList(users.length === index + 1, index);\n }}\n />\n );\n })}\n
\n
\n \n

\n Groups\n

\n div > div\": {\n width: \"100%\",\n },\n }}\n >\n {groups.map((groupDat, index) => {\n return (\n ) => {\n const groupsElements = [...groups];\n groupsElements[index] = e.target.value;\n setGroups(groupsElements);\n }}\n overlayIcon={\n groups.length === index + 1 ? (\n \n ) : (\n \n )\n }\n overlayAction={() => {\n alterGroupsList(groups.length === index + 1, index);\n }}\n />\n );\n })}\n
\n \n \n

\n Policies\n

\n \n \n
\n \n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n {results?.timestamp ? (\n \n \n {DateTime.fromISO(results.timestamp).toFormat(\n \"D HH:mm:ss\",\n )}\n \n ) : (\n \"\"\n )}\n \n }\n >\n Query Results\n \n {results ? (\n \n {!results.groups && !results.users && !results.policies && (\n \n

No Results Available

\n
\n )}\n {!!results.groups && (\n \n )}\n {!!results.users && (\n \n )}\n {!!results.policies && (\n \n )}\n \n ) : (\n No query results yet\n )}\n
\n )}\n \n \n \n \n }\n >\n Search\n \n \n \n \n );\n};\n\nexport default LDAPEntitiesQuery;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport {\n Box,\n Button,\n ConsoleIcon,\n EditIcon,\n FormLayout,\n Grid,\n HelpBox,\n InputBox,\n Loader,\n PageLayout,\n RefreshIcon,\n Switch,\n Tabs,\n Tooltip,\n ValuePair,\n WarnIcon,\n} from \"mds\";\nimport { api } from \"api\";\nimport { ConfigurationKV } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport { useAppDispatch } from \"../../../../store\";\nimport {\n setErrorSnackMessage,\n setHelpName,\n setServerNeedsRestart,\n setSnackBarMessage,\n} from \"../../../../systemSlice\";\nimport { ldapFormFields, ldapHelpBoxContents } from \"../utils\";\nimport ScreenTitle from \"../../Common/ScreenTitle/ScreenTitle\";\nimport PageHeaderWrapper from \"../../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport AddIDPConfigurationHelpBox from \"../AddIDPConfigurationHelpbox\";\nimport LDAPEntitiesQuery from \"./LDAPEntitiesQuery\";\nimport ResetConfigurationModal from \"../../EventDestinations/CustomForms/ResetConfigurationModal\";\nimport HelpMenu from \"../../HelpMenu\";\n\nconst enabledConfigLDAP = [\n \"server_addr\",\n \"lookup_bind_dn\",\n \"user_dn_search_base_dn\",\n \"user_dn_search_filter\",\n];\n\nconst IDPLDAPConfigurationDetails = () => {\n const dispatch = useAppDispatch();\n\n const formFields = ldapFormFields;\n\n const [loading, setLoading] = useState(true);\n const [isEnabled, setIsEnabled] = useState(false);\n const [hasConfiguration, setHasConfiguration] = useState(false);\n const [fields, setFields] = useState({});\n const [overrideFields, setOverrideFields] = useState({});\n const [record, setRecord] = useState(\n undefined,\n );\n const [editMode, setEditMode] = useState(false);\n const [resetOpen, setResetOpen] = useState(false);\n const [curTab, setCurTab] = useState(\"configuration\");\n const [envOverride, setEnvOverride] = useState(false);\n\n const toggleEditMode = () => {\n if (editMode && record) {\n parseFields(record);\n }\n setEditMode(!editMode);\n };\n\n const parseFields = (record: ConfigurationKV[]) => {\n let fields: any = {};\n let ovrFlds: any = {};\n if (record && record.length > 0) {\n const enabled = record.find((item: any) => item.key === \"enable\");\n\n let totalCoincidences = 0;\n let totalOverride = 0;\n\n record.forEach((item: any) => {\n if (item.env_override) {\n fields[item.key] = item.env_override.value;\n ovrFlds[item.key] = item.env_override.name;\n } else {\n fields[item.key] = item.value;\n }\n\n if (\n enabledConfigLDAP.includes(item.key) &&\n ((item.value && item.value !== \"\" && item.value !== \"off\") ||\n (item.env_override &&\n item.env_override.value !== \"\" &&\n item.env_override.value !== \"off\"))\n ) {\n totalCoincidences++;\n }\n\n if (enabledConfigLDAP.includes(item.key) && item.env_override) {\n totalOverride++;\n }\n });\n\n const hasConfig = totalCoincidences !== 0;\n\n if (hasConfig && ((enabled && enabled.value !== \"off\") || !enabled)) {\n setIsEnabled(true);\n } else {\n setIsEnabled(false);\n }\n\n if (totalOverride !== 0) {\n setEnvOverride(true);\n }\n\n setHasConfiguration(hasConfig);\n }\n setOverrideFields(ovrFlds);\n setFields(fields);\n };\n\n useEffect(() => {\n const loadRecord = () => {\n api.configs\n .configInfo(\"identity_ldap\")\n .then((res) => {\n if (res.data.length > 0) {\n setRecord(res.data[0].key_values);\n parseFields(res.data[0].key_values || []);\n }\n setLoading(false);\n })\n .catch((err) => {\n setLoading(false);\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n if (loading) {\n loadRecord();\n }\n }, [dispatch, loading]);\n\n const validSave = () => {\n for (const [key, value] of Object.entries(formFields)) {\n if (\n value.required &&\n !(\n fields[key] !== undefined &&\n fields[key] !== null &&\n fields[key] !== \"\"\n )\n ) {\n return false;\n }\n }\n return true;\n };\n\n const saveRecord = () => {\n const keyVals = Object.keys(formFields).map((key) => {\n return {\n key,\n value: fields[key],\n };\n });\n\n api.configs\n .setConfig(\"identity_ldap\", {\n key_values: keyVals,\n })\n .then((res) => {\n setEditMode(false);\n setRecord(keyVals);\n parseFields(keyVals);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n setFields({ ...fields, lookup_bind_password: \"\" });\n\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const closeDeleteModalAndRefresh = async (refresh: boolean) => {\n setResetOpen(false);\n\n if (refresh) {\n dispatch(setServerNeedsRestart(refresh));\n setRecord(undefined);\n setFields({});\n setIsEnabled(false);\n setHasConfiguration(false);\n setEditMode(false);\n }\n };\n\n const toggleConfiguration = (value: boolean) => {\n const payload = {\n key_values: [\n {\n key: \"enable\",\n value: value ? \"on\" : \"off\",\n },\n ],\n };\n\n api.configs\n .setConfig(\"identity_ldap\", payload)\n .then((res) => {\n setIsEnabled(!isEnabled);\n dispatch(setServerNeedsRestart(res.data.restart || false));\n if (!res.data.restart) {\n dispatch(setSnackBarMessage(\"Configuration saved successfully\"));\n }\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n });\n };\n\n const renderFormField = (key: string, value: any) => {\n switch (value.type) {\n case \"toggle\":\n return (\n \n setFields({ ...fields, [key]: e.target.checked ? \"on\" : \"off\" })\n }\n description=\"\"\n disabled={!editMode}\n />\n );\n default:\n return (\n ) =>\n setFields({ ...fields, [key]: e.target.value })\n }\n placeholder={value.placeholder}\n disabled={!editMode}\n type={value.type}\n />\n );\n }\n };\n\n useEffect(() => {\n dispatch(setHelpName(\"LDAP\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n {resetOpen && (\n \n )}\n } />\n \n \n \n \n }\n onClick={toggleEditMode}\n label={\"Edit Configuration\"}\n disabled={loading || envOverride}\n />\n \n {hasConfiguration && (\n \n toggleConfiguration(!isEnabled)}\n label={\n isEnabled ? \"Disable LDAP\" : \"Enable LDAP\"\n }\n variant={isEnabled ? \"secondary\" : \"regular\"}\n disabled={envOverride}\n />\n \n )}\n setLoading(true)}\n label={\"Refresh\"}\n icon={}\n />\n \n ) : null\n }\n />\n
\n {loading ? (\n \n \n \n ) : (\n \n {editMode ? (\n \n \n }\n >\n {editMode && hasConfiguration ? (\n \n \n Lookup Bind Password must be re-entered to\n change LDAP configurations\n \n }\n iconComponent={}\n help={null}\n />\n \n ) : null}\n {Object.entries(formFields).map(([key, value]) =>\n renderFormField(key, value),\n )}\n \n {editMode && hasConfiguration && (\n setResetOpen(true)}\n label={\"Reset Configuration\"}\n />\n )}\n \n \n \n \n \n ) : (\n \n \n \n {hasConfiguration && (\n \n {Object.entries(formFields).map(\n ([key, value]) => {\n if (!value.editOnly) {\n let label: React.ReactNode = value.label;\n let val: React.ReactNode = fields[key]\n ? fields[key]\n : \"\";\n\n if (overrideFields[key]) {\n label = (\n \n {value.label}\n \n \n \n \n \n \n );\n\n val = (\n \n \n {val}\n \n \n );\n }\n return (\n \n );\n }\n return null;\n },\n )}\n \n )}\n \n \n )}\n \n )}\n \n ),\n },\n {\n tabConfig: {\n id: \"entities\",\n label: \"Entities\",\n disabled: !hasConfiguration || !isEnabled,\n },\n content: (\n \n {hasConfiguration && (\n \n \n \n )}\n \n ),\n },\n ]}\n currentTabOrPath={curTab}\n onTabClick={(newTab) => {\n setCurTab(newTab);\n setEditMode(false);\n }}\n />\n
\n
\n );\n};\n\nexport default IDPLDAPConfigurationDetails;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport LoginIcon from \"@mui/icons-material/Login\";\nimport { LockIcon } from \"mds\";\n\nexport const ldapHelpBoxContents = [\n {\n text: \"MinIO supports using an Active Directory or LDAP (AD/LDAP) service for external management of user identities. Configuring an external IDentity Provider (IDP) enables Single-Sign On (SSO) workflows, where applications authenticate against the external IDP before accessing MinIO.\",\n icon: ,\n iconDescription: \"Create Configurations\",\n },\n {\n text: \"MinIO queries the configured Active Directory / LDAP server to verify the credentials specified by the application and optionally return a list of groups in which the user has membership. MinIO supports two modes (Lookup-Bind Mode and Username-Bind Mode) for performing these queries\",\n icon: null,\n iconDescription: \"\",\n },\n {\n text: \"MinIO recommends using Lookup-Bind mode as the preferred method for verifying AD/LDAP credentials. Username-Bind mode is a legacy method retained for backwards compatibility only.\",\n icon: null,\n iconDescription: \"\",\n },\n];\n\nexport const openIDHelpBoxContents = [\n {\n text: \"MinIO supports using an OpenID Connect (OIDC) compatible IDentity Provider (IDP) such as Okta, KeyCloak, Dex, Google, or Facebook for external management of user identities.\",\n icon: ,\n iconDescription: \"Create Configurations\",\n },\n {\n text: \"Configuring an external IDP enables Single-Sign On workflows, where applications authenticate against the external IDP before accessing MinIO.\",\n icon: null,\n iconDescription: \"\",\n },\n];\n\nexport const openIDFormFields = {\n config_url: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Config URL is required\" : \"\";\n },\n label: \"Config URL\",\n tooltip: \"Config URL for identity provider configuration\",\n placeholder:\n \"https://identity-provider-url/.well-known/openid-configuration\",\n type: \"text\",\n editOnly: false,\n },\n client_id: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Client ID is required\" : \"\";\n },\n label: \"Client ID\",\n tooltip: \"Identity provider Client ID\",\n placeholder: \"Enter Client ID\",\n type: \"text\",\n editOnly: false,\n },\n client_secret: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Client Secret is required\" : \"\";\n },\n label: \"Client Secret\",\n tooltip: \"Identity provider Client Secret\",\n placeholder: \"Enter Client Secret\",\n type: \"password\",\n editOnly: true,\n },\n claim_name: {\n required: false,\n label: \"Claim Name\",\n tooltip: \"Claim from which MinIO will read the policy or role to use\",\n placeholder: \"Enter Claim Name\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n display_name: {\n required: false,\n label: \"Display Name\",\n tooltip: \"\",\n placeholder: \"Enter Display Name\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n claim_prefix: {\n required: false,\n label: \"Claim Prefix\",\n tooltip: \"\",\n placeholder: \"Enter Claim Prefix\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n scopes: {\n required: false,\n label: \"Scopes\",\n tooltip: \"\",\n placeholder: \"openid,profile,email\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n redirect_uri: {\n required: false,\n label: \"Redirect URI\",\n tooltip: \"\",\n placeholder: \"https://console-endpoint-url/oauth_callback\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n role_policy: {\n required: false,\n label: \"Role Policy\",\n tooltip: \"\",\n placeholder: \"readonly\",\n type: \"text\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n claim_userinfo: {\n required: false,\n label: \"Claim User Info\",\n tooltip: \"\",\n placeholder: \"Claim User Info\",\n type: \"toggle\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n redirect_uri_dynamic: {\n required: false,\n label: \"Redirect URI Dynamic\",\n tooltip: \"\",\n placeholder: \"Redirect URI Dynamic\",\n type: \"toggle\",\n hasError: (s: string, editMode: boolean) => \"\",\n editOnly: false,\n },\n};\n\nexport const ldapFormFields = {\n server_insecure: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Server Address is required\" : \"\";\n },\n label: \"Server Insecure\",\n tooltip: \"Disable SSL certificate verification \",\n placeholder: \"myldapserver.com:636\",\n type: \"toggle\",\n editOnly: false,\n },\n server_addr: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Server Address is required\" : \"\";\n },\n label: \"Server Address\",\n tooltip: 'AD/LDAP server address e.g. \"myldapserver.com:636\"',\n placeholder: \"myldapserver.com:636\",\n type: \"text\",\n editOnly: false,\n },\n lookup_bind_dn: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Lookup Bind DN is required\" : \"\";\n },\n label: \"Lookup Bind DN\",\n tooltip:\n \"DN (Distinguished Name) for LDAP read-only service account used to perform DN and group lookups\",\n placeholder: \"cn=admin,dc=min,dc=io\",\n type: \"text\",\n editOnly: false,\n },\n lookup_bind_password: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"Lookup Bind Password is required\" : \"\";\n },\n label: \"Lookup Bind Password\",\n tooltip:\n \"Password for LDAP read-only service account used to perform DN and group lookups\",\n placeholder: \"admin\",\n type: \"password\",\n editOnly: true,\n },\n user_dn_search_base_dn: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"User DN Search Base DN is required\" : \"\";\n },\n label: \"User DN Search Base\",\n tooltip: \"\",\n placeholder: \"DC=example,DC=net\",\n type: \"text\",\n editOnly: false,\n },\n user_dn_search_filter: {\n required: true,\n hasError: (s: string, editMode: boolean) => {\n return !s && editMode ? \"User DN Search Filter is required\" : \"\";\n },\n label: \"User DN Search Filter\",\n tooltip: \"\",\n placeholder: \"(sAMAcountName=%s)\",\n type: \"text\",\n editOnly: false,\n },\n group_search_base_dn: {\n required: false,\n hasError: (s: string, editMode: boolean) => \"\",\n label: \"Group Search Base DN\",\n tooltip: \"\",\n placeholder: \"ou=swengg,dc=min,dc=io\",\n type: \"text\",\n editOnly: false,\n },\n group_search_filter: {\n required: false,\n hasError: (s: string, editMode: boolean) => \"\",\n label: \"Group Search Filter\",\n tooltip: \"\",\n placeholder: \"(&(objectclass=groupofnames)(member=%d))\",\n type: \"text\",\n editOnly: false,\n },\n};\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useCallback, useEffect, useState } from \"react\";\n\nimport { Box, DataTable, Grid, ProgressBar } from \"mds\";\nimport { policySort } from \"../../../utils/sortFunctions\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport SearchBox from \"../Common/SearchBox\";\nimport { setModalErrorSnackMessage } from \"../../../systemSlice\";\nimport { AppState, useAppDispatch } from \"../../../store\";\nimport { setSelectedPolicies } from \"../Users/AddUsersSlice\";\nimport { useSelector } from \"react-redux\";\nimport { api } from \"../../../api\";\n\ninterface ISelectPolicyProps {\n selectedPolicy?: string[];\n noTitle?: boolean;\n}\n\nconst PolicySelectors = ({ noTitle = false }: ISelectPolicyProps) => {\n const dispatch = useAppDispatch();\n // Local State\n const [records, setRecords] = useState([]);\n const [loading, isLoading] = useState(false);\n const [filter, setFilter] = useState(\"\");\n\n const currentPolicies = useSelector(\n (state: AppState) => state.createUser.selectedPolicies,\n );\n\n const fetchPolicies = useCallback(() => {\n isLoading(true);\n\n api.policies\n .listPolicies()\n .then((res) => {\n const policies = res.data.policies ?? [];\n isLoading(false);\n setRecords(policies.sort(policySort));\n })\n .catch((err: ErrorResponseHandler) => {\n isLoading(false);\n dispatch(setModalErrorSnackMessage(err));\n });\n }, [dispatch]);\n\n //Effects\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n if (loading) {\n fetchPolicies();\n }\n }, [loading, fetchPolicies]);\n\n const selectionChanged = (e: React.ChangeEvent) => {\n const targetD = e.target;\n const value = targetD.value;\n const checked = targetD.checked;\n\n let elements: string[] = [...currentPolicies]; // We clone the checkedUsers array\n\n if (checked) {\n // If the user has checked this field we need to push this to checkedUsersList\n elements.push(value);\n } else {\n // User has unchecked this field, we need to remove it from the list\n elements = elements.filter((element) => element !== value);\n }\n // remove empty values\n elements = elements.filter((element) => element !== \"\");\n\n dispatch(setSelectedPolicies(elements));\n };\n\n const filteredRecords = records.filter((elementItem) =>\n elementItem.name.includes(filter),\n );\n\n return (\n \n {loading && }\n {records.length > 0 ? (\n \n \n {\n setFilter(value);\n }}\n value={filter}\n label={!noTitle ? \"Assign Policies\" : \"\"}\n />\n \n\n \n \n ) : (\n \n No Policies Available\n \n )}\n \n );\n};\n\nexport default PolicySelectors;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { Policy, User } from \"api/consoleApi\";\n\ninterface policyDetailsInterface {\n policy: string;\n}\n\nexport const usersSort = (a: User, b: User) => {\n if (a.accessKey && b.accessKey) {\n if (a.accessKey > b.accessKey) {\n return 1;\n }\n if (a.accessKey < b.accessKey) {\n return -1;\n }\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policySort = (a: Policy, b: Policy) => {\n if (a.name! > b.name!) {\n return 1;\n }\n if (a.name! < b.name!) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const stringSort = (a: string, b: string) => {\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policyDetailsSort = (\n a: policyDetailsInterface,\n b: policyDetailsInterface,\n) => {\n if (a.policy > b.policy) {\n return 1;\n }\n if (a.policy < b.policy) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z\"\n}), 'Login');\nexports.default = _default;","\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");","import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils';\nexport default createChainedFunction;","import { unstable_deprecatedPropType as deprecatedPropType } from '@mui/utils';\nexport default deprecatedPropType;","export default function deprecatedPropType(validator, reason) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n return (props, propName, componentName, location, propFullName) => {\n const componentNameSafe = componentName || '<>';\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The ${location} \\`${propFullNameSafe}\\` of ` + `\\`${componentNameSafe}\\` is deprecated. ${reason}`);\n }\n return null;\n };\n}","import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils';\nexport default requirePropFactory;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function requirePropFactory(componentNameInError, Component) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n\n // eslint-disable-next-line react/forbid-foreign-prop-types\n const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;\n const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {\n const propFullNameSafe = propFullName || propName;\n const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];\n if (defaultTypeChecker) {\n const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);\n if (typeCheckerResult) {\n return typeCheckerResult;\n }\n }\n if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {\n return new Error(`The prop \\`${propFullNameSafe}\\` of ` + `\\`${componentNameInError}\\` can only be used together with the \\`${requiredProp}\\` prop.`);\n }\n return null;\n };\n return requireProp;\n}","import { unstable_setRef as setRef } from '@mui/utils';\nexport default setRef;","import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils';\nexport default unsupportedProp;","export default function unsupportedProp(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The prop \\`${propFullNameSafe}\\` is not supported. Please remove it.`);\n }\n return null;\n}","'use client';\n\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/base/ClassNameGenerator';\nexport { default as capitalize } from './capitalize';\nexport { default as createChainedFunction } from './createChainedFunction';\nexport { default as createSvgIcon } from './createSvgIcon';\nexport { default as debounce } from './debounce';\nexport { default as deprecatedPropType } from './deprecatedPropType';\nexport { default as isMuiElement } from './isMuiElement';\nexport { default as ownerDocument } from './ownerDocument';\nexport { default as ownerWindow } from './ownerWindow';\nexport { default as requirePropFactory } from './requirePropFactory';\nexport { default as setRef } from './setRef';\nexport { default as unstable_useEnhancedEffect } from './useEnhancedEffect';\nexport { default as unstable_useId } from './useId';\nexport { default as unsupportedProp } from './unsupportedProp';\nexport { default as useControlled } from './useControlled';\nexport { default as useEventCallback } from './useEventCallback';\nexport { default as useForkRef } from './useForkRef';\nexport { default as useIsFocusVisible } from './useIsFocusVisible';\n// TODO: remove this export once ClassNameGenerator is stable\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const unstable_ClassNameGenerator = {\n configure: generator => {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(['MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.', '', \"You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead\", '', 'The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401', '', 'The updated documentation: https://mui.com/guides/classname-generator/'].join('\\n'));\n }\n ClassNameGenerator.configure(generator);\n }\n};","import { unstable_isMuiElement as isMuiElement } from '@mui/utils';\nexport default isMuiElement;","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n var _muiName, _element$type;\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n (_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;\n}","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_ref","configurationName","closeResetModalAndRefresh","resetOpen","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","resetLoading","setResetLoading","useEffect","api","configs","resetConfig","then","catch","err","setErrorSnackMessage","errorToHandler","error","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onClose","confirmationContent","_jsxs","Fragment","children","ProgressBar","style","maxWidth","whiteSpace","wordWrap","FeatureItem","icon","description","Box","sx","display","marginRight","height","width","marginBottom","fontSize","fontStyle","color","_ref2","helpText","docLink","docText","contents","flex","border","borderRadius","flexFlow","padding","fontWeight","alignItems","paddingBottom","HelpIconFilled","map","content","index","iconDescription","text","concat","href","target","rel","useStyles","makeStyles","theme","headerBarIcon","palette","primary","main","headerBarSubheader","stContainer","justifyContent","borderBottom","titleColumn","leftItems","rightItems","marginLeft","subTitle","actions","className","classes","Grid","container","item","xs","margin","EntityResultTitle","name","CollapseCaret","transform","EntityResultItems","blockName","results","res","_ref3","_results$groups","_results$policies","_results$users","_results$groups2","_results$users2","_results$policies2","entityName","entityLength","groups","length","policies","users","marginTop","SectionTitle","separator","GroupsMenuIcon","h4","fill","groupData","group","user","policy","loading","setLoading","_useState3","_useState4","setUsers","_useState5","_useState6","setGroups","_useState7","_useState8","setResults","selectedPolicies","useSelector","state","createUser","paddingTop","sm","md","lg","flexDirection","gap","withBorders","overflowY","minHeight","maxHeight","userDat","InputBox","id","value","onChange","e","usersElements","_toConsumableArray","overlayIcon","AddIcon","RemoveIcon","overlayAction","addItem","alterUsers","filteredUsers","filter","_","indx","alterUsersList","groupDat","groupsElements","alterGroups","filteredGroups","alterGroupsList","PolicySelectors","selectedPolicy","noTitle","textAlign","Loader","timestamp","TimeIcon","DateTime","fromISO","toFormat","backgroundColor","flexGrow","LDAPResultsBlock","Button","type","variant","onClick","data","cleanPolicies","pol","cleanUsers","usr","cleanGroups","grp","ldapEntities","getLdapEntities","result","SearchIcon","enabledConfigLDAP","formFields","ldapFormFields","isEnabled","setIsEnabled","hasConfiguration","setHasConfiguration","fields","setFields","_useState9","_useState10","overrideFields","setOverrideFields","_useState11","undefined","_useState12","record","setRecord","_useState13","_useState14","editMode","setEditMode","_useState15","_useState16","setResetOpen","_useState17","_useState18","curTab","setCurTab","_useState19","_useState20","envOverride","setEnvOverride","toggleEditMode","parseFields","ovrFlds","enabled","find","key","totalCoincidences","totalOverride","forEach","env_override","includes","hasConfig","configInfo","key_values","closeDeleteModalAndRefresh","_asyncToGenerator","_regeneratorRuntime","mark","_callee","refresh","wrap","_context","prev","next","setServerNeedsRestart","stop","_x","apply","arguments","setHelpName","ResetConfigurationModal","PageHeaderWrapper","label","HelpMenu","PageLayout","Tabs","horizontal","options","tabConfig","ScreenTitle","Tooltip","tooltip","EditIcon","disabled","payload","setConfig","restart","setSnackBarMessage","toggleConfiguration","RefreshIcon","FormLayout","helpBox","AddIDPConfigurationHelpBox","ldapHelpBoxContents","HelpBox","iconComponent","WarnIcon","help","Object","entries","Switch","indicatorLabels","checked","_objectSpread","_defineProperty","required","hasError","placeholder","renderFormField","_i","_Object$entries","_Object$entries$_i","validSave","keyVals","keys","lookup_bind_password","gridTemplateColumns","gridAutoFlow","ValuePair","_ref5","_ref6","editOnly","val","placement","ConsoleIcon","LDAPEntitiesQuery","currentTabOrPath","onTabClick","newTab","LoginIcon","openIDHelpBoxContents","LockIcon","openIDFormFields","config_url","s","client_id","client_secret","claim_name","display_name","claim_prefix","scopes","redirect_uri","role_policy","claim_userinfo","redirect_uri_dynamic","server_insecure","server_addr","lookup_bind_dn","user_dn_search_base_dn","user_dn_search_filter","group_search_base_dn","group_search_filter","_ref$noTitle","records","setRecords","setFilter","currentPolicies","fetchPolicies","useCallback","listPolicies","_res$data$policies","sort","policySort","setModalErrorSnackMessage","filteredRecords","elementItem","SearchBox","DataTable","columns","elementKey","onSelect","targetD","elements","push","element","setSelectedPolicies","selectedItems","idField","customPaperHeight","usersSort","a","b","accessKey","stringSort","policyDetailsSort","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","defineProperty","enumerable","get","_utils","createSvgIcon","createChainedFunction","validator","reason","componentNameInError","Component","props","propName","componentName","location","propFullName","unstable_ClassNameGenerator","configure","generator","ClassNameGenerator","muiNames","_muiName","_element$type","React","indexOf","muiName","_payload","_len","funcs","Array","_key","reduce","acc","func","_len2","args","_key2","this","module","obj","__esModule"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/1829.9db2921b.chunk.js b/portal-ui/build/static/js/1829.bb99f80d.chunk.js similarity index 87% rename from portal-ui/build/static/js/1829.9db2921b.chunk.js rename to portal-ui/build/static/js/1829.bb99f80d.chunk.js index a523bf80ec..08a71c7804 100644 --- a/portal-ui/build/static/js/1829.9db2921b.chunk.js +++ b/portal-ui/build/static/js/1829.bb99f80d.chunk.js @@ -1,2 +1,2 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1829],{47986:function(e,t,n){"use strict";var a=n(4942),o=(n(72791),n(29945)),s=n(80184);t.Z=function(e){var t=e.iconComponent,n=e.entity;return(0,s.jsx)(o.rjZ,{container:!0,children:(0,s.jsx)(o.rjZ,{item:!0,xs:12,children:(0,s.jsx)(o.KfX,{title:"".concat(n," not available"),iconComponent:t,help:(0,s.jsxs)(o.xuv,{sx:(0,a.Z)({fontSize:"14px"},"@media (max-width: ".concat(o.Egj.sm,"px)"),{display:"flex",flexFlow:"column"}),children:[(0,s.jsx)("span",{children:"This feature is not available for a single-disk setup.\xa0"}),(0,s.jsxs)("span",{children:["Please deploy a server in"," ",(0,s.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html?ref=con",target:"_blank",rel:"noopener",children:"Distributed Mode"})," ","to use this feature."]})]})})})})}},61829:function(e,t,n){"use strict";n.r(t);var a=n(29439),o=n(72791),s=n(78687),r=n(95087),i=n(29945),c=n(20601),l=n(38725),u=n(82839),f=n(90466),d=n(12891),h=n(35667),x=n(83672),b=n(57702),p=n(31776),j=n(82342),m=n(26824),v=n(45248),g=n(23814),w=n(56087),y=n(87995),S=n(38442),k=n(44690),C=n(47986),Z=n(47974),H=n(99670),B=n(80184);t.default=function(){var e=(0,s.v9)(y.N5),t=(0,o.useState)(!1),n=(0,a.Z)(t,2),D=n[0],T=n[1],_=(0,o.useState)(""),E=(0,a.Z)(_,2),A=E[0],G=E[1],N=(0,o.useState)([]),O=(0,a.Z)(N,2),z=O[0],R=O[1],I=(0,o.useState)(""),L=(0,a.Z)(I,2),F=L[0],K=L[1],P=(0,o.useState)(!1),M=(0,a.Z)(P,2),X=M[0],J=M[1],U=(0,o.useState)(!1),W=(0,a.Z)(U,2),Y=W[0],$=W[1],q=(0,o.useState)(!1),Q=(0,a.Z)(q,2),V=Q[0],ee=Q[1],te=(0,o.useState)({beforeHeal:[0,0,0,0],afterHeal:[0,0,0,0],objectsHealed:0,objectsScanned:0,healDuration:0,sizeScanned:""}),ne=(0,a.Z)(te,2),ae=ne[0],oe=ne[1];(0,o.useEffect)((function(){p.h.buckets.listBuckets().then((function(e){var t=[];e.data.buckets&&(t=e.data.buckets),R(t)})).catch((function(e){console.error((0,j.g)(e.error))}))}),[]),(0,o.useEffect)((function(){Y&&ee(!1)}),[Y]),(0,o.useEffect)((function(){V&&$(!1)}),[V]);var se=function(e){return[e.Green,e.Yellow,e.Red,e.Grey]};(0,o.useEffect)((function(){if(D){var e={Green:0,Yellow:0,Red:0,Grey:0},t={Green:0,Yellow:0,Red:0,Grey:0},n=new URL(window.location.toString()),o=n.port,s=new URL(document.baseURI).pathname,i=(0,m.x2)(n.protocol),c=new r.w3cwebsocket("".concat(i,"://").concat(n.hostname,":").concat(o).concat(s,"ws/heal/").concat(A,"?prefix=").concat(F,"&recursive=").concat(X,"&force-start=").concat(Y,"&force-stop=").concat(V));if(null!==c)return c.onopen=function(){console.log("WebSocket Client Connected"),c.send("ok")},c.onmessage=function(n){for(var o=JSON.parse(n.data.toString()),s=0,r=Object.entries(o.healthAfterCols);s.\n\nimport React from \"react\";\nimport { HelpBox, Box, Grid, breakPoints } from \"mds\";\n\ninterface IDistributedOnly {\n iconComponent: any;\n entity: string;\n}\n\nconst DistributedOnly = ({ iconComponent, entity }: IDistributedOnly) => {\n return (\n \n \n \n \n This feature is not available for a single-disk setup. \n \n \n Please deploy a server in{\" \"}\n \n Distributed Mode\n {\" \"}\n to use this feature.\n \n \n }\n />\n \n \n );\n};\n\nexport default DistributedOnly;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { IMessageEvent, w3cwebsocket as W3CWebSocket } from \"websocket\";\nimport {\n Box,\n Button,\n Checkbox,\n Grid,\n HealIcon,\n InputBox,\n InputLabel,\n PageLayout,\n Select,\n} from \"mds\";\nimport {\n Bar,\n BarChart,\n CartesianGrid,\n Legend,\n ResponsiveContainer,\n Tooltip,\n XAxis,\n YAxis,\n} from \"recharts\";\n\nimport { api } from \"api\";\nimport { Bucket } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport { wsProtocol } from \"../../../utils/wsUtils\";\nimport { colorH, HealStatus } from \"./types\";\nimport { niceBytes } from \"../../../common/utils\";\nimport { modalStyleUtils } from \"../Common/FormComponents/common/styleLibrary\";\nimport {\n CONSOLE_UI_RESOURCE,\n IAM_SCOPES,\n} from \"../../../common/SecureComponent/permissions\";\nimport { selDistSet, setHelpName } from \"../../../systemSlice\";\nimport { SecureComponent } from \"../../../common/SecureComponent\";\nimport { useAppDispatch } from \"../../../store\";\nimport DistributedOnly from \"../Common/DistributedOnly/DistributedOnly\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport HelpMenu from \"../HelpMenu\";\n\nconst Heal = () => {\n const distributedSetup = useSelector(selDistSet);\n\n const [start, setStart] = useState(false);\n const [bucketName, setBucketName] = useState(\"\");\n const [bucketList, setBucketList] = useState([]);\n const [prefix, setPrefix] = useState(\"\");\n const [recursive, setRecursive] = useState(false);\n const [forceStart, setForceStart] = useState(false);\n const [forceStop, setForceStop] = useState(false);\n // healStatus states\n const [hStatus, setHStatus] = useState({\n beforeHeal: [0, 0, 0, 0],\n afterHeal: [0, 0, 0, 0],\n objectsHealed: 0,\n objectsScanned: 0,\n healDuration: 0,\n sizeScanned: \"\",\n });\n\n const fetchBucketList = () => {\n api.buckets\n .listBuckets()\n .then((res) => {\n let buckets: Bucket[] = [];\n if (res.data.buckets) {\n buckets = res.data.buckets;\n }\n setBucketList(buckets);\n })\n .catch((err) => {\n console.error(errorToHandler(err.error));\n });\n };\n\n useEffect(() => {\n fetchBucketList();\n }, []);\n\n // forceStart and forceStop need to be mutually exclusive\n useEffect(() => {\n if (forceStart) {\n setForceStop(false);\n }\n }, [forceStart]);\n\n useEffect(() => {\n if (forceStop) {\n setForceStart(false);\n }\n }, [forceStop]);\n\n const colorHealthArr = (color: colorH) => {\n return [color.Green, color.Yellow, color.Red, color.Grey];\n };\n\n useEffect(() => {\n // begin watch if bucketName in bucketList and start pressed\n if (start) {\n // values stored here to update chart\n const cB: colorH = { Green: 0, Yellow: 0, Red: 0, Grey: 0 };\n const cA: colorH = { Green: 0, Yellow: 0, Red: 0, Grey: 0 };\n\n const url = new URL(window.location.toString());\n const isDev = process.env.NODE_ENV === \"development\";\n const port = isDev ? \"9090\" : url.port;\n\n // check if we are using base path, if not this always is `/`\n const baseLocation = new URL(document.baseURI);\n const baseUrl = baseLocation.pathname;\n\n const wsProt = wsProtocol(url.protocol);\n const c = new W3CWebSocket(\n `${wsProt}://${url.hostname}:${port}${baseUrl}ws/heal/${bucketName}?prefix=${prefix}&recursive=${recursive}&force-start=${forceStart}&force-stop=${forceStop}`,\n );\n\n if (c !== null) {\n c.onopen = () => {\n console.log(\"WebSocket Client Connected\");\n c.send(\"ok\");\n };\n c.onmessage = (message: IMessageEvent) => {\n let m: HealStatus = JSON.parse(message.data.toString());\n // Store percentage per health color\n for (const [key, value] of Object.entries(m.healthAfterCols)) {\n cA[key] = (value * 100) / m.itemsScanned;\n }\n for (const [key, value] of Object.entries(m.healthBeforeCols)) {\n cB[key] = (value * 100) / m.itemsScanned;\n }\n setHStatus({\n beforeHeal: colorHealthArr(cB),\n afterHeal: colorHealthArr(cA),\n objectsHealed: m.objectsHealed,\n objectsScanned: m.objectsScanned,\n healDuration: m.healDuration,\n sizeScanned: niceBytes(m.bytesScanned.toString()),\n });\n };\n c.onclose = () => {\n setStart(false);\n console.log(\"connection closed by server\");\n };\n return () => {\n // close websocket on useEffect cleanup\n c.close(1000);\n console.log(\"closing websockets\");\n };\n }\n }\n }, [start, bucketName, forceStart, forceStop, prefix, recursive]);\n\n let data = [\n {\n name: \"Green\",\n ah: hStatus.afterHeal[0],\n bh: hStatus.beforeHeal[0],\n amt: 100,\n },\n {\n name: \"Yellow\",\n ah: hStatus.afterHeal[1],\n bh: hStatus.beforeHeal[1],\n amt: 100,\n },\n {\n name: \"Red\",\n ah: hStatus.afterHeal[2],\n bh: hStatus.beforeHeal[2],\n amt: 100,\n },\n {\n name: \"Grey\",\n ah: hStatus.afterHeal[3],\n bh: hStatus.beforeHeal[3],\n amt: 100,\n },\n ];\n const bucketNames = bucketList.map((bucketName) => ({\n label: bucketName.name,\n value: bucketName.name,\n }));\n const dispatch = useAppDispatch();\n useEffect(() => {\n dispatch(setHelpName(\"heal\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n } />\n\n \n {!distributedSetup ? (\n } />\n ) : (\n \n \n \n \n Bucket\n {\n setBucketName(value as string);\n }}\n options={bucketNames}\n placeholder={\"Select Bucket\"}\n />\n \n \n Prefix\n {\n setPrefix(e.target.value);\n }}\n />\n \n \n \n \n {\n setRecursive(!recursive);\n }}\n disabled={false}\n label=\"Recursive\"\n />\n \n \n {\n setForceStart(!forceStart);\n }}\n disabled={false}\n label=\"Force Start\"\n />\n \n \n {\n setForceStop(!forceStop);\n }}\n disabled={false}\n label=\"Force Stop\"\n />\n \n \n \n setStart(true)}\n label={\"Start\"}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Size scanned: {hStatus.sizeScanned}\n \n \n Objects healed: {hStatus.objectsHealed} /{\" \"}\n {hStatus.objectsScanned}\n \n \n Healing time: {hStatus.healDuration}s\n \n \n \n \n )}\n \n \n );\n};\n\nexport default Heal;\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Fallback to standard globalThis if available\n\tif (typeof globalThis === \"object\" && globalThis) return globalThis;\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of updates to Object.prototype being restricted\n\t\t// via preventExtensions, seal or freeze\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ works, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","/**\n * @fileOverview Bar Chart\n */\nimport { generateCategoricalChart } from './generateCategoricalChart';\nimport { Bar } from '../cartesian/Bar';\nimport { XAxis } from '../cartesian/XAxis';\nimport { YAxis } from '../cartesian/YAxis';\nimport { formatAxisMap } from '../util/CartesianUtils';\nexport var BarChart = generateCategoricalChart({\n chartName: 'BarChart',\n GraphicalChild: Bar,\n defaultTooltipEventType: 'axis',\n validateTooltipEventTypes: ['axis', 'item'],\n axisComponents: [{\n axisType: 'xAxis',\n AxisComp: XAxis\n }, {\n axisType: 'yAxis',\n AxisComp: YAxis\n }],\n formatAxisMap: formatAxisMap\n});","var _globalThis;\nif (typeof globalThis === 'object') {\n\t_globalThis = globalThis;\n} else {\n\ttry {\n\t\t_globalThis = require('es5-ext/global');\n\t} catch (error) {\n\t} finally {\n\t\tif (!_globalThis && typeof window !== 'undefined') { _globalThis = window; }\n\t\tif (!_globalThis) { throw new Error('Could not determine global this'); }\n\t}\n}\n\nvar NativeWebSocket = _globalThis.WebSocket || _globalThis.MozWebSocket;\nvar websocket_version = require('./version');\n\n\n/**\n * Expose a W3C WebSocket class with just one or two arguments.\n */\nfunction W3CWebSocket(uri, protocols) {\n\tvar native_instance;\n\n\tif (protocols) {\n\t\tnative_instance = new NativeWebSocket(uri, protocols);\n\t}\n\telse {\n\t\tnative_instance = new NativeWebSocket(uri);\n\t}\n\n\t/**\n\t * 'native_instance' is an instance of nativeWebSocket (the browser's WebSocket\n\t * class). Since it is an Object it will be returned as it is when creating an\n\t * instance of W3CWebSocket via 'new W3CWebSocket()'.\n\t *\n\t * ECMAScript 5: http://bclary.com/2004/11/07/#a-13.2.2\n\t */\n\treturn native_instance;\n}\nif (NativeWebSocket) {\n\t['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'].forEach(function(prop) {\n\t\tObject.defineProperty(W3CWebSocket, prop, {\n\t\t\tget: function() { return NativeWebSocket[prop]; }\n\t\t});\n\t});\n}\n\n/**\n * Module exports.\n */\nmodule.exports = {\n 'w3cwebsocket' : NativeWebSocket ? W3CWebSocket : null,\n 'version' : websocket_version\n};\n","module.exports = require('../package.json').version;\n"],"names":["_ref","iconComponent","entity","_jsx","Grid","container","children","item","xs","HelpBox","title","concat","help","_jsxs","Box","sx","_defineProperty","fontSize","breakPoints","sm","display","flexFlow","href","target","rel","distributedSetup","useSelector","selDistSet","_useState","useState","_useState2","_slicedToArray","start","setStart","_useState3","_useState4","bucketName","setBucketName","_useState5","_useState6","bucketList","setBucketList","_useState7","_useState8","prefix","setPrefix","_useState9","_useState10","recursive","setRecursive","_useState11","_useState12","forceStart","setForceStart","_useState13","_useState14","forceStop","setForceStop","_useState15","beforeHeal","afterHeal","objectsHealed","objectsScanned","healDuration","sizeScanned","_useState16","hStatus","setHStatus","useEffect","api","buckets","listBuckets","then","res","data","catch","err","console","error","errorToHandler","colorHealthArr","color","Green","Yellow","Red","Grey","cB","cA","url","URL","window","location","toString","port","baseUrl","document","baseURI","pathname","wsProt","wsProtocol","protocol","c","W3CWebSocket","hostname","onopen","log","send","onmessage","message","m","JSON","parse","_i","_Object$entries","Object","entries","healthAfterCols","length","_Object$entries$_i","key","value","itemsScanned","_i2","_Object$entries2","healthBeforeCols","_Object$entries2$_i","niceBytes","bytesScanned","onclose","close","name","ah","bh","amt","bucketNames","map","label","dispatch","useAppDispatch","setHelpName","Fragment","PageHeaderWrapper","actions","HelpMenu","PageLayout","SecureComponent","scopes","IAM_SCOPES","ADMIN_HEAL","resource","CONSOLE_UI_RESOURCE","withBorders","alignItems","marginBottom","gap","flexGrow","width","InputLabel","Select","id","onChange","options","placeholder","InputBox","disabled","e","Checkbox","checked","modalStyleUtils","modalButtonBar","Button","type","variant","onClick","marginTop","listStyle","content","ResponsiveContainer","height","BarChart","margin","top","right","left","bottom","CartesianGrid","strokeDasharray","XAxis","dataKey","YAxis","Tooltip","Legend","verticalAlign","layout","className","Bar","fill","stroke","flexDirection","justifyContent","DistributedOnly","HealIcon","naiveFallback","self","Error","module","exports","this","globalThis","defineProperty","prototype","get","configurable","__global__","generateCategoricalChart","chartName","GraphicalChild","defaultTooltipEventType","validateTooltipEventTypes","axisComponents","axisType","AxisComp","formatAxisMap","_globalThis","require","NativeWebSocket","WebSocket","MozWebSocket","websocket_version","uri","protocols","forEach","prop"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/1829.bb99f80d.chunk.js","mappings":"4JA+DA,IAvCwB,SAAHA,GAAqD,IAA/CC,EAAaD,EAAbC,cAAeC,EAAMF,EAANE,OACxC,OACEC,EAAAA,EAAAA,KAACC,EAAAA,IA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UAAW,WACXC,eAAgBrB,EAAAA,EAChBsB,wBAAyB,OACzBC,0BAA2B,CAAC,OAAQ,QACpCC,eAAgB,CAAC,CACfC,SAAU,QACVC,SAAUlC,EAAAA,GACT,CACDiC,SAAU,QACVC,SAAUhC,EAAAA,IAEZiC,cAAeA,EAAAA,I,wBCpBjB,IAAIC,EACJ,GAA0B,kBAAff,WACVe,EAAcf,gBAEd,IACCe,EAAcC,EAAQ,MACvB,CAAE,MAAOlJ,GACT,CAAE,QAED,GADKiJ,GAAiC,qBAAXrI,SAA0BqI,EAAcrI,SAC9DqI,EAAe,MAAM,IAAInB,MAAM,kCACrC,CAGD,IAAIqB,EAAkBF,EAAYG,WAAaH,EAAYI,aACvDC,EAAoBJ,EAAQ,OAMhC,SAAS1H,EAAa+H,EAAKC,GAiB1B,OAdIA,EACe,IAAIL,EAAgBI,EAAKC,GAGzB,IAAIL,EAAgBI,EAWxC,CACIJ,GACH,CAAC,aAAc,OAAQ,UAAW,UAAUM,SAAQ,SAASC,GAC5DtH,OAAO+F,eAAe3G,EAAckI,EAAM,CACzCrB,IAAK,WAAa,OAAOc,EAAgBO,EAAO,GAElD,IAMD3B,EAAOC,QAAU,CACb,aAAiBmB,EAAkB3H,EAAe,KAClD,QAAiB8H,E,wBCpDrBvB,EAAOC,QAAU,EAAjBD,OAAAA,O","sources":["screens/Console/Common/DistributedOnly/DistributedOnly.tsx","screens/Console/Heal/Heal.tsx","../node_modules/es5-ext/global.js","../node_modules/recharts/es6/chart/BarChart.js","../node_modules/websocket/lib/browser.js","../node_modules/websocket/lib/version.js"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport { HelpBox, Box, Grid, breakPoints } from \"mds\";\n\ninterface IDistributedOnly {\n iconComponent: any;\n entity: string;\n}\n\nconst DistributedOnly = ({ iconComponent, entity }: IDistributedOnly) => {\n return (\n \n \n \n \n This feature is not available for a single-disk setup. \n \n \n Please deploy a server in{\" \"}\n \n Distributed Mode\n {\" \"}\n to use this feature.\n \n \n }\n />\n \n \n );\n};\n\nexport default DistributedOnly;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { IMessageEvent, w3cwebsocket as W3CWebSocket } from \"websocket\";\nimport {\n Box,\n Button,\n Checkbox,\n Grid,\n HealIcon,\n InputBox,\n InputLabel,\n PageLayout,\n Select,\n} from \"mds\";\nimport {\n Bar,\n BarChart,\n CartesianGrid,\n Legend,\n ResponsiveContainer,\n Tooltip,\n XAxis,\n YAxis,\n} from \"recharts\";\n\nimport { api } from \"api\";\nimport { Bucket } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport { wsProtocol } from \"../../../utils/wsUtils\";\nimport { colorH, HealStatus } from \"./types\";\nimport { niceBytes } from \"../../../common/utils\";\nimport { modalStyleUtils } from \"../Common/FormComponents/common/styleLibrary\";\nimport {\n CONSOLE_UI_RESOURCE,\n IAM_SCOPES,\n} from \"../../../common/SecureComponent/permissions\";\nimport { selDistSet, setHelpName } from \"../../../systemSlice\";\nimport { SecureComponent } from \"../../../common/SecureComponent\";\nimport { useAppDispatch } from \"../../../store\";\nimport DistributedOnly from \"../Common/DistributedOnly/DistributedOnly\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport HelpMenu from \"../HelpMenu\";\n\nconst Heal = () => {\n const distributedSetup = useSelector(selDistSet);\n\n const [start, setStart] = useState(false);\n const [bucketName, setBucketName] = useState(\"\");\n const [bucketList, setBucketList] = useState([]);\n const [prefix, setPrefix] = useState(\"\");\n const [recursive, setRecursive] = useState(false);\n const [forceStart, setForceStart] = useState(false);\n const [forceStop, setForceStop] = useState(false);\n // healStatus states\n const [hStatus, setHStatus] = useState({\n beforeHeal: [0, 0, 0, 0],\n afterHeal: [0, 0, 0, 0],\n objectsHealed: 0,\n objectsScanned: 0,\n healDuration: 0,\n sizeScanned: \"\",\n });\n\n const fetchBucketList = () => {\n api.buckets\n .listBuckets()\n .then((res) => {\n let buckets: Bucket[] = [];\n if (res.data.buckets) {\n buckets = res.data.buckets;\n }\n setBucketList(buckets);\n })\n .catch((err) => {\n console.error(errorToHandler(err.error));\n });\n };\n\n useEffect(() => {\n fetchBucketList();\n }, []);\n\n // forceStart and forceStop need to be mutually exclusive\n useEffect(() => {\n if (forceStart) {\n setForceStop(false);\n }\n }, [forceStart]);\n\n useEffect(() => {\n if (forceStop) {\n setForceStart(false);\n }\n }, [forceStop]);\n\n const colorHealthArr = (color: colorH) => {\n return [color.Green, color.Yellow, color.Red, color.Grey];\n };\n\n useEffect(() => {\n // begin watch if bucketName in bucketList and start pressed\n if (start) {\n // values stored here to update chart\n const cB: colorH = { Green: 0, Yellow: 0, Red: 0, Grey: 0 };\n const cA: colorH = { Green: 0, Yellow: 0, Red: 0, Grey: 0 };\n\n const url = new URL(window.location.toString());\n const isDev = process.env.NODE_ENV === \"development\";\n const port = isDev ? \"9090\" : url.port;\n\n // check if we are using base path, if not this always is `/`\n const baseLocation = new URL(document.baseURI);\n const baseUrl = baseLocation.pathname;\n\n const wsProt = wsProtocol(url.protocol);\n const c = new W3CWebSocket(\n `${wsProt}://${url.hostname}:${port}${baseUrl}ws/heal/${bucketName}?prefix=${prefix}&recursive=${recursive}&force-start=${forceStart}&force-stop=${forceStop}`,\n );\n\n if (c !== null) {\n c.onopen = () => {\n console.log(\"WebSocket Client Connected\");\n c.send(\"ok\");\n };\n c.onmessage = (message: IMessageEvent) => {\n let m: HealStatus = JSON.parse(message.data.toString());\n // Store percentage per health color\n for (const [key, value] of Object.entries(m.healthAfterCols)) {\n cA[key] = (value * 100) / m.itemsScanned;\n }\n for (const [key, value] of Object.entries(m.healthBeforeCols)) {\n cB[key] = (value * 100) / m.itemsScanned;\n }\n setHStatus({\n beforeHeal: colorHealthArr(cB),\n afterHeal: colorHealthArr(cA),\n objectsHealed: m.objectsHealed,\n objectsScanned: m.objectsScanned,\n healDuration: m.healDuration,\n sizeScanned: niceBytes(m.bytesScanned.toString()),\n });\n };\n c.onclose = () => {\n setStart(false);\n console.log(\"connection closed by server\");\n };\n return () => {\n // close websocket on useEffect cleanup\n c.close(1000);\n console.log(\"closing websockets\");\n };\n }\n }\n }, [start, bucketName, forceStart, forceStop, prefix, recursive]);\n\n let data = [\n {\n name: \"Green\",\n ah: hStatus.afterHeal[0],\n bh: hStatus.beforeHeal[0],\n amt: 100,\n },\n {\n name: \"Yellow\",\n ah: hStatus.afterHeal[1],\n bh: hStatus.beforeHeal[1],\n amt: 100,\n },\n {\n name: \"Red\",\n ah: hStatus.afterHeal[2],\n bh: hStatus.beforeHeal[2],\n amt: 100,\n },\n {\n name: \"Grey\",\n ah: hStatus.afterHeal[3],\n bh: hStatus.beforeHeal[3],\n amt: 100,\n },\n ];\n const bucketNames = bucketList.map((bucketName) => ({\n label: bucketName.name,\n value: bucketName.name,\n }));\n const dispatch = useAppDispatch();\n useEffect(() => {\n dispatch(setHelpName(\"heal\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n } />\n\n \n {!distributedSetup ? (\n } />\n ) : (\n \n \n \n \n Bucket\n {\n setBucketName(value as string);\n }}\n options={bucketNames}\n placeholder={\"Select Bucket\"}\n />\n \n \n Prefix\n {\n setPrefix(e.target.value);\n }}\n />\n \n \n \n \n {\n setRecursive(!recursive);\n }}\n disabled={false}\n label=\"Recursive\"\n />\n \n \n {\n setForceStart(!forceStart);\n }}\n disabled={false}\n label=\"Force Start\"\n />\n \n \n {\n setForceStop(!forceStop);\n }}\n disabled={false}\n label=\"Force Stop\"\n />\n \n \n \n setStart(true)}\n label={\"Start\"}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Size scanned: {hStatus.sizeScanned}\n \n \n Objects healed: {hStatus.objectsHealed} /{\" \"}\n {hStatus.objectsScanned}\n \n \n Healing time: {hStatus.healDuration}s\n \n \n \n \n )}\n \n \n );\n};\n\nexport default Heal;\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Fallback to standard globalThis if available\n\tif (typeof globalThis === \"object\" && globalThis) return globalThis;\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of updates to Object.prototype being restricted\n\t\t// via preventExtensions, seal or freeze\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ works, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","/**\n * @fileOverview Bar Chart\n */\nimport { generateCategoricalChart } from './generateCategoricalChart';\nimport { Bar } from '../cartesian/Bar';\nimport { XAxis } from '../cartesian/XAxis';\nimport { YAxis } from '../cartesian/YAxis';\nimport { formatAxisMap } from '../util/CartesianUtils';\nexport var BarChart = generateCategoricalChart({\n chartName: 'BarChart',\n GraphicalChild: Bar,\n defaultTooltipEventType: 'axis',\n validateTooltipEventTypes: ['axis', 'item'],\n axisComponents: [{\n axisType: 'xAxis',\n AxisComp: XAxis\n }, {\n axisType: 'yAxis',\n AxisComp: YAxis\n }],\n formatAxisMap: formatAxisMap\n});","var _globalThis;\nif (typeof globalThis === 'object') {\n\t_globalThis = globalThis;\n} else {\n\ttry {\n\t\t_globalThis = require('es5-ext/global');\n\t} catch (error) {\n\t} finally {\n\t\tif (!_globalThis && typeof window !== 'undefined') { _globalThis = window; }\n\t\tif (!_globalThis) { throw new Error('Could not determine global this'); }\n\t}\n}\n\nvar NativeWebSocket = _globalThis.WebSocket || _globalThis.MozWebSocket;\nvar websocket_version = require('./version');\n\n\n/**\n * Expose a W3C WebSocket class with just one or two arguments.\n */\nfunction W3CWebSocket(uri, protocols) {\n\tvar native_instance;\n\n\tif (protocols) {\n\t\tnative_instance = new NativeWebSocket(uri, protocols);\n\t}\n\telse {\n\t\tnative_instance = new NativeWebSocket(uri);\n\t}\n\n\t/**\n\t * 'native_instance' is an instance of nativeWebSocket (the browser's WebSocket\n\t * class). Since it is an Object it will be returned as it is when creating an\n\t * instance of W3CWebSocket via 'new W3CWebSocket()'.\n\t *\n\t * ECMAScript 5: http://bclary.com/2004/11/07/#a-13.2.2\n\t */\n\treturn native_instance;\n}\nif (NativeWebSocket) {\n\t['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'].forEach(function(prop) {\n\t\tObject.defineProperty(W3CWebSocket, prop, {\n\t\t\tget: function() { return NativeWebSocket[prop]; }\n\t\t});\n\t});\n}\n\n/**\n * Module exports.\n */\nmodule.exports = {\n 'w3cwebsocket' : NativeWebSocket ? W3CWebSocket : null,\n 'version' : websocket_version\n};\n","module.exports = require('../package.json').version;\n"],"names":["_ref","iconComponent","entity","_jsx","Grid","container","children","item","xs","HelpBox","title","concat","help","_jsxs","Box","sx","_defineProperty","fontSize","breakPoints","sm","display","flexFlow","href","target","rel","distributedSetup","useSelector","selDistSet","_useState","useState","_useState2","_slicedToArray","start","setStart","_useState3","_useState4","bucketName","setBucketName","_useState5","_useState6","bucketList","setBucketList","_useState7","_useState8","prefix","setPrefix","_useState9","_useState10","recursive","setRecursive","_useState11","_useState12","forceStart","setForceStart","_useState13","_useState14","forceStop","setForceStop","_useState15","beforeHeal","afterHeal","objectsHealed","objectsScanned","healDuration","sizeScanned","_useState16","hStatus","setHStatus","useEffect","api","buckets","listBuckets","then","res","data","catch","err","console","error","errorToHandler","colorHealthArr","color","Green","Yellow","Red","Grey","cB","cA","url","URL","window","location","toString","port","baseUrl","document","baseURI","pathname","wsProt","wsProtocol","protocol","c","W3CWebSocket","hostname","onopen","log","send","onmessage","message","m","JSON","parse","_i","_Object$entries","Object","entries","healthAfterCols","length","_Object$entries$_i","key","value","itemsScanned","_i2","_Object$entries2","healthBeforeCols","_Object$entries2$_i","niceBytes","bytesScanned","onclose","close","name","ah","bh","amt","bucketNames","map","label","dispatch","useAppDispatch","setHelpName","Fragment","PageHeaderWrapper","actions","HelpMenu","PageLayout","SecureComponent","scopes","IAM_SCOPES","ADMIN_HEAL","resource","CONSOLE_UI_RESOURCE","withBorders","alignItems","marginBottom","gap","flexGrow","width","InputLabel","Select","id","onChange","options","placeholder","InputBox","disabled","e","Checkbox","checked","modalStyleUtils","modalButtonBar","Button","type","variant","onClick","marginTop","listStyle","content","ResponsiveContainer","height","BarChart","margin","top","right","left","bottom","CartesianGrid","strokeDasharray","XAxis","dataKey","YAxis","Tooltip","Legend","verticalAlign","layout","className","Bar","fill","stroke","flexDirection","justifyContent","DistributedOnly","HealIcon","naiveFallback","self","Error","module","exports","this","globalThis","defineProperty","prototype","get","configurable","__global__","generateCategoricalChart","chartName","GraphicalChild","defaultTooltipEventType","validateTooltipEventTypes","axisComponents","axisType","AxisComp","formatAxisMap","_globalThis","require","NativeWebSocket","WebSocket","MozWebSocket","websocket_version","uri","protocols","forEach","prop"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/191.7f06526e.chunk.js b/portal-ui/build/static/js/191.7f06526e.chunk.js deleted file mode 100644 index cd81607e21..0000000000 --- a/portal-ui/build/static/js/191.7f06526e.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[191],{75578:function(e,n,t){var s=t(1413),r=t(72791),o=t(80184);n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(t){return(0,o.jsx)(r.Suspense,{fallback:n,children:(0,o.jsx)(e,(0,s.Z)({},t))})}}},60191:function(e,n,t){t.r(n);var s=t(93433),r=t(29439),o=t(72791),i=t(57689),c=t(29945),l=t(31776),a=t(21639),u=t(23814),d=t(56087),p=t(38442),h=t(82342),f=t(75578),x=t(45248),j=t(87995),m=t(44690),g=t(27454),y=t(47974),v=t(99670),C=t(81806),b=t(59114),Z=t(80184),G=(0,f.Z)(o.lazy((function(){return t.e(8896).then(t.bind(t,88896))}))),k=(0,f.Z)(o.lazy((function(){return t.e(9134).then(t.bind(t,39134))})));n.default=function(){var e=(0,m.TL)(),n=(0,i.s0)(),t=(0,o.useState)(!1),f=(0,r.Z)(t,2),A=f[0],S=f[1],F=(0,o.useState)(!1),P=(0,r.Z)(F,2),w=P[0],K=P[1],M=(0,o.useState)([]),D=(0,r.Z)(M,2),O=D[0],_=D[1],I=(0,o.useState)(""),R=(0,r.Z)(I,2),z=R[0],E=R[1],L=(0,o.useState)(!1),T=(0,r.Z)(L,2),X=T[0],N=T[1],U=(0,o.useState)([]),B=(0,r.Z)(U,2),Q=B[0],V=B[1];(0,o.useEffect)((function(){K(!0)}),[]),(0,o.useEffect)((function(){K(!0)}),[]),(0,o.useEffect)((function(){e((0,j.Sc)("groups"))}),[]);var J=(0,p.F)(d.C3,d.vh),W=(0,p.F)(d.C3,d.oX),Y=(0,p.F)(d.C3,d.k_),q=(0,p.F)(d.C3,d.fC,!0);(0,o.useEffect)((function(){if(w)if(J){l.h.groups.listGroups().then((function(e){var n=[];e.data.groups&&(n=e.data.groups.sort(a.V2)),_(n),K(!1)})).catch((function(n){e((0,j.Ih)((0,h.g)(n.error))),K(!1)}))}else K(!1)}),[w,e,J]);var H=O.filter((function(e){return e.includes(z)})),$=function(e){n("".concat(d.gA.GROUPS,"/").concat((0,x.LL)(e)))},ee=[{type:"view",onClick:$,disableButtonFunction:function(){return!Y}},{type:"edit",onClick:$,disableButtonFunction:function(){return!Y}}];return(0,Z.jsxs)(o.Fragment,{children:[A&&(0,Z.jsx)(G,{deleteOpen:A,selectedGroups:Q,closeDeleteModalAndRefresh:function(e){S(!1),V([]),e&&K(!0)}}),X&&(0,Z.jsx)(k,{open:X,selectedGroups:Q,selectedUser:null,closeModalAndRefresh:function(){N(!1)}}),(0,Z.jsx)(y.Z,{label:"Groups",actions:(0,Z.jsx)(v.Z,{})}),(0,Z.jsx)(c.Xgh,{children:(0,Z.jsxs)(c.rjZ,{container:!0,children:[(0,Z.jsxs)(c.rjZ,{item:!0,xs:12,sx:u.OR.actionsTray,children:[(0,Z.jsx)(p.s,{resource:d.C3,scopes:d.vh,errorProps:{disabled:!0},children:(0,Z.jsx)(b.Z,{placeholder:"Search Groups",onChange:E,value:z,sx:{maxWidth:380}})}),(0,Z.jsxs)(c.xuv,{sx:{display:"flex"},children:[(0,Z.jsx)(p.s,{resource:d.C3,scopes:d.fC,matchAll:!0,errorProps:{disabled:!0},children:(0,Z.jsx)(g.Z,{tooltip:Q.length<1?"Please select Groups on which you want to apply Policies":q?"Select Policy":(0,d.MK)(d.fC,"apply policies to Groups"),children:(0,Z.jsx)(c.zxk,{id:"assign-policy",onClick:function(){N(!0)},label:"Assign Policy",icon:(0,Z.jsx)(c.v42,{}),disabled:Q.length<1||!q,variant:"regular"})})}),(0,Z.jsx)(p.s,{resource:d.C3,scopes:d.oX,matchAll:!0,errorProps:{disabled:!0},children:(0,Z.jsx)(g.Z,{tooltip:0===Q.length?"Select Groups to delete":Y?"Delete Selected":(0,d.MK)(d.k_,"delete Groups"),children:(0,Z.jsx)(c.zxk,{id:"delete-selected-groups",onClick:function(){S(!0)},label:"Delete Selected",icon:(0,Z.jsx)(c.pJl,{}),variant:"secondary",disabled:0===Q.length||!Y})})}),(0,Z.jsx)(p.s,{resource:d.C3,scopes:d.vN,matchAll:!0,errorProps:{disabled:!0},children:(0,Z.jsx)(g.Z,{tooltip:"Create Group",children:(0,Z.jsx)(c.zxk,{id:"create-group",label:"Create Group",variant:"callAction",icon:(0,Z.jsx)(c.dtP,{}),onClick:function(){n("".concat(d.gA.GROUPS_ADD))}})})})]})]}),w&&(0,Z.jsx)(c.kod,{}),!w&&(0,Z.jsxs)(o.Fragment,{children:[O.length>0&&(0,Z.jsxs)(o.Fragment,{children:[(0,Z.jsx)(c.rjZ,{item:!0,xs:12,sx:{marginBottom:15},children:(0,Z.jsx)(p.s,{resource:d.C3,scopes:d.vh,errorProps:{disabled:!0},children:(0,Z.jsx)(c.wQF,{itemActions:ee,columns:[{label:"Name"}],isLoading:w,selectedItems:Q,onSelect:W||Y?function(e){var n=e.target,t=void 0===n?{}:n,r=t.value,o=void 0===r?"":r,i=t.checked,c=void 0!==i&&i,l=(0,s.Z)(Q);return c?l.push(o):l=l.filter((function(e){return e!==o})),V(l),l}:void 0,records:H,entityName:"Groups",idField:""})})}),(0,Z.jsx)(c.rjZ,{item:!0,xs:12,children:(0,Z.jsx)(c.KfX,{title:"Groups",iconComponent:(0,Z.jsx)(c.wws,{}),help:(0,Z.jsxs)(o.Fragment,{children:["A group can have one attached IAM policy, where all users with membership in that group inherit that policy. Groups support more simplified management of user permissions on the MinIO Tenant.",(0,Z.jsx)("br",{}),(0,Z.jsx)("br",{}),"You can learn more at our"," ",(0,Z.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/identity-access-management/minio-group-management.html?ref=con",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]}),0===O.length&&(0,Z.jsx)(c.rjZ,{container:!0,children:(0,Z.jsx)(c.rjZ,{item:!0,xs:8,children:(0,Z.jsx)(c.KfX,{title:"Groups",iconComponent:(0,Z.jsx)(c.oyc,{}),help:(0,Z.jsxs)(o.Fragment,{children:["A group can have one attached IAM policy, where all users with membership in that group inherit that policy. Groups support more simplified management of user permissions on the MinIO Tenant.",(0,Z.jsxs)(p.s,{resource:d.C3,scopes:d.vN,matchAll:!0,children:[(0,Z.jsx)("br",{}),(0,Z.jsx)("br",{}),"To get started,"," ",(0,Z.jsx)(C.Z,{onClick:function(){n("".concat(d.gA.GROUPS_ADD))},children:"Create a Group"}),"."]})]})})})})]})]})})]})}},21639:function(e,n,t){t.d(n,{KE:function(){return i},LQ:function(){return s},V2:function(){return o},g4:function(){return r}});var s=function(e,n){if(e.accessKey&&n.accessKey){if(e.accessKey>n.accessKey)return 1;if(e.accessKeyn.name?1:e.namen?1:en.policy?1:e.policy.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense

(\n WrappedComponent: ComponentType

,\n fallback: SuspenseProps[\"fallback\"] = null,\n) {\n function ComponentWithSuspense(props: P) {\n return (\n \n \n \n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport {\n AddIcon,\n Button,\n DeleteIcon,\n GroupsIcon,\n HelpBox,\n IAMPoliciesIcon,\n PageLayout,\n UsersIcon,\n DataTable,\n Grid,\n Box,\n ProgressBar,\n} from \"mds\";\n\nimport { api } from \"api\";\nimport { stringSort } from \"../../../utils/sortFunctions\";\nimport { actionsTray } from \"../Common/FormComponents/common/styleLibrary\";\nimport {\n applyPolicyPermissions,\n CONSOLE_UI_RESOURCE,\n createGroupPermissions,\n deleteGroupPermissions,\n displayGroupsPermissions,\n getGroupPermissions,\n IAM_PAGES,\n permissionTooltipHelper,\n} from \"../../../common/SecureComponent/permissions\";\nimport {\n hasPermission,\n SecureComponent,\n} from \"../../../common/SecureComponent\";\nimport { errorToHandler } from \"../../../api/errors\";\nimport withSuspense from \"../Common/Components/withSuspense\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage, setHelpName } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport TooltipWrapper from \"../Common/TooltipWrapper/TooltipWrapper\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport HelpMenu from \"../HelpMenu\";\nimport AButton from \"../Common/AButton/AButton\";\nimport SearchBox from \"../Common/SearchBox\";\n\nconst DeleteGroup = withSuspense(React.lazy(() => import(\"./DeleteGroup\")));\nconst SetPolicy = withSuspense(\n React.lazy(() => import(\"../Policies/SetPolicy\")),\n);\n\nconst Groups = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n\n const [deleteOpen, setDeleteOpen] = useState(false);\n const [loading, isLoading] = useState(false);\n const [records, setRecords] = useState([]);\n const [filter, setFilter] = useState(\"\");\n const [policyOpen, setPolicyOpen] = useState(false);\n const [checkedGroups, setCheckedGroups] = useState([]);\n\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n dispatch(setHelpName(\"groups\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const displayGroups = hasPermission(\n CONSOLE_UI_RESOURCE,\n displayGroupsPermissions,\n );\n\n const deleteGroup = hasPermission(\n CONSOLE_UI_RESOURCE,\n deleteGroupPermissions,\n );\n\n const getGroup = hasPermission(CONSOLE_UI_RESOURCE, getGroupPermissions);\n\n const applyPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n applyPolicyPermissions,\n true,\n );\n\n const selectionChanged = (e: React.ChangeEvent) => {\n const { target: { value = \"\", checked = false } = {} } = e;\n\n let elements: string[] = [...checkedGroups]; // We clone the checkedUsers array\n\n if (checked) {\n // If the user has checked this field we need to push this to checkedUsersList\n elements.push(value);\n } else {\n // User has unchecked this field, we need to remove it from the list\n elements = elements.filter((element) => element !== value);\n }\n\n setCheckedGroups(elements);\n\n return elements;\n };\n\n useEffect(() => {\n if (loading) {\n if (displayGroups) {\n const fetchRecords = () => {\n api.groups\n .listGroups()\n .then((res) => {\n let resGroups: string[] = [];\n if (res.data.groups) {\n resGroups = res.data.groups.sort(stringSort);\n }\n setRecords(resGroups);\n isLoading(false);\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n isLoading(false);\n });\n };\n fetchRecords();\n } else {\n isLoading(false);\n }\n }\n }, [loading, dispatch, displayGroups]);\n\n const closeDeleteModalAndRefresh = (refresh: boolean) => {\n setDeleteOpen(false);\n setCheckedGroups([]);\n if (refresh) {\n isLoading(true);\n }\n };\n\n const filteredRecords = records.filter((elementItem) =>\n elementItem.includes(filter),\n );\n\n const viewAction = (group: any) => {\n navigate(`${IAM_PAGES.GROUPS}/${encodeURLString(group)}`);\n };\n\n const tableActions = [\n {\n type: \"view\",\n onClick: viewAction,\n disableButtonFunction: () => !getGroup,\n },\n {\n type: \"edit\",\n onClick: viewAction,\n disableButtonFunction: () => !getGroup,\n },\n ];\n\n return (\n \n {deleteOpen && (\n \n )}\n {policyOpen && (\n {\n setPolicyOpen(false);\n }}\n />\n )}\n } />\n\n \n \n \n \n \n \n \n \n \n {\n setPolicyOpen(true);\n }}\n label={\"Assign Policy\"}\n icon={}\n disabled={checkedGroups.length < 1 || !applyPolicy}\n variant={\"regular\"}\n />\n \n \n \n \n {\n setDeleteOpen(true);\n }}\n label={\"Delete Selected\"}\n icon={}\n variant=\"secondary\"\n disabled={checkedGroups.length === 0 || !getGroup}\n />\n \n \n \n \n }\n onClick={() => {\n navigate(`${IAM_PAGES.GROUPS_ADD}`);\n }}\n />\n \n \n \n \n {loading && }\n {!loading && (\n \n {records.length > 0 && (\n \n \n \n \n \n \n \n }\n help={\n \n A group can have one attached IAM policy, where all\n users with membership in that group inherit that\n policy. Groups support more simplified management of\n user permissions on the MinIO Tenant.\n
\n
\n You can learn more at our{\" \"}\n \n documentation\n \n .\n
\n }\n />\n
\n
\n )}\n {records.length === 0 && (\n \n \n }\n help={\n \n A group can have one attached IAM policy, where all\n users with membership in that group inherit that\n policy. Groups support more simplified management of\n user permissions on the MinIO Tenant.\n \n
\n
\n To get started,{\" \"}\n {\n navigate(`${IAM_PAGES.GROUPS_ADD}`);\n }}\n >\n Create a Group\n \n .\n \n
\n }\n />\n
\n
\n )}\n
\n )}\n
\n
\n
\n );\n};\n\nexport default Groups;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { Policy, User } from \"api/consoleApi\";\n\ninterface policyDetailsInterface {\n policy: string;\n}\n\nexport const usersSort = (a: User, b: User) => {\n if (a.accessKey && b.accessKey) {\n if (a.accessKey > b.accessKey) {\n return 1;\n }\n if (a.accessKey < b.accessKey) {\n return -1;\n }\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policySort = (a: Policy, b: Policy) => {\n if (a.name! > b.name!) {\n return 1;\n }\n if (a.name! < b.name!) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const stringSort = (a: string, b: string) => {\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policyDetailsSort = (\n a: policyDetailsInterface,\n b: policyDetailsInterface,\n) => {\n if (a.policy > b.policy) {\n return 1;\n }\n if (a.policy < b.policy) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","_objectSpread","DeleteGroup","withSuspense","React","SetPolicy","dispatch","useAppDispatch","navigate","useNavigate","_useState","useState","_useState2","_slicedToArray","deleteOpen","setDeleteOpen","_useState3","_useState4","loading","isLoading","_useState5","_useState6","records","setRecords","_useState7","_useState8","filter","setFilter","_useState9","_useState10","policyOpen","setPolicyOpen","_useState11","_useState12","checkedGroups","setCheckedGroups","useEffect","setHelpName","displayGroups","hasPermission","CONSOLE_UI_RESOURCE","displayGroupsPermissions","deleteGroup","deleteGroupPermissions","getGroup","getGroupPermissions","applyPolicy","applyPolicyPermissions","api","groups","listGroups","then","res","resGroups","data","sort","stringSort","catch","err","setErrorSnackMessage","errorToHandler","error","filteredRecords","elementItem","includes","viewAction","group","concat","IAM_PAGES","GROUPS","encodeURLString","tableActions","type","onClick","disableButtonFunction","_jsxs","Fragment","selectedGroups","closeDeleteModalAndRefresh","refresh","open","selectedUser","closeModalAndRefresh","PageHeaderWrapper","label","actions","HelpMenu","PageLayout","Grid","container","item","xs","sx","actionsTray","SecureComponent","resource","scopes","errorProps","disabled","SearchBox","placeholder","onChange","value","maxWidth","Box","display","matchAll","TooltipWrapper","tooltip","permissionTooltipHelper","Button","id","icon","IAMPoliciesIcon","variant","DeleteIcon","createGroupPermissions","AddIcon","GROUPS_ADD","ProgressBar","marginBottom","DataTable","itemActions","columns","selectedItems","onSelect","e","_e$target","target","_e$target2","_e$target2$value","_e$target2$checked","checked","elements","_toConsumableArray","push","element","entityName","idField","HelpBox","title","iconComponent","GroupsIcon","help","href","rel","UsersIcon","AButton","usersSort","a","b","accessKey","policySort","name","policyDetailsSort","policy"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/191.d24fde8f.chunk.js b/portal-ui/build/static/js/191.d24fde8f.chunk.js new file mode 100644 index 0000000000..5cd8c20aee --- /dev/null +++ b/portal-ui/build/static/js/191.d24fde8f.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[191],{75578:function(e,n,t){var s=t(1413),r=t(72791),o=t(80184);n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(t){return(0,o.jsx)(r.Suspense,{fallback:n,children:(0,o.jsx)(e,(0,s.Z)({},t))})}}},60191:function(e,n,t){t.r(n);var s=t(93433),r=t(29439),o=t(72791),i=t(57689),c=t(29945),l=t(31776),a=t(21639),u=t(23814),d=t(56087),p=t(38442),h=t(82342),f=t(75578),x=t(45248),j=t(87995),m=t(44690),g=t(27454),v=t(47974),y=t(99670),C=t(59114),b=t(80184),Z=(0,f.Z)(o.lazy((function(){return t.e(8896).then(t.bind(t,88896))}))),G=(0,f.Z)(o.lazy((function(){return t.e(9134).then(t.bind(t,39134))})));n.default=function(){var e=(0,m.TL)(),n=(0,i.s0)(),t=(0,o.useState)(!1),f=(0,r.Z)(t,2),k=f[0],A=f[1],S=(0,o.useState)(!1),F=(0,r.Z)(S,2),P=F[0],w=F[1],K=(0,o.useState)([]),M=(0,r.Z)(K,2),D=M[0],O=M[1],_=(0,o.useState)(""),I=(0,r.Z)(_,2),R=I[0],T=I[1],z=(0,o.useState)(!1),E=(0,r.Z)(z,2),L=E[0],X=E[1],N=(0,o.useState)([]),U=(0,r.Z)(N,2),B=U[0],Q=U[1];(0,o.useEffect)((function(){w(!0)}),[]),(0,o.useEffect)((function(){w(!0)}),[]),(0,o.useEffect)((function(){e((0,j.Sc)("groups"))}),[]);var V=(0,p.F)(d.C3,d.vh),J=(0,p.F)(d.C3,d.oX),W=(0,p.F)(d.C3,d.k_),Y=(0,p.F)(d.C3,d.fC,!0);(0,o.useEffect)((function(){if(P)if(V){l.h.groups.listGroups().then((function(e){var n=[];e.data.groups&&(n=e.data.groups.sort(a.V2)),O(n),w(!1)})).catch((function(n){e((0,j.Ih)((0,h.g)(n.error))),w(!1)}))}else w(!1)}),[P,e,V]);var q=D.filter((function(e){return e.includes(R)})),H=function(e){n("".concat(d.gA.GROUPS,"/").concat((0,x.LL)(e)))},$=[{type:"view",onClick:H,disableButtonFunction:function(){return!W}},{type:"edit",onClick:H,disableButtonFunction:function(){return!W}}];return(0,b.jsxs)(o.Fragment,{children:[k&&(0,b.jsx)(Z,{deleteOpen:k,selectedGroups:B,closeDeleteModalAndRefresh:function(e){A(!1),Q([]),e&&w(!0)}}),L&&(0,b.jsx)(G,{open:L,selectedGroups:B,selectedUser:null,closeModalAndRefresh:function(){X(!1)}}),(0,b.jsx)(v.Z,{label:"Groups",actions:(0,b.jsx)(y.Z,{})}),(0,b.jsx)(c.Xgh,{children:(0,b.jsxs)(c.rjZ,{container:!0,children:[(0,b.jsxs)(c.rjZ,{item:!0,xs:12,sx:u.OR.actionsTray,children:[(0,b.jsx)(p.s,{resource:d.C3,scopes:d.vh,errorProps:{disabled:!0},children:(0,b.jsx)(C.Z,{placeholder:"Search Groups",onChange:T,value:R,sx:{maxWidth:380}})}),(0,b.jsxs)(c.xuv,{sx:{display:"flex"},children:[(0,b.jsx)(p.s,{resource:d.C3,scopes:d.fC,matchAll:!0,errorProps:{disabled:!0},children:(0,b.jsx)(g.Z,{tooltip:B.length<1?"Please select Groups on which you want to apply Policies":Y?"Select Policy":(0,d.MK)(d.fC,"apply policies to Groups"),children:(0,b.jsx)(c.zxk,{id:"assign-policy",onClick:function(){X(!0)},label:"Assign Policy",icon:(0,b.jsx)(c.v42,{}),disabled:B.length<1||!Y,variant:"regular"})})}),(0,b.jsx)(p.s,{resource:d.C3,scopes:d.oX,matchAll:!0,errorProps:{disabled:!0},children:(0,b.jsx)(g.Z,{tooltip:0===B.length?"Select Groups to delete":W?"Delete Selected":(0,d.MK)(d.k_,"delete Groups"),children:(0,b.jsx)(c.zxk,{id:"delete-selected-groups",onClick:function(){A(!0)},label:"Delete Selected",icon:(0,b.jsx)(c.pJl,{}),variant:"secondary",disabled:0===B.length||!W})})}),(0,b.jsx)(p.s,{resource:d.C3,scopes:d.vN,matchAll:!0,errorProps:{disabled:!0},children:(0,b.jsx)(g.Z,{tooltip:"Create Group",children:(0,b.jsx)(c.zxk,{id:"create-group",label:"Create Group",variant:"callAction",icon:(0,b.jsx)(c.dtP,{}),onClick:function(){n("".concat(d.gA.GROUPS_ADD))}})})})]})]}),P&&(0,b.jsx)(c.kod,{}),!P&&(0,b.jsxs)(o.Fragment,{children:[D.length>0&&(0,b.jsxs)(o.Fragment,{children:[(0,b.jsx)(c.rjZ,{item:!0,xs:12,sx:{marginBottom:15},children:(0,b.jsx)(p.s,{resource:d.C3,scopes:d.vh,errorProps:{disabled:!0},children:(0,b.jsx)(c.wQF,{itemActions:$,columns:[{label:"Name"}],isLoading:P,selectedItems:B,onSelect:J||W?function(e){var n=e.target,t=void 0===n?{}:n,r=t.value,o=void 0===r?"":r,i=t.checked,c=void 0!==i&&i,l=(0,s.Z)(B);return c?l.push(o):l=l.filter((function(e){return e!==o})),Q(l),l}:void 0,records:q,entityName:"Groups",idField:""})})}),(0,b.jsx)(c.rjZ,{item:!0,xs:12,children:(0,b.jsx)(c.KfX,{title:"Groups",iconComponent:(0,b.jsx)(c.wws,{}),help:(0,b.jsxs)(o.Fragment,{children:["A group can have one attached IAM policy, where all users with membership in that group inherit that policy. Groups support more simplified management of user permissions on the MinIO Tenant.",(0,b.jsx)("br",{}),(0,b.jsx)("br",{}),"You can learn more at our"," ",(0,b.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/identity-access-management/minio-group-management.html?ref=con",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]}),0===D.length&&(0,b.jsx)(c.rjZ,{container:!0,children:(0,b.jsx)(c.rjZ,{item:!0,xs:8,children:(0,b.jsx)(c.KfX,{title:"Groups",iconComponent:(0,b.jsx)(c.oyc,{}),help:(0,b.jsxs)(o.Fragment,{children:["A group can have one attached IAM policy, where all users with membership in that group inherit that policy. Groups support more simplified management of user permissions on the MinIO Tenant.",(0,b.jsxs)(p.s,{resource:d.C3,scopes:d.vN,matchAll:!0,children:[(0,b.jsx)("br",{}),(0,b.jsx)("br",{}),"To get started,"," ",(0,b.jsx)(c.vmT,{onClick:function(){n("".concat(d.gA.GROUPS_ADD))},children:"Create a Group"}),"."]})]})})})})]})]})})]})}},21639:function(e,n,t){t.d(n,{KE:function(){return i},LQ:function(){return s},V2:function(){return o},g4:function(){return r}});var s=function(e,n){if(e.accessKey&&n.accessKey){if(e.accessKey>n.accessKey)return 1;if(e.accessKeyn.name?1:e.namen?1:en.policy?1:e.policy.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense

(\n WrappedComponent: ComponentType

,\n fallback: SuspenseProps[\"fallback\"] = null,\n) {\n function ComponentWithSuspense(props: P) {\n return (\n \n \n \n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport {\n AddIcon,\n Button,\n DeleteIcon,\n GroupsIcon,\n HelpBox,\n IAMPoliciesIcon,\n PageLayout,\n UsersIcon,\n DataTable,\n Grid,\n Box,\n ProgressBar,\n ActionLink,\n} from \"mds\";\n\nimport { api } from \"api\";\nimport { stringSort } from \"../../../utils/sortFunctions\";\nimport { actionsTray } from \"../Common/FormComponents/common/styleLibrary\";\nimport {\n applyPolicyPermissions,\n CONSOLE_UI_RESOURCE,\n createGroupPermissions,\n deleteGroupPermissions,\n displayGroupsPermissions,\n getGroupPermissions,\n IAM_PAGES,\n permissionTooltipHelper,\n} from \"../../../common/SecureComponent/permissions\";\nimport {\n hasPermission,\n SecureComponent,\n} from \"../../../common/SecureComponent\";\nimport { errorToHandler } from \"../../../api/errors\";\nimport withSuspense from \"../Common/Components/withSuspense\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage, setHelpName } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport TooltipWrapper from \"../Common/TooltipWrapper/TooltipWrapper\";\nimport PageHeaderWrapper from \"../Common/PageHeaderWrapper/PageHeaderWrapper\";\nimport HelpMenu from \"../HelpMenu\";\nimport SearchBox from \"../Common/SearchBox\";\n\nconst DeleteGroup = withSuspense(React.lazy(() => import(\"./DeleteGroup\")));\nconst SetPolicy = withSuspense(\n React.lazy(() => import(\"../Policies/SetPolicy\")),\n);\n\nconst Groups = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n\n const [deleteOpen, setDeleteOpen] = useState(false);\n const [loading, isLoading] = useState(false);\n const [records, setRecords] = useState([]);\n const [filter, setFilter] = useState(\"\");\n const [policyOpen, setPolicyOpen] = useState(false);\n const [checkedGroups, setCheckedGroups] = useState([]);\n\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n isLoading(true);\n }, []);\n\n useEffect(() => {\n dispatch(setHelpName(\"groups\"));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const displayGroups = hasPermission(\n CONSOLE_UI_RESOURCE,\n displayGroupsPermissions,\n );\n\n const deleteGroup = hasPermission(\n CONSOLE_UI_RESOURCE,\n deleteGroupPermissions,\n );\n\n const getGroup = hasPermission(CONSOLE_UI_RESOURCE, getGroupPermissions);\n\n const applyPolicy = hasPermission(\n CONSOLE_UI_RESOURCE,\n applyPolicyPermissions,\n true,\n );\n\n const selectionChanged = (e: React.ChangeEvent) => {\n const { target: { value = \"\", checked = false } = {} } = e;\n\n let elements: string[] = [...checkedGroups]; // We clone the checkedUsers array\n\n if (checked) {\n // If the user has checked this field we need to push this to checkedUsersList\n elements.push(value);\n } else {\n // User has unchecked this field, we need to remove it from the list\n elements = elements.filter((element) => element !== value);\n }\n\n setCheckedGroups(elements);\n\n return elements;\n };\n\n useEffect(() => {\n if (loading) {\n if (displayGroups) {\n const fetchRecords = () => {\n api.groups\n .listGroups()\n .then((res) => {\n let resGroups: string[] = [];\n if (res.data.groups) {\n resGroups = res.data.groups.sort(stringSort);\n }\n setRecords(resGroups);\n isLoading(false);\n })\n .catch((err) => {\n dispatch(setErrorSnackMessage(errorToHandler(err.error)));\n isLoading(false);\n });\n };\n fetchRecords();\n } else {\n isLoading(false);\n }\n }\n }, [loading, dispatch, displayGroups]);\n\n const closeDeleteModalAndRefresh = (refresh: boolean) => {\n setDeleteOpen(false);\n setCheckedGroups([]);\n if (refresh) {\n isLoading(true);\n }\n };\n\n const filteredRecords = records.filter((elementItem) =>\n elementItem.includes(filter),\n );\n\n const viewAction = (group: any) => {\n navigate(`${IAM_PAGES.GROUPS}/${encodeURLString(group)}`);\n };\n\n const tableActions = [\n {\n type: \"view\",\n onClick: viewAction,\n disableButtonFunction: () => !getGroup,\n },\n {\n type: \"edit\",\n onClick: viewAction,\n disableButtonFunction: () => !getGroup,\n },\n ];\n\n return (\n \n {deleteOpen && (\n \n )}\n {policyOpen && (\n {\n setPolicyOpen(false);\n }}\n />\n )}\n } />\n\n \n \n \n \n \n \n \n \n \n {\n setPolicyOpen(true);\n }}\n label={\"Assign Policy\"}\n icon={}\n disabled={checkedGroups.length < 1 || !applyPolicy}\n variant={\"regular\"}\n />\n \n \n \n \n {\n setDeleteOpen(true);\n }}\n label={\"Delete Selected\"}\n icon={}\n variant=\"secondary\"\n disabled={checkedGroups.length === 0 || !getGroup}\n />\n \n \n \n \n }\n onClick={() => {\n navigate(`${IAM_PAGES.GROUPS_ADD}`);\n }}\n />\n \n \n \n \n {loading && }\n {!loading && (\n \n {records.length > 0 && (\n \n \n \n \n \n \n \n }\n help={\n \n A group can have one attached IAM policy, where all\n users with membership in that group inherit that\n policy. Groups support more simplified management of\n user permissions on the MinIO Tenant.\n
\n
\n You can learn more at our{\" \"}\n \n documentation\n \n .\n
\n }\n />\n
\n
\n )}\n {records.length === 0 && (\n \n \n }\n help={\n \n A group can have one attached IAM policy, where all\n users with membership in that group inherit that\n policy. Groups support more simplified management of\n user permissions on the MinIO Tenant.\n \n
\n
\n To get started,{\" \"}\n {\n navigate(`${IAM_PAGES.GROUPS_ADD}`);\n }}\n >\n Create a Group\n \n .\n \n
\n }\n />\n
\n
\n )}\n
\n )}\n
\n
\n
\n );\n};\n\nexport default Groups;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { Policy, User } from \"api/consoleApi\";\n\ninterface policyDetailsInterface {\n policy: string;\n}\n\nexport const usersSort = (a: User, b: User) => {\n if (a.accessKey && b.accessKey) {\n if (a.accessKey > b.accessKey) {\n return 1;\n }\n if (a.accessKey < b.accessKey) {\n return -1;\n }\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policySort = (a: Policy, b: Policy) => {\n if (a.name! > b.name!) {\n return 1;\n }\n if (a.name! < b.name!) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const stringSort = (a: string, b: string) => {\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n\nexport const policyDetailsSort = (\n a: policyDetailsInterface,\n b: policyDetailsInterface,\n) => {\n if (a.policy > b.policy) {\n return 1;\n }\n if (a.policy < b.policy) {\n return -1;\n }\n // a must be equal to b\n return 0;\n};\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","_objectSpread","DeleteGroup","withSuspense","React","SetPolicy","dispatch","useAppDispatch","navigate","useNavigate","_useState","useState","_useState2","_slicedToArray","deleteOpen","setDeleteOpen","_useState3","_useState4","loading","isLoading","_useState5","_useState6","records","setRecords","_useState7","_useState8","filter","setFilter","_useState9","_useState10","policyOpen","setPolicyOpen","_useState11","_useState12","checkedGroups","setCheckedGroups","useEffect","setHelpName","displayGroups","hasPermission","CONSOLE_UI_RESOURCE","displayGroupsPermissions","deleteGroup","deleteGroupPermissions","getGroup","getGroupPermissions","applyPolicy","applyPolicyPermissions","api","groups","listGroups","then","res","resGroups","data","sort","stringSort","catch","err","setErrorSnackMessage","errorToHandler","error","filteredRecords","elementItem","includes","viewAction","group","concat","IAM_PAGES","GROUPS","encodeURLString","tableActions","type","onClick","disableButtonFunction","_jsxs","Fragment","selectedGroups","closeDeleteModalAndRefresh","refresh","open","selectedUser","closeModalAndRefresh","PageHeaderWrapper","label","actions","HelpMenu","PageLayout","Grid","container","item","xs","sx","actionsTray","SecureComponent","resource","scopes","errorProps","disabled","SearchBox","placeholder","onChange","value","maxWidth","Box","display","matchAll","TooltipWrapper","tooltip","permissionTooltipHelper","Button","id","icon","IAMPoliciesIcon","variant","DeleteIcon","createGroupPermissions","AddIcon","GROUPS_ADD","ProgressBar","marginBottom","DataTable","itemActions","columns","selectedItems","onSelect","e","_e$target","target","_e$target2","_e$target2$value","_e$target2$checked","checked","elements","_toConsumableArray","push","element","entityName","idField","HelpBox","title","iconComponent","GroupsIcon","help","href","rel","UsersIcon","ActionLink","usersSort","a","b","accessKey","policySort","name","policyDetailsSort","policy"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/2032.27438209.chunk.js b/portal-ui/build/static/js/2032.27438209.chunk.js deleted file mode 100644 index f4101d5ee5..0000000000 --- a/portal-ui/build/static/js/2032.27438209.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2032],{21435:function(e,n,t){"use strict";var r=t(29439),o=t(1413),i=t(72791),a=t(20817),l=t(61889),u=t(30829),s=t(20068),c=t(13400),d=t(20165),f=t(3579),p=t(11135),v=t(72455),h=t(25787),x=t(23814),m=t(29945),Z=t(63733),b=t(80184),j=(0,v.Z)((function(e){return(0,p.Z)((0,o.Z)({},x.gM))}));function y(e){var n=j();return(0,b.jsx)(a.Z,(0,o.Z)({InputProps:{classes:n}},e))}n.Z=(0,h.Z)((function(e){return(0,p.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},x.YI),x.Hr),{},{textBoxContainer:{flexGrow:1,position:"relative"},overlayAction:{position:"absolute",right:5,top:6,"& svg":{maxWidth:15,maxHeight:15},"&.withLabel":{top:5}}}))}))((function(e){var n=e.label,t=e.onChange,a=e.value,p=e.id,v=e.name,h=e.type,x=void 0===h?"text":h,j=e.autoComplete,g=void 0===j?"off":j,C=e.disabled,N=void 0!==C&&C,P=e.multiline,I=void 0!==P&&P,F=e.tooltip,M=void 0===F?"":F,w=e.index,L=void 0===w?0:w,R=e.error,k=void 0===R?"":R,z=e.required,_=void 0!==z&&z,T=e.placeholder,E=void 0===T?"":T,O=e.min,A=e.max,B=e.overlayId,D=e.overlayIcon,S=void 0===D?null:D,W=e.overlayObject,H=void 0===W?null:W,G=e.extraInputProps,K=void 0===G?{}:G,q=e.overlayAction,V=e.noLabelMinWidth,Y=void 0!==V&&V,J=e.pattern,Q=void 0===J?"":J,U=e.autoFocus,X=void 0!==U&&U,$=e.classes,ee=e.className,ne=void 0===ee?"":ee,te=e.onKeyPress,re=e.onFocus,oe=e.onPaste,ie=(0,o.Z)({"data-index":L},K),ae=(0,i.useState)(!1),le=(0,r.Z)(ae,2),ue=le[0],se=le[1];"number"===x&&O&&(ie.min=O),"number"===x&&A&&(ie.max=A),""!==Q&&(ie.pattern=Q);var ce=S,de=x;return"password"===x&&null===S&&(ce=ue?(0,b.jsx)(d.Z,{}):(0,b.jsx)(f.Z,{}),de=ue?"text":"password"),(0,b.jsx)(i.Fragment,{children:(0,b.jsxs)(l.ZP,{container:!0,className:(0,Z.Z)(""!==ne?ne:"",""!==k?$.errorInField:$.inputBoxContainer),children:[""!==n&&(0,b.jsxs)(u.Z,{htmlFor:p,className:Y?$.noMinWidthLabel:$.inputLabel,children:[(0,b.jsxs)("span",{children:[n,_?"*":""]}),""!==M&&(0,b.jsx)("div",{className:$.tooltipContainer,children:(0,b.jsx)(s.Z,{title:M,placement:"top-start",children:(0,b.jsx)("div",{className:$.tooltip,children:(0,b.jsx)(m.byK,{})})})})]}),(0,b.jsxs)("div",{className:$.textBoxContainer,children:[(0,b.jsx)(y,{id:p,name:v,fullWidth:!0,value:a,autoFocus:X,disabled:N,onChange:t,type:de,multiline:I,autoComplete:g,inputProps:ie,error:""!==k,helperText:k,placeholder:E,className:$.inputRebase,onKeyPress:te,onFocus:re,onPaste:oe}),ce&&(0,b.jsx)("div",{className:"".concat($.overlayAction," ").concat(""!==n?"withLabel":""),children:(0,b.jsx)(c.Z,{onClick:q?function(){q()}:function(){return se(!ue)},id:B,size:"small",disableFocusRipple:!1,disableRipple:!1,disableTouchRipple:!1,children:ce})}),H&&(0,b.jsx)("div",{className:"".concat($.overlayAction," ").concat(""!==n?"withLabel":""),children:H})]})]})})}))},16502:function(e,n,t){"use strict";t(72791);var r=t(11135),o=t(25787),i=t(80184);n.Z=(0,o.Z)((function(e){return(0,r.Z)({headerContainer:{backgroundColor:"#e78794",borderRadius:3,marginBottom:20,padding:1,paddingBottom:15},labelHeadline:{color:"#000000",fontSize:14,marginLeft:20},labelText:{color:"#000000",fontSize:14,marginLeft:20,marginRight:40}})}))((function(e){var n=e.classes,t=e.label,r=e.title;return(0,i.jsxs)("div",{className:n.headerContainer,children:[(0,i.jsx)("h4",{className:n.labelHeadline,children:r}),(0,i.jsx)("div",{className:n.labelText,children:t})]})}))},62032:function(e,n,t){"use strict";t.r(n);var r=t(29439),o=t(72791),i=t(9505),a=t(23508),l=t(87995),u=t(44690),s=t(16502),c=t(21435),d=t(29945),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,p=e.selectedItem,v=e.endpoint,h=e.element,x=(0,u.TL)(),m=(0,i.Z)((function(){return n(!0)}),(function(e){return x((0,l.Ih)(e))})),Z=(0,r.Z)(m,2),b=Z[0],j=Z[1],y=(0,o.useState)(""),g=(0,r.Z)(y,2),C=g[0],N=g[1];if(!p)return null;return(0,f.jsx)(a.Z,{title:"Delete ".concat(h),confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(d.NvT,{}),isLoading:b,onConfirm:function(){j("DELETE","".concat(v).concat(p))},onClose:function(){return n(!1)},confirmButtonProps:{disabled:C!==p||b},confirmationContent:(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)(d.rjZ,{item:!0,xs:12,children:(0,f.jsx)(s.Z,{title:"WARNING",label:"Please note that this is a dangerous operation. Once a key has been deleted all data that has been encrypted with it cannot be decrypted anymore, and therefore, is lost."})}),"To continue please type ",(0,f.jsx)("b",{children:p})," in the box.",(0,f.jsx)(d.rjZ,{item:!0,xs:12,children:(0,f.jsx)(c.Z,{id:"retype-key",name:"retype-key",onChange:function(e){N(e.target.value)},onPaste:function(e){return e.preventDefault()},label:"",value:C})})]})})}},3579:function(e,n,t){"use strict";var r=t(64836);n.Z=void 0;var o=r(t(45649)),i=t(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEye");n.Z=a},20165:function(e,n,t){"use strict";var r=t(64836);n.Z=void 0;var o=r(t(45649)),i=t(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");n.Z=a},45649:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t(28610)},31260:function(e,n,t){"use strict";var r=t(78949);n.Z=r.Z},28610:function(e,n,t){"use strict";t.r(n),t.d(n,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return u},isMuiElement:function(){return s.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return p},unstable_ClassNameGenerator:function(){return y},unstable_useEnhancedEffect:function(){return v.Z},unstable_useId:function(){return h.Z},unsupportedProp:function(){return x},useControlled:function(){return m.Z},useEventCallback:function(){return Z.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return j.Z}});var r=t(55902),o=t(14036),i=t(31260),a=t(76189),l=t(83199);var u=function(e,n){return function(){return null}},s=t(19103),c=t(98301),d=t(17602);t(87462);var f=function(e,n){return function(){return null}},p=t(62971).Z,v=t(40162),h=t(67384);var x=function(e,n,t,r,o){return null},m=t(98278),Z=t(89683),b=t(42071),j=t(23031),y={configure:function(e){r.Z.configure(e)}}},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}}]); -//# sourceMappingURL=2032.27438209.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/2032.27438209.chunk.js.map b/portal-ui/build/static/js/2032.27438209.chunk.js.map deleted file mode 100644 index 491d14d462..0000000000 --- a/portal-ui/build/static/js/2032.27438209.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2032.27438209.chunk.js","mappings":"0SA8FMA,GAAcC,EAAAA,EAAAA,IAAW,SAACC,GAAY,OAC1CC,EAAAA,EAAAA,IAAYC,EAAAA,EAAAA,GAAC,CAAC,EACTC,EAAAA,IACH,IAGJ,SAASC,EAAWC,GAClB,IAAMC,EAAUR,IAEhB,OACES,EAAAA,EAAAA,KAACC,EAAAA,GAASN,EAAAA,EAAAA,GAAA,CACRO,WAAY,CAAEH,QAAAA,IACVD,GAGV,CAwJA,KAAeK,EAAAA,EAAAA,IA7LA,SAACV,GAAY,OAC1BC,EAAAA,EAAAA,IAAYC,EAAAA,EA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,MCDe,SAA4BC,EAAWC,GAElD,OAAO,kBAAM,IAAI,CAUrB,E,0CCXA,MCAe,SAA4BC,EAAsBC,GAE7D,OAAO,kBAAM,IAAI,CAoBrB,ECtBA,E,SAAqB,E,sBCArB,MCDe,SAAyBpK,EAAOqK,EAAUC,EAAeC,EAAUC,GAE9E,OAAO,IAOX,E,4CCaaC,EAA8B,CACzCC,UAAW,SAAAC,GAITC,EAAAA,EAAmBF,UAAUC,EAC/B,E,oBCvBFE,EAAO1B,QALP,SAAgC2B,GAC9B,OAAOA,GAAOA,EAAIC,WAAaD,EAAM,CACnC,QAAWA,EAEf,EACyCD,EAAO1B,QAAQ4B,YAAa,EAAMF,EAAO1B,QAAiB,QAAI0B,EAAO1B,O","sources":["screens/Console/Common/FormComponents/InputBoxWrapper/InputBoxWrapper.tsx","screens/Console/Common/WarningMessage/WarningMessage.tsx","screens/Console/KMS/DeleteKMSModal.tsx","../node_modules/@mui/icons-material/RemoveRedEye.js","../node_modules/@mui/icons-material/VisibilityOff.js","../node_modules/@mui/icons-material/utils/createSvgIcon.js","../node_modules/@mui/material/utils/createChainedFunction.js","../node_modules/@mui/material/utils/deprecatedPropType.js","../node_modules/@mui/utils/esm/deprecatedPropType.js","../node_modules/@mui/material/utils/requirePropFactory.js","../node_modules/@mui/utils/esm/requirePropFactory.js","../node_modules/@mui/material/utils/setRef.js","../node_modules/@mui/material/utils/unsupportedProp.js","../node_modules/@mui/utils/esm/unsupportedProp.js","../node_modules/@mui/material/utils/index.js","../node_modules/@babel/runtime/helpers/interopRequireDefault.js"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\nimport React, { ClipboardEvent, useState } from \"react\";\nimport {\n Grid,\n IconButton,\n InputLabel,\n TextField,\n TextFieldProps,\n Tooltip,\n} from \"@mui/material\";\nimport { OutlinedInputProps } from \"@mui/material/OutlinedInput\";\nimport { InputProps as StandardInputProps } from \"@mui/material/Input\";\nimport VisibilityOffIcon from \"@mui/icons-material/VisibilityOff\";\nimport RemoveRedEyeIcon from \"@mui/icons-material/RemoveRedEye\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport makeStyles from \"@mui/styles/makeStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport {\n fieldBasic,\n inputFieldStyles,\n tooltipHelper,\n} from \"../common/styleLibrary\";\nimport { HelpIcon } from \"mds\";\nimport clsx from \"clsx\";\n\ninterface InputBoxProps {\n label: string;\n classes: any;\n onChange: (e: React.ChangeEvent) => void;\n onKeyPress?: (e: any) => void;\n onFocus?: () => void;\n onPaste?: (e: ClipboardEvent) => void;\n value: string | boolean;\n id: string;\n name: string;\n disabled?: boolean;\n multiline?: boolean;\n type?: string;\n tooltip?: string;\n autoComplete?: string;\n index?: number;\n error?: string;\n required?: boolean;\n placeholder?: string;\n min?: string;\n max?: string;\n overlayId?: string;\n overlayIcon?: any;\n overlayAction?: () => void;\n overlayObject?: any;\n extraInputProps?: StandardInputProps[\"inputProps\"];\n noLabelMinWidth?: boolean;\n pattern?: string;\n autoFocus?: boolean;\n className?: string;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...fieldBasic,\n ...tooltipHelper,\n textBoxContainer: {\n flexGrow: 1,\n position: \"relative\",\n },\n overlayAction: {\n position: \"absolute\",\n right: 5,\n top: 6,\n \"& svg\": {\n maxWidth: 15,\n maxHeight: 15,\n },\n \"&.withLabel\": {\n top: 5,\n },\n },\n });\n\nconst inputStyles = makeStyles((theme: Theme) =>\n createStyles({\n ...inputFieldStyles,\n }),\n);\n\nfunction InputField(props: TextFieldProps) {\n const classes = inputStyles();\n\n return (\n }\n {...props}\n />\n );\n}\n\nconst InputBoxWrapper = ({\n label,\n onChange,\n value,\n id,\n name,\n type = \"text\",\n autoComplete = \"off\",\n disabled = false,\n multiline = false,\n tooltip = \"\",\n index = 0,\n error = \"\",\n required = false,\n placeholder = \"\",\n min,\n max,\n overlayId,\n overlayIcon = null,\n overlayObject = null,\n extraInputProps = {},\n overlayAction,\n noLabelMinWidth = false,\n pattern = \"\",\n autoFocus = false,\n classes,\n className = \"\",\n onKeyPress,\n onFocus,\n onPaste,\n}: InputBoxProps) => {\n let inputProps: any = { \"data-index\": index, ...extraInputProps };\n const [toggleTextInput, setToggleTextInput] = useState(false);\n\n if (type === \"number\" && min) {\n inputProps[\"min\"] = min;\n }\n\n if (type === \"number\" && max) {\n inputProps[\"max\"] = max;\n }\n\n if (pattern !== \"\") {\n inputProps[\"pattern\"] = pattern;\n }\n\n let inputBoxWrapperIcon = overlayIcon;\n let inputBoxWrapperType = type;\n\n if (type === \"password\" && overlayIcon === null) {\n inputBoxWrapperIcon = toggleTextInput ? (\n \n ) : (\n \n );\n inputBoxWrapperType = toggleTextInput ? \"text\" : \"password\";\n }\n\n return (\n \n \n {label !== \"\" && (\n \n \n {label}\n {required ? \"*\" : \"\"}\n \n {tooltip !== \"\" && (\n

\n \n
\n \n
\n
\n
\n )}\n \n )}\n\n
\n \n {inputBoxWrapperIcon && (\n \n {\n overlayAction();\n }\n : () => setToggleTextInput(!toggleTextInput)\n }\n id={overlayId}\n size={\"small\"}\n disableFocusRipple={false}\n disableRipple={false}\n disableTouchRipple={false}\n >\n {inputBoxWrapperIcon}\n \n
\n )}\n {overlayObject && (\n \n {overlayObject}\n \n )}\n \n \n \n );\n};\n\nexport default withStyles(styles)(InputBoxWrapper);\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\n\ninterface IWarningMessage {\n classes: any;\n label: any;\n title: any;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n headerContainer: {\n backgroundColor: \"#e78794\",\n borderRadius: 3,\n marginBottom: 20,\n padding: 1,\n paddingBottom: 15,\n },\n labelHeadline: {\n color: \"#000000\",\n fontSize: 14,\n marginLeft: 20,\n },\n labelText: {\n color: \"#000000\",\n fontSize: 14,\n marginLeft: 20,\n marginRight: 40,\n },\n });\n\nconst WarningMessage = ({ classes, label, title }: IWarningMessage) => {\n return (\n
\n

{title}

\n
{label}
\n
\n );\n};\n\nexport default withStyles(styles)(WarningMessage);\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useState, Fragment } from \"react\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport WarningMessage from \"../Common/WarningMessage/WarningMessage\";\nimport InputBoxWrapper from \"../Common/FormComponents/InputBoxWrapper/InputBoxWrapper\";\nimport { ConfirmDeleteIcon, Grid } from \"mds\";\n\ninterface IDeleteKMSModalProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedItem: string;\n endpoint: string;\n element: string;\n}\n\nconst DeleteKMSModal = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedItem,\n endpoint,\n element,\n}: IDeleteKMSModalProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n const [retypeKey, setRetypeKey] = useState(\"\");\n\n if (!selectedItem) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\"DELETE\", `${endpoint}${selectedItem}`);\n };\n\n return (\n }\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypeKey !== selectedItem || deleteLoading,\n }}\n confirmationContent={\n \n \n \n \n To continue please type {selectedItem} in the box.\n \n ) => {\n setRetypeKey(event.target.value);\n }}\n onPaste={(e) => e.preventDefault()}\n label=\"\"\n value={retypeKey}\n />\n \n \n }\n />\n );\n};\n\nexport default DeleteKMSModal;\n","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z\"\n}), 'RemoveRedEye');\nexports.default = _default;","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z\"\n}), 'VisibilityOff');\nexports.default = _default;","\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");","import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils';\nexport default createChainedFunction;","import { unstable_deprecatedPropType as deprecatedPropType } from '@mui/utils';\nexport default deprecatedPropType;","export default function deprecatedPropType(validator, reason) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n return (props, propName, componentName, location, propFullName) => {\n const componentNameSafe = componentName || '<>';\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The ${location} \\`${propFullNameSafe}\\` of ` + `\\`${componentNameSafe}\\` is deprecated. ${reason}`);\n }\n return null;\n };\n}","import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils';\nexport default requirePropFactory;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function requirePropFactory(componentNameInError, Component) {\n if (process.env.NODE_ENV === 'production') {\n return () => null;\n }\n\n // eslint-disable-next-line react/forbid-foreign-prop-types\n const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;\n const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {\n const propFullNameSafe = propFullName || propName;\n const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];\n if (defaultTypeChecker) {\n const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);\n if (typeCheckerResult) {\n return typeCheckerResult;\n }\n }\n if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {\n return new Error(`The prop \\`${propFullNameSafe}\\` of ` + `\\`${componentNameInError}\\` can only be used together with the \\`${requiredProp}\\` prop.`);\n }\n return null;\n };\n return requireProp;\n}","import { unstable_setRef as setRef } from '@mui/utils';\nexport default setRef;","import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils';\nexport default unsupportedProp;","export default function unsupportedProp(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n const propFullNameSafe = propFullName || propName;\n if (typeof props[propName] !== 'undefined') {\n return new Error(`The prop \\`${propFullNameSafe}\\` is not supported. Please remove it.`);\n }\n return null;\n}","'use client';\n\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/base/ClassNameGenerator';\nexport { default as capitalize } from './capitalize';\nexport { default as createChainedFunction } from './createChainedFunction';\nexport { default as createSvgIcon } from './createSvgIcon';\nexport { default as debounce } from './debounce';\nexport { default as deprecatedPropType } from './deprecatedPropType';\nexport { default as isMuiElement } from './isMuiElement';\nexport { default as ownerDocument } from './ownerDocument';\nexport { default as ownerWindow } from './ownerWindow';\nexport { default as requirePropFactory } from './requirePropFactory';\nexport { default as setRef } from './setRef';\nexport { default as unstable_useEnhancedEffect } from './useEnhancedEffect';\nexport { default as unstable_useId } from './useId';\nexport { default as unsupportedProp } from './unsupportedProp';\nexport { default as useControlled } from './useControlled';\nexport { default as useEventCallback } from './useEventCallback';\nexport { default as useForkRef } from './useForkRef';\nexport { default as useIsFocusVisible } from './useIsFocusVisible';\n// TODO: remove this export once ClassNameGenerator is stable\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const unstable_ClassNameGenerator = {\n configure: generator => {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(['MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.', '', \"You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead\", '', 'The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401', '', 'The updated documentation: https://mui.com/guides/classname-generator/'].join('\\n'));\n }\n ClassNameGenerator.configure(generator);\n }\n};","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["inputStyles","makeStyles","theme","createStyles","_objectSpread","inputFieldStyles","InputField","props","classes","_jsx","TextField","InputProps","withStyles","fieldBasic","tooltipHelper","textBoxContainer","flexGrow","position","overlayAction","right","top","maxWidth","maxHeight","_ref","label","onChange","value","id","name","_ref$type","type","_ref$autoComplete","autoComplete","_ref$disabled","disabled","_ref$multiline","multiline","_ref$tooltip","tooltip","_ref$index","index","_ref$error","error","_ref$required","required","_ref$placeholder","placeholder","min","max","overlayId","_ref$overlayIcon","overlayIcon","_ref$overlayObject","overlayObject","_ref$extraInputProps","extraInputProps","_ref$noLabelMinWidth","noLabelMinWidth","_ref$pattern","pattern","_ref$autoFocus","autoFocus","_ref$className","className","onKeyPress","onFocus","onPaste","inputProps","_useState","useState","_useState2","_slicedToArray","toggleTextInput","setToggleTextInput","inputBoxWrapperIcon","inputBoxWrapperType","VisibilityOffIcon","RemoveRedEyeIcon","React","children","_jsxs","Grid","container","clsx","errorInField","inputBoxContainer","InputLabel","htmlFor","noMinWidthLabel","inputLabel","tooltipContainer","Tooltip","title","placement","HelpIcon","fullWidth","helperText","inputRebase","concat","IconButton","onClick","size","disableFocusRipple","disableRipple","disableTouchRipple","headerContainer","backgroundColor","borderRadius","marginBottom","padding","paddingBottom","labelHeadline","color","fontSize","marginLeft","labelText","marginRight","closeDeleteModalAndRefresh","deleteOpen","selectedItem","endpoint","element","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","deleteLoading","invokeDeleteApi","retypeKey","setRetypeKey","ConfirmDialog","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onClose","confirmButtonProps","confirmationContent","Fragment","item","xs","WarningMessage","InputBoxWrapper","event","target","e","preventDefault","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","Object","defineProperty","enumerable","get","_utils","createSvgIcon","createChainedFunction","validator","reason","componentNameInError","Component","propName","componentName","location","propFullName","unstable_ClassNameGenerator","configure","generator","ClassNameGenerator","module","obj","__esModule"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/2032.64ae0f99.chunk.js b/portal-ui/build/static/js/2032.64ae0f99.chunk.js new file mode 100644 index 0000000000..c4da1b6ddd --- /dev/null +++ b/portal-ui/build/static/js/2032.64ae0f99.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2032],{62032:function(e,t,n){n.r(t);var r=n(29439),a=n(72791),i=n(29945),o=n(87995),s=n(44690),l=n(9505),c=n(23508),u=n(80184);t.default=function(e){var t=e.closeDeleteModalAndRefresh,n=e.deleteOpen,d=e.selectedItem,f=e.endpoint,h=e.element,p=(0,s.TL)(),x=(0,l.Z)((function(){return t(!0)}),(function(e){return p((0,o.Ih)(e))})),m=(0,r.Z)(x,2),j=m[0],b=m[1],y=(0,a.useState)(""),g=(0,r.Z)(y,2),k=g[0],v=g[1];if(!d)return null;return(0,u.jsx)(c.Z,{title:"Delete ".concat(h),confirmText:"Delete",isOpen:n,titleIcon:(0,u.jsx)(i.NvT,{}),isLoading:j,onConfirm:function(){b("DELETE","".concat(f).concat(d))},onClose:function(){return t(!1)},confirmButtonProps:{disabled:k!==d||j},confirmationContent:(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)(i.rjZ,{item:!0,xs:12,children:(0,u.jsx)(i.J6i,{variant:"error",title:"WARNING",message:"Please note that this is a dangerous operation. Once a key has been deleted all data that has been encrypted with it cannot be decrypted anymore, and therefore, is lost.",sx:{margin:"15px 0"}})}),"To continue please type ",(0,u.jsx)("b",{children:d})," in the box.",(0,u.jsx)(i.rjZ,{item:!0,xs:12,children:(0,u.jsx)(i.Wzg,{id:"retype-key",name:"retype-key",onChange:function(e){v(e.target.value)},onPaste:function(e){return e.preventDefault()},label:"",value:k})})]})})}}}]); +//# sourceMappingURL=2032.64ae0f99.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/2032.64ae0f99.chunk.js.map b/portal-ui/build/static/js/2032.64ae0f99.chunk.js.map new file mode 100644 index 0000000000..646a989de7 --- /dev/null +++ b/portal-ui/build/static/js/2032.64ae0f99.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2032.64ae0f99.chunk.js","mappings":"+MAmGA,UAnEuB,SAAHA,GAMS,IAL3BC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAA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SAAU,SAACC,GACT9B,EAAa8B,EAAMC,OAAOC,MAC5B,EACAC,QAAS,SAACC,GAAC,OAAKA,EAAEC,gBAAgB,EAClCC,MAAM,GACNJ,MAAOjC,UAOrB,C","sources":["screens/Console/KMS/DeleteKMSModal.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useState, Fragment } from \"react\";\nimport { ConfirmDeleteIcon, Grid, InformativeMessage, InputBox } from \"mds\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\n\ninterface IDeleteKMSModalProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedItem: string;\n endpoint: string;\n element: string;\n}\n\nconst DeleteKMSModal = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedItem,\n endpoint,\n element,\n}: IDeleteKMSModalProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n const [retypeKey, setRetypeKey] = useState(\"\");\n\n if (!selectedItem) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\"DELETE\", `${endpoint}${selectedItem}`);\n };\n\n return (\n }\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypeKey !== selectedItem || deleteLoading,\n }}\n confirmationContent={\n \n \n \n \n To continue please type {selectedItem} in the box.\n \n ) => {\n setRetypeKey(event.target.value);\n }}\n onPaste={(e) => e.preventDefault()}\n label=\"\"\n value={retypeKey}\n />\n \n \n }\n />\n );\n};\n\nexport default DeleteKMSModal;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedItem","endpoint","element","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_useState","useState","_useState2","retypeKey","setRetypeKey","_jsx","ConfirmDialog","title","concat","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onClose","confirmButtonProps","disabled","confirmationContent","_jsxs","Fragment","children","Grid","item","xs","InformativeMessage","variant","message","sx","margin","InputBox","id","name","onChange","event","target","value","onPaste","e","preventDefault","label"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/2121.6000774d.chunk.js b/portal-ui/build/static/js/2121.6000774d.chunk.js deleted file mode 100644 index 9cfed6940a..0000000000 --- a/portal-ui/build/static/js/2121.6000774d.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2121.6000774d.chunk.js.LICENSE.txt */ -(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2121],{32686:function(t,e,A){"use strict";var r=A(64836);e.Z=void 0;var n=r(A(45649)),i=A(80184),o=(0,n.default)((0,i.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"}),"WatchLater");e.Z=o},64119:function(t,e,A){"use strict";var r=A(64836);e.Z=void 0;var n=r(A(45649)),i=A(80184),o=(0,n.default)((0,i.jsx)("path",{d:"m15 3 2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3h-6zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3v6zm6 12-2.3-2.3 2.89-2.87-1.42-1.42L5.3 17.3 3 15v6h6zm12-6-2.3 2.3-2.87-2.89-1.42 1.42 2.89 2.87L15 21h6v-6z"}),"ZoomOutMap");e.Z=o},45649:function(t,e,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=A(28610)},49900:function(t,e,A){"use strict";var r=A(4942),n=A(63366),i=A(87462),o=A(72791),s=A(63733),a=A(94419),c=A(20890),u=A(66199),l=A(31402),h=A(66934),f=A(29849),d=A(80184),p=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],g=(0,h.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(t,e){var A=t.ownerState;return[(0,r.Z)({},"& .".concat(f.Z.primary),e.primary),(0,r.Z)({},"& .".concat(f.Z.secondary),e.secondary),e.root,A.inset&&e.inset,A.primary&&A.secondary&&e.multiline,A.dense&&e.dense]}})((function(t){var e=t.ownerState;return(0,i.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})})),B=o.forwardRef((function(t,e){var A=(0,l.Z)({props:t,name:"MuiListItemText"}),r=A.children,h=A.className,B=A.disableTypography,w=void 0!==B&&B,m=A.inset,y=void 0!==m&&m,v=A.primary,C=A.primaryTypographyProps,Q=A.secondary,b=A.secondaryTypographyProps,F=(0,n.Z)(A,p),U=o.useContext(u.Z).dense,E=null!=v?v:r,N=Q,L=(0,i.Z)({},A,{disableTypography:w,inset:y,primary:!!E,secondary:!!N,dense:U}),x=function(t){var e=t.classes,A=t.inset,r=t.primary,n=t.secondary,i={root:["root",A&&"inset",t.dense&&"dense",r&&n&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,a.Z)(i,f.L,e)}(L);return null==E||E.type===c.Z||w||(E=(0,d.jsx)(c.Z,(0,i.Z)({variant:U?"body2":"body1",className:x.primary,component:null!=C&&C.variant?void 0:"span",display:"block"},C,{children:E}))),null==N||N.type===c.Z||w||(N=(0,d.jsx)(c.Z,(0,i.Z)({variant:"body2",className:x.secondary,color:"text.secondary",display:"block"},b,{children:N}))),(0,d.jsxs)(g,(0,i.Z)({className:(0,s.Z)(x.root,h),ownerState:L,ref:e},F,{children:[E,N]}))}));e.Z=B},31260:function(t,e,A){"use strict";var r=A(78949);e.Z=r.Z},28610:function(t,e,A){"use strict";A.r(e),A.d(e,{capitalize:function(){return n.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return o.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return a},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return l.Z},requirePropFactory:function(){return h},setRef:function(){return f},unstable_ClassNameGenerator:function(){return v},unstable_useEnhancedEffect:function(){return d.Z},unstable_useId:function(){return p.Z},unsupportedProp:function(){return g},useControlled:function(){return B.Z},useEventCallback:function(){return w.Z},useForkRef:function(){return m.Z},useIsFocusVisible:function(){return y.Z}});var r=A(55902),n=A(14036),i=A(31260),o=A(76189),s=A(83199);var a=function(t,e){return function(){return null}},c=A(19103),u=A(98301),l=A(17602);A(87462);var h=function(t,e){return function(){return null}},f=A(62971).Z,d=A(40162),p=A(67384);var g=function(t,e,A,r,n){return null},B=A(98278),w=A(89683),m=A(42071),y=A(23031),v={configure:function(t){r.Z.configure(t)}}},31211:function(t){t.exports=function(t,e,A,r){for(var n=-1,i=null==t?0:t.length;++n0&&n[n.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=55296&&n<=56319&&A>10),o%1024+56320)),(n+1===A||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),l=0;l<64;l++)u[c.charCodeAt(l)]=l;var h,f=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},d=function(){function t(t,e,A,r,n,i){this.initialValue=t,this.errorValue=e,this.highStart=A,this.highValueIndex=r,this.index=n,this.data=i}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>5])<<2)+(31&t),this.data[e];if(t<=65535)return e=((e=this.index[2048+(t-55296>>5)])<<2)+(31&t),this.data[e];if(t>11),e=this.index[e],e+=t>>5&63,e=((e=this.index[e])<<2)+(31&t),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),p=10,g=13,B=15,w=17,m=18,y=19,v=20,C=21,Q=22,b=24,F=25,U=26,E=27,N=28,L=30,x=32,H=33,S=34,I=35,_=37,T=38,O=39,R=40,P=42,M=function(t){var e,A,r,n=function(t){var e,A,r,n,i,o=.75*t.length,s=t.length,a=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),l=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e>4,l[a++]=(15&r)<<4|n>>2,l[a++]=(3&n)<<6|63&i;return c}("KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgI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IlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwAD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ArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQ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4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACs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AFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAU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wArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACU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UAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"),i=Array.isArray(n)?function(t){for(var e=t.length,A=[],r=0;r0;){var o=r[--i];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var s=A;s<=r.length;){var a;if((a=r[++s])===e)return!0;if(a!==p)break}if(o!==p)break}return!1},G=function(t,e){for(var A=t;A>=0;){var r=e[A];if(r!==p)return r;A--}return 0},J=function(t,e,A,r,n){if(0===A[r])return"\xd7";var i=r-1;if(Array.isArray(n)&&!0===n[i])return"\xd7";var o=i-1,s=i+1,a=e[i],c=o>=0?e[o]:0,u=e[s];if(2===a&&3===u)return"\xd7";if(-1!==D.indexOf(a))return"!";if(-1!==D.indexOf(u))return"\xd7";if(-1!==k.indexOf(u))return"\xd7";if(8===G(i,e))return"\xf7";if(11===M.get(t[i])&&(u===_||u===x||u===H))return"\xd7";if(7===a||7===u)return"\xd7";if(9===a)return"\xd7";if(-1===[p,g,B].indexOf(a)&&9===u)return"\xd7";if(-1!==[w,m,y,b,N].indexOf(u))return"\xd7";if(G(i,e)===Q)return"\xd7";if(X(23,Q,i,e))return"\xd7";if(X([w,m],C,i,e))return"\xd7";if(X(12,12,i,e))return"\xd7";if(a===p)return"\xf7";if(23===a||23===u)return"\xd7";if(16===u||16===a)return"\xf7";if(-1!==[g,B,C].indexOf(u)||14===a)return"\xd7";if(36===c&&-1!==V.indexOf(a))return"\xd7";if(a===N&&36===u)return"\xd7";if(u===v&&-1!==K.concat(v,y,F,_,x,H).indexOf(a))return"\xd7";if(-1!==K.indexOf(u)&&a===F||-1!==K.indexOf(a)&&u===F)return"\xd7";if(a===E&&-1!==[_,x,H].indexOf(u)||-1!==[_,x,H].indexOf(a)&&u===U)return"\xd7";if(-1!==K.indexOf(a)&&-1!==z.indexOf(u)||-1!==z.indexOf(a)&&-1!==K.indexOf(u))return"\xd7";if(-1!==[E,U].indexOf(a)&&(u===F||-1!==[Q,B].indexOf(u)&&e[s+1]===F)||-1!==[Q,B].indexOf(a)&&u===F||a===F&&-1!==[F,N,b].indexOf(u))return"\xd7";if(-1!==[F,N,b,w,m].indexOf(u))for(var l=i;l>=0;){if((h=e[l])===F)return"\xd7";if(-1===[N,b].indexOf(h))break;l--}if(-1!==[E,U].indexOf(u))for(l=-1!==[w,m].indexOf(a)?o:i;l>=0;){var h;if((h=e[l])===F)return"\xd7";if(-1===[N,b].indexOf(h))break;l--}if(T===a&&-1!==[T,O,S,I].indexOf(u)||-1!==[O,S].indexOf(a)&&-1!==[O,R].indexOf(u)||-1!==[R,I].indexOf(a)&&u===R)return"\xd7";if(-1!==q.indexOf(a)&&-1!==[v,U].indexOf(u)||-1!==q.indexOf(u)&&a===E)return"\xd7";if(-1!==K.indexOf(a)&&-1!==K.indexOf(u))return"\xd7";if(a===b&&-1!==K.indexOf(u))return"\xd7";if(-1!==K.concat(F).indexOf(a)&&u===Q||-1!==K.concat(F).indexOf(u)&&a===m)return"\xd7";if(41===a&&41===u){for(var f=A[i],d=1;f>0&&41===e[--f];)d++;if(d%2!=0)return"\xd7"}return a===x&&u===H?"\xd7":"\xf7"},W=function(){function t(t,e,A,r){this.codePoints=t,this.required="!"===e,this.start=A,this.end=r}return t.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},t}();!function(t){t[t.STRING_TOKEN=0]="STRING_TOKEN",t[t.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",t[t.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",t[t.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",t[t.COMMA_TOKEN=4]="COMMA_TOKEN",t[t.HASH_TOKEN=5]="HASH_TOKEN",t[t.DELIM_TOKEN=6]="DELIM_TOKEN",t[t.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",t[t.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",t[t.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",t[t.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",t[t.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",t[t.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",t[t.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",t[t.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",t[t.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",t[t.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",t[t.NUMBER_TOKEN=17]="NUMBER_TOKEN",t[t.FUNCTION=18]="FUNCTION",t[t.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",t[t.IDENT_TOKEN=20]="IDENT_TOKEN",t[t.COLUMN_TOKEN=21]="COLUMN_TOKEN",t[t.URL_TOKEN=22]="URL_TOKEN",t[t.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",t[t.CDC_TOKEN=24]="CDC_TOKEN",t[t.CDO_TOKEN=25]="CDO_TOKEN",t[t.COLON_TOKEN=26]="COLON_TOKEN",t[t.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",t[t.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",t[t.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",t[t.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",t[t.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",t[t.EOF_TOKEN=32]="EOF_TOKEN"}(h||(h={}));var Y=function(t){return t>=48&&t<=57},Z=function(t){return Y(t)||t>=65&&t<=70||t>=97&&t<=102},$=function(t){return 10===t||9===t||32===t},tt=function(t){return function(t){return function(t){return t>=97&&t<=122}(t)||function(t){return t>=65&&t<=90}(t)}(t)||function(t){return t>=128}(t)||95===t},et=function(t){return tt(t)||Y(t)||45===t},At=function(t){return t>=0&&t<=8||11===t||t>=14&&t<=31||127===t},rt=function(t,e){return 92===t&&10!==e},nt=function(t,e,A){return 45===t?tt(e)||rt(e,A):!!tt(t)||!(92!==t||!rt(t,e))},it=function(t,e,A){return 43===t||45===t?!!Y(e)||46===e&&Y(A):Y(46===t?e:t)},ot=function(t){var e=0,A=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(A=-1),e++);for(var r=[];Y(t[e]);)r.push(t[e++]);var n=r.length?parseInt(a.apply(void 0,r),10):0;46===t[e]&&e++;for(var i=[];Y(t[e]);)i.push(t[e++]);var o=i.length,s=o?parseInt(a.apply(void 0,i),10):0;69!==t[e]&&101!==t[e]||e++;var c=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(c=-1),e++);for(var u=[];Y(t[e]);)u.push(t[e++]);var l=u.length?parseInt(a.apply(void 0,u),10):0;return A*(n+s*Math.pow(10,-o))*Math.pow(10,c*l)},st={type:h.LEFT_PARENTHESIS_TOKEN},at={type:h.RIGHT_PARENTHESIS_TOKEN},ct={type:h.COMMA_TOKEN},ut={type:h.SUFFIX_MATCH_TOKEN},lt={type:h.PREFIX_MATCH_TOKEN},ht={type:h.COLUMN_TOKEN},ft={type:h.DASH_MATCH_TOKEN},dt={type:h.INCLUDE_MATCH_TOKEN},pt={type:h.LEFT_CURLY_BRACKET_TOKEN},gt={type:h.RIGHT_CURLY_BRACKET_TOKEN},Bt={type:h.SUBSTRING_MATCH_TOKEN},wt={type:h.BAD_URL_TOKEN},mt={type:h.BAD_STRING_TOKEN},yt={type:h.CDO_TOKEN},vt={type:h.CDC_TOKEN},Ct={type:h.COLON_TOKEN},Qt={type:h.SEMICOLON_TOKEN},bt={type:h.LEFT_SQUARE_BRACKET_TOKEN},Ft={type:h.RIGHT_SQUARE_BRACKET_TOKEN},Ut={type:h.WHITESPACE_TOKEN},Et={type:h.EOF_TOKEN},Nt=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(s(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Et;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),A=this.peekCodePoint(1),r=this.peekCodePoint(2);if(et(e)||rt(A,r)){var n=nt(e,A,r)?2:1,i=this.consumeName();return{type:h.HASH_TOKEN,value:i,flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ut;break;case 39:return this.consumeStringToken(39);case 40:return st;case 41:return at;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Bt;break;case 43:if(it(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 44:return ct;case 45:var o=t,s=this.peekCodePoint(0),c=this.peekCodePoint(1);if(it(o,s,c))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(nt(o,s,c))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(45===s&&62===c)return this.consumeCodePoint(),this.consumeCodePoint(),vt;break;case 46:if(it(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(42===u&&47===(u=this.consumeCodePoint()))return this.consumeToken();if(-1===u)return this.consumeToken()}break;case 58:return Ct;case 59:return Qt;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),yt;break;case 64:var l=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(nt(l,f,d))return i=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:i};break;case 91:return bt;case 92:if(rt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case 93:return Ft;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),lt;break;case 123:return pt;case 125:return gt;case 117:case 85:var p=this.peekCodePoint(0),g=this.peekCodePoint(1);return 43!==p||!Z(g)&&63!==g||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ft;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),ht;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),dt;break;case-1:return Et}return $(t)?(this.consumeWhiteSpace(),Ut):Y(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):tt(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:a(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();Z(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var A=!1;63===e&&t.length<6;)t.push(e),e=this.consumeCodePoint(),A=!0;if(A){var r=parseInt(a.apply(void 0,t.map((function(t){return 63===t?48:t}))),16),n=parseInt(a.apply(void 0,t.map((function(t){return 63===t?70:t}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:r,end:n}}var i=parseInt(a.apply(void 0,t),16);if(45===this.peekCodePoint(0)&&Z(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var o=[];Z(e)&&o.length<6;)o.push(e),e=this.consumeCodePoint();return n=parseInt(a.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:i,end:n}}return{type:h.UNICODE_RANGE_TOKEN,start:i,end:i}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:t}):{type:h.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:h.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var A=this.consumeStringToken(this.consumeCodePoint());return A.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:A.value}):(this.consumeBadUrlRemnants(),wt)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:h.URL_TOKEN,value:a.apply(void 0,t)};if($(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:a.apply(void 0,t)}):(this.consumeBadUrlRemnants(),wt);if(34===r||39===r||40===r||At(r))return this.consumeBadUrlRemnants(),wt;if(92===r){if(!rt(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),wt;t.push(this.consumeEscapedCodePoint())}else t.push(r)}},t.prototype.consumeWhiteSpace=function(){for(;$(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(41===t||-1===t)return;rt(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e="";t>0;){var A=Math.min(6e4,t);e+=a.apply(void 0,this._value.splice(0,A)),t-=A}return this._value.shift(),e},t.prototype.consumeStringToken=function(t){for(var e="",A=0;;){var r=this._value[A];if(-1===r||void 0===r||r===t)return e+=this.consumeStringSlice(A),{type:h.STRING_TOKEN,value:e};if(10===r)return this._value.splice(0,A),mt;if(92===r){var n=this._value[A+1];-1!==n&&void 0!==n&&(10===n?(e+=this.consumeStringSlice(A),A=-1,this._value.shift()):rt(r,n)&&(e+=this.consumeStringSlice(A),e+=a(this.consumeEscapedCodePoint()),A=-1))}A++}},t.prototype.consumeNumber=function(){var t=[],e=4,A=this.peekCodePoint(0);for(43!==A&&45!==A||t.push(this.consumeCodePoint());Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===A&&Y(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===A||101===A)&&((43===r||45===r)&&Y(n)||Y(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[ot(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],A=t[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(nt(r,n,i)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:e,flags:A,unit:o}}return 37===r?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:e,flags:A}):{type:h.NUMBER_TOKEN,number:e,flags:A}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Z(t)){for(var e=a(t);Z(this.peekCodePoint(0))&&e.length<6;)e+=a(this.consumeCodePoint());$(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(e,16);return 0===A||function(t){return t>=55296&&t<=57343}(A)||A>1114111?65533:A}return-1===t?65533:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(et(e))t+=a(e);else{if(!rt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=a(this.consumeEscapedCodePoint())}}},t}(),Lt=function(){function t(t){this._tokens=t}return t.create=function(e){var A=new Nt;return A.write(e),new t(A.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===h.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===h.WHITESPACE_TOKEN);if(t.type===h.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===h.EOF_TOKEN)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case h.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},A=this.consumeToken();;){if(A.type===h.EOF_TOKEN||Pt(A,t))return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue()),A=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:h.FUNCTION};;){var A=this.consumeToken();if(A.type===h.EOF_TOKEN||A.type===h.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Et:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),xt=function(t){return t.type===h.DIMENSION_TOKEN},Ht=function(t){return t.type===h.NUMBER_TOKEN},St=function(t){return t.type===h.IDENT_TOKEN},It=function(t){return t.type===h.STRING_TOKEN},_t=function(t,e){return St(t)&&t.value===e},Tt=function(t){return t.type!==h.WHITESPACE_TOKEN},Ot=function(t){return t.type!==h.WHITESPACE_TOKEN&&t.type!==h.COMMA_TOKEN},Rt=function(t){var e=[],A=[];return t.forEach((function(t){if(t.type===h.COMMA_TOKEN){if(0===A.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(A),void(A=[])}t.type!==h.WHITESPACE_TOKEN&&A.push(t)})),A.length&&e.push(A),e},Pt=function(t,e){return e===h.LEFT_CURLY_BRACKET_TOKEN&&t.type===h.RIGHT_CURLY_BRACKET_TOKEN||e===h.LEFT_SQUARE_BRACKET_TOKEN&&t.type===h.RIGHT_SQUARE_BRACKET_TOKEN||e===h.LEFT_PARENTHESIS_TOKEN&&t.type===h.RIGHT_PARENTHESIS_TOKEN},Mt=function(t){return t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN},Kt=function(t){return t.type===h.PERCENTAGE_TOKEN||Mt(t)},Dt=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},kt={type:h.NUMBER_TOKEN,number:0,flags:4},zt={type:h.PERCENTAGE_TOKEN,number:50,flags:4},jt={type:h.PERCENTAGE_TOKEN,number:100,flags:4},qt=function(t,e,A){var r=t[0],n=t[1];return[Vt(r,e),Vt(void 0!==n?n:r,A)]},Vt=function(t,e){if(t.type===h.PERCENTAGE_TOKEN)return t.number/100*e;if(xt(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Xt=function(t){if(t.type===h.DIMENSION_TOKEN)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},Gt=function(t){return t.type===h.DIMENSION_TOKEN&&("deg"===t.unit||"grad"===t.unit||"rad"===t.unit||"turn"===t.unit)},Jt=function(t){switch(t.filter(St).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[kt,kt];case"to top":case"bottom":return Wt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[kt,jt];case"to right":case"left":return Wt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[jt,jt];case"to bottom":case"top":return Wt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[jt,kt];case"to left":case"right":return Wt(270)}return 0},Wt=function(t){return Math.PI*t/180},Yt=function(t){if(t.type===h.FUNCTION){var e=se[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(t.values)}if(t.type===h.HASH_TOKEN){if(3===t.value.length){var A=t.value.substring(0,1),r=t.value.substring(1,2),n=t.value.substring(2,3);return te(parseInt(A+A,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(4===t.value.length){A=t.value.substring(0,1),r=t.value.substring(1,2),n=t.value.substring(2,3);var i=t.value.substring(3,4);return te(parseInt(A+A,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16)/255)}if(6===t.value.length)return A=t.value.substring(0,2),r=t.value.substring(2,4),n=t.value.substring(4,6),te(parseInt(A,16),parseInt(r,16),parseInt(n,16),1);if(8===t.value.length)return A=t.value.substring(0,2),r=t.value.substring(2,4),n=t.value.substring(4,6),i=t.value.substring(6,8),te(parseInt(A,16),parseInt(r,16),parseInt(n,16),parseInt(i,16)/255)}if(t.type===h.IDENT_TOKEN){var o=ae[t.value.toUpperCase()];if(void 0!==o)return o}return ae.TRANSPARENT},Zt=function(t){return 0==(255&t)},$t=function(t){var e=255&t,A=255&t>>8,r=255&t>>16,n=255&t>>24;return e<255?"rgba("+n+","+r+","+A+","+e/255+")":"rgb("+n+","+r+","+A+")"},te=function(t,e,A,r){return(t<<24|e<<16|A<<8|Math.round(255*r)<<0)>>>0},ee=function(t,e){if(t.type===h.NUMBER_TOKEN)return t.number;if(t.type===h.PERCENTAGE_TOKEN){var A=3===e?1:255;return 3===e?t.number/100*A:Math.round(t.number/100*A)}return 0},Ae=function(t){var e=t.filter(Ot);if(3===e.length){var A=e.map(ee),r=A[0],n=A[1],i=A[2];return te(r,n,i,1)}if(4===e.length){var o=e.map(ee),s=(r=o[0],n=o[1],i=o[2],o[3]);return te(r,n,i,s)}return 0};function re(t,e,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(e-t)*A*6+t:A<.5?e:A<2/3?6*(e-t)*(2/3-A)+t:t}var ne,ie,oe=function(t){var e=t.filter(Ot),A=e[0],r=e[1],n=e[2],i=e[3],o=(A.type===h.NUMBER_TOKEN?Wt(A.number):Xt(A))/(2*Math.PI),s=Kt(r)?r.number/100:0,a=Kt(n)?n.number/100:0,c=void 0!==i&&Kt(i)?Vt(i,1):1;if(0===s)return te(255*a,255*a,255*a,1);var u=a<=.5?a*(s+1):a+s-a*s,l=2*a-u,f=re(l,u,o+1/3),d=re(l,u,o),p=re(l,u,o-1/3);return te(255*f,255*d,255*p,c)},se={hsl:oe,hsla:oe,rgb:Ae,rgba:Ae},ae={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(ne||(ne={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(ie||(ie={}));var ce,ue,le,he={name:"background-clip",initialValue:"border-box",prefix:!1,type:ne.LIST,parse:function(t){return t.map((function(t){if(St(t))switch(t.value){case"padding-box":return ie.PADDING_BOX;case"content-box":return ie.CONTENT_BOX}return ie.BORDER_BOX}))}},fe={name:"background-color",initialValue:"transparent",prefix:!1,type:ne.TYPE_VALUE,format:"color"},de=function(t){var e=Yt(t[0]),A=t[1];return A&&Kt(A)?{color:e,stop:A}:{color:e,stop:null}},pe=function(t,e){var A=t[0],r=t[t.length-1];null===A.stop&&(A.stop=kt),null===r.stop&&(r.stop=jt);for(var n=[],i=0,o=0;oi?n.push(a):n.push(i),i=a}else n.push(null)}var c=null;for(o=0;ot.optimumDistance)?{optimumCorner:e,optimumDistance:s}:t}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},we=function(t){var e=Wt(180),A=[];return Rt(t).forEach((function(t,r){if(0===r){var n=t[0];if(n.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(e=Jt(t));if(Gt(n))return void(e=(Xt(n)+Wt(270))%Wt(360))}var i=de(t);A.push(i)})),{angle:e,stops:A,type:ce.LINEAR_GRADIENT}},me=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},ye=function(t,e,A,r,n){var i="http://www.w3.org/2000/svg",o=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",A.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(s),s.appendChild(n),o},ve=function(t){return new Promise((function(e,A){var r=new Image;r.onload=function(){return e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Ce={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var A=t.createElement("boundtest");A.style.height="123px",A.style.display="block",t.body.appendChild(A),e.selectNode(A);var r=e.getBoundingClientRect(),n=Math.round(r.height);if(t.body.removeChild(A),123===n)return!0}}return!1}(document);return Object.defineProperty(Ce,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var e=new Image,A=t.createElement("canvas"),r=A.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),A.toDataURL()}catch(t){return!1}return!0}(document);return Object.defineProperty(Ce,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?function(t){var e=t.createElement("canvas");e.width=100,e.height=100;var A=e.getContext("2d");if(!A)return Promise.reject(!1);A.fillStyle="rgb(0, 255, 0)",A.fillRect(0,0,100,100);var r=new Image,n=e.toDataURL();r.src=n;var i=ye(100,100,0,0,r);return A.fillStyle="red",A.fillRect(0,0,100,100),ve(i).then((function(e){A.drawImage(e,0,0);var r=A.getImageData(0,0,100,100).data;A.fillStyle="red",A.fillRect(0,0,100,100);var i=t.createElement("div");return i.style.backgroundImage="url("+n+")",i.style.height="100px",me(r)?ve(ye(100,100,0,0,i)):Promise.reject(!1)})).then((function(t){return A.drawImage(t,0,0),me(A.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(Ce,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(Ce,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Ce,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ce,"SUPPORT_CORS_XHR",{value:t}),t}},Qe=function(){function t(t){var e=t.id,A=t.enabled;this.id=e,this.enabled=A,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise((function(n,i){var o=Ce.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===o)n(s.response);else{var t=new FileReader;t.addEventListener("load",(function(){return n(t.result)}),!1),t.addEventListener("error",(function(t){return i(t)}),!1),t.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i,s.open("GET",A+"?url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&s instanceof XMLHttpRequest&&(s.responseType=o),e._options.imageTimeout){var a=e._options.imageTimeout;s.timeout=a,s.ontimeout=function(){return i("Timed out ("+a+"ms) proxying "+r)}}s.send()}))},t}(),Ue=/^data:image\/svg\+xml/i,Ee=/^data:image\/.*;base64,/i,Ne=/^data:image\/.*/i,Le=function(t){return Ce.SUPPORT_SVG_DRAWING||!Ie(t)},xe=function(t){return Ne.test(t)},He=function(t){return Ee.test(t)},Se=function(t){return"blob"===t.substr(0,4)},Ie=function(t){return"svg"===t.substr(-3).toLowerCase()||Ue.test(t)},_e=function(t){var e=ue.CIRCLE,A=le.FARTHEST_CORNER,r=[],n=[];return Rt(t).forEach((function(t,i){var o=!0;if(0===i?o=t.reduce((function(t,e){if(St(e))switch(e.value){case"center":return n.push(zt),!1;case"top":case"left":return n.push(kt),!1;case"right":case"bottom":return n.push(jt),!1}else if(Kt(e)||Mt(e))return n.push(e),!1;return t}),o):1===i&&(o=t.reduce((function(t,r){if(St(r))switch(r.value){case"circle":return e=ue.CIRCLE,!1;case"ellipse":return e=ue.ELLIPSE,!1;case"contain":case"closest-side":return A=le.CLOSEST_SIDE,!1;case"farthest-side":return A=le.FARTHEST_SIDE,!1;case"closest-corner":return A=le.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return A=le.FARTHEST_CORNER,!1}else if(Mt(r)||Kt(r))return Array.isArray(A)||(A=[]),A.push(r),!1;return t}),o)),o){var s=de(t);r.push(s)}})),{size:A,shape:e,stops:r,position:n,type:ce.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(ce||(ce={})),function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"}(ue||(ue={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(le||(le={}));var Te,Oe=function(t){if(t.type===h.URL_TOKEN){var e={url:t.value,type:ce.URL};return be.getInstance().addImage(t.value),e}if(t.type===h.FUNCTION){var A=Re[t.name];if(void 0===A)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return A(t.values)}throw new Error("Unsupported image type")},Re={"linear-gradient":function(t){var e=Wt(180),A=[];return Rt(t).forEach((function(t,r){if(0===r){var n=t[0];if(n.type===h.IDENT_TOKEN&&"to"===n.value)return void(e=Jt(t));if(Gt(n))return void(e=Xt(n))}var i=de(t);A.push(i)})),{angle:e,stops:A,type:ce.LINEAR_GRADIENT}},"-moz-linear-gradient":we,"-ms-linear-gradient":we,"-o-linear-gradient":we,"-webkit-linear-gradient":we,"radial-gradient":function(t){var e=ue.CIRCLE,A=le.FARTHEST_CORNER,r=[],n=[];return Rt(t).forEach((function(t,i){var o=!0;if(0===i){var s=!1;o=t.reduce((function(t,r){if(s)if(St(r))switch(r.value){case"center":return n.push(zt),t;case"top":case"left":return n.push(kt),t;case"right":case"bottom":return n.push(jt),t}else(Kt(r)||Mt(r))&&n.push(r);else if(St(r))switch(r.value){case"circle":return e=ue.CIRCLE,!1;case"ellipse":return e=ue.ELLIPSE,!1;case"at":return s=!0,!1;case"closest-side":return A=le.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return A=le.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return A=le.CLOSEST_CORNER,!1;case"farthest-corner":return A=le.FARTHEST_CORNER,!1}else if(Mt(r)||Kt(r))return Array.isArray(A)||(A=[]),A.push(r),!1;return t}),o)}if(o){var a=de(t);r.push(a)}})),{size:A,shape:e,stops:r,position:n,type:ce.RADIAL_GRADIENT}},"-moz-radial-gradient":_e,"-ms-radial-gradient":_e,"-o-radial-gradient":_e,"-webkit-radial-gradient":_e,"-webkit-gradient":function(t){var e=Wt(180),A=[],r=ce.LINEAR_GRADIENT,n=ue.CIRCLE,i=le.FARTHEST_CORNER;return Rt(t).forEach((function(t,e){var n=t[0];if(0===e){if(St(n)&&"linear"===n.value)return void(r=ce.LINEAR_GRADIENT);if(St(n)&&"radial"===n.value)return void(r=ce.RADIAL_GRADIENT)}if(n.type===h.FUNCTION)if("from"===n.name){var i=Yt(n.values[0]);A.push({stop:kt,color:i})}else if("to"===n.name)i=Yt(n.values[0]),A.push({stop:jt,color:i});else if("color-stop"===n.name){var o=n.values.filter(Ot);if(2===o.length){i=Yt(o[1]);var s=o[0];Ht(s)&&A.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:i})}}})),r===ce.LINEAR_GRADIENT?{angle:(e+Wt(180))%Wt(360),stops:A,type:r}:{size:i,shape:n,stops:A,position:[],type:r}}},Pe={name:"background-image",initialValue:"none",type:ne.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===h.IDENT_TOKEN&&"none"===e.value?[]:t.filter((function(t){return Ot(t)&&function(t){return t.type!==h.FUNCTION||Re[t.name]}(t)})).map(Oe)}},Me={name:"background-origin",initialValue:"border-box",prefix:!1,type:ne.LIST,parse:function(t){return t.map((function(t){if(St(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ke={name:"background-position",initialValue:"0% 0%",type:ne.LIST,prefix:!1,parse:function(t){return Rt(t).map((function(t){return t.filter(Kt)})).map(Dt)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(Te||(Te={}));var De,ke={name:"background-repeat",initialValue:"repeat",prefix:!1,type:ne.LIST,parse:function(t){return Rt(t).map((function(t){return t.filter(St).map((function(t){return t.value})).join(" ")})).map(ze)}},ze=function(t){switch(t){case"no-repeat":return Te.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Te.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Te.REPEAT_Y;default:return Te.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(De||(De={}));var je,qe={name:"background-size",initialValue:"0",prefix:!1,type:ne.LIST,parse:function(t){return Rt(t).map((function(t){return t.filter(Ve)}))}},Ve=function(t){return St(t)||Kt(t)},Xe=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:ne.TYPE_VALUE,format:"color"}},Ge=Xe("top"),Je=Xe("right"),We=Xe("bottom"),Ye=Xe("left"),Ze=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:ne.LIST,parse:function(t){return Dt(t.filter(Kt))}}},$e=Ze("top-left"),tA=Ze("top-right"),eA=Ze("bottom-right"),AA=Ze("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(je||(je={}));var rA,nA=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){return"none"===t?je.NONE:je.SOLID}}},iA=nA("top"),oA=nA("right"),sA=nA("bottom"),aA=nA("left"),cA=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:ne.VALUE,prefix:!1,parse:function(t){return xt(t)?t.number:0}}},uA=cA("top"),lA=cA("right"),hA=cA("bottom"),fA=cA("left"),dA={name:"color",initialValue:"transparent",prefix:!1,type:ne.TYPE_VALUE,format:"color"},pA={name:"display",initialValue:"inline-block",prefix:!1,type:ne.LIST,parse:function(t){return t.filter(St).reduce((function(t,e){return t|gA(e.value)}),0)}},gA=function(t){switch(t){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(rA||(rA={}));var BA,wA={name:"float",initialValue:"none",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){switch(t){case"left":return rA.LEFT;case"right":return rA.RIGHT;case"inline-start":return rA.INLINE_START;case"inline-end":return rA.INLINE_END}return rA.NONE}},mA={name:"letter-spacing",initialValue:"0",prefix:!1,type:ne.VALUE,parse:function(t){return t.type===h.IDENT_TOKEN&&"normal"===t.value?0:t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(BA||(BA={}));var yA,vA={name:"line-break",initialValue:"normal",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){return"strict"===t?BA.STRICT:BA.NORMAL}},CA={name:"line-height",initialValue:"normal",prefix:!1,type:ne.TOKEN_VALUE},QA={name:"list-style-image",initialValue:"none",type:ne.VALUE,prefix:!1,parse:function(t){return t.type===h.IDENT_TOKEN&&"none"===t.value?null:Oe(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(yA||(yA={}));var bA,FA={name:"list-style-position",initialValue:"outside",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){return"inside"===t?yA.INSIDE:yA.OUTSIDE}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKANA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(bA||(bA={}));var UA,EA={name:"list-style-type",initialValue:"none",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){switch(t){case"disc":return bA.DISC;case"circle":return bA.CIRCLE;case"square":return bA.SQUARE;case"decimal":return bA.DECIMAL;case"cjk-decimal":return bA.CJK_DECIMAL;case"decimal-leading-zero":return bA.DECIMAL_LEADING_ZERO;case"lower-roman":return bA.LOWER_ROMAN;case"upper-roman":return bA.UPPER_ROMAN;case"lower-greek":return bA.LOWER_GREEK;case"lower-alpha":return bA.LOWER_ALPHA;case"upper-alpha":return bA.UPPER_ALPHA;case"arabic-indic":return bA.ARABIC_INDIC;case"armenian":return bA.ARMENIAN;case"bengali":return bA.BENGALI;case"cambodian":return bA.CAMBODIAN;case"cjk-earthly-branch":return bA.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return bA.CJK_HEAVENLY_STEM;case"cjk-ideographic":return bA.CJK_IDEOGRAPHIC;case"devanagari":return bA.DEVANAGARI;case"ethiopic-numeric":return bA.ETHIOPIC_NUMERIC;case"georgian":return bA.GEORGIAN;case"gujarati":return bA.GUJARATI;case"gurmukhi":return bA.GURMUKHI;case"hebrew":return bA.HEBREW;case"hiragana":return bA.HIRAGANA;case"hiragana-iroha":return bA.HIRAGANA_IROHA;case"japanese-formal":return bA.JAPANESE_FORMAL;case"japanese-informal":return bA.JAPANESE_INFORMAL;case"kannada":return bA.KANNADA;case"katakana":return bA.KATAKANA;case"katakana-iroha":return bA.KATAKANA_IROHA;case"khmer":return bA.KHMER;case"korean-hangul-formal":return bA.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return bA.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return bA.KOREAN_HANJA_INFORMAL;case"lao":return bA.LAO;case"lower-armenian":return bA.LOWER_ARMENIAN;case"malayalam":return bA.MALAYALAM;case"mongolian":return bA.MONGOLIAN;case"myanmar":return bA.MYANMAR;case"oriya":return bA.ORIYA;case"persian":return bA.PERSIAN;case"simp-chinese-formal":return bA.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return bA.SIMP_CHINESE_INFORMAL;case"tamil":return bA.TAMIL;case"telugu":return bA.TELUGU;case"thai":return bA.THAI;case"tibetan":return bA.TIBETAN;case"trad-chinese-formal":return bA.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return bA.TRAD_CHINESE_INFORMAL;case"upper-armenian":return bA.UPPER_ARMENIAN;case"disclosure-open":return bA.DISCLOSURE_OPEN;case"disclosure-closed":return bA.DISCLOSURE_CLOSED;default:return bA.NONE}}},NA=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:ne.TOKEN_VALUE}},LA=NA("top"),xA=NA("right"),HA=NA("bottom"),SA=NA("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(UA||(UA={}));var IA,_A={name:"overflow",initialValue:"visible",prefix:!1,type:ne.LIST,parse:function(t){return t.filter(St).map((function(t){switch(t.value){case"hidden":return UA.HIDDEN;case"scroll":return UA.SCROLL;case"auto":return UA.AUTO;default:return UA.VISIBLE}}))}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(IA||(IA={}));var TA,OA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){return"break-word"===t?IA.BREAK_WORD:IA.NORMAL}},RA=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:ne.TYPE_VALUE,format:"length-percentage"}},PA=RA("top"),MA=RA("right"),KA=RA("bottom"),DA=RA("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(TA||(TA={}));var kA,zA={name:"text-align",initialValue:"left",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){switch(t){case"right":return TA.RIGHT;case"center":case"justify":return TA.CENTER;default:return TA.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(kA||(kA={}));var jA,qA={name:"position",initialValue:"static",prefix:!1,type:ne.IDENT_VALUE,parse:function(t){switch(t){case"relative":return kA.RELATIVE;case"absolute":return kA.ABSOLUTE;case"fixed":return kA.FIXED;case"sticky":return kA.STICKY}return kA.STATIC}},VA={name:"text-shadow",initialValue:"none",type:ne.LIST,prefix:!1,parse:function(t){return 1===t.length&&_t(t[0],"none")?[]:Rt(t).map((function(t){for(var e={color:ae.TRANSPARENT,offsetX:kt,offsetY:kt,blur:kt},A=0,r=0;r1?1:0],this.overflowWrap=br(OA,t.overflowWrap),this.paddingTop=br(PA,t.paddingTop),this.paddingRight=br(MA,t.paddingRight),this.paddingBottom=br(KA,t.paddingBottom),this.paddingLeft=br(DA,t.paddingLeft),this.position=br(qA,t.position),this.textAlign=br(zA,t.textAlign),this.textDecorationColor=br(or,t.textDecorationColor||t.color),this.textDecorationLine=br(sr,t.textDecorationLine),this.textShadow=br(VA,t.textShadow),this.textTransform=br(GA,t.textTransform),this.transform=br(JA,t.transform),this.transformOrigin=br($A,t.transformOrigin),this.visibility=br(er,t.visibility),this.wordBreak=br(rr,t.wordBreak),this.zIndex=br(nr,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===XA.VISIBLE},t.prototype.isTransparent=function(){return Zt(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==kA.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==rA.NONE},t.prototype.isInlineLevel=function(){return dr(this.display,4)||dr(this.display,33554432)||dr(this.display,268435456)||dr(this.display,536870912)||dr(this.display,67108864)||dr(this.display,134217728)},t}(),Cr=function(t){this.content=br(pr,t.content),this.quotes=br(wr,t.quotes)},Qr=function(t){this.counterIncrement=br(gr,t.counterIncrement),this.counterReset=br(Br,t.counterReset)},br=function(t,e){var A=new Nt,r=null!=e?e.toString():t.initialValue;A.write(r);var n=new Lt(A.read());switch(t.type){case ne.IDENT_VALUE:var i=n.parseComponentValue();return t.parse(St(i)?i.value:t.initialValue);case ne.VALUE:return t.parse(n.parseComponentValue());case ne.LIST:return t.parse(n.parseComponentValues());case ne.TOKEN_VALUE:return n.parseComponentValue();case ne.TYPE_VALUE:switch(t.format){case"angle":return Xt(n.parseComponentValue());case"color":return Yt(n.parseComponentValue());case"image":return Oe(n.parseComponentValue());case"length":var o=n.parseComponentValue();return Mt(o)?o:kt;case"length-percentage":var s=n.parseComponentValue();return Kt(s)?s:kt}}throw new Error("Attempting to parse unsupported css format type "+t.format)},Fr=function(t){this.styles=new vr(window.getComputedStyle(t,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&tn(t)&&(t.style.transform="none"),this.bounds=o(t),this.flags=0},Ur=function(t,e){this.text=t,this.bounds=e},Er=function(t){var e=t.ownerDocument;if(e){var A=e.createElement("html2canvaswrapper");A.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(A,t);var n=o(A);return A.firstChild&&r.replaceChild(A.firstChild,A),n}}return new i(0,0,0,0)},Nr=function(t,e,A){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,e),n.setEnd(t,e+A),i.fromClientRect(n.getBoundingClientRect())},Lr=function(t,e){for(var A,r=function(t,e){var A=s(t),r=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var A=function(t,e){void 0===e&&(e="strict");var A=[],r=[],n=[];return t.forEach((function(t,i){var o=M.get(t);if(o>50?(n.push(!0),o-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return r.push(i),A.push(16);if(4===o||11===o){if(0===i)return r.push(i),A.push(L);var s=A[i-1];return-1===j.indexOf(s)?(r.push(r[i-1]),A.push(s)):(r.push(i),A.push(L))}return r.push(i),31===o?A.push("strict"===e?C:_):o===P||29===o?A.push(L):43===o?t>=131072&&t<=196605||t>=196608&&t<=262141?A.push(_):A.push(L):void A.push(o)})),[r,A,n]}(t,e.lineBreak),r=A[0],n=A[1],i=A[2];return"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map((function(t){return-1!==[F,L,P].indexOf(t)?_:t}))),[r,n,"keep-all"===e.wordBreak?i.map((function(e,A){return e&&t[A]>=19968&&t[A]<=40959})):void 0]}(A,e),n=r[0],i=r[1],o=r[2],a=A.length,c=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var t="\xd7";u0)if(Ce.SUPPORT_RANGE_BOUNDS)n.push(new Ur(t,Nr(A,i,t.length)));else{var r=A.splitText(t.length);n.push(new Ur(t,Er(A))),A=r}else Ce.SUPPORT_RANGE_BOUNDS||(A=A.splitText(t.length));i+=t.length})),n}(this.text,e,t)},Hr=function(t,e){switch(e){case jA.LOWERCASE:return t.toLowerCase();case jA.CAPITALIZE:return t.replace(Sr,Ir);case jA.UPPERCASE:return t.toUpperCase();default:return t}},Sr=/(^|\s|:|-|\(|\))([a-z])/g,Ir=function(t,e,A){return t.length>0?e+A.toUpperCase():t},_r=function(t){function A(e){var A=t.call(this,e)||this;return A.src=e.currentSrc||e.src,A.intrinsicWidth=e.naturalWidth,A.intrinsicHeight=e.naturalHeight,be.getInstance().addImage(A.src),A}return e(A,t),A}(Fr),Tr=function(t){function A(e){var A=t.call(this,e)||this;return A.canvas=e,A.intrinsicWidth=e.width,A.intrinsicHeight=e.height,A}return e(A,t),A}(Fr),Or=function(t){function A(e){var A=t.call(this,e)||this,r=new XMLSerializer;return A.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(e)),A.intrinsicWidth=e.width.baseVal.value,A.intrinsicHeight=e.height.baseVal.value,be.getInstance().addImage(A.svg),A}return e(A,t),A}(Fr),Rr=function(t){function A(e){var A=t.call(this,e)||this;return A.value=e.value,A}return e(A,t),A}(Fr),Pr=function(t){function A(e){var A=t.call(this,e)||this;return A.start=e.start,A.reversed="boolean"==typeof e.reversed&&!0===e.reversed,A}return e(A,t),A}(Fr),Mr=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Kr=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],Dr=function(t){function A(e){var A,r,n,o=t.call(this,e)||this;switch(o.type=e.type.toLowerCase(),o.checked=e.checked,o.value=0===(r="password"===(A=e).type?new Array(A.value.length+1).join("\u2022"):A.value).length?A.placeholder||"":r,"checkbox"!==o.type&&"radio"!==o.type||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=je.SOLID,o.styles.backgroundClip=[ie.BORDER_BOX],o.styles.backgroundOrigin=[0],o.bounds=(n=o.bounds).width>n.height?new i(n.left+(n.width-n.height)/2,n.top,n.height,n.height):n.width0)A.textNodes.push(new xr(n,A.styles));else if($r(n)){var o=Gr(n);o.styles.isVisible()&&(Wr(n,o,r)?o.flags|=4:Yr(o.styles)&&(o.flags|=2),-1!==Vr.indexOf(n.tagName)&&(o.flags|=8),A.elements.push(o),fn(n)||on(n)||dn(n)||t(n,o,r))}},Gr=function(t){return cn(t)?new _r(t):an(t)?new Tr(t):on(t)?new Or(t):An(t)?new Rr(t):rn(t)?new Pr(t):nn(t)?new Dr(t):dn(t)?new kr(t):fn(t)?new zr(t):un(t)?new qr(t):new Fr(t)},Jr=function(t){var e=Gr(t);return e.flags|=4,Xr(t,e,e),e},Wr=function(t,e,A){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||sn(t)&&A.styles.isTransparent()},Yr=function(t){return t.isPositioned()||t.isFloating()},Zr=function(t){return t.nodeType===Node.TEXT_NODE},$r=function(t){return t.nodeType===Node.ELEMENT_NODE},tn=function(t){return $r(t)&&void 0!==t.style&&!en(t)},en=function(t){return"object"==typeof t.className},An=function(t){return"LI"===t.tagName},rn=function(t){return"OL"===t.tagName},nn=function(t){return"INPUT"===t.tagName},on=function(t){return"svg"===t.tagName},sn=function(t){return"BODY"===t.tagName},an=function(t){return"CANVAS"===t.tagName},cn=function(t){return"IMG"===t.tagName},un=function(t){return"IFRAME"===t.tagName},ln=function(t){return"STYLE"===t.tagName},hn=function(t){return"SCRIPT"===t.tagName},fn=function(t){return"TEXTAREA"===t.tagName},dn=function(t){return"SELECT"===t.tagName},pn=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){return this.counters[t]||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,A=t.counterIncrement,r=t.counterReset,n=!0;null!==A&&A.forEach((function(t){var A=e.counters[t.counter];A&&0!==t.increment&&(n=!1,A[Math.max(0,A.length-1)]+=t.increment)}));var i=[];return n&&r.forEach((function(t){var A=e.counters[t.counter];i.push(t.counter),A||(A=e.counters[t.counter]=[]),A.push(t.reset)})),i},t}(),gn={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Bn={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},wn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},mn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},yn=function(t,e,A,r,n,i){return tA?Fn(t,n,i.length>0):r.integers.reduce((function(e,A,n){for(;t>=A;)t-=A,e+=r.values[n];return e}),"")+i},vn=function(t,e,A,r){var n="";do{A||t--,n=r(t)+n,t/=e}while(t*e>=e);return n},Cn=function(t,e,A,r,n){var i=A-e+1;return(t<0?"-":"")+(vn(Math.abs(t),i,r,(function(t){return a(Math.floor(t%i)+e)}))+n)},Qn=function(t,e,A){void 0===A&&(A=". ");var r=e.length;return vn(Math.abs(t),r,!1,(function(t){return e[Math.floor(t%r)]}))+A},bn=function(t,e,A,r,n,i){if(t<-9999||t>9999)return Fn(t,bA.CJK_DECIMAL,n.length>0);var o=Math.abs(t),s=n;if(0===o)return e[0]+s;for(var a=0;o>0&&a<=4;a++){var c=o%10;0===c&&dr(i,1)&&""!==s?s=e[c]+s:c>1||1===c&&0===a||1===c&&1===a&&dr(i,2)||1===c&&1===a&&dr(i,4)&&t>100||1===c&&a>1&&dr(i,8)?s=e[c]+(a>0?A[a-1]:"")+s:1===c&&a>0&&(s=A[a-1]+s),o=Math.floor(o/10)}return(t<0?r:"")+s},Fn=function(t,e,A){var r=A?". ":"",n=A?"\u3001":"",i=A?", ":"",o=A?" ":"";switch(e){case bA.DISC:return"\u2022"+o;case bA.CIRCLE:return"\u25e6"+o;case bA.SQUARE:return"\u25fe"+o;case bA.DECIMAL_LEADING_ZERO:var s=Cn(t,48,57,!0,r);return s.length<4?"0"+s:s;case bA.CJK_DECIMAL:return Qn(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",n);case bA.LOWER_ROMAN:return yn(t,1,3999,gn,bA.DECIMAL,r).toLowerCase();case bA.UPPER_ROMAN:return yn(t,1,3999,gn,bA.DECIMAL,r);case bA.LOWER_GREEK:return Cn(t,945,969,!1,r);case bA.LOWER_ALPHA:return Cn(t,97,122,!1,r);case bA.UPPER_ALPHA:return Cn(t,65,90,!1,r);case bA.ARABIC_INDIC:return Cn(t,1632,1641,!0,r);case bA.ARMENIAN:case bA.UPPER_ARMENIAN:return yn(t,1,9999,Bn,bA.DECIMAL,r);case bA.LOWER_ARMENIAN:return yn(t,1,9999,Bn,bA.DECIMAL,r).toLowerCase();case bA.BENGALI:return Cn(t,2534,2543,!0,r);case bA.CAMBODIAN:case bA.KHMER:return Cn(t,6112,6121,!0,r);case bA.CJK_EARTHLY_BRANCH:return Qn(t,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",n);case bA.CJK_HEAVENLY_STEM:return Qn(t,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",n);case bA.CJK_IDEOGRAPHIC:case bA.TRAD_CHINESE_INFORMAL:return bn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",n,14);case bA.TRAD_CHINESE_FORMAL:return bn(t,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",n,15);case bA.SIMP_CHINESE_INFORMAL:return bn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",n,14);case bA.SIMP_CHINESE_FORMAL:return bn(t,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",n,15);case bA.JAPANESE_INFORMAL:return bn(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,0);case bA.JAPANESE_FORMAL:return bn(t,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,7);case bA.KOREAN_HANGUL_FORMAL:return bn(t,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",i,7);case bA.KOREAN_HANJA_INFORMAL:return bn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",i,0);case bA.KOREAN_HANJA_FORMAL:return bn(t,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",i,7);case bA.DEVANAGARI:return Cn(t,2406,2415,!0,r);case bA.GEORGIAN:return yn(t,1,19999,mn,bA.DECIMAL,r);case bA.GUJARATI:return Cn(t,2790,2799,!0,r);case bA.GURMUKHI:return Cn(t,2662,2671,!0,r);case bA.HEBREW:return yn(t,1,10999,wn,bA.DECIMAL,r);case bA.HIRAGANA:return Qn(t,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case bA.HIRAGANA_IROHA:return Qn(t,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case bA.KANNADA:return Cn(t,3302,3311,!0,r);case bA.KATAKANA:return Qn(t,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",n);case bA.KATAKANA_IROHA:return Qn(t,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",n);case bA.LAO:return Cn(t,3792,3801,!0,r);case bA.MONGOLIAN:return Cn(t,6160,6169,!0,r);case bA.MYANMAR:return Cn(t,4160,4169,!0,r);case bA.ORIYA:return Cn(t,2918,2927,!0,r);case bA.PERSIAN:return Cn(t,1776,1785,!0,r);case bA.TAMIL:return Cn(t,3046,3055,!0,r);case bA.TELUGU:return Cn(t,3174,3183,!0,r);case bA.THAI:return Cn(t,3664,3673,!0,r);case bA.TIBETAN:return Cn(t,3872,3881,!0,r);case bA.DECIMAL:default:return Cn(t,48,57,!0,r)}},Un=function(){function t(t,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new pn,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,e){var A=this,i=Nn(t,e);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,a=i.contentWindow,c=a.document,u=Ln(i).then((function(){return r(A,void 0,void 0,(function(){var t;return n(this,(function(A){switch(A.label){case 0:return this.scrolledElements.forEach(In),a&&(a.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===e.top&&a.scrollX===e.left||(c.documentElement.style.top=-e.top+"px",c.documentElement.style.left=-e.left+"px",c.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:A.sent(),A.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(c)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(Hn(document.doctype)+""),Sn(this.referenceElement.ownerDocument,o,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},t.prototype.createElementClone=function(t){if(an(t))return this.createCanvasClone(t);if(ln(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return cn(e)&&"lazy"===e.loading&&(e.loading="eager"),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var A=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),r=t.cloneNode(!1);return r.textContent=A,r}}catch(t){if(Qe.getInstance(this.options.id).error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){if(this.options.inlineImages&&t.ownerDocument){var e=t.ownerDocument.createElement("img");try{return e.src=t.toDataURL(),e}catch(t){Qe.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var A=t.cloneNode(!1);try{A.width=t.width,A.height=t.height;var r=t.getContext("2d"),n=A.getContext("2d");return n&&(r?n.putImageData(r.getImageData(0,0,t.width,t.height),0,0):n.drawImage(t,0,0)),A}catch(t){}return A},t.prototype.cloneNode=function(t){if(Zr(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var e=t.ownerDocument.defaultView;if(e&&$r(t)&&(tn(t)||en(t))){var A=this.createElementClone(t),r=e.getComputedStyle(t),n=e.getComputedStyle(t,":before"),i=e.getComputedStyle(t,":after");this.referenceElement===t&&tn(A)&&(this.clonedReferenceElement=A),sn(A)&&On(A);for(var o=this.counters.parse(new Qr(r)),s=this.resolvePseudoContent(t,A,n,hr.BEFORE),a=t.firstChild;a;a=a.nextSibling)$r(a)&&(hn(a)||a.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(a))||this.options.copyStyles&&$r(a)&&ln(a)||A.appendChild(this.cloneNode(a));s&&A.insertBefore(s,A.firstChild);var c=this.resolvePseudoContent(t,A,i,hr.AFTER);return c&&A.appendChild(c),this.counters.pop(o),r&&(this.options.copyStyles||en(t))&&!un(t)&&xn(r,A),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([A,t.scrollLeft,t.scrollTop]),(fn(t)||dn(t))&&(fn(A)||dn(A))&&(A.value=t.value),A}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,A,r){var n=this;if(A){var i=A.content,o=e.ownerDocument;if(o&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==A.display){this.counters.parse(new Qr(A));var s=new Cr(A),a=o.createElement("html2canvaspseudoelement");xn(A,a),s.content.forEach((function(e){if(e.type===h.STRING_TOKEN)a.appendChild(o.createTextNode(e.value));else if(e.type===h.URL_TOKEN){var A=o.createElement("img");A.src=e.value,A.style.opacity="1",a.appendChild(A)}else if(e.type===h.FUNCTION){if("attr"===e.name){var r=e.values.filter(St);r.length&&a.appendChild(o.createTextNode(t.getAttribute(r[0].value)||""))}else if("counter"===e.name){var i=e.values.filter(Ot),c=i[0],u=i[1];if(c&&St(c)){var l=n.counters.getCounterValue(c.value),f=u&&St(u)?EA.parse(u.value):bA.DECIMAL;a.appendChild(o.createTextNode(Fn(l,f,!1)))}}else if("counters"===e.name){var d=e.values.filter(Ot),p=(c=d[0],d[1]);if(u=d[2],c&&St(c)){var g=n.counters.getCounterValues(c.value),B=u&&St(u)?EA.parse(u.value):bA.DECIMAL,w=p&&p.type===h.STRING_TOKEN?p.value:"",m=g.map((function(t){return Fn(t,B,!1)})).join(w);a.appendChild(o.createTextNode(m))}}}else if(e.type===h.IDENT_TOKEN)switch(e.value){case"open-quote":a.appendChild(o.createTextNode(mr(s.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(mr(s.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(e.value))}})),a.className=_n+" "+Tn;var c=r===hr.BEFORE?" "+_n:" "+Tn;return en(e)?e.className.baseValue+=c:e.className+=c,a}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(hr||(hr={}));var En,Nn=function(t,e){var A=t.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=e.width.toString(),A.height=e.height.toString(),A.scrolling="no",A.setAttribute("data-html2canvas-ignore","true"),t.body.appendChild(A),A},Ln=function(t){return new Promise((function(e,A){var r=t.contentWindow;if(!r)return A("No window assigned for iframe");var n=r.document;r.onload=t.onload=n.onreadystatechange=function(){r.onload=t.onload=n.onreadystatechange=null;var A=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(A),e(t))}),50)}}))},xn=function(t,e){for(var A=t.length-1;A>=0;A--){var r=t.item(A);"content"!==r&&e.style.setProperty(r,t.getPropertyValue(r))}return e},Hn=function(t){var e="";return t&&(e+=""),e},Sn=function(t,e,A){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||A!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,A)},In=function(t){var e=t[0],A=t[1],r=t[2];e.scrollLeft=A,e.scrollTop=r},_n="___html2canvas___pseudoelement_before",Tn="___html2canvas___pseudoelement_after",On=function(t){Rn(t,"."+_n+':before{\n content: "" !important;\n display: none !important;\n}\n .'+Tn+':after{\n content: "" !important;\n display: none !important;\n}')},Rn=function(t,e){var A=t.ownerDocument;if(A){var r=A.createElement("style");r.textContent=e,t.appendChild(r)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(En||(En={}));var Pn,Mn=function(t,e){return t.length===e.length&&t.some((function(t,A){return t===e[A]}))},Kn=function(){function t(t,e){this.type=En.VECTOR,this.x=t,this.y=e}return t.prototype.add=function(e,A){return new t(this.x+e,this.y+A)},t}(),Dn=function(t,e,A){return new Kn(t.x+(e.x-t.x)*A,t.y+(e.y-t.y)*A)},kn=function(){function t(t,e,A,r){this.type=En.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=A,this.end=r}return t.prototype.subdivide=function(e,A){var r=Dn(this.start,this.startControl,e),n=Dn(this.startControl,this.endControl,e),i=Dn(this.endControl,this.end,e),o=Dn(r,n,e),s=Dn(n,i,e),a=Dn(o,s,e);return A?new t(this.start,r,o,a):new t(a,s,i,this.end)},t.prototype.add=function(e,A){return new t(this.start.add(e,A),this.startControl.add(e,A),this.endControl.add(e,A),this.end.add(e,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),zn=function(t){return t.type===En.BEZIER_CURVE},jn=function(t){var e=t.styles,A=t.bounds,r=qt(e.borderTopLeftRadius,A.width,A.height),n=r[0],i=r[1],o=qt(e.borderTopRightRadius,A.width,A.height),s=o[0],a=o[1],c=qt(e.borderBottomRightRadius,A.width,A.height),u=c[0],l=c[1],h=qt(e.borderBottomLeftRadius,A.width,A.height),f=h[0],d=h[1],p=[];p.push((n+s)/A.width),p.push((f+u)/A.width),p.push((i+d)/A.height),p.push((a+l)/A.height);var g=Math.max.apply(Math,p);g>1&&(n/=g,i/=g,s/=g,a/=g,u/=g,l/=g,f/=g,d/=g);var B=A.width-s,w=A.height-l,m=A.width-u,y=A.height-d,v=e.borderTopWidth,C=e.borderRightWidth,Q=e.borderBottomWidth,b=e.borderLeftWidth,F=Vt(e.paddingTop,t.bounds.width),U=Vt(e.paddingRight,t.bounds.width),E=Vt(e.paddingBottom,t.bounds.width),N=Vt(e.paddingLeft,t.bounds.width);this.topLeftBorderBox=n>0||i>0?qn(A.left,A.top,n,i,Pn.TOP_LEFT):new Kn(A.left,A.top),this.topRightBorderBox=s>0||a>0?qn(A.left+B,A.top,s,a,Pn.TOP_RIGHT):new Kn(A.left+A.width,A.top),this.bottomRightBorderBox=u>0||l>0?qn(A.left+m,A.top+w,u,l,Pn.BOTTOM_RIGHT):new Kn(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=f>0||d>0?qn(A.left,A.top+y,f,d,Pn.BOTTOM_LEFT):new Kn(A.left,A.top+A.height),this.topLeftPaddingBox=n>0||i>0?qn(A.left+b,A.top+v,Math.max(0,n-b),Math.max(0,i-v),Pn.TOP_LEFT):new Kn(A.left+b,A.top+v),this.topRightPaddingBox=s>0||a>0?qn(A.left+Math.min(B,A.width+b),A.top+v,B>A.width+b?0:s-b,a-v,Pn.TOP_RIGHT):new Kn(A.left+A.width-C,A.top+v),this.bottomRightPaddingBox=u>0||l>0?qn(A.left+Math.min(m,A.width-b),A.top+Math.min(w,A.height+v),Math.max(0,u-C),l-Q,Pn.BOTTOM_RIGHT):new Kn(A.left+A.width-C,A.top+A.height-Q),this.bottomLeftPaddingBox=f>0||d>0?qn(A.left+b,A.top+y,Math.max(0,f-b),d-Q,Pn.BOTTOM_LEFT):new Kn(A.left+b,A.top+A.height-Q),this.topLeftContentBox=n>0||i>0?qn(A.left+b+N,A.top+v+F,Math.max(0,n-(b+N)),Math.max(0,i-(v+F)),Pn.TOP_LEFT):new Kn(A.left+b+N,A.top+v+F),this.topRightContentBox=s>0||a>0?qn(A.left+Math.min(B,A.width+b+N),A.top+v+F,B>A.width+b+N?0:s-b+N,a-(v+F),Pn.TOP_RIGHT):new Kn(A.left+A.width-(C+U),A.top+v+F),this.bottomRightContentBox=u>0||l>0?qn(A.left+Math.min(m,A.width-(b+N)),A.top+Math.min(w,A.height+v+F),Math.max(0,u-(C+U)),l-(Q+E),Pn.BOTTOM_RIGHT):new Kn(A.left+A.width-(C+U),A.top+A.height-(Q+E)),this.bottomLeftContentBox=f>0||d>0?qn(A.left+b+N,A.top+y,Math.max(0,f-(b+N)),d-(Q+E),Pn.BOTTOM_LEFT):new Kn(A.left+b+N,A.top+A.height-(Q+E))};!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Pn||(Pn={}));var qn=function(t,e,A,r,n){var i=(Math.sqrt(2)-1)/3*4,o=A*i,s=r*i,a=t+A,c=e+r;switch(n){case Pn.TOP_LEFT:return new kn(new Kn(t,c),new Kn(t,c-s),new Kn(a-o,e),new Kn(a,e));case Pn.TOP_RIGHT:return new kn(new Kn(t,e),new Kn(t+o,e),new Kn(a,c-s),new Kn(a,c));case Pn.BOTTOM_RIGHT:return new kn(new Kn(a,e),new Kn(a,e+s),new Kn(t+o,c),new Kn(t,c));case Pn.BOTTOM_LEFT:default:return new kn(new Kn(a,c),new Kn(a-o,c),new Kn(t,e+s),new Kn(t,e))}},Vn=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Xn=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Gn=function(t,e,A){this.type=0,this.offsetX=t,this.offsetY=e,this.matrix=A,this.target=6},Jn=function(t,e){this.type=1,this.target=e,this.path=t},Wn=function(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Yn=function(){function t(t,e){if(this.container=t,this.effects=e.slice(0),this.curves=new jn(t),null!==t.styles.transform){var A=t.bounds.left+t.styles.transformOrigin[0].number,r=t.bounds.top+t.styles.transformOrigin[1].number,n=t.styles.transform;this.effects.push(new Gn(A,r,n))}if(t.styles.overflowX!==UA.VISIBLE){var i=Vn(this.curves),o=Xn(this.curves);Mn(i,o)?this.effects.push(new Jn(i,6)):(this.effects.push(new Jn(i,2)),this.effects.push(new Jn(o,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==UA.VISIBLE){var e=Vn(this.curves),A=Xn(this.curves);Mn(e,A)||t.push(new Jn(A,6))}return t},t}(),Zn=function t(e,A,r,n){e.container.elements.forEach((function(i){var o=dr(i.flags,4),s=dr(i.flags,2),a=new Yn(i,e.getParentEffects());dr(i.styles.display,2048)&&n.push(a);var c=dr(i.flags,8)?[]:n;if(o||s){var u=o||i.styles.isPositioned()?r:A,l=new Wn(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var h=i.styles.zIndex.order;if(h<0){var f=0;u.negativeZIndex.some((function(t,e){return h>t.element.container.styles.zIndex.order?(f=e,!1):f>0})),u.negativeZIndex.splice(f,0,l)}else if(h>0){var d=0;u.positiveZIndex.some((function(t,e){return h>=t.element.container.styles.zIndex.order?(d=e+1,!1):d>0})),u.positiveZIndex.splice(d,0,l)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?u.nonPositionedFloats.push(l):u.nonPositionedInlineLevel.push(l);t(a,l,o?l:r,c)}else i.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),t(a,A,r,c);dr(i.flags,8)&&$n(i,c)}))},$n=function(t,e){for(var A=t instanceof Pr?t.start:1,r=t instanceof Pr&&t.reversed,n=0;n0&&t.intrinsicHeight>0){var r=Ai(t),n=Xn(e);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(A,0,0,t.intrinsicWidth,t.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var A,r,o,s,a,c,u,l,f,d,p,g,B,w;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(e.effects,4),A=e.container,r=e.curves,o=A.styles,s=0,a=A.textNodes,n.label=1;case 1:return s0&&b>0&&(w=r.ctx.createPattern(p,"repeat"),r.renderRepeat(y,w,U,E))):function(t){return t.type===ce.RADIAL_GRADIENT}(A)&&(m=ri(t,e,[null,null,null]),y=m[0],v=m[1],C=m[2],Q=m[3],b=m[4],F=0===A.position.length?[zt]:A.position,U=Vt(F[0],Q),E=Vt(F[F.length-1],b),N=function(t,e,A,r,n){var i=0,o=0;switch(t.size){case le.CLOSEST_SIDE:t.shape===ue.CIRCLE?i=o=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===ue.ELLIPSE&&(i=Math.min(Math.abs(e),Math.abs(e-r)),o=Math.min(Math.abs(A),Math.abs(A-n)));break;case le.CLOSEST_CORNER:if(t.shape===ue.CIRCLE)i=o=Math.min(ge(e,A),ge(e,A-n),ge(e-r,A),ge(e-r,A-n));else if(t.shape===ue.ELLIPSE){var s=Math.min(Math.abs(A),Math.abs(A-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=Be(r,n,e,A,!0),c=a[0],u=a[1];o=s*(i=ge(c-e,(u-A)/s))}break;case le.FARTHEST_SIDE:t.shape===ue.CIRCLE?i=o=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===ue.ELLIPSE&&(i=Math.max(Math.abs(e),Math.abs(e-r)),o=Math.max(Math.abs(A),Math.abs(A-n)));break;case le.FARTHEST_CORNER:if(t.shape===ue.CIRCLE)i=o=Math.max(ge(e,A),ge(e,A-n),ge(e-r,A),ge(e-r,A-n));else if(t.shape===ue.ELLIPSE){s=Math.max(Math.abs(A),Math.abs(A-n))/Math.max(Math.abs(e),Math.abs(e-r));var l=Be(r,n,e,A,!1);c=l[0],u=l[1],o=s*(i=ge(c-e,(u-A)/s))}}return Array.isArray(t.size)&&(i=Vt(t.size[0],r),o=2===t.size.length?Vt(t.size[1],n):i),[i,o]}(A,U,E,Q,b),L=N[0],x=N[1],L>0&&L>0&&(H=r.ctx.createRadialGradient(v+U,C+E,0,v+U,C+E,L),pe(A.stops,2*L).forEach((function(t){return H.addColorStop(t.stop,$t(t.color))})),r.path(y),r.ctx.fillStyle=H,L!==x?(S=t.bounds.left+.5*t.bounds.width,I=t.bounds.top+.5*t.bounds.height,T=1/(_=x/L),r.ctx.save(),r.ctx.translate(S,I),r.ctx.transform(1,0,0,_,0,0),r.ctx.translate(-S,-I),r.ctx.fillRect(v,T*(C-I)+I,Q,b*T),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return e--,[2]}}))},r=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i>18&63,A=i>>12&63,r=i>>6&63,n=63&i,c[s++]=h.charAt(e)+h.charAt(A)+h.charAt(r)+h.charAt(n),o>16&255,A=o>>8&255,r=255&o,c[a++]=64==n?String.fromCharCode(e):64==i?String.fromCharCode(e,A):String.fromCharCode(e,A,r),s>>0,r=new Array(A),n=1>>0,n=0;n>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],n=0;n>16&255,r=c>>8&255,i=255&c}if(void 0===r||void 0===o&&A===r&&r===i)if("string"==typeof A)e=A+" "+s[0];else if(2===t.precision)e=m(A/255)+" "+s[0];else e=y(A/255)+" "+s[0];else if(void 0===o||"object"===n(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof A)e=[A,r,i,s[1]].join(" ");else if(2===t.precision)e=[m(A/255),m(r/255),m(i/255),s[1]].join(" ");else e=[y(A/255),y(r/255),y(i/255),s[1]].join(" ")}else if("string"==typeof A)e=[A,r,i,o,s[2]].join(" ");else if(2===t.precision)e=[m(A/255),m(r/255),m(i/255),m(o/255),s[2]].join(" ");else e=[y(A/255),y(r/255),y(i/255),y(o/255),s[2]].join(" ");return e},pt=f.__private__.getFilters=function(){return c},gt=f.__private__.putStream=function(t){var e,A=(t=t||{}).data||"",r=t.filters||pt(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=A.length;!0===r&&(r=["FlateEncode"]);var a=t.additionalKeyValues||[],c=(e=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(A,r):{data:A,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());0!==e.data.length&&(a.push({key:"Length",value:e.data.length}),!0===i&&a.push({key:"Length1",value:o})),0!=c.length&&(c.split("/").length-1==1?a.push({key:"Filter",value:c}):a.push({key:"Filter",value:"["+c+"]"})),D("<<");for(var u=0;u>"),0!==e.data.length&&(D("stream"),D(e.data),D("endstream"))},Bt=f.__private__.putPage=function(t){t.mediaBox;var e=t.number,A=t.data,r=t.objId,n=t.contentsObjId;ct(r,!0),rt[N].mediaBox.topRightX,rt[N].mediaBox.bottomLeftX,rt[N].mediaBox.topRightY,rt[N].mediaBox.bottomLeftY,D("<>"),D("endobj");var i=A.join("\n");return ct(n,!0),gt({data:i,filters:pt()}),D("endobj"),r},wt=f.__private__.putPages=function(){var t,e,A=[];for(t=1;t<=At;t++)rt[t].objId=at(),rt[t].contentsObjId=at();for(t=1;t<=At;t++)A.push(Bt({number:t,data:P[t],objId:rt[t].objId,contentsObjId:rt[t].contentsObjId,mediaBox:rt[t].mediaBox,cropBox:rt[t].cropBox,bleedBox:rt[t].bleedBox,trimBox:rt[t].trimBox,artBox:rt[t].artBox,userUnit:rt[t].userUnit,rootDictionaryObjId:lt,resourceDictionaryObjId:ht}));ct(lt,!0),D("<>"),D("endobj"),it.publish("postPutPages")},mt=function(t,e,A){et.hasOwnProperty(e)||(et[e]={}),et[e][A]=t},yt=function(t,e,A,r,n){n=n||!1;var i="F"+(Object.keys(tt).length+1).toString(10),o={id:i,postScriptName:t,fontName:e,fontStyle:A,encoding:r,isStandardFont:n,metadata:{}};return it.publish("addFont",{font:o,instance:this}),void 0!==i&&(tt[i]=o,mt(i,e,A)),i},vt=f.__private__.pdfEscape=f.pdfEscape=function(t,e){return function(t,e){var A,r,n,i,o,s,a,c,u;if(n=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&tt[I].metadata&&tt[I].metadata[n]&&tt[I].metadata[n].encoding&&(i=tt[I].metadata[n].encoding,!o&&tt[I].encoding&&(o=tt[I].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(a=!1,s=[],A=0,r=t.length;A>8&&(a=!0);t=s.join("")}for(A=t.length;void 0===a&&0!==A;)t.charCodeAt(A-1)>>8&&(a=!0),A--;if(!a)return t;for(s=e.noBOM?[]:[254,255],A=0,r=t.length;A>8)>>8)throw new Error("Character at position "+A+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ct=f.__private__.beginPage=function(t,e){var r,n="string"==typeof e&&e.toLowerCase();if("string"==typeof t&&(r=B(t.toLowerCase()))&&(t=r[0],e=r[1]),Array.isArray(t)&&(e=t[1],t=t[0]),(isNaN(t)||isNaN(e))&&(t=A[0],e=A[1]),n){switch(n.substr(0,1)){case"l":t>"),D("endobj")},Nt=f.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||lt;switch(st(),D("<<"),D("/Type /Catalog"),D("/Pages "+e+" 0 R"),x||(x="fullwidth"),x){case"fullwidth":D("/OpenAction [3 0 R /FitH null]");break;case"fullheight":D("/OpenAction [3 0 R /FitV null]");break;case"fullpage":D("/OpenAction [3 0 R /Fit]");break;case"original":D("/OpenAction [3 0 R /XYZ null null 1]");break;default:var A=""+x;"%"===A.substr(A.length-1)&&(x=parseInt(x)/100),"number"==typeof x&&D("/OpenAction [3 0 R /XYZ null null "+m(x)+"]")}switch(S||(S="continuous"),S){case"continuous":D("/PageLayout /OneColumn");break;case"single":D("/PageLayout /SinglePage");break;case"two":case"twoleft":D("/PageLayout /TwoColumnLeft");break;case"tworight":D("/PageLayout /TwoColumnRight")}H&&D("/PageMode /"+H),it.publish("putCatalog"),D(">>"),D("endobj")},Lt=f.__private__.putTrailer=function(){D("trailer"),D("<<"),D("/Size "+(Z+1)),D("/Root "+Z+" 0 R"),D("/Info "+(Z-1)+" 0 R"),D("/ID [ <"+v+"> <"+v+"> ]"),D(">>")},Ht=f.__private__.putHeader=function(){D("%PDF-"+d),D("%\xba\xdf\xac\xe0")},St=f.__private__.putXRef=function(){var t=1,e="0000000000";for(D("xref"),D("0 "+(Z+1)),D("0000000000 65535 f "),t=1;t<=Z;t++)"function"==typeof $[t]?D((e+$[t]()).slice(-10)+" 00000 n "):void 0!==$[t]?D((e+$[t]).slice(-10)+" 00000 n "):D("0000000000 00000 n ")},It=f.__private__.buildDocument=function(){R=!1,K=Z=0,M=[],$=[],nt=[],lt=at(),ht=at(),it.publish("buildDocument"),Ht(),wt(),function(){it.publish("putAdditionalObjects");for(var t=0;t>"),D("endobj")));var e}(),it.publish("putResources"),ct(ht,!0),D("<<"),function(){for(var t in D("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),D("/Font <<"),tt)tt.hasOwnProperty(t)&&(!1===l||!0===l&&h.hasOwnProperty(t))&&D("/"+t+" "+tt[t].objectNumber+" 0 R");D(">>"),D("/XObject <<"),it.publish("putXobjectDict"),D(">>")}(),D(">>"),D("endobj"),it.publish("postPutResources"),Et(),Nt();var t=K;return St(),Lt(),D("startxref"),D(""+t),D("%%EOF"),R=!0,M.join("\n")},_t=f.__private__.getBlob=function(t){return new Blob([z(t)],{type:"application/pdf"})},Tt=f.output=f.__private__.output=((T=function(t,e){e=e||{};var A=It();switch("string"==typeof e?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return A;case"save":f.save(e.filename);break;case"arraybuffer":return z(A);case"blob":return _t(A);case"bloburi":case"bloburl":if(void 0!==r.URL&&"function"==typeof r.URL.createObjectURL)return r.URL&&r.URL.createObjectURL(_t(A))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+e.filename+";base64,"+btoa(A);case"dataurlnewwindow":var n='',i=r.open();if(null!==i&&i.document.write(n),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return r.document.location.href="data:application/pdf;filename="+e.filename+";base64,"+btoa(A);default:return null}}).foo=function(){try{return T.apply(this,arguments)}catch(A){var t=A.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var e="Error in function "+t.split("\n")[0].split("<")[0]+": "+A.message;if(!r.console)throw new Error(e);r.console.error(e,A),r.alert&&alert(e)}},(T.foo.bar=T).foo),Ot=function(t){return!0===Array.isArray(ot)&&-1":")"),et=1):(Y=Gt(e),Z=Jt(A),$=(c?"<":"(")+C[W]+(c?">":")")),void 0!==z&&void 0!==z[W]&&(At=z[W]+" Tw\n"),0!==L.length&&0===W?t.push(At+L.join(" ")+" "+Y.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+$):1===et||0===et&&0===W?t.push(At+Y.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+$):t.push(At+$);t=0===et?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var rt="BT\n/"+I+" "+q+" Tf\n"+(q*l).toFixed(2)+" TL\n"+te+"\n";return rt+=u,rt+=t,D(rt+="ET"),h[I]=!0,f},f.__private__.lstext=f.lstext=function(t,e,A,r){return console.warn("jsPDF.lstext is deprecated"),this.text(t,e,A,{charSpace:r})},f.__private__.clip=f.clip=function(t){D("evenodd"===t?"W*":"W"),D("n")},f.__private__.clip_fixed=f.clip_fixed=function(t){console.log("clip_fixed is deprecated"),f.clip(t)};var Kt=f.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(t)&&(e=!0),e},Dt=f.__private__.getStyle=function(t){var e="S";return"F"===t?e="f":"FD"===t||"DF"===t?e="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(e=t),e};f.__private__.line=f.line=function(t,e,A,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[A-t,r-e]],t,e)},f.__private__.lines=f.lines=function(t,e,A,r,n,i){var o,s,a,c,u,l,h,f,d,p,g,B;if("number"==typeof t&&(B=A,A=e,e=t,t=B),r=r||[1,1],i=i||!1,isNaN(e)||isNaN(A)||!Array.isArray(t)||!Array.isArray(r)||!Kt(n)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(D(y(Gt(e))+" "+y(Jt(A))+" m "),o=r[0],s=r[1],c=t.length,p=e,g=A,a=0;a=o.length-1;if(b&&!F){m+=" ";continue}if(b||F){if(F)B=Q;else if(t.multiline&&c<(h+2)*(y+2)+2)continue t}else{if(!t.multiline)continue t;if(c<(h+2)*(y+2)+2)continue t;B=Q}for(var U="",E=g;E<=B;E++)U+=o[E]+" ";switch(U=" "==U.substr(U.length-1)?U.substr(0,U.length-1):U,w=C(U,t,a).width,t.textAlign){case"right":d=u-w-2;break;case"center":d=(u-w)/2;break;default:d=2}e+=s(d)+" "+s(p)+" Td\n",e+="("+i(U)+") Tj\n",e+=-s(d)+" 0 Td\n",p=-(a+2),w=0,g=B+1,y++,m=""}break}return n.text=e,n.fontSize=a,n},C=function(t,e,r){var n=A.internal.getFont(e.fontName,e.fontStyle),i=A.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:A.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},Q={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},b=function(){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var r=t[e];r.objId=void 0,r.hasAnnotation&&F.call(A,r)}},F=function(t){var e={type:"reference",object:t};void 0===A.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===e.type&&t.object===e.object}))&&A.internal.getPageInfo(t.page).pageContext.annotations.push(e)},U=function(){if(void 0===A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},E=function(){A.internal.events.unsubscribe(A.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete A.internal.acroformPlugin.acroFormDictionaryRoot._eventID,A.internal.acroformPlugin.printedOut=!0},N=function(t){var e=!t;for(var r in t||(A.internal.newObjectDeferredBegin(A.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),A.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||A.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(r)){var i=t[r],o=[],s=i.Rect;if(i.Rect&&(i.Rect=m.call(this,i.Rect)),A.internal.newObjectDeferredBegin(i.objId,!0),i.DA=G.createDefaultAppearanceStream(i),"object"===n(i)&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=y.call(this,i);o.push({key:"AP",value:"<>"}),A.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var l=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",1<=Object.keys(l).length||Array.isArray(l))for(var r in l){var h;l.hasOwnProperty(r)&&("function"==typeof(h=l[r])&&(h=h.call(this,i)),c+="/"+r+" "+h+" ",0<=A.internal.acroformPlugin.xForms.indexOf(h)||A.internal.acroformPlugin.xForms.push(h))}else"function"==typeof(h=l)&&(h=h.call(this,i)),c+="/"+r+" "+h,0<=A.internal.acroformPlugin.xForms.indexOf(h)||A.internal.acroformPlugin.xForms.push(h);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}A.internal.putStream({additionalKeyValues:o}),A.internal.out("endobj")}e&&L.call(this,A.internal.acroformPlugin.xForms)},L=function(t){for(var e in t)if(t.hasOwnProperty(e)){var r=e,i=t[e];A.internal.newObjectDeferredBegin(i&&i.objId,!0),"object"===n(i)&&"function"==typeof i.putStream&&i.putStream(),delete t[r]}},x=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(A=this,O.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(Q)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");r=A.internal.scaleFactor,A.internal.acroformPlugin.acroFormDictionaryRoot=new T,A.internal.acroformPlugin.acroFormDictionaryRoot._eventID=A.internal.events.subscribe("postPutResources",E),A.internal.events.subscribe("buildDocument",b),A.internal.events.subscribe("putCatalog",U),A.internal.events.subscribe("postPutPages",N),A.internal.acroformPlugin.isInitialized=!0}},H=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var e="[",A=0;A>"),A.join("\n")}},set:function(t){"object"===n(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};c(D,O);var k=function(){D.call(this),this.pushButton=!0};c(k,D);var z=function(){D.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};c(z,D);var j=function(){var t,e;O.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var A,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t,e=[];for(t in e.push("<<"),r)e.push("/"+t+" ("+r[t]+")");return e.push(">>"),e.join("\n")},set:function(t){"object"===n(t)&&(r=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(t){"string"==typeof t&&(r.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(t){A="/"+t}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=G.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(j,O),z.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var A=this.Kids[e];A.appearanceStreamContent=t.createAppearanceStream(A.optionName),A.caption=t.getCA()}},z.prototype.createOption=function(t){this.Kids.length;var e=new j;return e.Parent=this,e.optionName=t,this.Kids.push(e),J.call(this,e),e};var q=function(){D.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=G.CheckBox.createAppearanceStream()};c(q,D);var V=function(){O.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,13):this.Ff=w(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,21):this.Ff=w(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,23):this.Ff=w(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,24):this.Ff=w(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,25):this.Ff=w(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,26):this.Ff=w(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(V,O);var X=function(){V.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=B(this.Ff,14):this.Ff=w(this.Ff,14)}}),this.password=!0};c(X,V);var G={CheckBox:{createAppearanceStream:function(){return{N:{On:G.CheckBox.YesNormal},D:{On:G.CheckBox.YesPushDown,Off:G.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=h(t),r=[],n=A.internal.getFont(t.fontName,t.fontStyle).id,i=A.__private__.encodeColorString(t.color),o=v(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+s(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=h(t),r=A.internal.getFont(t.fontName,t.fontStyle).id,n=A.__private__.encodeColorString(t.color),i=[],o=G.internal.getHeight(t),a=G.internal.getWidth(t),c=v(t,t.caption);return i.push("1 g"),i.push("0 0 "+s(a)+" "+s(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+s(a-1)+" "+s(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+s(c.fontSize)+" Tf "+n),i.push(c.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=h(t),A=[];return A.push("0.749023 g"),A.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:G.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=G.RadioButton.Circle.YesNormal,e.D[t]=G.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=h(t),A=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=G.internal.Bezier_C,i=Number((r*n).toFixed(5));return A.push("q"),A.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),A.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),A.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),A.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e},YesPushDown:function(t){var e=h(t),A=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5)),o=Number((r*G.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),A.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),A.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),A.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),A.push("f"),A.push("Q"),A.push("0 g"),A.push("q"),A.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),A.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),A.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),A.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e},OffPushDown:function(t){var e=h(t),A=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),A.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),A.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),A.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:G.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=G.RadioButton.Cross.YesNormal,e.D[t]=G.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=h(t),A=[],r=G.internal.calculateCross(t);return A.push("q"),A.push("1 1 "+s(G.internal.getWidth(t)-2)+" "+s(G.internal.getHeight(t)-2)+" re"),A.push("W"),A.push("n"),A.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),A.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),A.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),A.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),A.push("s"),A.push("Q"),e.stream=A.join("\n"),e},YesPushDown:function(t){var e=h(t),A=G.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(G.internal.getWidth(t)-2)+" "+s(G.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(s(A.x1.x)+" "+s(A.x1.y)+" m"),r.push(s(A.x2.x)+" "+s(A.x2.y)+" l"),r.push(s(A.x4.x)+" "+s(A.x4.y)+" m"),r.push(s(A.x3.x)+" "+s(A.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=h(t),A=[];return A.push("0.749023 g"),A.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=A.internal.getFont(t.fontName,t.fontStyle).id,r=A.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};G.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=G.internal.getWidth(t),A=G.internal.getHeight(t),r=Math.min(e,A);return{x1:{x:(e-r)/2,y:(A-r)/2+r},x2:{x:(e-r)/2+r,y:(A-r)/2},x3:{x:(e-r)/2,y:(A-r)/2},x4:{x:(e-r)/2+r,y:(A-r)/2+r}}}},G.internal.getWidth=function(t){var e=0;return"object"===n(t)&&(e=u(t.Rect[2])),e},G.internal.getHeight=function(t){var e=0;return"object"===n(t)&&(e=u(t.Rect[3])),e};var J=t.addField=function(t){if(x.call(this),!(t instanceof O))throw new Error("Invalid argument passed to jsPDF.addField.");return function(t){A.internal.acroformPlugin.printedOut&&(A.internal.acroformPlugin.printedOut=!1,A.internal.acroformPlugin.acroFormDictionaryRoot=null),A.internal.acroformPlugin.acroFormDictionaryRoot||x.call(A),A.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)}.call(this,t),t.page=A.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(t){if(t instanceof D==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return J.call(this,t)},t.addTextField=function(t){if(t instanceof V==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return J.call(this,t)},t.addChoiceField=function(t){if(t instanceof R==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return J.call(this,t)},"object"==n(e)&&void 0===e.ChoiceField&&void 0===e.ListBox&&void 0===e.ComboBox&&void 0===e.EditBox&&void 0===e.Button&&void 0===e.PushButton&&void 0===e.RadioButton&&void 0===e.CheckBox&&void 0===e.TextField&&void 0===e.PasswordField?(e.ChoiceField=R,e.ListBox=P,e.ComboBox=M,e.EditBox=K,e.Button=D,e.PushButton=k,e.RadioButton=z,e.CheckBox=q,e.TextField=V,e.PasswordField=X,e.AcroForm={Appearance:G}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=R,t.AcroFormListBox=P,t.AcroFormComboBox=M,t.AcroFormEditBox=K,t.AcroFormButton=D,t.AcroFormPushButton=k,t.AcroFormRadioButton=z,t.AcroFormCheckBox=q,t.AcroFormTextField=V,t.AcroFormPasswordField=X,t.AcroFormAppearance=G,t.AcroForm={ChoiceField:R,ListBox:P,ComboBox:M,EditBox:K,Button:D,PushButton:k,RadioButton:z,CheckBox:q,TextField:V,PasswordField:X,Appearance:G}})((window.tmp=dt).API,"undefined"!=typeof window&&window||void 0!==r&&r),function(t){var e="addImage_",A={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.getImageFileTypeByImageData=function(e,r){var n,i;r=r||"UNKNOWN";var o,s,a,c="UNKNOWN";for(a in t.isArrayBufferView(e)&&(e=t.arrayBufferToBinaryString(e)),A)for(o=A[a],n=0;n>"}),"trns"in e&&e.trns.constructor==Array){for(var s="",a=0,c=e.trns.length;a>18]+r[(258048&e)>>12]+r[(4032&e)>>6]+r[63&e];return 1==o?A+=r[(252&(e=n[s]))>>2]+r[(3&e)<<4]+"==":2==o&&(A+=r[(64512&(e=n[s]<<8|n[s+1]))>>10]+r[(1008&e)>>4]+r[(15&e)<<2]+"="),A},t.createImageInfo=function(t,e,A,r,n,i,o,s,a,c,u,l,h){var f={alias:s,w:e,h:A,cs:r,bpc:n,i:o,data:t};return i&&(f.f=i),a&&(f.dp=a),c&&(f.trns=c),u&&(f.pal=u),l&&(f.smask=l),h&&(f.p=h),f},t.addImage=function(A,r,i,h,f,d,p,g,B){var w="";if("string"!=typeof r){var m=d;d=f,f=h,h=i,i=r,r=m}if("object"===n(A)&&!c(A)&&"imageData"in A){var y=A;A=y.imageData,r=y.format||r||"UNKNOWN",i=y.x||i||0,h=y.y||h||0,f=y.w||f,d=y.h||d,p=y.alias||p,g=y.compression||g,B=y.rotation||y.angle||B}var v=this.internal.getFilters();if(void 0===g&&-1!==v.indexOf("FlateEncode")&&(g="SLOW"),"string"==typeof A&&(A=unescape(A)),isNaN(i)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var C,Q,b,F,U,E,N,L=function(){var t=this.internal.collections[e+"images"];return t||(this.internal.collections[e+"images"]=t={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s)),t}.call(this);if(!((C=l(A,L))||(c(A)&&(A=u(A,r)),(null==(N=p)||0===N.length)&&(p="string"==typeof(E=A)?t.sHashCode(E):t.isArrayBufferView(E)?t.sHashCode(t.arrayBufferToBinaryString(E)):null),C=l(p,L)))){if(this.isString(A)&&(""!==(w=this.convertStringToImageData(A))||void 0!==(w=t.loadFile(A)))&&(A=w),r=this.getImageFileTypeByImageData(A,r),!a(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(A instanceof Uint8Array||(Q=A,A=this.binaryStringToUint8Array(A))),!(C=this["process"+r.toUpperCase()](A,(U=0,(F=L)&&(U=Object.keys?Object.keys(F).length:function(t){var e=0;for(var A in t)t.hasOwnProperty(A)&&e++;return e}(F)),U),p,((b=g)&&"string"==typeof b&&(b=b.toUpperCase()),b in t.image_compression?b:t.image_compression.NONE),Q)))throw new Error("An unknown error occurred whilst processing the image")}return function(t,e,A,r,n,i,o,s){var a=function(t,e,A){return t||e||(e=t=-96),t<0&&(t=-1*A.w*72/t/this.internal.scaleFactor),e<0&&(e=-1*A.h*72/e/this.internal.scaleFactor),0===t&&(t=e*A.w/A.h),0===e&&(e=t*A.h/A.w),[t,e]}.call(this,A,r,n),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(A=a[0],r=a[1],o[i]=n,s){s*=Math.PI/180;var l=Math.cos(s),h=Math.sin(s),f=function(t){return t.toFixed(4)},d=[f(l),f(h),f(-1*h),f(l),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,c(t),u(e+r),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([c(A),"0","0",c(r),"0","0","cm"].join(" "))):this.internal.write([c(A),"0","0",c(r),c(t),u(e+r),"cm"].join(" ")),this.internal.write("/I"+n.i+" Do"),this.internal.write("Q")}.call(this,i,h,f,d,C,C.i,L,B),this},t.convertStringToImageData=function(e){var A,r="";if(this.isString(e)){var n;A=null!==(n=this.extractImageFromDataUrl(e))?n.data:e;try{r=atob(A)}catch(e){throw t.validateStringAsBase64(A)?new Error("atob-Error in jsPDF.convertStringToImageData "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var h=function(t,e){return t.subarray(e,e+5)};t.processJPEG=function(t,e,A,n,i,o){var s,a=this.decode.DCT_DECODE;if(!this.isString(t)&&!this.isArrayBuffer(t)&&!this.isArrayBufferView(t))return null;if(this.isString(t)&&(s=function(t){var e;if("JPEG"!==r(t))throw new Error("getJpegSize requires a binary string jpeg file");for(var A=256*t.charCodeAt(4)+t.charCodeAt(5),n=4,i=t.length;n>",c.content=g;var h=c.objId+" 0 R";g="<>";else if(a.options.pageNumber)switch(g="<>",this.internal.write(g))}}this.internal.write("]")}}]),o.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},o.link=function(t,e,A,r,n){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:t,y:e,w:A,h:r,options:n,type:"link"})},o.textWithLink=function(t,e,A,r){var n=this.getTextWidth(t),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,A),A+=.2*i,this.link(e,A-i,n,i,r),n},o.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor},function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},A={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&i(t)&&e[t.charCodeAt(0)].length<=2},a=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&0<=n.indexOf(t.charCodeAt(0))},c=(t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&i(t)&&1<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&i(t)&&2<=e[t.charCodeAt(0)].length}),u=(t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&i(t)&&3<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&i(t)&&4==e[t.charCodeAt(0)].length}),l=t.__arabicParser__.resolveLigatures=function(t){var e=0,r=A,n=0,i="",o=0;for(e=0;e>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}));return this},s=dt.API,(a=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(t){A=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(t,e){var A;if("2d"!==(t=t||"2d"))return null;for(A in e)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=e[A]);return(this.pdf.context2d._canvas=this).pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},s.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}]),c=dt.API,l={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},h=1,f=function(t,e,A,r,n){l={x:t,y:e,w:A,h:r,ln:n}},d=function(){return l},p={left:0,top:0,bottom:0},c.setHeaderFunction=function(t){u=t},c.getTextDimensions=function(t,e){var A=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(e=e||{}).scaleFactor||this.internal.scaleFactor),n=0,i=0,o=0;if("string"==typeof t)0!=(n=this.getStringUnitWidth(t)*A)&&(i=1);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-c.bottom&&(this.cellAddPage(),a=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),e=d().y+d().h,a&&(e=23)}if(void 0!==n[0])if(this.printingHeaderRow?this.rect(t,e,A,r,"FD"):this.rect(t,e,A,r),"right"===o){n instanceof Array||(n=[n]);for(var u=0;u=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:A,startAngle:r,endAngle:n,counterclockwise:i})},c.prototype.arcTo=function(t,e,A,r,n){throw new Error("arcTo not implemented.")},c.prototype.rect=function(t,e,A,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+A,e),this.lineTo(t+A,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.lineTo(t+A,e),this.lineTo(t,e)},c.prototype.fillRect=function(t,e,A,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!l.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,A,r),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},c.prototype.strokeRect=function(t,e,A,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(t,e,A,r),this.stroke())},c.prototype.clearRect=function(t,e,A,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,A,r))},c.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,A=0;A"},w=function(t){var e,A,r,n,i,o=String,s="length",a="charCodeAt",c="slice",u="replace";for(t[c](-2),t=t[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],n=0,i=(t+=e="uuuuu"[c](t[s]%5||5))[s];n>24,255&A>>16,255&A>>8,255&A);return function(t,A){for(var r=e[s];0"},y=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var A="",r=0;r>8&255,A>>16&255,A>>24&255]),t.length+2),String.fromCharCode.apply(null,n)},g.processDataByFilters=function(t,e){var A=0,r=t||"",n=[];for("string"==typeof(e=e||[])&&(e=[e]),A=0;A>"),this.internal.out("endobj"),L=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+x+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==N&&void 0!==L&&this.internal.out("/Names <>")})),this},(H=dt.API).events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(0> endobj")}var l=t.internal.newObject();for(t.internal.write("<< /Names [ "),r=0;r>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+l+" 0 R"),t.internal.write(">>","endobj")}}]),H.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var A=0;A>>24&255,h[l++]=s>>>16&255,h[l++]=s>>>8&255,h[l++]=255&s,S.arrayBufferToBinaryString(h)},T=function(t,e){var A=Math.LOG2E*Math.log(32768)-8<<4|8,r=A<<8;return r|=Math.min(3,(e-1&255)>>1)<<6,r|=0,[A,255&(r+=31-r%31)]},O=function(t,e){for(var A,r=1,n=0,i=t.length,o=0;0>>0},R=function(t,e,A,r){for(var n,i,o,s=t.length/e,a=new Uint8Array(t.length+s),c=j(),u=0;u>>1)&255;return i},k=function(t,e,A){var r,n,i,o,s=[],a=0,c=t.length;for(s[0]=4;a>>d&255,d+=i.bits;B[m]=v>>>d&255}if(16===i.bits){p=(U=new Uint32Array(i.decodePixels().buffer)).length,g=new Uint8Array(p*(32/i.pixelBitlength)*i.colors),B=new Uint8Array(p*(32/i.pixelBitlength));for(var v,C=1>>0&255,C&&(g[y++]=v>>>16&255,v=U[m++],g[y++]=v>>>0&255),B[Q++]=v>>>16&255;f=8}r!==S.image_compression.NONE&&I()?(t=_(g,i.width*i.colors,i.colors,r),u=_(B,i.width,1,r)):(t=g,u=B,h=null)}if(3===i.colorType&&(l=this.color_spaces.INDEXED,c=i.palette,i.transparency.indexed)){var b=i.transparency.indexed,F=0;for(m=0,p=b.length;mr&&(n.push(t.slice(a,i)),s=0,a=i),s+=e[i],i++;return a!==i&&n.push(t.slice(a,i)),n},tt=function(t,e,A){A||(A={});var r,n,i,o,s,a,c=[],u=[c],l=A.textIndent||0,h=0,f=0,d=t.split(" "),p=W.apply(this,[" ",A])[0];if(a=-1===A.lineIndent?d[0].length+2:A.lineIndent||0){var g=Array(a).join(" "),B=[];d.map((function(t){1<(t=t.split(/\s*\n/)).length?B=B.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):B.push(t[0])})),d=B,a=Z.apply(this,[g,A])}for(i=0,o=d.length;i>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=A,this},at=dt.API,lt=ut=ct="",at.addMetadata=function(t,e){return ut=e||"http://jspdf.default.namespaceuri/",ct=t,this.internal.events.subscribe("postPutResources",(function(){if(ct){var t='',e=unescape(encodeURIComponent('')),A=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(ct)),n=unescape(encodeURIComponent("")),i=unescape(encodeURIComponent("")),o=A.length+r.length+n.length+e.length+i.length;lt=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(e+A+r+n+i),this.internal.write("endstream"),this.internal.write("endobj")}else lt=""})),this.internal.events.subscribe("putCatalog",(function(){lt&&this.internal.write("/Metadata "+lt+" 0 R")})),this},function(t,e){var A=t.API,r=A.pdfEscape16=function(t,e){for(var A,r=e.metadata.Unicode.widths,n=["","0","00","000","0000"],i=[""],o=0,s=t.length;o<"+n+">");return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};A.events.push(["putFont",function(e){!function(e,A,r,i){if(e.metadata instanceof t.API.TTFFont&&"Identity-H"===e.encoding){for(var o=e.metadata.Unicode.widths,s=e.metadata.subset.encode(e.metadata.glyIdsUsed,1),a="",c=0;c>"),A("endobj");var f=r();A("<<"),A("/Type /Font"),A("/BaseFont /"+e.fontName),A("/FontDescriptor "+h+" 0 R"),A("/W "+t.API.PDFObject.convert(o)),A("/CIDToGIDMap /Identity"),A("/DW 1000"),A("/Subtype /CIDFontType2"),A("/CIDSystemInfo"),A("<<"),A("/Supplement 0"),A("/Registry (Adobe)"),A("/Ordering ("+e.encoding+")"),A(">>"),A(">>"),A("endobj"),e.objectNumber=r(),A("<<"),A("/Type /Font"),A("/Subtype /Type0"),A("/ToUnicode "+l+" 0 R"),A("/BaseFont /"+e.fontName),A("/Encoding /"+e.encoding),A("/DescendantFonts ["+f+" 0 R]"),A(">>"),A("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]),A.events.push(["putFont",function(e){!function(e,A,r,i){if(e.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===e.encoding){e.metadata.Unicode.widths;for(var o=e.metadata.rawData,s="",a=0;a>"),A("endobj"),e.objectNumber=r(),a=0;a>"),A("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]);var i=function(t){var e,A,n=t.text||"",i=t.x,o=t.y,s=t.options||{},a=t.mutex||{},c=a.pdfEscape,u=a.activeFontKey,l=a.fonts,h=(a.activeFontSize,""),f=0,d="",p=l[A=u].encoding;if("Identity-H"!==l[A].encoding)return{text:n,x:i,y:o,options:s,mutex:a};for(d=n,A=u,"[object Array]"===Object.prototype.toString.call(n)&&(d=n[0]),f=0;fa-c.top-c.bottom&&r.pagesplit){var d=function(t,e,A,n,i){var o=document.createElement("canvas");o.height=i,o.width=n;var s=o.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,n,i),s.drawImage(t,e,A,n,i,0,0,n,i),o},p=function(){for(var r,i,u=0,p=0,g={},B=!1;;){var w;if(p=0,g.top=0!==u?c.top:A,g.left=0!==u?c.left:e,B=(s-c.left-c.right)*o=t.width)break;this.addPage()}else m=[w=d(t,0,u,r,i),g.left,g.top,w.width/o,w.height/o,h,null,f],this.addImage.apply(this,m);if((u+=i)>=t.height)break;this.addPage()}n(l,u,null,m)}.bind(this);if("CANVAS"===t.nodeName){var g=new Image;g.onload=p,g.src=t.toDataURL("image/png"),t=g}else p()}else{var B=Math.random().toString(35),w=[t,e,A,l,u,h,B,f];this.addImage.apply(this,w),n(l,u,B,w)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(t,r);if("undefined"==typeof rasterizeHTML)return null;var c="drawDocument";return"string"==typeof t&&(c=/^http/.test(t)?"drawURL":"drawHTML"),r.width=r.width||s*o,rasterizeHTML[c](t,void 0,r).then((function(t){r.onrendered(t.image)}),(function(t){n(null,t)}))},function(t){var e,A,r,i,o,s,a,c,u,l,h,f,d,p,g,B,w,m,y,v;e=function(){return function(e){return t.prototype=e,new t};function t(){}}(),l=function(t){var e,A,r,n,i,o,s;for(A=0,r=t.length,e=void 0,o=n=!1;!n&&A!==r;)(e=t[A]=t[A].trimLeft())&&(n=!0),A++;for(A=r-1;r&&!o&&-1!==A;)(e=t[A]=t[A].trimRight())&&(o=!0),A--;for(i=/\s+$/g,s=!0,A=0;A!==r;)"\u2028"!=t[A]&&(e=t[A].replace(/\s+/g," "),s&&(e=e.trimLeft()),e&&(s=i.test(e)),t[A]=e),A++;return t},f=function(t){var e,A,n;for(e=void 0,A=(n=t.split(",")).shift();!e&&A;)e=r[A.trim().toLowerCase()],A=n.shift();return e},d=function(t){var e;return-1<(t="auto"===t?"0px":t).indexOf("em")&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),-1r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(o));var L=u(o),x=r.x,H=12/r.pdf.internal.scaleFactor,S=(L["margin-left"]+L["padding-left"])*H,I=(L["margin-right"]+L["padding-right"])*H,_=(L["margin-top"]+L["padding-top"])*H,T=(L["margin-bottom"]+L["padding-bottom"])*H;void 0!==L.float&&"right"===L.float?x+=r.settings.width-o.width-I:x+=S,r.pdf.addImage(E,x,r.y+_,o.width,o.height),E=void 0,"right"===L.float||"left"===L.float?(r.watchFunctions.push(function(t,e,A,n){return r.y>=e?(r.x+=t,r.settings.width+=A,!0):!!(n&&1===n.nodeType&&!C[n.nodeName]&&r.x+n.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=t,r.y=e,r.settings.width+=A,!0)}.bind(this,"left"===L.float?-o.width-S-I:0,r.y+o.height+_+T,o.width)),r.watchFunctions.push(function(t,e,A){return!(r.y]*?>/gi,""),u="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",c.innerHTML='',i=r.open();if(null!==i&&i.document.write(n),i||\"undefined\"==typeof safari)return i;case\"datauri\":case\"dataurl\":return r.document.location.href=\"data:application/pdf;filename=\"+A.filename+\";base64,\"+btoa(e);default:return null}}).foo=function(){try{return T.apply(this,arguments)}catch(e){var t=e.stack||\"\";~t.indexOf(\" at \")&&(t=t.split(\" at \")[1]);var A=\"Error in function \"+t.split(\"\\n\")[0].split(\"<\")[0]+\": \"+e.message;if(!r.console)throw new Error(A);r.console.error(A,e),r.alert&&alert(A)}},(T.foo.bar=T).foo),Rt=function(t){return!0===Array.isArray(ot)&&-1\":\")\"),At=1):(Y=Gt(A),Z=Jt(e),$=(c?\"<\":\"(\")+y[W]+(c?\">\":\")\")),void 0!==z&&void 0!==z[W]&&(et=z[W]+\" Tw\\n\"),0!==L.length&&0===W?t.push(et+L.join(\" \")+\" \"+Y.toFixed(2)+\" \"+Z.toFixed(2)+\" Tm\\n\"+$):1===At||0===At&&0===W?t.push(et+Y.toFixed(2)+\" \"+Z.toFixed(2)+\" Td\\n\"+$):t.push(et+$);t=0===At?t.join(\" Tj\\nT* \"):t.join(\" Tj\\n\"),t+=\" Tj\\n\";var rt=\"BT\\n/\"+I+\" \"+q+\" Tf\\n\"+(q*l).toFixed(2)+\" TL\\n\"+tA+\"\\n\";return rt+=u,rt+=t,D(rt+=\"ET\"),h[I]=!0,f},f.__private__.lstext=f.lstext=function(t,A,e,r){return console.warn(\"jsPDF.lstext is deprecated\"),this.text(t,A,e,{charSpace:r})},f.__private__.clip=f.clip=function(t){D(\"evenodd\"===t?\"W*\":\"W\"),D(\"n\")},f.__private__.clip_fixed=f.clip_fixed=function(t){console.log(\"clip_fixed is deprecated\"),f.clip(t)};var Pt=f.__private__.isValidStyle=function(t){var A=!1;return-1!==[void 0,null,\"S\",\"F\",\"DF\",\"FD\",\"f\",\"f*\",\"B\",\"B*\"].indexOf(t)&&(A=!0),A},Dt=f.__private__.getStyle=function(t){var A=\"S\";return\"F\"===t?A=\"f\":\"FD\"===t||\"DF\"===t?A=\"B\":\"f\"!==t&&\"f*\"!==t&&\"B\"!==t&&\"B*\"!==t||(A=t),A};f.__private__.line=f.line=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw new Error(\"Invalid arguments passed to jsPDF.line\");return this.lines([[e-t,r-A]],t,A)},f.__private__.lines=f.lines=function(t,A,e,r,n,i){var o,s,a,c,u,l,h,f,d,p,B,g;if(\"number\"==typeof t&&(g=e,e=A,A=t,t=g),r=r||[1,1],i=i||!1,isNaN(A)||isNaN(e)||!Array.isArray(t)||!Array.isArray(r)||!Pt(n)||\"boolean\"!=typeof i)throw new Error(\"Invalid arguments passed to jsPDF.lines\");for(D(Q(Gt(A))+\" \"+Q(Jt(e))+\" m \"),o=r[0],s=r[1],c=t.length,p=A,B=e,a=0;a=o.length-1;if(F&&!U){m+=\" \";continue}if(F||U){if(U)g=v;else if(t.multiline&&c<(h+2)*(Q+2)+2)continue t}else{if(!t.multiline)continue t;if(c<(h+2)*(Q+2)+2)continue t;g=v}for(var N=\"\",E=B;E<=g;E++)N+=o[E]+\" \";switch(N=\" \"==N.substr(N.length-1)?N.substr(0,N.length-1):N,w=y(N,t,a).width,t.textAlign){case\"right\":d=u-w-2;break;case\"center\":d=(u-w)/2;break;case\"left\":default:d=2}A+=s(d)+\" \"+s(p)+\" Td\\n\",A+=\"(\"+i(N)+\") Tj\\n\",A+=-s(d)+\" 0 Td\\n\",p=-(a+2),w=0,B=g+1,Q++,m=\"\"}break}return n.text=A,n.fontSize=a,n},y=function(t,A,r){var n=e.internal.getFont(A.fontName,A.fontStyle),i=e.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.getStringUnitWidth(\"3\",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},v={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},F=function(){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var A in t)if(t.hasOwnProperty(A)){var r=t[A];r.objId=void 0,r.hasAnnotation&&U.call(e,r)}},U=function(t){var A={type:\"reference\",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===A.type&&t.object===A.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(A)},N=function(){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"putCatalogCallback: Root missing.\");e.internal.write(\"/AcroForm \"+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+\" 0 R\")},E=function(){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0},b=function(t){var A=!t;for(var r in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(r)){var i=t[r],o=[],s=i.Rect;if(i.Rect&&(i.Rect=m.call(this,i.Rect)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=G.createDefaultAppearanceStream(i),\"object\"===n(i)&&\"function\"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=Q.call(this,i);o.push({key:\"AP\",value:\"<>\"}),e.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var c=\"\";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var l=i.appearanceStreamContent[u];if(c+=\"/\"+u+\" \",c+=\"<<\",1<=Object.keys(l).length||Array.isArray(l))for(var r in l){var h;l.hasOwnProperty(r)&&(\"function\"==typeof(h=l[r])&&(h=h.call(this,i)),c+=\"/\"+r+\" \"+h+\" \",0<=e.internal.acroformPlugin.xForms.indexOf(h)||e.internal.acroformPlugin.xForms.push(h))}else\"function\"==typeof(h=l)&&(h=h.call(this,i)),c+=\"/\"+r+\" \"+h,0<=e.internal.acroformPlugin.xForms.indexOf(h)||e.internal.acroformPlugin.xForms.push(h);c+=\">>\"}o.push({key:\"AP\",value:\"<<\\n\"+c+\">>\"})}e.internal.putStream({additionalKeyValues:o}),e.internal.out(\"endobj\")}A&&L.call(this,e.internal.acroformPlugin.xForms)},L=function(t){for(var A in t)if(t.hasOwnProperty(A)){var r=A,i=t[A];e.internal.newObjectDeferredBegin(i&&i.objId,!0),\"object\"===n(i)&&\"function\"==typeof i.putStream&&i.putStream(),delete t[r]}},H=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(e=this,R.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(v)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"Exception while creating AcroformDictionary\");r=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new T,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe(\"postPutResources\",E),e.internal.events.subscribe(\"buildDocument\",F),e.internal.events.subscribe(\"putCatalog\",N),e.internal.events.subscribe(\"postPutPages\",b),e.internal.acroformPlugin.isInitialized=!0}},x=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var A=\"[\",e=0;e>\"),e.join(\"\\n\")}},set:function(t){\"object\"===n(t)&&(A=t)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return A.CA||\"\"},set:function(t){\"string\"==typeof t&&(A.CA=t)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(A){t=\"/\"+A}})};c(D,R);var k=function(){D.call(this),this.pushButton=!0};c(k,D);var z=function(){D.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,\"Kids\",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=void 0!==A?A:[]}})};c(z,D);var j=function(){var t,A;R.call(this),Object.defineProperty(this,\"Parent\",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,\"optionName\",{enumerable:!1,configurable:!0,get:function(){return A},set:function(t){A=t}});var e,r={};Object.defineProperty(this,\"MK\",{enumerable:!1,configurable:!1,get:function(){var t,A=[];for(t in A.push(\"<<\"),r)A.push(\"/\"+t+\" (\"+r[t]+\")\");return A.push(\">>\"),A.join(\"\\n\")},set:function(t){\"object\"===n(t)&&(r=t)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return r.CA||\"\"},set:function(t){\"string\"==typeof t&&(r.CA=t)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e=\"/\"+t}}),this.optionName=name,this.caption=\"l\",this.appearanceState=\"Off\",this._AppearanceType=G.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(j,R),z.prototype.setAppearance=function(t){if(!(\"createAppearanceStream\"in t)||!(\"getCA\"in t))throw new Error(\"Couldn't assign Appearance to RadioButton. Appearance was Invalid!\");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},z.prototype.createOption=function(t){this.Kids.length;var A=new j;return A.Parent=this,A.optionName=t,this.Kids.push(A),J.call(this,A),A};var q=function(){D.call(this),this.fontName=\"zapfdingbats\",this.caption=\"3\",this.appearanceState=\"On\",this.value=\"On\",this.textAlign=\"center\",this.appearanceStreamContent=G.CheckBox.createAppearanceStream()};c(q,D);var V=function(){R.call(this),this.FT=\"/Tx\",Object.defineProperty(this,\"multiline\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,13):this.Ff=w(this.Ff,13)}}),Object.defineProperty(this,\"fileSelect\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,21):this.Ff=w(this.Ff,21)}}),Object.defineProperty(this,\"doNotSpellCheck\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,23):this.Ff=w(this.Ff,23)}}),Object.defineProperty(this,\"doNotScroll\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,24):this.Ff=w(this.Ff,24)}}),Object.defineProperty(this,\"comb\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,25):this.Ff=w(this.Ff,25)}}),Object.defineProperty(this,\"richText\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,26):this.Ff=w(this.Ff,26)}});var t=null;Object.defineProperty(this,\"MaxLen\",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,\"maxLength\",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,\"hasAppearanceStream\",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(V,R);var X=function(){V.call(this),Object.defineProperty(this,\"password\",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,14):this.Ff=w(this.Ff,14)}}),this.password=!0};c(X,V);var G={CheckBox:{createAppearanceStream:function(){return{N:{On:G.CheckBox.YesNormal},D:{On:G.CheckBox.YesPushDown,Off:G.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=h(t),r=[],n=e.internal.getFont(t.fontName,t.fontStyle).id,i=e.__private__.encodeColorString(t.color),o=C(t,t.caption);return r.push(\"0.749023 g\"),r.push(\"0 0 \"+s(G.internal.getWidth(t))+\" \"+s(G.internal.getHeight(t))+\" re\"),r.push(\"f\"),r.push(\"BMC\"),r.push(\"q\"),r.push(\"0 0 1 rg\"),r.push(\"/\"+n+\" \"+s(o.fontSize)+\" Tf \"+i),r.push(\"BT\"),r.push(o.text),r.push(\"ET\"),r.push(\"Q\"),r.push(\"EMC\"),A.stream=r.join(\"\\n\"),A},YesNormal:function(t){var A=h(t),r=e.internal.getFont(t.fontName,t.fontStyle).id,n=e.__private__.encodeColorString(t.color),i=[],o=G.internal.getHeight(t),a=G.internal.getWidth(t),c=C(t,t.caption);return i.push(\"1 g\"),i.push(\"0 0 \"+s(a)+\" \"+s(o)+\" re\"),i.push(\"f\"),i.push(\"q\"),i.push(\"0 0 1 rg\"),i.push(\"0 0 \"+s(a-1)+\" \"+s(o-1)+\" re\"),i.push(\"W\"),i.push(\"n\"),i.push(\"0 g\"),i.push(\"BT\"),i.push(\"/\"+r+\" \"+s(c.fontSize)+\" Tf \"+n),i.push(c.text),i.push(\"ET\"),i.push(\"Q\"),A.stream=i.join(\"\\n\"),A},OffPushDown:function(t){var A=h(t),e=[];return e.push(\"0.749023 g\"),e.push(\"0 0 \"+s(G.internal.getWidth(t))+\" \"+s(G.internal.getHeight(t))+\" re\"),e.push(\"f\"),A.stream=e.join(\"\\n\"),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:G.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=G.RadioButton.Circle.YesNormal,A.D[t]=G.RadioButton.Circle.YesPushDown,A},getCA:function(){return\"l\"},YesNormal:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=G.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push(\"q\"),e.push(\"1 0 0 1 \"+a(G.internal.getWidth(t)/2)+\" \"+a(G.internal.getHeight(t)/2)+\" cm\"),e.push(r+\" 0 m\"),e.push(r+\" \"+i+\" \"+i+\" \"+r+\" 0 \"+r+\" c\"),e.push(\"-\"+i+\" \"+r+\" -\"+r+\" \"+i+\" -\"+r+\" 0 c\"),e.push(\"-\"+r+\" -\"+i+\" -\"+i+\" -\"+r+\" 0 -\"+r+\" c\"),e.push(i+\" -\"+r+\" \"+r+\" -\"+i+\" \"+r+\" 0 c\"),e.push(\"f\"),e.push(\"Q\"),A.stream=e.join(\"\\n\"),A},YesPushDown:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5)),o=Number((r*G.internal.Bezier_C).toFixed(5));return e.push(\"0.749023 g\"),e.push(\"q\"),e.push(\"1 0 0 1 \"+a(G.internal.getWidth(t)/2)+\" \"+a(G.internal.getHeight(t)/2)+\" cm\"),e.push(n+\" 0 m\"),e.push(n+\" \"+i+\" \"+i+\" \"+n+\" 0 \"+n+\" c\"),e.push(\"-\"+i+\" \"+n+\" -\"+n+\" \"+i+\" -\"+n+\" 0 c\"),e.push(\"-\"+n+\" -\"+i+\" -\"+i+\" -\"+n+\" 0 -\"+n+\" c\"),e.push(i+\" -\"+n+\" \"+n+\" -\"+i+\" \"+n+\" 0 c\"),e.push(\"f\"),e.push(\"Q\"),e.push(\"0 g\"),e.push(\"q\"),e.push(\"1 0 0 1 \"+a(G.internal.getWidth(t)/2)+\" \"+a(G.internal.getHeight(t)/2)+\" cm\"),e.push(r+\" 0 m\"),e.push(r+\" \"+o+\" \"+o+\" \"+r+\" 0 \"+r+\" c\"),e.push(\"-\"+o+\" \"+r+\" -\"+r+\" \"+o+\" -\"+r+\" 0 c\"),e.push(\"-\"+r+\" -\"+o+\" -\"+o+\" -\"+r+\" 0 -\"+r+\" c\"),e.push(o+\" -\"+r+\" \"+r+\" -\"+o+\" \"+r+\" 0 c\"),e.push(\"f\"),e.push(\"Q\"),A.stream=e.join(\"\\n\"),A},OffPushDown:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5));return e.push(\"0.749023 g\"),e.push(\"q\"),e.push(\"1 0 0 1 \"+a(G.internal.getWidth(t)/2)+\" \"+a(G.internal.getHeight(t)/2)+\" cm\"),e.push(n+\" 0 m\"),e.push(n+\" \"+i+\" \"+i+\" \"+n+\" 0 \"+n+\" c\"),e.push(\"-\"+i+\" \"+n+\" -\"+n+\" \"+i+\" -\"+n+\" 0 c\"),e.push(\"-\"+n+\" -\"+i+\" -\"+i+\" -\"+n+\" 0 -\"+n+\" c\"),e.push(i+\" -\"+n+\" \"+n+\" -\"+i+\" \"+n+\" 0 c\"),e.push(\"f\"),e.push(\"Q\"),A.stream=e.join(\"\\n\"),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:G.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=G.RadioButton.Cross.YesNormal,A.D[t]=G.RadioButton.Cross.YesPushDown,A},getCA:function(){return\"8\"},YesNormal:function(t){var A=h(t),e=[],r=G.internal.calculateCross(t);return e.push(\"q\"),e.push(\"1 1 \"+s(G.internal.getWidth(t)-2)+\" \"+s(G.internal.getHeight(t)-2)+\" re\"),e.push(\"W\"),e.push(\"n\"),e.push(s(r.x1.x)+\" \"+s(r.x1.y)+\" m\"),e.push(s(r.x2.x)+\" \"+s(r.x2.y)+\" l\"),e.push(s(r.x4.x)+\" \"+s(r.x4.y)+\" m\"),e.push(s(r.x3.x)+\" \"+s(r.x3.y)+\" l\"),e.push(\"s\"),e.push(\"Q\"),A.stream=e.join(\"\\n\"),A},YesPushDown:function(t){var A=h(t),e=G.internal.calculateCross(t),r=[];return r.push(\"0.749023 g\"),r.push(\"0 0 \"+s(G.internal.getWidth(t))+\" \"+s(G.internal.getHeight(t))+\" re\"),r.push(\"f\"),r.push(\"q\"),r.push(\"1 1 \"+s(G.internal.getWidth(t)-2)+\" \"+s(G.internal.getHeight(t)-2)+\" re\"),r.push(\"W\"),r.push(\"n\"),r.push(s(e.x1.x)+\" \"+s(e.x1.y)+\" m\"),r.push(s(e.x2.x)+\" \"+s(e.x2.y)+\" l\"),r.push(s(e.x4.x)+\" \"+s(e.x4.y)+\" m\"),r.push(s(e.x3.x)+\" \"+s(e.x3.y)+\" l\"),r.push(\"s\"),r.push(\"Q\"),A.stream=r.join(\"\\n\"),A},OffPushDown:function(t){var A=h(t),e=[];return e.push(\"0.749023 g\"),e.push(\"0 0 \"+s(G.internal.getWidth(t))+\" \"+s(G.internal.getHeight(t))+\" re\"),e.push(\"f\"),A.stream=e.join(\"\\n\"),A}}},createDefaultAppearanceStream:function(t){var A=e.internal.getFont(t.fontName,t.fontStyle).id,r=e.__private__.encodeColorString(t.color);return\"/\"+A+\" \"+t.fontSize+\" Tf \"+r}};G.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=G.internal.getWidth(t),e=G.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},G.internal.getWidth=function(t){var A=0;return\"object\"===n(t)&&(A=u(t.Rect[2])),A},G.internal.getHeight=function(t){var A=0;return\"object\"===n(t)&&(A=u(t.Rect[3])),A};var J=t.addField=function(t){if(H.call(this),!(t instanceof R))throw new Error(\"Invalid argument passed to jsPDF.addField.\");return function(t){e.internal.acroformPlugin.printedOut&&(e.internal.acroformPlugin.printedOut=!1,e.internal.acroformPlugin.acroFormDictionaryRoot=null),e.internal.acroformPlugin.acroFormDictionaryRoot||H.call(e),e.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)}.call(this,t),t.page=e.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(t){if(t instanceof D==0)throw new Error(\"Invalid argument passed to jsPDF.addButton.\");return J.call(this,t)},t.addTextField=function(t){if(t instanceof V==0)throw new Error(\"Invalid argument passed to jsPDF.addTextField.\");return J.call(this,t)},t.addChoiceField=function(t){if(t instanceof O==0)throw new Error(\"Invalid argument passed to jsPDF.addChoiceField.\");return J.call(this,t)},\"object\"==n(A)&&void 0===A.ChoiceField&&void 0===A.ListBox&&void 0===A.ComboBox&&void 0===A.EditBox&&void 0===A.Button&&void 0===A.PushButton&&void 0===A.RadioButton&&void 0===A.CheckBox&&void 0===A.TextField&&void 0===A.PasswordField?(A.ChoiceField=O,A.ListBox=K,A.ComboBox=M,A.EditBox=P,A.Button=D,A.PushButton=k,A.RadioButton=z,A.CheckBox=q,A.TextField=V,A.PasswordField=X,A.AcroForm={Appearance:G}):console.warn(\"AcroForm-Classes are not populated into global-namespace, because the class-Names exist already.\"),t.AcroFormChoiceField=O,t.AcroFormListBox=K,t.AcroFormComboBox=M,t.AcroFormEditBox=P,t.AcroFormButton=D,t.AcroFormPushButton=k,t.AcroFormRadioButton=z,t.AcroFormCheckBox=q,t.AcroFormTextField=V,t.AcroFormPasswordField=X,t.AcroFormAppearance=G,t.AcroForm={ChoiceField:O,ListBox:K,ComboBox:M,EditBox:P,Button:D,PushButton:k,RadioButton:z,CheckBox:q,TextField:V,PasswordField:X,Appearance:G}})((window.tmp=dt).API,\"undefined\"!=typeof window&&window||void 0!==r&&r),\n/** @license\n * jsPDF addImage plugin\n * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/\n * 2013 Chris Dowling, https://github.com/gingerchris\n * 2013 Trinh Ho, https://github.com/ineedfat\n * 2013 Edwin Alejandro Perez, https://github.com/eaparango\n * 2013 Norah Smith, https://github.com/burnburnrocket\n * 2014 Diego Casorran, https://github.com/diegocr\n * 2014 James Robb, https://github.com/jamesbrobb\n *\n * \n */\nfunction(t){var A=\"addImage_\",e={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.getImageFileTypeByImageData=function(A,r){var n,i;r=r||\"UNKNOWN\";var o,s,a,c=\"UNKNOWN\";for(a in t.isArrayBufferView(A)&&(A=t.arrayBufferToBinaryString(A)),e)for(o=e[a],n=0;n>\"}),\"trns\"in A&&A.trns.constructor==Array){for(var s=\"\",a=0,c=A.trns.length;a>18]+r[(258048&A)>>12]+r[(4032&A)>>6]+r[63&A];return 1==o?e+=r[(252&(A=n[s]))>>2]+r[(3&A)<<4]+\"==\":2==o&&(e+=r[(64512&(A=n[s]<<8|n[s+1]))>>10]+r[(1008&A)>>4]+r[(15&A)<<2]+\"=\"),e},t.createImageInfo=function(t,A,e,r,n,i,o,s,a,c,u,l,h){var f={alias:s,w:A,h:e,cs:r,bpc:n,i:o,data:t};return i&&(f.f=i),a&&(f.dp=a),c&&(f.trns=c),u&&(f.pal=u),l&&(f.smask=l),h&&(f.p=h),f},t.addImage=function(e,r,i,h,f,d,p,B,g){var w=\"\";if(\"string\"!=typeof r){var m=d;d=f,f=h,h=i,i=r,r=m}if(\"object\"===n(e)&&!c(e)&&\"imageData\"in e){var Q=e;e=Q.imageData,r=Q.format||r||\"UNKNOWN\",i=Q.x||i||0,h=Q.y||h||0,f=Q.w||f,d=Q.h||d,p=Q.alias||p,B=Q.compression||B,g=Q.rotation||Q.angle||g}var C=this.internal.getFilters();if(void 0===B&&-1!==C.indexOf(\"FlateEncode\")&&(B=\"SLOW\"),\"string\"==typeof e&&(e=unescape(e)),isNaN(i)||isNaN(h))throw console.error(\"jsPDF.addImage: Invalid coordinates\",arguments),new Error(\"Invalid coordinates passed to jsPDF.addImage\");var y,v,F,U,N,E,b,L=function(){var t=this.internal.collections[A+\"images\"];return t||(this.internal.collections[A+\"images\"]=t={},this.internal.events.subscribe(\"putResources\",o),this.internal.events.subscribe(\"putXobjectDict\",s)),t}.call(this);if(!((y=l(e,L))||(c(e)&&(e=u(e,r)),(null==(b=p)||0===b.length)&&(p=\"string\"==typeof(E=e)?t.sHashCode(E):t.isArrayBufferView(E)?t.sHashCode(t.arrayBufferToBinaryString(E)):null),y=l(p,L)))){if(this.isString(e)&&(\"\"!==(w=this.convertStringToImageData(e))||void 0!==(w=t.loadFile(e)))&&(e=w),r=this.getImageFileTypeByImageData(e,r),!a(r))throw new Error(\"addImage does not support files of type '\"+r+\"', please ensure that a plugin for '\"+r+\"' support is added.\");if(this.supportsArrayBuffer()&&(e instanceof Uint8Array||(v=e,e=this.binaryStringToUint8Array(e))),!(y=this[\"process\"+r.toUpperCase()](e,(N=0,(U=L)&&(N=Object.keys?Object.keys(U).length:function(t){var A=0;for(var e in t)t.hasOwnProperty(e)&&A++;return A}(U)),N),p,((F=B)&&\"string\"==typeof F&&(F=F.toUpperCase()),F in t.image_compression?F:t.image_compression.NONE),v)))throw new Error(\"An unknown error occurred whilst processing the image\")}return function(t,A,e,r,n,i,o,s){var a=function(t,A,e){return t||A||(A=t=-96),t<0&&(t=-1*e.w*72/t/this.internal.scaleFactor),A<0&&(A=-1*e.h*72/A/this.internal.scaleFactor),0===t&&(t=A*e.w/e.h),0===A&&(A=t*e.h/e.w),[t,A]}.call(this,e,r,n),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(e=a[0],r=a[1],o[i]=n,s){s*=Math.PI/180;var l=Math.cos(s),h=Math.sin(s),f=function(t){return t.toFixed(4)},d=[f(l),f(h),f(-1*h),f(l),0,0,\"cm\"]}this.internal.write(\"q\"),s?(this.internal.write([1,\"0\",\"0\",1,c(t),u(A+r),\"cm\"].join(\" \")),this.internal.write(d.join(\" \")),this.internal.write([c(e),\"0\",\"0\",c(r),\"0\",\"0\",\"cm\"].join(\" \"))):this.internal.write([c(e),\"0\",\"0\",c(r),c(t),u(A+r),\"cm\"].join(\" \")),this.internal.write(\"/I\"+n.i+\" Do\"),this.internal.write(\"Q\")}.call(this,i,h,f,d,y,y.i,L,g),this},t.convertStringToImageData=function(A){var e,r=\"\";if(this.isString(A)){var n;e=null!==(n=this.extractImageFromDataUrl(A))?n.data:A;try{r=atob(e)}catch(A){throw t.validateStringAsBase64(e)?new Error(\"atob-Error in jsPDF.convertStringToImageData \"+A.message):new Error(\"Supplied Data is not a valid base64-String jsPDF.convertStringToImageData \")}}return r};var h=function(t,A){return t.subarray(A,A+5)};t.processJPEG=function(t,A,e,n,i,o){var s,a=this.decode.DCT_DECODE;if(!this.isString(t)&&!this.isArrayBuffer(t)&&!this.isArrayBufferView(t))return null;if(this.isString(t)&&(s=function(t){var A;if(\"JPEG\"!==r(t))throw new Error(\"getJpegSize requires a binary string jpeg file\");for(var e=256*t.charCodeAt(4)+t.charCodeAt(5),n=4,i=t.length;n>\",c.content=B;var h=c.objId+\" 0 R\";B=\"<>\",u.content=B,this.internal.write(c.objId,\"0 R\",u.objId,\"0 R\");break;case\"freetext\":var f=\"/Rect [\"+o(a.bounds.x)+\" \"+s(a.bounds.y)+\" \"+o(a.bounds.x+a.bounds.w)+\" \"+s(a.bounds.y+a.bounds.h)+\"] \",d=a.color||\"#000000\";B=\"<>\",this.internal.write(B);break;case\"link\":if(a.options.name){var p=this.annotations._nameMap[a.options.name];a.options.pageNumber=p.page,a.options.top=p.y}else a.options.top||(a.options.top=0);f=\"/Rect [\"+o(a.x)+\" \"+s(a.y)+\" \"+o(a.x+a.w)+\" \"+s(a.y+a.h)+\"] \";var B=\"\";if(a.options.url)B=\"<>\";else if(a.options.pageNumber)switch(B=\"<>\",this.internal.write(B))}}this.internal.write(\"]\")}}]),o.createAnnotation=function(t){var A=this.internal.getCurrentPageInfo();switch(t.type){case\"link\":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case\"text\":case\"freetext\":A.pageContext.annotations.push(t)}},o.link=function(t,A,e,r,n){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:t,y:A,w:e,h:r,options:n,type:\"link\"})},o.textWithLink=function(t,A,e,r){var n=this.getTextWidth(t),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,A,e),e+=.2*i,this.link(A,e-i,n,i,r),n},o.getTextWidth=function(t){var A=this.internal.getFontSize();return this.getStringUnitWidth(t)*A/this.internal.scaleFactor},\n/**\n * @license\n * Copyright (c) 2017 Aras Abbasi \n *\n * Licensed under the MIT License.\n * http://opensource.org/licenses/mit-license\n */\nfunction(t){var A={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==A[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return\"string\"==typeof t&&/^[\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\uFB50-\\uFDFF\\uFE70-\\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&i(t)&&A[t.charCodeAt(0)].length<=2},a=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&0<=n.indexOf(t.charCodeAt(0))},c=(t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&i(t)&&1<=A[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&i(t)&&2<=A[t.charCodeAt(0)].length}),u=(t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&i(t)&&3<=A[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&i(t)&&4==A[t.charCodeAt(0)].length}),l=t.__arabicParser__.resolveLigatures=function(t){var A=0,r=e,n=0,i=\"\",o=0;for(A=0;A>\"),this.internal.out(\"endobj\")})),this.internal.events.subscribe(\"putCatalog\",(function(){this.internal.out(\"/OpenAction \"+A+\" 0 R\")}))}return this},\n/**\n * @license\n * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv\n *\n * Licensed under the MIT License.\n * http://opensource.org/licenses/mit-license\n */\ns=dt.API,(a=function(){var t=void 0;Object.defineProperty(this,\"pdf\",{get:function(){return t},set:function(A){t=A}});var A=150;Object.defineProperty(this,\"width\",{get:function(){return A},set:function(t){A=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext(\"2d\").pageWrapXEnabled&&(this.getContext(\"2d\").pageWrapX=A+1)}});var e=300;Object.defineProperty(this,\"height\",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext(\"2d\").pageWrapYEnabled&&(this.getContext(\"2d\").pageWrapY=e+1)}});var r=[];Object.defineProperty(this,\"childNodes\",{get:function(){return r},set:function(t){r=t}});var n={};Object.defineProperty(this,\"style\",{get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,\"parentNode\",{get:function(){return!1}})}).prototype.getContext=function(t,A){var e;if(\"2d\"!==(t=t||\"2d\"))return null;for(e in A)this.pdf.context2d.hasOwnProperty(e)&&(this.pdf.context2d[e]=A[e]);return(this.pdf.context2d._canvas=this).pdf.context2d},a.prototype.toDataURL=function(){throw new Error(\"toDataURL is not implemented.\")},s.events.push([\"initialized\",function(){this.canvas=new a,this.canvas.pdf=this}]),\n/** \n * @license\n * ====================================================================\n * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com\n * 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br\n * 2013 Lee Driscoll, https://github.com/lsdriscoll\n * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria\n * 2014 James Hall, james@parall.ax\n * 2014 Diego Casorran, https://github.com/diegocr\n *\n * \n * ====================================================================\n */\nc=dt.API,l={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},h=1,f=function(t,A,e,r,n){l={x:t,y:A,w:e,h:r,ln:n}},d=function(){return l},p={left:0,top:0,bottom:0},c.setHeaderFunction=function(t){u=t},c.getTextDimensions=function(t,A){var e=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(A=A||{}).scaleFactor||this.internal.scaleFactor),n=0,i=0,o=0;if(\"string\"==typeof t)0!=(n=this.getStringUnitWidth(t)*e)&&(i=1);else{if(\"[object Array]\"!==Object.prototype.toString.call(t))throw new Error(\"getTextDimensions expects text-parameter to be of type String or an Array of Strings.\");for(var s=0;s=this.internal.pageSize.getHeight()-c.bottom&&(this.cellAddPage(),a=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),A=d().y+d().h,a&&(A=23)}if(void 0!==n[0])if(this.printingHeaderRow?this.rect(t,A,e,r,\"FD\"):this.rect(t,A,e,r),\"right\"===o){n instanceof Array||(n=[n]);for(var u=0;u=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:\"arc\",x:t,y:A,radius:e,startAngle:r,endAngle:n,counterclockwise:i})},c.prototype.arcTo=function(t,A,e,r,n){throw new Error(\"arcTo not implemented.\")},c.prototype.rect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error(\"jsPDF.context2d.rect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.rect\");this.moveTo(t,A),this.lineTo(t+e,A),this.lineTo(t+e,A+r),this.lineTo(t,A+r),this.lineTo(t,A),this.lineTo(t+e,A),this.lineTo(t,A)},c.prototype.fillRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error(\"jsPDF.context2d.fillRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.fillRect\");if(!l.call(this)){var n={};\"butt\"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap=\"butt\"),\"miter\"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin=\"miter\"),this.beginPath(),this.rect(t,A,e,r),this.fill(),n.hasOwnProperty(\"lineCap\")&&(this.lineCap=n.lineCap),n.hasOwnProperty(\"lineJoin\")&&(this.lineJoin=n.lineJoin)}},c.prototype.strokeRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error(\"jsPDF.context2d.strokeRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.strokeRect\");h.call(this)||(this.beginPath(),this.rect(t,A,e,r),this.stroke())},c.prototype.clearRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error(\"jsPDF.context2d.clearRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.clearRect\");this.ignoreClearRect||(this.fillStyle=\"#ffffff\",this.fillRect(t,A,e,r))},c.prototype.save=function(t){t=\"boolean\"!=typeof t||t;for(var A=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e\"},w=function(t){var A,e,r,n,i,o=String,s=\"length\",a=\"charCodeAt\",c=\"slice\",u=\"replace\";for(t[c](-2),t=t[c](0,-2)[u](/\\s/g,\"\")[u](\"z\",\"!!!!!\"),r=[],n=0,i=(t+=A=\"uuuuu\"[c](t[s]%5||5))[s];n>24,255&e>>16,255&e>>8,255&e);return function(t,e){for(var r=A[s];0\"},Q=function(t){var A=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\\s/g,\"\")).indexOf(\">\")&&(t=t.substr(0,t.indexOf(\">\"))),t.length%2&&(t+=\"0\"),!1===A.test(t))return\"\";for(var e=\"\",r=0;r>8&255,e>>16&255,e>>24&255]),t.length+2),String.fromCharCode.apply(null,n)},B.processDataByFilters=function(t,A){var e=0,r=t||\"\",n=[];for(\"string\"==typeof(A=A||[])&&(A=[A]),e=0;e>\"),this.internal.out(\"endobj\"),L=this.internal.newObject(),this.internal.out(\"<<\"),this.internal.out(\"/S /JavaScript\"),this.internal.out(\"/JS (\"+H+\")\"),this.internal.out(\">>\"),this.internal.out(\"endobj\")})),this.internal.events.subscribe(\"putCatalog\",(function(){void 0!==b&&void 0!==L&&this.internal.out(\"/Names <>\")})),this},\n/**\n * @license\n * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv\n *\n * Licensed under the MIT License.\n * http://opensource.org/licenses/mit-license\n */(x=dt.API).events.push([\"postPutResources\",function(){var t=this,A=/^(\\d+) 0 obj$/;if(0> endobj\")}var l=t.internal.newObject();for(t.internal.write(\"<< /Names [ \"),r=0;r>\",\"endobj\"),t.internal.newObject(),t.internal.write(\"<< /Dests \"+l+\" 0 R\"),t.internal.write(\">>\",\"endobj\")}}]),x.events.push([\"putCatalog\",function(){0> \\r\\nendobj\\r\\n\"},t.outline.count_r=function(t,A){for(var e=0;e>>24&255,h[l++]=s>>>16&255,h[l++]=s>>>8&255,h[l++]=255&s,S.arrayBufferToBinaryString(h)},T=function(t,A){var e=Math.LOG2E*Math.log(32768)-8<<4|8,r=e<<8;return r|=Math.min(3,(A-1&255)>>1)<<6,r|=0,[e,255&(r+=31-r%31)]},R=function(t,A){for(var e,r=1,n=0,i=t.length,o=0;0>>0},O=function(t,A,e,r){for(var n,i,o,s=t.length/A,a=new Uint8Array(t.length+s),c=j(),u=0;u>>1)&255;return i},k=function(t,A,e){var r,n,i,o,s=[],a=0,c=t.length;for(s[0]=4;a>>d&255,d+=i.bits;g[m]=C>>>d&255}if(16===i.bits){p=(N=new Uint32Array(i.decodePixels().buffer)).length,B=new Uint8Array(p*(32/i.pixelBitlength)*i.colors),g=new Uint8Array(p*(32/i.pixelBitlength));for(var C,y=1>>0&255,y&&(B[Q++]=C>>>16&255,C=N[m++],B[Q++]=C>>>0&255),g[v++]=C>>>16&255;f=8}r!==S.image_compression.NONE&&I()?(t=_(B,i.width*i.colors,i.colors,r),u=_(g,i.width,1,r)):(t=B,u=g,h=null)}if(3===i.colorType&&(l=this.color_spaces.INDEXED,c=i.palette,i.transparency.indexed)){var F=i.transparency.indexed,U=0;for(m=0,p=F.length;mr&&(n.push(t.slice(a,i)),s=0,a=i),s+=A[i],i++;return a!==i&&n.push(t.slice(a,i)),n},tt=function(t,A,e){e||(e={});var r,n,i,o,s,a,c=[],u=[c],l=e.textIndent||0,h=0,f=0,d=t.split(\" \"),p=W.apply(this,[\" \",e])[0];if(a=-1===e.lineIndent?d[0].length+2:e.lineIndent||0){var B=Array(a).join(\" \"),g=[];d.map((function(t){1<(t=t.split(/\\s*\\n/)).length?g=g.concat(t.map((function(t,A){return(A&&t.length?\"\\n\":\"\")+t}))):g.push(t[0])})),d=g,a=Z.apply(this,[B,e])}for(i=0,o=d.length;i>\")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},at=dt.API,lt=ut=ct=\"\",at.addMetadata=function(t,A){return ut=A||\"http://jspdf.default.namespaceuri/\",ct=t,this.internal.events.subscribe(\"postPutResources\",(function(){if(ct){var t='',A=unescape(encodeURIComponent('')),e=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(ct)),n=unescape(encodeURIComponent(\"\")),i=unescape(encodeURIComponent(\"\")),o=e.length+r.length+n.length+A.length+i.length;lt=this.internal.newObject(),this.internal.write(\"<< /Type /Metadata /Subtype /XML /Length \"+o+\" >>\"),this.internal.write(\"stream\"),this.internal.write(A+e+r+n+i),this.internal.write(\"endstream\"),this.internal.write(\"endobj\")}else lt=\"\"})),this.internal.events.subscribe(\"putCatalog\",(function(){lt&&this.internal.write(\"/Metadata \"+lt+\" 0 R\")})),this},function(t,A){var e=t.API,r=e.pdfEscape16=function(t,A){for(var e,r=A.metadata.Unicode.widths,n=[\"\",\"0\",\"00\",\"000\",\"0000\"],i=[\"\"],o=0,s=t.length;o> def\\n/CMapName /Adobe-Identity-UCS def\\n/CMapType 2 def\\n1 begincodespacerange\\n<0000>\\nendcodespacerange\",r=[],o=0,s=(e=Object.keys(t).sort((function(t,A){return t-A}))).length;o<\"+n+\">\");return r.length&&(i+=\"\\n\"+r.length+\" beginbfchar\\n\"+r.join(\"\\n\")+\"\\nendbfchar\\n\"),i+\"endcmap\\nCMapName currentdict /CMap defineresource pop\\nend\\nend\"};e.events.push([\"putFont\",function(A){!function(A,e,r,i){if(A.metadata instanceof t.API.TTFFont&&\"Identity-H\"===A.encoding){for(var o=A.metadata.Unicode.widths,s=A.metadata.subset.encode(A.metadata.glyIdsUsed,1),a=\"\",c=0;c>\"),e(\"endobj\");var f=r();e(\"<<\"),e(\"/Type /Font\"),e(\"/BaseFont /\"+A.fontName),e(\"/FontDescriptor \"+h+\" 0 R\"),e(\"/W \"+t.API.PDFObject.convert(o)),e(\"/CIDToGIDMap /Identity\"),e(\"/DW 1000\"),e(\"/Subtype /CIDFontType2\"),e(\"/CIDSystemInfo\"),e(\"<<\"),e(\"/Supplement 0\"),e(\"/Registry (Adobe)\"),e(\"/Ordering (\"+A.encoding+\")\"),e(\">>\"),e(\">>\"),e(\"endobj\"),A.objectNumber=r(),e(\"<<\"),e(\"/Type /Font\"),e(\"/Subtype /Type0\"),e(\"/ToUnicode \"+l+\" 0 R\"),e(\"/BaseFont /\"+A.fontName),e(\"/Encoding /\"+A.encoding),e(\"/DescendantFonts [\"+f+\" 0 R]\"),e(\">>\"),e(\"endobj\"),A.isAlreadyPutted=!0}}(A.font,A.out,A.newObject,A.putStream)}]),e.events.push([\"putFont\",function(A){!function(A,e,r,i){if(A.metadata instanceof t.API.TTFFont&&\"WinAnsiEncoding\"===A.encoding){A.metadata.Unicode.widths;for(var o=A.metadata.rawData,s=\"\",a=0;a>\"),e(\"endobj\"),A.objectNumber=r(),a=0;a>\"),e(\"endobj\"),A.isAlreadyPutted=!0}}(A.font,A.out,A.newObject,A.putStream)}]);var i=function(t){var A,e,n=t.text||\"\",i=t.x,o=t.y,s=t.options||{},a=t.mutex||{},c=a.pdfEscape,u=a.activeFontKey,l=a.fonts,h=(a.activeFontSize,\"\"),f=0,d=\"\",p=l[e=u].encoding;if(\"Identity-H\"!==l[e].encoding)return{text:n,x:i,y:o,options:s,mutex:a};for(d=n,e=u,\"[object Array]\"===Object.prototype.toString.call(n)&&(d=n[0]),f=0;fa-c.top-c.bottom&&r.pagesplit){var d=function(t,A,e,n,i){var o=document.createElement(\"canvas\");o.height=i,o.width=n;var s=o.getContext(\"2d\");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||\"#ffffff\",s.fillRect(0,0,n,i),s.drawImage(t,A,e,n,i,0,0,n,i),o},p=function(){for(var r,i,u=0,p=0,B={},g=!1;;){var w;if(p=0,B.top=0!==u?c.top:e,B.left=0!==u?c.left:A,g=(s-c.left-c.right)*o=t.width)break;this.addPage()}else m=[w=d(t,0,u,r,i),B.left,B.top,w.width/o,w.height/o,h,null,f],this.addImage.apply(this,m);if((u+=i)>=t.height)break;this.addPage()}n(l,u,null,m)}.bind(this);if(\"CANVAS\"===t.nodeName){var B=new Image;B.onload=p,B.src=t.toDataURL(\"image/png\"),t=B}else p()}else{var g=Math.random().toString(35),w=[t,A,e,l,u,h,g,f];this.addImage.apply(this,w),n(l,u,g,w)}}.bind(this),\"undefined\"!=typeof html2canvas&&!r.rstz)return html2canvas(t,r);if(\"undefined\"==typeof rasterizeHTML)return null;var c=\"drawDocument\";return\"string\"==typeof t&&(c=/^http/.test(t)?\"drawURL\":\"drawHTML\"),r.width=r.width||s*o,rasterizeHTML[c](t,void 0,r).then((function(t){r.onrendered(t.image)}),(function(t){n(null,t)}))\n/**\n * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser\n * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com\n * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria\n * 2014 Diego Casorran, https://github.com/diegocr\n * 2014 Daniel Husar, https://github.com/danielhusar\n * 2014 Wolfgang Gassler, https://github.com/woolfg\n * 2014 Steven Spungin, https://github.com/flamenco\n *\n * @license\n * \n * ====================================================================\n */},function(t){var A,e,r,i,o,s,a,c,u,l,h,f,d,p,B,g,w,m,Q,C;A=function(){return function(A){return t.prototype=A,new t};function t(){}}(),l=function(t){var A,e,r,n,i,o,s;for(e=0,r=t.length,A=void 0,o=n=!1;!n&&e!==r;)(A=t[e]=t[e].trimLeft())&&(n=!0),e++;for(e=r-1;r&&!o&&-1!==e;)(A=t[e]=t[e].trimRight())&&(o=!0),e--;for(i=/\\s+$/g,s=!0,e=0;e!==r;)\"\\u2028\"!=t[e]&&(A=t[e].replace(/\\s+/g,\" \"),s&&(A=A.trimLeft()),A&&(s=i.test(A)),t[e]=A),e++;return t},f=function(t){var A,e,n;for(A=void 0,e=(n=t.split(\",\")).shift();!A&&e;)A=r[e.trim().toLowerCase()],e=n.shift();return A},d=function(t){var A;return-1<(t=\"auto\"===t?\"0px\":t).indexOf(\"em\")&&!isNaN(Number(t.replace(\"em\",\"\")))&&(t=18.719*Number(t.replace(\"em\",\"\"))+\"px\"),-1r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(o));var L=u(o),H=r.x,x=12/r.pdf.internal.scaleFactor,S=(L[\"margin-left\"]+L[\"padding-left\"])*x,I=(L[\"margin-right\"]+L[\"padding-right\"])*x,_=(L[\"margin-top\"]+L[\"padding-top\"])*x,T=(L[\"margin-bottom\"]+L[\"padding-bottom\"])*x;void 0!==L.float&&\"right\"===L.float?H+=r.settings.width-o.width-I:H+=S,r.pdf.addImage(E,H,r.y+_,o.width,o.height),E=void 0,\"right\"===L.float||\"left\"===L.float?(r.watchFunctions.push(function(t,A,e,n){return r.y>=A?(r.x+=t,r.settings.width+=e,!0):!!(n&&1===n.nodeType&&!y[n.nodeName]&&r.x+n.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=t,r.y=A,r.settings.width+=e,!0)}.bind(this,\"left\"===L.float?-o.width-S-I:0,r.y+o.height+_+T,o.width)),r.watchFunctions.push(function(t,A,e){return!(r.y]*?>/gi,\"\"),u=\"jsPDFhtmlText\"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement(\"div\")).style.cssText=\"position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;\",c.innerHTML='\n \n )}\n \n ) : null}\n \n );\n};\nexport default PreviewFile;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport ModalWrapper from \"../../../../Common/ModalWrapper/ModalWrapper\";\nimport PreviewFileContent from \"./PreviewFileContent\";\nimport { BucketObjectItem } from \"../ListObjects/types\";\nimport { ObjectPreviewIcon } from \"mds\";\n\ninterface IPreviewFileProps {\n open: boolean;\n bucketName: string;\n object: BucketObjectItem | null;\n onClosePreview: () => void;\n}\n\nconst PreviewFileModal = ({\n open,\n bucketName,\n object,\n onClosePreview,\n}: IPreviewFileProps) => {\n return (\n \n }\n >\n \n \n \n );\n};\n\nexport default PreviewFileModal;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense

(\n WrappedComponent: ComponentType

,\n fallback: SuspenseProps[\"fallback\"] = null,\n) {\n function ComponentWithSuspense(props: P) {\n return (\n \n \n \n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { useState } from \"react\";\nimport { Button, CopyIcon, InputBox, Box, breakPoints } from \"mds\";\n\nconst KeyRevealer = ({ value }: { value: string }) => {\n const [shown, setShown] = useState(false);\n\n return (\n \n {}}\n value={value}\n overlayIcon={}\n readOnly={true}\n overlayAction={() => navigator.clipboard.writeText(value)}\n />\n\n setShown(!shown)}\n label={\"Show/Hide\"}\n />\n \n );\n};\n\nexport default KeyRevealer;\n"],"names":["_ref","modalOpen","onClose","bucket","prefilledRoute","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","prefix","setPrefix","_useState3","_useState4","selectedAccess","setSelectedAccess","useEffect","_jsx","ModalWrapper","title","titleIcon","AddAccessRuleIcon","children","_jsxs","FormLayout","withBorders","containerPadding","InputBox","value","label","id","name","placeholder","onChange","e","target","tooltip","Select","options","disabled","helpTip","Fragment","helpTipPlacement","Grid","item","xs","sx","modalStyleUtils","modalButtonBar","Button","type","variant","onClick","trim","api","setAccessRuleWithBucket","access","then","res","setSnackBarMessage","catch","setErrorSnackMessage","errorToHandler","error","extractFileExtn","resourceStr","match","getSessionGrantsWildCard","sessionGrants","uploadPath","scopes","arguments","length","undefined","grantsWithExtension","Object","keys","reduce","acc","grantKey","includes","filter","sessionGrantKey","hasScope","some","actionKey","find","scopeKey","wildCardMatch","indexOf","scopeActionKey","substring","isUploadPathMatching","concat","CreatePathModal","withSuspense","React","BreadcrumbsMain","styled","div","display","_defineProperty","paddingRight","alignItems","breakPoints","lg","margin","bucketName","internalPaths","hidePathButton","additionalOptions","navigate","useNavigate","rewindEnabled","useSelector","state","objectBrowser","rewind","versionsMode","versionedFile","anonymousMode","system","createFolderOpen","setCreateFolderOpen","putObjectPermScopes","IAM_SCOPES","S3_PUT_OBJECT","S3_PUT_ACTIONS","console","session","permissions","paths","splitPaths","split","path","lastBreadcrumbsIndex","pathToCheckPerms","sessionGrantWildCards","canCreatePath","hasPermission","_toConsumableArray","breadcrumbsMap","map","objectItem","index","subSplit","slice","join","route","encodeURLString","className","style","cursor","whiteSpace","safeDecodeURIComponent","Link","to","setVersionsModeEnabled","status","objectName","toString","versionsItem","listBreadcrumbs","folderName","Breadcrumbs","goBackFunction","prevPath","CopyToClipboard","text","icon","CopyIcon","width","height","fill","marginTop","color","border","marginRight","Box","Tooltip","permissionTooltipHelper","NewPathIcon","marginBottom","justifyContent","fontSize","fontWeight","flexDirection","flexWrap","isVersionedMode","downloadSelected","createAsyncThunk","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","getState","downloadObject","itemsToDownload","filterFunction","fileName","multiObjList","wrap","_context","prev","next","rejectWithValue","object","identityDownload","Date","getTime","Math","random","ID","makeid","downloadCall","download","version_id","size","progress","updateProgress","instanceID","completeObject","msg","failObject","cancelObjectInList","storeCallForObjectWithID","setNewObject","done","percentage","waitingForFile","failed","cancelled","errorMessage","selectedObjects","currValue","records","getClientOS","toLowerCase","setDownloadRenameModal","abrupt","DateTime","now","toFormat","dwList","bi","isDeleted","delete_flag","push","log","downloadSelectedAsZip","stop","_x","_x2","apply","openPreview","_ref4","_callee2","_","_ref3","fileObject","findFunction","_context2","setSelectedPreview","setPreviewOpen","_x3","_x4","openShare","_ref6","_callee3","_ref5","_context3","setShareFileModalOpen","_x5","_x6","openAnonymousAccess","_ref8","_callee4","_ref7","_context4","endsWith","setAnonymousAccessOpen","_x7","_x8","_ref$forceDisable","forceDisable","uploadFileFunction","uploadFolderFunction","_ref$overrideStyles","overrideStyles","anchorEl","setAnchorEl","uploadOptionsOpen","uploadOptionsSetOpen","openUploadMenu","Boolean","handleCloseUpload","uploadObjectAllowed","uploadFolderAllowed","uploadEnabled","TooltipWrapper","event","currentTarget","UploadIcon","DropdownSelector","UploadFolderIcon","selectedOption","onSelect","nValue","hideTriggerAction","open","anchorOrigin","useAnchorWidth","closePanel","_ref$className","borderColor","borderWidth","borderStyle","borderRadius","borderBottomLeftRadius","borderBottomRightRadius","transitionDuration","overflowX","overflowY","position","opacity","marginLeft","minWidth","borderLeftWidth","ClosePanelIcon","right","top","padding","backgroundColor","_object$name","isWinOs","setLongFileOpen","strings","minHeight","overflow","textOverflow","replaceUnicodeChar","extensionToIcon","FileVideoIcon","extensions","FileMusicIcon","FilePdfIcon","FilePptIcon","FileXlsIcon","FileLockIcon","FileCodeIcon","FileConfigIcon","FileDbIcon","FileFontIcon","FileTxtIcon","FileZipIcon","FileBookIcon","FileImageIcon","displayFileIconName","element","returnOnlyIcon","elementString","FileNonType","FolderBrowserIcon","lowercaseElement","_i","_extensionToIcon","_step","etc","_iterator","_createForOfIteratorHelper","s","n","ext","err","f","FileMissingIcon","splitItem","IconWithLabel","metaData","metaKeys","renderItem","Array","isArray","itemRendererFn","maxHeight","months","days","from","num","currentYear","getFullYear","years","numYear","forwardRef","ref","_ref$disableOptions","disableOptions","_ref$tooltip","onDateChange","borderBottom","_ref$value","useImperativeHandle","resetDate","month","setMonth","day","setDay","_useState5","_useState6","year","setYear","valueSplit","parseInt","_validDate","currentDate","parse","isNaN","parsedMonth","parsedDay","monthForString","dayForString","parsedDate","toISOString","dateString","validDate","_validDate2","isValid","isDateDisabled","monthForDropDown","daysForDrop","yearsForDrop","gap","InputLabel","htmlFor","placement","HelpIcon","newValue","closeModalAndRefresh","objectInfo","retentionConfig","statusEnabled","setStatusEnabled","setType","date","setDate","_useState7","_useState8","isDateValid","setIsDateValid","_useState9","_useState10","isSaving","setIsSaving","_useState11","_useState12","alreadyConfigured","setAlreadyConfigured","retention_mode","mode","ObjectRetentionMode","Governance","retention_until_date","valueDate","getMonth","getDate","dateElement","useRef","resetForm","current","showSwitcher","noValidate","autoComplete","onSubmit","preventDefault","Switch","checked","indicatorLabels","RadioGroup","currentValue","selectorOptions","Compliance","DateSelector","selectedObject","versionId","expireDate","buckets","putObjectRetention","expires","setModalErrorSnackMessage","addRetention","deleteObjectRetention","disableRetention","closeDeleteModalAndRefresh","deleteOpen","selectedBucket","versioningInfo","_ref$selectedVersion","selectedVersion","_useApi","useApi","detailedError","_useApi2","deleteLoading","invokeDeleteApi","deleteVersions","setDeleteVersions","bypassGovernance","setBypassGovernance","canBypass","S3_BYPASS_GOVERNANCE_RETENTION","ConfirmDialog","confirmText","isOpen","ConfirmDeleteIcon","isLoading","onConfirm","recursive","decodeURLString","confirmationContent","description","actualInfo","legalHoldEnabled","setLegalHoldEnabled","get","putObjectLegalHold","ObjectLegalHoldStatus","Enabled","Disabled","DeleteTag","b","theme","_actualInfo$name","onCloseAndUpdate","distributedSetup","selDistSet","newKey","setNewKey","newLabel","setNewLabel","isSending","setIsSending","deleteEnabled","setDeleteEnabled","deleteKey","setDeleteKey","deleteLabel","setDeleteLabel","currentTags","tags","currTagKeys","allPathData","currentItem","pop","tagsFor","plural","iconColor","DisabledIcon","EditTagIcon","container","cleanObject","_objectSpread","verID","putObjectTags","SecureComponent","S3_GET_OBJECT_TAGGING","S3_GET_ACTIONS","resource","flexFlow","tagKey","tag","S3_DELETE_OBJECT_TAGGING","errorProps","deleteIcon","onDelete","Tag","onDeleteTag","S3_PUT_OBJECT_TAGGING","SectionTitle","AddNewTagIcon","separator","newTag","newTagList","closeInspectModalAndRefresh","inspectOpen","inspectPath","volumeName","isEncrypt","setIsEncrypt","decryptionKey","setDecryptionKey","insFileName","setInsFileName","makeRequest","url","fetch","method","sent","performInspect","file","volume","urlOfInspectApi","resErr","blob","filename","decryptKey","ok","json","message","code","headers","getCookieValue","performDownload","InspectMenuIcon","deleteCookie","PasswordKeyIcon","KeyRevealer","closeModal","newFileName","setNewFileName","acceptLongName","setAcceptLongName","EditIcon","doDownload","emptyFile","is_latest","last_modified","legal_hold_status","locking","onClosePanel","loadingObjectInfo","shareFileModalOpen","retentionModalOpen","setRetentionModalOpen","tagModalOpen","setTagModalOpen","legalholdOpen","setLegalholdOpen","inspectModalOpen","setInspectModalOpen","setActualInfo","_useState13","_useState14","allInfoElements","setAllInfoElements","_useState15","_useState16","objectToShare","setObjectToShare","_useState17","_useState18","versions","setVersions","_useState19","_useState20","setDeleteOpen","_useState21","_useState22","previewOpen","_useState23","_useState24","totalVersionsSize","setTotalVersionsSize","_useState25","_useState26","longFileOpen","_useState27","_useState28","setMetaData","_useState29","_useState30","loadMetadata","setLoadingMetadata","objectNameArray","infoElement","el","is_delete_marker","listObjects","with_versions","result","data","objects","tVersionSize","resInfo","setLoadingObjectInfo","getObjectMetadata","metadata","tagKeys","loaderForContainer","textAlign","Loader","objectResources","canSetLegalHold","S3_PUT_OBJECT_LEGAL_HOLD","canSetTags","canChangeRetention","S3_GET_OBJECT_RETENTION","S3_PUT_OBJECT_RETENTION","canInspect","ADMIN_INSPECT_DATA","canChangeVersioning","S3_GET_BUCKET_VERSIONING","S3_PUT_BUCKET_VERSIONING","S3_GET_OBJECT_VERSION","canGetObject","S3_GET_OBJECT","canDelete","S3_DELETE_OBJECT","objectType","previewObjectType","multiActionButtons","action","DownloadIcon","ShareIcon","PreviewIcon","LegalHoldIcon","RetentionIcon","TagsIcon","VersionsIcon","ShareFile","dataObject","SetRetention","updateInfo","DeleteObject","closeAndReload","setLoadingVersions","setSelectedVersion","SetLegalHoldModal","reload","PreviewFileModal","content_type","onClosePreview","TagsModal","reloadObjectData","InspectObject","RenameLongFileName","textTransform","ActionsList","items","DeleteIcon","iconLocation","fullWidth","SimpleHeader","ObjectInfoIcon","overflowWrap","niceBytes","niceBytesInt","lastModified","currentTime","modifiedTime","difTime","formatTime","niceDaysInt","calculateLastModifyTime","etag","S3_GET_OBJECT_LEGAL_HOLD","MetadataIcon","ObjectMetaData","versionToRestore","objectPath","restoreOpen","restoreLoading","setRestoreLoading","RecoverIcon","putObjectRestore","restoreLocalObjectList","confirmButtonProps","bgColor","FileVersionStyled","content","left","borderBottomColor","maxWidth","versionInfo","isSelected","checkable","isChecked","onCheck","onShare","onDownload","onRestore","onPreview","globalClick","key","disableButtons","versionItemButtons","pill","fromISO","md","Checkbox","stopPropagation","SpecificVersionPill","button","IconButton","setDeleteLoading","typeConfirm","setTypeConfirm","deleteObject","non_current_versions","bypass","selectedVersions","selectedObjectsRequest","versionID","deleteMultipleObjects","all_versions","searchVersions","loadingVersions","restoreVersionOpen","setRestoreVersionOpen","restoreVersion","setRestoreVersion","sortValue","setSortValue","deleteNonCurrentOpen","setDeleteNonCurrentOpen","selectEnabled","setSelectEnabled","selectedItems","setSelectedItems","delSelectedVOpen","setDelSelectedVOpen","decodedInternalPaths","filteredPrefixes","onShareItem","onPreviewItem","onRestoreItem","onDownloadItem","onGlobalClick","filteredRecords","version","totalSpace","sort","a","dateA","dateB","onCheckVersion","filteredItems","cloneState","RestoreFileVersion","DeleteNonCurrent","reloadAfterDelete","DeleteSelectedVersions","reloadOnComplete","ProgressBar","BrowserBreadcrumbs","ScreenTitle","subTitle","actions","SelectMultipleIcon","DeleteNonCurrentIcon","noLabelMinWidth","bottomBorder","flexGrow","List","containerStyle","rowCount","rowHeight","rowRenderer","isScrolling","isVisible","versOrd","FileVersionItem","displayParsedDate","currTime","objectTime","hasSame","displayNiceBytes","String","listModeColumns","elementKey","renderFunction","enableSort","renderFullObject","rewindModeColumns","params","useParams","sortDirection","setSortDirection","currentSortField","setCurrentSortField","detailsOpen","objectDetailsOpen","requestInProgress","features","selFeatures","obOnly","searchObjects","connectionError","displayListObjects","S3_LIST_BUCKET","S3_ALL_LIST_BUCKET","sortASC","sortListObjects","payload","reverse","tableActions","idElement","newPath","setSelectedObjects","setObjectDetailsView","setSelectedObjectView","sendOnlyId","customPaperHeight","DataTable","itemActions","columns","entityName","idField","targetD","elements","customEmptyMessage","sortConfig","currentSort","currentDirection","triggerSort","sortData","newSortDirection","sortBy","setReloadObjectsList","onSelectAll","rowStyle","_payload$index","noBackground","SearchBox","setSearchObjects","DeleteMultipleObjects","RewindEnable","baseDnDStyle","outline","activeDnDStyle","acceptDnDStyle","_downloadRenameModal$","location","useLocation","bucketToRewind","showDeleted","selectedInternalPaths","simplePath","versioningConfig","lockingEnabled","downloadRenameModal","selectedPreview","anonymousAccessOpen","loadingBucket","selBucketDetailsLoading","bucketInfo","selBucketDetailsInfo","deleteMultipleOpen","setDeleteMultipleOpen","rewindSelect","setRewindSelect","iniLoad","setIniLoad","canShareFile","setCanShareFile","canPreviewFile","setCanPreviewFile","quota","setQuota","isMetaDataLoaded","setIsMetaDataLoaded","isVersioningApplied","pathSegment","pathname","pageTitle","currentPath","i","fileUpload","folderUpload","pathAsResourceInPolicy","allowedFileExtensions","cv","extension","Set","getPolicyAllowedFileExtensions","canDownload","canUpload","canSetAnonymousAccess","S3_GET_BUCKET_POLICY","S3_PUT_BUCKET_POLICY","fetchMetadata","useCallback","encodedPath","resetRewind","setAttribute","getBucketQuota","quotaVals","detailedMessage","setBucketDetailsLoad","setBucketInfo","getBucketRetentionConfig","setRetentionConfig","handleUploadButton","files","newFiles","uploadObject","folderPath","pathPrefix","uploadPromise","Promise","resolve","reject","uploadUrl","blobFile","Blob","filePath","fileWebkitRelativePath","relativeFolderPath","finalFolderPath","pathClean","startsWith","identity","xhr","XMLHttpRequest","setRequestHeader","areMultipleFiles","errorMessages","withCredentials","onload","removeTrace","response","JSON","upload","addEventListener","floor","loaded","total","onerror","onloadend","onabort","formData","FormData","append","storeFormDataWithID","uploadFilePromises","openList","allSettled","results","errors","totalFiles","successUploadedFiles","onDrop","acceptedFiles","_console","_console2","newFolderPath","allowedFiles","fileExtn","_useDropzone","useDropzone","noClick","getRootProps","getInputProps","isDragActive","isDragAccept","dndStyles","useMemo","forceRefresh","splitURLS","URLItem","createdTime","creation_date","downloadToolTip","AccessRuleIcon","refresh","versioning","AddAccessRule","PageLayout","paddingBottom","FilterObjectsSB","BucketsIcon","Badge","dotOnly","invisible","HistoryIcon","RefreshIcon","resetMessages","multiple","accept","UploadFilesButton","closeMenu","click","borderTop","VersionsNavigator","setShowDeletedObjects","ListObjectsTable","DetailsListPanel","ObjectDetailPanel","configureBucketAllowed","S3_GET_BUCKET_ENCRYPTION_CONFIGURATION","S3_PUT_BUCKET_ENCRYPTION_CONFIGURATION","S3_DELETE_BUCKET","S3_GET_BUCKET_NOTIFICATIONS","S3_PUT_BUCKET_NOTIFICATIONS","S3_GET_REPLICATION_CONFIGURATION","S3_PUT_REPLICATION_CONFIGURATION","S3_GET_LIFECYCLE_CONFIGURATION","S3_PUT_LIFECYCLE_CONFIGURATION","ADMIN_GET_BUCKET_QUOTA","ADMIN_SET_BUCKET_QUOTA","S3_PUT_BUCKET_TAGGING","S3_GET_BUCKET_TAGGING","S3_LIST_BUCKET_VERSIONS","S3_GET_BUCKET_POLICY_STATUS","S3_DELETE_BUCKET_POLICY","searchBar","setSearchVersions","setHelpName","AutoColorIcon","ObjectManagerButton","PageHeaderWrapper","BackLink","IAM_PAGES","OBJECT_BROWSER_VIEW","IAM_PERMISSIONS","IAM_ROLES","BUCKET_ADMIN","SettingsIcon","HelpMenu","middleComponent","loadingVersioning","rewindDate","dateToRewind","loadingLocking","reloadObjectsList","initWSRequest","rewindMode","pathLoad","forceLoad","searchPath","setRequestInProgress","decodedIPaths","setLoadingVersioning","setLoadingLocking","getBucketVersioning","setIsVersioned","getBucketObjectLockingStatus","setLockingEnabled","object_locking_enabled","OBHeader","ListObjects","initialDate","maxDays","entity","selectedDays","setSelectedDays","selectedHours","setSelectedHours","selectedMinutes","setSelectedMinutes","setValidDate","dateSelected","setDateSelected","hours","minutes","fromJSDate","plus","calculateNewTime","formattedDate","valid","extraStyles","paddingLeft","min","max","LinkIcon","shareURL","setShareURL","isLoadingVersion","setIsLoadingVersion","isLoadingFile","setIsLoadingFile","selectedDate","setSelectedDate","dateValid","setDateValid","setVersionID","latestVersion","elem","slDate","currDate","diffDate","ceil","shareObject","DaysSelector","newDate","ReadBox","actionButton","setModalSnackMessage","_ref$isFullscreen","isFullscreen","loading","setLoading","basename","document","baseURI","replace","window","origin","iframeLoaded","flex","autoPlay","controls","muted","playsInline","onPlay","src","alt","onLoad","InformativeMessage","allowTransparency","wideLimit","ObjectPreviewIcon","PreviewFileContent","WrappedComponent","fallback","props","Suspense","shown","setShown","sm","overlayIcon","readOnly","overlayAction","navigator","clipboard","writeText"],"sourceRoot":""} \ No newline at end of file diff --git a/portal-ui/build/static/js/2631.e93b9518.chunk.js b/portal-ui/build/static/js/2631.e93b9518.chunk.js new file mode 100644 index 0000000000..0e13709a0d --- /dev/null +++ b/portal-ui/build/static/js/2631.e93b9518.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2631.e93b9518.chunk.js.LICENSE.txt */ +"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2631],{36612:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(29439),o=n(43144),i=n(15671),a=n(99779),s={dayOfMonth:"d",fullDate:"DD",fullDateWithWeekday:"DDDD",fullDateTime:"ff",fullDateTime12h:"DD, hh:mm a",fullDateTime24h:"DD, T",fullTime:"t",fullTime12h:"hh:mm a",fullTime24h:"HH:mm",hours12h:"hh",hours24h:"HH",keyboardDate:"D",keyboardDateTime:"D t",keyboardDateTime12h:"D hh:mm a",keyboardDateTime24h:"D T",minutes:"mm",seconds:"ss",month:"LLLL",monthAndDate:"MMMM d",monthAndYear:"LLLL yyyy",monthShort:"MMM",weekday:"cccc",weekdayShort:"ccc",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",shortDate:"MMM d",year:"yyyy"},l=(0,o.Z)((function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.locale,l=n.formats;(0,i.Z)(this,e),this.lib="luxon",this.date=function(e){return"undefined"===typeof e?a.ou.local():null===e?null:"string"===typeof e?a.ou.fromJSDate(new Date(e),{locale:t.locale}):a.ou.isDateTime(e)?e:a.ou.fromJSDate(e,{locale:t.locale})},this.toJsDate=function(e){return e.toJSDate()},this.parseISO=function(e){return a.ou.fromISO(e)},this.toISO=function(e){return e.toISO({format:"extended"})},this.parse=function(e,n){return""===e?null:a.ou.fromFormat(e,n,{locale:t.locale})},this.is12HourCycleInCurrentLocale=function(){var e,n;return"undefined"===typeof Intl||"undefined"===typeof Intl.DateTimeFormat||Boolean(null===(n=null===(e=new Intl.DateTimeFormat(t.locale,{hour:"numeric"}))||void 0===e?void 0:e.resolvedOptions())||void 0===n?void 0:n.hour12)},this.getFormatHelperText=function(e){return""},this.getCurrentLocaleCode=function(){return t.locale||a.Zr.defaultLocale},this.addSeconds=function(e,t){return e.plus({seconds:t})},this.addMinutes=function(e,t){return e.plus({minutes:t})},this.addHours=function(e,t){return e.plus({hours:t})},this.addDays=function(e,t){return e.plus({days:t})},this.addWeeks=function(e,t){return e.plus({weeks:t})},this.addMonths=function(e,t){return e.plus({months:t})},this.addYears=function(e,t){return e.plus({years:t})},this.isValid=function(e){var n,r;return a.ou.isDateTime(e)?e.isValid:null!==e&&(null!==(r=null===(n=t.date(e))||void 0===n?void 0:n.isValid)&&void 0!==r&&r)},this.isEqual=function(e,n){var r,o;return null===e&&null===n||null!==e&&null!==n&&(!!t.date(n)&&(null!==(o=null===(r=t.date(e))||void 0===r?void 0:r.equals(t.date(n)))&&void 0!==o&&o))},this.isSameDay=function(e,t){return e.hasSame(t,"day")},this.isSameMonth=function(e,t){return e.hasSame(t,"month")},this.isSameYear=function(e,t){return e.hasSame(t,"year")},this.isSameHour=function(e,t){return e.hasSame(t,"hour")},this.isAfter=function(e,t){return e>t},this.isBefore=function(e,t){return e0},this.isBeforeMonth=function(e,t){return e.diff(t.startOf("month"),"months").toObject().months<0},this.isAfterMonth=function(e,t){return e.diff(t.startOf("month"),"months").toObject().months>0},this.isBeforeYear=function(e,t){return e.diff(t.startOf("year"),"years").toObject().years<0},this.isAfterYear=function(e,t){return e.diff(t.endOf("year"),"years").toObject().years>0},this.getDiff=function(e,t,n){return"string"===typeof t&&(t=a.ou.fromJSDate(new Date(t))),t.isValid?n?Math.floor(e.diff(t).as(n)):e.diff(t).as("millisecond"):0},this.startOfDay=function(e){return e.startOf("day")},this.endOfDay=function(e){return e.endOf("day")},this.format=function(e,n){return t.formatByString(e,t.formats[n])},this.formatByString=function(e,n){return e.setLocale(t.locale).toFormat(n)},this.formatNumber=function(e){return e},this.getHours=function(e){return e.get("hour")},this.setHours=function(e,t){return e.set({hour:t})},this.getMinutes=function(e){return e.get("minute")},this.setMinutes=function(e,t){return e.set({minute:t})},this.getSeconds=function(e){return e.get("second")},this.setSeconds=function(e,t){return e.set({second:t})},this.getMonth=function(e){return e.get("month")-1},this.getDaysInMonth=function(e){return e.daysInMonth},this.setMonth=function(e,t){return e.set({month:t+1})},this.getYear=function(e){return e.get("year")},this.setYear=function(e,t){return e.set({year:t})},this.getDate=function(e){return e.get("day")},this.setDate=function(e,t){return e.set({day:t})},this.mergeDateAndTime=function(e,t){return e.set({second:t.second,hour:t.hour,minute:t.minute})},this.startOfYear=function(e){return e.startOf("year")},this.endOfYear=function(e){return e.endOf("year")},this.startOfMonth=function(e){return e.startOf("month")},this.endOfMonth=function(e){return e.endOf("month")},this.startOfWeek=function(e){return e.startOf("week")},this.endOfWeek=function(e){return e.endOf("week")},this.getNextMonth=function(e){return e.plus({months:1})},this.getPreviousMonth=function(e){return e.minus({months:1})},this.getMonthArray=function(e){for(var n=[e.startOf("year")];n.length<12;){var r=n[n.length-1];n.push(t.getNextMonth(r))}return n},this.getWeekdays=function(){return a.kI.weekdaysFormat("short",{locale:t.locale})},this.getWeekArray=function(e){var t=e.endOf("month").endOf("week").diff(e.startOf("month").startOf("week"),"days").toObject().days,n=[];return new Array(Math.round(t)).fill(0).map((function(e,t){return t})).map((function(t){return e.startOf("month").startOf("week").plus({days:t})})).forEach((function(e,t){0===t||t%7===0&&t>6?n.push([e]):n[n.length-1].push(e)})),n},this.getYearRange=function(e,t){for(var n=e.startOf("year"),r=t.endOf("year"),o=n,i=[];o0){var r,o,i=Boolean((null==(r=M.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=M.current)?void 0:o.key)),a=n[0],s=n[n.length-1];"string"!==typeof a&&"string"!==typeof s&&(i?s.focus():a.focus())}else t.focus()}}}else y.current=!1};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[s,d,f,b,g,v]);var R=function(e){null===w.current&&(w.current=e.relatedTarget),C.current=!0};return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{tabIndex:g?0:-1,onFocus:R,ref:x,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:P,onFocus:function(e){null===w.current&&(w.current=e.relatedTarget),C.current=!0,S.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:g?0:-1,onFocus:R,ref:Z,"data-testid":"sentinelEnd"})]})}},96174:function(e,t,n){n.d(t,{h:function(){return c}});var r=n(29439),o=n(72791),i=n(54164),a=n(6117),s=n(62876),l=n(62971),u=n(80184);var c=o.forwardRef((function(e,t){var n=e.children,c=e.container,d=e.disablePortal,p=void 0!==d&&d,f=o.useState(null),h=(0,r.Z)(f,2),v=h[0],m=h[1],b=(0,a.Z)(o.isValidElement(n)?n.ref:null,t);if((0,s.Z)((function(){p||m(function(e){return"function"===typeof e?e():e}(c)||document.body)}),[c,p]),(0,s.Z)((function(){if(v&&!p)return(0,l.Z)(t,v),function(){(0,l.Z)(t,null)}}),[t,v,p]),p){if(o.isValidElement(n)){var g={ref:b};return o.cloneElement(n,g)}return(0,u.jsx)(o.Fragment,{children:n})}return(0,u.jsx)(o.Fragment,{children:v?i.createPortal(n,v):v})}))},22086:function(e,t,n){function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}n.d(t,{_:function(){return r}})},20627:function(e,t,n){function r(e){return"string"===typeof e}n.d(t,{X:function(){return r}})},69543:function(e,t,n){n.d(t,{y:function(){return d}});var r=n(87462),o=n(63366),i=n(6117),a=n(20627);var s=n(63733),l=n(22086);function u(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}var c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function d(e){var t,n=e.elementType,d=e.externalSlotProps,p=e.ownerState,f=e.skipResolvingSlotProps,h=void 0!==f&&f,v=(0,o.Z)(e,c),m=h?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(d,p),b=function(e){var t=e.getSlotProps,n=e.additionalProps,o=e.externalSlotProps,i=e.externalForwardedProps,a=e.className;if(!t){var c=(0,s.Z)(null==i?void 0:i.className,null==o?void 0:o.className,a,null==n?void 0:n.className),d=(0,r.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),p=(0,r.Z)({},n,i,o);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:void 0}}var f=(0,l._)((0,r.Z)({},i,o)),h=u(o),v=u(i),m=t(f),b=(0,s.Z)(null==m?void 0:m.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),g=(0,r.Z)({},null==m?void 0:m.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),y=(0,r.Z)({},m,n,v,h);return b.length>0&&(y.className=b),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:m.ref}}((0,r.Z)({},v,{externalSlotProps:m})),g=b.props,y=b.internalRef,x=(0,i.Z)(y,null==m?void 0:m.ref,null==(t=e.additionalProps)?void 0:t.ref),Z=function(e,t,n){return void 0===e||(0,a.X)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}(n,(0,r.Z)({},g,{ref:x}),p);return Z}},27197:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(45649)),i=n(80184),a=(0,o.default)([(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},"0"),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"Schedule");t.Z=a},45649:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(54421)},52739:function(e,t,n){n.d(t,{Z:function(){return b}});var r=n(63366),o=n(87462),i=n(72791),a=n(63733),s=n(94419),l=n(40724),u=n(93736),c=n(60627),d=n(75878),p=n(21217);function f(e){return(0,p.Z)("MuiBackdrop",e)}(0,d.Z)("MuiBackdrop",["root","invisible"]);var h=n(80184),v=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,l.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,o.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),b=i.forwardRef((function(e,t){var n,i,l,d=(0,u.Z)({props:e,name:"MuiBackdrop"}),p=d.children,b=d.className,g=d.component,y=void 0===g?"div":g,x=d.components,Z=void 0===x?{}:x,w=d.componentsProps,S=void 0===w?{}:w,C=d.invisible,k=void 0!==C&&C,P=d.open,M=d.slotProps,R=void 0===M?{}:M,E=d.slots,T=void 0===E?{}:E,D=d.TransitionComponent,O=void 0===D?c.Z:D,j=d.transitionDuration,N=(0,r.Z)(d,v),I=(0,o.Z)({},d,{component:y,invisible:k}),A=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,s.Z)(n,f,t)}(I),F=null!=(n=R.root)?n:S.root;return(0,h.jsx)(O,(0,o.Z)({in:P,timeout:j},N,{children:(0,h.jsx)(m,(0,o.Z)({"aria-hidden":!0},F,{as:null!=(i=null!=(l=T.root)?l:Z.Root)?i:y,className:(0,a.Z)(A.root,b,null==F?void 0:F.className),ownerState:(0,o.Z)({},I,null==F?void 0:F.ownerState),classes:A,ref:t,children:p}))}))}))},60627:function(e,t,n){var r=n(87462),o=n(63366),i=n(72791),a=n(18875),s=n(13967),l=n(4999),u=n(42071),c=n(80184),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=i.forwardRef((function(e,t){var n=(0,s.Z)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},h=e.addEndListener,v=e.appear,m=void 0===v||v,b=e.children,g=e.easing,y=e.in,x=e.onEnter,Z=e.onEntered,w=e.onEntering,S=e.onExit,C=e.onExited,k=e.onExiting,P=e.style,M=e.timeout,R=void 0===M?f:M,E=e.TransitionComponent,T=void 0===E?a.ZP:E,D=(0,o.Z)(e,d),O=i.useRef(null),j=(0,u.Z)(O,b.ref,t),N=function(e){return function(t){if(e){var n=O.current;void 0===t?e(n):e(n,t)}}},I=N(w),A=N((function(e,t){(0,l.n)(e);var r=(0,l.C)({style:P,timeout:R,easing:g},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),x&&x(e,t)})),F=N(Z),B=N(k),L=N((function(e){var t=(0,l.C)({style:P,timeout:R,easing:g},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),S&&S(e)})),z=N(C);return(0,c.jsx)(T,(0,r.Z)({appear:m,in:y,nodeRef:O,onEnter:A,onEntered:F,onEntering:I,onExit:L,onExited:z,onExiting:B,addEndListener:function(e){h&&h(O.current,e)},timeout:R},D,{children:function(e,t){return i.cloneElement(b,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||y?void 0:"hidden"},p[e],P,b.props.style),ref:j},t))}}))}));t.Z=f},93840:function(e,t,n){var r=n(72791).createContext(void 0);t.Z=r},52930:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(72791),o=n(93840);function i(){return r.useContext(o.Z)}},13208:function(e,t,n){var r=n(87462),o=n(63366),i=n(72791),a=n(18875),s=n(13967),l=n(4999),u=n(42071),c=n(80184),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},h="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef((function(e,t){var n=e.addEndListener,v=e.appear,m=void 0===v||v,b=e.children,g=e.easing,y=e.in,x=e.onEnter,Z=e.onEntered,w=e.onEntering,S=e.onExit,C=e.onExited,k=e.onExiting,P=e.style,M=e.timeout,R=void 0===M?"auto":M,E=e.TransitionComponent,T=void 0===E?a.ZP:E,D=(0,o.Z)(e,d),O=i.useRef(),j=i.useRef(),N=(0,s.Z)(),I=i.useRef(null),A=(0,u.Z)(I,b.ref,t),F=function(e){return function(t){if(e){var n=I.current;void 0===t?e(n):e(n,t)}}},B=F(w),L=F((function(e,t){(0,l.n)(e);var n,r=(0,l.C)({style:P,timeout:R,easing:g},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===R?(n=N.transitions.getAutoHeightDuration(e.clientHeight),j.current=n):n=o,e.style.transition=[N.transitions.create("opacity",{duration:n,delay:i}),N.transitions.create("transform",{duration:h?n:.666*n,delay:i,easing:a})].join(","),x&&x(e,t)})),z=F(Z),W=F(k),V=F((function(e){var t,n=(0,l.C)({style:P,timeout:R,easing:g},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===R?(t=N.transitions.getAutoHeightDuration(e.clientHeight),j.current=t):t=r,e.style.transition=[N.transitions.create("opacity",{duration:t,delay:o}),N.transitions.create("transform",{duration:h?t:.666*t,delay:h?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=p(.75),S&&S(e)})),H=F(C);return i.useEffect((function(){return function(){clearTimeout(O.current)}}),[]),(0,c.jsx)(T,(0,r.Z)({appear:m,in:y,nodeRef:I,onEnter:L,onEntered:z,onEntering:B,onExit:V,onExited:H,onExiting:W,addEndListener:function(e){"auto"===R&&(O.current=setTimeout(e,j.current||0)),n&&n(I.current,e)},timeout:"auto"===R?null:R},D,{children:function(e,t){return i.cloneElement(b,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:p(.75),visibility:"exited"!==e||y?void 0:"hidden"},f[e],P,b.props.style),ref:A},t))}}))}));v.muiSupportAuto=!0,t.Z=v},63466:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(4942),o=n(63366),i=n(87462),a=n(72791),s=n(63733),l=n(94419),u=n(14036),c=n(20890),d=n(93840),p=n(52930),f=n(40724),h=n(75878),v=n(21217);function m(e){return(0,v.Z)("MuiInputAdornment",e)}var b,g=(0,h.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),y=n(93736),x=n(80184),Z=["children","className","component","disablePointerEvents","disableTypography","position","variant"],w=(0,f.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,u.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,r.Z)({},"&.".concat(g.positionStart,"&:not(.").concat(g.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),S=a.forwardRef((function(e,t){var n=(0,y.Z)({props:e,name:"MuiInputAdornment"}),r=n.children,f=n.className,h=n.component,v=void 0===h?"div":h,g=n.disablePointerEvents,S=void 0!==g&&g,C=n.disableTypography,k=void 0!==C&&C,P=n.position,M=n.variant,R=(0,o.Z)(n,Z),E=(0,p.Z)()||{},T=M;M&&E.variant,E&&!T&&(T=E.variant);var D=(0,i.Z)({},n,{hiddenLabel:E.hiddenLabel,size:E.size,disablePointerEvents:S,position:P,variant:T}),O=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,s={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,u.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,u.Z)(i))]};return(0,l.Z)(s,m,t)}(D);return(0,x.jsx)(d.Z.Provider,{value:null,children:(0,x.jsx)(w,(0,i.Z)({as:v,ownerState:D,className:(0,s.Z)(O.root,f),ref:t},R,{children:"string"!==typeof r||k?(0,x.jsxs)(a.Fragment,{children:["start"===P?b||(b=(0,x.jsx)("span",{className:"notranslate",children:"\u200b"})):null,r]}):(0,x.jsx)(c.Z,{color:"text.secondary",children:r})}))})}))},88447:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(63366),o=n(87462),i=n(72791),a=n(63733),s=n(69543),l=n(29439),u=n(6117),c=n(84913),d=n(97054),p=n(78949),f=n(22086),h=n(15671),v=n(43144),m=n(93433),b=n(65202),g=n(57137);function y(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function x(e){return parseInt((0,b.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Z(e,t,n,r,o){var i=[t,n].concat((0,m.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===i.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&y(e,o)}))}function w(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function S(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,c.Z)(e);return t.body===e?(0,b.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=(0,g.Z)((0,c.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(x(r)+o,"px");var i=(0,c.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(x(e)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,c.Z)(r).body;else{var s=r.parentElement,l=(0,b.Z)(r);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var C=function(){function e(){(0,h.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,v.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&y(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Z(t,e.mount,e.modalRef,r,!0);var o=w(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=w(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=S(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=w(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&y(e.modalRef,t),Z(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&y(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var k=new C;function P(e){var t=e.container,n=e.disableEscapeKeyDown,r=void 0!==n&&n,a=e.disableScrollLock,s=void 0!==a&&a,h=e.manager,v=void 0===h?k:h,m=e.closeAfterTransition,b=void 0!==m&&m,g=e.onTransitionEnter,x=e.onTransitionExited,Z=e.children,w=e.onClose,S=e.open,C=e.rootRef,P=i.useRef({}),M=i.useRef(null),R=i.useRef(null),E=(0,u.Z)(R,C),T=i.useState(!S),D=(0,l.Z)(T,2),O=D[0],j=D[1],N=function(e){return!!e&&e.props.hasOwnProperty("in")}(Z),I=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(I=!1);var A=function(){return P.current.modalRef=R.current,P.current.mount=M.current,P.current},F=function(){v.mount(A(),{disableScrollLock:s}),R.current&&(R.current.scrollTop=0)},B=(0,d.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(t)||(0,c.Z)(M.current).body;v.add(A(),e),R.current&&F()})),L=i.useCallback((function(){return v.isTopModal(A())}),[v]),z=(0,d.Z)((function(e){M.current=e,e&&(S&&L()?F():R.current&&y(R.current,I))})),W=i.useCallback((function(){v.remove(A(),I)}),[I,v]);i.useEffect((function(){return function(){W()}}),[W]),i.useEffect((function(){S?B():N&&b||W()}),[S,W,N,b,B]);var V=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&L()&&(r||(t.stopPropagation(),w&&w(t,"escapeKeyDown")))}},H=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&w&&w(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,f._)(e);delete n.onTransitionEnter,delete n.onTransitionExited;var r=(0,o.Z)({},n,t);return(0,o.Z)({role:"presentation"},r,{onKeyDown:V(r),ref:E})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.Z)({"aria-hidden":!0},e,{onClick:H(e),open:S})},getTransitionProps:function(){return{onEnter:(0,p.Z)((function(){j(!1),g&&g()}),null==Z?void 0:Z.props.onEnter),onExited:(0,p.Z)((function(){j(!0),x&&x(),b&&W()}),null==Z?void 0:Z.props.onExited)}},rootRef:E,portalRef:z,isTopModal:L,exited:O,hasTransition:N}}var M=n(94419),R=n(32080),E=n(96174),T=n(40724),D=n(93736),O=n(52739),j=n(75878),N=n(21217);function I(e){return(0,N.Z)("MuiModal",e)}(0,j.Z)("MuiModal",["root","hidden","backdrop"]);var A=n(80184),F=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],B=(0,T.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),L=(0,T.ZP)(O.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),z=i.forwardRef((function(e,t){var n,l,u,c,d,p,f=(0,D.Z)({name:"MuiModal",props:e}),h=f.BackdropComponent,v=void 0===h?L:h,m=f.BackdropProps,b=f.className,g=f.closeAfterTransition,y=void 0!==g&&g,x=f.children,Z=f.container,w=f.component,S=f.components,C=void 0===S?{}:S,k=f.componentsProps,T=void 0===k?{}:k,O=f.disableAutoFocus,j=void 0!==O&&O,N=f.disableEnforceFocus,z=void 0!==N&&N,W=f.disableEscapeKeyDown,V=void 0!==W&&W,H=f.disablePortal,q=void 0!==H&&H,K=f.disableRestoreFocus,_=void 0!==K&&K,Y=f.disableScrollLock,U=void 0!==Y&&Y,X=f.hideBackdrop,G=void 0!==X&&X,$=f.keepMounted,J=void 0!==$&&$,Q=f.onBackdropClick,ee=f.open,te=f.slotProps,ne=f.slots,re=(0,r.Z)(f,F),oe=(0,o.Z)({},f,{closeAfterTransition:y,disableAutoFocus:j,disableEnforceFocus:z,disableEscapeKeyDown:V,disablePortal:q,disableRestoreFocus:_,disableScrollLock:U,hideBackdrop:G,keepMounted:J}),ie=P((0,o.Z)({},oe,{rootRef:t})),ae=ie.getRootProps,se=ie.getBackdropProps,le=ie.getTransitionProps,ue=ie.portalRef,ce=ie.isTopModal,de=ie.exited,pe=ie.hasTransition,fe=(0,o.Z)({},oe,{exited:de}),he=function(e){var t=e.open,n=e.exited,r=e.classes,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,M.Z)(o,I,r)}(fe),ve={};if(void 0===x.props.tabIndex&&(ve.tabIndex="-1"),pe){var me=le(),be=me.onEnter,ge=me.onExited;ve.onEnter=be,ve.onExited=ge}var ye=null!=(n=null!=(l=null==ne?void 0:ne.root)?l:C.Root)?n:B,xe=null!=(u=null!=(c=null==ne?void 0:ne.backdrop)?c:C.Backdrop)?u:v,Ze=null!=(d=null==te?void 0:te.root)?d:T.root,we=null!=(p=null==te?void 0:te.backdrop)?p:T.backdrop,Se=(0,s.y)({elementType:ye,externalSlotProps:Ze,externalForwardedProps:re,getSlotProps:ae,additionalProps:{ref:t,as:w},ownerState:fe,className:(0,a.Z)(b,null==Ze?void 0:Ze.className,null==he?void 0:he.root,!fe.open&&fe.exited&&(null==he?void 0:he.hidden))}),Ce=(0,s.y)({elementType:xe,externalSlotProps:we,additionalProps:m,getSlotProps:function(e){return se((0,o.Z)({},e,{onClick:function(t){Q&&Q(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:(0,a.Z)(null==we?void 0:we.className,null==m?void 0:m.className,null==he?void 0:he.backdrop),ownerState:fe});return J||ee||pe&&!de?(0,A.jsx)(E.h,{ref:ue,container:Z,disablePortal:q,children:(0,A.jsxs)(ye,(0,o.Z)({},Se,{children:[!G&&v?(0,A.jsx)(xe,(0,o.Z)({},Ce)):null,(0,A.jsx)(R.i,{disableEnforceFocus:z,disableAutoFocus:j,disableRestoreFocus:_,isEnabled:ce,open:ee,children:i.cloneElement(x,ve)})]}))}):null}))},35527:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(63366),o=n(87462),i=n(72791),a=n(63733),s=n(94419),l=n(12065),u=n(40724),c=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},d=n(93736),p=n(75878),f=n(21217);function h(e){return(0,f.Z)("MuiPaper",e)}(0,p.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var v=n(80184),m=["className","component","elevation","square","variant"],b=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,o.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,o.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,l.Fq)("#fff",c(r.elevation)),", ").concat((0,l.Fq)("#fff",c(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),g=i.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiPaper"}),i=n.className,l=n.component,u=void 0===l?"div":l,c=n.elevation,p=void 0===c?1:c,f=n.square,g=void 0!==f&&f,y=n.variant,x=void 0===y?"elevation":y,Z=(0,r.Z)(n,m),w=(0,o.Z)({},n,{component:u,elevation:p,square:g,variant:x}),S=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,s.Z)(i,h,o)}(w);return(0,v.jsx)(b,(0,o.Z)({as:u,ownerState:w,className:(0,a.Z)(S.root,i),ref:t},Z))}))},14464:function(e,t,n){n.d(t,{Z:function(){return fn}});var r=n(87462),o=n(63366),i=n(72791),a=n(63733),s=n(94419),l=n(18252),u=n(40724),c=n(93736),d=n(4942),p=n(93433),f=n(82466),h=n(29439),v=n(46189),m=n(54164),b=n(6117),g=n(65202),y=n(62876),x=n(82254),Z=n(80184),w=["onChange","maxRows","minRows","style","value"];function S(e){return parseInt(e,10)||0}var C={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function k(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var P=i.forwardRef((function(e,t){var n=e.onChange,a=e.maxRows,s=e.minRows,l=void 0===s?1:s,u=e.style,c=e.value,d=(0,o.Z)(e,w),p=i.useRef(null!=c).current,f=i.useRef(null),v=(0,b.Z)(t,f),P=i.useRef(null),M=i.useRef(0),R=i.useState({outerHeightStyle:0}),E=(0,h.Z)(R,2),T=E[0],D=E[1],O=i.useCallback((function(){var t=f.current,n=(0,g.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=P.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n.boxSizing,i=S(n.paddingBottom)+S(n.paddingTop),s=S(n.borderBottomWidth)+S(n.borderTopWidth),u=r.scrollHeight;r.value="x";var c=r.scrollHeight,d=u;return l&&(d=Math.max(Number(l)*c,d)),a&&(d=Math.min(Number(a)*c,d)),{outerHeightStyle:(d=Math.max(d,c))+("border-box"===o?i+s:0),overflow:Math.abs(d-u)<=1}}),[a,l,e.placeholder]),j=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return M.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(M.current+=1,{overflow:r,outerHeightStyle:n}):e},N=i.useCallback((function(){var e=O();k(e)||D((function(t){return j(t,e)}))}),[O]);(0,y.Z)((function(){var e,t,n=function(){M.current=0,function(){var e=O();k(e)||m.flushSync((function(){D((function(t){return j(t,e)}))}))}()},r=(0,x.Z)(n),o=f.current,i=(0,g.Z)(o);return i.addEventListener("resize",r),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(n)).observe(o),function(){r.clear(),cancelAnimationFrame(e),i.removeEventListener("resize",r),t&&t.disconnect()}}),[O]),(0,y.Z)((function(){N()})),i.useEffect((function(){M.current=0}),[c]);return(0,Z.jsxs)(i.Fragment,{children:[(0,Z.jsx)("textarea",(0,r.Z)({value:c,onChange:function(e){M.current=0,p||N(),n&&n(e)},ref:v,rows:l,style:(0,r.Z)({height:T.outerHeightStyle,overflow:T.overflow?"hidden":void 0},u)},d)),(0,Z.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:P,tabIndex:-1,style:(0,r.Z)({},C,u,{paddingTop:0,paddingBottom:0})})]})})),M=n(20627);function R(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var E=n(93840),T=n(52930),D=n(14036),O=n(42071),j=n(40162),N=n(52554);function I(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Z.jsx)(N.xB,{styles:o})}var A=n(30418);var F=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,o=void 0===r?{}:r,i=(0,A.Z)(o),a="function"===typeof t?t(n&&i[n]||i):t;return(0,Z.jsx)(I,{styles:a})},B=n(36482),L=n(988);var z=function(e){return(0,Z.jsx)(F,(0,r.Z)({},e,{defaultTheme:B.Z,themeId:L.Z}))};function W(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function V(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(W(e.value)&&""!==e.value||t&&W(e.defaultValue)&&""!==e.defaultValue)}var H=n(75878),q=n(21217);function K(e){return(0,q.Z)("MuiInputBase",e)}var _=(0,H.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Y=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],U=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,D.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},X=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},G=(0,u.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:U})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({},t.typography.body1,(0,d.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(_.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,r.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),$=(0,u.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:X})((function(e){var t,n=e.theme,o=e.ownerState,i="light"===n.palette.mode,a=(0,r.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),s={opacity:"0 !important"},l=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,r.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,d.Z)(t,"label[data-shrink=false] + .".concat(_.formControl," &"),{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l}),(0,d.Z)(t,"&.".concat(_.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===o.size&&{paddingTop:1},o.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===o.type&&{MozAppearance:"textfield"})})),J=(0,Z.jsx)(z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Q=i.forwardRef((function(e,t){var n,l=(0,c.Z)({props:e,name:"MuiInputBase"}),u=l["aria-describedby"],d=l.autoComplete,p=l.autoFocus,f=l.className,m=l.components,b=void 0===m?{}:m,g=l.componentsProps,y=void 0===g?{}:g,x=l.defaultValue,w=l.disabled,S=l.disableInjectingGlobalStyles,C=l.endAdornment,k=l.fullWidth,N=void 0!==k&&k,I=l.id,A=l.inputComponent,F=void 0===A?"input":A,B=l.inputProps,L=void 0===B?{}:B,z=l.inputRef,W=l.maxRows,H=l.minRows,q=l.multiline,_=void 0!==q&&q,U=l.name,X=l.onBlur,Q=l.onChange,ee=l.onClick,te=l.onFocus,ne=l.onKeyDown,re=l.onKeyUp,oe=l.placeholder,ie=l.readOnly,ae=l.renderSuffix,se=l.rows,le=l.slotProps,ue=void 0===le?{}:le,ce=l.slots,de=void 0===ce?{}:ce,pe=l.startAdornment,fe=l.type,he=void 0===fe?"text":fe,ve=l.value,me=(0,o.Z)(l,Y),be=null!=L.value?L.value:ve,ge=i.useRef(null!=be).current,ye=i.useRef(),xe=i.useCallback((function(e){0}),[]),Ze=(0,O.Z)(ye,z,L.ref,xe),we=i.useState(!1),Se=(0,h.Z)(we,2),Ce=Se[0],ke=Se[1],Pe=(0,T.Z)();var Me=R({props:l,muiFormControl:Pe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Me.focused=Pe?Pe.focused:Ce,i.useEffect((function(){!Pe&&w&&Ce&&(ke(!1),X&&X())}),[Pe,w,Ce,X]);var Re=Pe&&Pe.onFilled,Ee=Pe&&Pe.onEmpty,Te=i.useCallback((function(e){V(e)?Re&&Re():Ee&&Ee()}),[Re,Ee]);(0,j.Z)((function(){ge&&Te({value:be})}),[be,Te,ge]);i.useEffect((function(){Te(ye.current)}),[]);var De=F,Oe=L;_&&"input"===De&&(Oe=se?(0,r.Z)({type:void 0,minRows:se,maxRows:se},Oe):(0,r.Z)({type:void 0,maxRows:W,minRows:H},Oe),De=P);i.useEffect((function(){Pe&&Pe.setAdornedStart(Boolean(pe))}),[Pe,pe]);var je=(0,r.Z)({},l,{color:Me.color||"primary",disabled:Me.disabled,endAdornment:C,error:Me.error,focused:Me.focused,formControl:Pe,fullWidth:N,hiddenLabel:Me.hiddenLabel,multiline:_,size:Me.size,startAdornment:pe,type:he}),Ne=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,u=e.fullWidth,c=e.hiddenLabel,d=e.multiline,p=e.readOnly,f=e.size,h=e.startAdornment,v=e.type,m={root:["root","color".concat((0,D.Z)(n)),r&&"disabled",o&&"error",u&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&"size".concat((0,D.Z)(f)),d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===v&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,s.Z)(m,K,t)}(je),Ie=de.root||b.Root||G,Ae=ue.root||y.root||{},Fe=de.input||b.Input||$;return Oe=(0,r.Z)({},Oe,null!=(n=ue.input)?n:y.input),(0,Z.jsxs)(i.Fragment,{children:[!S&&J,(0,Z.jsxs)(Ie,(0,r.Z)({},Ae,!(0,M.X)(Ie)&&{ownerState:(0,r.Z)({},je,Ae.ownerState)},{ref:t,onClick:function(e){ye.current&&e.currentTarget===e.target&&ye.current.focus(),ee&&ee(e)}},me,{className:(0,a.Z)(Ne.root,Ae.className,f,ie&&"MuiInputBase-readOnly"),children:[pe,(0,Z.jsx)(E.Z.Provider,{value:null,children:(0,Z.jsx)(Fe,(0,r.Z)({ownerState:je,"aria-invalid":Me.error,"aria-describedby":u,autoComplete:d,autoFocus:p,defaultValue:x,disabled:Me.disabled,id:I,onAnimationStart:function(e){Te("mui-auto-fill-cancel"===e.animationName?ye.current:{value:"x"})},name:U,placeholder:oe,readOnly:ie,required:Me.required,rows:se,value:be,onKeyDown:ne,onKeyUp:re,type:he},Oe,!(0,M.X)(Fe)&&{as:De,ownerState:(0,r.Z)({},je,Oe.ownerState)},{ref:Ze,className:(0,a.Z)(Ne.input,Oe.className,ie&&"MuiInputBase-readOnly"),onBlur:function(e){X&&X(e),L.onBlur&&L.onBlur(e),Pe&&Pe.onBlur?Pe.onBlur(e):ke(!1)},onChange:function(e){if(!ge){var t=e.target||ye.current;if(null==t)throw new Error((0,v.Z)(1));Te({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function ye(e){return(0,q.Z)("MuiOutlinedInput",e)}var xe=(0,r.Z)({},_,(0,H.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),Ze=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],we=(0,u.ZP)(G,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:U})((function(e){var t,n=e.theme,o=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,r.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,d.Z)(t,"&:hover .".concat(xe.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,d.Z)(t,"@media (hover: none)",(0,d.Z)({},"&:hover .".concat(xe.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),(0,d.Z)(t,"&.".concat(xe.focused," .").concat(xe.notchedOutline),{borderColor:(n.vars||n).palette[o.color].main,borderWidth:2}),(0,d.Z)(t,"&.".concat(xe.error," .").concat(xe.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,d.Z)(t,"&.".concat(xe.disabled," .").concat(xe.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),o.startAdornment&&{paddingLeft:14},o.endAdornment&&{paddingRight:14},o.multiline&&(0,r.Z)({padding:"16.5px 14px"},"small"===o.size&&{padding:"8.5px 14px"}))})),Se=(0,u.ZP)((function(e){var t=e.className,n=e.label,i=e.notched,a=(0,o.Z)(e,me),s=null!=n&&""!==n,l=(0,r.Z)({},e,{notched:i,withLabel:s});return(0,Z.jsx)(be,(0,r.Z)({"aria-hidden":!0,className:t,ownerState:l},a,{children:(0,Z.jsx)(ge,{ownerState:l,children:s?(0,Z.jsx)("span",{children:n}):he||(he=(0,Z.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),Ce=(0,u.ZP)($,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:X})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,d.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),ke=i.forwardRef((function(e,t){var n,a,l,u,d,p=(0,c.Z)({props:e,name:"MuiOutlinedInput"}),f=p.components,h=void 0===f?{}:f,v=p.fullWidth,m=void 0!==v&&v,b=p.inputComponent,g=void 0===b?"input":b,y=p.label,x=p.multiline,w=void 0!==x&&x,S=p.notched,C=p.slots,k=void 0===C?{}:C,P=p.type,M=void 0===P?"text":P,E=(0,o.Z)(p,Ze),D=function(e){var t=e.classes,n=(0,s.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ye,t);return(0,r.Z)({},t,n)}(p),O=(0,T.Z)(),j=R({props:p,muiFormControl:O,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),N=(0,r.Z)({},p,{color:j.color||"primary",disabled:j.disabled,error:j.error,focused:j.focused,formControl:O,fullWidth:m,hiddenLabel:j.hiddenLabel,multiline:w,size:j.size,type:M}),I=null!=(n=null!=(a=k.root)?a:h.Root)?n:we,A=null!=(l=null!=(u=k.input)?u:h.Input)?l:Ce;return(0,Z.jsx)(ee,(0,r.Z)({slots:{root:I,input:A},renderSuffix:function(e){return(0,Z.jsx)(Se,{ownerState:N,className:D.notchedOutline,label:null!=y&&""!==y&&j.required?d||(d=(0,Z.jsxs)(i.Fragment,{children:[y,"\u2009","*"]})):y,notched:"undefined"!==typeof S?S:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:m,inputComponent:g,multiline:w,ref:t,type:M},E,{classes:(0,r.Z)({},D,{notchedOutline:null})}))}));ke.muiName="Input";var Pe=ke;function Me(e){return(0,q.Z)("MuiFormLabel",e)}var Re=(0,H.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ee=["children","className","color","component","disabled","error","filled","focused","required"],Te=(0,u.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,r.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,d.Z)(t,"&.".concat(Re.focused),{color:(n.vars||n).palette[o.color].main}),(0,d.Z)(t,"&.".concat(Re.disabled),{color:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&.".concat(Re.error),{color:(n.vars||n).palette.error.main}),t))})),De=(0,u.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,d.Z)({},"&.".concat(Re.error),{color:(t.vars||t).palette.error.main})})),Oe=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormLabel"}),i=n.children,l=n.className,u=n.component,d=void 0===u?"label":u,p=(0,o.Z)(n,Ee),f=R({props:n,muiFormControl:(0,T.Z)(),states:["color","required","focused","disabled","error","filled"]}),h=(0,r.Z)({},n,{color:f.color||"primary",component:d,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),v=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,l=e.required,u={root:["root","color".concat((0,D.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.Z)(u,Me,t)}(h);return(0,Z.jsxs)(Te,(0,r.Z)({as:d,ownerState:h,className:(0,a.Z)(v.root,l),ref:t},p,{children:[i,f.required&&(0,Z.jsxs)(De,{ownerState:h,"aria-hidden":!0,className:v.asterisk,children:["\u2009","*"]})]}))}));function je(e){return(0,q.Z)("MuiInputLabel",e)}(0,H.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var Ne=["disableAnimation","margin","shrink","variant","className"],Ie=(0,u.ZP)(Oe,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Re.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,r.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),Ae=i.forwardRef((function(e,t){var n=(0,c.Z)({name:"MuiInputLabel",props:e}),i=n.disableAnimation,l=void 0!==i&&i,u=n.shrink,d=n.className,p=(0,o.Z)(n,Ne),f=(0,T.Z)(),h=u;"undefined"===typeof h&&f&&(h=f.filled||f.focused||f.adornedStart);var v=R({props:n,muiFormControl:f,states:["size","variant","required"]}),m=(0,r.Z)({},n,{disableAnimation:l,formControl:f,shrink:h,size:v.size,variant:v.variant,required:v.required}),b=function(e){var t=e.classes,n=e.formControl,o=e.size,i=e.shrink,a=e.disableAnimation,l=e.variant,u=e.required,c={root:["root",n&&"formControl",!a&&"animated",i&&"shrink",o&&"normal"!==o&&"size".concat((0,D.Z)(o)),l],asterisk:[u&&"asterisk"]},d=(0,s.Z)(c,je,t);return(0,r.Z)({},t,d)}(m);return(0,Z.jsx)(Ie,(0,r.Z)({"data-shrink":h,ownerState:m,ref:t,className:(0,a.Z)(b.root,d)},p,{classes:b}))})),Fe=n(19103);function Be(e){return(0,q.Z)("MuiFormControl",e)}(0,H.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Le=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],ze=(0,u.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,r.Z)({},t.root,t["margin".concat((0,D.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),We=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormControl"}),l=n.children,u=n.className,d=n.color,p=void 0===d?"primary":d,f=n.component,v=void 0===f?"div":f,m=n.disabled,b=void 0!==m&&m,g=n.error,y=void 0!==g&&g,x=n.focused,w=n.fullWidth,S=void 0!==w&&w,C=n.hiddenLabel,k=void 0!==C&&C,P=n.margin,M=void 0===P?"none":P,R=n.required,T=void 0!==R&&R,O=n.size,j=void 0===O?"medium":O,N=n.variant,I=void 0===N?"outlined":N,A=(0,o.Z)(n,Le),F=(0,r.Z)({},n,{color:p,component:v,disabled:b,error:y,fullWidth:S,hiddenLabel:k,margin:M,required:T,size:j,variant:I}),B=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,D.Z)(n)),r&&"fullWidth"]};return(0,s.Z)(o,Be,t)}(F),L=i.useState((function(){var e=!1;return l&&i.Children.forEach(l,(function(t){if((0,Fe.Z)(t,["Input","Select"])){var n=(0,Fe.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),z=(0,h.Z)(L,2),W=z[0],H=z[1],q=i.useState((function(){var e=!1;return l&&i.Children.forEach(l,(function(t){(0,Fe.Z)(t,["Input","Select"])&&(V(t.props,!0)||V(t.props.inputProps,!0))&&(e=!0)})),e})),K=(0,h.Z)(q,2),_=K[0],Y=K[1],U=i.useState(!1),X=(0,h.Z)(U,2),G=X[0],$=X[1];b&&G&&$(!1);var J,Q=void 0===x||b?G:x,ee=i.useMemo((function(){return{adornedStart:W,setAdornedStart:H,color:p,disabled:b,error:y,filled:_,focused:Q,fullWidth:S,hiddenLabel:k,size:j,onBlur:function(){$(!1)},onEmpty:function(){Y(!1)},onFilled:function(){Y(!0)},onFocus:function(){$(!0)},registerEffect:J,required:T,variant:I}}),[W,p,b,y,_,Q,S,k,J,T,j,I]);return(0,Z.jsx)(E.Z.Provider,{value:ee,children:(0,Z.jsx)(ze,(0,r.Z)({as:v,ownerState:F,className:(0,a.Z)(B.root,u),ref:t},A,{children:l}))})}));function Ve(e){return(0,q.Z)("MuiFormHelperText",e)}var He,qe=(0,H.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ke=["children","className","component","disabled","error","filled","focused","margin","required","variant"],_e=(0,u.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,D.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,d.Z)(t,"&.".concat(qe.disabled),{color:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&.".concat(qe.error),{color:(n.vars||n).palette.error.main}),t),"small"===o.size&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})})),Ye=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormHelperText"}),i=n.children,l=n.className,u=n.component,d=void 0===u?"p":u,p=(0,o.Z)(n,Ke),f=R({props:n,muiFormControl:(0,T.Z)(),states:["variant","size","disabled","error","filled","focused","required"]}),h=(0,r.Z)({},n,{component:d,contained:"filled"===f.variant||"outlined"===f.variant,variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),v=function(e){var t=e.classes,n=e.contained,r=e.size,o=e.disabled,i=e.error,a=e.filled,l=e.focused,u=e.required,c={root:["root",o&&"disabled",i&&"error",r&&"size".concat((0,D.Z)(r)),n&&"contained",l&&"focused",a&&"filled",u&&"required"]};return(0,s.Z)(c,Ve,t)}(h);return(0,Z.jsx)(_e,(0,r.Z)({as:d,ownerState:h,className:(0,a.Z)(v.root,l),ref:t},p,{children:" "===i?He||(He=(0,Z.jsx)("span",{className:"notranslate",children:"\u200b"})):i}))})),Ue=(n(57441),n(98301)),Xe=n(69543);var Ge=i.createContext({});function $e(e){return(0,q.Z)("MuiList",e)}(0,H.Z)("MuiList",["root","padding","dense","subheader"]);var Je=["children","className","component","dense","disablePadding","subheader"],Qe=(0,u.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,r.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),et=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiList"}),l=n.children,u=n.className,d=n.component,p=void 0===d?"ul":d,f=n.dense,h=void 0!==f&&f,v=n.disablePadding,m=void 0!==v&&v,b=n.subheader,g=(0,o.Z)(n,Je),y=i.useMemo((function(){return{dense:h}}),[h]),x=(0,r.Z)({},n,{component:p,dense:h,disablePadding:m}),w=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,s.Z)(n,$e,t)}(x);return(0,Z.jsx)(Ge.Provider,{value:y,children:(0,Z.jsxs)(Qe,(0,r.Z)({as:p,className:(0,a.Z)(w.root,u),ref:t,ownerState:x},g,{children:[b,l]}))})})),tt=n(57137).Z,nt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function rt(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ot(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function it(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function at(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&it(s,i)&&!l)return s.focus(),!0;s=o(e,s,n)}return!1}var st=i.forwardRef((function(e,t){var n=e.actions,a=e.autoFocus,s=void 0!==a&&a,l=e.autoFocusItem,u=void 0!==l&&l,c=e.children,d=e.className,p=e.disabledItemsFocusable,f=void 0!==p&&p,h=e.disableListWrap,v=void 0!==h&&h,m=e.onKeyDown,b=e.variant,g=void 0===b?"selectedMenu":b,y=(0,o.Z)(e,nt),x=i.useRef(null),w=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,j.Z)((function(){s&&x.current.focus()}),[s]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!x.current.style.width;if(e.clientHeight=c.length&&(C=-1)):C===t&&(C+=1)>=c.length&&(C=-1)}));var k=i.Children.map(c,(function(e,t){if(t===C){var n={};return u&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===g&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return(0,Z.jsx)(et,(0,r.Z)({role:"menu",ref:S,className:d,onKeyDown:function(e){var t=x.current,n=e.key,r=(0,Ue.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),at(t,r,v,f,rt);else if("ArrowUp"===n)e.preventDefault(),at(t,r,v,f,ot);else if("Home"===n)e.preventDefault(),at(t,null,v,f,rt);else if("End"===n)e.preventDefault(),at(t,null,v,f,ot);else if(1===n.length){var o=w.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var s=r&&!o.repeating&&it(r,o);o.previousKeyMatched&&(s||at(t,r,!1,f,rt,o))?e.preventDefault():o.previousKeyMatched=!1}m&&m(e)},tabIndex:s?0:-1},y,{children:k}))})),lt=n(83199),ut=n(17602),ct=n(13208),dt=n(88447),pt=n(35527);function ft(e){return(0,q.Z)("MuiPopover",e)}(0,H.Z)("MuiPopover",["root","paper"]);var ht=["onEntering"],vt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],mt=["slotProps"];function bt(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function gt(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function yt(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function xt(e){return"function"===typeof e?e():e}var Zt=(0,u.ZP)(dt.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),wt=(0,u.ZP)(pt.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),St=i.forwardRef((function(e,t){var n,l,u,d=(0,c.Z)({props:e,name:"MuiPopover"}),p=d.action,f=d.anchorEl,v=d.anchorOrigin,m=void 0===v?{vertical:"top",horizontal:"left"}:v,b=d.anchorPosition,g=d.anchorReference,y=void 0===g?"anchorEl":g,x=d.children,w=d.className,S=d.container,C=d.elevation,k=void 0===C?8:C,P=d.marginThreshold,R=void 0===P?16:P,E=d.open,T=d.PaperProps,D=void 0===T?{}:T,j=d.slots,N=d.slotProps,I=d.transformOrigin,A=void 0===I?{vertical:"top",horizontal:"left"}:I,F=d.TransitionComponent,B=void 0===F?ct.Z:F,L=d.transitionDuration,z=void 0===L?"auto":L,W=d.TransitionProps,V=(void 0===W?{}:W).onEntering,H=d.disableScrollLock,q=void 0!==H&&H,K=(0,o.Z)(d.TransitionProps,ht),_=(0,o.Z)(d,vt),Y=null!=(n=null==N?void 0:N.paper)?n:D,U=i.useRef(),X=(0,O.Z)(U,Y.ref),G=(0,r.Z)({},d,{anchorOrigin:m,anchorReference:y,elevation:k,marginThreshold:R,externalPaperSlotProps:Y,transformOrigin:A,TransitionComponent:B,transitionDuration:z,TransitionProps:K}),$=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"]},ft,t)}(G),J=i.useCallback((function(){if("anchorPosition"===y)return b;var e=xt(f),t=(e&&1===e.nodeType?e:(0,Ue.Z)(U.current).body).getBoundingClientRect();return{top:t.top+bt(t,m.vertical),left:t.left+gt(t,m.horizontal)}}),[f,m.horizontal,m.vertical,b,y]),Q=i.useCallback((function(e){return{vertical:bt(e,A.vertical),horizontal:gt(e,A.horizontal)}}),[A.horizontal,A.vertical]),ee=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=Q(t);if("none"===y)return{top:null,left:null,transformOrigin:yt(n)};var r=J(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,s=i+t.width,l=(0,ut.Z)(xt(f)),u=l.innerHeight-R,c=l.innerWidth-R;if(null!==R&&ou){var p=a-u;o-=p,n.vertical+=p}if(null!==R&&ic){var v=s-c;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:yt(n)}}),[f,y,J,Q,R]),te=i.useState(E),ne=(0,h.Z)(te,2),re=ne[0],oe=ne[1],ie=i.useCallback((function(){var e=U.current;if(e){var t=ee(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,oe(!0)}}),[ee]);i.useEffect((function(){return q&&window.addEventListener("scroll",ie),function(){return window.removeEventListener("scroll",ie)}}),[f,q,ie]);i.useEffect((function(){E&&ie()})),i.useImperativeHandle(p,(function(){return E?{updatePosition:function(){ie()}}:null}),[E,ie]),i.useEffect((function(){if(E){var e=(0,lt.Z)((function(){ie()})),t=(0,ut.Z)(f);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[f,E,ie]);var ae=z;"auto"!==z||B.muiSupportAuto||(ae=void 0);var se=S||(f?(0,Ue.Z)(xt(f)).body:void 0),le=null!=(l=null==j?void 0:j.root)?l:Zt,ue=null!=(u=null==j?void 0:j.paper)?u:wt,ce=(0,Xe.y)({elementType:ue,externalSlotProps:(0,r.Z)({},Y,{style:re?Y.style:(0,r.Z)({},Y.style,{opacity:0})}),additionalProps:{elevation:k,ref:X},ownerState:G,className:(0,a.Z)($.paper,null==Y?void 0:Y.className)}),de=(0,Xe.y)({elementType:le,externalSlotProps:(null==N?void 0:N.root)||{},externalForwardedProps:_,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:se,open:E},ownerState:G,className:(0,a.Z)($.root,w)}),pe=de.slotProps,fe=(0,o.Z)(de,mt);return(0,Z.jsx)(le,(0,r.Z)({},fe,!(0,M.X)(le)&&{slotProps:pe,disableScrollLock:q},{children:(0,Z.jsx)(B,(0,r.Z)({appear:!0,in:E,onEntering:function(e,t){V&&V(e,t),ie()},onExited:function(){oe(!1)},timeout:ae},K,{children:(0,Z.jsx)(ue,(0,r.Z)({},ce,{children:x}))}))}))})),Ct=n(13967);function kt(e){return(0,q.Z)("MuiMenu",e)}(0,H.Z)("MuiMenu",["root","paper","list"]);var Pt=["onEntering"],Mt=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Rt={vertical:"top",horizontal:"right"},Et={vertical:"top",horizontal:"left"},Tt=(0,u.ZP)(St,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Dt=(0,u.ZP)(wt,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ot=(0,u.ZP)(st,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),jt=i.forwardRef((function(e,t){var n,l,u=(0,c.Z)({props:e,name:"MuiMenu"}),d=u.autoFocus,p=void 0===d||d,f=u.children,h=u.className,v=u.disableAutoFocusItem,m=void 0!==v&&v,b=u.MenuListProps,g=void 0===b?{}:b,y=u.onClose,x=u.open,w=u.PaperProps,S=void 0===w?{}:w,C=u.PopoverClasses,k=u.transitionDuration,P=void 0===k?"auto":k,M=u.TransitionProps,R=(void 0===M?{}:M).onEntering,E=u.variant,T=void 0===E?"selectedMenu":E,D=u.slots,O=void 0===D?{}:D,j=u.slotProps,N=void 0===j?{}:j,I=(0,o.Z)(u.TransitionProps,Pt),A=(0,o.Z)(u,Mt),F=(0,Ct.Z)(),B="rtl"===F.direction,L=(0,r.Z)({},u,{autoFocus:p,disableAutoFocusItem:m,MenuListProps:g,onEntering:R,PaperProps:S,transitionDuration:P,TransitionProps:I,variant:T}),z=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},kt,t)}(L),W=p&&!m&&x,V=i.useRef(null),H=-1;i.Children.map(f,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===T&&e.props.selected||-1===H)&&(H=t))}));var q=null!=(n=O.paper)?n:Dt,K=null!=(l=N.paper)?l:S,_=(0,Xe.y)({elementType:O.root,externalSlotProps:N.root,ownerState:L,className:[z.root,h]}),Y=(0,Xe.y)({elementType:q,externalSlotProps:K,ownerState:L,className:z.paper});return(0,Z.jsx)(Tt,(0,r.Z)({onClose:y,anchorOrigin:{vertical:"bottom",horizontal:B?"right":"left"},transformOrigin:B?Rt:Et,slots:{paper:q,root:O.root},slotProps:{root:_,paper:Y},open:x,ref:t,transitionDuration:P,TransitionProps:(0,r.Z)({onEntering:function(e,t){V.current&&V.current.adjustStyleForScrollbar(e,F),R&&R(e,t)}},I),ownerState:L},A,{classes:C,children:(0,Z.jsx)(Ot,(0,r.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),y&&y(e,"tabKeyDown"))},actions:V,autoFocus:p&&(-1===H||m),autoFocusItem:W,variant:T},g,{className:(0,a.Z)(z.list,g.className),children:f}))}))}));function Nt(e){return(0,q.Z)("MuiNativeSelect",e)}var It=(0,H.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),At=["className","disabled","error","IconComponent","inputRef","variant"],Ft=function(e){var t,n=e.ownerState,o=e.theme;return(0,r.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,r.Z)({},o.vars?{backgroundColor:"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===o.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,d.Z)(t,"&.".concat(It.disabled),{cursor:"default"}),(0,d.Z)(t,"&[multiple]",{height:"auto"}),(0,d.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(o.vars||o).palette.background.paper}),(0,d.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(o.vars||o).shape.borderRadius,"&:focus":{borderRadius:(o.vars||o).shape.borderRadius},"&&&":{paddingRight:32}})},Bt=(0,u.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:u.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,d.Z)({},"&.".concat(It.multiple),t.multiple)]}})(Ft),Lt=function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)((0,d.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(It.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},zt=(0,u.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,D.Z)(n.variant))],n.open&&t.iconOpen]}})(Lt),Wt=i.forwardRef((function(e,t){var n=e.className,l=e.disabled,u=e.error,c=e.IconComponent,d=e.inputRef,p=e.variant,f=void 0===p?"standard":p,h=(0,o.Z)(e,At),v=(0,r.Z)({},e,{disabled:l,variant:f,error:u}),m=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,D.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,s.Z)(a,Nt,t)}(v);return(0,Z.jsxs)(i.Fragment,{children:[(0,Z.jsx)(Bt,(0,r.Z)({ownerState:v,className:(0,a.Z)(m.select,n),disabled:l,ref:d||t},h)),e.multiple?null:(0,Z.jsx)(zt,{as:c,ownerState:v,className:m.icon})]})})),Vt=n(98278);function Ht(e){return(0,q.Z)("MuiSelect",e)}var qt,Kt=(0,H.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),_t=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Yt=(0,u.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"&.".concat(Kt.select),t.select),(0,d.Z)({},"&.".concat(Kt.select),t[n.variant]),(0,d.Z)({},"&.".concat(Kt.error),t.error),(0,d.Z)({},"&.".concat(Kt.multiple),t.multiple)]}})(Ft,(0,d.Z)({},"&.".concat(Kt.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),Ut=(0,u.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,D.Z)(n.variant))],n.open&&t.iconOpen]}})(Lt),Xt=(0,u.ZP)("input",{shouldForwardProp:function(e){return(0,u.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Gt(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function $t(e){return null==e||"string"===typeof e&&!e.trim()}var Jt=i.forwardRef((function(e,t){var n,u=e["aria-describedby"],c=e["aria-label"],d=e.autoFocus,p=e.autoWidth,f=e.children,m=e.className,b=e.defaultOpen,g=e.defaultValue,y=e.disabled,x=e.displayEmpty,w=e.error,S=void 0!==w&&w,C=e.IconComponent,k=e.inputRef,P=e.labelId,M=e.MenuProps,R=void 0===M?{}:M,E=e.multiple,T=e.name,j=e.onBlur,N=e.onChange,I=e.onClose,A=e.onFocus,F=e.onOpen,B=e.open,L=e.readOnly,z=e.renderValue,W=e.SelectDisplayProps,H=void 0===W?{}:W,q=e.tabIndex,K=e.value,_=e.variant,Y=void 0===_?"standard":_,U=(0,o.Z)(e,_t),X=(0,Vt.Z)({controlled:K,default:g,name:"Select"}),G=(0,h.Z)(X,2),$=G[0],J=G[1],Q=(0,Vt.Z)({controlled:B,default:b,name:"Select"}),ee=(0,h.Z)(Q,2),te=ee[0],ne=ee[1],re=i.useRef(null),oe=i.useRef(null),ie=i.useState(null),ae=(0,h.Z)(ie,2),se=ae[0],le=ae[1],ue=i.useRef(null!=B).current,ce=i.useState(),de=(0,h.Z)(ce,2),pe=de[0],fe=de[1],he=(0,O.Z)(t,k),ve=i.useCallback((function(e){oe.current=e,e&&le(e)}),[]),me=null==se?void 0:se.parentNode;i.useImperativeHandle(he,(function(){return{focus:function(){oe.current.focus()},node:re.current,value:$}}),[$]),i.useEffect((function(){b&&te&&se&&!ue&&(fe(p?null:me.clientWidth),oe.current.focus())}),[se,p]),i.useEffect((function(){d&&oe.current.focus()}),[d]),i.useEffect((function(){if(P){var e=(0,Ue.Z)(oe.current).getElementById(P);if(e){var t=function(){getSelection().isCollapsed&&oe.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[P]);var be,ge,ye=function(e,t){e?F&&F(t):I&&I(t),ue||(fe(p?null:me.clientWidth),ne(e))},xe=i.Children.toArray(f),Ze=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(E){n=Array.isArray($)?$.slice():[];var r=$.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),$!==n&&(J(n),N)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:T}}),N(i,e)}E||ye(!1,t)}}},we=null!==se&&te;delete U["aria-invalid"];var Se=[],Ce=!1;(V({value:$})||x)&&(z?be=z($):Ce=!0);var ke=xe.map((function(e){if(!i.isValidElement(e))return null;var t;if(E){if(!Array.isArray($))throw new Error((0,v.Z)(2));(t=$.some((function(t){return Gt(t,e.props.value)})))&&Ce&&Se.push(e.props.children)}else(t=Gt($,e.props.value))&&Ce&&(ge=e.props.children);return t&&!0,i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Ze(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));Ce&&(be=E?0===Se.length?null:Se.reduce((function(e,t,n){return e.push(t),n96?f:h},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},b=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,p.L)((function(){return(0,c.My)(t,n,r)})),null},g=function e(t,n){var r,o,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var p=m(t,n,i),f=p||v(l),h=!f("as");return function(){var g=arguments,y=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&y.push("label:"+r+";"),null==g[0]||void 0===g[0].raw)y.push.apply(y,g);else{0,y.push(g[0][0]);for(var x=g.length,Z=1;Z0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,s=void 0===n?T:n,l=e.rootShouldForwardProp,u=void 0===l?E:l,c=e.slotShouldForwardProp,d=void 0===c?E:c,p=function(e){return(0,k.Z)((0,a.Z)({},e,{theme:D((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))};return p.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var l,c,f=n.name,h=n.slot,v=n.skipVariantsResolver,m=n.skipSx,b=n.overridesResolver,x=void 0===b?(l=(c=h)?c.charAt(0).toLowerCase()+c.slice(1):c)?function(e,t){return t[l]}:null:b,Z=(0,i.Z)(n,P),w=void 0!==v?v:h&&"Root"!==h&&"root"!==h||!1,S=m||!1;var C=E;"Root"===h||"root"===h?C=u:h?C=d:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(C=void 0);var k=function(e,t){return g(e,t)}(e,(0,a.Z)({shouldForwardProp:C,label:undefined},Z)),T=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),u=1;u0){var m=new Array(v).fill("");(h=[].concat((0,o.Z)(n),(0,o.Z)(m))).raw=[].concat((0,o.Z)(n.raw),(0,o.Z)(m))}var b=k.apply(void 0,[h].concat((0,o.Z)(d)));return e.muiName&&(b.muiName=e.muiName),b};return k.withConfig&&(T.withConfig=k.withConfig),T}}({themeId:N.Z,defaultTheme:j.Z,rootShouldForwardProp:I}),B=F},13967:function(e,t,n){n.d(t,{Z:function(){return a}});n(72791);var r=n(30418),o=n(36482),i=n(988);function a(){var e=(0,r.Z)(o.Z);return e[i.Z]||e}},93736:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(33073),o=n(30418);var i=n(36482),a=n(988);function s(e){return function(e){var t=e.props,n=e.name,i=e.defaultTheme,a=e.themeId,s=(0,o.Z)(i);return a&&(s=s[a]||s),(0,r.Z)({theme:s,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:i.Z,themeId:a.Z})}},4999:function(e,t,n){n.d(t,{C:function(){return o},n:function(){return r}});var r=function(e){return e.scrollTop};function o(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:s.transitionDelay}}},95193:function(e,t,n){var r;n.d(t,{Z:function(){return p}});var o=n(29439),i=n(72791),a=n(69120),s=n(33073),l=n(40162);function u(e,t,n,r,a){var s=i.useState((function(){return a&&n?n(e).matches:r?r(e).matches:t})),u=(0,o.Z)(s,2),c=u[0],d=u[1];return(0,l.Z)((function(){var t=!0;if(n){var r=n(e),o=function(){t&&d(r.matches)};return o(),r.addListener(o),function(){t=!1,r.removeListener(o)}}}),[e,n]),c}var c=(r||(r=n.t(i,2))).useSyncExternalStore;function d(e,t,n,r,a){var s=i.useCallback((function(){return t}),[t]),l=i.useMemo((function(){if(a&&n)return function(){return n(e).matches};if(null!==r){var t=r(e).matches;return function(){return t}}return s}),[s,e,r,a,n]),u=i.useMemo((function(){if(null===n)return[s,function(){return function(){}}];var t=n(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[s,n,e]),d=(0,o.Z)(u,2),p=d[0],f=d[1];return c(f,p,l)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,o=(0,s.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),i=o.defaultMatches,l=void 0!==i&&i,p=o.matchMedia,f=void 0===p?r?window.matchMedia:null:p,h=o.ssrMatchMedia,v=void 0===h?null:h,m=o.noSsr,b=void 0!==m&&m;var g="function"===typeof e?e(n):e;return g=g.replace(/^@media( ?)/m,""),(void 0!==c?d:u)(g,l,f,v,b)}},14036:function(e,t,n){var r=n(31122);t.Z=r.Z},76189:function(e,t,n){n.d(t,{Z:function(){return y}});var r=n(87462),o=n(72791),i=n(63366),a=n(63733),s=n(94419),l=n(14036),u=n(93736),c=n(40724),d=n(75878),p=n(21217);function f(e){return(0,p.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(80184),v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,l.Z)(n.color))],t["fontSize".concat((0,l.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,s,l,u,c,d,p,f,h=e.theme,v=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:v.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=h.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=h.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(o=h.typography)||null==(i=o.pxToRem)?void 0:i.call(o,20))||"1.25rem",medium:(null==(a=h.typography)||null==(s=a.pxToRem)?void 0:s.call(a,24))||"1.5rem",large:(null==(l=h.typography)||null==(u=l.pxToRem)?void 0:u.call(l,35))||"2.1875rem"}[v.fontSize],color:null!=(c=null==(d=(h.vars||h).palette)||null==(d=d[v.color])?void 0:d.main)?c:{action:null==(p=(h.vars||h).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(f=(h.vars||h).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[v.color]}})),b=o.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),c=n.children,d=n.className,p=n.color,b=void 0===p?"inherit":p,g=n.component,y=void 0===g?"svg":g,x=n.fontSize,Z=void 0===x?"medium":x,w=n.htmlColor,S=n.inheritViewBox,C=void 0!==S&&S,k=n.titleAccess,P=n.viewBox,M=void 0===P?"0 0 24 24":P,R=(0,i.Z)(n,v),E=o.isValidElement(c)&&"svg"===c.type,T=(0,r.Z)({},n,{color:b,component:y,fontSize:Z,instanceFontSize:e.fontSize,inheritViewBox:C,viewBox:M,hasSvgAsChild:E}),D={};C||(D.viewBox=M);var O=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,l.Z)(t)),"fontSize".concat((0,l.Z)(n))]};return(0,s.Z)(o,f,r)}(T);return(0,h.jsxs)(m,(0,r.Z)({as:y,className:(0,a.Z)(O.root,d),focusable:"false",color:w,"aria-hidden":!k||void 0,role:k?"img":void 0,ref:t},D,R,E&&c.props,{ownerState:T,children:[E?c.props.children:c,k?(0,h.jsx)("title",{children:k}):null]}))}));b.muiName="SvgIcon";var g=b;function y(e,t){function n(n,o){return(0,h.jsx)(g,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=g.muiName,o.memo(o.forwardRef(n))}},83199:function(e,t,n){var r=n(82254);t.Z=r.Z},54421:function(e,t,n){n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return a.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return u.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return p},setRef:function(){return f},unstable_ClassNameGenerator:function(){return Z},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return v.Z},unsupportedProp:function(){return m},useControlled:function(){return b.Z},useEventCallback:function(){return g.Z},useForkRef:function(){return y.Z},useIsFocusVisible:function(){return x.Z}});var r=n(55902),o=n(14036),i=n(78949).Z,a=n(76189),s=n(83199);var l=function(e,t){return function(){return null}},u=n(19103),c=n(98301),d=n(17602);n(87462);var p=function(e,t){return function(){return null}},f=n(62971).Z,h=n(40162),v=n(67384);var m=function(e,t,n,r,o){return null},b=n(98278),g=n(89683),y=n(42071),x=n(79771),Z={configure:function(e){r.Z.configure(e)}}},19103:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(72791);var o=function(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},98301:function(e,t,n){var r=n(84913);t.Z=r.Z},17602:function(e,t,n){var r=n(65202);t.Z=r.Z},98278:function(e,t,n){var r=n(88637);t.Z=r.Z},40162:function(e,t,n){var r=n(62876);t.Z=r.Z},89683:function(e,t,n){var r=n(97054);t.Z=r.Z},42071:function(e,t,n){var r=n(6117);t.Z=r.Z},67384:function(e,t,n){var r=n(18252);t.Z=r.Z},79771:function(e,t,n){n.d(t,{Z:function(){return p}});var r,o=n(72791),i=!0,a=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function c(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var p=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",c,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},11135:function(e,t,n){function r(e){return e}n.d(t,{Z:function(){return r}})},92393:function(e,t,n){n.d(t,{Z:function(){return xn}});var r=n(87462),o=n(63366),i=n(72791),a=n(62110),s=n.n(a),l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u="object"===("undefined"===typeof window?"undefined":l(window))&&"object"===("undefined"===typeof document?"undefined":l(document))&&9===document.nodeType,c=n(43144),d=n(94578),p=n(97326),f={}.constructor;function h(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(h);if(e.constructor!==f)return e;var t={};for(var n in e)t[n]=h(e[n]);return t}function v(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=h(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var m=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,w="undefined"!==typeof CSS&&CSS.escape,S=function(e){return w?w(e):e.replace(Z,"\\$1")},C=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),k=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,p.Z)((0,p.Z)(o)),s),o.selectorText="."+S(o.id)),o}(0,d.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=b(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return x(this.selectorText,this.style,n)},(0,c.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(C),P={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},M={indent:1,children:!0},R=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(R);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=M);var t=g(e).linebreak;if(null==e.indent&&(e.indent=M.indent),null==e.children&&(e.children=M.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),T=/@container|@media|@supports\s+/,D={onCreateRule:function(e,t,n){return T.test(e)?new E(e,t,n):null}},O={indent:1,children:!0},j=/@keyframes\s+([\w-]+)/,N=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(j);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:S(s(this,a)),this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,r.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=O);var t=g(e).linebreak;if(null==e.indent&&(e.indent=O.indent),null==e.children&&(e.children=O.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),I=/@keyframes\s+/,A=/\$([\w-]+)/g,F=function(e,t){return"string"===typeof e?e.replace(A,(function(e,n){return n in t?t[n]:e})):e},B=function(e,t,n){var r=e[t],o=F(r,n);o!==r&&(e[t]=o)},L={onCreateRule:function(e,t,n){return"string"===typeof e&&I.test(e)?new N(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&B(e,"animation-name",n.keyframes),"animation"in e&&B(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return F(e,r.keyframes);default:return e}}},z=function(e){function t(){return e.apply(this,arguments)||this}return(0,d.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return x(this.key,this.style,n)},t}(C),W={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new z(e,t,n):null}},V=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=g(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,o.Z)(t,["attached"]),i=g(r).linebreak,a="",s=0;s-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(a){return!1}return!0},de=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},pe=function(e,t){return e.selectorText=t,e.selectorText===t},fe=le((function(){return document.querySelector("head")}));function he(e){var t=re.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=fe(),n=0;nn?n:t},ge=function(){function e(e){this.getPropertyValue=ue,this.setProperty=ce,this.removeProperty=de,this.setSelector=pe,this.hasInsertedRules=!1,this.cssRules=[],e&&re.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=ve();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=he(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else fe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}var ke={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Pe=ke,Me=n(29598);function Re(){var e,t=(0,Me.Z)();return null!=(e=null==t?void 0:t.$$material)?e:t}var Ee=n(20919),Te=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var De=Date.now(),Oe="fnValues"+De,je="fnStyle"+ ++De,Ne=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=v(e,{},n);return r[je]=t,r},onProcessStyle:function(e,t){if(Oe in t||je in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[Oe]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[je];i&&(o.style=i(e)||{});var a=o[Oe];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Ie="@global",Ae="@global ",Fe=function(){function e(e,t,n){for(var o in this.type="global",this.at=Ie,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Be=function(){function e(e,t,n){this.type="global",this.at=Ie,this.isProcessed=!1,this.key=e,this.options=n;var o=e.substr(8);this.rule=n.jss.createRule(o,t,(0,r.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Le=/\s*,\s*/g;function ze(e,t){for(var n=e.split(Le),r="",o=0;o-1){var o=Ft[e];if(!Array.isArray(o))return vt.js+Zt(o)in t&&vt.css+o;if(!r)return!1;for(var i=0;it?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Te.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Ee.Z]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}(),an={disableGeneration:!1,generateClassName:on,jss:rn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},sn=i.createContext(an);var ln=-1e9;var un=n(82466),cn=n(31122),dn=["variant"];function pn(e){return 0===e.length}function fn(e){var t="function"===typeof e;return{create:function(n,i){var a;try{a=t?e(n):e}catch(c){throw c}if(!i||!n.components||!n.components[i]||!n.components[i].styleOverrides&&!n.components[i].variants)return a;var s=n.components[i].styleOverrides||{},l=n.components[i].variants||[],u=(0,r.Z)({},a);return Object.keys(s).forEach((function(e){u[e]=(0,un.Z)(u[e]||{},s[e])})),l.forEach((function(e){var t=function(e){var t=e.variant,n=(0,o.Z)(e,dn),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?pn(r)?e[t]:(0,cn.Z)(e[t]):"".concat(pn(r)?t:(0,cn.Z)(t)).concat((0,cn.Z)(e[t].toString()))})),r}(e.props);u[t]=(0,un.Z)(u[t]||{},e.style)})),u},options:{}}}var hn={},vn=["name","classNamePrefix","Component","defaultTheme"];function mn(e,t){var n=e.state,o=e.theme,i=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!i.disableGeneration){var l=Pe.get(i.sheetsManager,a,o);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Pe.set(i.sheetsManager,a,o,l));var u=(0,r.Z)({},a.options,i,{theme:o,flip:"boolean"===typeof i.flip?i.flip:"rtl"===o.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var c=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=Pe.get(i.sheetsCache,a,o));var p=a.create(o,s);d||((d=i.jss.createStyleSheet(p,(0,r.Z)({link:!1},u))).attach(),i.sheetsCache&&Pe.set(i.sheetsCache,a,o,d)),c&&c.add(d),l.staticSheet=d,l.dynamicStyles=Se(p)}if(l.dynamicStyles){var f=i.jss.createStyleSheet(l.dynamicStyles,(0,r.Z)({link:!0},u));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=Ce({baseClasses:l.staticSheet.classes,newClasses:f.classes}),c&&c.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,l=t.defaultTheme,u=void 0===l?hn:l,c=(0,o.Z)(t,vn),d=fn(e),p=n||a||"makeStyles";d.options={index:ln+=1,name:n,meta:p,classNamePrefix:p};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Re()||u,o=(0,r.Z)({},i.useContext(sn),c),a=i.useRef(),l=i.useRef();!function(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var r={name:n,state:{},stylesCreator:d,stylesOptions:o,theme:t};return mn(r,e),l.current=!1,a.current=r,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Pe.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Pe.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(r)}}),[t,d]),i.useEffect((function(){l.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(a.current,e),l.current=!0}));var p=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Ce({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(a.current,e.classes,s);return p}}var gn=["defaultTheme","withTheme","name"],yn=["classes"],xn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,l=t.withTheme,u=void 0!==l&&l,c=t.name,d=(0,o.Z)(t,gn);var p=c,f=bn(e,(0,r.Z)({defaultTheme:a,Component:n,name:c||n.displayName,classNamePrefix:p},d)),h=i.forwardRef((function(e,t){var i,s=(0,o.Z)(e,yn),l=f((0,r.Z)({},n.defaultProps,e)),d=s;return("string"===typeof c||u)&&(i=Re()||a,c&&(d=function(e){var t=e.theme,n=e.name,o=e.props;if(!t||!t.components||!t.components[n]||!t.components[n].defaultProps)return o;var i,a=(0,r.Z)({},o),s=t.components[n].defaultProps;for(i in s)void 0===a[i]&&(a[i]=s[i]);return a}({theme:i,name:c,props:s})),u&&!d.theme&&(d.theme=i)),(0,nn.jsx)(n,(0,r.Z)({ref:t,classes:l},d))}));return s()(h,n),h}}},78519:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(93433),o=n(87462),i=n(63366),a=n(82466),s=n(87416),l=["sx"],u=function(e){var t,n,r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:s.Z;return Object.keys(e).forEach((function(t){o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){var t,n=e.sx,s=(0,i.Z)(e,l),c=u(s),d=c.systemProps,p=c.otherProps;return t=Array.isArray(n)?[d].concat((0,r.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,a.P)(e)?(0,o.Z)({},d,e):d}:(0,o.Z)({},d,n),(0,o.Z)({},p,{sx:t})}},30418:function(e,t,n){var r=n(85080),o=n(69120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},33073:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(35735);function o(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},55902:function(e,t){var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},94419:function(e,t,n){function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},78949:function(e,t,n){function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},75878:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(21217);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},57137:function(e,t,n){function r(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{Z:function(){return r}})},84913:function(e,t,n){function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},65202:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(84913);function o(e){return(0,r.Z)(e).defaultView||window}},35735:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(87462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},s),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},62971:function(e,t,n){function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},88637:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(29439),o=n(72791);function i(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),s=(0,r.Z)(a,2),l=s[0],u=s[1];return[i?t:l,o.useCallback((function(e){i||u(e)}),[])]}},62876:function(e,t,n){var r=n(72791),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},97054:function(e,t,n){var r=n(72791),o=n(62876);t.Z=function(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(72791),o=n(62971);function i(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])})),r}(a,u,t));var d=[];return u.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth].concat((0,j.Z)(c),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==s&&t["wrap-xs-".concat(String(s))]],d)}})((function(e){var t=e.ownerState;return(0,r.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,I.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,I.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(W.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a,s=(0,I.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=q({breakpoints:t.breakpoints.values,values:s})),i=(0,I.k9)({theme:t},s,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,y.Z)({marginTop:"-".concat(H(o))},"& > .".concat(W.item),{paddingTop:H(o)}):null!=(r=a)&&r.includes(n)?{}:(0,y.Z)({marginTop:0},"& > .".concat(W.item),{paddingTop:0})}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a,s=(0,I.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=q({breakpoints:t.breakpoints.values,values:s})),i=(0,I.k9)({theme:t},s,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,y.Z)({width:"calc(100% + ".concat(H(o),")"),marginLeft:"-".concat(H(o))},"& > .".concat(W.item),{paddingLeft:H(o)}):null!=(r=a)&&r.includes(n)?{}:(0,y.Z)({width:"100%",marginLeft:0},"& > .".concat(W.item),{paddingLeft:0})}))}return i}),(function(e){var t,n=e.theme,o=e.ownerState;return n.breakpoints.keys.reduce((function(e,i){var a={};if(o[i]&&(t=o[i]),!t)return e;if(!0===t)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=(0,I.P$)({values:o.columns,breakpoints:n.breakpoints.values}),l="object"===typeof s?s[i]:s;if(void 0===l||null===l)return e;var u="".concat(Math.round(t/l*1e8)/1e6,"%"),c={};if(o.container&&o.item&&0!==o.columnSpacing){var d=n.spacing(o.columnSpacing);if("0px"!==d){var p="calc(".concat(u," + ").concat(H(d),")");c={flexBasis:p,maxWidth:p}}}a=(0,r.Z)({flexBasis:u,flexGrow:0,maxWidth:u},c)}return 0===n.breakpoints.values[i]?Object.assign(e,a):e[n.breakpoints.up(i)]=a,e}),{})}));var _=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.spacing,a=e.wrap,s=e.zeroMinWidth,l=e.breakpoints,u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var o="spacing-".concat(t,"-").concat(String(r));n.push(o)}})),n}(i,l));var c=[];l.forEach((function(t){var n=e[t];n&&c.push("grid-".concat(t,"-").concat(String(n)))}));var d={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth"].concat((0,j.Z)(u),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],c)};return(0,Z.Z)(d,L,t)},Y=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiGrid"}),s=(0,F.Z)().breakpoints,l=(0,A.Z)(n),u=l.className,c=l.columns,d=l.columnSpacing,p=l.component,f=void 0===p?"div":p,h=l.container,v=void 0!==h&&h,m=l.direction,b=void 0===m?"row":m,g=l.item,y=void 0!==g&&g,x=l.rowSpacing,Z=l.spacing,w=void 0===Z?0:Z,S=l.wrap,C=void 0===S?"wrap":S,k=l.zeroMinWidth,P=void 0!==k&&k,M=(0,o.Z)(l,V),R=x||w,T=d||w,D=i.useContext(B),O=v?c||12:D,j={},I=(0,r.Z)({},M);s.keys.forEach((function(e){null!=M[e]&&(j[e]=M[e],delete I[e])}));var L=(0,r.Z)({},l,{columns:O,container:v,direction:b,item:y,rowSpacing:R,columnSpacing:T,wrap:C,zeroMinWidth:P,spacing:w},j,{breakpoints:s.keys}),z=_(L);return(0,E.jsx)(B.Provider,{value:O,children:(0,E.jsx)(K,(0,r.Z)({ownerState:L,className:(0,N.Z)(z.root,u),as:f,ref:t},I))})})),U=Y,X=n(12065),G=n(29439),$=n(42071),J=n(89683),Q=n(79771),ee=n(30168),te=n(97326),ne=n(94578),re=n(95545);function oe(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function ie(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ae(e,t,n){var r=oe(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,i=t.center,a=void 0===i?l||t.pulsate:i,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&y.current)y.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);var c,d,p,f=u?null:w.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),d=Math.round(h.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,m=v.clientX,b=v.clientY;c=Math.round(m-h.left),d=Math.round(b-h.top)}if(a)(p=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(p+=1);else{var g=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,C=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(g,2)+Math.pow(C,2))}null!=e&&e.touches?null===Z.current&&(Z.current=function(){S({pulsate:o,rippleX:c,rippleY:d,rippleSize:p,cb:n})},x.current=setTimeout((function(){Z.current&&(Z.current(),Z.current=null)}),80)):S({pulsate:o,rippleX:c,rippleY:d,rippleSize:p,cb:n})}}),[l,S]),k=i.useCallback((function(){C({},{pulsate:!0})}),[C]),P=i.useCallback((function(e,t){if(clearTimeout(x.current),"touchend"===(null==e?void 0:e.type)&&Z.current)return Z.current(),Z.current=null,void(x.current=setTimeout((function(){P(e,t)})));Z.current=null,m((function(e){return e.length>0?e.slice(1):e})),g.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:k,start:C,stop:P}}),[k,C,P]),(0,E.jsx)(ke,(0,r.Z)({className:(0,N.Z)(xe.root,c.root,d),ref:w},p,{children:(0,E.jsx)(ue,{component:null,exit:!0,children:v})}))})),Re=Me;function Ee(e){return(0,k.Z)("MuiButtonBase",e)}var Te,De=(0,P.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Oe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],je=(0,x.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Te={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,y.Z)(Te,"&.".concat(De.disabled),{pointerEvents:"none",cursor:"default"}),(0,y.Z)(Te,"@media print",{colorAdjust:"exact"}),Te)),Ne=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiButtonBase"}),s=n.action,l=n.centerRipple,u=void 0!==l&&l,c=n.children,d=n.className,p=n.component,f=void 0===p?"button":p,h=n.disabled,v=void 0!==h&&h,m=n.disableRipple,b=void 0!==m&&m,g=n.disableTouchRipple,y=void 0!==g&&g,x=n.focusRipple,w=void 0!==x&&x,S=n.LinkComponent,C=void 0===S?"a":S,k=n.onBlur,P=n.onClick,M=n.onContextMenu,R=n.onDragLeave,T=n.onFocus,D=n.onFocusVisible,O=n.onKeyDown,j=n.onKeyUp,I=n.onMouseDown,A=n.onMouseLeave,F=n.onMouseUp,B=n.onTouchEnd,L=n.onTouchMove,z=n.onTouchStart,W=n.tabIndex,V=void 0===W?0:W,H=n.TouchRippleProps,q=n.touchRippleRef,K=n.type,_=(0,o.Z)(n,Oe),Y=i.useRef(null),U=i.useRef(null),X=(0,$.Z)(U,q),ee=(0,Q.Z)(),te=ee.isFocusVisibleRef,ne=ee.onFocus,re=ee.onBlur,oe=ee.ref,ie=i.useState(!1),ae=(0,G.Z)(ie,2),se=ae[0],le=ae[1];v&&se&&le(!1),i.useImperativeHandle(s,(function(){return{focusVisible:function(){le(!0),Y.current.focus()}}}),[]);var ue=i.useState(!1),ce=(0,G.Z)(ue,2),de=ce[0],pe=ce[1];i.useEffect((function(){pe(!0)}),[]);var fe=de&&!b&&!v;function he(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return(0,J.Z)((function(r){return t&&t(r),!n&&U.current&&U.current[e](r),!0}))}i.useEffect((function(){se&&w&&!b&&de&&U.current.pulsate()}),[b,w,se,de]);var ve=he("start",I),me=he("stop",M),be=he("stop",R),ge=he("stop",F),ye=he("stop",(function(e){se&&e.preventDefault(),A&&A(e)})),xe=he("start",z),Ze=he("stop",B),we=he("stop",L),Se=he("stop",(function(e){re(e),!1===te.current&&le(!1),k&&k(e)}),!1),Ce=(0,J.Z)((function(e){Y.current||(Y.current=e.currentTarget),ne(e),!0===te.current&&(le(!0),D&&D(e)),T&&T(e)})),ke=function(){var e=Y.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},Pe=i.useRef(!1),Me=(0,J.Z)((function(e){w&&!Pe.current&&se&&U.current&&" "===e.key&&(Pe.current=!0,U.current.stop(e,(function(){U.current.start(e)}))),e.target===e.currentTarget&&ke()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&ke()&&"Enter"===e.key&&!v&&(e.preventDefault(),P&&P(e))})),Te=(0,J.Z)((function(e){w&&" "===e.key&&U.current&&se&&!e.defaultPrevented&&(Pe.current=!1,U.current.stop(e,(function(){U.current.pulsate(e)}))),j&&j(e),P&&e.target===e.currentTarget&&ke()&&" "===e.key&&!e.defaultPrevented&&P(e)})),De=f;"button"===De&&(_.href||_.to)&&(De=C);var Ne={};"button"===De?(Ne.type=void 0===K?"button":K,Ne.disabled=v):(_.href||_.to||(Ne.role="button"),v&&(Ne["aria-disabled"]=v));var Ie=(0,$.Z)(t,oe,Y);var Ae=(0,r.Z)({},n,{centerRipple:u,component:f,disabled:v,disableRipple:b,disableTouchRipple:y,focusRipple:w,tabIndex:V,focusVisible:se}),Fe=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Z.Z)(i,Ee,o);return n&&r&&(a.root+=" ".concat(r)),a}(Ae);return(0,E.jsxs)(je,(0,r.Z)({as:De,className:(0,N.Z)(Fe.root,d),ownerState:Ae,onBlur:Se,onClick:P,onContextMenu:me,onFocus:Ce,onKeyDown:Me,onKeyUp:Te,onMouseDown:ve,onMouseLeave:ye,onMouseUp:ge,onDragLeave:be,onTouchEnd:Ze,onTouchMove:we,onTouchStart:xe,ref:Ie,tabIndex:v?-1:V,type:K},Ne,_,{children:[c,fe?(0,E.jsx)(Re,(0,r.Z)({ref:X,center:u},H)):null]}))})),Ie=Ne,Ae=n(14036);function Fe(e){return(0,k.Z)("MuiIconButton",e)}var Be=(0,P.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Le=["edge","children","className","color","disabled","disableFocusRipple","size"],ze=(0,x.ZP)(Ie,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,Ae.Z)(n.color))],n.edge&&t["edge".concat((0,Ae.Z)(n.edge))],t["size".concat((0,Ae.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,X.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,o=e.ownerState,i=null==(t=(n.vars||n).palette)?void 0:t[o.color];return(0,r.Z)({},"inherit"===o.color&&{color:"inherit"},"inherit"!==o.color&&"default"!==o.color&&(0,r.Z)({color:null==i?void 0:i.main},!o.disableRipple&&{"&:hover":(0,r.Z)({},i&&{backgroundColor:n.vars?"rgba(".concat(i.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,X.Fq)(i.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===o.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===o.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,y.Z)({},"&.".concat(Be.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),We=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiIconButton"}),i=n.edge,s=void 0!==i&&i,l=n.children,u=n.className,c=n.color,d=void 0===c?"default":c,p=n.disabled,f=void 0!==p&&p,h=n.disableFocusRipple,v=void 0!==h&&h,m=n.size,b=void 0===m?"medium":m,g=(0,o.Z)(n,Le),y=(0,r.Z)({},n,{edge:s,color:d,disabled:f,disableFocusRipple:v,size:b}),x=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,Ae.Z)(r)),o&&"edge".concat((0,Ae.Z)(o)),"size".concat((0,Ae.Z)(i))]};return(0,Z.Z)(a,Fe,t)}(y);return(0,E.jsx)(ze,(0,r.Z)({className:(0,N.Z)(x.root,u),centerRipple:!0,focusRipple:!v,disabled:f,ref:t,ownerState:y},g,{children:l}))})),Ve=n(76189),He=(0,Ve.Z)((0,E.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),qe=(0,Ve.Z)((0,E.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),Ke=(0,Ve.Z)((0,E.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),_e=(0,Ve.Z)((0,E.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),Ye=(0,Ve.Z)((0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,E.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),Ue=(0,Ve.Z)((0,E.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),Xe=(0,Ve.Z)((0,E.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Pen"),Ge=(0,Ve.Z)((0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,E.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");function $e(e){return(0,k.Z)("MuiPickersToolbar",e)}var Je=(0,P.Z)("MuiPickersToolbar",["root","content","penIconButton","penIconButtonLandscape"]),Qe=(0,x.ZP)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},n.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})})),et=(0,x.ZP)(U,{name:"MuiPickersToolbar",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.ownerState;return(0,r.Z)({flex:1},!t.isLandscape&&{alignItems:"center"})})),tt=(0,x.ZP)(We,{name:"MuiPickersToolbar",slot:"PenIconButton",overridesResolver:function(e,t){return[(0,y.Z)({},"&.".concat(Je.penIconButtonLandscape),t.penIconButtonLandscape),t.penIconButton]}})({}),nt=function(e){return"clock"===e?(0,E.jsx)(Ye,{color:"inherit"}):(0,E.jsx)(_e,{color:"inherit"})},rt=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiPickersToolbar"}),r=n.children,o=n.className,i=n.getMobileKeyboardInputViewButtonText,s=n.isLandscape,l=n.isMobileKeyboardViewOpen,u=n.landscapeDirection,c=void 0===u?"column":u,d=n.toggleMobileKeyboardView,f=n.toolbarTitle,h=n.viewType,v=void 0===h?"calendar":h,m=n,b=p(),g=function(e){var t=e.classes,n={root:["root"],content:["content"],penIconButton:["penIconButton",e.isLandscape&&"penIconButtonLandscape"]};return(0,Z.Z)(n,$e,t)}(m);return(0,E.jsxs)(Qe,{ref:t,className:S(g.root,o),ownerState:m,children:[(0,E.jsx)(C.Z,{color:"text.secondary",variant:"overline",children:f}),(0,E.jsxs)(et,{container:!0,justifyContent:"space-between",className:g.content,ownerState:m,direction:s?c:"row",alignItems:s?"flex-start":"flex-end",children:[r,(0,E.jsx)(tt,{onClick:d,className:g.penIconButton,ownerState:m,color:"inherit","aria-label":i?i(l,v):b.inputModeToggleButtonAriaLabel(l,v),children:l?nt(v):(0,E.jsx)(Xe,{color:"inherit"})})]})]})})),ot=n(35735);function it(e){return(0,k.Z)("MuiButton",e)}var at=(0,P.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var st=i.createContext({});var lt=i.createContext(void 0),ut=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],ct=function(e){return(0,r.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},dt=(0,x.ZP)(Ie,{shouldForwardProp:function(e){return(0,x.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,Ae.Z)(n.color))],t["size".concat((0,Ae.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,Ae.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,o,i=e.theme,a=e.ownerState,s="light"===i.palette.mode?i.palette.grey[300]:i.palette.grey[800],l="light"===i.palette.mode?i.palette.grey.A100:i.palette.grey[700];return(0,r.Z)({},i.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create(["background-color","box-shadow","border-color","color"],{duration:i.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:i.vars?"rgba(".concat(i.vars.palette.text.primaryChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,X.Fq)(i.palette.text.primary,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===a.variant&&"inherit"!==a.color&&{backgroundColor:i.vars?"rgba(".concat(i.vars.palette[a.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,X.Fq)(i.palette[a.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===a.variant&&"inherit"!==a.color&&{border:"1px solid ".concat((i.vars||i).palette[a.color].main),backgroundColor:i.vars?"rgba(".concat(i.vars.palette[a.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,X.Fq)(i.palette[a.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===a.variant&&{backgroundColor:i.vars?i.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(i.vars||i).shadows[4],"@media (hover: none)":{boxShadow:(i.vars||i).shadows[2],backgroundColor:(i.vars||i).palette.grey[300]}},"contained"===a.variant&&"inherit"!==a.color&&{backgroundColor:(i.vars||i).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(i.vars||i).palette[a.color].main}}),"&:active":(0,r.Z)({},"contained"===a.variant&&{boxShadow:(i.vars||i).shadows[8]})},(0,y.Z)(t,"&.".concat(at.focusVisible),(0,r.Z)({},"contained"===a.variant&&{boxShadow:(i.vars||i).shadows[6]})),(0,y.Z)(t,"&.".concat(at.disabled),(0,r.Z)({color:(i.vars||i).palette.action.disabled},"outlined"===a.variant&&{border:"1px solid ".concat((i.vars||i).palette.action.disabledBackground)},"contained"===a.variant&&{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground})),t),"text"===a.variant&&{padding:"6px 8px"},"text"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].main},"outlined"===a.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].main,border:i.vars?"1px solid rgba(".concat(i.vars.palette[a.color].mainChannel," / 0.5)"):"1px solid ".concat((0,X.Fq)(i.palette[a.color].main,.5))},"contained"===a.variant&&{color:i.vars?i.vars.palette.text.primary:null==(n=(o=i.palette).getContrastText)?void 0:n.call(o,i.palette.grey[300]),backgroundColor:i.vars?i.vars.palette.Button.inheritContainedBg:s,boxShadow:(i.vars||i).shadows[2]},"contained"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].contrastText,backgroundColor:(i.vars||i).palette[a.color].main},"inherit"===a.color&&{color:"inherit",borderColor:"currentColor"},"small"===a.size&&"text"===a.variant&&{padding:"4px 5px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"text"===a.variant&&{padding:"8px 11px",fontSize:i.typography.pxToRem(15)},"small"===a.size&&"outlined"===a.variant&&{padding:"3px 9px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"outlined"===a.variant&&{padding:"7px 21px",fontSize:i.typography.pxToRem(15)},"small"===a.size&&"contained"===a.variant&&{padding:"4px 10px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"contained"===a.variant&&{padding:"8px 22px",fontSize:i.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,y.Z)(t,"&.".concat(at.focusVisible),{boxShadow:"none"}),(0,y.Z)(t,"&:active",{boxShadow:"none"}),(0,y.Z)(t,"&.".concat(at.disabled),{boxShadow:"none"}),t)})),pt=(0,x.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,Ae.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},ct(t))})),ft=(0,x.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,Ae.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},ct(t))})),ht=i.forwardRef((function(e,t){var n=i.useContext(st),s=i.useContext(lt),l=(0,ot.Z)(n,e),u=(0,a.Z)({props:l,name:"MuiButton"}),c=u.children,d=u.color,p=void 0===d?"primary":d,f=u.component,h=void 0===f?"button":f,v=u.className,m=u.disabled,b=void 0!==m&&m,g=u.disableElevation,y=void 0!==g&&g,x=u.disableFocusRipple,w=void 0!==x&&x,S=u.endIcon,C=u.focusVisibleClassName,k=u.fullWidth,P=void 0!==k&&k,M=u.size,R=void 0===M?"medium":M,T=u.startIcon,D=u.type,O=u.variant,j=void 0===O?"text":O,I=(0,o.Z)(u,ut),A=(0,r.Z)({},u,{color:p,component:h,disabled:b,disableElevation:y,disableFocusRipple:w,fullWidth:P,size:R,type:D,variant:j}),F=function(e){var t=e.color,n=e.disableElevation,o=e.fullWidth,i=e.size,a=e.variant,s=e.classes,l={root:["root",a,"".concat(a).concat((0,Ae.Z)(t)),"size".concat((0,Ae.Z)(i)),"".concat(a,"Size").concat((0,Ae.Z)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,Ae.Z)(i))],endIcon:["endIcon","iconSize".concat((0,Ae.Z)(i))]},u=(0,Z.Z)(l,it,s);return(0,r.Z)({},s,u)}(A),B=T&&(0,E.jsx)(pt,{className:F.startIcon,ownerState:A,children:T}),L=S&&(0,E.jsx)(ft,{className:F.endIcon,ownerState:A,children:S}),z=s||"";return(0,E.jsxs)(dt,(0,r.Z)({ownerState:A,className:(0,N.Z)(n.className,F.root,v,z),component:h,disabled:b,focusRipple:!w,focusVisibleClassName:(0,N.Z)(F.focusVisible,C),ref:t,type:D},I,{classes:F,children:[B,c,L]}))})),vt=["align","className","selected","typographyClassName","value","variant"],mt=(0,x.ZP)(ht,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:0,minWidth:16,textTransform:"none"}),bt=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiPickersToolbarButton"}),i=n.align,s=n.className,l=n.selected,u=n.typographyClassName,c=n.value,d=n.variant,p=(0,o.Z)(n,vt),f=function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},$e,t)}(n);return(0,E.jsx)(mt,(0,r.Z)({variant:"text",ref:t,className:S(s,f.root)},p,{children:(0,E.jsx)(O,{align:i,className:u,variant:d,value:c,selected:l})}))}));function gt(e){return(0,k.Z)("MuiDateTimePickerToolbar",e)}(0,P.Z)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","separator"]);var yt=["ampm","parsedValue","isMobileKeyboardViewOpen","onChange","openView","setOpenView","toggleMobileKeyboardView","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],xt=(0,x.ZP)(rt,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return(0,y.Z)({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative"},"& .".concat(Je.penIconButton),(0,r.Z)({position:"absolute",top:8},"rtl"===t.direction?{left:8}:{right:8}))})),Zt=(0,x.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:function(e,t){return t.dateContainer}})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),wt=(0,x.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:function(e,t){return t.timeContainer}})({display:"flex"}),St=(0,x.ZP)(O,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:function(e,t){return t.separator}})({margin:"0 4px 0 2px",cursor:"default"});function Ct(e){var t,n=(0,a.Z)({props:e,name:"MuiDateTimePickerToolbar"}),s=n.ampm,l=n.parsedValue,u=n.isMobileKeyboardViewOpen,d=n.openView,f=n.setOpenView,h=n.toggleMobileKeyboardView,v=n.toolbarFormat,m=n.toolbarPlaceholder,b=void 0===m?"\u2013\u2013":m,y=n.toolbarTitle,x=n.views,w=(0,o.Z)(n,yt),S=n,C=c(),k=p(),P=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer"],separator:["separator"]},gt,t)}(S),M=null!=y?y:k.dateTimePickerDefaultToolbarTitle,R=i.useMemo((function(){return l?v?C.formatByString(l,v):C.format(l,"shortDate"):b}),[l,v,b,C]);return(0,E.jsxs)(xt,(0,r.Z)({toolbarTitle:M,isMobileKeyboardViewOpen:u,toggleMobileKeyboardView:h,className:P.root,viewType:g(d)},w,{isLandscape:!1,ownerState:S,children:[(0,E.jsxs)(Zt,{className:P.dateContainer,ownerState:S,children:[x.includes("year")&&(0,E.jsx)(bt,{tabIndex:-1,variant:"subtitle1",onClick:function(){return f("year")},selected:"year"===d,value:l?C.format(l,"year"):"\u2013"}),x.includes("day")&&(0,E.jsx)(bt,{tabIndex:-1,variant:"h4",onClick:function(){return f("day")},selected:"day"===d,value:R})]}),(0,E.jsxs)(wt,{className:P.timeContainer,ownerState:S,children:[x.includes("hours")&&(0,E.jsx)(bt,{variant:"h3",onClick:function(){return f("hours")},selected:"hours"===d,value:l?(t=l,s?C.format(t,"hours12h"):C.format(t,"hours24h")):"--"}),x.includes("minutes")&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(St,{variant:"h3",value:":",className:P.separator,ownerState:S}),(0,E.jsx)(bt,{variant:"h3",onClick:function(){return f("minutes")},selected:"minutes"===d,value:l?C.format(l,"minutes"):"--"})]}),x.includes("seconds")&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(St,{variant:"h3",value:":",className:P.separator,ownerState:S}),(0,E.jsx)(bt,{variant:"h3",onClick:function(){return f("seconds")},selected:"seconds"===d,value:l?C.format(l,"seconds"):"--"})]})]})]}))}var kt=i.createContext(null),Pt=n(13208),Mt=n(35527),Rt=n(6117),Et=n(62876),Tt=n(84913);function Dt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ot(e){return e instanceof Dt(e).Element||e instanceof Element}function jt(e){return e instanceof Dt(e).HTMLElement||e instanceof HTMLElement}function Nt(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Dt(e).ShadowRoot||e instanceof ShadowRoot)}var It=Math.max,At=Math.min,Ft=Math.round;function Bt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Lt(){return!/^((?!chrome|android).)*safari/i.test(Bt())}function zt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&jt(e)&&(o=e.offsetWidth>0&&Ft(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ft(r.height)/e.offsetHeight||1);var a=(Ot(e)?Dt(e):window).visualViewport,s=!Lt()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function Wt(e){var t=Dt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Vt(e){return e?(e.nodeName||"").toLowerCase():null}function Ht(e){return((Ot(e)?e.ownerDocument:e.document)||window.document).documentElement}function qt(e){return zt(Ht(e)).left+Wt(e).scrollLeft}function Kt(e){return Dt(e).getComputedStyle(e)}function _t(e){var t=Kt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Yt(e,t,n){void 0===n&&(n=!1);var r=jt(t),o=jt(t)&&function(e){var t=e.getBoundingClientRect(),n=Ft(t.width)/e.offsetWidth||1,r=Ft(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Ht(t),a=zt(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==Vt(t)||_t(i))&&(s=function(e){return e!==Dt(e)&&jt(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Wt(e);var t}(t)),jt(t)?((l=zt(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=qt(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ut(e){var t=zt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Xt(e){return"html"===Vt(e)?e:e.assignedSlot||e.parentNode||(Nt(e)?e.host:null)||Ht(e)}function Gt(e){return["html","body","#document"].indexOf(Vt(e))>=0?e.ownerDocument.body:jt(e)&&_t(e)?e:Gt(Xt(e))}function $t(e,t){var n;void 0===t&&(t=[]);var r=Gt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Dt(r),a=o?[i].concat(i.visualViewport||[],_t(r)?r:[]):r,s=t.concat(a);return o?s:s.concat($t(Xt(a)))}function Jt(e){return["table","td","th"].indexOf(Vt(e))>=0}function Qt(e){return jt(e)&&"fixed"!==Kt(e).position?e.offsetParent:null}function en(e){for(var t=Dt(e),n=Qt(e);n&&Jt(n)&&"static"===Kt(n).position;)n=Qt(n);return n&&("html"===Vt(n)||"body"===Vt(n)&&"static"===Kt(n).position)?t:n||function(e){var t=/firefox/i.test(Bt());if(/Trident/i.test(Bt())&&jt(e)&&"fixed"===Kt(e).position)return null;var n=Xt(e);for(Nt(n)&&(n=n.host);jt(n)&&["html","body"].indexOf(Vt(n))<0;){var r=Kt(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var tn="top",nn="bottom",rn="right",on="left",an="auto",sn=[tn,nn,rn,on],ln="start",un="end",cn="clippingParents",dn="viewport",pn="popper",fn="reference",hn=sn.reduce((function(e,t){return e.concat([t+"-"+ln,t+"-"+un])}),[]),vn=[].concat(sn,[an]).reduce((function(e,t){return e.concat([t,t+"-"+ln,t+"-"+un])}),[]),mn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function bn(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function gn(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var yn={placement:"bottom",modifiers:[],strategy:"absolute"};function xn(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Pn(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Sn(o):null,a=o?Cn(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case tn:t={x:s,y:n.y-r.height};break;case nn:t={x:s,y:n.y+n.height};break;case rn:t={x:n.x+n.width,y:l};break;case on:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?kn(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case ln:t[u]=t[u]-(n[c]/2-r[c]/2);break;case un:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var Mn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Rn(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,v=void 0===h?0:h,m="function"===typeof c?c({x:f,y:v}):{x:f,y:v};f=m.x,v=m.y;var b=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),y=on,x=tn,Z=window;if(u){var w=en(n),S="clientHeight",C="clientWidth";if(w===Dt(n)&&"static"!==Kt(w=Ht(n)).position&&"absolute"===s&&(S="scrollHeight",C="scrollWidth"),o===tn||(o===on||o===rn)&&i===un)x=nn,v-=(d&&w===Z&&Z.visualViewport?Z.visualViewport.height:w[S])-r.height,v*=l?1:-1;if(o===on||(o===tn||o===nn)&&i===un)y=rn,f-=(d&&w===Z&&Z.visualViewport?Z.visualViewport.width:w[C])-r.width,f*=l?1:-1}var k,P=Object.assign({position:s},u&&Mn),M=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ft(n*o)/o||0,y:Ft(r*o)/o||0}}({x:f,y:v},Dt(n)):{x:f,y:v};return f=M.x,v=M.y,l?Object.assign({},P,((k={})[x]=g?"0":"",k[y]=b?"0":"",k.transform=(Z.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",k)):Object.assign({},P,((t={})[x]=g?v+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=vn.reduce((function(e,n){return e[n]=function(e,t,n){var r=Sn(e),o=[on,tn].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[on,rn].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},Tn={left:"right",right:"left",bottom:"top",top:"bottom"};function Dn(e){return e.replace(/left|right|bottom|top/g,(function(e){return Tn[e]}))}var On={start:"end",end:"start"};function jn(e){return e.replace(/start|end/g,(function(e){return On[e]}))}function Nn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Nt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function In(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function An(e,t,n){return t===dn?In(function(e,t){var n=Dt(e),r=Ht(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=Lt();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+qt(e),y:l}}(e,n)):Ot(t)?function(e,t){var n=zt(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):In(function(e){var t,n=Ht(e),r=Wt(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=It(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=It(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+qt(e),l=-r.scrollTop;return"rtl"===Kt(o||n).direction&&(s+=It(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Ht(e)))}function Fn(e,t,n,r){var o="clippingParents"===t?function(e){var t=$t(Xt(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0&&jt(e)?en(e):e;return Ot(n)?t.filter((function(e){return Ot(e)&&Nn(e,n)&&"body"!==Vt(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=An(e,n,r);return t.top=It(o.top,t.top),t.right=At(o.right,t.right),t.bottom=At(o.bottom,t.bottom),t.left=It(o.left,t.left),t}),An(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Bn(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ln(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function zn(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?cn:s,u=n.rootBoundary,c=void 0===u?dn:u,d=n.elementContext,p=void 0===d?pn:d,f=n.altBoundary,h=void 0!==f&&f,v=n.padding,m=void 0===v?0:v,b=Bn("number"!==typeof m?m:Ln(m,sn)),g=p===pn?fn:pn,y=e.rects.popper,x=e.elements[h?g:p],Z=Fn(Ot(x)?x:x.contextElement||Ht(e.elements.popper),l,c,a),w=zt(e.elements.reference),S=Pn({reference:w,element:y,strategy:"absolute",placement:o}),C=In(Object.assign({},y,S)),k=p===pn?C:w,P={top:Z.top-k.top+b.top,bottom:k.bottom-Z.bottom+b.bottom,left:Z.left-k.left+b.left,right:k.right-Z.right+b.right},M=e.modifiersData.offset;if(p===pn&&M){var R=M[o];Object.keys(P).forEach((function(e){var t=[rn,nn].indexOf(e)>=0?1:-1,n=[tn,nn].indexOf(e)>=0?"y":"x";P[e]+=R[n]*t}))}return P}function Wn(e,t,n){return It(e,At(t,n))}var Vn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=zn(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),b=Sn(t.placement),g=Cn(t.placement),y=!g,x=kn(b),Z="x"===x?"y":"x",w=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,k="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,P="number"===typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(w){if(i){var E,T="y"===x?tn:on,D="y"===x?nn:rn,O="y"===x?"height":"width",j=w[x],N=j+m[T],I=j-m[D],A=f?-C[O]/2:0,F=g===ln?S[O]:C[O],B=g===ln?-C[O]:-S[O],L=t.elements.arrow,z=f&&L?Ut(L):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=W[T],H=W[D],q=Wn(0,S[O],z[O]),K=y?S[O]/2-A-q-V-P.mainAxis:F-q-V-P.mainAxis,_=y?-S[O]/2+A+q+H+P.mainAxis:B+q+H+P.mainAxis,Y=t.elements.arrow&&en(t.elements.arrow),U=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(E=null==M?void 0:M[x])?E:0,G=j+_-X,$=Wn(f?At(N,j+K-X-U):N,j,f?It(I,G):I);w[x]=$,R[x]=$-j}if(s){var J,Q="x"===x?tn:on,ee="x"===x?nn:rn,te=w[Z],ne="y"===Z?"height":"width",re=te+m[Q],oe=te-m[ee],ie=-1!==[tn,on].indexOf(b),ae=null!=(J=null==M?void 0:M[Z])?J:0,se=ie?re:te-S[ne]-C[ne]-ae+P.altAxis,le=ie?te+S[ne]+C[ne]-ae-P.altAxis:oe,ue=f&&ie?function(e,t,n){var r=Wn(e,t,n);return r>n?n:r}(se,te,le):Wn(f?se:re,te,f?le:oe);w[Z]=ue,R[Z]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};var Hn={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Sn(n.placement),l=kn(s),u=[on,rn].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return Bn("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ln(e,sn))}(o.padding,n),d=Ut(i),p="y"===l?tn:on,f="y"===l?nn:rn,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],v=a[l]-n.rects.reference[l],m=en(i),b=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,y=c[p],x=b-d[u]-c[f],Z=b/2-d[u]/2+g,w=Wn(y,Z,x),S=l;n.modifiersData[r]=((t={})[S]=w,t.centerOffset=w-Z,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Nn(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qn(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Kn(e){return[tn,rn,nn,on].some((function(t){return e[t]>=0}))}var _n=Zn({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Dt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,wn)})),s&&l.addEventListener("resize",n.update,wn),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,wn)})),s&&l.removeEventListener("resize",n.update,wn)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Pn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:Sn(t.placement),variation:Cn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Rn(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Rn(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];jt(o)&&Vt(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});jt(r)&&Vt(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},En,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,v=n.allowedAutoPlacements,m=t.options.placement,b=Sn(m),g=l||(b===m||!h?[Dn(m)]:function(e){if(Sn(e)===an)return[];var t=Dn(e);return[jn(e),t,jn(t)]}(m)),y=[m].concat(g).reduce((function(e,n){return e.concat(Sn(n)===an?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?vn:l,c=Cn(r),d=c?s?hn:hn.filter((function(e){return Cn(e)===c})):sn,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=zn(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Sn(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,Z=t.rects.popper,w=new Map,S=!0,C=y[0],k=0;k=0,T=E?"width":"height",D=zn(t,{placement:P,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),O=E?R?rn:on:R?nn:tn;x[T]>Z[T]&&(O=Dn(O));var j=Dn(O),N=[];if(i&&N.push(D[M]<=0),s&&N.push(D[O]<=0,D[j]<=0),N.every((function(e){return e}))){C=P,S=!1;break}w.set(P,N)}if(S)for(var I=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},A=h?3:1;A>0;A--){if("break"===I(A))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Vn,Hn,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=zn(t,{elementContext:"reference"}),s=zn(t,{altBoundary:!0}),l=qn(a,r),u=qn(s,o,i),c=Kn(l),d=Kn(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),Yn=n(96174);function Un(e){return(0,k.Z)("MuiPopper",e)}(0,P.Z)("MuiPopper",["root"]);var Xn=n(69543),Gn={disableDefaultClasses:!1},$n=i.createContext(Gn);var Jn=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Qn=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function er(e){return"function"===typeof e?e():e}function tr(e){return void 0!==e.nodeType}var nr=function(){return(0,Z.Z)({root:["root"]},function(e){var t=i.useContext($n).disableDefaultClasses;return function(n){return t?"":e(n)}}(Un))},rr={},or=i.forwardRef((function(e,t){var n,a=e.anchorEl,s=e.children,l=e.direction,u=e.disablePortal,c=e.modifiers,d=e.open,p=e.placement,f=e.popperOptions,h=e.popperRef,v=e.slotProps,m=void 0===v?{}:v,b=e.slots,g=void 0===b?{}:b,y=e.TransitionProps,x=(0,o.Z)(e,Jn),Z=i.useRef(null),w=(0,Rt.Z)(Z,t),S=i.useRef(null),C=(0,Rt.Z)(S,h),k=i.useRef(C);(0,Et.Z)((function(){k.current=C}),[C]),i.useImperativeHandle(h,(function(){return S.current}),[]);var P=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,l),M=i.useState(P),R=(0,G.Z)(M,2),T=R[0],D=R[1],O=i.useState(er(a)),j=(0,G.Z)(O,2),N=j[0],I=j[1];i.useEffect((function(){S.current&&S.current.forceUpdate()})),i.useEffect((function(){a&&I(er(a))}),[a]),(0,Et.Z)((function(){if(N&&d){var e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;D(t.placement)}}];null!=c&&(e=e.concat(c)),f&&null!=f.modifiers&&(e=e.concat(f.modifiers));var t=_n(N,Z.current,(0,r.Z)({placement:P},f,{modifiers:e}));return k.current(t),function(){t.destroy(),k.current(null)}}}),[N,u,c,d,f,P]);var A={placement:T};null!==y&&(A.TransitionProps=y);var F=nr(),B=null!=(n=g.root)?n:"div",L=(0,Xn.y)({elementType:B,externalSlotProps:m.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:F.root});return(0,E.jsx)(B,(0,r.Z)({},L,{children:"function"===typeof s?s(A):s}))})),ir=i.forwardRef((function(e,t){var n,a=e.anchorEl,s=e.children,l=e.container,u=e.direction,c=void 0===u?"ltr":u,d=e.disablePortal,p=void 0!==d&&d,f=e.keepMounted,h=void 0!==f&&f,v=e.modifiers,m=e.open,b=e.placement,g=void 0===b?"bottom":b,y=e.popperOptions,x=void 0===y?rr:y,Z=e.popperRef,w=e.style,S=e.transition,C=void 0!==S&&S,k=e.slotProps,P=void 0===k?{}:k,M=e.slots,R=void 0===M?{}:M,T=(0,o.Z)(e,Qn),D=i.useState(!0),O=(0,G.Z)(D,2),j=O[0],N=O[1];if(!h&&!m&&(!C||j))return null;if(l)n=l;else if(a){var I=er(a);n=I&&tr(I)?(0,Tt.Z)(I).body:(0,Tt.Z)(null).body}var A=m||!h||C&&!j?void 0:"none",F=C?{in:m,onEnter:function(){N(!1)},onExited:function(){N(!0)}}:void 0;return(0,E.jsx)(Yn.h,{disablePortal:p,container:n,children:(0,E.jsx)(or,(0,r.Z)({anchorEl:a,direction:c,disablePortal:p,modifiers:v,ref:t,open:C?!j:m,placement:g,popperOptions:x,popperRef:Z,slotProps:P,slots:R},T,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:A},w),TransitionProps:F,children:s}))})})),ar=n(69120),sr=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],lr=(0,x.ZP)(ir,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ur=i.forwardRef((function(e,t){var n,i=(0,ar.Z)(),s=(0,a.Z)({props:e,name:"MuiPopper"}),l=s.anchorEl,u=s.component,c=s.components,d=s.componentsProps,p=s.container,f=s.disablePortal,h=s.keepMounted,v=s.modifiers,m=s.open,b=s.placement,g=s.popperOptions,y=s.popperRef,x=s.transition,Z=s.slots,w=s.slotProps,S=(0,o.Z)(s,sr),C=null!=(n=null==Z?void 0:Z.root)?n:null==c?void 0:c.Root,k=(0,r.Z)({anchorEl:l,container:p,disablePortal:f,keepMounted:h,modifiers:v,open:m,placement:b,popperOptions:g,popperRef:y,transition:x},S);return(0,E.jsx)(lr,(0,r.Z)({as:u,direction:null==i?void 0:i.direction,slots:{root:C},slotProps:null!=w?w:d},k,{ref:t}))})),cr=n(32080),dr=n(98301);function pr(e){return(0,k.Z)("MuiDialogActions",e)}(0,P.Z)("MuiDialogActions",["root","spacing"]);var fr=["className","disableSpacing"],hr=(0,x.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})})),vr=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiDialogActions"}),i=n.className,s=n.disableSpacing,l=void 0!==s&&s,u=(0,o.Z)(n,fr),c=(0,r.Z)({},n,{disableSpacing:l}),d=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Z.Z)(n,pr,t)}(c);return(0,E.jsx)(hr,(0,r.Z)({className:(0,N.Z)(d.root,i),ownerState:c,ref:t},u))})),mr=["onAccept","onClear","onCancel","onSetToday","actions"],br=function(e){var t=e.onAccept,n=e.onClear,a=e.onCancel,s=e.onSetToday,l=e.actions,u=(0,o.Z)(e,mr),c=i.useContext(kt),d=p(),f="function"===typeof l?l(c):l;if(null==f||0===f.length)return null;var h=null==f?void 0:f.map((function(e){switch(e){case"clear":return(0,E.jsx)(ht,{onClick:n,children:d.clearButtonLabel},e);case"cancel":return(0,E.jsx)(ht,{onClick:a,children:d.cancelButtonLabel},e);case"accept":return(0,E.jsx)(ht,{onClick:t,children:d.okButtonLabel},e);case"today":return(0,E.jsx)(ht,{onClick:s,children:d.todayButtonLabel},e);default:return null}}));return(0,E.jsx)(vr,(0,r.Z)({},u,{children:h}))};function gr(e){return(0,k.Z)("MuiPickersPopper",e)}(0,P.Z)("MuiPickersPopper",["root","paper"]);function yr(e,t){return Array.isArray(t)?t.every((function(t){return-1!==e.indexOf(t)})):-1!==e.indexOf(t)}var xr=function(e,t){return function(n){"Enter"!==n.key&&" "!==n.key||(e(n),n.preventDefault(),n.stopPropagation()),t&&t(n)}},Zr=function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).activeElement;return t?t.shadowRoot?e(t.shadowRoot):t:null},wr=["onClick","onTouchStart"],Sr=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],paper:["paper"]},gr,t)},Cr=(0,x.ZP)(ur,{name:"MuiPickersPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{zIndex:e.theme.zIndex.modal}})),kr=(0,x.ZP)(Mt.Z,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.ownerState;return(0,r.Z)({transformOrigin:"top center",outline:0},"top"===t.placement&&{transformOrigin:"bottom center"})}));function Pr(e){var t,n=(0,a.Z)({props:e,name:"MuiPickersPopper"}),s=n.anchorEl,l=n.children,u=n.containerRef,c=void 0===u?null:u,d=n.onBlur,p=n.onClose,f=n.onClear,h=n.onAccept,v=n.onCancel,m=n.onSetToday,b=n.open,g=n.PopperProps,y=n.role,x=n.TransitionComponent,Z=void 0===x?Pt.Z:x,w=n.TrapFocusProps,S=n.PaperProps,C=void 0===S?{}:S,k=n.components,P=n.componentsProps;i.useEffect((function(){function e(e){!b||"Escape"!==e.key&&"Esc"!==e.key||p()}return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[p,b]);var M=i.useRef(null);i.useEffect((function(){"tooltip"!==y&&(b?M.current=Zr(document):M.current&&M.current instanceof HTMLElement&&setTimeout((function(){M.current instanceof HTMLElement&&M.current.focus()})))}),[b,y]);var R=function(e,t){var n=i.useRef(!1),r=i.useRef(!1),o=i.useRef(null),a=i.useRef(!1);i.useEffect((function(){if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),function(){document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),a.current=!1};function t(){a.current=!0}}),[e]);var s=(0,J.Z)((function(e){if(a.current){var i=r.current;r.current=!1;var s=(0,dr.Z)(o.current);!o.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||o.current.contains(e.target))||i||t(e))}})),l=function(){r.current=!0};return i.useEffect((function(){if(e){var t=(0,dr.Z)(o.current),r=function(){n.current=!0};return t.addEventListener("touchstart",s),t.addEventListener("touchmove",r),function(){t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",r)}}}),[e,s]),i.useEffect((function(){if(e){var t=(0,dr.Z)(o.current);return t.addEventListener("click",s),function(){t.removeEventListener("click",s),r.current=!1}}}),[e,s]),[o,l,l]}(b,null!=d?d:p),T=(0,G.Z)(R,3),D=T[0],O=T[1],j=T[2],N=i.useRef(null),I=(0,$.Z)(N,c),A=(0,$.Z)(I,D),F=n,B=Sr(F),L=C.onClick,z=C.onTouchStart,W=(0,o.Z)(C,wr),V=null!=(t=null==k?void 0:k.ActionBar)?t:br,H=(null==k?void 0:k.PaperContent)||i.Fragment;return(0,E.jsx)(Cr,(0,r.Z)({transition:!0,role:y,open:b,anchorEl:s,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),p())},className:B.root},g,{children:function(e){var t=e.TransitionProps,n=e.placement;return(0,E.jsx)(cr.i,(0,r.Z)({open:b,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===y,isEnabled:function(){return!0}},w,{children:(0,E.jsx)(Z,(0,r.Z)({},t,{children:(0,E.jsx)(kr,(0,r.Z)({tabIndex:-1,elevation:8,ref:A,onClick:function(e){O(e),L&&L(e)},onTouchStart:function(e){j(e),z&&z(e)},ownerState:(0,r.Z)({},F,{placement:n}),className:B.paper},W,{children:(0,E.jsxs)(H,(0,r.Z)({},null==P?void 0:P.paperContent,{children:[l,(0,E.jsx)(V,(0,r.Z)({onAccept:h,onClear:f,onCancel:v,onSetToday:m,actions:[]},null==P?void 0:P.actionBar))]}))}))}))}))}}))}function Mr(e){var t=e.children,n=e.DateInputProps,o=e.KeyboardDateInputComponent,a=e.onClear,s=e.onDismiss,l=e.onCancel,u=e.onAccept,c=e.onSetToday,d=e.open,p=e.PopperProps,f=e.PaperProps,h=e.TransitionComponent,v=e.components,m=e.componentsProps,b=i.useRef(null),g=(0,$.Z)(n.inputRef,b);return(0,E.jsxs)(kt.Provider,{value:"desktop",children:[(0,E.jsx)(o,(0,r.Z)({},n,{inputRef:g})),(0,E.jsx)(Pr,{role:"dialog",open:d,anchorEl:b.current,TransitionComponent:h,PopperProps:p,PaperProps:f,onClose:s,onCancel:l,onClear:a,onAccept:u,onSetToday:c,components:v,componentsProps:m,children:t})]})}var Rr=n(98278);function Er(e){var t,n,r=e.onChange,o=e.onViewChange,a=e.openTo,s=e.view,l=e.views,u=(0,Rr.Z)({name:"Picker",state:"view",controlled:s,default:a&&yr(l,a)?a:l[0]}),c=(0,G.Z)(u,2),d=c[0],p=c[1],f=null!=(t=l[l.indexOf(d)-1])?t:null,h=null!=(n=l[l.indexOf(d)+1])?n:null,v=i.useCallback((function(e){p(e),o&&o(e)}),[p,o]),m=i.useCallback((function(){h&&v(h)}),[h,v]);return{handleChangeAndOpenNext:i.useCallback((function(e,t){var n="finish"===t,o=n&&Boolean(h)?"partial":t;r(e,o),n&&m()}),[h,r,m]),nextView:h,previousView:f,openNext:m,openView:d,setOpenView:v}}var Tr=n(67384),Dr=220,Or=36,jr={x:Dr/2,y:Dr/2},Nr=jr.x-jr.x,Ir=0-jr.y,Ar=function(e,t,n){var r=t-jr.x,o=n-jr.y,i=Math.atan2(Nr,Ir)-Math.atan2(r,o),a=i*(180/Math.PI);a=Math.round(a/e)*e,a%=360;var s=Math.floor(a/e)||0,l=Math.pow(r,2)+Math.pow(o,2);return{value:s,distance:Math.sqrt(l)}};function Fr(e){return(0,k.Z)("MuiClockPointer",e)}(0,P.Z)("MuiClockPointer",["root","thumb"]);var Br=["className","hasSelected","isInner","type","value"],Lr=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],thumb:["thumb"]},Fr,t)},zr=(0,x.ZP)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({width:2,backgroundColor:t.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},n.shouldAnimate&&{transition:t.transitions.create(["transform","height"])})})),Wr=(0,x.ZP)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({width:4,height:4,backgroundColor:t.palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - ".concat(18,"px)"),border:"".concat(16,"px solid ").concat(t.palette.primary.main),boxSizing:"content-box"},n.hasSelected&&{backgroundColor:t.palette.primary.main})}));function Vr(e){var t=(0,a.Z)({props:e,name:"MuiClockPointer"}),n=t.className,s=t.isInner,l=t.type,u=t.value,c=(0,o.Z)(t,Br),d=i.useRef(l);i.useEffect((function(){d.current=l}),[l]);var p=(0,r.Z)({},t,{shouldAnimate:d.current!==l}),f=Lr(p);return(0,E.jsx)(zr,(0,r.Z)({style:function(){var e=360/("hours"===l?12:60)*u;return"hours"===l&&u>12&&(e-=360),{height:Math.round((s?.26:.4)*Dr),transform:"rotateZ(".concat(e,"deg)")}}(),className:S(n,f.root),ownerState:p},c,{children:(0,E.jsx)(Wr,{ownerState:p,className:f.thumb})}))}function Hr(e){return(0,k.Z)("MuiClock",e)}(0,P.Z)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton"]);var qr=(0,x.ZP)("div",{name:"MuiClock",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{display:"flex",justifyContent:"center",alignItems:"center",margin:e.theme.spacing(2)}})),Kr=(0,x.ZP)("div",{name:"MuiClock",slot:"Clock",overridesResolver:function(e,t){return t.clock}})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),_r=(0,x.ZP)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})({"&:focus":{outline:"none"}}),Yr=(0,x.ZP)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:function(e,t){return t.squareMask}})((function(e){var t=e.ownerState;return(0,r.Z)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},t.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})})),Ur=(0,x.ZP)("div",{name:"MuiClock",slot:"Pin",overridesResolver:function(e,t){return t.pin}})((function(e){return{width:6,height:6,borderRadius:"50%",backgroundColor:e.theme.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),Xr=(0,x.ZP)(We,{name:"MuiClock",slot:"AmButton",overridesResolver:function(e,t){return t.amButton}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,left:8},"am"===n.meridiemMode&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})})),Gr=(0,x.ZP)(We,{name:"MuiClock",slot:"PmButton",overridesResolver:function(e,t){return t.pmButton}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,right:8},"pm"===n.meridiemMode&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})}));function $r(e){var t=(0,a.Z)({props:e,name:"MuiClock"}),n=t.ampm,r=t.ampmInClock,o=t.autoFocus,s=t.children,l=t.date,u=t.getClockLabelText,d=t.handleMeridiemChange,p=t.isTimeDisabled,f=t.meridiemMode,h=t.minutesStep,v=void 0===h?1:h,m=t.onChange,b=t.selectedId,g=t.type,y=t.value,x=t.disabled,w=t.readOnly,k=t.className,P=t,M=c(),R=i.useContext(kt),T=i.useRef(!1),D=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"]},Hr,t)}(P),O=p(y,g),j=!n&&"hours"===g&&(y<1||y>12),N=function(e,t){x||w||p(e,g)||m(e,t)},I=function(e,t){var r=e.offsetX,o=e.offsetY;if(void 0===r){var i=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-i.left,o=e.changedTouches[0].clientY-i.top}var a="seconds"===g||"minutes"===g?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=Ar(6*n,e,t).value;return r*n%60}(r,o,v):function(e,t,n){var r=Ar(30,e,t),o=r.value,i=r.distance,a=o||12;return n?a%=12:i0&&I(e.nativeEvent,"shallow")},ownerState:{disabled:x},className:D.squareMask}),!O&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(Ur,{className:D.pin}),l&&(0,E.jsx)(Vr,{type:g,value:y,isInner:j,hasSelected:A})]}),(0,E.jsx)(_r,{"aria-activedescendant":b,"aria-label":u(g,l,M),ref:B,role:"listbox",onKeyDown:function(e){if(!T.current)switch(e.key){case"Home":N(0,"partial"),e.preventDefault();break;case"End":N("minutes"===g?59:23,"partial"),e.preventDefault();break;case"ArrowUp":N(y+F,"partial"),e.preventDefault();break;case"ArrowDown":N(y-F,"partial"),e.preventDefault()}},tabIndex:0,className:D.wrapper,children:s})]}),n&&("desktop"===R||r)&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(Xr,{onClick:w?void 0:function(){return d("am")},disabled:x||null===f,ownerState:P,className:D.amButton,children:(0,E.jsx)(C.Z,{variant:"caption",children:"AM"})}),(0,E.jsx)(Gr,{disabled:x||null===f,onClick:w?void 0:function(){return d("pm")},ownerState:P,className:D.pmButton,children:(0,E.jsx)(C.Z,{variant:"caption",children:"PM"})})]})]})}function Jr(e){return(0,k.Z)("MuiClockNumber",e)}var Qr=(0,P.Z)("MuiClockNumber",["root","selected","disabled"]),eo=["className","disabled","index","inner","label","selected"],to=(0,x.ZP)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:function(e,t){return[t.root,(0,y.Z)({},"&.".concat(Qr.disabled),t.disabled),(0,y.Z)({},"&.".concat(Qr.selected),t.selected)]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)((t={height:Or,width:Or,position:"absolute",left:"calc((100% - ".concat(Or,"px) / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:n.palette.text.primary,fontFamily:n.typography.fontFamily,"&:focused":{backgroundColor:n.palette.background.paper}},(0,y.Z)(t,"&.".concat(Qr.selected),{color:n.palette.primary.contrastText}),(0,y.Z)(t,"&.".concat(Qr.disabled),{pointerEvents:"none",color:n.palette.text.disabled}),t),o.inner&&(0,r.Z)({},n.typography.body2,{color:n.palette.text.secondary}))}));function no(e){var t=(0,a.Z)({props:e,name:"MuiClockNumber"}),n=t.className,i=t.disabled,s=t.index,l=t.inner,u=t.label,c=t.selected,d=(0,o.Z)(t,eo),p=t,f=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.disabled&&"disabled"]};return(0,Z.Z)(n,Jr,t)}(p),h=s%12/12*Math.PI*2-Math.PI/2,v=(Dr-Or-2)/2*(l?.65:1),m=Math.round(Math.cos(h)*v),b=Math.round(Math.sin(h)*v);return(0,E.jsx)(to,(0,r.Z)({className:S(n,f.root),"aria-disabled":!!i||void 0,"aria-selected":!!c||void 0,role:"option",style:{transform:"translate(".concat(m,"px, ").concat(b+(Dr-Or)/2,"px")},ownerState:p},d,{children:u}))}var ro=function(e){for(var t=e.ampm,n=e.date,r=e.getClockNumberText,o=e.isDisabled,i=e.selectedId,a=e.utils,s=n?a.getHours(n):null,l=[],u=t?12:23,c=function(e){return null!==s&&(t?12===e?12===s||0===s:s===e||s-12===e:s===e)},d=t?1:0;d<=u;d+=1){var p=d.toString();0===d&&(p="00");var f=!t&&(0===d||d>12);p=a.formatNumber(p);var h=c(d);l.push((0,E.jsx)(no,{id:h?i:void 0,index:d,inner:f,selected:h,disabled:o(d),label:p,"aria-label":r(p)},d))}return l},oo=function(e){var t=e.utils,n=e.value,r=e.isDisabled,o=e.getClockNumberText,i=e.selectedId,a=t.formatNumber;return[[5,a("05")],[10,a("10")],[15,a("15")],[20,a("20")],[25,a("25")],[30,a("30")],[35,a("35")],[40,a("40")],[45,a("45")],[50,a("50")],[55,a("55")],[0,a("00")]].map((function(e,t){var a=(0,G.Z)(e,2),s=a[0],l=a[1],u=s===n;return(0,E.jsx)(no,{label:l,id:u?i:void 0,index:t+1,inner:!1,disabled:r(s),selected:u,"aria-label":o(l)},s)}))};function io(e){return(0,k.Z)("MuiPickersArrowSwitcher",e)}(0,P.Z)("MuiPickersArrowSwitcher",["root","spacer","button"]);var ao=["children","className","components","componentsProps","isLeftDisabled","isLeftHidden","isRightDisabled","isRightHidden","leftArrowButtonText","onLeftClick","onRightClick","rightArrowButtonText"],so=(0,x.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex"}),lo=(0,x.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})((function(e){return{width:e.theme.spacing(3)}})),uo=(0,x.ZP)(We,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:function(e,t){return t.button}})((function(e){var t=e.ownerState;return(0,r.Z)({},t.hidden&&{visibility:"hidden"})})),co=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiPickersArrowSwitcher"}),i=n.children,s=n.className,l=n.components,u=n.componentsProps,c=n.isLeftDisabled,d=n.isLeftHidden,p=n.isRightDisabled,f=n.isRightHidden,h=n.leftArrowButtonText,v=n.onLeftClick,m=n.onRightClick,b=n.rightArrowButtonText,g=(0,o.Z)(n,ao),y="rtl"===(0,F.Z)().direction,x=(null==u?void 0:u.leftArrowButton)||{},w=(null==l?void 0:l.LeftArrowIcon)||qe,k=(null==u?void 0:u.rightArrowButton)||{},P=(null==l?void 0:l.RightArrowIcon)||Ke,M=n,R=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],spacer:["spacer"],button:["button"]},io,t)}(M);return(0,E.jsxs)(so,(0,r.Z)({ref:t,className:S(R.root,s),ownerState:M},g,{children:[(0,E.jsx)(uo,(0,r.Z)({as:null==l?void 0:l.LeftArrowButton,size:"small","aria-label":h,title:h,disabled:c,edge:"end",onClick:v},x,{className:S(R.button,x.className),ownerState:(0,r.Z)({},M,x,{hidden:d}),children:y?(0,E.jsx)(P,{}):(0,E.jsx)(w,{})})),i?(0,E.jsx)(C.Z,{variant:"subtitle1",component:"span",children:i}):(0,E.jsx)(lo,{className:R.spacer,ownerState:M}),(0,E.jsx)(uo,(0,r.Z)({as:null==l?void 0:l.RightArrowButton,size:"small","aria-label":b,title:b,edge:"start",disabled:p,onClick:m},k,{className:S(R.button,k.className),ownerState:(0,r.Z)({},M,k,{hidden:f}),children:y?(0,E.jsx)(w,{}):(0,E.jsx)(P,{})}))]}))})),po=function(e,t,n){if(n&&(e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12;return e},fo=function(e,t){return 3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e)},ho=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return function(n,r){return e?t.isAfter(n,r):fo(n,t)>fo(r,t)}};function vo(e,t,n){var r=c(),o=function(e,t){return e?t.getHours(e)>=12?"pm":"am":null}(e,r),a=i.useCallback((function(o){var i=null==e?null:function(e,t,n,r){var o=po(r.getHours(e),t,n);return r.setHours(e,o)}(e,o,Boolean(t),r);n(i,"partial")}),[t,e,n,r]);return{meridiemMode:o,handleMeridiemChange:a}}function mo(e){return(0,k.Z)("MuiClockPicker",e)}(0,P.Z)("MuiClockPicker",["root","arrowSwitcher"]);var bo=(0,x.ZP)("div")({overflowX:"hidden",width:320,maxHeight:358,display:"flex",flexDirection:"column",margin:"0 auto"}),go=(0,x.ZP)(bo,{name:"MuiClockPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"column"}),yo=(0,x.ZP)(co,{name:"MuiClockPicker",slot:"ArrowSwitcher",overridesResolver:function(e,t){return t.arrowSwitcher}})({position:"absolute",right:12,top:15}),xo=function(){},Zo=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiClockPicker"}),o=n.ampm,s=void 0!==o&&o,l=n.ampmInClock,u=void 0!==l&&l,d=n.autoFocus,h=n.components,v=n.componentsProps,m=n.date,b=n.disableIgnoringDatePartForTimeValidation,g=n.getClockLabelText,y=n.getHoursClockNumberText,x=n.getMinutesClockNumberText,w=n.getSecondsClockNumberText,C=n.leftArrowButtonText,k=n.maxTime,P=n.minTime,M=n.minutesStep,R=void 0===M?1:M,T=n.rightArrowButtonText,D=n.shouldDisableTime,O=n.showViewSwitcher,j=n.onChange,N=n.view,I=n.views,A=void 0===I?["hours","minutes"]:I,F=n.openTo,B=n.onViewChange,L=n.className,z=n.disabled,W=n.readOnly;xo({leftArrowButtonText:C,rightArrowButtonText:T,getClockLabelText:g,getHoursClockNumberText:y,getMinutesClockNumberText:x,getSecondsClockNumberText:w});var V=p(),H=null!=C?C:V.openPreviousView,q=null!=T?T:V.openNextView,K=null!=g?g:V.clockLabelText,_=null!=y?y:V.hoursClockNumberText,Y=null!=x?x:V.minutesClockNumberText,U=null!=w?w:V.secondsClockNumberText,X=Er({view:N,views:A,openTo:F,onViewChange:B,onChange:j}),G=X.openView,$=X.setOpenView,J=X.nextView,Q=X.previousView,ee=X.handleChangeAndOpenNext,te=f(),ne=c(),re=i.useMemo((function(){return m||ne.setSeconds(ne.setMinutes(ne.setHours(te,0),0),0)}),[m,te,ne]),oe=vo(re,s,ee),ie=oe.meridiemMode,ae=oe.handleMeridiemChange,se=i.useCallback((function(e,t){var n=ho(b,ne),r=function(e){var t=e.start,r=e.end;return(!P||!n(P,r))&&(!k||!n(t,k))},o=function(e){return e%(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)===0&&(!D||!D(e,t))};switch(t){case"hours":var i=po(e,ie,s),a=ne.setHours(re,i);return!r({start:ne.setSeconds(ne.setMinutes(a,0),0),end:ne.setSeconds(ne.setMinutes(a,59),59)})||!o(i);case"minutes":var l=ne.setMinutes(re,e);return!r({start:ne.setSeconds(l,0),end:ne.setSeconds(l,59)})||!o(e,R);case"seconds":var u=ne.setSeconds(re,e);return!r({start:u,end:u})||!o(e);default:throw new Error("not supported")}}),[s,re,b,k,ie,P,R,D,ne]),le=(0,Tr.Z)(),ue=i.useMemo((function(){switch(G){case"hours":var e=function(e,t){var n=po(e,ie,s);ee(ne.setHours(re,n),t)};return{onChange:e,value:ne.getHours(re),children:ro({date:m,utils:ne,ampm:s,onChange:e,getClockNumberText:_,isDisabled:function(e){return z||se(e,"hours")},selectedId:le})};case"minutes":var t=ne.getMinutes(re),n=function(e,t){ee(ne.setMinutes(re,e),t)};return{value:t,onChange:n,children:oo({utils:ne,value:t,onChange:n,getClockNumberText:Y,isDisabled:function(e){return z||se(e,"minutes")},selectedId:le})};case"seconds":var r=ne.getSeconds(re),o=function(e,t){ee(ne.setSeconds(re,e),t)};return{value:r,onChange:o,children:oo({utils:ne,value:r,onChange:o,getClockNumberText:U,isDisabled:function(e){return z||se(e,"seconds")},selectedId:le})};default:throw new Error("You must provide the type for ClockView")}}),[G,ne,m,s,_,Y,U,ie,ee,re,se,le,z]),ce=n,de=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],arrowSwitcher:["arrowSwitcher"]},mo,t)}(ce);return(0,E.jsxs)(go,{ref:t,className:S(de.root,L),ownerState:ce,children:[O&&(0,E.jsx)(yo,{className:de.arrowSwitcher,leftArrowButtonText:H,rightArrowButtonText:q,components:h,componentsProps:v,onLeftClick:function(){return $(Q)},onRightClick:function(){return $(J)},isLeftDisabled:!Q,isRightDisabled:!J,ownerState:ce}),(0,E.jsx)($r,(0,r.Z)({autoFocus:d,date:m,ampmInClock:u,type:G,ampm:s,getClockLabelText:K,minutesStep:R,isTimeDisabled:se,meridiemMode:ie,handleMeridiemChange:ae,selectedId:le,disabled:z,readOnly:W},ue))]})})),wo=n(30418),So=n(40162);function Co(e){return(0,k.Z)("PrivatePickersMonth",e)}var ko=(0,P.Z)("PrivatePickersMonth",["root","selected"]),Po=["disabled","onSelect","selected","value","tabIndex","hasFocus","onFocus","onBlur"],Mo=(0,x.ZP)(C.Z,{name:"PrivatePickersMonth",slot:"Root",overridesResolver:function(e,t){return[t.root,(0,y.Z)({},"&.".concat(ko.selected),t.selected)]}})((function(e){var t=e.theme;return(0,r.Z)({flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,(0,y.Z)({margin:"8px 0",height:36,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:(0,X.Fq)(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{pointerEvents:"none",color:t.palette.text.secondary}},"&.".concat(ko.selected),{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}))})),Ro=function(){},Eo=function(e){var t=e.disabled,n=e.onSelect,a=e.selected,s=e.value,l=e.tabIndex,u=e.hasFocus,c=e.onFocus,d=void 0===c?Ro:c,p=e.onBlur,f=void 0===p?Ro:p,h=(0,o.Z)(e,Po),v=function(e){var t=e.classes,n={root:["root",e.selected&&"selected"]};return(0,Z.Z)(n,Co,t)}(e),m=function(){n(s)},b=i.useRef(null);return(0,So.Z)((function(){var e;u&&(null==(e=b.current)||e.focus())}),[u]),(0,E.jsx)(Mo,(0,r.Z)({ref:b,component:"button",type:"button",className:v.root,tabIndex:l,onClick:m,onKeyDown:xr(m),color:a?"primary":void 0,variant:a?"h5":"subtitle1",disabled:t,onFocus:function(e){return d(e,s)},onBlur:function(e){return f(e,s)}},h))};function To(e){return(0,k.Z)("MuiMonthPicker",e)}(0,P.Z)("MuiMonthPicker",["root"]);var Do=["className","date","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange"];var Oo=(0,x.ZP)("div",{name:"MuiMonthPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch",margin:"0 4px"}),jo=i.forwardRef((function(e,t){var n=c(),s=f(),l=function(e,t){var n=c(),o=d(),i=(0,a.Z)({props:e,name:t});return(0,r.Z)({disableFuture:!1,disablePast:!1},i,{minDate:v(n,i.minDate,o.minDate),maxDate:v(n,i.maxDate,o.maxDate)})}(e,"MuiMonthPicker"),u=l.className,p=l.date,h=l.disabled,m=l.disableFuture,b=l.disablePast,g=l.maxDate,y=l.minDate,x=l.onChange,w=l.shouldDisableMonth,C=l.readOnly,k=l.disableHighlightToday,P=l.autoFocus,M=void 0!==P&&P,R=l.onMonthFocus,T=l.hasFocus,D=l.onFocusedViewChange,O=(0,o.Z)(l,Do),j=l,N=function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},To,t)}(j),I=(0,wo.Z)(),A=i.useMemo((function(){return null!=p?p:n.startOfMonth(s)}),[s,n,p]),F=i.useMemo((function(){return null!=p?n.getMonth(p):k?null:n.getMonth(s)}),[s,p,n,k]),B=i.useState((function(){return F||n.getMonth(s)})),L=(0,G.Z)(B,2),z=L[0],W=L[1],V=i.useCallback((function(e){var t=n.startOfMonth(b&&n.isAfter(s,y)?s:y),r=n.startOfMonth(m&&n.isBefore(s,g)?s:g);return!!n.isBefore(e,t)||(!!n.isAfter(e,r)||!!w&&w(e))}),[m,b,g,y,s,w,n]),H=function(e){if(!C){var t=n.setMonth(A,e);x(t,"finish")}},q=(0,Rr.Z)({name:"MonthPicker",state:"hasFocus",controlled:T,default:M}),K=(0,G.Z)(q,2),_=K[0],Y=K[1],U=i.useCallback((function(e){Y(e),D&&D(e)}),[Y,D]),X=i.useCallback((function(e){V(n.setMonth(A,e))||(W(e),U(!0),R&&R(e))}),[V,n,A,U,R]);i.useEffect((function(){W((function(e){return null!==F&&e!==F?F:e}))}),[F]);var $=(0,J.Z)((function(e){var t=12;switch(e.key){case"ArrowUp":X((t+z-3)%t),e.preventDefault();break;case"ArrowDown":X((t+z+3)%t),e.preventDefault();break;case"ArrowLeft":X((t+z+("ltr"===I.direction?-1:1))%t),e.preventDefault();break;case"ArrowRight":X((t+z+("ltr"===I.direction?1:-1))%t),e.preventDefault()}})),Q=i.useCallback((function(e,t){X(t)}),[X]),ee=i.useCallback((function(){U(!1)}),[U]),te=n.getMonth(s);return(0,E.jsx)(Oo,(0,r.Z)({ref:t,className:S(N.root,u),ownerState:j,onKeyDown:$},O,{children:n.getMonthArray(A).map((function(e){var t=n.getMonth(e),r=n.format(e,"monthShort"),o=h||V(e);return(0,E.jsx)(Eo,{value:t,selected:t===F,tabIndex:t!==z||o?-1:0,hasFocus:_&&t===z,onSelect:H,onFocus:Q,onBlur:ee,disabled:o,"aria-current":te===t?"date":void 0,children:r},r)}))}))})),No=function(e){var t=e.props,n=e.value,r=e.adapter,o=r.utils.date(),i=r.utils.date(n),a=v(r.utils,t.minDate,r.defaultDates.minDate),s=v(r.utils,t.maxDate,r.defaultDates.maxDate);if(null===i)return null;switch(!0){case!r.utils.isValid(n):return"invalidDate";case Boolean(t.shouldDisableDate&&t.shouldDisableDate(i)):return"shouldDisableDate";case Boolean(t.disableFuture&&r.utils.isAfterDay(i,o)):return"disableFuture";case Boolean(t.disablePast&&r.utils.isBeforeDay(i,o)):return"disablePast";case Boolean(a&&r.utils.isBeforeDay(i,a)):return"minDate";case Boolean(s&&r.utils.isAfterDay(i,s)):return"maxDate";default:return null}},Io=function(e){var t=e.shouldDisableDate,n=e.minDate,r=e.maxDate,o=e.disableFuture,a=e.disablePast,s=u();return i.useCallback((function(e){return null!==No({adapter:s,value:e,props:{shouldDisableDate:t,minDate:n,maxDate:r,disableFuture:o,disablePast:a}})}),[s,t,n,r,o,a])},Ao=function(e){var t,n=e.date,o=e.defaultCalendarMonth,a=e.disableFuture,s=e.disablePast,l=e.disableSwitchToMonthOnDayFocus,u=void 0!==l&&l,d=e.maxDate,p=e.minDate,h=e.onMonthChange,v=e.reduceAnimations,m=e.shouldDisableDate,b=f(),g=c(),y=i.useRef(function(e,t,n){return function(o,i){switch(i.type){case"changeMonth":return(0,r.Z)({},o,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,r.Z)({},o,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":if(null!=o.focusedDay&&null!=i.focusedDay&&n.isSameDay(i.focusedDay,o.focusedDay))return o;var a=null!=i.focusedDay&&!t&&!n.isSameMonth(o.currentMonth,i.focusedDay);return(0,r.Z)({},o,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:a&&!e&&!i.withoutMonthSwitchingAnimation,currentMonth:a?n.startOfMonth(i.focusedDay):o.currentMonth,slideDirection:null!=i.focusedDay&&n.isAfterDay(i.focusedDay,o.currentMonth)?"left":"right"});default:throw new Error("missing support")}}}(Boolean(v),u,g)).current,x=i.useReducer(y,{isMonthSwitchingAnimating:!1,focusedDay:n||b,currentMonth:g.startOfMonth(null!=(t=null!=n?n:o)?t:b),slideDirection:"left"}),Z=(0,G.Z)(x,2),w=Z[0],S=Z[1],C=i.useCallback((function(e){S((0,r.Z)({type:"changeMonth"},e)),h&&h(e.newMonth)}),[h]),k=i.useCallback((function(e){var t=null!=e?e:b;g.isSameMonth(t,w.currentMonth)||C({newMonth:g.startOfMonth(t),direction:g.isAfterDay(t,w.currentMonth)?"left":"right"})}),[w.currentMonth,C,b,g]),P=Io({shouldDisableDate:m,minDate:p,maxDate:d,disableFuture:a,disablePast:s}),M=i.useCallback((function(){S({type:"finishMonthSwitchingAnimation"})}),[]),R=i.useCallback((function(e,t){P(e)||S({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}),[P]);return{calendarState:w,changeMonth:k,changeFocusedDay:R,isDateDisabled:P,onMonthSwitchingAnimationEnd:M,handleChangeMonth:C}},Fo=n(60627),Bo=function(e){return(0,k.Z)("MuiPickersFadeTransitionGroup",e)},Lo=((0,P.Z)("MuiPickersFadeTransitionGroup",["root"]),function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},Bo,t)}),zo=500,Wo=(0,x.ZP)(ue,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"block",position:"relative"});function Vo(e){var t=(0,a.Z)({props:e,name:"MuiPickersFadeTransitionGroup"}),n=t.children,r=t.className,o=t.reduceAnimations,i=t.transKey,s=Lo(t);return o?n:(0,E.jsx)(Wo,{className:S(s.root,r),children:(0,E.jsx)(Fo.Z,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:zo,enter:zo/2,exit:0},children:n},i)})}function Ho(e){return(0,k.Z)("MuiPickersDay",e)}var qo=(0,P.Z)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Ko=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today"],_o=function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({},n.typography.caption,(t={width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:n.palette.background.paper,color:n.palette.text.primary,"&:hover":{backgroundColor:(0,X.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)},"&:focus":(0,y.Z)({backgroundColor:(0,X.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)},"&.".concat(qo.selected),{willChange:"background-color",backgroundColor:n.palette.primary.dark})},(0,y.Z)(t,"&.".concat(qo.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,fontWeight:n.typography.fontWeightMedium,transition:n.transitions.create("background-color",{duration:n.transitions.duration.short}),"&:hover":{willChange:"background-color",backgroundColor:n.palette.primary.dark}}),(0,y.Z)(t,"&.".concat(qo.disabled),{color:n.palette.text.disabled}),t),!o.disableMargin&&{margin:"0 ".concat(2,"px")},o.outsideCurrentMonth&&o.showDaysOutsideCurrentMonth&&{color:n.palette.text.secondary},!o.disableHighlightToday&&o.today&&(0,y.Z)({},"&:not(.".concat(qo.selected,")"),{border:"1px solid ".concat(n.palette.text.secondary)}))},Yo=function(e,t){var n=e.ownerState;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},Uo=(0,x.ZP)(Ie,{name:"MuiPickersDay",slot:"Root",overridesResolver:Yo})(_o),Xo=(0,x.ZP)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:Yo})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({},_o({theme:t,ownerState:n}),{opacity:0,pointerEvents:"none"})})),Go=function(){},$o=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiPickersDay"}),s=n.autoFocus,l=void 0!==s&&s,u=n.className,d=n.day,p=n.disabled,f=void 0!==p&&p,h=n.disableHighlightToday,v=void 0!==h&&h,m=n.disableMargin,b=void 0!==m&&m,g=n.isAnimating,y=n.onClick,x=n.onDaySelect,w=n.onFocus,C=void 0===w?Go:w,k=n.onBlur,P=void 0===k?Go:k,M=n.onKeyDown,R=void 0===M?Go:M,T=n.onMouseDown,D=n.outsideCurrentMonth,O=n.selected,j=void 0!==O&&O,N=n.showDaysOutsideCurrentMonth,I=void 0!==N&&N,A=n.children,F=n.today,B=void 0!==F&&F,L=(0,o.Z)(n,Ko),z=(0,r.Z)({},n,{autoFocus:l,disabled:f,disableHighlightToday:v,disableMargin:b,selected:j,showDaysOutsideCurrentMonth:I,today:B}),W=function(e){var t=e.selected,n=e.disableMargin,r=e.disableHighlightToday,o=e.today,i=e.disabled,a=e.outsideCurrentMonth,s=e.showDaysOutsideCurrentMonth,l=e.classes,u={root:["root",t&&"selected",i&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",a&&s&&"dayOutsideMonth",a&&!s&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,Z.Z)(u,Ho,l)}(z),V=c(),H=i.useRef(null),q=(0,$.Z)(H,t);(0,Et.Z)((function(){!l||f||g||D||H.current.focus()}),[l,f,g,D]);return D&&!I?(0,E.jsx)(Xo,{className:S(W.root,W.hiddenDaySpacingFiller,u),ownerState:z,role:L.role}):(0,E.jsx)(Uo,(0,r.Z)({className:S(W.root,u),ownerState:z,ref:q,centerRipple:!0,disabled:f,tabIndex:j?0:-1,onKeyDown:function(e){return R(e,d)},onFocus:function(e){return C(e,d)},onBlur:function(e){return P(e,d)},onClick:function(e){f||x(d,"finish"),D&&e.currentTarget.focus(),y&&y(e)},onMouseDown:function(e){T&&T(e),D&&e.preventDefault()}},L,{children:A||V.format(d,"dayOfMonth")}))})),Jo=function(e,t){return e.autoFocus===t.autoFocus&&e.isAnimating===t.isAnimating&&e.today===t.today&&e.disabled===t.disabled&&e.selected===t.selected&&e.disableMargin===t.disableMargin&&e.showDaysOutsideCurrentMonth===t.showDaysOutsideCurrentMonth&&e.disableHighlightToday===t.disableHighlightToday&&e.className===t.className&&e.sx===t.sx&&e.outsideCurrentMonth===t.outsideCurrentMonth&&e.onFocus===t.onFocus&&e.onBlur===t.onBlur&&e.onDaySelect===t.onDaySelect},Qo=i.memo($o,Jo);function ei(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var ti=n(18875),ni=n(88852),ri=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=ei(n.className,r):n.setAttribute("class",ei(n.className&&n.className.baseVal||"",r)));var n,r}))},oi=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o *":{position:"absolute",top:0,right:0,left:0}},(0,y.Z)(t,"& .".concat(si["slideEnter-left"]),{willChange:"transform",transform:"translate(100%)",zIndex:1}),(0,y.Z)(t,"& .".concat(si["slideEnter-right"]),{willChange:"transform",transform:"translate(-100%)",zIndex:1}),(0,y.Z)(t,"& .".concat(si.slideEnterActive),{transform:"translate(0%)",transition:n}),(0,y.Z)(t,"& .".concat(si.slideExit),{transform:"translate(0%)"}),(0,y.Z)(t,"& .".concat(si["slideExitActiveLeft-left"]),{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0}),(0,y.Z)(t,"& .".concat(si["slideExitActiveLeft-right"]),{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}),t})),ci=function(e){return(0,k.Z)("MuiDayPicker",e)},di=((0,P.Z)("MuiDayPicker",["header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer"]),function(e){return e.charAt(0).toUpperCase()}),pi=(0,x.ZP)("div",{name:"MuiDayPicker",slot:"Header",overridesResolver:function(e,t){return t.header}})({display:"flex",justifyContent:"center",alignItems:"center"}),fi=(0,x.ZP)(C.Z,{name:"MuiDayPicker",slot:"WeekDayLabel",overridesResolver:function(e,t){return t.weekDayLabel}})((function(e){return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.theme.palette.text.secondary}})),hi=(0,x.ZP)("div",{name:"MuiDayPicker",slot:"LoadingContainer",overridesResolver:function(e,t){return t.loadingContainer}})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:240}),vi=(0,x.ZP)((function(e){var t=e.children,n=e.className,a=e.reduceAnimations,s=e.slideDirection,l=e.transKey,u=(0,o.Z)(e,li),c=function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},ai,t)}(e);if(a)return(0,E.jsx)("div",{className:S(c.root,n),children:t});var d={exit:si.slideExit,enterActive:si.slideEnterActive,enter:si["slideEnter-".concat(s)],exitActive:si["slideExitActiveLeft-".concat(s)]};return(0,E.jsx)(ui,{className:S(c.root,n),childFactory:function(e){return i.cloneElement(e,{classNames:d})},role:"presentation",children:(0,E.jsx)(ii,(0,r.Z)({mountOnEnter:!0,unmountOnExit:!0,timeout:350,classNames:d},u,{children:t}),l)})}),{name:"MuiDayPicker",slot:"SlideTransition",overridesResolver:function(e,t){return t.slideTransition}})({minHeight:240}),mi=(0,x.ZP)("div",{name:"MuiDayPicker",slot:"MonthContainer",overridesResolver:function(e,t){return t.monthContainer}})({overflow:"hidden"}),bi=(0,x.ZP)("div",{name:"MuiDayPicker",slot:"WeekContainer",overridesResolver:function(e,t){return t.weekContainer}})({margin:"".concat(2,"px 0"),display:"flex",justifyContent:"center"});function gi(e){var t=f(),n=c(),o=(0,a.Z)({props:e,name:"MuiDayPicker"}),s=function(e){var t=e.classes;return(0,Z.Z)({header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"]},ci,t)}(o),l=o.onFocusedDayChange,u=o.className,d=o.currentMonth,p=o.selectedDays,v=o.disabled,m=o.disableHighlightToday,b=o.focusedDay,g=o.isMonthSwitchingAnimating,y=o.loading,x=o.onSelectedDaysChange,w=o.onMonthSwitchingAnimationEnd,C=o.readOnly,k=o.reduceAnimations,P=o.renderDay,M=o.renderLoading,R=void 0===M?function(){return(0,E.jsx)("span",{children:"..."})}:M,T=o.showDaysOutsideCurrentMonth,D=o.slideDirection,O=o.TransitionProps,j=o.disablePast,N=o.disableFuture,I=o.minDate,A=o.maxDate,B=o.shouldDisableDate,L=o.dayOfWeekFormatter,z=void 0===L?di:L,W=o.hasFocus,V=o.onFocusedViewChange,H=o.gridLabelId,q=Io({shouldDisableDate:B,minDate:I,maxDate:A,disablePast:j,disableFuture:N}),K=i.useState((function(){return b||t})),_=(0,G.Z)(K,2),Y=_[0],U=_[1],X=i.useCallback((function(e){V&&V(e)}),[V]),$=i.useCallback((function(e){C||x(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"finish")}),[x,C]),J=i.useCallback((function(e){q(e)||(l(e),U(e),X(!0))}),[q,l,X]),Q=(0,F.Z)();function ee(e,t){switch(e.key){case"ArrowUp":J(n.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":J(n.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":var r=n.addDays(t,"ltr"===Q.direction?-1:1),o="ltr"===Q.direction?n.getPreviousMonth(t):n.getNextMonth(t),i=h({utils:n,date:r,minDate:"ltr"===Q.direction?n.startOfMonth(o):r,maxDate:"ltr"===Q.direction?r:n.endOfMonth(o),isDateDisabled:q});J(i||r),e.preventDefault();break;case"ArrowRight":var a=n.addDays(t,"ltr"===Q.direction?1:-1),s="ltr"===Q.direction?n.getNextMonth(t):n.getPreviousMonth(t),l=h({utils:n,date:a,minDate:"ltr"===Q.direction?a:n.startOfMonth(s),maxDate:"ltr"===Q.direction?n.endOfMonth(s):a,isDateDisabled:q});J(l||a),e.preventDefault();break;case"Home":J(n.startOfWeek(t)),e.preventDefault();break;case"End":J(n.endOfWeek(t)),e.preventDefault();break;case"PageUp":J(n.getNextMonth(t)),e.preventDefault();break;case"PageDown":J(n.getPreviousMonth(t)),e.preventDefault()}}function te(e,t){J(t)}function ne(e,t){W&&n.isSameDay(Y,t)&&X(!1)}var re=n.getMonth(d),oe=p.filter((function(e){return!!e})).map((function(e){return n.startOfDay(e)})),ie=re,ae=i.useMemo((function(){return i.createRef()}),[ie]),se=n.startOfWeek(t),le=i.useMemo((function(){var e=n.startOfMonth(d),t=n.endOfMonth(d);return q(Y)||n.isAfterDay(Y,t)||n.isBeforeDay(Y,e)?h({utils:n,date:Y,minDate:e,maxDate:t,disablePast:j,disableFuture:N,isDateDisabled:q}):Y}),[d,N,j,Y,q,n]);return(0,E.jsxs)("div",{role:"grid","aria-labelledby":H,children:[(0,E.jsx)(pi,{role:"row",className:s.header,children:n.getWeekdays().map((function(e,t){var r;return(0,E.jsx)(fi,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(se,t),"weekday"),className:s.weekDayLabel,children:null!=(r=null==z?void 0:z(e))?r:e},e+t.toString())}))}),y?(0,E.jsx)(hi,{className:s.loadingContainer,children:R()}):(0,E.jsx)(vi,(0,r.Z)({transKey:ie,onExited:w,reduceAnimations:k,slideDirection:D,className:S(u,s.slideTransition)},O,{nodeRef:ae,children:(0,E.jsx)(mi,{ref:ae,role:"rowgroup",className:s.monthContainer,children:n.getWeekArray(d).map((function(e){return(0,E.jsx)(bi,{role:"row",className:s.weekContainer,children:e.map((function(e){var o=null!==le&&n.isSameDay(e,le),a=oe.some((function(t){return n.isSameDay(t,e)})),s=n.isSameDay(e,t),l={key:null==e?void 0:e.toString(),day:e,isAnimating:g,disabled:v||q(e),autoFocus:W&&o,today:s,outsideCurrentMonth:n.getMonth(e)!==re,selected:a,disableHighlightToday:m,showDaysOutsideCurrentMonth:T,onKeyDown:ee,onFocus:te,onBlur:ne,onDaySelect:$,tabIndex:o?0:-1,role:"gridcell","aria-selected":a};return s&&(l["aria-current"]="date"),P?P(e,oe,l):(0,i.createElement)(Qo,(0,r.Z)({},l,{key:l.key}))}))},"week-".concat(e[0]))}))})}))]})}var yi=function(e){return(0,k.Z)("MuiPickersCalendarHeader",e)},xi=((0,P.Z)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),(0,x.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30})),Zi=(0,x.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:function(e,t){return t.labelContainer}})((function(e){var t=e.theme;return(0,r.Z)({display:"flex",maxHeight:30,overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})})),wi=(0,x.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:function(e,t){return t.label}})({marginRight:6}),Si=(0,x.ZP)(We,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:function(e,t){return t.switchViewButton}})({marginRight:"auto"}),Ci=(0,x.ZP)(He,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:function(e,t){return t.switchViewIcon}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"},"year"===n.openView&&{transform:"rotate(180deg)"})})),ki=function(){};function Pi(e){var t=(0,a.Z)({props:e,name:"MuiPickersCalendarHeader"}),n=t.components,o=void 0===n?{}:n,s=t.componentsProps,l=void 0===s?{}:s,u=t.currentMonth,d=t.disabled,f=t.disableFuture,h=t.disablePast,v=t.getViewSwitchingButtonText,m=t.leftArrowButtonText,b=t.maxDate,g=t.minDate,y=t.onMonthChange,x=t.onViewChange,w=t.openView,S=t.reduceAnimations,C=t.rightArrowButtonText,k=t.views,P=t.labelId;ki({leftArrowButtonText:m,rightArrowButtonText:C,getViewSwitchingButtonText:v});var M=p(),R=null!=m?m:M.previousMonth,T=null!=C?C:M.nextMonth,D=null!=v?v:M.calendarViewSwitchingButtonAriaLabel,O=c(),j=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},yi,t)}(t),N=l.switchViewButton||{},I=function(e,t){var n=t.disableFuture,r=t.maxDate,o=c();return i.useMemo((function(){var t=o.date(),i=o.startOfMonth(n&&o.isBefore(t,r)?t:r);return!o.isAfter(i,e)}),[n,r,e,o])}(u,{disableFuture:f,maxDate:b}),A=function(e,t){var n=t.disablePast,r=t.minDate,o=c();return i.useMemo((function(){var t=o.date(),i=o.startOfMonth(n&&o.isAfter(t,r)?t:r);return!o.isBefore(i,e)}),[n,r,e,o])}(u,{disablePast:h,minDate:g});if(1===k.length&&"year"===k[0])return null;var F=t;return(0,E.jsxs)(xi,{ownerState:F,className:j.root,children:[(0,E.jsxs)(Zi,{role:"presentation",onClick:function(){if(1!==k.length&&x&&!d)if(2===k.length)x(k.find((function(e){return e!==w}))||k[0]);else{var e=0!==k.indexOf(w)?0:1;x(k[e])}},ownerState:F,"aria-live":"polite",className:j.labelContainer,children:[(0,E.jsx)(Vo,{reduceAnimations:S,transKey:O.format(u,"monthAndYear"),children:(0,E.jsx)(wi,{id:P,ownerState:F,className:j.label,children:O.format(u,"monthAndYear")})}),k.length>1&&!d&&(0,E.jsx)(Si,(0,r.Z)({size:"small",as:o.SwitchViewButton,"aria-label":D(w),className:j.switchViewButton},N,{children:(0,E.jsx)(Ci,{as:o.SwitchViewIcon,ownerState:F,className:j.switchViewIcon})}))]}),(0,E.jsx)(Fo.Z,{in:"day"===w,children:(0,E.jsx)(co,{leftArrowButtonText:R,rightArrowButtonText:T,components:o,componentsProps:l,onLeftClick:function(){return y(O.getPreviousMonth(u),"right")},onRightClick:function(){return y(O.getNextMonth(u),"left")},isLeftDisabled:A,isRightDisabled:I})})]})}var Mi=n(88637);function Ri(e){return(0,k.Z)("PrivatePickersYear",e)}var Ei=(0,P.Z)("PrivatePickersYear",["root","modeDesktop","modeMobile","yearButton","selected","disabled"]),Ti=["autoFocus","className","children","disabled","onClick","onKeyDown","value","tabIndex","onFocus","onBlur"],Di=(0,x.ZP)("div",{name:"PrivatePickersYear",slot:"Root",overridesResolver:function(e,t){return[t.root,(0,y.Z)({},"&.".concat(Ei.modeDesktop),t.modeDesktop),(0,y.Z)({},"&.".concat(Ei.modeMobile),t.modeMobile)]}})((function(e){var t=e.ownerState;return(0,r.Z)({flexBasis:"33.3%",display:"flex",alignItems:"center",justifyContent:"center"},"desktop"===(null==t?void 0:t.wrapperVariant)&&{flexBasis:"25%"})})),Oi=(0,x.ZP)("button",{name:"PrivatePickersYear",slot:"Button",overridesResolver:function(e,t){return[t.button,(0,y.Z)({},"&.".concat(Ei.disabled),t.disabled),(0,y.Z)({},"&.".concat(Ei.selected),t.selected)]}})((function(e){var t,n=e.theme;return(0,r.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},n.typography.subtitle1,(t={margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:(0,X.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)}},(0,y.Z)(t,"&.".concat(Ei.disabled),{color:n.palette.text.secondary}),(0,y.Z)(t,"&.".concat(Ei.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,"&:focus, &:hover":{backgroundColor:n.palette.primary.dark}}),t))})),ji=function(){},Ni=i.forwardRef((function(e,t){var n=e.autoFocus,a=e.className,s=e.children,l=e.disabled,u=e.onClick,c=e.onKeyDown,d=e.value,p=e.tabIndex,f=e.onFocus,h=void 0===f?ji:f,v=e.onBlur,m=void 0===v?ji:v,b=(0,o.Z)(e,Ti),g=i.useRef(null),y=(0,$.Z)(g,t),x=i.useContext(kt),w=(0,r.Z)({},e,{wrapperVariant:x}),C=function(e){var t=e.wrapperVariant,n=e.disabled,r=e.selected,o=e.classes,i={root:["root",t&&"mode".concat((0,Ae.Z)(t))],yearButton:["yearButton",n&&"disabled",r&&"selected"]};return(0,Z.Z)(i,Ri,o)}(w);return i.useEffect((function(){n&&g.current.focus()}),[n]),(0,E.jsx)(Di,{className:S(C.root,a),ownerState:w,children:(0,E.jsx)(Oi,(0,r.Z)({ref:y,disabled:l,type:"button",tabIndex:l?-1:p,onClick:function(e){return u(e,d)},onKeyDown:function(e){return c(e,d)},onFocus:function(e){return h(e,d)},onBlur:function(e){return m(e,d)},className:C.yearButton,ownerState:w},b,{children:s}))})}));function Ii(e){return(0,k.Z)("MuiYearPicker",e)}(0,P.Z)("MuiYearPicker",["root"]);var Ai=(0,x.ZP)("div",{name:"MuiYearPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",maxHeight:"304px"}),Fi=i.forwardRef((function(e,t){var n=f(),o=(0,F.Z)(),s=c(),l=function(e,t){var n=c(),o=d(),i=(0,a.Z)({props:e,name:t});return(0,r.Z)({disablePast:!1,disableFuture:!1},i,{minDate:v(n,i.minDate,o.minDate),maxDate:v(n,i.maxDate,o.maxDate)})}(e,"MuiYearPicker"),u=l.autoFocus,p=l.className,h=l.date,m=l.disabled,b=l.disableFuture,g=l.disablePast,y=l.maxDate,x=l.minDate,w=l.onChange,C=l.readOnly,k=l.shouldDisableYear,P=l.disableHighlightToday,M=l.onYearFocus,R=l.hasFocus,T=l.onFocusedViewChange,D=l,O=function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},Ii,t)}(D),j=i.useMemo((function(){return null!=h?h:s.startOfYear(n)}),[n,s,h]),N=i.useMemo((function(){return null!=h?s.getYear(h):P?null:s.getYear(n)}),[n,h,s,P]),I=i.useContext(kt),A=i.useRef(null),B=i.useState((function(){return N||s.getYear(n)})),L=(0,G.Z)(B,2),z=L[0],W=L[1],V=(0,Mi.Z)({name:"YearPicker",state:"hasFocus",controlled:R,default:u}),H=(0,G.Z)(V,2),q=H[0],K=H[1],_=i.useCallback((function(e){K(e),T&&T(e)}),[K,T]),Y=i.useCallback((function(e){return!(!g||!s.isBeforeYear(e,n))||(!(!b||!s.isAfterYear(e,n))||(!(!x||!s.isBeforeYear(e,x))||(!(!y||!s.isAfterYear(e,y))||!(!k||!k(e)))))}),[b,g,y,x,n,k,s]),U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"finish";if(!C){var r=s.setYear(j,t);w(r,n)}},X=i.useCallback((function(e){Y(s.setYear(j,e))||(W(e),_(!0),null==M||M(e))}),[Y,s,j,_,M]);i.useEffect((function(){W((function(e){return null!==N&&e!==N?N:e}))}),[N]);var J="desktop"===I?4:3,Q=i.useCallback((function(e,t){switch(e.key){case"ArrowUp":X(t-J),e.preventDefault();break;case"ArrowDown":X(t+J),e.preventDefault();break;case"ArrowLeft":X(t+("ltr"===o.direction?-1:1)),e.preventDefault();break;case"ArrowRight":X(t+("ltr"===o.direction?1:-1)),e.preventDefault()}}),[X,o.direction,J]),ee=i.useCallback((function(e,t){X(t)}),[X]),te=i.useCallback((function(e,t){z===t&&_(!1)}),[z,_]),ne=s.getYear(n),re=i.useRef(null),oe=(0,$.Z)(t,re);return i.useEffect((function(){if(!u&&null!==re.current){var e=re.current.querySelector('[tabindex="0"]');if(e){var t=e.offsetHeight,n=e.offsetTop,r=re.current.clientHeight,o=re.current.scrollTop,i=n+t;t>r||n1&&(o=t,i=n),n=Math.max(i,n),t=Math.max(t,o)}return t};if(!0===e.mask&&u&&!d){var g=b(i),y=v(i.substr(g))[0];g=i.indexOf(y,g),i="".concat(i.substr(0,g)).concat(i.substr(g+1))}var x=e.format(i);null==a||l.selectionStart!==i.length||d||(u?x=a(x):""===v(x.slice(-1))&&(x=x.slice(0,-1)));var Z=o?o(x):x;return s===Z?n():e.onChange(Z),function(){var t=b(x);if(null!=e.mask&&(u||c&&!p))for(;x[t]&&""===v(x[t]);)t+=1;l.selectionStart=l.selectionEnd=t+(p?1+h:0)}}})),(0,i.useEffect)((function(){var e=function(e){"Delete"===e.code&&(l.current=!0)},t=function(e){"Delete"===e.code&&(l.current=!1)};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),function(){document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),{value:null!=r.current?r.current[0]:s,onChange:function(t){var o=t.target.value;r.current=[o,t.target,o.length>s.length,l.current,s===e.format(o)],n()}}},_i=function(e,t,n){var r=e.date(t);return null===t?"":e.isValid(r)?e.formatByString(r,n):""},Yi="_",Ui="2019-11-21T22:30:00.000",Xi="2019-01-01T09:00:00.000";function Gi(e,t,n,r){if(!e)return!1;var o=r.formatByString(r.date(Xi),t).replace(n,Yi),i=r.formatByString(r.date(Ui),t).replace(n,"_"),a=i===o&&e===i;return!a&&r.lib,a}var $i=function(e){var t=e.acceptRegex,n=void 0===t?/[\d]/gi:t,o=e.disabled,a=e.disableMaskedInput,s=e.ignoreInvalidInputs,l=e.inputFormat,u=e.inputProps,d=e.label,p=e.mask,f=e.onChange,h=e.rawValue,v=e.readOnly,m=e.rifmFormatter,b=e.TextFieldProps,g=e.validationError,y=c(),x=y.getFormatHelperText(l),Z=i.useMemo((function(){if(a)return{shouldUseMaskedInput:!1,maskToUse:""};var e=function(e,t,n,r){if(e)return e;var o=r.formatByString(r.date(Xi),t).replace(n,Yi);return o===r.formatByString(r.date(Ui),t).replace(n,"_")?o:""}(p,l,n,y);return{shouldUseMaskedInput:Gi(e,l,n,y),maskToUse:e}}),[n,a,l,p,y]),w=Z.shouldUseMaskedInput,S=Z.maskToUse,C=i.useMemo((function(){return w&&S?function(e,t){return function(n){var r=0;return n.split("").map((function(o,i){if(t.lastIndex=0,r>e.length-1)return"";var a=e[r],s=e[r+1],l=t.test(o)?o:"",u=a===Yi?l:a+l;return r+=u.length,i===n.length-1&&s&&s!==Yi?u?u+s:"":u})).join("")}}(S,n):function(e){return e}}),[n,S,w]),k=null===h?null:y.date(h),P=i.useState(k),M=(0,G.Z)(P,2),R=M[0],E=M[1],T=i.useState(_i(y,h,l)),D=(0,G.Z)(T,2),O=D[0],j=D[1],N=i.useRef(),I=i.useRef(y.locale),A=i.useRef(l);i.useEffect((function(){var e=h!==N.current,t=y.locale!==I.current,n=l!==A.current;if(N.current=h,I.current=y.locale,A.current=l,e||t||n){var r=null===h?null:y.date(h),o=null===h||y.isValid(r),i=null===R&&null===r;if(null!==R&&null!==r){var a=y.isEqual(R,r);if(a)i=!0;else{var s=Math.abs(y.getDiff(R,r));i=0===s?a:s<1e3}}if(t||n||o&&!i){var u=_i(y,h,l);E(r),j(u)}}}),[y,h,l,R]);var F=function(e){var t=""===e||e===p?"":e;j(t);var n=null===t?null:y.parse(t,l);s&&!y.isValid(n)||(E(n),f(n,t||void 0))},B=Ki({value:O,onChange:F,format:m||C}),L=w?B:{value:O,onChange:function(e){F(e.currentTarget.value)}};return(0,r.Z)({label:d,disabled:o,error:g,inputProps:(0,r.Z)({},L,{disabled:o,placeholder:x,readOnly:v,type:w?"tel":"text"},u)},b)},Ji=["className","components","disableOpenPicker","getOpenDialogAriaText","InputAdornmentProps","InputProps","inputRef","openPicker","OpenPickerButtonProps","renderInput"],Qi=i.forwardRef((function(e,t){var n=e.className,i=e.components,a=void 0===i?{}:i,s=e.disableOpenPicker,l=e.getOpenDialogAriaText,u=e.InputAdornmentProps,d=e.InputProps,f=e.inputRef,h=e.openPicker,v=e.OpenPickerButtonProps,m=e.renderInput,b=(0,o.Z)(e,Ji),g=p(),x=null!=l?l:g.openDatePickerDialogue,Z=c(),w=$i(b),S=(null==u?void 0:u.position)||"end",C=a.OpenPickerIcon||_e;return m((0,r.Z)({ref:t,inputRef:f,className:n},w,{InputProps:(0,r.Z)({},d,(0,y.Z)({},"".concat(S,"Adornment"),s?void 0:(0,E.jsx)(qi.Z,(0,r.Z)({position:S},u,{children:(0,E.jsx)(We,(0,r.Z)({edge:S,disabled:b.disabled||b.readOnly,"aria-label":x(b.rawValue,Z)},v,{onClick:h,children:(0,E.jsx)(C,{})}))}))))}))}));function ea(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}function ta(e){return(0,k.Z)("MuiCalendarOrClockPicker",e)}(0,P.Z)("MuiCalendarOrClockPicker",["root","mobileKeyboardInputView"]);var na=["autoFocus","className","parsedValue","DateInputProps","isMobileKeyboardViewOpen","onDateChange","onViewChange","openTo","orientation","showToolbar","toggleMobileKeyboardView","ToolbarComponent","toolbarFormat","toolbarPlaceholder","toolbarTitle","views","dateRangeIcon","timeIcon","hideTabs","classes"],ra=(0,x.ZP)("div",{name:"MuiCalendarOrClockPicker",slot:"MobileKeyboardInputView",overridesResolver:function(e,t){return t.mobileKeyboardInputView}})({padding:"16px 24px"}),oa=(0,x.ZP)("div",{name:"MuiCalendarOrClockPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex",flexDirection:"column"},t.isLandscape&&{flexDirection:"row"})})),ia={fullWidth:!0},aa=function(e){return"year"===e||"month"===e||"day"===e},sa=function(e){return"hours"===e||"minutes"===e||"seconds"===e};function la(e){var t,n,s=(0,a.Z)({props:e,name:"MuiCalendarOrClockPicker"}),l=s.autoFocus,u=s.parsedValue,c=s.DateInputProps,d=s.isMobileKeyboardViewOpen,p=s.onDateChange,f=s.onViewChange,h=s.openTo,v=s.orientation,m=s.showToolbar,b=s.toggleMobileKeyboardView,g=s.ToolbarComponent,y=void 0===g?function(){return null}:g,x=s.toolbarFormat,w=s.toolbarPlaceholder,S=s.toolbarTitle,C=s.views,k=s.dateRangeIcon,P=s.timeIcon,M=s.hideTabs,R=(0,o.Z)(s,na),T=null==(t=R.components)?void 0:t.Tabs,D=function(e,t){var n=i.useState(ea),r=(0,G.Z)(n,2),o=r[0],a=r[1];return(0,Et.Z)((function(){var e=function(){a(ea())};return window.addEventListener("orientationchange",e),function(){window.removeEventListener("orientationchange",e)}}),[]),!yr(e,["hours","minutes","seconds"])&&"landscape"===(t||o)}(C,v),O=i.useContext(kt),j=function(e){var t=e.classes;return(0,Z.Z)({root:["root"],mobileKeyboardInputView:["mobileKeyboardInputView"]},ta,t)}(s),N=null!=m?m:"desktop"!==O,I=!M&&"undefined"!==typeof window&&window.innerHeight>667,A=i.useCallback((function(e,t){p(e,O,t)}),[p,O]);var F=Er({view:void 0,views:C,openTo:h,onChange:A,onViewChange:i.useCallback((function(e){d&&b(),f&&f(e)}),[d,f,b])}),B=F.openView,L=F.setOpenView,z=F.handleChangeAndOpenNext,W=function(e){var t=e.autoFocus,n=e.openView,r=i.useState(t?n:null),o=(0,G.Z)(r,2),a=o[0],s=o[1];return{focusedView:a,setFocusedView:i.useCallback((function(e){return function(t){s(t?e:function(t){return e===t?null:t})}}),[])}}({autoFocus:l,openView:B}),V=W.focusedView,H=W.setFocusedView;return(0,E.jsxs)(oa,{ownerState:{isLandscape:D},className:j.root,children:[N&&(0,E.jsx)(y,(0,r.Z)({},R,{views:C,isLandscape:D,parsedValue:u,onChange:A,setOpenView:L,openView:B,toolbarTitle:S,toolbarFormat:x,toolbarPlaceholder:w,isMobileKeyboardViewOpen:d,toggleMobileKeyboardView:b})),I&&!!T&&(0,E.jsx)(T,(0,r.Z)({dateRangeIcon:k,timeIcon:P,view:B,onChange:L},null==(n=R.componentsProps)?void 0:n.tabs)),(0,E.jsx)(bo,{children:d?(0,E.jsx)(ra,{className:j.mobileKeyboardInputView,children:(0,E.jsx)(Qi,(0,r.Z)({},c,{ignoreInvalidInputs:!0,disableOpenPicker:!0,TextFieldProps:ia}))}):(0,E.jsxs)(i.Fragment,{children:[aa(B)&&(0,E.jsx)(Hi,(0,r.Z)({autoFocus:l,date:u,onViewChange:L,onChange:z,view:B,views:C.filter(aa),focusedView:V,onFocusedViewChange:H},R)),sa(B)&&(0,E.jsx)(Zo,(0,r.Z)({},R,{autoFocus:l,date:u,view:B,views:C.filter(sa),onChange:z,onViewChange:L,showViewSwitcher:"desktop"===O}))]})})]})}var ua=function(e){var t=e.adapter,n=e.value,r=e.props,o=r.minTime,i=r.maxTime,a=r.minutesStep,s=r.shouldDisableTime,l=r.disableIgnoringDatePartForTimeValidation,u=t.utils.date(n),c=ho(l,t.utils);if(null===n)return null;switch(!0){case!t.utils.isValid(n):return"invalidDate";case Boolean(o&&c(o,u)):return"minTime";case Boolean(i&&c(u,i)):return"maxTime";case Boolean(s&&s(t.utils.getHours(u),"hours")):return"shouldDisableTime-hours";case Boolean(s&&s(t.utils.getMinutes(u),"minutes")):return"shouldDisableTime-minutes";case Boolean(s&&s(t.utils.getSeconds(u),"seconds")):return"shouldDisableTime-seconds";case Boolean(a&&t.utils.getMinutes(u)%a!==0):return"minutesStep";default:return null}},ca=["minDate","maxDate","disableFuture","shouldDisableDate","disablePast"],da=function(e){var t=e.props,n=e.value,r=e.adapter,i=t.minDate,a=t.maxDate,s=t.disableFuture,l=t.shouldDisableDate,u=t.disablePast,c=(0,o.Z)(t,ca),d=No({adapter:r,value:n,props:{minDate:i,maxDate:a,disableFuture:s,shouldDisableDate:l,disablePast:u}});return null!==d?d:ua({adapter:r,value:n,props:c})},pa=function(e,t){return e===t};function fa(e){return function(e,t,n){var r=e.value,o=e.onError,a=u(),s=i.useRef(null),l=t({adapter:a,value:r,props:e});return i.useEffect((function(){o&&!n(l,s.current)&&o(l,r),s.current=l}),[n,o,s,l,r]),l}(e,da,pa)}var ha=function(e,t){var n=e.onAccept,o=e.onChange,a=e.value,s=e.closeOnSelect,l=c(),u=function(e){var t=e.open,n=e.onOpen,r=e.onClose,o=i.useRef("boolean"===typeof t).current,a=i.useState(!1),s=(0,G.Z)(a,2),l=s[0],u=s[1];return i.useEffect((function(){if(o){if("boolean"!==typeof t)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");u(t)}}),[o,t]),{isOpen:l,setIsOpen:i.useCallback((function(e){o||u(e),e&&n&&n(),!e&&r&&r()}),[o,n,r])}}(e),d=u.isOpen,p=u.setIsOpen,f=i.useMemo((function(){return t.parseInput(l,a)}),[t,l,a]),h=i.useState(f),v=(0,G.Z)(h,2),m=v[0],b=v[1],g=i.useState((function(){return{committed:f,draft:f,resetFallback:f}})),y=(0,G.Z)(g,2),x=y[0],Z=y[1],w=i.useCallback((function(e){Z((function(t){switch(e.action){case"setAll":case"acceptAndClose":return{draft:e.value,committed:e.value,resetFallback:e.value};case"setCommitted":return(0,r.Z)({},t,{draft:e.value,committed:e.value});case"setDraft":return(0,r.Z)({},t,{draft:e.value});default:return t}})),(e.forceOnChangeCall||!e.skipOnChangeCall&&!t.areValuesEqual(l,x.committed,e.value))&&o(e.value),"acceptAndClose"===e.action&&(p(!1),n&&!t.areValuesEqual(l,x.resetFallback,e.value)&&n(e.value))}),[n,o,p,x,l,t]);i.useEffect((function(){l.isValid(f)&&b(f)}),[l,f]),i.useEffect((function(){d&&w({action:"setAll",value:f,skipOnChangeCall:!0})}),[d]),t.areValuesEqual(l,x.committed,f)||w({action:"setCommitted",value:f,skipOnChangeCall:!0});var S=i.useMemo((function(){return{open:d,onClear:function(){w({value:t.emptyValue,action:"acceptAndClose",forceOnChangeCall:!t.areValuesEqual(l,a,t.emptyValue)})},onAccept:function(){w({value:x.draft,action:"acceptAndClose",forceOnChangeCall:!t.areValuesEqual(l,a,f)})},onDismiss:function(){w({value:x.committed,action:"acceptAndClose"})},onCancel:function(){w({value:x.resetFallback,action:"acceptAndClose"})},onSetToday:function(){w({value:t.getTodayValue(l),action:"acceptAndClose"})}}}),[w,d,l,x,t,a,f]),C=i.useState(!1),k=(0,G.Z)(C,2),P=k[0],M=k[1],R=i.useMemo((function(){return{parsedValue:x.draft,isMobileKeyboardViewOpen:P,toggleMobileKeyboardView:function(){return M(!P)},onDateChange:function(e,t){switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"partial"){case"shallow":return w({action:"setDraft",value:e,skipOnChangeCall:!0});case"partial":return w({action:"setDraft",value:e});case"finish":return w((null!=s?s:"desktop"===t)?{value:e,action:"acceptAndClose"}:{value:e,action:"setCommitted"});default:throw new Error("MUI: Invalid selectionState passed to `onDateChange`")}}}}),[w,P,x.draft,s]),E=i.useCallback((function(e,n){var r=t.valueReducer?t.valueReducer(l,m,e):e;o(r,n)}),[o,t,m,l]),T={pickerProps:R,inputProps:i.useMemo((function(){return{onChange:E,open:d,rawValue:a,openPicker:function(){return p(!0)}}}),[E,d,a,p]),wrapperProps:S};return i.useDebugValue(T,(function(){return{MuiPickerState:{dateState:x,other:T}}})),T};function va(e){return(0,k.Z)("MuiTab",e)}var ma,ba=(0,P.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),ga=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],ya=(0,x.ZP)(Ie,{name:"MuiTab",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor".concat((0,Ae.Z)(n.textColor))],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((function(e){var t,n,o,i=e.theme,a=e.ownerState;return(0,r.Z)({},i.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},a.label&&{flexDirection:"top"===a.iconPosition||"bottom"===a.iconPosition?"column":"row"},{lineHeight:1.25},a.icon&&a.label&&(0,y.Z)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(ba.iconWrapper),(0,r.Z)({},"top"===a.iconPosition&&{marginBottom:6},"bottom"===a.iconPosition&&{marginTop:6},"start"===a.iconPosition&&{marginRight:i.spacing(1)},"end"===a.iconPosition&&{marginLeft:i.spacing(1)})),"inherit"===a.textColor&&(t={color:"inherit",opacity:.6},(0,y.Z)(t,"&.".concat(ba.selected),{opacity:1}),(0,y.Z)(t,"&.".concat(ba.disabled),{opacity:(i.vars||i).palette.action.disabledOpacity}),t),"primary"===a.textColor&&(n={color:(i.vars||i).palette.text.secondary},(0,y.Z)(n,"&.".concat(ba.selected),{color:(i.vars||i).palette.primary.main}),(0,y.Z)(n,"&.".concat(ba.disabled),{color:(i.vars||i).palette.text.disabled}),n),"secondary"===a.textColor&&(o={color:(i.vars||i).palette.text.secondary},(0,y.Z)(o,"&.".concat(ba.selected),{color:(i.vars||i).palette.secondary.main}),(0,y.Z)(o,"&.".concat(ba.disabled),{color:(i.vars||i).palette.text.disabled}),o),a.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},a.wrapped&&{fontSize:i.typography.pxToRem(12)})})),xa=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiTab"}),s=n.className,l=n.disabled,u=void 0!==l&&l,c=n.disableFocusRipple,d=void 0!==c&&c,p=n.fullWidth,f=n.icon,h=n.iconPosition,v=void 0===h?"top":h,m=n.indicator,b=n.label,g=n.onChange,y=n.onClick,x=n.onFocus,w=n.selected,S=n.selectionFollowsFocus,C=n.textColor,k=void 0===C?"inherit":C,P=n.value,M=n.wrapped,R=void 0!==M&&M,T=(0,o.Z)(n,ga),D=(0,r.Z)({},n,{disabled:u,disableFocusRipple:d,selected:w,icon:!!f,iconPosition:v,label:!!b,fullWidth:p,textColor:k,wrapped:R}),O=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,o=e.wrapped,i=e.icon,a=e.label,s=e.selected,l=e.disabled,u={root:["root",i&&a&&"labelIcon","textColor".concat((0,Ae.Z)(n)),r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,Z.Z)(u,va,t)}(D),j=f&&b&&i.isValidElement(f)?i.cloneElement(f,{className:(0,N.Z)(O.iconWrapper,f.props.className)}):f;return(0,E.jsxs)(ya,(0,r.Z)({focusRipple:!d,className:(0,N.Z)(O.root,s),ref:t,role:"tab","aria-selected":w,disabled:u,onClick:function(e){!w&&g&&g(e,P),y&&y(e)},onFocus:function(e){S&&!w&&g&&g(e,P),x&&x(e)},ownerState:D,tabIndex:w?0:-1},T,{children:["top"===v||"start"===v?(0,E.jsxs)(i.Fragment,{children:[j,b]}):(0,E.jsxs)(i.Fragment,{children:[b,j]}),m]}))})),Za=(n(57441),n(83199));function wa(){if(ma)return ma;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),ma="reverse",e.scrollLeft>0?ma="default":(e.scrollLeft=1,0===e.scrollLeft&&(ma="negative")),document.body.removeChild(e),ma}function Sa(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(wa()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Ca(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var ka=n(17602),Pa=["onChange"],Ma={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var Ra=(0,Ve.Z)((0,E.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Ea=(0,Ve.Z)((0,E.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Ta(e){return(0,k.Z)("MuiTabScrollButton",e)}var Da=(0,P.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Oa=["className","slots","slotProps","direction","orientation","disabled"],ja=(0,x.ZP)(Ie,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.orientation&&t[n.orientation]]}})((function(e){var t=e.ownerState;return(0,r.Z)((0,y.Z)({width:40,flexShrink:0,opacity:.8},"&.".concat(Da.disabled),{opacity:0}),"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),Na=i.forwardRef((function(e,t){var n,i,s=(0,a.Z)({props:e,name:"MuiTabScrollButton"}),l=s.className,u=s.slots,c=void 0===u?{}:u,d=s.slotProps,p=void 0===d?{}:d,f=s.direction,h=(0,o.Z)(s,Oa),v="rtl"===(0,F.Z)().direction,m=(0,r.Z)({isRtl:v},s),b=function(e){var t=e.classes,n={root:["root",e.orientation,e.disabled&&"disabled"]};return(0,Z.Z)(n,Ta,t)}(m),g=null!=(n=c.StartScrollButtonIcon)?n:Ra,y=null!=(i=c.EndScrollButtonIcon)?i:Ea,x=(0,Xn.y)({elementType:g,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),w=(0,Xn.y)({elementType:y,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return(0,E.jsx)(ja,(0,r.Z)({component:"div",className:(0,N.Z)(b.root,l),ref:t,role:null,ownerState:m,tabIndex:null},h,{children:"left"===f?(0,E.jsx)(g,(0,r.Z)({},x)):(0,E.jsx)(y,(0,r.Z)({},w))}))}));function Ia(e){return(0,k.Z)("MuiTabs",e)}var Aa=(0,P.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Fa=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Ba=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},La=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},za=function(e,t,n){for(var r=!1,o=n(e,t);o;){if(o===e.firstChild){if(r)return;r=!0}var i=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!i)return void o.focus();o=n(e,o)}},Wa=(0,x.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,y.Z)({},"& .".concat(Aa.scrollButtons),t.scrollButtons),(0,y.Z)({},"& .".concat(Aa.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,y.Z)({},"& .".concat(Aa.scrollButtons),(0,y.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),Va=(0,x.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,r.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),Ha=(0,x.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),qa=(0,x.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),Ka=(0,x.ZP)((function(e){var t=e.onChange,n=(0,o.Z)(e,Pa),a=i.useRef(),s=i.useRef(null),l=function(){a.current=s.current.offsetHeight-s.current.clientHeight};return(0,So.Z)((function(){var e=(0,Za.Z)((function(){var e=a.current;l(),e!==a.current&&t(a.current)})),n=(0,ka.Z)(s.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),i.useEffect((function(){l(),t(a.current)}),[t]),(0,E.jsx)("div",(0,r.Z)({style:Ma,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),_a={},Ya=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiTabs"}),s=(0,F.Z)(),l="rtl"===s.direction,u=n["aria-label"],c=n["aria-labelledby"],d=n.action,p=n.centered,f=void 0!==p&&p,h=n.children,v=n.className,m=n.component,b=void 0===m?"div":m,g=n.allowScrollButtonsMobile,x=void 0!==g&&g,w=n.indicatorColor,S=void 0===w?"primary":w,C=n.onChange,k=n.orientation,P=void 0===k?"horizontal":k,M=n.ScrollButtonComponent,R=void 0===M?Na:M,T=n.scrollButtons,D=void 0===T?"auto":T,O=n.selectionFollowsFocus,j=n.slots,I=void 0===j?{}:j,A=n.slotProps,B=void 0===A?{}:A,L=n.TabIndicatorProps,z=void 0===L?{}:L,W=n.TabScrollButtonProps,V=void 0===W?{}:W,H=n.textColor,q=void 0===H?"primary":H,K=n.value,_=n.variant,Y=void 0===_?"standard":_,U=n.visibleScrollbar,X=void 0!==U&&U,$=(0,o.Z)(n,Fa),Q="scrollable"===Y,ee="vertical"===P,te=ee?"scrollTop":"scrollLeft",ne=ee?"top":"left",re=ee?"bottom":"right",oe=ee?"clientHeight":"clientWidth",ie=ee?"height":"width",ae=(0,r.Z)({},n,{component:b,allowScrollButtonsMobile:x,indicatorColor:S,orientation:P,vertical:ee,scrollButtons:D,textColor:q,variant:Y,visibleScrollbar:X,fixed:!Q,hideScrollbar:Q&&!X,scrollableX:Q&&!ee,scrollableY:Q&&ee,centered:f&&!Q,scrollButtonsHideMobile:!x}),se=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,o=e.scrollableX,i=e.scrollableY,a=e.centered,s=e.scrollButtonsHideMobile,l=e.classes,u={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,Z.Z)(u,Ia,l)}(ae),le=(0,Xn.y)({elementType:I.StartScrollButtonIcon,externalSlotProps:B.startScrollButtonIcon,ownerState:ae}),ue=(0,Xn.y)({elementType:I.EndScrollButtonIcon,externalSlotProps:B.endScrollButtonIcon,ownerState:ae});var ce=i.useState(!1),de=(0,G.Z)(ce,2),pe=de[0],fe=de[1],he=i.useState(_a),ve=(0,G.Z)(he,2),me=ve[0],be=ve[1],ge=i.useState(!1),ye=(0,G.Z)(ge,2),xe=ye[0],Ze=ye[1],we=i.useState(!1),Se=(0,G.Z)(we,2),Ce=Se[0],ke=Se[1],Pe=i.useState(!1),Me=(0,G.Z)(Pe,2),Re=Me[0],Ee=Me[1],Te=i.useState({overflow:"hidden",scrollbarWidth:0}),De=(0,G.Z)(Te,2),Oe=De[0],je=De[1],Ne=new Map,Ie=i.useRef(null),Ae=i.useRef(null),Fe=function(){var e,t,n=Ie.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:Sa(n,s.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==K){var o=Ae.current.children;if(o.length>0){var i=o[Ne.get(K)];0,t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Be=(0,J.Z)((function(){var e,t,n=Fe(),r=n.tabsMeta,o=n.tabMeta,i=0;if(ee)t="top",o&&r&&(i=o.top-r.top+r.scrollTop);else if(t=l?"right":"left",o&&r){var a=l?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;i=(l?-1:1)*(o[t]-r[t]+a)}var s=(e={},(0,y.Z)(e,t,i),(0,y.Z)(e,ie,o?o[ie]:0),e);if(isNaN(me[t])||isNaN(me[ie]))be(s);else{var u=Math.abs(me[t]-s[t]),c=Math.abs(me[ie]-s[ie]);(u>=1||c>=1)&&be(s)}})),Le=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).animation;void 0===t||t?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?Ca:i,s=r.duration,l=void 0===s?300:s,u=null,c=t[e],d=!1,p=function(){d=!0};c===n?o(new Error("Element already at target position")):requestAnimationFrame((function r(i){if(d)o(new Error("Animation cancelled"));else{null===u&&(u=i);var s=Math.min(1,(i-u)/l);t[e]=a(s)*(n-c)+c,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}}))}(te,Ie.current,e,{duration:s.transitions.duration.standard}):Ie.current[te]=e},ze=function(e){var t=Ie.current[te];ee?t+=e:(t+=e*(l?-1:1),t*=l&&"reverse"===wa()?-1:1),Le(t)},We=function(){for(var e=Ie.current[oe],t=0,n=Array.from(Ae.current.children),r=0;re){0===r&&(t=e);break}t+=o[oe]}return t},Ve=function(){ze(-1*We())},He=function(){ze(We())},qe=i.useCallback((function(e){je({overflow:null,scrollbarWidth:e})}),[]),Ke=(0,J.Z)((function(e){var t=Fe(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[ne]n[re]){var i=n[te]+(r[re]-n[re]);Le(i,{animation:e})}})),_e=(0,J.Z)((function(){Q&&!1!==D&&Ee(!Re)}));i.useEffect((function(){var e,t=(0,Za.Z)((function(){Ie.current&&Be()})),n=(0,ka.Z)(Ie.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(Ae.current.children).forEach((function(t){e.observe(t)}))),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[Be]),i.useEffect((function(){var e=Array.from(Ae.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&Q&&!1!==D){var n=e[0],r=e[t-1],o={root:Ie.current,threshold:.99},i=new IntersectionObserver((function(e){Ze(!e[0].isIntersecting)}),o);i.observe(n);var a=new IntersectionObserver((function(e){ke(!e[0].isIntersecting)}),o);return a.observe(r),function(){i.disconnect(),a.disconnect()}}}),[Q,D,Re,null==h?void 0:h.length]),i.useEffect((function(){fe(!0)}),[]),i.useEffect((function(){Be()})),i.useEffect((function(){Ke(_a!==me)}),[Ke,me]),i.useImperativeHandle(d,(function(){return{updateIndicator:Be,updateScrollButtons:_e}}),[Be,_e]);var Ye=(0,E.jsx)(qa,(0,r.Z)({},z,{className:(0,N.Z)(se.indicator,z.className),ownerState:ae,style:(0,r.Z)({},me,z.style)})),Ue=0,Xe=i.Children.map(h,(function(e){if(!i.isValidElement(e))return null;var t=void 0===e.props.value?Ue:e.props.value;Ne.set(t,Ue);var n=t===K;return Ue+=1,i.cloneElement(e,(0,r.Z)({fullWidth:"fullWidth"===Y,indicator:n&&!pe&&Ye,selected:n,selectionFollowsFocus:O,onChange:C,textColor:q,value:t},1!==Ue||!1!==K||e.props.tabIndex?{}:{tabIndex:0}))})),Ge=function(){var e={};e.scrollbarSizeListener=Q?(0,E.jsx)(Ka,{onChange:qe,className:(0,N.Z)(se.scrollableX,se.hideScrollbar)}):null;var t=Q&&("auto"===D&&(xe||Ce)||!0===D);return e.scrollButtonStart=t?(0,E.jsx)(R,(0,r.Z)({slots:{StartScrollButtonIcon:I.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:le},orientation:P,direction:l?"right":"left",onClick:Ve,disabled:!xe},V,{className:(0,N.Z)(se.scrollButtons,V.className)})):null,e.scrollButtonEnd=t?(0,E.jsx)(R,(0,r.Z)({slots:{EndScrollButtonIcon:I.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ue},orientation:P,direction:l?"left":"right",onClick:He,disabled:!Ce},V,{className:(0,N.Z)(se.scrollButtons,V.className)})):null,e}();return(0,E.jsxs)(Wa,(0,r.Z)({className:(0,N.Z)(se.root,v),ownerState:ae,ref:t,as:b},$,{children:[Ge.scrollButtonStart,Ge.scrollbarSizeListener,(0,E.jsxs)(Va,{className:se.scroller,ownerState:ae,style:(0,y.Z)({overflow:Oe.overflow},ee?"margin".concat(l?"Left":"Right"):"marginBottom",X?void 0:-Oe.scrollbarWidth),ref:Ie,children:[(0,E.jsx)(Ha,{"aria-label":u,"aria-labelledby":c,"aria-orientation":"vertical"===P?"vertical":null,className:se.flexContainer,ownerState:ae,onKeyDown:function(e){var t=Ae.current,n=(0,dr.Z)(t).activeElement;if("tab"===n.getAttribute("role")){var r="horizontal"===P?"ArrowLeft":"ArrowUp",o="horizontal"===P?"ArrowRight":"ArrowDown";switch("horizontal"===P&&l&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),za(t,n,La);break;case o:e.preventDefault(),za(t,n,Ba);break;case"Home":e.preventDefault(),za(t,null,Ba);break;case"End":e.preventDefault(),za(t,null,La)}}},ref:Ae,role:"tablist",children:Xe}),pe&&Ye]}),Ge.scrollButtonEnd]}))})),Ua=Ya;function Xa(e){return(0,k.Z)("MuiDateTimePickerTabs",e)}(0,P.Z)("MuiDateTimePickerTabs",["root"]);var Ga=(0,x.ZP)(Ua,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)({boxShadow:"0 -1px 0 0 inset ".concat(n.palette.divider)},"desktop"===t.wrapperVariant&&(0,y.Z)({order:1,boxShadow:"0 1px 0 0 inset ".concat(n.palette.divider)},"& .".concat(Aa.indicator),{bottom:"auto",top:0}))})),$a=function(e){var t,n=(0,a.Z)({props:e,name:"MuiDateTimePickerTabs"}),o=n.dateRangeIcon,s=void 0===o?(0,E.jsx)(Ue,{}):o,l=n.onChange,u=n.timeIcon,c=void 0===u?(0,E.jsx)(Ge,{}):u,d=n.view,f=p(),h=i.useContext(kt),v=(0,r.Z)({},n,{wrapperVariant:h}),m=function(e){var t=e.classes;return(0,Z.Z)({root:["root"]},Xa,t)}(v);return(0,E.jsxs)(Ga,{ownerState:v,variant:"fullWidth",value:(t=d,["day","month","year"].includes(t)?"date":"time"),onChange:function(e,t){l("date"===t?"day":"hours")},className:m.root,children:[(0,E.jsx)(xa,{value:"date","aria-label":f.dateTableLabel,icon:(0,E.jsx)(i.Fragment,{children:s})}),(0,E.jsx)(xa,{value:"time","aria-label":f.timeTableLabel,icon:(0,E.jsx)(i.Fragment,{children:c})})]})},Ja=["onChange","PaperProps","PopperProps","ToolbarComponent","TransitionComponent","value","components","componentsProps","hideTabs"],Qa=i.forwardRef((function(e,t){var n=m(e,"MuiDesktopDateTimePicker"),a=null!==fa(n),s=ha(n,b),l=s.pickerProps,u=s.inputProps,c=s.wrapperProps,d=n.PaperProps,p=n.PopperProps,f=n.ToolbarComponent,h=void 0===f?Ct:f,v=n.TransitionComponent,g=n.components,y=n.componentsProps,x=n.hideTabs,Z=void 0===x||x,w=(0,o.Z)(n,Ja),S=i.useMemo((function(){return(0,r.Z)({Tabs:$a},g)}),[g]),C=(0,r.Z)({},u,w,{components:S,componentsProps:y,ref:t,validationError:a});return(0,E.jsx)(Mr,(0,r.Z)({},c,{DateInputProps:C,KeyboardDateInputComponent:Qi,PopperProps:p,PaperProps:d,TransitionComponent:v,components:S,componentsProps:y,children:(0,E.jsx)(la,(0,r.Z)({},l,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:h,DateInputProps:C,components:S,componentsProps:y,hideTabs:Z},w))}))}));function es(e){return(0,k.Z)("MuiDialogContent",e)}(0,P.Z)("MuiDialogContent",["root","dividers"]);var ts=(0,P.Z)("MuiDialogTitle",["root"]),ns=["className","dividers"],rs=(0,x.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,y.Z)({},".".concat(ts.root," + &"),{paddingTop:0}))})),os=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiDialogContent"}),i=n.className,s=n.dividers,l=void 0!==s&&s,u=(0,o.Z)(n,ns),c=(0,r.Z)({},n,{dividers:l}),d=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,Z.Z)(n,es,t)}(c);return(0,E.jsx)(rs,(0,r.Z)({className:(0,N.Z)(d.root,i),ownerState:c,ref:t},u))})),is=n(18252),as=n(88447);function ss(e){return(0,k.Z)("MuiDialog",e)}var ls=(0,P.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var us,cs=i.createContext({}),ds=n(52739),ps=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],fs=(0,x.ZP)(ds.Z,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),hs=(0,x.ZP)(as.Z,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),vs=(0,x.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,Ae.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,r.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),ms=(0,x.ZP)(Mt.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,Ae.Z)(n.scroll))],t["paperWidth".concat((0,Ae.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,y.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)")},"&.".concat(ls.paperScrollBody),(0,y.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&(0,y.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(ls.paperScrollBody),(0,y.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,y.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(ls.paperScrollBody),{margin:0,maxWidth:"100%"}))})),bs=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiDialog"}),s=(0,F.Z)(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},u=n["aria-describedby"],c=n["aria-labelledby"],d=n.BackdropComponent,p=n.BackdropProps,f=n.children,h=n.className,v=n.disableEscapeKeyDown,m=void 0!==v&&v,b=n.fullScreen,g=void 0!==b&&b,y=n.fullWidth,x=void 0!==y&&y,w=n.maxWidth,S=void 0===w?"sm":w,C=n.onBackdropClick,k=n.onClose,P=n.open,M=n.PaperComponent,R=void 0===M?Mt.Z:M,T=n.PaperProps,D=void 0===T?{}:T,O=n.scroll,j=void 0===O?"paper":O,I=n.TransitionComponent,A=void 0===I?Fo.Z:I,B=n.transitionDuration,L=void 0===B?l:B,z=n.TransitionProps,W=(0,o.Z)(n,ps),V=(0,r.Z)({},n,{disableEscapeKeyDown:m,fullScreen:g,fullWidth:x,maxWidth:S,scroll:j}),H=function(e){var t=e.classes,n=e.scroll,r=e.maxWidth,o=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,Ae.Z)(n))],paper:["paper","paperScroll".concat((0,Ae.Z)(n)),"paperWidth".concat((0,Ae.Z)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,Z.Z)(a,ss,t)}(V),q=i.useRef(),K=(0,is.Z)(c),_=i.useMemo((function(){return{titleId:K}}),[K]);return(0,E.jsx)(hs,(0,r.Z)({className:(0,N.Z)(H.root,h),closeAfterTransition:!0,components:{Backdrop:fs},componentsProps:{backdrop:(0,r.Z)({transitionDuration:L,as:d},p)},disableEscapeKeyDown:m,onClose:k,open:P,ref:t,onClick:function(e){q.current&&(q.current=null,C&&C(e),k&&k(e,"backdropClick"))},ownerState:V},W,{children:(0,E.jsx)(A,(0,r.Z)({appear:!0,in:P,timeout:L,role:"presentation"},z,{children:(0,E.jsx)(vs,{className:(0,N.Z)(H.container),onMouseDown:function(e){q.current=e.target===e.currentTarget},ownerState:V,children:(0,E.jsx)(ms,(0,r.Z)({as:R,elevation:24,role:"dialog","aria-describedby":u,"aria-labelledby":K},D,{className:(0,N.Z)(H.paper,D.className),ownerState:V,children:(0,E.jsx)(cs.Provider,{value:_,children:f})}))})}))}))})),gs=(0,x.ZP)(bs)((us={},(0,y.Z)(us,"& .".concat(ls.container),{outline:0}),(0,y.Z)(us,"& .".concat(ls.paper),{outline:0,minWidth:320}),us)),ys=(0,x.ZP)(os)({"&:first-of-type":{padding:0}}),xs=function(e){var t,n=e.children,o=e.DialogProps,i=void 0===o?{}:o,a=e.onAccept,s=e.onClear,l=e.onDismiss,u=e.onCancel,c=e.onSetToday,d=e.open,p=e.components,f=e.componentsProps,h=null!=(t=null==p?void 0:p.ActionBar)?t:br;return(0,E.jsxs)(gs,(0,r.Z)({open:d,onClose:l},i,{children:[(0,E.jsx)(ys,{children:n}),(0,E.jsx)(h,(0,r.Z)({onAccept:a,onClear:s,onCancel:u,onSetToday:c,actions:["cancel","accept"]},null==f?void 0:f.actionBar))]}))},Zs=["children","DateInputProps","DialogProps","onAccept","onClear","onDismiss","onCancel","onSetToday","open","PureDateInputComponent","components","componentsProps"];function ws(e){var t=e.children,n=e.DateInputProps,i=e.DialogProps,a=e.onAccept,s=e.onClear,l=e.onDismiss,u=e.onCancel,c=e.onSetToday,d=e.open,p=e.PureDateInputComponent,f=e.components,h=e.componentsProps,v=(0,o.Z)(e,Zs);return(0,E.jsxs)(kt.Provider,{value:"mobile",children:[(0,E.jsx)(p,(0,r.Z)({components:f},v,n)),(0,E.jsx)(xs,{DialogProps:i,onAccept:a,onClear:s,onDismiss:l,onCancel:u,onSetToday:c,open:d,components:f,componentsProps:h,children:t})]})}var Ss=i.forwardRef((function(e,t){var n=e.disabled,o=e.getOpenDialogAriaText,a=e.inputFormat,s=e.InputProps,l=e.inputRef,u=e.label,d=e.openPicker,f=e.rawValue,h=e.renderInput,v=e.TextFieldProps,m=void 0===v?{}:v,b=e.validationError,g=e.className,y=p(),x=null!=o?o:y.openDatePickerDialogue,Z=c(),w=i.useMemo((function(){return(0,r.Z)({},s,{readOnly:!0})}),[s]),S=_i(Z,f,a),C=(0,J.Z)((function(e){e.stopPropagation(),d()}));return h((0,r.Z)({label:u,disabled:n,ref:t,inputRef:l,error:b,InputProps:w,className:g},!e.readOnly&&!e.disabled&&{onClick:C},{inputProps:(0,r.Z)({disabled:n,readOnly:!0,"aria-readonly":!0,"aria-label":x(f,Z),value:S},!e.readOnly&&{onClick:C},{onKeyDown:xr(d)})},m))})),Cs=["ToolbarComponent","value","onChange","components","componentsProps","hideTabs"],ks=i.forwardRef((function(e,t){var n=m(e,"MuiMobileDateTimePicker"),a=null!==fa(n),s=ha(n,b),l=s.pickerProps,u=s.inputProps,c=s.wrapperProps,d=n.ToolbarComponent,p=void 0===d?Ct:d,f=n.components,h=n.componentsProps,v=n.hideTabs,g=void 0!==v&&v,y=(0,o.Z)(n,Cs),x=i.useMemo((function(){return(0,r.Z)({Tabs:$a},f)}),[f]),Z=(0,r.Z)({},u,y,{components:x,componentsProps:h,ref:t,validationError:a});return(0,E.jsx)(ws,(0,r.Z)({},y,c,{DateInputProps:Z,PureDateInputComponent:Ss,components:x,componentsProps:h,children:(0,E.jsx)(la,(0,r.Z)({},l,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:p,DateInputProps:Z,components:x,componentsProps:h,hideTabs:g},y))}))})),Ps=["desktopModeMediaQuery","DialogProps","PopperProps","TransitionComponent"],Ms=i.forwardRef((function(e,t){var n=(0,a.Z)({props:e,name:"MuiDateTimePicker"}),i=n.desktopModeMediaQuery,l=void 0===i?"@media (pointer: fine)":i,u=n.DialogProps,c=n.PopperProps,d=n.TransitionComponent,p=(0,o.Z)(n,Ps);return(0,s.Z)(l,{defaultMatches:!0})?(0,E.jsx)(Qa,(0,r.Z)({ref:t,PopperProps:c,TransitionComponent:d},p)):(0,E.jsx)(ks,(0,r.Z)({ref:t,DialogProps:u},p))}))},36571:function(e,t,n){n.d(t,{_:function(){return d},y:function(){return c}});var r,o=n(87462),i=n(72791),a=n(93736),s={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view"},inputModeToggleButtonAriaLabel:function(e,t){return e?"text input view is open, go to ".concat(t," view"):"".concat(t," view is open, go to text input view")},start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerDefaultToolbarTitle:"Select date",dateTimePickerDefaultToolbarTitle:"Select date & time",timePickerDefaultToolbarTitle:"Select time",dateRangePickerDefaultToolbarTitle:"Select date range",clockLabelText:function(e,t,n){return"Select ".concat(e,". ").concat(null===t?"No time selected":"Selected time is ".concat(n.format(t,"fullTime")))},hoursClockNumberText:function(e){return"".concat(e," hours")},minutesClockNumberText:function(e){return"".concat(e," minutes")},secondsClockNumberText:function(e){return"".concat(e," seconds")},openDatePickerDialogue:function(e,t){return e&&t.isValid(t.date(e))?"Choose date, selected date is ".concat(t.format(t.date(e),"fullDate")):"Choose date"},openTimePickerDialogue:function(e,t){return e&&t.isValid(t.date(e))?"Choose time, selected time is ".concat(t.format(t.date(e),"fullTime")):"Choose time"},timeTableLabel:"pick time",dateTableLabel:"pick date"},l=s,u=(r=s,(0,o.Z)({},r),n(80184)),c=i.createContext(null);function d(e){var t=(0,a.Z)({props:e,name:"MuiLocalizationProvider"}),n=t.children,r=t.dateAdapter,s=t.dateFormats,d=t.dateLibInstance,p=t.locale,f=t.adapterLocale,h=t.localeText;var v=i.useMemo((function(){return new r({locale:null!=f?f:p,formats:s,instance:d})}),[r,p,f,s,d]),m=i.useMemo((function(){return{minDate:v.date("1900-01-01T00:00:00.000"),maxDate:v.date("2099-12-31T00:00:00.000")}}),[v]),b=i.useMemo((function(){return{utils:v,defaultDates:m,localeText:(0,o.Z)({},l,null!=h?h:{})}}),[m,v,h]);return(0,u.jsx)(c.Provider,{value:b,children:n})}},18875:function(e,t,n){n.d(t,{ZP:function(){return b}});var r=n(63366),o=n(94578),i=n(72791),a=n(54164),s=!1,l=n(95545),u=n(88852),c="unmounted",d="exited",p="entering",f="entered",h="exiting",v=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=p):o=f:o=t.unmountOnExit||t.mountOnEnter?c:d,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==f&&(t=p):n!==p&&n!==f||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&(0,u.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||s?this.safeSetState({status:f},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:p},(function(){t.props.onEntering(i,l),t.onTransitionEnd(c,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:h},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.Z.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function m(){}v.contextType=l.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},v.UNMOUNTED=c,v.EXITED=d,v.ENTERING=p,v.ENTERED=f,v.EXITING=h;var b=v},95545:function(e,t,n){var r=n(72791);t.Z=r.createContext(null)},88852:function(e,t,n){n.d(t,{Q:function(){return r}});var r=function(e){return e.scrollTop}}}]); +//# sourceMappingURL=2631.e93b9518.chunk.js.map \ No newline at end of file diff --git a/portal-ui/build/static/js/2631.e93b9518.chunk.js.LICENSE.txt b/portal-ui/build/static/js/2631.e93b9518.chunk.js.LICENSE.txt new file mode 100644 index 0000000000..0b7fad3493 --- /dev/null +++ b/portal-ui/build/static/js/2631.e93b9518.chunk.js.LICENSE.txt @@ -0,0 +1,7 @@ +/** + * A better abstraction over CSS. + * + * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present + * @website https://github.com/cssinjs/jss + * @license MIT + */ diff --git a/portal-ui/build/static/js/2631.e93b9518.chunk.js.map b/portal-ui/build/static/js/2631.e93b9518.chunk.js.map new file mode 100644 index 0000000000..988306a6b0 --- /dev/null +++ b/portal-ui/build/static/js/2631.e93b9518.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2631.e93b9518.chunk.js","mappings":";6LAEMA,EAAiB,CACnBC,WAAY,IACZC,SAAU,KACVC,oBAAqB,OACrBC,aAAc,KACdC,gBAAiB,cACjBC,gBAAiB,QACjBC,SAAU,IACVC,YAAa,UACbC,YAAa,QACbC,SAAU,KACVC,SAAU,KACVC,aAAc,IACdC,iBAAkB,MAClBC,oBAAqB,YACrBC,oBAAqB,MACrBC,QAAS,KACTC,QAAS,KACTC,MAAO,OACPC,aAAc,SACdC,aAAc,YACdC,WAAY,MACZC,QAAS,OACTC,aAAc,MACdC,WAAY,SACZC,sBAAuB,aACvBC,UAAW,QACXC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S40E,EACT10E,WAAY00E,EACZ30E,UAAW20E,EACXz0E,OAAQy0E,EACRv0E,UAAWu0E,EACXx0E,SAAUw0E,GAEZr0E,EAAWy9F,UAAYA,EACvBz9F,EAAW09F,OAASA,EACpB19F,EAAW29F,SAAWA,EACtB39F,EAAW49F,QAAUA,EACrB59F,EAAW69F,QAAUA,EACrB,8CC/mBA,IAAetvG,EAAAA,cAAoB,6DCD5B,IAAIutF,EAAc,SAAqBhsF,GAC5C,OAAOA,EAAKia,SACd","sources":["../node_modules/@date-io/luxon/build/index.esm.js","../node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../node_modules/@mui/base/FocusTrap/FocusTrap.js","../node_modules/@mui/base/Portal/Portal.js","../node_modules/@mui/base/utils/extractEventHandlers.js","../node_modules/@mui/base/utils/isHostComponent.js","../node_modules/@mui/base/utils/omitEventHandlers.js","../node_modules/@mui/base/utils/useSlotProps.js","../node_modules/@mui/base/utils/resolveComponentProps.js","../node_modules/@mui/base/utils/mergeSlotProps.js","../node_modules/@mui/base/utils/appendOwnerState.js","../node_modules/@mui/icons-material/Schedule.js","../node_modules/@mui/icons-material/utils/createSvgIcon.js","../node_modules/@mui/material/Backdrop/backdropClasses.js","../node_modules/@mui/material/Backdrop/Backdrop.js","../node_modules/@mui/material/Fade/Fade.js","../node_modules/@mui/material/FormControl/FormControlContext.js","../node_modules/@mui/material/FormControl/useFormControl.js","../node_modules/@mui/material/Grow/Grow.js","../node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../node_modules/@mui/material/InputAdornment/InputAdornment.js","../node_modules/@mui/base/unstable_useModal/ModalManager.js","../node_modules/@mui/base/unstable_useModal/useModal.js","../node_modules/@mui/material/Modal/modalClasses.js","../node_modules/@mui/material/Modal/Modal.js","../node_modules/@mui/material/styles/getOverlayAlpha.js","../node_modules/@mui/material/Paper/paperClasses.js","../node_modules/@mui/material/Paper/Paper.js","../node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js","../node_modules/@mui/material/FormControl/formControlState.js","../node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js","../node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js","../node_modules/@mui/material/GlobalStyles/GlobalStyles.js","../node_modules/@mui/material/InputBase/utils.js","../node_modules/@mui/material/InputBase/inputBaseClasses.js","../node_modules/@mui/material/InputBase/InputBase.js","../node_modules/@mui/material/Input/inputClasses.js","../node_modules/@mui/material/Input/Input.js","../node_modules/@mui/material/FilledInput/filledInputClasses.js","../node_modules/@mui/material/FilledInput/FilledInput.js","../node_modules/@mui/material/OutlinedInput/NotchedOutline.js","../node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js","../node_modules/@mui/material/OutlinedInput/OutlinedInput.js","../node_modules/@mui/material/FormLabel/formLabelClasses.js","../node_modules/@mui/material/FormLabel/FormLabel.js","../node_modules/@mui/material/InputLabel/inputLabelClasses.js","../node_modules/@mui/material/InputLabel/InputLabel.js","../node_modules/@mui/material/FormControl/formControlClasses.js","../node_modules/@mui/material/FormControl/FormControl.js","../node_modules/@mui/material/FormHelperText/formHelperTextClasses.js","../node_modules/@mui/material/FormHelperText/FormHelperText.js","../node_modules/@mui/material/List/ListContext.js","../node_modules/@mui/material/List/listClasses.js","../node_modules/@mui/material/List/List.js","../node_modules/@mui/material/utils/getScrollbarSize.js","../node_modules/@mui/material/MenuList/MenuList.js","../node_modules/@mui/material/Popover/popoverClasses.js","../node_modules/@mui/material/Popover/Popover.js","../node_modules/@mui/material/Menu/menuClasses.js","../node_modules/@mui/material/Menu/Menu.js","../node_modules/@mui/material/NativeSelect/nativeSelectClasses.js","../node_modules/@mui/material/NativeSelect/NativeSelectInput.js","../node_modules/@mui/material/Select/selectClasses.js","../node_modules/@mui/material/Select/SelectInput.js","../node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js","../node_modules/@mui/material/Select/Select.js","../node_modules/@mui/material/TextField/textFieldClasses.js","../node_modules/@mui/material/TextField/TextField.js","../node_modules/@mui/material/Typography/typographyClasses.js","../node_modules/@mui/material/Typography/Typography.js","../node_modules/@mui/material/styles/defaultTheme.js","../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js","../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js","../node_modules/@mui/styled-engine/index.js","../node_modules/@mui/system/esm/propsToClassKey.js","../node_modules/@mui/system/esm/createStyled.js","../node_modules/@mui/material/styles/styled.js","../node_modules/@mui/material/styles/useTheme.js","../node_modules/@mui/material/styles/useThemeProps.js","../node_modules/@mui/system/esm/useThemeProps/useThemeProps.js","../node_modules/@mui/material/transitions/utils.js","../node_modules/@mui/material/useMediaQuery/useMediaQuery.js","../node_modules/@mui/material/utils/capitalize.js","../node_modules/@mui/material/SvgIcon/svgIconClasses.js","../node_modules/@mui/material/SvgIcon/SvgIcon.js","../node_modules/@mui/material/utils/createSvgIcon.js","../node_modules/@mui/material/utils/debounce.js","../node_modules/@mui/material/utils/createChainedFunction.js","../node_modules/@mui/material/utils/deprecatedPropType.js","../node_modules/@mui/utils/esm/deprecatedPropType.js","../node_modules/@mui/material/utils/requirePropFactory.js","../node_modules/@mui/utils/esm/requirePropFactory.js","../node_modules/@mui/material/utils/setRef.js","../node_modules/@mui/material/utils/unsupportedProp.js","../node_modules/@mui/utils/esm/unsupportedProp.js","../node_modules/@mui/material/utils/index.js","../node_modules/@mui/material/utils/isMuiElement.js","../node_modules/@mui/utils/esm/isMuiElement.js","../node_modules/@mui/material/utils/ownerDocument.js","../node_modules/@mui/material/utils/ownerWindow.js","../node_modules/@mui/material/utils/useControlled.js","../node_modules/@mui/material/utils/useEnhancedEffect.js","../node_modules/@mui/material/utils/useEventCallback.js","../node_modules/@mui/material/utils/useForkRef.js","../node_modules/@mui/material/utils/useId.js","../node_modules/@mui/utils/esm/useIsFocusVisible.js","../node_modules/@mui/material/utils/useIsFocusVisible.js","../node_modules/@mui/styles/createStyles/createStyles.js","../node_modules/is-in-browser/dist/module.js","../node_modules/jss/dist/jss.esm.js","../node_modules/@mui/styles/mergeClasses/mergeClasses.js","../node_modules/@mui/styles/makeStyles/multiKeyStore.js","../node_modules/@mui/styles/useTheme/index.js","../node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js","../node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js","../node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js","../node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js","../node_modules/hyphenate-style-name/index.js","../node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js","../node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js","../node_modules/css-vendor/dist/css-vendor.esm.js","../node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js","../node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js","../node_modules/@mui/styles/StylesProvider/StylesProvider.js","../node_modules/@mui/styles/jssPreset/jssPreset.js","../node_modules/@mui/styles/makeStyles/indexCounter.js","../node_modules/@mui/styles/propsToClassKey/propsToClassKey.js","../node_modules/@mui/styles/getStylesCreator/getStylesCreator.js","../node_modules/@mui/styles/getStylesCreator/noopTheme.js","../node_modules/@mui/styles/makeStyles/makeStyles.js","../node_modules/@mui/styles/withStyles/withStyles.js","../node_modules/@mui/styles/getThemeProps/getThemeProps.js","../node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js","../node_modules/@mui/system/esm/useTheme.js","../node_modules/@mui/system/esm/useThemeProps/getThemeProps.js","../node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js","../node_modules/@mui/utils/esm/composeClasses/composeClasses.js","../node_modules/@mui/utils/esm/createChainedFunction.js","../node_modules/@mui/utils/esm/debounce/debounce.js","../node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","../node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js","../node_modules/@mui/utils/esm/getScrollbarSize.js","../node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../node_modules/@mui/utils/esm/resolveProps.js","../node_modules/@mui/utils/esm/setRef.js","../node_modules/@mui/utils/esm/useControlled/useControlled.js","../node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js","../node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../node_modules/@mui/utils/esm/useId/useId.js","../node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js","../node_modules/@mui/x-date-pickers/internals/utils/date-utils.js","../node_modules/@mui/x-date-pickers/DateTimePicker/shared.js","../node_modules/@mui/x-date-pickers/node_modules/clsx/dist/clsx.m.js","../node_modules/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickersToolbarText.js","../node_modules/@mui/material/Grid/GridContext.js","../node_modules/@mui/material/Grid/gridClasses.js","../node_modules/@mui/material/Grid/Grid.js","../node_modules/react-transition-group/esm/utils/ChildMapping.js","../node_modules/react-transition-group/esm/TransitionGroup.js","../node_modules/@mui/material/ButtonBase/Ripple.js","../node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../node_modules/@mui/material/ButtonBase/TouchRipple.js","../node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../node_modules/@mui/material/ButtonBase/ButtonBase.js","../node_modules/@mui/material/IconButton/iconButtonClasses.js","../node_modules/@mui/material/IconButton/IconButton.js","../node_modules/@mui/x-date-pickers/internals/components/icons/index.js","../node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js","../node_modules/@mui/material/Button/buttonClasses.js","../node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js","../node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js","../node_modules/@mui/material/Button/Button.js","../node_modules/@mui/x-date-pickers/internals/components/PickersToolbarButton.js","../node_modules/@mui/x-date-pickers/DateTimePicker/dateTimePickerToolbarClasses.js","../node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar.js","../node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/utils/userAgent.js","../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@mui/base/Popper/popperClasses.js","../node_modules/@mui/base/utils/ClassNameConfigurator.js","../node_modules/@mui/base/Popper/Popper.js","../node_modules/@mui/material/Popper/Popper.js","../node_modules/@mui/material/DialogActions/dialogActionsClasses.js","../node_modules/@mui/material/DialogActions/DialogActions.js","../node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js","../node_modules/@mui/x-date-pickers/internals/components/pickersPopperClasses.js","../node_modules/@mui/x-date-pickers/internals/utils/utils.js","../node_modules/@mui/x-date-pickers/internals/components/PickersPopper.js","../node_modules/@mui/x-date-pickers/internals/components/wrappers/DesktopWrapper.js","../node_modules/@mui/x-date-pickers/internals/hooks/useViews.js","../node_modules/@mui/x-date-pickers/ClockPicker/shared.js","../node_modules/@mui/x-date-pickers/ClockPicker/clockPointerClasses.js","../node_modules/@mui/x-date-pickers/ClockPicker/ClockPointer.js","../node_modules/@mui/x-date-pickers/ClockPicker/clockClasses.js","../node_modules/@mui/x-date-pickers/ClockPicker/Clock.js","../node_modules/@mui/x-date-pickers/ClockPicker/clockNumberClasses.js","../node_modules/@mui/x-date-pickers/ClockPicker/ClockNumber.js","../node_modules/@mui/x-date-pickers/ClockPicker/ClockNumbers.js","../node_modules/@mui/x-date-pickers/internals/components/pickersArrowSwitcherClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.js","../node_modules/@mui/x-date-pickers/internals/utils/time-utils.js","../node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js","../node_modules/@mui/x-date-pickers/ClockPicker/clockPickerClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js","../node_modules/@mui/x-date-pickers/internals/constants/dimensions.js","../node_modules/@mui/x-date-pickers/ClockPicker/ClockPicker.js","../node_modules/@mui/x-date-pickers/internals/utils/warning.js","../node_modules/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.js","../node_modules/@mui/x-date-pickers/MonthPicker/PickersMonth.js","../node_modules/@mui/x-date-pickers/MonthPicker/monthPickerClasses.js","../node_modules/@mui/x-date-pickers/MonthPicker/MonthPicker.js","../node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js","../node_modules/@mui/x-date-pickers/CalendarPicker/useCalendarState.js","../node_modules/@mui/x-date-pickers/CalendarPicker/pickersFadeTransitionGroupClasses.js","../node_modules/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.js","../node_modules/@mui/x-date-pickers/PickersDay/pickersDayClasses.js","../node_modules/@mui/x-date-pickers/PickersDay/PickersDay.js","../node_modules/dom-helpers/esm/removeClass.js","../node_modules/react-transition-group/esm/CSSTransition.js","../node_modules/dom-helpers/esm/addClass.js","../node_modules/dom-helpers/esm/hasClass.js","../node_modules/@mui/x-date-pickers/CalendarPicker/pickersSlideTransitionClasses.js","../node_modules/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.js","../node_modules/@mui/x-date-pickers/CalendarPicker/dayPickerClasses.js","../node_modules/@mui/x-date-pickers/CalendarPicker/DayPicker.js","../node_modules/@mui/x-date-pickers/CalendarPicker/pickersCalendarHeaderClasses.js","../node_modules/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.js","../node_modules/@mui/x-date-pickers/YearPicker/pickersYearClasses.js","../node_modules/@mui/x-date-pickers/YearPicker/PickersYear.js","../node_modules/@mui/x-date-pickers/YearPicker/yearPickerClasses.js","../node_modules/@mui/x-date-pickers/YearPicker/YearPicker.js","../node_modules/@mui/x-date-pickers/internals/utils/defaultReduceAnimations.js","../node_modules/@mui/x-date-pickers/CalendarPicker/calendarPickerClasses.js","../node_modules/@mui/x-date-pickers/CalendarPicker/CalendarPicker.js","../node_modules/rifm/dist/rifm.esm.js","../node_modules/@mui/x-date-pickers/internals/utils/text-field-helper.js","../node_modules/@mui/x-date-pickers/internals/hooks/useMaskedInput.js","../node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js","../node_modules/@mui/x-date-pickers/internals/hooks/useIsLandscape.js","../node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/calendarOrClockPickerClasses.js","../node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js","../node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/useFocusManagement.js","../node_modules/@mui/x-date-pickers/internals/hooks/validation/useTimeValidation.js","../node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateTimeValidation.js","../node_modules/@mui/x-date-pickers/internals/hooks/validation/useValidation.js","../node_modules/@mui/x-date-pickers/internals/hooks/useOpenState.js","../node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js","../node_modules/@mui/material/Tab/tabClasses.js","../node_modules/@mui/utils/esm/scrollLeft.js","../node_modules/@mui/material/Tab/Tab.js","../node_modules/@mui/material/internal/animate.js","../node_modules/@mui/material/Tabs/ScrollbarSize.js","../node_modules/@mui/material/internal/svg-icons/KeyboardArrowLeft.js","../node_modules/@mui/material/internal/svg-icons/KeyboardArrowRight.js","../node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js","../node_modules/@mui/material/TabScrollButton/TabScrollButton.js","../node_modules/@mui/material/Tabs/tabsClasses.js","../node_modules/@mui/material/Tabs/Tabs.js","../node_modules/@mui/x-date-pickers/DateTimePicker/dateTimePickerTabsClasses.js","../node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs.js","../node_modules/@mui/x-date-pickers/DesktopDateTimePicker/DesktopDateTimePicker.js","../node_modules/@mui/material/DialogContent/dialogContentClasses.js","../node_modules/@mui/material/DialogTitle/dialogTitleClasses.js","../node_modules/@mui/material/DialogContent/DialogContent.js","../node_modules/@mui/material/Dialog/dialogClasses.js","../node_modules/@mui/material/Dialog/DialogContext.js","../node_modules/@mui/material/Dialog/Dialog.js","../node_modules/@mui/x-date-pickers/internals/components/PickersModalDialog.js","../node_modules/@mui/x-date-pickers/internals/components/wrappers/MobileWrapper.js","../node_modules/@mui/x-date-pickers/internals/components/PureDateInput.js","../node_modules/@mui/x-date-pickers/MobileDateTimePicker/MobileDateTimePicker.js","../node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker.js","../node_modules/@mui/x-date-pickers/locales/utils/getPickersLocalization.js","../node_modules/@mui/x-date-pickers/locales/enUS.js","../node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/utils/reflow.js"],"sourcesContent":["import { DateTime, Settings, Info } from 'luxon';\n\nconst defaultFormats = {\n dayOfMonth: \"d\",\n fullDate: \"DD\",\n fullDateWithWeekday: \"DDDD\",\n fullDateTime: \"ff\",\n fullDateTime12h: \"DD, hh:mm a\",\n fullDateTime24h: \"DD, T\",\n fullTime: \"t\",\n fullTime12h: \"hh:mm a\",\n fullTime24h: \"HH:mm\",\n hours12h: \"hh\",\n hours24h: \"HH\",\n keyboardDate: \"D\",\n keyboardDateTime: \"D t\",\n keyboardDateTime12h: \"D hh:mm a\",\n keyboardDateTime24h: \"D T\",\n minutes: \"mm\",\n seconds: \"ss\",\n month: \"LLLL\",\n monthAndDate: \"MMMM d\",\n monthAndYear: \"LLLL yyyy\",\n monthShort: \"MMM\",\n weekday: \"cccc\",\n weekdayShort: \"ccc\",\n normalDate: \"d MMMM\",\n normalDateWithWeekday: \"EEE, MMM d\",\n shortDate: \"MMM d\",\n year: \"yyyy\",\n};\nclass LuxonUtils {\n constructor({ locale, formats, } = {}) {\n this.lib = \"luxon\";\n this.date = (value) => {\n if (typeof value === \"undefined\") {\n return DateTime.local();\n }\n if (value === null) {\n return null;\n }\n if (typeof value === \"string\") {\n return DateTime.fromJSDate(new Date(value), { locale: this.locale });\n }\n if (DateTime.isDateTime(value)) {\n return value;\n }\n return DateTime.fromJSDate(value, { locale: this.locale });\n };\n this.toJsDate = (value) => {\n return value.toJSDate();\n };\n this.parseISO = (isoString) => {\n return DateTime.fromISO(isoString);\n };\n this.toISO = (value) => {\n return value.toISO({ format: \"extended\" });\n };\n this.parse = (value, formatString) => {\n if (value === \"\") {\n return null;\n }\n return DateTime.fromFormat(value, formatString, { locale: this.locale });\n };\n /* istanbul ignore next */\n this.is12HourCycleInCurrentLocale = () => {\n var _a, _b;\n if (typeof Intl === \"undefined\" || typeof Intl.DateTimeFormat === \"undefined\") {\n return true; // Luxon defaults to en-US if Intl not found\n }\n return Boolean((_b = (_a = new Intl.DateTimeFormat(this.locale, { hour: \"numeric\" })) === null || _a === void 0 ? void 0 : _a.resolvedOptions()) === null || _b === void 0 ? void 0 : _b.hour12);\n };\n this.getFormatHelperText = (format) => {\n // Unfortunately there is no way for luxon to retrieve readable formats from localized format\n return \"\";\n };\n /* istanbul ignore next */\n this.getCurrentLocaleCode = () => {\n return this.locale || Settings.defaultLocale;\n };\n this.addSeconds = (date, count) => {\n return date.plus({ seconds: count });\n };\n this.addMinutes = (date, count) => {\n return date.plus({ minutes: count });\n };\n this.addHours = (date, count) => {\n return date.plus({ hours: count });\n };\n this.addDays = (date, count) => {\n return date.plus({ days: count });\n };\n this.addWeeks = (date, count) => {\n return date.plus({ weeks: count });\n };\n this.addMonths = (date, count) => {\n return date.plus({ months: count });\n };\n this.addYears = (date, count) => {\n return date.plus({ years: count });\n };\n this.isValid = (value) => {\n var _a, _b;\n if (DateTime.isDateTime(value)) {\n return value.isValid;\n }\n if (value === null) {\n return false;\n }\n return (_b = (_a = this.date(value)) === null || _a === void 0 ? void 0 : _a.isValid) !== null && _b !== void 0 ? _b : false;\n };\n this.isEqual = (value, comparing) => {\n var _a, _b;\n if (value === null && comparing === null) {\n return true;\n }\n // make sure that null will not be passed to this.date\n if (value === null || comparing === null) {\n return false;\n }\n if (!this.date(comparing)) {\n /* istanbul ignore next */\n return false;\n }\n return (_b = (_a = this.date(value)) === null || _a === void 0 ? void 0 : _a.equals(this.date(comparing))) !== null && _b !== void 0 ? _b : false;\n };\n this.isSameDay = (date, comparing) => {\n return date.hasSame(comparing, \"day\");\n };\n this.isSameMonth = (date, comparing) => {\n return date.hasSame(comparing, \"month\");\n };\n this.isSameYear = (date, comparing) => {\n return date.hasSame(comparing, \"year\");\n };\n this.isSameHour = (date, comparing) => {\n return date.hasSame(comparing, \"hour\");\n };\n this.isAfter = (value, comparing) => {\n return value > comparing;\n };\n this.isBefore = (value, comparing) => {\n return value < comparing;\n };\n this.isBeforeDay = (value, comparing) => {\n const diff = value.diff(comparing.startOf(\"day\"), \"days\").toObject();\n return diff.days < 0;\n };\n this.isAfterDay = (value, comparing) => {\n const diff = value.diff(comparing.endOf(\"day\"), \"days\").toObject();\n return diff.days > 0;\n };\n this.isBeforeMonth = (value, comparing) => {\n const diff = value.diff(comparing.startOf(\"month\"), \"months\").toObject();\n return diff.months < 0;\n };\n this.isAfterMonth = (value, comparing) => {\n const diff = value.diff(comparing.startOf(\"month\"), \"months\").toObject();\n return diff.months > 0;\n };\n this.isBeforeYear = (value, comparing) => {\n const diff = value.diff(comparing.startOf(\"year\"), \"years\").toObject();\n return diff.years < 0;\n };\n this.isAfterYear = (value, comparing) => {\n const diff = value.diff(comparing.endOf(\"year\"), \"years\").toObject();\n return diff.years > 0;\n };\n this.getDiff = (value, comparing, unit) => {\n if (typeof comparing === \"string\") {\n comparing = DateTime.fromJSDate(new Date(comparing));\n }\n if (!comparing.isValid) {\n return 0;\n }\n if (unit) {\n return Math.floor(value.diff(comparing).as(unit));\n }\n return value.diff(comparing).as(\"millisecond\");\n };\n this.startOfDay = (value) => {\n return value.startOf(\"day\");\n };\n this.endOfDay = (value) => {\n return value.endOf(\"day\");\n };\n this.format = (date, formatKey) => {\n return this.formatByString(date, this.formats[formatKey]);\n };\n this.formatByString = (date, format) => {\n return date.setLocale(this.locale).toFormat(format);\n };\n this.formatNumber = (numberToFormat) => {\n return numberToFormat;\n };\n this.getHours = (value) => {\n return value.get(\"hour\");\n };\n this.setHours = (value, count) => {\n return value.set({ hour: count });\n };\n this.getMinutes = (value) => {\n return value.get(\"minute\");\n };\n this.setMinutes = (value, count) => {\n return value.set({ minute: count });\n };\n this.getSeconds = (value) => {\n return value.get(\"second\");\n };\n this.setSeconds = (value, count) => {\n return value.set({ second: count });\n };\n this.getMonth = (value) => {\n // See https://github.com/moment/luxon/blob/master/docs/moment.md#major-functional-differences\n return value.get(\"month\") - 1;\n };\n this.getDaysInMonth = (value) => {\n return value.daysInMonth;\n };\n this.setMonth = (value, count) => {\n return value.set({ month: count + 1 });\n };\n this.getYear = (value) => {\n return value.get(\"year\");\n };\n this.setYear = (value, year) => {\n return value.set({ year });\n };\n this.getDate = (value) => {\n return value.get(\"day\");\n };\n this.setDate = (value, day) => {\n return value.set({ day });\n };\n this.mergeDateAndTime = (date, time) => {\n return date.set({\n second: time.second,\n hour: time.hour,\n minute: time.minute,\n });\n };\n this.startOfYear = (value) => {\n return value.startOf(\"year\");\n };\n this.endOfYear = (value) => {\n return value.endOf(\"year\");\n };\n this.startOfMonth = (value) => {\n return value.startOf(\"month\");\n };\n this.endOfMonth = (value) => {\n return value.endOf(\"month\");\n };\n this.startOfWeek = (value) => {\n return value.startOf(\"week\");\n };\n this.endOfWeek = (value) => {\n return value.endOf(\"week\");\n };\n this.getNextMonth = (value) => {\n return value.plus({ months: 1 });\n };\n this.getPreviousMonth = (value) => {\n return value.minus({ months: 1 });\n };\n this.getMonthArray = (date) => {\n const firstMonth = date.startOf(\"year\");\n const monthArray = [firstMonth];\n while (monthArray.length < 12) {\n const prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n this.getWeekdays = () => {\n return Info.weekdaysFormat(\"short\", { locale: this.locale });\n };\n this.getWeekArray = (date) => {\n const { days } = date\n .endOf(\"month\")\n .endOf(\"week\")\n .diff(date.startOf(\"month\").startOf(\"week\"), \"days\")\n .toObject();\n const weeks = [];\n new Array(Math.round(days))\n .fill(0)\n .map((_, i) => i)\n .map((day) => date.startOf(\"month\").startOf(\"week\").plus({ days: day }))\n .forEach((v, i) => {\n if (i === 0 || (i % 7 === 0 && i > 6)) {\n weeks.push([v]);\n return;\n }\n weeks[weeks.length - 1].push(v);\n });\n return weeks;\n };\n this.getYearRange = (start, end) => {\n const startDate = start.startOf(\"year\");\n const endDate = end.endOf(\"year\");\n let current = startDate;\n const years = [];\n while (current < endDate) {\n years.push(current);\n current = current.plus({ year: 1 });\n }\n return years;\n };\n this.getMeridiemText = (ampm) => {\n return Info.meridiems({ locale: this.locale }).find((v) => v.toLowerCase() === ampm.toLowerCase());\n };\n this.isNull = (date) => {\n return date === null;\n };\n this.isWithinRange = (date, [start, end]) => {\n return (date.equals(start) ||\n date.equals(end) ||\n (this.isAfter(date, start) && this.isBefore(date, end)));\n };\n this.locale = locale || \"en-US\";\n this.formats = Object.assign({}, defaultFormats, formats);\n }\n}\n\nexport { LuxonUtils as default };\n","import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-c39617d8.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-c39617d8.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar pkg = {\n\tname: \"@emotion/react\",\n\tversion: \"11.11.1\",\n\tmain: \"dist/emotion-react.cjs.js\",\n\tmodule: \"dist/emotion-react.esm.js\",\n\tbrowser: {\n\t\t\"./dist/emotion-react.esm.js\": \"./dist/emotion-react.browser.esm.js\"\n\t},\n\texports: {\n\t\t\".\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./dist/emotion-react.worker.esm.js\",\n\t\t\t\tbrowser: \"./dist/emotion-react.browser.esm.js\",\n\t\t\t\t\"default\": \"./dist/emotion-react.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./dist/emotion-react.cjs.mjs\",\n\t\t\t\"default\": \"./dist/emotion-react.cjs.js\"\n\t\t},\n\t\t\"./jsx-runtime\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js\",\n\t\t\t\tbrowser: \"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\",\n\t\t\t\t\"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs\",\n\t\t\t\"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js\"\n\t\t},\n\t\t\"./_isolated-hnrs\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js\",\n\t\t\t\tbrowser: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js\",\n\t\t\t\t\"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs\",\n\t\t\t\"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js\"\n\t\t},\n\t\t\"./jsx-dev-runtime\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js\",\n\t\t\t\tbrowser: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js\",\n\t\t\t\t\"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs\",\n\t\t\t\"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js\"\n\t\t},\n\t\t\"./package.json\": \"./package.json\",\n\t\t\"./types/css-prop\": \"./types/css-prop.d.ts\",\n\t\t\"./macro\": {\n\t\t\ttypes: {\n\t\t\t\t\"import\": \"./macro.d.mts\",\n\t\t\t\t\"default\": \"./macro.d.ts\"\n\t\t\t},\n\t\t\t\"default\": \"./macro.js\"\n\t\t}\n\t},\n\ttypes: \"types/index.d.ts\",\n\tfiles: [\n\t\t\"src\",\n\t\t\"dist\",\n\t\t\"jsx-runtime\",\n\t\t\"jsx-dev-runtime\",\n\t\t\"_isolated-hnrs\",\n\t\t\"types/*.d.ts\",\n\t\t\"macro.*\"\n\t],\n\tsideEffects: false,\n\tauthor: \"Emotion Contributors\",\n\tlicense: \"MIT\",\n\tscripts: {\n\t\t\"test:typescript\": \"dtslint types\"\n\t},\n\tdependencies: {\n\t\t\"@babel/runtime\": \"^7.18.3\",\n\t\t\"@emotion/babel-plugin\": \"^11.11.0\",\n\t\t\"@emotion/cache\": \"^11.11.0\",\n\t\t\"@emotion/serialize\": \"^1.1.2\",\n\t\t\"@emotion/use-insertion-effect-with-fallbacks\": \"^1.0.1\",\n\t\t\"@emotion/utils\": \"^1.2.1\",\n\t\t\"@emotion/weak-memoize\": \"^0.3.1\",\n\t\t\"hoist-non-react-statics\": \"^3.3.1\"\n\t},\n\tpeerDependencies: {\n\t\treact: \">=16.8.0\"\n\t},\n\tpeerDependenciesMeta: {\n\t\t\"@types/react\": {\n\t\t\toptional: true\n\t\t}\n\t},\n\tdevDependencies: {\n\t\t\"@definitelytyped/dtslint\": \"0.0.112\",\n\t\t\"@emotion/css\": \"11.11.0\",\n\t\t\"@emotion/css-prettifier\": \"1.1.3\",\n\t\t\"@emotion/server\": \"11.11.0\",\n\t\t\"@emotion/styled\": \"11.11.0\",\n\t\t\"html-tag-names\": \"^1.1.2\",\n\t\treact: \"16.14.0\",\n\t\t\"svg-tag-names\": \"^1.1.1\",\n\t\ttypescript: \"^4.5.5\"\n\t},\n\trepository: \"https://github.com/emotion-js/emotion/tree/main/packages/react\",\n\tpublishConfig: {\n\t\taccess: \"public\"\n\t},\n\t\"umd:main\": \"dist/emotion-react.umd.min.js\",\n\tpreconstruct: {\n\t\tentrypoints: [\n\t\t\t\"./index.js\",\n\t\t\t\"./jsx-runtime.js\",\n\t\t\t\"./jsx-dev-runtime.js\",\n\t\t\t\"./_isolated-hnrs.js\"\n\t\t],\n\t\tumdName: \"emotionReact\",\n\t\texports: {\n\t\t\tenvConditions: [\n\t\t\t\t\"browser\",\n\t\t\t\t\"worker\"\n\t\t\t],\n\t\t\textra: {\n\t\t\t\t\"./types/css-prop\": \"./types/css-prop.d.ts\",\n\t\t\t\t\"./macro\": {\n\t\t\t\t\ttypes: {\n\t\t\t\t\t\t\"import\": \"./macro.d.mts\",\n\t\t\t\t\t\t\"default\": \"./macro.d.ts\"\n\t\t\t\t\t},\n\t\t\t\t\t\"default\": \"./macro.js\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar jsx = function jsx(type, props) {\n var args = arguments;\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n } // $FlowFixMe\n\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\nvar warnedAboutCssPropForGlobal = false; // maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n props.className || props.css)) {\n console.error(\"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\");\n warnedAboutCssPropForGlobal = true;\n }\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n\n if (!isBrowser$1) {\n var _ref;\n\n var serializedNames = serialized.name;\n var serializedStyles = serialized.styles;\n var next = serialized.next;\n\n while (next !== undefined) {\n serializedNames += ' ' + next.name;\n serializedStyles += next.styles;\n next = next.next;\n }\n\n var shouldCache = cache.compat === true;\n var rules = cache.insert(\"\", {\n name: serializedNames,\n styles: serializedStyles\n }, cache.sheet, shouldCache);\n\n if (shouldCache) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"style\", (_ref = {}, _ref[\"data-emotion\"] = cache.key + \"-global \" + serializedNames, _ref.dangerouslySetInnerHTML = {\n __html: rules\n }, _ref.nonce = cache.sheet.nonce, _ref));\n } // yes, i know these hooks are used conditionally\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false; // $FlowFixMe\n\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal';\n}\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nvar keyframes = function keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name; // $FlowFixMe\n\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {\n console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.');\n }\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames';\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var isBrowser = \"object\" !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked\n\n var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';\n\n if (isBrowser && !isTestEnv) {\n // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later\n var globalContext = // $FlowIgnore\n typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef\n : isBrowser ? window : global;\n var globalKey = \"__EMOTION_REACT_\" + pkg.version.split('.')[0] + \"__\";\n\n if (globalContext[globalKey]) {\n console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');\n }\n\n globalContext[globalKey] = true;\n }\n}\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","var isBrowser = \"object\" !== 'undefined';\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","'use client';\n\n/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp, elementAcceptingRef, unstable_useForkRef as useForkRef, unstable_ownerDocument as ownerDocument } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n// Inspired by https://github.com/focus-trap/tabbable\nconst candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'].join(',');\nfunction getTabIndex(node) {\n const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);\n if (!Number.isNaN(tabindexAttr)) {\n return tabindexAttr;\n }\n\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // https://bugs.chromium.org/p/chromium/issues/detail?id=661108&q=contenteditable%20tabindex&can=2\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n // in Chrome,

,