jellyfin-tizen-bratanmaboy 0.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/renovate.json +12 -0
- package/.github/workflows/wiki-sync.yml +28 -0
- package/README.md +126 -0
- package/config.xml +15 -0
- package/gulpfile.babel.js +141 -0
- package/icon.png +0 -0
- package/index.html +6 -0
- package/package.json +38 -0
- package/tizen-adapter.js +44 -0
- package/tizen.js +202 -0
- package/www/10092.c37bcafcc8eb7c5c080e.chunk.js +1 -0
- package/www/10393.ebea4771b8940214f3ad.chunk.js +1 -0
- package/www/10455.4a668edb0928c7a2844e.chunk.js +1 -0
- package/www/1051.4d2f5a7e0cc6440d5450.chunk.js +1 -0
- package/www/10540.304a396a5b1390876019.chunk.js +1 -0
- package/www/10647.8add23ed190cf74bf51d.chunk.js +1 -0
- package/www/10739.7693393cabff33c60b7f.chunk.js +1 -0
- package/www/10807.e1743b7841c6545d31dd.chunk.js +1 -0
- package/www/11061.c6832aa3f616532f40d0.chunk.js +1 -0
- package/www/1161.332f1bb195913f384a65.chunk.js +1 -0
- package/www/11762.15524a9c403437ce5301.chunk.js +1 -0
- package/www/12011.caf0203da8f0cfecacca.chunk.js +1 -0
- package/www/12060.7a1c0894cd74bb119b1e.chunk.js +1 -0
- package/www/12143.b101bb4a23ec7dbf0c03.chunk.js +1 -0
- package/www/12323.d74b7fd2793b31f58e32.chunk.js +1 -0
- package/www/12394.2d9a92cf5ecbf770e406.css +1 -0
- package/www/12394.623f94449c2a08cd76c0.chunk.js +1 -0
- package/www/12519.18f1249ed943c27c3292.chunk.js +1 -0
- package/www/12551.d58283586a0911b4a1ab.chunk.js +1 -0
- package/www/12557.58fa22481fa0d2b7ea6f.chunk.js +1 -0
- package/www/12849.165eba3ae25610c54f9c.chunk.js +1 -0
- package/www/1286.3acbc7f647ded14104c9.chunk.js +1 -0
- package/www/13115.5ef43e6c459b87e21f5b.chunk.js +1 -0
- package/www/13135.b2f4c0978e9a1e488686.chunk.js +1 -0
- package/www/13231.0c7f2d70fea0bbea93cf.chunk.js +1 -0
- package/www/13280.3c6f3d62d8d0ae339242.chunk.js +1 -0
- package/www/13280.f87d086900749f799ea2.css +2 -0
- package/www/13356.a9874690b5d027afc12f.chunk.js +1 -0
- package/www/1367.e18e3aedec5be8b220e9.chunk.js +1 -0
- package/www/1368.2d9f126e7c7d1ec60a80.chunk.js +1 -0
- package/www/13734.1201e8671a965866da64.chunk.js +1 -0
- package/www/13872.ee9ff6d3dafefc5e09f8.chunk.js +1 -0
- package/www/13960.a45937110b391d04be75.chunk.js +1 -0
- package/www/14112.437263e4bb45e3c7dded.chunk.js +1 -0
- package/www/14245.bc1136c35dbc9cf76522.chunk.js +1 -0
- package/www/14245.f517756c675c2040ffba.css +5 -0
- package/www/1451.aaece936db9799ec625b.chunk.js +1 -0
- package/www/1451.af33df2c298573856469.css +3 -0
- package/www/14553.10c031dfbceb73e7b532.chunk.js +1 -0
- package/www/14866.a729d4f295de6bab8bb9.chunk.js +1 -0
- package/www/1488.da11cc6a8e47136c4770.chunk.js +1 -0
- package/www/15015.5d6d7e28b56159ecc7bb.chunk.js +1 -0
- package/www/15126.3e16fd591da757b2ce43.chunk.js +1 -0
- package/www/15141.fa82523711199c18b452.chunk.js +1 -0
- package/www/15190.d1ff5bd3ab7bcb027cda.chunk.js +1 -0
- package/www/15605.d365e1cb9e57bc5971c2.chunk.js +1 -0
- package/www/15686.d06004b9c5f1b259a5ca.chunk.js +1 -0
- package/www/15889.5ae32a4d5b8185fbb761.chunk.js +1 -0
- package/www/16235.cadf59a5da4529021747.chunk.js +1 -0
- package/www/16327.18dd1add69992aefb82b.chunk.js +1 -0
- package/www/16504.8dc96690f3f1c6bb4c19.chunk.js +1 -0
- package/www/16526.3a7e5d22c99d7fde506b.chunk.js +1 -0
- package/www/16566.bea5fb7b7a6ddfc79bfe.chunk.js +1 -0
- package/www/16614.47c610eafa7751cda457.chunk.js +1 -0
- package/www/16914.5f3fb5fccd5b65e1c1cf.chunk.js +1 -0
- package/www/17133.2417ebee8f73d3658175.chunk.js +1 -0
- package/www/17290.ff5e6bcae3fb2d8f0570.chunk.js +1 -0
- package/www/17355.af8023f05e56fef53448.chunk.js +1 -0
- package/www/17427.0d62f29d829d9b116e66.chunk.js +1 -0
- package/www/17443.148c14e52a3c6366e738.chunk.js +1 -0
- package/www/17443.572b47e6c02dfcde2c23.css +1 -0
- package/www/17486.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/17864.c42430268ab6e7fabba1.chunk.js +1 -0
- package/www/18078.529ad263def31f084c62.css +3 -0
- package/www/1831.444b435456582b81aaf4.css +6 -0
- package/www/1831.eca3a1235144d80a758c.chunk.js +1 -0
- package/www/1836.83c87c6a277213c7583b.chunk.js +1 -0
- package/www/1836.94db4f3644a2ad201efe.css +1 -0
- package/www/18395.2c846c324f87760440d8.chunk.js +1 -0
- package/www/18591.7f67c4b46848307ec6bf.chunk.js +1 -0
- package/www/18934.424bde358e2729267f1d.chunk.js +1 -0
- package/www/1912.35ab9b055c3f606202db.chunk.js +1 -0
- package/www/19187.981714c2337caf7e9875.chunk.js +1 -0
- package/www/19292.ca209ff2dd4fe521f001.chunk.js +1 -0
- package/www/19842.ede512101627a3a4d02d.chunk.js +1 -0
- package/www/1986.a7bd24313d598fd0f4ba.chunk.js +1 -0
- package/www/19863.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/19907.519b327b385a50a70817.chunk.js +2 -0
- package/www/19907.519b327b385a50a70817.chunk.js.LICENSE.txt +1 -0
- package/www/20472.4c20e2e8eaea3f0188c9.chunk.js +1 -0
- package/www/2077.ad6a957b7c9feb6fc268.chunk.js +1 -0
- package/www/20779.fd5f8f52385600fa545e.chunk.js +1 -0
- package/www/20963.55b764490ba3e9015e43.chunk.js +1 -0
- package/www/20963.b483681abaab07461325.css +1 -0
- package/www/21152.3c9de3369a58d9bb0f9b.chunk.js +1 -0
- package/www/21188.6e6f2ff810f8a6249e79.chunk.js +1 -0
- package/www/21252.8c1fc82b3fce0590ba63.chunk.js +1 -0
- package/www/21654.49cf39c6aaa9e2ecb23c.chunk.js +1 -0
- package/www/21721.78f7b8a3ba5cc7d8f80b.chunk.js +1 -0
- package/www/21789.53b74dc7795960528d4a.chunk.js +1 -0
- package/www/21933.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/21935.61699c397386289b84b9.chunk.js +1 -0
- package/www/22197.36ddaa33204fb9ddd8c6.chunk.js +1 -0
- package/www/22356.ed1e8baae07c7434e3e9.chunk.js +1 -0
- package/www/22424.b571889c02e438bf5510.chunk.js +1 -0
- package/www/22770.5608c24e450e07e2250d.chunk.js +1 -0
- package/www/22837.4379d3e3aef9f37a049b.chunk.js +1 -0
- package/www/22882.98f6daca891885520875.css +6 -0
- package/www/23717.5c79cff02606a51e16d3.chunk.js +1 -0
- package/www/23789.9a3dd8d034702af1b84e.chunk.js +1 -0
- package/www/24135.306b4dffe60dc2dc0250.chunk.js +1 -0
- package/www/242.b251eb237b86cde7edce.chunk.js +1 -0
- package/www/24364.10c34ac276dba4a42b99.chunk.js +1 -0
- package/www/24450.e567b722f4ef6bfab80f.chunk.js +1 -0
- package/www/24468.823221d3ee63dfe059d0.chunk.js +1 -0
- package/www/24855.aee7c42eabf2ecf05da5.chunk.js +1 -0
- package/www/24871.3ea5154a81e4ab458386.chunk.js +1 -0
- package/www/24872.a047fd6af8ffb42955e2.chunk.js +1 -0
- package/www/24879.cd9140b80a5b7c22d6df.chunk.js +1 -0
- package/www/25029.c740550ffb49da467fbb.css +1 -0
- package/www/25029.f8b01027b883c0b02c64.chunk.js +1 -0
- package/www/25091.19afcf9ee1dc02577c43.chunk.js +1 -0
- package/www/25137.961528bad23bbad87544.chunk.js +1 -0
- package/www/25148.64afcf3658659e994a15.chunk.js +1 -0
- package/www/25242.fce9f738ccb0bc6105f3.chunk.js +1 -0
- package/www/25348.10043daf2671fc8859af.css +1 -0
- package/www/25348.a5fe264650ffc6a300ef.chunk.js +1 -0
- package/www/25671.959c6339769cc852c55d.chunk.js +1 -0
- package/www/25709.981683813ac03bd8c66c.chunk.js +1 -0
- package/www/25742.dba0c2ea882e31eebf16.chunk.js +1 -0
- package/www/25890.5ceaee4cdd054b9fc915.chunk.js +1 -0
- package/www/25995.0c517caf9577a784cbfe.chunk.js +1 -0
- package/www/26273.3cb0e4af987c66da3c58.chunk.js +1 -0
- package/www/26368.bdfd6750dd615ef77766.chunk.js +1 -0
- package/www/26668.9be73e891a994b445103.chunk.js +1 -0
- package/www/26711.b483681abaab07461325.css +1 -0
- package/www/26711.f3e19744aec63497ba09.chunk.js +1 -0
- package/www/26839.a0cc7c326cca06a685c6.chunk.js +1 -0
- package/www/26855.4980d0c9417a2d1d4a27.chunk.js +1 -0
- package/www/26908.a3b99830988411102528.chunk.js +1 -0
- package/www/26914.07cbab3d355637fc106b.css +1 -0
- package/www/26914.57dd5a366438b238205b.chunk.js +2 -0
- package/www/26914.57dd5a366438b238205b.chunk.js.LICENSE.txt +1 -0
- package/www/26954.e6b5de8a1016b4ef4306.chunk.js +1 -0
- package/www/27046.fa82523711199c18b452.chunk.js +1 -0
- package/www/27114.6f11832f410a51b1112e.chunk.js +1 -0
- package/www/27711.0430b3485b637ae620ec.chunk.js +1 -0
- package/www/27884.bda8d58a4ecedec16b11.css +1 -0
- package/www/27884.c48cc8ef1ddb52897b42.chunk.js +1 -0
- package/www/27892.8c9905c52054153ebcea.chunk.js +1 -0
- package/www/27924.954b42999d5c0a4ad136.chunk.js +1 -0
- package/www/28048.3ee633e6fbb36a4b57a6.chunk.js +1 -0
- package/www/28463.3045e23f3659654d9af4.chunk.js +1 -0
- package/www/28567.ef79c7f22b1beeb79f07.chunk.js +1 -0
- package/www/28662.43515735361d13902797.chunk.js +1 -0
- package/www/28982.e195b4cb44ec6694727c.chunk.js +1 -0
- package/www/29035.dbb4b720a849877fe4f7.chunk.js +1 -0
- package/www/29083.0ab60d2e6a86fa2ad7f3.chunk.js +1 -0
- package/www/29108.656f5d89af61740f8f20.chunk.js +1 -0
- package/www/2917.4307d952be85f450b5fa.chunk.js +1 -0
- package/www/29467.eb3c994c0ddf32d7bb22.chunk.js +1 -0
- package/www/29477.ec9580b3bec86d1641d8.chunk.js +1 -0
- package/www/29773.0118498909d2625e212c.chunk.js +1 -0
- package/www/30121.4e7c6851ad6f0befadf5.chunk.js +1 -0
- package/www/30657.444b435456582b81aaf4.css +6 -0
- package/www/30657.ab2e0985d6436bfe3a8c.chunk.js +1 -0
- package/www/30745.a1de5f02b9ab1fa16359.chunk.js +1 -0
- package/www/30793.49296a97ffa6c129fd49.chunk.js +1 -0
- package/www/3080.097c0969d9225ae0e948.chunk.js +1 -0
- package/www/3083.071f787bc472810ee689.chunk.js +1 -0
- package/www/30869.d80e0b7dafd24a04aa82.chunk.js +1 -0
- package/www/31297.da0b3b294f6326119063.chunk.js +1 -0
- package/www/31402.f0d3864e419c56c24f56.chunk.js +1 -0
- package/www/31421.d7f3bf442cae4f56571b.chunk.js +1 -0
- package/www/31759.6d565935b797866530ed.chunk.js +1 -0
- package/www/31768.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/31773.572fcd035ddff7dfea96.chunk.js +1 -0
- package/www/31974.909af7387d6095b84995.chunk.js +1 -0
- package/www/32689.df61fa573a270c43c76b.chunk.js +1 -0
- package/www/32721.bfde69083a6ae513ba97.css +3 -0
- package/www/32721.c6b0ccd421f063bbf5e2.chunk.js +2 -0
- package/www/32721.c6b0ccd421f063bbf5e2.chunk.js.LICENSE.txt +1 -0
- package/www/32894.1e1322489c09cd3f42bc.chunk.js +1 -0
- package/www/32896.7ae7c8f3d7a787e1eb66.chunk.js +1 -0
- package/www/32px.7b8ef9809145cfec0aa6.png +0 -0
- package/www/33188.e1743b7841c6545d31dd.chunk.js +1 -0
- package/www/332.ad647ed3eff57062f990.chunk.js +1 -0
- package/www/33625.29d5d3a3b37f4c996cfe.chunk.js +1 -0
- package/www/3376.83a9432dddc82e1fa59a.chunk.js +1 -0
- package/www/33792.b441e44a6caafda8ebb0.chunk.js +1 -0
- package/www/33796.bfb28fda95f360f73305.css +2 -0
- package/www/3380.4dc1e171984a8e6fea43.css +2 -0
- package/www/3380.595f8977ab432d484705.chunk.js +1 -0
- package/www/33858.b41a661856943d58a4e7.chunk.js +1 -0
- package/www/33978.da6c68924ccc446010d9.chunk.js +1 -0
- package/www/34157.4f6f03d8313181ce8821.chunk.js +1 -0
- package/www/34286.658873a3645429fa261e.chunk.js +1 -0
- package/www/34624.e86f71849566dfc230ac.chunk.js +1 -0
- package/www/34644.bd73b9577f13214df501.chunk.js +1 -0
- package/www/35090.29e7d34960b24abbef8c.chunk.js +1 -0
- package/www/35115.4ef465939de339b2e5af.chunk.js +1 -0
- package/www/35172.c920bc7288c67573d3e7.chunk.js +1 -0
- package/www/35308.2de443eb1beb01f2299c.css +1 -0
- package/www/35308.a8726e9eb79173d6fa4c.chunk.js +1 -0
- package/www/35569.e513b5520c7d10b0c5ce.chunk.js +1 -0
- package/www/35601.4938a804b29c99bbbdbd.chunk.js +1 -0
- package/www/36104.32bffb52be76300592fe.chunk.js +1 -0
- package/www/36117.5990db3732d23e480626.chunk.js +1 -0
- package/www/36154.16c3e67fd7ec4450111e.css +2 -0
- package/www/36154.2ce2a684991f3f89f7ca.chunk.js +1 -0
- package/www/36165.8d93fbea1b1c6dad888c.chunk.js +1 -0
- package/www/36293.17adaeeb977f45217ad1.chunk.js +1 -0
- package/www/36392.c3dab72ac18ff20bb9a0.chunk.js +1 -0
- package/www/36934.47c1128a0b3ebd24761e.chunk.js +1 -0
- package/www/36962.77646dce0c02cbcc4fb8.chunk.js +1 -0
- package/www/37117.60f1b1fe71c08399cba7.chunk.js +1 -0
- package/www/37202.b4c861a959198ab568d5.chunk.js +1 -0
- package/www/37290.af9d9df2996a4cd850b1.chunk.js +1 -0
- package/www/37418.6da98d96a24d230f4962.chunk.js +1 -0
- package/www/37491.3b9cfbafaf300a8253ff.chunk.js +1 -0
- package/www/37522.fa82523711199c18b452.chunk.js +1 -0
- package/www/37625.7d244710cfd35e490660.chunk.js +1 -0
- package/www/37658.9a1fd43942524f7e474a.chunk.js +1 -0
- package/www/3767.aef59dc08f22402f40e6.chunk.js +1 -0
- package/www/3776.f46aa66b273cb2199582.chunk.js +1 -0
- package/www/37821.657eef9ddbfef807d3ad.chunk.js +1 -0
- package/www/38082.d5c479298b0138321239.chunk.js +1 -0
- package/www/38122.5484b7a8e84127a41eab.chunk.js +1 -0
- package/www/38619.4a3d5cf80b2b7aabe6df.chunk.js +1 -0
- package/www/38775.fd8071f5e1ab154ea19f.chunk.js +1 -0
- package/www/3888.7da541436acd95af2f65.chunk.js +1 -0
- package/www/38965.a085962443408ce8acfa.chunk.js +1 -0
- package/www/39232.e6ee197b3d379ec39900.chunk.js +1 -0
- package/www/39233.947d54266f65cf06dd1c.chunk.js +1 -0
- package/www/39345.32f4c4c204ffc4d7bf43.css +2 -0
- package/www/39345.9e7a7ae012b09b3ffbca.chunk.js +1 -0
- package/www/39373.8f71dab04f96a55261c3.chunk.js +1 -0
- package/www/39469.4a76a57fffdd9469adfa.chunk.js +2 -0
- package/www/39469.4a76a57fffdd9469adfa.chunk.js.LICENSE.txt +1 -0
- package/www/39718.74dc46dbb7c30307cf7c.chunk.js +1 -0
- package/www/39867.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/4003.8ff666796e99d6c22cb4.chunk.js +1 -0
- package/www/40247.d9d4d760cf4e52445e24.chunk.js +1 -0
- package/www/40248.e00ae5b824f83f245803.css +2 -0
- package/www/40459.f59b2cc0a89e3e86be1b.css +3 -0
- package/www/40465.0f765067305280ecf22d.chunk.js +1 -0
- package/www/40501.384eec3a00b3836128da.css +1 -0
- package/www/40501.ec04eb5e3add9a092c56.chunk.js +1 -0
- package/www/40592.aaaacb22d22a31193afb.chunk.js +1 -0
- package/www/40622.c6dc6ae6aa81dd817c9a.chunk.js +1 -0
- package/www/4069.434cfc46c90a1da39b36.chunk.js +1 -0
- package/www/40815.d881107cd3bbae65c5c4.chunk.js +1 -0
- package/www/40852.8280deaa99c0ddcb2918.chunk.js +1 -0
- package/www/40946.24f1d9f052c8feeac9e4.chunk.js +1 -0
- package/www/40px.106a7abc109fb5e78742.png +0 -0
- package/www/41049.4651bbb17d54ac332a68.chunk.js +1 -0
- package/www/4113.83b0350d733cb0566fab.chunk.js +1 -0
- package/www/41241.ca932f4033dcc476c245.chunk.js +1 -0
- package/www/41247.14586f0cc695ab1ad7e5.chunk.js +1 -0
- package/www/41286.4143914319ce70bbde19.chunk.js +1 -0
- package/www/42033.c723936a8855bd63e2e7.chunk.js +1 -0
- package/www/42206.00abfda62ecc3d4fe3d8.chunk.js +1 -0
- package/www/42244.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/42351.d33d63e0380214b03fe8.chunk.js +1 -0
- package/www/42546.1a3070fe74ac2e54c74c.chunk.js +1 -0
- package/www/42635.763faac2b41802fdfc09.chunk.js +1 -0
- package/www/42870.b8321b966a90bbedb1d6.chunk.js +1 -0
- package/www/4330.b9973a8ebf133359701e.chunk.js +1 -0
- package/www/4350.536308f849b6a3be873a.chunk.js +1 -0
- package/www/43531.22bad7739c765ce1704a.chunk.js +1 -0
- package/www/44119.da8b31127255cd54ed95.chunk.js +1 -0
- package/www/44184.678acea44af5dab1fff7.chunk.js +1 -0
- package/www/44314.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/44336.d2209df0e02327df0057.chunk.js +1 -0
- package/www/44418.ed34c2b74297f2f90586.chunk.js +1 -0
- package/www/44426.81093e525739091e0578.chunk.js +1 -0
- package/www/44599.b42aefaa4c79d0e2b43b.chunk.js +1 -0
- package/www/44599.c073a0d3c812c26291eb.css +3 -0
- package/www/44717.8a83f4265befa615c3fe.chunk.js +1 -0
- package/www/44910.384eec3a00b3836128da.css +1 -0
- package/www/44910.3d5f017edc10c656aa7d.chunk.js +1 -0
- package/www/45085.8ba0c1d33608e2186d97.chunk.js +1 -0
- package/www/45101.f1714f7f719c88825d75.chunk.js +1 -0
- package/www/45198.c71174a239823da4a824.chunk.js +1 -0
- package/www/45315.5f462d374685a41835b6.chunk.js +1 -0
- package/www/45568.ab4ed4bd7c2bc72cb6f0.chunk.js +2 -0
- package/www/45568.ab4ed4bd7c2bc72cb6f0.chunk.js.LICENSE.txt +1 -0
- package/www/45645.2f7e5f7df67f82a82670.chunk.js +1 -0
- package/www/45654.1da51a7b2bc0c71828e5.chunk.js +1 -0
- package/www/45859.e8dcce8f71a536a30cda.chunk.js +1 -0
- package/www/4588.d6bde28623ba22810c27.chunk.js +1 -0
- package/www/45995.4dda14c2f98251d83dd3.chunk.js +1 -0
- package/www/46226.2abb7c79d9723d9ab236.chunk.js +1 -0
- package/www/46555.e3701e816d2a00b028b4.chunk.js +1 -0
- package/www/46629.9039e3158f55405c5856.chunk.js +1 -0
- package/www/46634.3aebfb8dd8b16615bdfc.chunk.js +1 -0
- package/www/4665.fa82523711199c18b452.chunk.js +1 -0
- package/www/46655.76ded64dd120088ae54a.chunk.js +1 -0
- package/www/46783.38c4bb39a145d2669cc8.chunk.js +1 -0
- package/www/46902.ae7a4bb861dbba8487cb.chunk.js +1 -0
- package/www/46967.03edf3bb7ee048ee10be.css +1 -0
- package/www/46967.bundle.js +2 -0
- package/www/46967.bundle.js.LICENSE.txt +62 -0
- package/www/47066.8501db96b310c5236fbd.chunk.js +1 -0
- package/www/47102.08d31cedb607d2dcc462.chunk.js +2 -0
- package/www/47102.08d31cedb607d2dcc462.chunk.js.LICENSE.txt +1 -0
- package/www/47102.c3cf0b7d0055206a0dfb.css +1 -0
- package/www/47203.31029f17eda43682b271.chunk.js +1 -0
- package/www/47279.ee7aa2601493726fa16b.chunk.js +1 -0
- package/www/47352.06e912cf03532e2d00ee.chunk.js +1 -0
- package/www/47472.ead193e1e4096120377c.css +1 -0
- package/www/47472.f16a508b3c09cde4868f.chunk.js +1 -0
- package/www/47649.ff8086d3bdcd0eae3246.chunk.js +1 -0
- package/www/47886.2227149884409c97c464.chunk.js +1 -0
- package/www/4800.fc4aca768cc0befdfa96.chunk.js +1 -0
- package/www/48016.e501e1e84bd87929dfc6.chunk.js +1 -0
- package/www/48230.a4a798b17ea8afeeaa83.chunk.js +1 -0
- package/www/48232.134409824a0b9855e352.chunk.js +1 -0
- package/www/48315.3a4e09742e223c15fa94.chunk.js +1 -0
- package/www/48557.cdc4fc8f784908fcdef6.chunk.js +1 -0
- package/www/48631.43b9ec289191f9613c7b.chunk.js +1 -0
- package/www/48979.fe19cf280dfec2089780.chunk.js +1 -0
- package/www/49092.e9d80a53c7b83479360a.chunk.js +1 -0
- package/www/49182.22fad06d3f89bcc7f92c.chunk.js +1 -0
- package/www/49275.33d120633061a9265caa.chunk.js +1 -0
- package/www/49275.667e823ce6c9b896cd5b.css +1 -0
- package/www/49427.fa82523711199c18b452.chunk.js +1 -0
- package/www/49516.bd4fcff26bd6434ea7fa.chunk.js +1 -0
- package/www/4952.3353e359c110a315f0b9.chunk.js +1 -0
- package/www/4969.4d966ab630991ceee3a8.chunk.js +1 -0
- package/www/49702.c12bae1c6737452ea830.chunk.js +1 -0
- package/www/49771.934d9027d7a3ed46e1cd.chunk.js +1 -0
- package/www/49882.4fad4d40868a9fae9ff0.chunk.js +1 -0
- package/www/49931.62f927ff9ff2ec423a5a.chunk.js +1 -0
- package/www/50256.2938c27fef3c42aa5f4e.chunk.js +1 -0
- package/www/50304.92a4007d7d3a944a6093.chunk.js +1 -0
- package/www/50352.5427cc0541ad3b448f58.chunk.js +1 -0
- package/www/50959.4d8604e1fa199bbd0c6b.chunk.js +1 -0
- package/www/51239.5449494861dae97d4368.chunk.js +1 -0
- package/www/51664.450bfed9f284319ca990.chunk.js +1 -0
- package/www/51797.0a30071e000698aa4cd8.chunk.js +1 -0
- package/www/5218.557444624b12fb0166b6.chunk.js +1 -0
- package/www/52294.ade80ed07e11118cc05a.chunk.js +1 -0
- package/www/52361.4dc1e171984a8e6fea43.css +2 -0
- package/www/52361.63ac4090b9e6bf3be1f1.chunk.js +1 -0
- package/www/52470.191f468ac6550373c2c9.chunk.js +1 -0
- package/www/5289.70589ab0f4b4c4a24f50.chunk.js +1 -0
- package/www/53054.7723323bdb1b44f2f548.chunk.js +1 -0
- package/www/53402.8cd8dec5ae93323650f4.chunk.js +1 -0
- package/www/53408.a083386c2f0baceecd7f.chunk.js +1 -0
- package/www/53610.9bb06dac33bf0f65e0bf.chunk.js +1 -0
- package/www/53687.4c07532713deabe0cf5b.chunk.js +1 -0
- package/www/53736.a0af9b4fe452a44fe3a4.chunk.js +1 -0
- package/www/53823.84b7d1702e48fc03eeba.chunk.js +1 -0
- package/www/53872.a75e089da1e9d88cba8e.chunk.js +1 -0
- package/www/54147.66b9ce8d4c8d8df0108c.chunk.js +1 -0
- package/www/54384.359285e1fdea52a411f0.chunk.js +1 -0
- package/www/54552.244b2e6c6410a7dc4ed4.chunk.js +1 -0
- package/www/54623.b483681abaab07461325.css +1 -0
- package/www/54623.c584e2fb11478a872cc9.chunk.js +1 -0
- package/www/54693.70e6d166fd56544c490e.chunk.js +1 -0
- package/www/54738.f43993231f782a76656b.chunk.js +1 -0
- package/www/54847.fff2a5ef0ced820e0cdf.chunk.js +1 -0
- package/www/55075.d80e8adfd8ed629c3a1f.chunk.js +1 -0
- package/www/55355.99f1c2a4f2c37f89e04a.chunk.js +1 -0
- package/www/55645.76685b9facb596525286.chunk.js +1 -0
- package/www/55802.f8496f55901a6b8dfa6f.chunk.js +2 -0
- package/www/55802.f8496f55901a6b8dfa6f.chunk.js.LICENSE.txt +1 -0
- package/www/56068.0781347dabc19e98eae3.chunk.js +1 -0
- package/www/56127.f991ed447313fa59390e.chunk.js +1 -0
- package/www/56213.a6cde3c8ba80d7030952.chunk.js +1 -0
- package/www/56754.f4b0bd403f5b7b35d13d.chunk.js +1 -0
- package/www/56778.c5ef93ae44d0379c9173.chunk.js +1 -0
- package/www/56785.e283cfd281738bf63c5e.chunk.js +1 -0
- package/www/5692.284dcfd7d05bdc343807.chunk.js +1 -0
- package/www/56941.048f97852aff23b4a2e5.chunk.js +1 -0
- package/www/57104.c5a20a2157c3baad2ef7.chunk.js +1 -0
- package/www/57308.80b6da5de6af7ff5617c.chunk.js +1 -0
- package/www/57407.fd8d0c491d4f1c953017.chunk.js +1 -0
- package/www/57663.4a0a3cf21647184072e4.chunk.js +1 -0
- package/www/57688.0f21f84159d94a559f6c.chunk.js +1 -0
- package/www/57949.890260722af4eefd0e71.chunk.js +1 -0
- package/www/57965.26dd509418c86f1d915c.chunk.js +1 -0
- package/www/58292.c31433fa79506ef461f1.chunk.js +1 -0
- package/www/58389.c31eccb6b688da49e8e6.chunk.js +1 -0
- package/www/58807.d525f4c425aa95316c53.chunk.js +1 -0
- package/www/59034.85fd9053c675fac1ac7e.chunk.js +1 -0
- package/www/59127.3d4c6cc5b59fb02d5da1.chunk.js +1 -0
- package/www/59186.9366e3b7d95471a15705.chunk.js +1 -0
- package/www/59222.ad8db1ef52e965ea787a.chunk.js +1 -0
- package/www/59258.478f0549ad435368bc8a.chunk.js +1 -0
- package/www/59290.c651b8d08e70d17f522d.chunk.js +1 -0
- package/www/59456.25ccecb20c57f96d859c.chunk.js +1 -0
- package/www/59459.4d50dbebc77870ab1d40.chunk.js +1 -0
- package/www/59498.5c5877ea94fb9b055d0a.chunk.js +1 -0
- package/www/59553.710162c69d10b457fc42.chunk.js +1 -0
- package/www/59613.4e0c9b0aed530eae5b93.chunk.js +1 -0
- package/www/59631.a5f100ca0aa18b26d77a.chunk.js +1 -0
- package/www/59670.78b10a8dcfc2e52d84a7.chunk.js +1 -0
- package/www/59801.684b62f968928a0322f4.chunk.js +1 -0
- package/www/59801.ba78708e821289d81fe1.css +2 -0
- package/www/59867.46e0fcbd1a6543776a7b.chunk.js +1 -0
- package/www/59871.748b370ef92753c59d85.chunk.js +1 -0
- package/www/5996.3ba6e1a4ca85802cdc57.chunk.js +1 -0
- package/www/5996.e6b901a15202346f9ee4.css +1 -0
- package/www/60278.18d089b0eb6c432c00e6.chunk.js +1 -0
- package/www/60278.e6b901a15202346f9ee4.css +1 -0
- package/www/60347.6a8933f6b7f451009b24.chunk.js +1 -0
- package/www/60389.31ecb542e720edc29088.chunk.js +1 -0
- package/www/60545.dd706d73e94a95788879.chunk.js +1 -0
- package/www/60607.99b4e7093f1e284e3961.chunk.js +1 -0
- package/www/60850.948fd7bea7d5742ffc0e.chunk.js +1 -0
- package/www/60910.e06d664893d325ef2b85.chunk.js +1 -0
- package/www/6140.3b6e6b4e55a292de264d.chunk.js +1 -0
- package/www/61470.579917fe550ea650a8d0.chunk.js +1 -0
- package/www/6157.a14f1bd3270a147be772.chunk.js +1 -0
- package/www/61695.d1d93e07a510cb5c72b4.chunk.js +1 -0
- package/www/61745.8195d76d4beff202020f.chunk.js +1 -0
- package/www/61989.133b82da373746471685.chunk.js +1 -0
- package/www/61989.a66306069d8df20abbd3.css +3 -0
- package/www/62083.ed07ffc5920c00112000.chunk.js +1 -0
- package/www/6223.6fbd7b5c3ac5f6a3a387.chunk.js +1 -0
- package/www/62248.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/62265.164825b64fde038500e5.chunk.js +1 -0
- package/www/62275.cb303b8c83690fde2929.chunk.js +1 -0
- package/www/62368.62bee403583fc591a741.chunk.js +1 -0
- package/www/62373.0787be9787b2f99d3152.chunk.js +1 -0
- package/www/62654.46c1a6d716ebf4a3a544.chunk.js +1 -0
- package/www/62762.4dcfb39a4d100a7ec1ca.chunk.js +1 -0
- package/www/6282.33397626ba6e179dff5f.chunk.js +1 -0
- package/www/62840.529ad263def31f084c62.css +3 -0
- package/www/62882.384eec3a00b3836128da.css +1 -0
- package/www/62882.ec04eb5e3add9a092c56.chunk.js +1 -0
- package/www/63025.9621d175054dc0f74a04.chunk.js +1 -0
- package/www/63039.0e55ee4e9a806b3b45ee.chunk.js +1 -0
- package/www/6339.8d8b974bb0477c170b07.chunk.js +1 -0
- package/www/63525.b8fe6eaa9ff3025d892c.chunk.js +1 -0
- package/www/63585.1f7a4ef2c375a1b4db28.chunk.js +1 -0
- package/www/6368.c64b97b9cb20b3772646.chunk.js +1 -0
- package/www/63741.56f0258f4df1fcfe33a6.chunk.js +1 -0
- package/www/63741.92d62a235d695e5a00ca.css +5 -0
- package/www/64422.3eb8906c2038e6c3ec42.chunk.js +1 -0
- package/www/6464.011b01f894cea75a3aa2.chunk.js +1 -0
- package/www/64671.1120e9f12b8046e5aca6.chunk.js +1 -0
- package/www/64790.1474e86e2968130aac5f.chunk.js +1 -0
- package/www/6496.820f6a55d98c6299419b.css +1 -0
- package/www/6496.a2625db83f5e6116653d.chunk.js +1 -0
- package/www/65005.2641321a78d62b908c7b.chunk.js +1 -0
- package/www/65202.32934b673c12d90b7bc8.chunk.js +1 -0
- package/www/653.48092087f91549065db8.chunk.js +1 -0
- package/www/65312.c12eb50b429fcf557551.chunk.js +1 -0
- package/www/6546.38b7cdf41427d3035a15.chunk.js +1 -0
- package/www/65470.423f60583230aec41be9.chunk.js +1 -0
- package/www/65920.bc3046fd01c123994283.chunk.js +1 -0
- package/www/66124.a88d63383cc5ff0a89aa.chunk.js +1 -0
- package/www/66429.46d365b88e6331aabe7b.chunk.js +1 -0
- package/www/66884.1cd569ac04ac2a6cd721.css +2 -0
- package/www/66907.c1099bcc4adc88034837.chunk.js +1 -0
- package/www/66923.0db1c08d003d3c7780c6.css +1 -0
- package/www/66923.aa4d29e6cde8593235c4.chunk.js +1 -0
- package/www/66955.6968b693f859f60d3a3f.chunk.js +1 -0
- package/www/66995.8690f11c04cf2356a7aa.chunk.js +1 -0
- package/www/67056.efef8ac9e3c33a8da956.chunk.js +1 -0
- package/www/67248.01408b2b05dbac53a2f9.chunk.js +1 -0
- package/www/67322.2af0a1a39d8974eda39a.chunk.js +1 -0
- package/www/67503.16eb262bbe4804efa17e.chunk.js +1 -0
- package/www/67515.b33e5fb92f51d4ee2129.chunk.js +1 -0
- package/www/6753.2c803aec4e4517e9cf44.chunk.js +1 -0
- package/www/67734.32c1655da3a732673cf3.chunk.js +2 -0
- package/www/67734.32c1655da3a732673cf3.chunk.js.LICENSE.txt +21 -0
- package/www/67942.6d2511c4a5cd18b8a781.chunk.js +1 -0
- package/www/68085.7598e492dd997997594b.chunk.js +1 -0
- package/www/68134.841dc8f96c0ab4e37b73.chunk.js +1 -0
- package/www/6828.f7e490be04bfa0718826.chunk.js +1 -0
- package/www/68385.008288b25e83f732c8e2.chunk.js +1 -0
- package/www/68402.1538d7133cecb0190050.chunk.js +1 -0
- package/www/68413.fd47b46245a5934670be.chunk.js +1 -0
- package/www/68448.92582e12be9bb8470b00.chunk.js +1 -0
- package/www/68481.9e175af00b7bf2330bda.chunk.js +1 -0
- package/www/685.beb0dc74d98242f1359a.chunk.js +1 -0
- package/www/68603.6c4daa3c063b03183af4.chunk.js +1 -0
- package/www/68603.bfde69083a6ae513ba97.css +3 -0
- package/www/68971.add693c416ecf0cf921e.chunk.js +1 -0
- package/www/69260.724083a2d4fea0a0e22c.chunk.js +1 -0
- package/www/6940.60007da63834710b4a64.chunk.js +1 -0
- package/www/69520.7ddaec0e7b314b7f1226.chunk.js +1 -0
- package/www/69729.2a4bd44922cb7a5a276b.chunk.js +1 -0
- package/www/69729.cd82215571c37ba5ff1e.css +2 -0
- package/www/69773.70737cb405476ba96346.chunk.js +1 -0
- package/www/69793.0d78c17b3976d7125af7.chunk.js +1 -0
- package/www/69793.2afc548e31bf7838dbba.css +1 -0
- package/www/69881.311682122fe78447c162.chunk.js +1 -0
- package/www/69881.85d5c8ac3936b68e702e.css +1 -0
- package/www/7006.0e66e010907144fcddd5.chunk.js +1 -0
- package/www/70179.055d0c90e45760254000.chunk.js +1 -0
- package/www/70242.50f1516209af161ccd2c.chunk.js +1 -0
- package/www/70356.892520fa210989c913b5.chunk.js +1 -0
- package/www/7046.b7059bdefec8edb5431e.chunk.js +1 -0
- package/www/70525.a75300d5880d41709b94.chunk.js +1 -0
- package/www/70538.3b7704dc35185792d64b.css +1 -0
- package/www/70538.d6c399619eb76106c279.chunk.js +2 -0
- package/www/70538.d6c399619eb76106c279.chunk.js.LICENSE.txt +1 -0
- package/www/70546.65ae15ab3dfeedf2c4c8.chunk.js +1 -0
- package/www/70712.d190199560416b290687.chunk.js +1 -0
- package/www/7082.a8bf4b8be729a4b3c8b0.chunk.js +1 -0
- package/www/70831.e2c00925861f2a08979e.chunk.js +1 -0
- package/www/71103.24d1c0c56e491cc31f9f.chunk.js +1 -0
- package/www/71454.46d2c499ae1164063e43.css +1 -0
- package/www/71454.6f226f75b9359303c24a.chunk.js +1 -0
- package/www/71680.d28f69c4aa446ebe5a27.chunk.js +1 -0
- package/www/71805.79e55e6d30c7ff145bef.chunk.js +1 -0
- package/www/71808.fa82523711199c18b452.chunk.js +1 -0
- package/www/71830.043397bf8e1a49f82a2d.css +1 -0
- package/www/71830.466454b43fc846ba9455.chunk.js +1 -0
- package/www/7184.869df815febd2c11640c.chunk.js +1 -0
- package/www/71934.520fbed2e300705d5d0e.chunk.js +1 -0
- package/www/72044.76a2f66e3b54b6e3f530.chunk.js +1 -0
- package/www/72044.aca0df64c251e55de26b.css +7 -0
- package/www/72143.694bf196c1052b788cc6.chunk.js +1 -0
- package/www/72241.cfdf42c41898f2052aa5.chunk.js +1 -0
- package/www/72327.0241239b0df63cc77f92.chunk.js +1 -0
- package/www/72389.4cac7fba5e9d40660a0d.chunk.js +1 -0
- package/www/72409.e44c7e8e98d0c720b59e.chunk.js +1 -0
- package/www/72422.3bcffa4f38d08d04123c.chunk.js +1 -0
- package/www/72521.d31ee84e2c9918dfbd9d.chunk.js +1 -0
- package/www/72681.75fdfc69953da6603f9d.css +3 -0
- package/www/72681.ad4298295b25895cf8e4.chunk.js +1 -0
- package/www/73041.de059eb86a8a9f358f73.chunk.js +1 -0
- package/www/73073.dbbe8bf6d415a8a1f83b.chunk.js +1 -0
- package/www/73233.820553057e01362cf06f.chunk.js +2 -0
- package/www/73233.820553057e01362cf06f.chunk.js.LICENSE.txt +5 -0
- package/www/73557.d41c49b3803bc83e5e6d.chunk.js +1 -0
- package/www/73653.c22d0cb070bdd711c82e.chunk.js +1 -0
- package/www/73769.aa416205c4041b94da16.chunk.js +1 -0
- package/www/73775.328f37fbd89d1ebb43bb.chunk.js +1 -0
- package/www/7389.bcf94941a0963ed00372.chunk.js +1 -0
- package/www/73913.cd4c40ed65d908cf027e.chunk.js +1 -0
- package/www/73957.50c733560ce1f2cc71ff.chunk.js +1 -0
- package/www/74317.34ce77d63167f8c37ca8.chunk.js +1 -0
- package/www/74535.f698e40b2d689693fd4b.chunk.js +1 -0
- package/www/74645.241d4e2ce583ffc91ee4.chunk.js +1 -0
- package/www/74645.f87d086900749f799ea2.css +2 -0
- package/www/74776.ef5f72d7d4b45f5fe3f8.chunk.js +1 -0
- package/www/74959.8a0032b5a3eb36d81f4a.chunk.js +1 -0
- package/www/75101.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/75209.7074aef6806b56e665ad.chunk.js +1 -0
- package/www/75336.a0a122d93bfcefc3b28e.chunk.js +1 -0
- package/www/75681.d6bf8403eea4c7ef13e6.chunk.js +1 -0
- package/www/75783.db1eeb700502823879c2.chunk.js +1 -0
- package/www/76004.596c29bba17a38e1a9ed.chunk.js +1 -0
- package/www/76068.d5d6e3a74aa53598781a.chunk.js +1 -0
- package/www/76183.9806fcbdaddee7f3dc63.chunk.js +1 -0
- package/www/76476.35d448ae9c84cd7f5867.chunk.js +1 -0
- package/www/76542.033e6959b8ca2bb863d3.css +1 -0
- package/www/76542.15de4ad05e464892082c.chunk.js +1 -0
- package/www/7662.4813545f3269d287465a.chunk.js +1 -0
- package/www/76892.2a6dc51bbc670e638e1e.chunk.js +1 -0
- package/www/77004.4dc1e171984a8e6fea43.css +2 -0
- package/www/77004.88fcb90b98d5af32d850.chunk.js +1 -0
- package/www/7720.a00d14d5ec094516b17b.chunk.js +1 -0
- package/www/77236.e9da4c3111ec90b25327.chunk.js +1 -0
- package/www/77350.43194372bfcf37a6b509.chunk.js +1 -0
- package/www/77499.3e44c61f1e051b0ff466.chunk.js +1 -0
- package/www/77551.936c43ca73712da12e57.chunk.js +1 -0
- package/www/77613.d905cb2254a7e274252b.chunk.js +1 -0
- package/www/77826.e1d0f90cf600674783a2.chunk.js +1 -0
- package/www/7802.387fcfaa7c2ce77245ec.chunk.js +1 -0
- package/www/78283.8a762f8ee2a3b006d5f1.chunk.js +1 -0
- package/www/78588.cbf276c13c41300a918e.chunk.js +1 -0
- package/www/78651.d0435760c49846cd2945.chunk.js +1 -0
- package/www/78654.54b1dc5183535998dfa9.chunk.js +1 -0
- package/www/78747.f5cb18607247f4d19295.chunk.js +1 -0
- package/www/78938.1fe19c216761bd72cbd5.chunk.js +1 -0
- package/www/78968.a131722fe82a76f957e4.chunk.js +1 -0
- package/www/78995.13ebaf554ded59be91f7.chunk.js +1 -0
- package/www/79033.30ea47853200c7a05173.chunk.js +1 -0
- package/www/79245.ebc48bda73527bdfa36e.css +1 -0
- package/www/79336.22741acf845e478c6f3d.chunk.js +1 -0
- package/www/79357.675e1f1461d7705702ac.chunk.js +1 -0
- package/www/79657.c93598b16e75e8952617.chunk.js +1 -0
- package/www/79681.e1d5353fa8b802b0e94a.chunk.js +1 -0
- package/www/79870.77130ce83fa324fe650d.chunk.js +1 -0
- package/www/80083.7a16e3bb446c4a138ced.chunk.js +1 -0
- package/www/80106.9c93c0399234d2361e6b.chunk.js +1 -0
- package/www/80144.e65265c19683fc836e3b.chunk.js +1 -0
- package/www/80401.01b40a404b52ef2c31de.chunk.js +1 -0
- package/www/80625.62403d665d6052691154.chunk.js +1 -0
- package/www/80999.a301655f650b159635eb.chunk.js +1 -0
- package/www/80999.b483681abaab07461325.css +1 -0
- package/www/8117.b20dc23cd1c982b00a2b.chunk.js +1 -0
- package/www/8140.6572b84decfc0332a1a7.chunk.js +1 -0
- package/www/81477.b773dc6ab112776f3298.chunk.js +1 -0
- package/www/81508.0e857cf57199c7a82aa2.chunk.js +1 -0
- package/www/81613.c740550ffb49da467fbb.css +1 -0
- package/www/81613.da4b1f96f2d812035be8.chunk.js +1 -0
- package/www/81790.0889d90e8012c7119b7a.chunk.js +1 -0
- package/www/81949.2faeeace2f02c88a9388.chunk.js +1 -0
- package/www/81949.4dc1e171984a8e6fea43.css +2 -0
- package/www/81954.92bfa3629c1b8a3aed8b.chunk.js +1 -0
- package/www/81992.7a5b27d3f3209dc548e1.chunk.js +1 -0
- package/www/82067.7b575654853a9bc8f384.chunk.js +1 -0
- package/www/82381.38c83d39877828c0d309.chunk.js +1 -0
- package/www/82393.e8cef3972fb438a53eb1.chunk.js +1 -0
- package/www/82509.74e447466c96079d37bf.chunk.js +1 -0
- package/www/82681.613d570ad9e00091cb3f.chunk.js +1 -0
- package/www/82718.e975663faaac71ee6a1f.chunk.js +1 -0
- package/www/82728.6a8933f6b7f451009b24.chunk.js +1 -0
- package/www/83116.ddda2c4a0dd5d5ff7336.chunk.js +1 -0
- package/www/83180.1e7a792308c6e41ddc48.chunk.js +1 -0
- package/www/83208.8671841ae624a9a7f003.chunk.js +1 -0
- package/www/83357.0481a3f35a51c1f38617.chunk.js +1 -0
- package/www/83370.eed7f5f4c65c4afdd558.chunk.js +1 -0
- package/www/83461.37e0a9c62b92106774b8.chunk.js +1 -0
- package/www/83518.84d86d0f301cc604d612.chunk.js +1 -0
- package/www/83619.19bce6e5d03668318ac8.chunk.js +1 -0
- package/www/83756.e9381051d2f5bf196d1b.chunk.js +1 -0
- package/www/84019.1c052899bccf78544e76.chunk.js +1 -0
- package/www/84020.bf73bd9b24e28a00e80c.chunk.js +1 -0
- package/www/84055.0848431ec7bb483ae89a.chunk.js +1 -0
- package/www/84158.b965d0fbed7b231d8996.css +1 -0
- package/www/84158.fce39de3bc6fc52f730c.chunk.js +1 -0
- package/www/84348.6e10fcc21e65c16ed553.chunk.js +1 -0
- package/www/8444.280930dddfdc96303849.chunk.js +1 -0
- package/www/84499.cda277b1072a26a9a9b8.chunk.js +1 -0
- package/www/84501.873e0a5827ed21e10553.css +1 -0
- package/www/84501.c519e2b7c417db2f6bee.chunk.js +1 -0
- package/www/84903.360aacc55a4698e6a674.chunk.js +1 -0
- package/www/85065.bfa6f0fad6b4328d259e.chunk.js +1 -0
- package/www/85234.7bea5848e2b1a33aa174.chunk.js +1 -0
- package/www/8528.d43d010f53b953d10119.chunk.js +1 -0
- package/www/85447.15cb1105bfb62154089d.chunk.js +1 -0
- package/www/8575.7c0c1963384d9ff63eda.chunk.js +1 -0
- package/www/8575.f181f20df0b13586dc25.css +1 -0
- package/www/85794.d6548f60c794bfbb2cd3.chunk.js +1 -0
- package/www/86376.87ce012f8ba76b09eb9c.css +4 -0
- package/www/86442.83e3d02d391091ea5c36.chunk.js +1 -0
- package/www/86678.584363de260c000f4e73.css +1 -0
- package/www/86707.8974ad993644b59e2e2a.chunk.js +1 -0
- package/www/86748.34a8c3db5d34b0084852.chunk.js +1 -0
- package/www/87034.623352f44e4b5dbfefbb.chunk.js +1 -0
- package/www/87074.ef2ccb91f0ef353a8e90.chunk.js +1 -0
- package/www/87219.6fc93b4bef5ea14fad02.chunk.js +1 -0
- package/www/87241.243ce18689386b08486c.chunk.js +1 -0
- package/www/87300.37f8f6672df9d27b25f5.chunk.js +1 -0
- package/www/8734.835e2a199be53fbec67c.chunk.js +1 -0
- package/www/87399.386197ca49ff8f641dbc.chunk.js +1 -0
- package/www/8752.48a741b7e428c6a2cbf0.css +1 -0
- package/www/8752.91667f102a1946dbc81a.chunk.js +1 -0
- package/www/87652.f5c35fdc0eb65cfdde95.chunk.js +1 -0
- package/www/87717.ee307ba4e2b186ad5b53.chunk.js +1 -0
- package/www/87738.6fcfc3a09a0cea86f24c.chunk.js +1 -0
- package/www/87803.7787846ed63c715d7634.chunk.js +1 -0
- package/www/88309.d313880df21a7ae5bb16.chunk.js +1 -0
- package/www/8833.77ce69033f17998d25c7.chunk.js +1 -0
- package/www/88449.0a7d265bb153d2e1ab3c.chunk.js +1 -0
- package/www/88559.f287911588e0db1eaed1.chunk.js +1 -0
- package/www/8860.d873a914568b7d0a53e7.chunk.js +1 -0
- package/www/88637.bcc8d094cfd9fd0ee791.chunk.js +1 -0
- package/www/88711.df50260b6d411bbd86da.chunk.js +1 -0
- package/www/88918.194567484a7a2b99f980.chunk.js +1 -0
- package/www/8892.8da942770a8b50b4c1c9.chunk.js +1 -0
- package/www/88981.3147f0c2c59352d0e3a5.chunk.js +1 -0
- package/www/89009.81ca2bcc6e47e0a7e0e5.chunk.js +1 -0
- package/www/89083.8c9b506eebc550bafed1.chunk.js +1 -0
- package/www/89268.e0e39f0f6208ce6c8965.chunk.js +1 -0
- package/www/89336.0fbfa783adadc917dbc4.chunk.js +1 -0
- package/www/89775.63b6e30c1e7dda6ab4ec.chunk.js +1 -0
- package/www/89903.6097d0168ff539d1a391.chunk.js +1 -0
- package/www/90156.8d81e5a610b9e9243194.chunk.js +1 -0
- package/www/90207.d34a472dfca0a2603805.chunk.js +1 -0
- package/www/90285.214e8119655fedae83bf.chunk.js +1 -0
- package/www/90810.19be4944e7a0c3ff5c5f.chunk.js +1 -0
- package/www/91054.5ec0955bfe72642be58c.chunk.js +1 -0
- package/www/91163.71692a25dea2923df610.chunk.js +1 -0
- package/www/91684.552c7787d919f50adfb3.chunk.js +1 -0
- package/www/91719.e3a7701a23e2819f1e3b.chunk.js +1 -0
- package/www/91737.46d2c499ae1164063e43.css +1 -0
- package/www/91737.b9baab0479e3b2a202c2.chunk.js +1 -0
- package/www/91763.71b4835acef4c14f7070.chunk.js +1 -0
- package/www/91786.d10df3d1f8574b8bed3e.chunk.js +1 -0
- package/www/9205.d363b445ec61ccf4f681.chunk.js +1 -0
- package/www/92102.173f44d6d01c1ee47c3f.chunk.js +1 -0
- package/www/92364.542fd0c51d750273bee1.chunk.js +1 -0
- package/www/93384.4776516ee4b9ef1375dc.chunk.js +1 -0
- package/www/93551.a4baeb2e8d605c34debc.chunk.js +1 -0
- package/www/93634.97de4c8e3aa61c4d5e98.chunk.js +1 -0
- package/www/93763.5a73e4982892a6668b51.chunk.js +1 -0
- package/www/93855.5a03a47acf849021f21e.chunk.js +1 -0
- package/www/9387.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/93958.dc2c6d2f0cc42f5ee79c.chunk.js +1 -0
- package/www/93969.266b5e6103f91934f26e.chunk.js +1 -0
- package/www/94160.e50a357853ff3e0e654e.chunk.js +1 -0
- package/www/94238.9ab4b1cc10273a800eff.chunk.js +1 -0
- package/www/94247.6f937472b48e75b9cb04.chunk.js +1 -0
- package/www/9446.779d6b388d6b0c388c44.chunk.js +1 -0
- package/www/94728.c502efaf465b2c664226.chunk.js +1 -0
- package/www/94734.1526a30e2a739cfc3cba.chunk.js +1 -0
- package/www/94809.eb4370998b46edd2e1e8.chunk.js +1 -0
- package/www/95062.22dd6dea7c6d8b41cfc4.chunk.js +1 -0
- package/www/95062.8eec879acea06fa39023.css +2 -0
- package/www/95105.c51cdc8d76819a800db5.chunk.js +1 -0
- package/www/95171.e731736b1560278c6322.chunk.js +1 -0
- package/www/95454.7ebdada6cdb84acba6e9.chunk.js +2 -0
- package/www/95454.7ebdada6cdb84acba6e9.chunk.js.LICENSE.txt +1 -0
- package/www/95697.529ad263def31f084c62.css +3 -0
- package/www/95926.8c0133d208ea6285d75c.chunk.js +1 -0
- package/www/95992.e63e28bcd141d01e6962.chunk.js +1 -0
- package/www/96077.7e6c33a638b2b618f508.chunk.js +1 -0
- package/www/9611.9ced7965ec68f1223141.chunk.js +1 -0
- package/www/9684.7548089601c0d4a6f711.chunk.js +1 -0
- package/www/97073.797c5d0c5fc927d6a927.chunk.js +1 -0
- package/www/97112.e32f111ea2e6d2c7b38e.chunk.js +1 -0
- package/www/97480.060cb32185481eb3fc71.chunk.js +1 -0
- package/www/97482.6df7a560c7676008c11b.chunk.js +1 -0
- package/www/97672.88886378732de01a0a09.chunk.js +1 -0
- package/www/97689.90cace1e5c093a77b39d.chunk.js +1 -0
- package/www/98216.588a5e935759c7eb046b.chunk.js +1 -0
- package/www/98481.033e6959b8ca2bb863d3.css +1 -0
- package/www/98481.a256278d8cf20f2551ae.chunk.js +1 -0
- package/www/98610.537f74fab9da8585f340.chunk.js +1 -0
- package/www/98618.8944f222b95bb989acfe.chunk.js +1 -0
- package/www/98769.eb17c0a7cbbfd6defc54.chunk.js +1 -0
- package/www/98931.d8ecf56e8251c655e1e0.chunk.js +1 -0
- package/www/99049.ac743beeb22ff575e18b.chunk.js +1 -0
- package/www/99883.cdb8bf2456d86c774380.chunk.js +1 -0
- package/www/99911.96739e32337332dad222.chunk.js +1 -0
- package/www/MaterialIcons-Regular.08cefa1bc6566a650da7.woff +0 -0
- package/www/MaterialIcons-Regular.2d8017489da689caedc1.woff2 +0 -0
- package/www/MaterialIcons-Regular.698bd8550d863c20a3e1.ttf +0 -0
- package/www/MaterialIcons-Regular.af9a28e7f261a412f581.eot +0 -0
- package/www/ab-json.f9b38ac7a9bf6509f345.chunk.js +1 -0
- package/www/activity.b3a0796313d1218314a0.chunk.js +1 -0
- package/www/af-json.f94cdb79d6cb18fbf76b.chunk.js +1 -0
- package/www/ar-json.5c8bbb2a331f8c91e087.chunk.js +1 -0
- package/www/as-json.c9ec5dcf74b613f34865.chunk.js +1 -0
- package/www/assets/audio/silence.mp3 +0 -0
- package/www/assets/img/avatar.png +0 -0
- package/www/assets/img/devices/android.svg +4 -0
- package/www/assets/img/devices/apple.svg +1 -0
- package/www/assets/img/devices/chrome.svg +1 -0
- package/www/assets/img/devices/edge.svg +1 -0
- package/www/assets/img/devices/edgechromium.svg +1 -0
- package/www/assets/img/devices/finamp.svg +7 -0
- package/www/assets/img/devices/firefox.svg +1 -0
- package/www/assets/img/devices/firetv.svg +1 -0
- package/www/assets/img/devices/home-assistant.svg +1 -0
- package/www/assets/img/devices/html5.svg +1 -0
- package/www/assets/img/devices/kodi.svg +11 -0
- package/www/assets/img/devices/msie.svg +1 -0
- package/www/assets/img/devices/opera.svg +1 -0
- package/www/assets/img/devices/other.svg +1 -0
- package/www/assets/img/devices/playstation.svg +1 -0
- package/www/assets/img/devices/roku.svg +7 -0
- package/www/assets/img/devices/safari.svg +1 -0
- package/www/assets/img/devices/samsungtv.svg +1 -0
- package/www/assets/img/devices/titanos.svg +12 -0
- package/www/assets/img/devices/webos.svg +31 -0
- package/www/assets/img/devices/windows.svg +1 -0
- package/www/assets/img/devices/xbox.svg +1 -0
- package/www/assets/img/equalizer-paused.png +0 -0
- package/www/assets/img/equalizer.gif +0 -0
- package/www/assets/img/fresh.svg +20 -0
- package/www/assets/img/rotten.svg +1 -0
- package/www/backdropScreensaver-plugin.b5da582b42865c50390c.chunk.js +1 -0
- package/www/backups.fe49fae27db0ff6cb33d.chunk.js +1 -0
- package/www/banner-dark.31011bc0c5e6acb07879.png +0 -0
- package/www/banner-light.b113d4d1c6c07fcb73f0.png +0 -0
- package/www/be-by-json.66f767fa7b520f04453e.chunk.js +1 -0
- package/www/bg-bg-json.80bb516913c5a7470603.chunk.js +1 -0
- package/www/blurhash.worker.bundle.js +1 -0
- package/www/bn-json.ab32a30a20633f4c8a2c.chunk.js +1 -0
- package/www/bn_BD-json.d5331166ed714bc844ab.chunk.js +1 -0
- package/www/bookPlayer-plugin.55f809614832cbd9cf79.css +1 -0
- package/www/bookPlayer-plugin.9f1a07293508b053f6a8.chunk.js +2 -0
- package/www/bookPlayer-plugin.9f1a07293508b053f6a8.chunk.js.LICENSE.txt +1 -0
- package/www/bookPlayer-style-scss.55f809614832cbd9cf79.css +1 -0
- package/www/bookPlayer-style-scss.9c199262ede9dcc9645a.chunk.js +1 -0
- package/www/bookPlayer-tableOfContents.cc6c9a91fae86466c8d3.chunk.js +1 -0
- package/www/bookPlayer-template-html.085c91e49d348eab6387.chunk.js +1 -0
- package/www/br-json.c16aa93b4cd37220f88d.chunk.js +1 -0
- package/www/branding.2d2ddffb8d34c1596c9e.chunk.js +1 -0
- package/www/ca-json.20a8d18f19bdf7f10c4a.chunk.js +1 -0
- package/www/ch-json.e0add4c660aa265e4d90.chunk.js +1 -0
- package/www/chromecastPlayer-castSenderApi.9464cdc56b94a114d819.chunk.js +1 -0
- package/www/chromecastPlayer-plugin.3c6e1b12d73c84b2e1d4.chunk.js +1 -0
- package/www/ckb-json.a38a531bf45fb9d84c07.chunk.js +1 -0
- package/www/comicsPlayer-plugin.69bfe13f659ce6243479.chunk.js +2 -0
- package/www/comicsPlayer-plugin.69bfe13f659ce6243479.chunk.js.LICENSE.txt +7 -0
- package/www/comicsPlayer-plugin.819b6c930e413c7e0b31.css +1 -0
- package/www/comicsPlayer-style-scss.819b6c930e413c7e0b31.css +1 -0
- package/www/comicsPlayer-style-scss.dd279afabb6def7c0d08.chunk.js +1 -0
- package/www/config.json +50 -0
- package/www/cs-json.831ead2b5759d8726f0b.chunk.js +1 -0
- package/www/cy-json.8471b1404f9db2f06bc2.chunk.js +1 -0
- package/www/da-json.8cd34ab5bc63336d1174.chunk.js +1 -0
- package/www/de-json.11ca62412b97e366bba0.chunk.js +1 -0
- package/www/devices.63c6c846a395b0972e22.chunk.js +1 -0
- package/www/dv-json.9ef834c2dbdea05a43ea.chunk.js +1 -0
- package/www/edititemmetadata-html.73580261ddfe3c52b75c.chunk.js +1 -0
- package/www/edititemmetadata.81f5848418581057ae5a.chunk.js +1 -0
- package/www/el-json.fc264057b9e067d46bf5.chunk.js +1 -0
- package/www/empty.6de874568a98308c4a74.png +0 -0
- package/www/en-gb-json.5de216176fdfdba1cf9a.chunk.js +1 -0
- package/www/en-us-json.db7a5599b25483e42e2a.chunk.js +1 -0
- package/www/en_US-json.657cf5b036cf38af0c28.chunk.js +1 -0
- package/www/enm-json.b3e2fcb22bfb8dd88efa.chunk.js +1 -0
- package/www/eo-json.0e4eddd23d5f6229ebe0.chunk.js +1 -0
- package/www/es-ar-json.0a316bf4dd5a0cf15c54.chunk.js +1 -0
- package/www/es-json.573406cfc05cd80da4cb.chunk.js +1 -0
- package/www/es-mx-json.7053d4eeeaf431adc319.chunk.js +1 -0
- package/www/es_419-json.7d95ea6be5a4f3a68b70.chunk.js +1 -0
- package/www/es_DO-json.120d1e8560632de85c56.chunk.js +1 -0
- package/www/et-json.78ca6f5013f6929a1790.chunk.js +1 -0
- package/www/eu-json.2513cc32f369c90d83ac.chunk.js +1 -0
- package/www/experimentalWarnings-plugin.0228a8832bf32c350b47.chunk.js +1 -0
- package/www/fa-json.b2a42097e2d0d86eaba0.chunk.js +1 -0
- package/www/favicon.bc8d51405ec040305a87.ico +0 -0
- package/www/favicons/touchicon.png +0 -0
- package/www/favicons/touchicon114.png +0 -0
- package/www/favicons/touchicon144.png +0 -0
- package/www/favicons/touchicon512.png +0 -0
- package/www/favicons/touchicon72.png +0 -0
- package/www/favorites.3a3a24865e3b5fc3d8f7.chunk.js +1 -0
- package/www/favorites.fe3da754ca151eace417.css +4 -0
- package/www/fi-json.24e9357c3a0bbd881071.chunk.js +1 -0
- package/www/fil-json.438fbd8262760ea38bcf.chunk.js +1 -0
- package/www/finish-index-html.b32fc64a975f26f5382c.chunk.js +1 -0
- package/www/finish.738b407906b7ea53aadc.chunk.js +1 -0
- package/www/fo-json.4ed0f5f7ed02951917dd.chunk.js +1 -0
- package/www/fr-ca-json.5c8582414b19021a9f98.chunk.js +1 -0
- package/www/fr-json.96d63cc0689f33f563ef.chunk.js +1 -0
- package/www/ga-json.bed0081cdb29f14049e2.chunk.js +1 -0
- package/www/gl-json.5a79f2d0b544550438ae.chunk.js +1 -0
- package/www/gsw-json.3468f6b9c6c882f2a011.chunk.js +1 -0
- package/www/gu-json.e1db15382c60a79df08d.chunk.js +1 -0
- package/www/he-json.4a786c5cf1753363a35a.chunk.js +1 -0
- package/www/hi-in-json.ae6838b12fe1bbcd59f6.chunk.js +1 -0
- package/www/home-html.8ce38bc7d6dc073656d4.chunk.js +1 -0
- package/www/home-js.193c6fa7a64e52078d35.css +5 -0
- package/www/home-tsx.d3bf094b69e3b7e9a426.css +2 -0
- package/www/home-tsx.d6dc8795af99d9b3947f.chunk.js +1 -0
- package/www/home.193c6fa7a64e52078d35.css +5 -0
- package/www/home.caca5fffc9caf3ef8b23.chunk.js +1 -0
- package/www/hometab.a4729fe70426a3d965e2.css +5 -0
- package/www/hometab.de9e654dd24ed11d8f22.chunk.js +1 -0
- package/www/homevideos.0f920c2dfd2699de5fea.css +10 -0
- package/www/homevideos.6eb642fb97120c09757c.chunk.js +1 -0
- package/www/hr-json.53e8364f7172e11ae8f6.chunk.js +1 -0
- package/www/ht-json.0c1f6e91dd5fad0807a5.chunk.js +1 -0
- package/www/htmlAudioPlayer-plugin.59566b2aae80dd5c2e56.chunk.js +2 -0
- package/www/htmlAudioPlayer-plugin.59566b2aae80dd5c2e56.chunk.js.LICENSE.txt +1 -0
- package/www/htmlVideoPlayer-plugin.067cf3e86d5294617bd6.chunk.js +2 -0
- package/www/htmlVideoPlayer-plugin.067cf3e86d5294617bd6.chunk.js.LICENSE.txt +1 -0
- package/www/htmlVideoPlayer-style-scss.6919e19d581252e83cdd.css +1 -0
- package/www/htmlVideoPlayer-style-scss.ec2cfc8eec2032e63451.chunk.js +1 -0
- package/www/hu-json.49d0f4a80d04c6765969.chunk.js +1 -0
- package/www/hy-json.24e5f535aa03e8c479fc.chunk.js +1 -0
- package/www/icon-transparent.baba78f2a106d9baee83.png +0 -0
- package/www/id-json.20f6ba80bae6167593b6.chunk.js +1 -0
- package/www/index.f7535abb11bd716049aa.chunk.js +1 -0
- package/www/index.html +1 -0
- package/www/is-is-json.c3c2133700de4b7a1409.chunk.js +1 -0
- package/www/it-json.6b66192da418d95fa445.chunk.js +1 -0
- package/www/itemDetails-index-html.61e51b51db575335a632.chunk.js +1 -0
- package/www/itemDetails.c0c17b27d889eda96662.chunk.js +1 -0
- package/www/itemDetails.c8609767f06ba1b9d6a9.css +8 -0
- package/www/ja-json.442936b5bf6efa6f37dc.chunk.js +1 -0
- package/www/jbo-json.e485d9d9f6269185222e.chunk.js +1 -0
- package/www/ka-json.993cd2b283ca155a5141.chunk.js +1 -0
- package/www/kab-json.374abc369bf33c3b71f7.chunk.js +1 -0
- package/www/keys.c03b60fe478027af23f7.chunk.js +1 -0
- package/www/kk-json.12b6d61073c6882b4180.chunk.js +1 -0
- package/www/kn-json.4ec59d8d92b4576d059e.chunk.js +1 -0
- package/www/ko-json.f9f45c01b832ca2d0b04.chunk.js +1 -0
- package/www/kw-json.a07fa89d4b996c4a0749.chunk.js +1 -0
- package/www/ky-json.7713a9a033c3773fb6d6.chunk.js +1 -0
- package/www/lb-json.2ea3d4bf44d648c45260.chunk.js +1 -0
- package/www/libraries/default.woff2 +0 -0
- package/www/libraries/libarchive.wasm +0 -0
- package/www/libraries/libpgs.worker.js +1 -0
- package/www/libraries/npo.js +2 -0
- package/www/libraries/npo.js.LICENSE.txt +4 -0
- package/www/libraries/pdf.worker.js +2 -0
- package/www/libraries/pdf.worker.js.LICENSE.txt +21 -0
- package/www/libraries/subtitles-octopus-worker-legacy.js +1 -0
- package/www/libraries/subtitles-octopus-worker.js +1 -0
- package/www/libraries/subtitles-octopus-worker.wasm +0 -0
- package/www/libraries/worker-bundle.js +2 -0
- package/www/libraries/worker-bundle.js.LICENSE.txt +5 -0
- package/www/libraries-display.77108e3a19467b9f6569.chunk.js +1 -0
- package/www/libraries-metadata.4860712b6addf527719f.chunk.js +1 -0
- package/www/libraries-nfo.2ffd9779de732897fb51.chunk.js +1 -0
- package/www/libraries.1b6e01d67fa7276dd291.css +9 -0
- package/www/libraries.d26a2f50d48196e60886.chunk.js +1 -0
- package/www/library-html.dcc2bafa565379553f04.chunk.js +1 -0
- package/www/library.830a66ed7e296a8143e4.chunk.js +1 -0
- package/www/library.b965d0fbed7b231d8996.css +1 -0
- package/www/list-html.2fccfe3772389f74f8c9.chunk.js +1 -0
- package/www/list.40b08310ad3e6b6c4713.chunk.js +1 -0
- package/www/list.f1839d83c8868c6e82cc.css +10 -0
- package/www/livetv-html.2d796ed703bf42b20e73.chunk.js +1 -0
- package/www/livetv-livetvchannels.5fc261a4e81aed02e63e.chunk.js +1 -0
- package/www/livetv-livetvchannels.c1d6586feb638a7e0ef6.css +4 -0
- package/www/livetv-livetvguide.045d5d89a9e93846d938.css +5 -0
- package/www/livetv-livetvguide.21c9562f6a6e955afe09.chunk.js +1 -0
- package/www/livetv-livetvrecordings.9399ff956e642aad8cc3.css +3 -0
- package/www/livetv-livetvrecordings.e982387b3bcd5eeec87d.chunk.js +1 -0
- package/www/livetv-livetvschedule.3334c914b2a6b6f361f1.chunk.js +1 -0
- package/www/livetv-livetvschedule.9399ff956e642aad8cc3.css +3 -0
- package/www/livetv-livetvseriestimers.3b278bf4c6eef7bd61b8.chunk.js +1 -0
- package/www/livetv-livetvseriestimers.9399ff956e642aad8cc3.css +3 -0
- package/www/livetv-livetvsuggested.126d1ceb3b3898fda401.css +4 -0
- package/www/livetv-livetvsuggested.e54627afd5d905316a61.chunk.js +1 -0
- package/www/livetv-recordings.2eed0b9a281380a8d82a.chunk.js +1 -0
- package/www/livetv.ae6bfc83359267008eff.css +11 -0
- package/www/livetv.b442d3a1ce93a0ec3d56.chunk.js +1 -0
- package/www/livetvguideprovider-html.ae3b06188d073d33c1e3.chunk.js +1 -0
- package/www/livetvguideprovider.01145dddc730ae3ad429.chunk.js +1 -0
- package/www/livetvtuner-html.69b396b5e4c34e3460d0.chunk.js +1 -0
- package/www/livetvtuner.4dc1e171984a8e6fea43.css +2 -0
- package/www/livetvtuner.5bea29917f988194e4f8.chunk.js +1 -0
- package/www/logoScreensaver-plugin.7faf55f00dae2ae2fe14.chunk.js +1 -0
- package/www/logoScreensaver-style-scss.01124e8151a735bf5143.css +1 -0
- package/www/logoScreensaver-style-scss.1161b3305c308ae1ac05.chunk.js +1 -0
- package/www/logs-file.80ee8477c3ba25f2f174.chunk.js +1 -0
- package/www/logs.22d415847cf13921bce6.chunk.js +1 -0
- package/www/lt-lt-json.3b202fe78ae13a62c437.chunk.js +1 -0
- package/www/lv-json.3b8a384e8542f4f3d346.chunk.js +1 -0
- package/www/lyrics-html.ef96ab2e93a37d1d37aa.chunk.js +1 -0
- package/www/lyrics.47280782d601234a9f36.chunk.js +1 -0
- package/www/lyrics.9625003329b18be27f24.css +4 -0
- package/www/main.jellyfin.531d16f3e53182483f0c.css +21 -0
- package/www/main.jellyfin.bundle.js +2 -0
- package/www/main.jellyfin.bundle.js.LICENSE.txt +3 -0
- package/www/manifest.json +32 -0
- package/www/mg-json.2772a599cebe2d271327.chunk.js +1 -0
- package/www/mi-json.aa2371a07e45ac856a18.chunk.js +1 -0
- package/www/mk-json.ef469f3b82bf12e6a532.chunk.js +1 -0
- package/www/ml-json.bf01787e06468e2a1c1d.chunk.js +1 -0
- package/www/mn-json.0ff71a4da32ae77bd02a.chunk.js +1 -0
- package/www/movies-moviecollections.4a4739da334460fe5b4d.css +5 -0
- package/www/movies-moviecollections.7d62d934e6c0d2309c59.chunk.js +1 -0
- package/www/movies-moviegenres.0a37d86b1a206c539952.chunk.js +1 -0
- package/www/movies-moviegenres.9399ff956e642aad8cc3.css +3 -0
- package/www/movies-movies-html.e46b23a6e0232ba19d7c.chunk.js +1 -0
- package/www/movies-movies.04b9944684c735e904c1.chunk.js +1 -0
- package/www/movies-movies.346cc652b7004c7d7134.css +6 -0
- package/www/movies-moviesrecommended.2dc2cf4af9e9d639ce92.chunk.js +1 -0
- package/www/movies-moviesrecommended.de76fc4246dd02899a89.css +8 -0
- package/www/movies.0f920c2dfd2699de5fea.css +10 -0
- package/www/movies.4106553c773ffeda5bc3.chunk.js +1 -0
- package/www/mr-json.54b930c33f7cbb3430c0.chunk.js +1 -0
- package/www/ms-json.2ef7a3ca2dd65bedb764.chunk.js +1 -0
- package/www/mt-json.3192e829187509ee59f3.chunk.js +1 -0
- package/www/music-music-html.0825e46fb57aa6751ccc.chunk.js +1 -0
- package/www/music-musicalbums.04b9944684c735e904c1.chunk.js +1 -0
- package/www/music-musicalbums.11618d599d3a1ff28942.css +6 -0
- package/www/music-musicartists.04b9944684c735e904c1.chunk.js +1 -0
- package/www/music-musicartists.11618d599d3a1ff28942.css +6 -0
- package/www/music-musicgenres.6cd00a795341797414d4.chunk.js +1 -0
- package/www/music-musicgenres.9399ff956e642aad8cc3.css +3 -0
- package/www/music-musicplaylists.9399ff956e642aad8cc3.css +3 -0
- package/www/music-musicplaylists.f248d5dfdb674305b30b.chunk.js +1 -0
- package/www/music-musicrecommended.0e26b3c6499b3d353304.css +7 -0
- package/www/music-musicrecommended.85f5b5d049cc541d4b77.chunk.js +1 -0
- package/www/music-songs.202093eaf305fedfbc41.css +5 -0
- package/www/music-songs.b25792d809f6c2b940c2.chunk.js +1 -0
- package/www/music.0f920c2dfd2699de5fea.css +10 -0
- package/www/music.c9283625aa8ef4ae59d4.chunk.js +1 -0
- package/www/my-json.cabae35b5a68d79bf75c.chunk.js +1 -0
- package/www/nb-json.c2a1f0deabbf3a771b55.chunk.js +1 -0
- package/www/ne-json.af00b804957ff520c7b8.chunk.js +1 -0
- package/www/networking-html.4a61cc55192c23085dcf.chunk.js +1 -0
- package/www/networking.34cfc227b7f7bfbc8676.chunk.js +1 -0
- package/www/networking.4dc1e171984a8e6fea43.css +2 -0
- package/www/nl-json.1b97130650a57c023a5d.chunk.js +1 -0
- package/www/nn-json.eeef06ee14e7528b19cf.chunk.js +1 -0
- package/www/node_modules.@jellyfin.libass-wasm.8dcfb0ee7fb67255fe6d.chunk.js +1 -0
- package/www/node_modules.@jellyfin.sdk.bundle.js +2 -0
- package/www/node_modules.@jellyfin.sdk.bundle.js.LICENSE.txt +1 -0
- package/www/node_modules.@mui.icons-material.bundle.js +1 -0
- package/www/node_modules.@mui.material.bundle.js +1 -0
- package/www/node_modules.@mui.system.bundle.js +1 -0
- package/www/node_modules.@mui.utils.bundle.js +1 -0
- package/www/node_modules.@mui.x-date-pickers.170228dfe32c48e7dd1d.chunk.js +1 -0
- package/www/node_modules.@popperjs.core.bundle.js +1 -0
- package/www/node_modules.@remix-run.router.bundle.js +2 -0
- package/www/node_modules.@remix-run.router.bundle.js.LICENSE.txt +12 -0
- package/www/node_modules.@tanstack.query-core.bundle.js +2 -0
- package/www/node_modules.@tanstack.query-core.bundle.js.LICENSE.txt +1 -0
- package/www/node_modules.@tanstack.table-core.4d12ce2639beaa5b8880.chunk.js +2 -0
- package/www/node_modules.@tanstack.table-core.4d12ce2639beaa5b8880.chunk.js.LICENSE.txt +10 -0
- package/www/node_modules.@tanstack.virtual-core.77eaf9b6feedd4e74913.chunk.js +1 -0
- package/www/node_modules.@xmldom.xmldom.e7c9c292c1869576604c.chunk.js +1 -0
- package/www/node_modules.abortcontroller-polyfill.bundle.js +1 -0
- package/www/node_modules.axios.bundle.js +2 -0
- package/www/node_modules.axios.bundle.js.LICENSE.txt +1 -0
- package/www/node_modules.core-js.bundle.js +1 -0
- package/www/node_modules.date-fns._lib.6a36280083a45271c884.chunk.js +1 -0
- package/www/node_modules.date-fns.a4fc07d6d209f74cd8a0.chunk.js +1 -0
- package/www/node_modules.date-fns.esm.bundle.js +1 -0
- package/www/node_modules.date-fns.format.3248065c0a445a07e614.chunk.js +1 -0
- package/www/node_modules.date-fns.isMatch.b5627fe6ba9099e94eb9.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.be-tarask.34f00097866ff40ede2d.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.be.2516fc492eb52c28482f.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.kk.96c958b22037a0e9a74a.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.ru.204e9a52d45bf6228476.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.ta.64fb2a3a8e86ac027795.chunk.js +1 -0
- package/www/node_modules.date-fns.locale.uk.2e89fdaa5d7e3aefef53.chunk.js +1 -0
- package/www/node_modules.date-fns.parse.a90c3fe5a72d818766c3.chunk.js +1 -0
- package/www/node_modules.dompurify.bundle.js +2 -0
- package/www/node_modules.dompurify.bundle.js.LICENSE.txt +1 -0
- package/www/node_modules.entities.d297a174fde5c8f3fbc7.chunk.js +1 -0
- package/www/node_modules.epubjs.e8e2a24909ffe427c795.chunk.js +1 -0
- package/www/node_modules.flv.js.0f24d33035c950e4e069.chunk.js +2 -0
- package/www/node_modules.flv.js.0f24d33035c950e4e069.chunk.js.LICENSE.txt +283 -0
- package/www/node_modules.history.bundle.js +1 -0
- package/www/node_modules.hls.js.d1fbdb00c8f7e5cc7cb8.chunk.js +1 -0
- package/www/node_modules.intersection-observer.bundle.js +1 -0
- package/www/node_modules.jellyfin-apiclient.bundle.js +2 -0
- package/www/node_modules.jellyfin-apiclient.bundle.js.LICENSE.txt +1 -0
- package/www/node_modules.jquery.bundle.js +2 -0
- package/www/node_modules.jquery.bundle.js.LICENSE.txt +10 -0
- package/www/node_modules.jstree.53d3d6f2b783a4aef76a.chunk.js +2 -0
- package/www/node_modules.jstree.53d3d6f2b783a4aef76a.chunk.js.LICENSE.txt +67 -0
- package/www/node_modules.jszip.c4a58cbf99c347b50bc6.chunk.js +2 -0
- package/www/node_modules.jszip.c4a58cbf99c347b50bc6.chunk.js.LICENSE.txt +11 -0
- package/www/node_modules.libpgs.d1eeb7be8d71b7ab114d.chunk.js +1 -0
- package/www/node_modules.linkify-it.b39967a31bdcf2f7ae31.chunk.js +1 -0
- package/www/node_modules.localforage.4b2a2f8b573f0c35e266.chunk.js +2 -0
- package/www/node_modules.localforage.4b2a2f8b573f0c35e266.chunk.js.LICENSE.txt +6 -0
- package/www/node_modules.lodash-es.bundle.js +1 -0
- package/www/node_modules.markdown-it.ab3f9d08cb52d5a9c2d4.chunk.js +1 -0
- package/www/node_modules.material-react-table.1b44fb088e2188e27421.chunk.js +1 -0
- package/www/node_modules.pdfjs-dist.a463f5c2034b4bca7c76.chunk.js +2 -0
- package/www/node_modules.pdfjs-dist.a463f5c2034b4bca7c76.chunk.js.LICENSE.txt +23 -0
- package/www/node_modules.react-dom.bundle.js +2 -0
- package/www/node_modules.react-dom.bundle.js.LICENSE.txt +9 -0
- package/www/node_modules.react-lazy-load-image-component.4c0850deb4bb234feecf.chunk.js +1 -0
- package/www/node_modules.react-router-dom.bundle.js +2 -0
- package/www/node_modules.react-router-dom.bundle.js.LICENSE.txt +12 -0
- package/www/node_modules.react-router.bundle.js +2 -0
- package/www/node_modules.react-router.bundle.js.LICENSE.txt +10 -0
- package/www/node_modules.react-transition-group.bundle.js +1 -0
- package/www/node_modules.regenerator-runtime.bundle.js +1 -0
- package/www/node_modules.resize-observer-polyfill.bundle.js +1 -0
- package/www/node_modules.sortablejs.082c1a2573a84c9cf2f5.chunk.js +2 -0
- package/www/node_modules.sortablejs.082c1a2573a84c9cf2f5.chunk.js.LICENSE.txt +6 -0
- package/www/node_modules.swiper.47b109d6d74ec4a8f006.chunk.js +1 -0
- package/www/node_modules.webcomponents.js.bundle.js +2 -0
- package/www/node_modules.webcomponents.js.bundle.js.LICENSE.txt +9 -0
- package/www/notificationicon.d6ecf2254db85ff3b545.png +0 -0
- package/www/oc-json.7f9a1e074432991161cf.chunk.js +1 -0
- package/www/pa-json.8991ba701eec5df4b840.chunk.js +1 -0
- package/www/pdfPlayer-plugin.cd5ed0191dc31caf9eb4.css +1 -0
- package/www/pdfPlayer-plugin.f8339bb66605ccba93f3.chunk.js +1 -0
- package/www/pdfPlayer-style-scss.97b97f36c807beef809c.chunk.js +1 -0
- package/www/pdfPlayer-style-scss.cd5ed0191dc31caf9eb4.css +1 -0
- package/www/photoPlayer-plugin.cf143f97de5058c90340.chunk.js +1 -0
- package/www/pl-json.f32655e8c5243d6876f6.chunk.js +1 -0
- package/www/playAccessValidation-plugin.fdc30340e8a53db1d51e.chunk.js +1 -0
- package/www/playback-queue-index-html.44a444c26179cbc1ee51.chunk.js +1 -0
- package/www/playback-queue.8cec2b9e4fe5075d70d5.chunk.js +1 -0
- package/www/playback-queue.b7a92393e1051a878bb0.css +10 -0
- package/www/playback-resume.41ba023f4e1e21d1eeea.chunk.js +1 -0
- package/www/playback-streaming.addfcd64c6452375d6fd.chunk.js +1 -0
- package/www/playback-transcoding.e959baf9509d5b170095.chunk.js +1 -0
- package/www/playback-trickplay.5e3dcb286068a91d8fa8.chunk.js +1 -0
- package/www/playback-video-index-html.fb812af814e8c8697a00.chunk.js +1 -0
- package/www/playback-video.307c03a68b62db732104.css +9 -0
- package/www/playback-video.bc46e73c4b45995d9ead.chunk.js +2 -0
- package/www/playback-video.bc46e73c4b45995d9ead.chunk.js.LICENSE.txt +1 -0
- package/www/plugins-plugin.a067614e764f6fff0ad4.chunk.js +1 -0
- package/www/plugins-repositories.ad08e2b6e4be11df20e9.chunk.js +1 -0
- package/www/plugins.c089eff1cd2723c1fd0a.chunk.js +1 -0
- package/www/pr-json.7ce40512429f513bbcbc.chunk.js +1 -0
- package/www/pt-br-json.47b20f986973853d3831.chunk.js +1 -0
- package/www/pt-json.414682d212bbdbc9b6e6.chunk.js +1 -0
- package/www/pt-pt-json.f9d2296f571db8994d5d.chunk.js +1 -0
- package/www/quickConnect-quickConnect-scss.4c92d97afe73121ced6c.css +1 -0
- package/www/quickConnect-quickConnect-scss.fb670f98a64eda3b07bc.chunk.js +1 -0
- package/www/quickConnect.4c92d97afe73121ced6c.css +1 -0
- package/www/quickConnect.b98cfd376bcf31e7140d.chunk.js +1 -0
- package/www/remote-index-html.e62580ddb5524c9847da.chunk.js +1 -0
- package/www/remote.13c314ccaa6e08b64d03.chunk.js +1 -0
- package/www/remote.4dc1e171984a8e6fea43.css +2 -0
- package/www/ro-json.718e61098f1ef330af78.chunk.js +1 -0
- package/www/robots.txt +2 -0
- package/www/ru-json.14922348f130ebb4c4b7.chunk.js +1 -0
- package/www/runtime.bundle.js +1 -0
- package/www/search.92b9d032fb2558a9df1a.chunk.js +1 -0
- package/www/search.d8744ed84b1a641aee12.css +6 -0
- package/www/serviceworker.js +1 -0
- package/www/session-addServer-index-html.f7af069cf025b73b94b7.chunk.js +1 -0
- package/www/session-addServer.a4b3a7e5511e019cab5e.chunk.js +1 -0
- package/www/session-forgotPassword.62e8687b3779fa93cdc2.chunk.js +1 -0
- package/www/session-login-index-html.7df1620bd3afcef60eb7.chunk.js +1 -0
- package/www/session-login-login-scss.b6ea6799adef0a59ea03.chunk.js +1 -0
- package/www/session-login-login-scss.b767cf817e3eb2387cd8.css +1 -0
- package/www/session-login.872eaba65c6e2216aba6.css +4 -0
- package/www/session-login.8a2d93cd7e80b4599d80.chunk.js +2 -0
- package/www/session-login.8a2d93cd7e80b4599d80.chunk.js.LICENSE.txt +1 -0
- package/www/session-resetPassword-index-html.ef3ca45b4689d7f291ad.chunk.js +1 -0
- package/www/session-resetPassword.69bc0e8183831f79b50d.chunk.js +1 -0
- package/www/session-selectServer-index-html.347605e4b514c26fef7a.chunk.js +1 -0
- package/www/session-selectServer.79650bbe6c9edb13add0.css +5 -0
- package/www/session-selectServer.b11cb994b7a5cce8d07f.chunk.js +1 -0
- package/www/sessionPlayer-plugin.b0fb6e5a7eb9fb4d93e5.chunk.js +2 -0
- package/www/sessionPlayer-plugin.b0fb6e5a7eb9fb4d93e5.chunk.js.LICENSE.txt +1 -0
- package/www/settings-index-html.eb37b8107cd35488a326.chunk.js +1 -0
- package/www/settings-index-js.4dc1e171984a8e6fea43.css +2 -0
- package/www/settings-index-js.4fabccf7bc602cfc9590.chunk.js +1 -0
- package/www/settings-index-tsx.77f6477f3864ce6c90a4.chunk.js +1 -0
- package/www/settings.4dc1e171984a8e6fea43.css +2 -0
- package/www/settings.f8f7b81e1fe36b403d19.chunk.js +1 -0
- package/www/shows-episodes.202093eaf305fedfbc41.css +5 -0
- package/www/shows-episodes.3848d26f3fb7e815e878.chunk.js +1 -0
- package/www/shows-tvgenres.7d88250be71445c48b9d.chunk.js +1 -0
- package/www/shows-tvgenres.9399ff956e642aad8cc3.css +3 -0
- package/www/shows-tvrecommended-html.3d0256d4d69fc7214104.chunk.js +1 -0
- package/www/shows-tvrecommended.0e26b3c6499b3d353304.css +7 -0
- package/www/shows-tvrecommended.72e70b2e8bf889ad66f2.chunk.js +1 -0
- package/www/shows-tvshows.04b9944684c735e904c1.chunk.js +1 -0
- package/www/shows-tvshows.82c485200adfd27ea9d7.css +6 -0
- package/www/shows-tvstudios.8e44cbd7944caaa48a9b.chunk.js +1 -0
- package/www/shows-tvstudios.9399ff956e642aad8cc3.css +3 -0
- package/www/shows-tvupcoming.1336baae29bdcc6e225e.chunk.js +1 -0
- package/www/shows-tvupcoming.9399ff956e642aad8cc3.css +3 -0
- package/www/shows.0f920c2dfd2699de5fea.css +10 -0
- package/www/shows.31c9e0251166d4c44439.chunk.js +1 -0
- package/www/si-json.a87fd1bce907710c4cec.chunk.js +1 -0
- package/www/sk-json.b7f11dc68ebe3a9ece05.chunk.js +1 -0
- package/www/sl-si-json.fdbc510576a9292c9331.chunk.js +1 -0
- package/www/so-json.b7525fa8db0abdc2dba9.chunk.js +1 -0
- package/www/sq-json.91b8577196cb40beed24.chunk.js +1 -0
- package/www/sr-json.c2a6938dc5fbbee4c245.chunk.js +1 -0
- package/www/start-index-html.8799498149b52451853c.chunk.js +1 -0
- package/www/start.4dc1e171984a8e6fea43.css +2 -0
- package/www/start.68923e2b7ee4440c751a.chunk.js +1 -0
- package/www/sv-json.4b73a785db8bb4a5f78b.chunk.js +1 -0
- package/www/sw-json.189d0e881d62d27a1151.chunk.js +1 -0
- package/www/syncPlay-core-Controller.a7967003c588dfb6c0b4.chunk.js +1 -0
- package/www/syncPlay-core-Helper.6bf69e6132c723e48c93.chunk.js +1 -0
- package/www/syncPlay-core-Manager.95461ee270e7ba910365.chunk.js +1 -0
- package/www/syncPlay-core-PlaybackCore.cc8de35f6e45025ba142.chunk.js +2 -0
- package/www/syncPlay-core-PlaybackCore.cc8de35f6e45025ba142.chunk.js.LICENSE.txt +1 -0
- package/www/syncPlay-core-QueueCore.6bf69e6132c723e48c93.chunk.js +1 -0
- package/www/syncPlay-core-Settings.3e32674e620f081d69eb.chunk.js +1 -0
- package/www/syncPlay-core-players-GenericPlayer.cc8d40d4a63a6a6abee2.chunk.js +1 -0
- package/www/syncPlay-core-players-PlayerFactory.8308e55d1d427d87db90.chunk.js +1 -0
- package/www/syncPlay-core-timeSync-TimeSync.59d09f138144a1059689.chunk.js +1 -0
- package/www/syncPlay-core-timeSync-TimeSyncCore.162197982249d3f49ce5.chunk.js +1 -0
- package/www/syncPlay-core-timeSync-TimeSyncServer.1f074b554b63634070d5.chunk.js +1 -0
- package/www/syncPlay-core.5c3129f05e7d92ce7b35.chunk.js +1 -0
- package/www/syncPlay-plugin.f532382eb6cd87a2687a.chunk.js +1 -0
- package/www/syncPlay-ui-groupSelectionMenu-scss.433a04a3c37c093590de.chunk.js +1 -0
- package/www/syncPlay-ui-groupSelectionMenu-scss.5de1fdfb8f3bb80a1dfb.css +1 -0
- package/www/syncPlay-ui-groupSelectionMenu.0fe4c3641f8de0fe510f.chunk.js +1 -0
- package/www/syncPlay-ui-groupSelectionMenu.bfde69083a6ae513ba97.css +3 -0
- package/www/syncPlay-ui-playbackPermissionManager.05baa8c2fecb6fe2c12e.chunk.js +1 -0
- package/www/syncPlay-ui-players-HtmlAudioPlayer.3de6fd4a4fce53fe49dd.chunk.js +1 -0
- package/www/syncPlay-ui-players-HtmlVideoPlayer.9f6ea856bc1c5b5aeb09.chunk.js +1 -0
- package/www/syncPlay-ui-players-NoActivePlayer.dc48ccbdf66b838f4b34.chunk.js +1 -0
- package/www/syncPlay-ui-players-QueueManager.7302fa192b13a12acc1a.chunk.js +1 -0
- package/www/syncPlay-ui-settings-SettingsEditor.4dc1e171984a8e6fea43.css +2 -0
- package/www/syncPlay-ui-settings-editor-html.596e49f135d17d457a2e.chunk.js +1 -0
- package/www/ta-json.93441609729cbac071aa.chunk.js +1 -0
- package/www/tasks-task.a3607d81ca3fb78136c1.chunk.js +1 -0
- package/www/tasks.34dd269581acdff45fb0.chunk.js +1 -0
- package/www/te-json.44d57c4c2025b13af172.chunk.js +1 -0
- package/www/th-json.e1bfdd90be4b8a2361a2.chunk.js +1 -0
- package/www/themes/_base/theme.css +1 -0
- package/www/themes/_base.bundle.js +1 -0
- package/www/themes/appletv/theme.css +1 -0
- package/www/themes/appletv.bundle.js +1 -0
- package/www/themes/blueradiance/bg.jpg +0 -0
- package/www/themes/blueradiance/theme.css +1 -0
- package/www/themes/blueradiance.bundle.js +1 -0
- package/www/themes/dark/theme.css +1 -0
- package/www/themes/dark.bundle.js +1 -0
- package/www/themes/light/theme.css +1 -0
- package/www/themes/light.bundle.js +1 -0
- package/www/themes/purplehaze/bg.jpg +0 -0
- package/www/themes/purplehaze/theme.css +1 -0
- package/www/themes/purplehaze.bundle.js +1 -0
- package/www/themes/wmc/theme.css +1 -0
- package/www/themes/wmc.bundle.js +1 -0
- package/www/throbber.f3bc149017432b87da2e.gif +0 -0
- package/www/touchicon.f5bbb798cb2c65908633.png +0 -0
- package/www/touchicon144.39209dd2362c0db7c673.png +0 -0
- package/www/tr-json.fd3412020b473eb2e96c.chunk.js +1 -0
- package/www/ug-json.a3b3e30fdc60c22f197a.chunk.js +1 -0
- package/www/uk-json.b41224b0f0e6535294fd.chunk.js +1 -0
- package/www/ur_PK-json.c6bc6718d3a64da2c938.chunk.js +1 -0
- package/www/user-controls-index-html.ef65ed406ef218b479be.chunk.js +1 -0
- package/www/user-controls.44dd33b7ed091c39c6be.chunk.js +1 -0
- package/www/user-display-index-html.e55f212f1a8fdcbeac6b.chunk.js +1 -0
- package/www/user-display-index-js.14fffe456f27b2c8eecc.css +3 -0
- package/www/user-display-index-tsx.36a65085192e96ae248e.chunk.js +1 -0
- package/www/user-display.14fffe456f27b2c8eecc.css +3 -0
- package/www/user-display.84bdb0011d90c9e9c0d7.chunk.js +1 -0
- package/www/user-home-index-html.fa17c7e8a3e77b3c1d63.chunk.js +1 -0
- package/www/user-home.069ec6a484229e1c235c.chunk.js +1 -0
- package/www/user-home.32aa40dc7f5ac395403e.css +7 -0
- package/www/user-index-html.6a8ee8df81ea0fdb4547.chunk.js +1 -0
- package/www/user-playback-index-html.790048974d41c90271a2.chunk.js +1 -0
- package/www/user-playback.4dc1e171984a8e6fea43.css +2 -0
- package/www/user-playback.df3d8017d047a6d6bf0b.chunk.js +1 -0
- package/www/user-settings.62d7bfb9b675a43c6530.chunk.js +1 -0
- package/www/user-subtitles-index-html.514ead6fd3cfc3016648.chunk.js +1 -0
- package/www/user-subtitles.649f43bdfa106505fa0a.css +4 -0
- package/www/user-subtitles.dc4cf434111d14f68c38.chunk.js +1 -0
- package/www/user-userprofile.f15366fd87ea3a594c64.chunk.js +1 -0
- package/www/user.7abdbbd33a5819846cc8.chunk.js +2 -0
- package/www/user.7abdbbd33a5819846cc8.chunk.js.LICENSE.txt +1 -0
- package/www/users-access.a2ae69f204702c14532d.chunk.js +1 -0
- package/www/users-add.eb636eb4efee1e92102a.chunk.js +1 -0
- package/www/users-parentalcontrol.e57b97ab683e297f81cd.chunk.js +1 -0
- package/www/users-password.6195fa8f1db58d0bf662.chunk.js +1 -0
- package/www/users-profile.267b9136593bb210de4f.chunk.js +1 -0
- package/www/users.078161ae17ad4d733949.css +1 -0
- package/www/users.bfeb0ef52308ebfbfd62.chunk.js +1 -0
- package/www/uz-json.276a5aef5b5ffc088a96.chunk.js +1 -0
- package/www/vi-json.2b29ade4a0e5e4469ace.chunk.js +1 -0
- package/www/youtubePlayer-plugin.c07fa18848798922d354.chunk.js +1 -0
- package/www/youtubePlayer-style-scss.0d35158d7780ff3daaf7.css +1 -0
- package/www/youtubePlayer-style-scss.18e51e68781f1f56f34d.chunk.js +1 -0
- package/www/zh-cn-json.95ba54759310b47cbb12.chunk.js +1 -0
- package/www/zh-hk-json.7c153e704f1976e6ef50.chunk.js +1 -0
- package/www/zh-tw-json.4e0d1509e80bfe6f5d0e.chunk.js +1 -0
- package/www/zu-json.be3249932a9c4d01bc25.chunk.js +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[99883],{713:function(e,t,r){r.d(t,{j:function(){return a},p:function(){return o}});var n=r(82885),i=r(14229),a=function(e){return i.u.some((function(t){return t.path===e}))},o=function(e,t){var r,a,o,l,s,u;if(!t)return 0;var c=null!==(a=null===(r=i.u.find((function(t){return t.path===e})))||void 0===r?void 0:r.views)&&void 0!==a?a:[],d=n.get("landing-"+t,!1);return null!==(u=null!==(l=null===(o=c.find((function(e){return e.view===d})))||void 0===o?void 0:o.index)&&void 0!==l?l:null===(s=c.find((function(e){return e.isDefault})))||void 0===s?void 0:s.index)&&void 0!==u?u:0}},4672:function(e,t,r){var n,i;r.d(t,{C0:function(){return l},Nc:function(){return a},RQ:function(){return n},gX:function(){return i},i3:function(){return o},jB:function(){return c},qb:function(){return s},wd:function(){return u}}),function(e){e.ResumeItems="resumeItems",e.LatestMedia="latestMedia",e.NextUp="nextUp",e.RecommendedPrograms="RecommendedPrograms",e.LiveTvPrograms="liveTvPrograms",e.Recordings="Recordings",e.RecordingFolders="RecordingFolders"}(n||(n={})),function(e){e.ContinueWatchingMovies="continuewatchingmovies",e.LatestMovies="latestmovies",e.ContinueWatchingEpisode="continuewatchingepisode",e.LatestEpisode="latestepisode",e.NextUp="nextUp",e.LatestMusic="latestmusic",e.RecentlyPlayedMusic="recentlyplayedmusic",e.FrequentlyPlayedMusic="frequentlyplayedmusic",e.ActivePrograms="ActivePrograms",e.UpcomingEpisodes="UpcomingEpisodes",e.UpcomingMovies="UpcomingMovies",e.UpcomingSports="UpcomingSports",e.UpcomingKids="UpcomingKids",e.UpcomingNews="UpcomingNews",e.LatestRecordings="LatestRecordings",e.RecordingFolders="RecordingFolders",e.ActiveRecordings="ActiveRecordings",e.UpcomingRecordings="UpcomingRecordings"}(i||(i={}));var a={suggestionSections:[i.ContinueWatchingMovies,i.LatestMovies],isMovieRecommendations:!0},o={suggestionSections:[i.ContinueWatchingEpisode,i.LatestEpisode,i.NextUp]},l={suggestionSections:[i.LatestMusic,i.FrequentlyPlayedMusic,i.RecentlyPlayedMusic]},s={programSections:[i.ActivePrograms,i.UpcomingEpisodes,i.UpcomingMovies,i.UpcomingSports,i.UpcomingKids,i.UpcomingNews]},u={programSections:[i.LatestRecordings,i.RecordingFolders]},c={programSections:[i.ActiveRecordings],isLiveTvUpcomingRecordings:!0}},14229:function(e,t,r){r.d(t,{u:function(){return i}});var n=r(46850),i=[{path:"/livetv",views:[{index:0,label:"Programs",view:n.D.Programs,isDefault:!0},{index:1,label:"Guide",view:n.D.Guide},{index:2,label:"Channels",view:n.D.Channels},{index:3,label:"Recordings",view:n.D.Recordings},{index:4,label:"Schedule",view:n.D.Schedule},{index:5,label:"Series",view:n.D.SeriesTimers}]},{path:"/movies",views:[{index:0,label:"Movies",view:n.D.Movies,isDefault:!0},{index:1,label:"Suggestions",view:n.D.Suggestions},{index:2,label:"Favorites",view:n.D.Favorites},{index:3,label:"Collections",view:n.D.Collections},{index:4,label:"Genres",view:n.D.Genres}]},{path:"/music",views:[{index:0,label:"Albums",view:n.D.Albums,isDefault:!0},{index:1,label:"Suggestions",view:n.D.Suggestions},{index:2,label:"HeaderAlbumArtists",view:n.D.AlbumArtists},{index:3,label:"Artists",view:n.D.Artists},{index:4,label:"Playlists",view:n.D.Playlists},{index:5,label:"Songs",view:n.D.Songs},{index:6,label:"Genres",view:n.D.Genres}]},{path:"/tv",views:[{index:0,label:"Shows",view:n.D.Series,isDefault:!0},{index:1,label:"Suggestions",view:n.D.Suggestions},{index:2,label:"TabUpcoming",view:n.D.Upcoming},{index:3,label:"Genres",view:n.D.Genres},{index:4,label:"TabNetworks",view:n.D.Networks},{index:5,label:"Episodes",view:n.D.Episodes}]},{path:"/homevideos",views:[{index:0,label:"Photos",view:n.D.Photos,isDefault:!0},{index:1,label:"HeaderPhotoAlbums",view:n.D.PhotoAlbums,isDefault:!0},{index:2,label:"HeaderVideos",view:n.D.Videos}]}]},23064:function(e,t,r){r.d(t,{D:function(){return n},s:function(){return l}});var n,i=r(5898),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},o=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function l(e){var t=e.direction,r=e.scroller,l=e.scrollState;if(r){var s=r.getScrollSlider();!function(e){var t,r,o,l=e.scroller,s=e.items,u=e.scrollState,c=e.direction,d=void 0===c?n.RIGHT:c,m=i.Ay.getIsRTL()?-1:1,v=null!==(r=null===(t=l.getScrollFrame)||void 0===t?void 0:t.call(l))&&void 0!==r?r:l,f=a(function(e,t,r){var n=r.scrollPos*(i.Ay.getIsRTL()?-1:1),a=e.offsetWidth,o=t[0].offsetWidth;return[Math.max(Math.floor(n/o)-1,0),Math.floor((n+a)/o)]}(v,s,u),2),p=f[0],y=f[1];if(d===n.RIGHT)o=y*(s[y]||s[y-1]).offsetWidth*m;else{var h=s[p];o=(p*h.offsetWidth-(Math.floor(v.offsetWidth/h.offsetWidth)-1)*h.offsetWidth)*m}l.slideTo?l.slideTo(o,!1,void 0):l.scrollToPosition(o)}({scroller:r,items:o([],a(s.children),!1),scrollState:l,direction:t})}}!function(e){e.RIGHT="right",e.LEFT="left"}(n||(n={}))},35308:function(e,t,r){r.r(t),r.d(t,{default:function(){return w},startMultiSelect:function(){return P},stopMultiSelect:function(){return C}}),r(24776),r(14382),r(76281),r(44962),r(86584),r(89336),r(78557),r(90076),r(99425),r(83994),r(23630),r(82367);var n,i=r(97339),a=r(34789),o=r(22622),l=r(8566),s=r(5898),u=r(67430),c=r(36300),d=r(41177),m=r(47602),v=r(23648),f=r(98320),p=[],y=[];function h(){var e=n;if(e){e.parentNode.removeChild(e),n=null,p=[],y=[];for(var t=document.querySelectorAll(".itemSelectionPanel"),r=0,i=t.length;r<i;r++){var a=t[r].parentNode;a.removeChild(t[r]),a.classList.remove("withMultiSelect")}}}function g(e,t){var r=c.Ay.parentWithAttribute(e,"data-id").getAttribute("data-id");if(t?p.filter((function(e){return e===r})).length||(p.push(r),y.push(e)):(p=p.filter((function(e){return e!==r})),y=y.filter((function(t){return t!==e}))),p.length){var n=document.querySelector(".itemSelectionCount");n&&(n.innerHTML=f.Ay.toLocaleString(p.length))}else h()}function I(){g(this,this.checked)}function b(e,t,r){var n=e.querySelector(".itemSelectionPanel");if(!n){(n=document.createElement("div")).classList.add("itemSelectionPanel");var i=e.querySelector(".cardBox")||e.querySelector(".cardContent");i.classList.add("withMultiSelect"),i.appendChild(n);var a="chkItemSelect";t&&r&&(a+=" checkedInitial");var o=t?" checked":"";n.innerHTML='<label class="checkboxContainer"><input type="checkbox" is="emby-checkbox" data-outlineclass="multiSelectCheckboxOutline" class="'.concat(a,'"').concat(o,"/><span></span></label>"),n.querySelector(".chkItemSelect").addEventListener("change",I)}}function A(e){var t=u.tF.currentApiClient();t.getCurrentUser().then((function(n){t.getItem(t.getCurrentUserId(),p[0]).then((function(a){var u=[];u.push({name:s.Ay.translate("SelectAll"),id:"selectall",icon:"select_all"}),u.push({name:s.Ay.translate("AddToCollection"),id:"addtocollection",icon:"add"}),u.push({name:s.Ay.translate("AddToPlaylist"),id:"playlist",icon:"playlist_add"}),n.Policy.EnableContentDeletion&&u.push({name:s.Ay.translate("Delete"),id:"delete",icon:"delete"}),n.Policy.EnableContentDownloading&&o.g.supports(i.Y.FileDownload),n.Policy.IsAdministrator&&u.push({name:s.Ay.translate("GroupVersions"),id:"groupvideos",icon:"call_merge"}),u.push({name:s.Ay.translate("MarkPlayed"),id:"markplayed",icon:"check_box"}),u.push({name:s.Ay.translate("MarkUnplayed"),id:"markunplayed",icon:"check_box_outline_blank"}),v.Ay.canRefreshMetadata(a,n)&&u.push({name:s.Ay.translate("RefreshMetadata"),id:"refresh",icon:"refresh"}),r.e(62882).then(r.bind(r,62882)).then((function(n){n.show({items:u,positionTo:e.target,callback:function(e){var n=p.slice(0),i=t.serverInfo().Id;switch(e){case"selectall":for(var a=document.querySelectorAll(".itemSelectionPanel"),o=0,u=a.length;o<u;o++){var c=a[o].querySelector(".chkItemSelect");!c||c.classList.contains("checkedInitial")||c.checked||0==c.getBoundingClientRect().width||(c.checked=!0,g(c,!0))}break;case"addtocollection":r.e(3380).then(r.bind(r,3380)).then((function(e){(new(0,e.default)).show({items:n,serverId:i})})),h(),T();break;case"playlist":Promise.all([r.e(45642),r.e(81949)]).then(r.bind(r,4330)).then((function(e){(new(0,e.default)).show({items:n,serverId:i}).catch((function(){}))})).catch((function(e){console.error("[AddToPlaylist] failed to load playlist editor",e)})),h(),T();break;case"delete":(function(e,t){return new Promise((function(r,n){var i=s.Ay.translate("ConfirmDeleteItem"),a=s.Ay.translate("HeaderDeleteItem");t.length>1&&(i=s.Ay.translate("ConfirmDeleteItems"),a=s.Ay.translate("HeaderDeleteItems")),(0,m.A)(i,a).then((function(){var i=t.map((function(t){return e.deleteItem(t)}));Promise.all(i).then(r,(function(){var e;(e=s.Ay.translate("ErrorDeletingItem"),new Promise((function(t){(0,d.A)(e).then(t,t)}))).then(n,n)}))}),n)}))})(t,n).then(T),h(),T();break;case"groupvideos":!function(e,t){t.length<2?(0,d.A)({text:s.Ay.translate("PleaseSelectTwoItems")}):(l.Ay.show(),e.ajax({type:"POST",url:e.getUrl("Videos/MergeVersions",{Ids:t.join(",")})}).then((function(){l.Ay.hide(),h(),T()})))}(t,n);break;case"markplayed":n.forEach((function(e){t.markPlayed(t.getCurrentUserId(),e)})),h(),T();break;case"markunplayed":n.forEach((function(e){t.markUnplayed(t.getCurrentUserId(),e)})),h(),T();break;case"refresh":r.e(77004).then(r.bind(r,77004)).then((function(e){new(0,e.default)({itemIds:n,serverId:i}).show()})),h(),T()}}})}))}))}))}function T(){var e=[];[].forEach.call(y,(function(t){var r=c.Ay.parentWithAttribute(t,"is","emby-itemscontainer");r&&!e.includes(r)&&e.push(r)}));for(var t=0,r=e.length;t<r;t++)e[t].notifyRefreshNeeded(!0)}function x(e,t){Promise.resolve().then(r.bind(r,77157)).then((function(){for(var r=document.querySelectorAll(".card"),i=0,a=r.length;i<a;i++)b(r[i],e===r[i],t);!function(){var e=n;if(!e){(e=document.createElement("div")).classList.add("selectionCommandsPanel"),document.body.appendChild(e),n=e;var t="";t+='<button is="paper-icon-button-light" class="btnCloseSelectionPanel autoSize"><span class="material-icons close" aria-hidden="true"></span></button>',t+='<h1 class="itemSelectionCount"></h1>',t+='<button is="paper-icon-button-light" class="btnSelectionPanelOptions autoSize"><span class="material-icons '.concat("more_vert",'" aria-hidden="true"></span></button>'),e.innerHTML=t,e.querySelector(".btnCloseSelectionPanel").addEventListener("click",h);var r=e.querySelector(".btnSelectionPanelOptions");c.Ay.addEventListener(r,"click",A,{passive:!0})}}(),g(e,!0)}))}function S(e){var t=e.target;if(p.length){var r=c.Ay.parentWithClass(t,"card");if(r){var n=r.querySelector(".itemSelectionPanel");if(n)return function(e,t){if(!c.Ay.parentWithClass(e.target,"chkItemSelect")){var r=t.querySelector(".chkItemSelect");if(r)if(r.classList.contains("checkedInitial"))r.classList.remove("checkedInitial");else{var n=!r.checked;r.checked=n,g(r,n)}}return e.preventDefault(),e.stopPropagation(),!1}(e,n)}return e.preventDefault(),e.stopPropagation(),!1}}function w(e){var t,r,n,i,o,l=e.container;function s(e){var t=c.Ay.parentWithClass(e.target,"card");return t&&x(t,!0),e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1}function u(e){return e.changedTouches||e.targetTouches||e.touches}function d(e){var a=u(e)[0];if(t=null,n=0,i=0,a){n=a.clientX,i=a.clientY;var o=a.target;if(o){var l=c.Ay.parentWithClass(o,"card");l&&(r&&(clearTimeout(r),r=null),t=l,r=setTimeout(y,550))}}}function m(e){if(t){var r,a,o=u(e)[0];if(o){var l=o.clientX||0,s=o.clientY||0;r=Math.abs(l-(n||0)),a=Math.abs(s-(i||0))}else r=100,a=100;(r>=5||a>=5)&&p()}}function v(){p()}function f(e){r&&(clearTimeout(r),r=null),t=e.target,r=setTimeout(y,550)}function p(){r&&(clearTimeout(r),r=null),t=null}function y(){if(t){var e=c.Ay.parentWithClass(t,"card");t=null,e&&x(e,!0)}}o=l,a.A.touch&&!a.A.safari?o.addEventListener("contextmenu",s):(c.Ay.addEventListener(o,"touchstart",d,{passive:!0}),c.Ay.addEventListener(o,"touchmove",m,{passive:!0}),c.Ay.addEventListener(o,"touchend",v,{passive:!0}),c.Ay.addEventListener(o,"touchcancel",v,{passive:!0}),c.Ay.addEventListener(o,"mousedown",f,{passive:!0}),c.Ay.addEventListener(o,"mouseleave",p,{passive:!0}),c.Ay.addEventListener(o,"mouseup",p,{passive:!0})),!1!==e.bindOnClick&&l.addEventListener("click",S),this.onContainerClick=S,this.destroy=function(){l.removeEventListener("click",S),l.removeEventListener("contextmenu",s);var e=l;c.Ay.removeEventListener(e,"touchstart",d,{passive:!0}),c.Ay.removeEventListener(e,"touchmove",m,{passive:!0}),c.Ay.removeEventListener(e,"touchend",v,{passive:!0}),c.Ay.removeEventListener(e,"mousedown",f,{passive:!0}),c.Ay.removeEventListener(e,"mouseleave",p,{passive:!0}),c.Ay.removeEventListener(e,"mouseup",p,{passive:!0})}}document.addEventListener("viewbeforehide",h);var P=function(e){x(e,!1)},C=function(){h()}},37632:function(e,t,r){var n=r(87404),i=r(9055),a=r(713);t.A=function(){var e=(0,n.zy)(),t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}((0,i.ok)(),2),r=t[0],o=t[1],l=r.get("tab"),s="/livetv"===e.pathname?"livetv":r.get("topParentId");return{searchParams:r,setSearchParams:o,libraryId:s,activeTab:null!==l?parseInt(l,10):(0,a.p)(e.pathname,s)}}},46850:function(e,t,r){var n;r.d(t,{D:function(){return n}}),function(e){e.Albums="albums",e.AlbumArtists="albumartists",e.Artists="artists",e.Channels="channels",e.Collections="collections",e.Episodes="episodes",e.Favorites="favorites",e.Genres="genres",e.Guide="guide",e.Movies="movies",e.Networks="networks",e.Playlists="playlists",e.Programs="programs",e.Recordings="recordings",e.Schedule="schedule",e.Series="series",e.SeriesTimers="seriestimers",e.Songs="songs",e.Suggestions="suggestions",e.Upcoming="upcoming",e.PhotoAlbums="photoalbums",e.Photos="photos",e.Videos="videos",e.Books="books"}(n||(n={}))},79845:function(e,t,r){r(96054),r(69177);var n=r(36300),i=r(4113),a=r(34789),o=r(9164),l=r(46782),s=Object.create(HTMLDivElement.prototype),u="emby-tab-button",c=u+"-active";function d(e){e.classList.add(c)}function m(e,t,r){var n;e.dispatchEvent(new CustomEvent("beforetabchange",{detail:{selectedTabIndex:t,previousIndex:r}})),null!=r&&r!==t&&(n=null)&&n.classList.remove("is-active")}function v(e){var t=this,r=t.querySelector("."+c),i=n.Ay.parentWithClass(e.target,u);if(i&&i!==r){r&&r.classList.remove(c);var a=r?parseInt(r.getAttribute("data-index"),10):null;d(i);var o=parseInt(i.getAttribute("data-index"),10);m(t,o,a),setTimeout((function(){t.selectedTabIndex=o,t.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:o,previousIndex:a}}))}),120),t.scroller&&t.scroller.toCenter(i,!1)}}function f(e){var t=n.Ay.parentWithClass(e.target,u);t&&this.scroller&&this.scroller.toCenter(t,!1)}function p(e){var t=e.target.parentNode.querySelector(".lastFocused");t&&t.classList.remove("lastFocused"),e.target.classList.add("lastFocused")}function y(e){return e.querySelector("."+c)}function h(e,t){for(var r=e[t];r;){if(r.classList.contains(u)&&!r.classList.contains("hide"))return r;r=r[t]}return null}s.createdCallback=function(){this.classList.contains("emby-tabs")||(this.classList.add("emby-tabs"),this.classList.add("focusable"),n.Ay.addEventListener(this,"click",v,{passive:!0}),l.A.tv&&n.Ay.addEventListener(this,"focusin",f,{passive:!0}),n.Ay.addEventListener(this,"focusout",p))},s.focus=function(){var e=this.querySelector("."+c),t=this.querySelector(".lastFocused");t?o.A.focus(t):e?o.A.focus(e):o.A.autoFocus(this)},s.refresh=function(){this.scroller&&this.scroller.reload()},s.attachedCallback=function(){!function(e){if(!e.scroller){var t=e.querySelector(".emby-tabs-slider");t?(e.scroller=new i.A(e,{horizontal:1,itemNav:0,mouseDragging:1,touchDragging:1,slidee:t,smart:!0,releaseSwing:!0,scrollBy:200,speed:120,elasticBounds:1,dragHandle:1,dynamicHandle:1,clickBar:1,hiddenScroll:!0,requireAnimation:!a.A.safari,allowNativeSmoothScroll:!0}),e.scroller.init()):(e.classList.add("scrollX"),e.classList.add("hiddenScrollX"),e.classList.add("smoothScrollX"))}}(this);var e=this.querySelector("."+c),t=e?parseInt(e.getAttribute("data-index"),10):parseInt(this.getAttribute("data-index")||"0",10);if(-1!==t){this.selectedTabIndex=t;var r=this.querySelectorAll("."+u)[t];r&&d(r)}this.readyFired||(this.readyFired=!0,this.dispatchEvent(new CustomEvent("ready",{})))},s.detachedCallback=function(){this.scroller&&(this.scroller.destroy(),this.scroller=null),n.Ay.removeEventListener(this,"click",v,{passive:!0}),l.A.tv&&n.Ay.removeEventListener(this,"focusin",f,{passive:!0})},s.selectedIndex=function(e,t){var r=this;if(null==e)return r.selectedTabIndex||0;var n=r.selectedIndex();r.selectedTabIndex=e;var i=r.querySelectorAll("."+u);if(n===e||!1===t){m(r,e,n),r.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:e}}));var a=i[n];d(i[e]),n!==e&&a&&a.classList.remove(c)}else v.call(r,{target:i[e]})},s.selectNext=function(){var e=h(y(this),"nextSibling");e&&v.call(this,{target:e})},s.selectPrevious=function(){var e=h(y(this),"previousSibling");e&&v.call(this,{target:e})},s.triggerBeforeTabChange=function(){m(this,this.selectedIndex())},s.triggerTabChange=function(){this.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:this.selectedIndex()}}))},s.setTabEnabled=function(e,t){var r=this.querySelector('.emby-tab-button[data-index="'+e+'"]');t?r.classList.remove("hide"):r.classList.remove("add")},document.registerElement("emby-tabs",{prototype:s,extends:"div"})},82180:function(e,t,r){r(24776),r(14382),r(86584),r(9698),r(78557);var n=r(22696),i=r.n(n),a=r(98320),o=r(5898),l=r(70267),s=r(23648),u=r(51938),c=(r(10353),r(82885));function d(e){if("Video"===e.MediaType&&e.RunTimeTicks&&!e.StartDate){var t,r=null===(t=e.UserData)||void 0===t?void 0:t.PlaybackPositionTicks;return m(e.RunTimeTicks,r,1,!0)}return null}function m(e,t,r,n){var i=(new Date).getTime()+1/r*((e-(t||0))/1e4);i=new Date(i);var l=a.Ay.getDisplayTime(i);return!1===n?l:o.Ay.translate("EndsAtValue",l)}function v(e,t){t=t?"".concat(t," mediaInfoItem"):"mediaInfoItem";var r=e;if("string"!=typeof e&&"number"!=typeof e){if(e.html)return e.html;r=e.text,t+=" ".concat(e.cssClass)}return'<div class="'.concat(t,'">').concat(r,"</div>")}function f(e,t,r){if(!1!==r.endsAt){var n=e.querySelector(".endsAt");n&&function(e,t){var r=setInterval((function(){document.body.contains(e)?e.innerHTML=d(t):clearInterval(r)}),6e4)}(n,t)}var i=e.querySelector(".lnkChannel");i&&i.addEventListener("click",p)}function p(e){var t=this.getAttribute("data-id"),r=this.getAttribute("data-serverid");return l.appRouter.showItem(t,r),e.preventDefault(),!1}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return void 0===t.interactive&&(t.interactive=!1),function(e){var t,r,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},m="",f=[],p="MusicAlbum"===e.Type||"MusicArtist"===e.MediaType||"Playlist"===e.Type||"Playlist"===e.MediaType||"MusicGenre"===e.MediaType;if(p?((n=e.SongCount||e.ChildCount)&&f.push(o.Ay.translate("TrackCount",n)),e.RunTimeTicks&&f.push(a.Ay.getDisplayDuration(e.RunTimeTicks))):"PhotoAlbum"!==e.Type&&"BoxSet"!==e.Type||(n=e.ChildCount)&&f.push(o.Ay.translate("ItemCount",n)),("Episode"===e.Type||"Photo"===e.MediaType)&&!1!==l.originalAirDate&&e.PremiereDate)try{r=a.Ay.parseISO8601Date(e.PremiereDate,"Episode"!==e.Type),t=a.Ay.toLocaleDateString(r),f.push(t)}catch(t){console.error("error parsing date:",e.PremiereDate,t)}if("SeriesTimer"===e.Type&&(e.RecordAnyTime?f.push(o.Ay.translate("Anytime")):f.push(a.Ay.getDisplayTime(e.StartDate)),e.RecordAnyChannel?f.push(o.Ay.translate("AllChannels")):f.push(e.ChannelName||o.Ay.translate("OneChannel"))),e.StartDate&&"Program"!==e.Type&&"SeriesTimer"!==e.Type&&"Timer"!==e.Type)try{r=a.Ay.parseISO8601Date(e.StartDate),t=a.Ay.toLocaleDateString(r),f.push(t),"Recording"!==e.Type&&(t=a.Ay.getDisplayTime(r),f.push(t))}catch(t){console.error("error parsing date:",e.StartDate,t)}if(!1!==l.year&&e.ProductionYear&&"Series"===e.Type)if("Continuing"===e.Status)f.push(o.Ay.translate("SeriesYearToPresent",a.Ay.toLocaleString(e.ProductionYear,{useGrouping:!1})));else if(e.ProductionYear){if(t=a.Ay.toLocaleString(e.ProductionYear,{useGrouping:!1}),e.EndDate)try{var y=a.Ay.toLocaleString(a.Ay.parseISO8601Date(e.EndDate).getFullYear(),{useGrouping:!1});y!==t&&(t+=" - ".concat(y))}catch(t){console.error("error parsing date:",e.EndDate,t)}f.push(t)}if("Program"===e.Type||"Timer"===e.Type){var h=e;if("Timer"===e.Type&&(h=e.ProgramInfo),!1!==l.programIndicator&&(h.IsLive&&"true"===c.get("guide-indicator-live")?f.push({html:'<div class="mediaInfoProgramAttribute mediaInfoItem liveTvProgram">'.concat(o.Ay.translate("Live"),"</div>")}):h.IsPremiere&&"true"===c.get("guide-indicator-premiere")?f.push({html:'<div class="mediaInfoProgramAttribute mediaInfoItem premiereTvProgram">'.concat(o.Ay.translate("Premiere"),"</div>")}):h.IsSeries&&!h.IsRepeat&&"true"===c.get("guide-indicator-new")?f.push({html:'<div class="mediaInfoProgramAttribute mediaInfoItem newTvProgram">'.concat(o.Ay.translate("New"),"</div>")}):h.IsSeries&&h.IsRepeat&&"true"===c.get("guide-indicator-repeat")&&f.push({html:'<div class="mediaInfoProgramAttribute mediaInfoItem repeatTvProgram">'.concat(o.Ay.translate("Repeat"),"</div>")})),(h.IsSeries||h.EpisodeTitle)&&!1!==l.episodeTitle)(t=s.Ay.getDisplayName(h,{includeIndexNumber:l.episodeTitleIndexNumber}))&&f.push(i()(t));else if(h.IsMovie&&h.ProductionYear&&!1!==l.originalAirDate)f.push(h.ProductionYear);else if(h.PremiereDate&&!1!==l.originalAirDate)try{r=a.Ay.parseISO8601Date(h.PremiereDate),t=o.Ay.translate("OriginalAirDateValue",a.Ay.toLocaleDateString(r)),f.push(t)}catch(e){console.error("error parsing date:",h.PremiereDate,e)}else h.ProductionYear&&!1!==l.year&&f.push(h.ProductionYear)}if(!1!==l.year&&"Series"!==e.Type&&"Episode"!==e.Type&&"Person"!==e.Type&&"Photo"!==e.MediaType&&"Program"!==e.Type&&"Season"!==e.Type)if(e.ProductionYear)f.push(e.ProductionYear);else if(e.PremiereDate)try{t=a.Ay.toLocaleString(a.Ay.parseISO8601Date(e.PremiereDate).getFullYear(),{useGrouping:!1}),f.push(t)}catch(t){console.error("error parsing date:",e.PremiereDate,t)}if(e.RunTimeTicks&&"Series"!==e.Type&&"Program"!==e.Type&&"Timer"!==e.Type&&"Book"!==e.Type&&!p&&!1!==l.runtime&&("Audio"===e.Type?f.push(a.Ay.getDisplayRunningTime(e.RunTimeTicks)):f.push(a.Ay.getDisplayDuration(e.RunTimeTicks))),!1!==l.officialRating&&e.OfficialRating&&"Season"!==e.Type&&"Episode"!==e.Type&&f.push({text:e.OfficialRating,cssClass:"mediaInfoText mediaInfoOfficialRating"}),e.Video3DFormat&&f.push("3D"),"Photo"===e.MediaType&&e.Width&&e.Height&&f.push("".concat(e.Width,"x").concat(e.Height)),!1!==l.container&&"Audio"===e.Type&&e.Container&&f.push(e.Container),m+=f.map((function(e){return v(e)})).join(""),!1!==l.starRating&&(m+=function(e){var t="";return e.CommunityRating&&(t+='<div class="starRatingContainer mediaInfoItem">',t+='<span class="material-icons starIcon star" aria-hidden="true"></span>',t+=e.CommunityRating.toFixed(1),t+="</div>"),t}(e)),e.HasSubtitles&&!1!==l.subtitles&&(m+='<div class="mediaInfoItem mediaInfoText closedCaptionMediaInfoText">CC</div>'),e.CriticRating&&!1!==l.criticRating&&(e.CriticRating>=60?m+='<div class="mediaInfoItem mediaInfoCriticRating mediaInfoCriticRatingFresh">'.concat(e.CriticRating,"</div>"):m+='<div class="mediaInfoItem mediaInfoCriticRating mediaInfoCriticRatingRotten">'.concat(e.CriticRating,"</div>")),!1!==l.endsAt){var g=d(e);g&&(m+=v(g,"endsAt"))}return m+u.Ay.getMissingIndicator(e)}(e,t)}function h(e,t){return null==(t=t||{}).interactive&&(t.interactive=!1),"Program"===e.Type?function(e,t){var r,n,o=[];if(e.StartDate&&!1!==t.programTime)try{r="",n=a.Ay.parseISO8601Date(e.StartDate),!1!==t.startDate&&(r+=a.Ay.toLocaleDateString(n,{weekday:"short",month:"short",day:"numeric"})),r+=" ".concat(a.Ay.getDisplayTime(n)),e.EndDate&&(n=a.Ay.parseISO8601Date(e.EndDate),r+=" - ".concat(a.Ay.getDisplayTime(n))),o.push(r)}catch(t){console.error("error parsing date:",e.StartDate,t)}if(e.ChannelNumber&&o.push("CH ".concat(e.ChannelNumber)),e.ChannelName&&(t.interactive&&e.ChannelId?o.push({html:'<a is="emby-linkbutton" class="button-flat mediaInfoItem" href="'.concat(l.appRouter.getRouteUrl({ServerId:e.ServerId,Type:"TvChannel",Name:e.ChannelName,Id:e.ChannelId}),'">').concat(i()(e.ChannelName),"</a>")}):o.push(i()(e.ChannelName))),!1!==t.timerIndicator){var s=function(e){var t;if("SeriesTimer"===e.Type)return'<span class="material-icons mediaInfoItem mediaInfoIconItem mediaInfoTimerIcon fiber_smart_record" aria-hidden="true"></span>';if(e.TimerId||e.SeriesTimerId)t=e.Status||"Cancelled";else{if("Timer"!==e.Type)return"";t=e.Status}return e.SeriesTimerId?"Cancelled"!==t?'<span class="material-icons mediaInfoItem mediaInfoIconItem mediaInfoTimerIcon fiber_smart_record" aria-hidden="true"></span>':'<span class="material-icons mediaInfoItem mediaInfoIconItem fiber_smart_record" aria-hidden="true"></span>':'<span class="material-icons mediaInfoItem mediaInfoIconItem mediaInfoTimerIcon fiber_manual_record" aria-hidden="true"></span>'}(e);s&&o.push({html:s})}return""+o.map((function(e){return v(e)})).join("")}(e,t):""}function g(e){var t=e.Width,r=e.Height;if(t&&r){if(t>=3800||r>=2e3)return"4K";if(t>=2500||r>=1400)return e.IsInterlaced?"1440i":"1440p";if(t>=1800||r>=1e3)return e.IsInterlaced?"1080i":"1080p";if(t>=1200||r>=700)return e.IsInterlaced?"720i":"720p";if(t>=700||r>=400)return e.IsInterlaced?"480i":"480p"}return null}t.Ay={getMediaInfoHtml:y,getEndsAt:d,getEndsAtFromPosition:m,getPrimaryMediaInfoHtml:y,getSecondaryMediaInfoHtml:h,fillPrimaryMediaInfo:function(e,t,r){var n=y(t,r);e.innerHTML=n,f(e,t,r)},fillSecondaryMediaInfo:function(e,t,r){var n=h(t,r);e.innerHTML=n,f(e,t,r)},getMediaInfoStats:function(e){var t=[],r=(((e.MediaSources||[])[0]||{}).MediaStreams||[]).filter((function(e){return"Video"===e.Type}))[0]||{},n=function(e){if(!e.MediaSources)return null;var t=e.MediaSources[0];return t?(t.MediaStreams||[]).filter((function(e){return"Audio"===e.Type&&(e.Index===t.DefaultAudioStreamIndex||null==t.DefaultAudioStreamIndex)}))[0]:null}(e)||{};"Dvd"===e.VideoType&&t.push({type:"mediainfo",text:"Dvd"}),"BluRay"===e.VideoType&&t.push({type:"mediainfo",text:"BluRay"});var i=g(r);i&&t.push({type:"mediainfo",text:i}),r.Codec&&t.push({type:"mediainfo",text:r.Codec});var l,u=n.Channels;8===u?l="7.1":7===u?l="6.1":6===u?l="5.1":2===u&&(l="2.0"),l&&t.push({type:"mediainfo",text:l});var c=(n.Codec||"").toLowerCase();if("dca"!==c&&"dts"!==c||!n.Profile?n.Codec&&t.push({type:"mediainfo",text:n.Codec}):t.push({type:"mediainfo",text:n.Profile}),e.DateCreated&&s.Ay.enableDateAddedDisplay(e)){var d=a.Ay.parseISO8601Date(e.DateCreated);t.push({type:"added",text:o.Ay.translate("AddedOnValue","".concat(a.Ay.toLocaleDateString(d)," ").concat(a.Ay.getDisplayTime(d)))})}return t},getResolutionText:g}},99883:function(e,t,r){r.d(t,{A:function(){return ya}});var n,i,a,o,l=r(62540),s=r(92779),u=r(63696),c=r(98428),d=r(69410),m=r(64680),v=r(36873),f=r(92426),p=r(77612),y=r(73921),h=r(46842),g=r(98350),I=r(80270),b=r(23044),A=r(38586),T=r(69607),x=r(73392),S=r(61364),w=r(53096),P=r(45659),C=r(25334),j=r(80401),O=r(26073),D=r(38596),N=r(98320),R=r(5898),B=r(82885),k=r(46782);!function(e){e.HasSubtitles="HasSubtitles",e.HasTrailer="HasTrailer",e.HasSpecialFeature="HasSpecialFeature",e.HasThemeSong="HasThemeSong",e.HasThemeVideo="HasThemeVideo"}(n||(n={})),function(e){e.ParentIndexNumber="ParentIndexNumber",e.IsMissing="IsMissing",e.IsUnaired="IsUnaired"}(i||(i={})),function(e){e.IsSD="IsSD",e.IsHD="IsHD",e.Is4K="Is4K",e.Is3D="Is3D"}(a||(a={})),function(e){e.GridView="grid",e.ListView="list"}(o||(o={}));var L=r(46850),F=function(){return F=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},F.apply(this,arguments)},M=function(e,t){var r=[];return e!==L.D.Networks&&r.push(v.z.MediaSourceCount),t.ImageType===m.y.Primary&&r.push(v.z.PrimaryImageAspectRatio),e===L.D.Networks&&r.push(v.z.DateCreated,v.z.PrimaryImageAspectRatio),r},E=function(e,t){return{fields:M(e,t)}},V=function(){return{limit:B.libraryPageSize(void 0)||void 0}},U=function(e){var t=null!==e.Alphabet?e.Alphabet:void 0;return{nameLessThan:"#"===t?"A":void 0,nameStartsWith:"#"===t?void 0:t}},H=function(e,t){var r,o,l,s,u,c,d,m;return F(F(F(F({},function(e){var t,r,i,a,o,l,s,u,c,d;return{hasSubtitles:!!(null===(r=null===(t=e.Filters)||void 0===t?void 0:t.Features)||void 0===r?void 0:r.includes(n.HasSubtitles))||void 0,hasTrailer:!!(null===(a=null===(i=e.Filters)||void 0===i?void 0:i.Features)||void 0===a?void 0:a.includes(n.HasTrailer))||void 0,hasSpecialFeature:!!(null===(l=null===(o=e.Filters)||void 0===o?void 0:o.Features)||void 0===l?void 0:l.includes(n.HasSpecialFeature))||void 0,hasThemeSong:!!(null===(u=null===(s=e.Filters)||void 0===s?void 0:s.Features)||void 0===u?void 0:u.includes(n.HasThemeSong))||void 0,hasThemeVideo:!!(null===(d=null===(c=e.Filters)||void 0===c?void 0:c.Features)||void 0===d?void 0:d.includes(n.HasThemeVideo))||void 0}}(t)),function(e,t){var r,n,a,o,l,s;return{parentIndexNumber:(null===(n=null===(r=t.Filters)||void 0===r?void 0:r.EpisodeFilter)||void 0===n?void 0:n.includes(i.ParentIndexNumber))?0:void 0,isMissing:e===L.D.Episodes?!!(null===(o=null===(a=t.Filters)||void 0===a?void 0:a.EpisodeFilter)||void 0===o?void 0:o.includes(i.IsMissing)):void 0,isUnaired:!!(null===(s=null===(l=t.Filters)||void 0===l?void 0:l.EpisodeFilter)||void 0===s?void 0:s.includes(i.IsUnaired))||void 0}}(e,t)),function(e){var t,r,n,i,o,l,s,u,c;return(null===(r=null===(t=e.Filters)||void 0===t?void 0:t.VideoBasicFilter)||void 0===r?void 0:r.includes(a.IsHD))&&(c=!0),(null===(i=null===(n=e.Filters)||void 0===n?void 0:n.VideoBasicFilter)||void 0===i?void 0:i.includes(a.IsSD))&&(c=!1),{isHd:c,is4K:!!(null===(l=null===(o=e.Filters)||void 0===o?void 0:o.VideoBasicFilter)||void 0===l?void 0:l.includes(a.Is4K))||void 0,is3D:!!(null===(u=null===(s=e.Filters)||void 0===s?void 0:s.VideoBasicFilter)||void 0===u?void 0:u.includes(a.Is3D))||void 0}}(t)),{seriesStatus:null===(r=null==t?void 0:t.Filters)||void 0===r?void 0:r.SeriesStatus,videoTypes:null===(o=null==t?void 0:t.Filters)||void 0===o?void 0:o.VideoTypes,filters:null===(l=null==t?void 0:t.Filters)||void 0===l?void 0:l.Status,genres:null===(s=null==t?void 0:t.Filters)||void 0===s?void 0:s.Genres,officialRatings:null===(u=null==t?void 0:t.Filters)||void 0===u?void 0:u.OfficialRatings,tags:null===(c=null==t?void 0:t.Filters)||void 0===c?void 0:c.Tags,years:null===(d=null==t?void 0:t.Filters)||void 0===d?void 0:d.Years,studioIds:null===(m=null==t?void 0:t.Filters)||void 0===m?void 0:m.StudioIds})},G=function(e){return e===L.D.Episodes?p.B.SeriesSortName:p.B.SortName};function q(e){var t,r,n;return{"data-context":e.context,"data-collectionid":e.collectionId,"data-playlistid":e.playlistId,"data-parentid":e.parentId,"data-playlistitemid":e.itemPlaylistItemId,"data-action":k.A.tv?e.action:null,"data-serverid":e.itemServerId,"data-id":e.itemId,"data-timerid":e.itemTimerId,"data-seriestimerid":e.itemSeriesTimerId,"data-channelid":e.itemChannelId,"data-type":e.itemType,"data-mediatype":e.itemMediaType,"data-collectiontype":e.itemCollectionType,"data-isfolder":e.itemIsFolder,"data-path":e.itemPath,"data-prefix":e.prefix,"data-positionticks":null===(t=e.itemUserData)||void 0===t?void 0:t.PlaybackPositionTicks,"data-startdate":null===(r=e.itemStartDate)||void 0===r?void 0:r.toString(),"data-enddate":null===(n=e.itemEndDate)||void 0===n?void 0:n.toString()}}var W=r(11444),z=r(33077),Y=r(4672),K=r(76942),Q=function(){return Q=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Q.apply(this,arguments)},_=function(){var e={fields:[v.z.PrimaryImageAspectRatio],filters:[f.s.IsPlayed],IsPlayed:!0,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Backdrop,m.y.Thumb]};return[{name:"HeaderContinueWatching",apiMethod:Y.RQ.ResumeItems,itemTypes:"Movie",type:Y.gX.ContinueWatchingMovies,parametersOptions:{includeItemTypes:[W.D.Movie]},cardOptions:{overlayPlayButton:!0,preferThumb:!0,shape:K.G8.BackdropOverflow,showYear:!0}},{name:"HeaderLatestMovies",apiMethod:Y.RQ.LatestMedia,itemTypes:"Movie",type:Y.gX.LatestMovies,parametersOptions:{includeItemTypes:[W.D.Movie]},cardOptions:{overlayPlayButton:!0,shape:K.G8.PortraitOverflow,showYear:!0}},{name:"HeaderContinueWatching",apiMethod:Y.RQ.ResumeItems,itemTypes:"Episode",type:Y.gX.ContinueWatchingEpisode,parametersOptions:{includeItemTypes:[W.D.Episode]},cardOptions:{overlayPlayButton:!0,shape:K.G8.BackdropOverflow,preferThumb:!0,inheritThumb:!B.useEpisodeImagesInNextUpAndResume(void 0),showYear:!0}},{name:"HeaderLatestEpisodes",apiMethod:Y.RQ.LatestMedia,itemTypes:"Episode",type:Y.gX.LatestEpisode,parametersOptions:{includeItemTypes:[W.D.Episode]},cardOptions:{overlayPlayButton:!0,shape:K.G8.BackdropOverflow,preferThumb:!0,showSeriesYear:!0,showParentTitle:!0,showUnplayedIndicator:!1,showChildCountIndicator:!0,lines:2}},{name:"NextUp",apiMethod:Y.RQ.NextUp,itemTypes:"nextup",type:Y.gX.NextUp,cardOptions:{overlayPlayButton:!0,shape:K.G8.BackdropOverflow,preferThumb:!0,inheritThumb:!B.useEpisodeImagesInNextUpAndResume(void 0),showParentTitle:!0}},{name:"HeaderLatestMusic",apiMethod:Y.RQ.LatestMedia,itemTypes:"Audio",type:Y.gX.LatestMusic,parametersOptions:{includeItemTypes:[W.D.Audio]},cardOptions:{showUnplayedIndicator:!1,shape:K.G8.SquareOverflow,showParentTitle:!0,overlayPlayButton:!0,coverImage:!0}},{name:"HeaderRecentlyPlayed",itemTypes:"Audio",type:Y.gX.RecentlyPlayedMusic,parametersOptions:Q({sortBy:[p.B.DatePlayed],sortOrder:[y.x.Descending],includeItemTypes:[W.D.Audio]},e),cardOptions:{showUnplayedIndicator:!1,shape:K.G8.SquareOverflow,showParentTitle:!0,action:z.s.InstantMix,overlayMoreButton:!0,coverImage:!0}},{name:"HeaderFrequentlyPlayed",itemTypes:"Audio",type:Y.gX.FrequentlyPlayedMusic,parametersOptions:Q({sortBy:[p.B.PlayCount],sortOrder:[y.x.Descending],includeItemTypes:[W.D.Audio]},e),cardOptions:{showUnplayedIndicator:!1,shape:K.G8.SquareOverflow,showParentTitle:!0,action:z.s.InstantMix,overlayMoreButton:!0,coverImage:!0}}]},X=function(){var e={inheritThumb:!1,shape:K.G8.AutoOverflow,defaultShape:K.G8.BackdropOverflow,centerText:!0,coverImage:!0,overlayText:!1,lazy:!0,showAirTime:!0};return[{name:"HeaderOnNow",itemTypes:"Programs",apiMethod:Y.RQ.RecommendedPrograms,type:Y.gX.ActivePrograms,parametersOptions:{isAiring:!0},cardOptions:Q({showParentTitle:!0,showTitle:!0,showAirDateTime:!1,showAirEndTime:!0,overlayPlayButton:!0,overlayMoreButton:!1,overlayInfoButton:!1,preferThumb:"auto"},e)},{name:"Shows",itemTypes:"Programs",apiMethod:Y.RQ.LiveTvPrograms,type:Y.gX.UpcomingEpisodes,parametersOptions:{hasAired:!1,isMovie:!1,isSports:!1,isKids:!1,isNews:!1,isSeries:!0},cardOptions:Q({showParentTitle:!0,showTitle:!0,overlayPlayButton:!1,overlayMoreButton:!1,overlayInfoButton:!1,preferThumb:"auto",showAirDateTime:!0},e)},{name:"Movies",itemTypes:"Programs",apiMethod:Y.RQ.LiveTvPrograms,type:Y.gX.UpcomingMovies,parametersOptions:{hasAired:!1,isMovie:!0},cardOptions:Q({preferThumb:null,showParentTitle:!1,showTitle:!0,overlayPlayButton:!1,overlayMoreButton:!1,overlayInfoButton:!1,showAirDateTime:!0},e)},{name:"Sports",itemTypes:"Programs",apiMethod:Y.RQ.LiveTvPrograms,type:Y.gX.UpcomingSports,parametersOptions:{hasAired:!1,isSports:!0},cardOptions:Q({showParentTitle:!0,showTitle:!0,overlayPlayButton:!1,overlayMoreButton:!1,overlayInfoButton:!1,preferThumb:"auto",showAirDateTime:!0},e)},{name:"HeaderForKids",itemTypes:"Programs",apiMethod:Y.RQ.LiveTvPrograms,type:Y.gX.UpcomingKids,parametersOptions:{hasAired:!1,isKids:!0},cardOptions:Q({showParentTitle:!0,showTitle:!0,overlayPlayButton:!1,overlayMoreButton:!1,overlayInfoButton:!1,preferThumb:"auto",showAirDateTime:!0},e)},{name:"News",itemTypes:"Programs",apiMethod:Y.RQ.LiveTvPrograms,type:Y.gX.UpcomingNews,parametersOptions:{hasAired:!1,isNews:!0},cardOptions:Q({overlayPlayButton:!1,overlayMoreButton:!1,overlayInfoButton:!1,showParentTitleOrTitle:!0,showTitle:!1,showParentTitle:!1,preferThumb:"auto",showAirDateTime:!0},e)},{name:"HeaderLatestRecordings",itemTypes:"Recordings",apiMethod:Y.RQ.Recordings,type:Y.gX.LatestRecordings,parametersOptions:{limit:12,imageTypeLimit:1},cardOptions:{showYear:!0,lines:2,shape:K.G8.AutoOverflow,defaultShape:K.G8.BackdropOverflow,showTitle:!0,showParentTitle:!0,coverImage:!0,cardLayout:!1,centerText:!0,preferThumb:"auto",overlayText:!1}},{name:"HeaderAllRecordings",itemTypes:"Recordings",apiMethod:Y.RQ.RecordingFolders,type:Y.gX.RecordingFolders,cardOptions:{showYear:!1,showParentTitle:!1,shape:K.G8.AutoOverflow,defaultShape:K.G8.BackdropOverflow,showTitle:!0,coverImage:!0,cardLayout:!1,centerText:!0,preferThumb:"auto",overlayText:!1}},{name:"HeaderActiveRecordings",itemTypes:"Recordings",apiMethod:Y.RQ.Recordings,type:Y.gX.ActiveRecordings,parametersOptions:{isInProgress:!0},cardOptions:{shape:K.G8.AutoOverflow,defaultShape:K.G8.Backdrop,showParentTitle:!1,showParentTitleOrTitle:!0,showTitle:!0,showAirTime:!0,showAirEndTime:!0,showChannelName:!0,coverImage:!0,overlayText:!1,overlayMoreButton:!0,cardLayout:!1,centerText:!0,preferThumb:"auto"}}]},J=r(58961),Z=function(){return Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Z.apply(this,arguments)},$=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function l(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,l)}s((n=n.apply(e,t||[])).next())}))},ee=function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},te=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function re(e){var t,r,n=[],i="",a=[];try{for(var o=te(e),l=o.next();!l.done;l=o.next()){var s=l.value,u="";if(s.PremiereDate)try{var c=N.Ay.parseISO8601Date(s.PremiereDate,!0);u=N.Ay.isRelativeDay(c,-1)?R.Ay.translate("Yesterday"):N.Ay.toLocaleDateString(c,{weekday:"long",month:"short",day:"numeric"})}catch(e){console.error("error parsing timestamp for upcoming tv shows")}u!=i?(a.length&&n.push({name:i,items:a}),i=u,a=[s]):a.push(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}var ne=function(e){var t,r=(0,d.gf)();return(0,j.I)({queryKey:["GroupsUpcomingEpisodes",e],queryFn:function(t){var n=t.signal;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n,i;return ee(this,(function(a){switch(a.label){case 0:return n=e.api,i=e.user,n&&(null==i?void 0:i.Id)?[4,(0,x.r)(n).getUpcomingEpisodes({userId:i.Id,limit:25,fields:[v.z.AirTime],parentId:null!=t?t:void 0,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Backdrop,m.y.Thumb]},{signal:null==r?void 0:r.signal})]:[3,2];case 1:return[2,re(a.sent().data.Items||[])];case 2:return[2]}}))}))}(r,e,{signal:n})},enabled:!!r.api&&!!(null===(t=r.user)||void 0===t?void 0:t.Id)&&!!e})};function ie(e,t){var r,n,i=e.map((function(e){return e.Type=J.u.Timer,e})),a=[],o="",l=[];try{for(var s=te(i),u=s.next();!u.done;u=s.next()){var c=u.value,d="";if(!1!==t&&c.StartDate)try{var m=N.Ay.parseISO8601Date(c.StartDate,!0);d=N.Ay.toLocaleDateString(m,{weekday:"long",month:"short",day:"numeric"})}catch(e){console.error("error parsing premiereDate:"+c.StartDate+"; error: "+e)}d!=o?(l.length&&a.push({name:o,timerInfo:l}),o=d,l=[c]):l.push(c)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return l.length&&a.push({name:o,timerInfo:l}),a}var ae=function(e,t,r,n){return $(void 0,void 0,void 0,(function(){var i,a,o;return ee(this,(function(l){switch(l.label){case 0:if(i=e.api,a=e.user,!i||!(null==a?void 0:a.Id))return[3,18];switch(o=void 0,r.apiMethod){case Y.RQ.RecommendedPrograms:return[3,1];case Y.RQ.LiveTvPrograms:return[3,3];case Y.RQ.Recordings:return[3,5];case Y.RQ.RecordingFolders:return[3,7];case Y.RQ.NextUp:return[3,9];case Y.RQ.ResumeItems:return[3,11];case Y.RQ.LatestMedia:return[3,13]}return[3,15];case 1:return[4,(0,P.t)(i).getRecommendedPrograms(Z({userId:a.Id,limit:12,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Thumb,m.y.Backdrop],enableTotalRecordCount:!1,fields:[v.z.ChannelInfo,v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount]},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 2:case 4:case 6:case 8:case 10:case 12:case 16:return o=l.sent().data.Items,[3,17];case 3:return[4,(0,P.t)(i).getLiveTvPrograms(Z({userId:a.Id,limit:12,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Thumb,m.y.Backdrop],enableTotalRecordCount:!1,fields:[v.z.ChannelInfo,v.z.PrimaryImageAspectRatio]},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 5:return[4,(0,P.t)(i).getRecordings(Z({userId:a.Id,enableImageTypes:[m.y.Primary,m.y.Thumb,m.y.Backdrop],enableTotalRecordCount:!1,fields:[v.z.CanDelete,v.z.PrimaryImageAspectRatio]},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 7:return[4,(0,P.t)(i).getRecordingFolders({userId:a.Id},{signal:null==n?void 0:n.signal})];case 9:return[4,(0,x.r)(i).getNextUp(Z({userId:a.Id,limit:25,fields:[v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount],parentId:null!=t?t:void 0,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Thumb,m.y.Backdrop],enableTotalRecordCount:!1},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 11:return[4,(0,b.n)(i).getResumeItems(Z({userId:a.Id,parentId:null!=t?t:void 0,fields:[v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount],imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Thumb,m.y.Backdrop],enableTotalRecordCount:!1},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 13:return[4,(0,S.P)(i).getLatestMedia(Z({userId:a.Id,fields:[v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount],parentId:null!=t?t:void 0,imageTypeLimit:1,enableImageTypes:[m.y.Primary,m.y.Thumb]},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 14:return o=l.sent().data,[3,17];case 15:return[4,(0,b.n)(i).getItems(Z({userId:a.Id,parentId:null!=t?t:void 0,recursive:!0,limit:25,enableTotalRecordCount:!1},r.parametersOptions),{signal:null==n?void 0:n.signal})];case 17:return[2,o||[]];case 18:return[2]}}))}))},oe=function(e,t,r,n,i){return $(void 0,void 0,void 0,(function(){var a,o,l,s,u,c,d,m;return ee(this,(function(v){switch(v.label){case 0:n&&(r=r.filter((function(e){return n.includes(e.type)}))),a=[],v.label=1;case 1:v.trys.push([1,6,7,8]),o=te(r),l=o.next(),v.label=2;case 2:return l.done?[3,5]:(s=l.value,[4,ae(e,t,s,i)]);case 3:(u=v.sent())&&u.length>0&&a.push({section:s,items:u}),v.label=4;case 4:return l=o.next(),[3,2];case 5:return[3,8];case 6:return c=v.sent(),d={error:c},[3,8];case 7:try{l&&!l.done&&(m=o.return)&&m.call(o)}finally{if(d)throw d.error}return[7];case 8:return[2,a]}}))}))},le=r(70267),se=r(84849),ue=r(89348),ce=function(e){var t=e.message,r=void 0===t?"MessageNoItemsAvailable":t;return(0,l.jsxs)(s.A,{className:"noItemsMessage centerMessage",children:[(0,l.jsx)(ue.A,{variant:"h1",children:R.Ay.translate("MessageNothingHere")}),(0,l.jsx)(ue.A,{sx:{marginBottom:"16px"},children:R.Ay.translate(r)})]})},de=r(68700),me=r(65090),ve=r(4452),fe=r.n(ve),pe=r(45251),ye=r(65210),he=r(9790),ge=r(44797),Ie=r(10736),be=r(38490),Ae=r(36300),Te=r(34789),xe=r(76542),Se=r(39738),we=r(22832),Pe=r(35308),Ce=r(8566),je=r(9164),Oe=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function l(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,l)}s((n=n.apply(e,t||[])).next())}))},De=function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};function Ne(e){return e.preventDefault(),e.stopPropagation(),!1}var Re=function(e){var t,r=e.className,n=e.isContextMenuEnabled,i=e.isMultiSelectEnabled,a=e.isDragreOrderEnabled,o=e.eventsToMonitor,c=void 0===o?[]:o,m=e.parentId,v=e.queryKey,f=e.reloadItems,p=e.getItemsHtml,y=e.children,h=(0,he.jE)(),g=(t=(0,d.gf)(),(0,D.n)({mutationFn:function(e){return function(e,t){return $(void 0,void 0,void 0,(function(){var r,n;return ee(this,(function(i){switch(i.label){case 0:return r=e.api,n=e.user,r&&(null==n?void 0:n.Id)?[4,(0,w.C)(r).moveItem(Z({},t))]:[3,2];case 1:return[2,i.sent().data];case 2:return[2]}}))}))}(t,e)}})).mutateAsync,I=(0,u.useRef)(null),b=(0,u.useRef)(null),A=(0,u.useRef)(null),T=(0,u.useRef)(null),x=(0,u.useCallback)((function(e){var t=I.current,r=b.current;r&&!1===r.onContainerClick.call(t,e)||we.Ay.onClick.call(t,e)}),[]),S=(0,u.useCallback)((function(e){var t=e.target,r=Ae.Ay.parentWithAttribute(t,"data-id");if(null==r?void 0:r.getAttribute("data-serverid"))return be.default.handleCommand("menu",{sourceElement:r}),e.preventDefault(),e.stopPropagation(),!1}),[]),P=(0,u.useCallback)((function(e){b.current=new Pe.default({container:e,bindOnClick:!1})}),[]),C=(0,u.useCallback)((function(){b.current&&(b.current.destroy(),b.current=null)}),[]),j=(0,u.useCallback)((function(e){return Oe(void 0,void 0,void 0,(function(){var t,r,n,i,a,o;return De(this,(function(l){switch(l.label){case 0:if(t=e.item,r=e.newIndex,n=t.getAttribute("data-playlistitemid"),!(i=t.getAttribute("data-playlistid")))return a=e.oldIndex,t.dispatchEvent(new CustomEvent("itemdrop",{detail:{oldIndex:a,newIndex:r,playlistItemId:n},bubbles:!0,cancelable:!1})),[2];if(!n)throw new Error("null itemId");l.label=1;case 1:return l.trys.push([1,3,,4]),Ce.Ay.show(),[4,g({playlistId:i,itemId:n,newIndex:r||0})];case 2:return l.sent(),Ce.Ay.hide(),[3,4];case 3:return o=l.sent(),console.error("[Drag-Drop] error playlists Move Item: "+o),Ce.Ay.hide(),f?(f(),[3,4]):[2];case 4:return[2]}}))}))}),[g,f]),O=(0,u.useCallback)((function(e){A.current=ye.Ay.create(e,{draggable:".listItem",handle:".listViewDragHandle",onEnd:function(e){return j(e)}})}),[j]),N=(0,u.useCallback)((function(){A.current&&(A.current.destroy(),A.current=null)}),[]),R=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,h.invalidateQueries({queryKey:v,type:"all",refetchType:"active"})];case 1:return e.sent(),[2]}}))}))}),[h,v]),B=(0,u.useCallback)((function(e){f&&(!0===e?f():T.current=setTimeout((function(){return f()}),1e4))}),[f]),L=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,R()];case 1:return e.sent(),[2]}}))}))}),[R]),F=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,R()];case 1:return e.sent(),[2]}}))}))}),[R]),M=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,R()];case 1:return e.sent(),[2]}}))}))}),[R]),E=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,R()];case 1:return e.sent(),[2]}}))}))}),[R]),V=(0,u.useCallback)((function(){return Oe(void 0,void 0,void 0,(function(){return De(this,(function(e){switch(e.label){case 0:return[4,R()];case 1:return e.sent(),[2]}}))}))}),[R]),U=(0,u.useCallback)((function(e,t,r){var n,i,a,o,l;if(!c.includes("seriestimers")&&!c.includes("timers")){var s=null!==(n=r.ItemsAdded)&&void 0!==n?n:[],u=null!==(i=r.ItemsRemoved)&&void 0!==i?i:[];if(s.length||u.length){if(m){var d=null!==(a=r.FoldersAddedTo)&&void 0!==a?a:[],v=null!==(o=r.FoldersRemovedFrom)&&void 0!==o?o:[],f=null!==(l=r.CollectionFolders)&&void 0!==l?l:[];if(-1===d.indexOf(m)&&-1===v.indexOf(m)&&-1===f.indexOf(m))return}B(!1)}}}),[c,B,m]),H=(0,u.useCallback)((function(e,t){var r=t.state;if(r.NowPlayingItem&&r.NowPlayingItem.MediaType===pe.z.Video){if(c.includes("videoplayback"))return void B(!0)}else if(r.NowPlayingItem&&r.NowPlayingItem.MediaType===pe.z.Audio&&c.includes("audioplayback"))return void B(!0)}),[c,B]),G=(0,u.useCallback)((function(e,t){if(t){var r=e.querySelector('[data-id="'+t+'"]');if(r)try{return void je.A.focus(r)}catch(e){console.error(e)}}je.A.autoFocus(e)}),[]);(0,u.useEffect)((function(){var e=I.current;if(e){var t,r,n=document.activeElement;(null==e?void 0:e.contains(n))&&(r=!0,t=null==n?void 0:n.getAttribute("data-id")),p&&(e.innerHTML=p(),xe.default.lazyChildren(e)),r&&G(e,t)}else console.error("Unexpected null reference")}),[p,G]),(0,u.useEffect)((function(){var e=I.current;if(e)return(k.A.desktop||k.A.mobile&&!1!==i)&&P(e),!0===a&&O(e),e.addEventListener("click",x),Te.A.touch?e.addEventListener("contextmenu",Ne):!1!==n&&e.addEventListener("contextmenu",S),we.Ay.on(e,{click:!1}),ge.A.on(Ie.default,"UserDataChanged",L),ge.A.on(Ie.default,"TimerCreated",F),ge.A.on(Ie.default,"TimerCancelled",E),ge.A.on(Ie.default,"SeriesTimerCreated",M),ge.A.on(Ie.default,"SeriesTimerCancelled",V),ge.A.on(Ie.default,"LibraryChanged",U),ge.A.on(Se.f,"playbackstop",H),function(){T.current&&clearTimeout(T.current),C(),N(),e.removeEventListener("click",x),e.removeEventListener("contextmenu",S),e.removeEventListener("contextmenu",Ne),we.Ay.off(e,{click:!1}),ge.A.off(Ie.default,"UserDataChanged",L),ge.A.off(Ie.default,"TimerCreated",F),ge.A.off(Ie.default,"TimerCancelled",E),ge.A.off(Ie.default,"SeriesTimerCreated",M),ge.A.off(Ie.default,"SeriesTimerCancelled",V),ge.A.off(Ie.default,"LibraryChanged",U),ge.A.off(Se.f,"playbackstop",H)};console.error("Unexpected null reference")}),[N,C,O,P,n,a,i,x,S,U,H,V,M,E,F,L]);var q=fe()("itemsContainer",{"itemsContainer-tv":k.A.tv},r);return(0,l.jsx)(s.A,{ref:I,className:q,children:y})},Be=r(92726),ke=r(4113),Le=function(){return Le=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Le.apply(this,arguments)},Fe=function(e){var t=e.className,r=e.title,n=e.icon,i=e.iconClassName,a=e.disabled,o=void 0!==a&&a,s=e.onClick,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["className","title","icon","iconClassName","disabled","onClick"]),c=fe()("paper-icon-button-light",t,{"show-focus":k.A.tv}),d=fe()("material-icons",i,n);return(0,l.jsx)("button",Le({className:c,title:r,disabled:o,onClick:s},u,{children:(0,l.jsx)("span",{className:d,"aria-hidden":"true"})}))},Me=r(23064),Ee=function(e){var t=e.scrollerFactoryRef,r=e.scrollState,n=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}((0,u.useState)(0),2),i=n[0],a=n[1],o=(0,u.useRef)(null),s=(0,u.useCallback)((function(e){(0,Me.s)({direction:e,scroller:t.current,scrollState:r})}),[r,t]),c=(0,u.useCallback)((function(){return s(Me.D.LEFT)}),[s]),d=(0,u.useCallback)((function(){return s(Me.D.RIGHT)}),[s]);return(0,u.useEffect)((function(){var e;(null===(e=o.current)||void 0===e?void 0:e.parentNode).classList.add("emby-scroller-container");var t=r.scrollPos;R.Ay.getIsElementRTL(o.current)&&(t*=-1),a(t)}),[r.scrollPos]),(0,l.jsxs)("div",{ref:o,className:"emby-scrollbuttons padded-right",children:[(0,l.jsx)(Fe,{type:"button",className:"emby-scrollbuttons-button btnPrev",onClick:c,icon:"chevron_left",disabled:i<=0}),(0,l.jsx)(Fe,{type:"button",className:"emby-scrollbuttons-button btnNext",onClick:d,icon:"chevron_right",disabled:r.scrollWidth>0&&i+r.scrollSize>=r.scrollWidth})]})},Ve=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},Ue=function(e){var t=e.className,r=e.isHorizontalEnabled,n=void 0===r||r,i=e.isMouseWheelEnabled,a=void 0!==i&&i,o=e.isCenterFocusEnabled,s=void 0!==o&&o,c=e.isScrollButtonsEnabled,d=void 0===c||c,m=e.isSkipFocusWhenVisibleEnabled,v=void 0!==m&&m,f=e.isScrollEventEnabled,p=void 0!==f&&f,y=e.isHideScrollbarEnabled,h=void 0!==y&&y,g=e.isAllowNativeSmoothScrollEnabled,I=void 0!==g&&g,b=e.children,A=Ve(function(){var e=(0,u.useRef)(null),t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}((0,u.useState)({width:0,height:0}),2),r=t[0],n=t[1];return(0,u.useLayoutEffect)((function(){e.current&&n(e.current.getBoundingClientRect())}),[e]),(0,Be.A)(e,(function(e){return n(e.contentRect)})),[e,r]}(),2),T=A[0],x=A[1],S=Ve((0,u.useState)(!1),2),w=S[0],P=S[1],C=Ve((0,u.useState)({scrollSize:x.width,scrollPos:0,scrollWidth:0}),2),j=C[0],O=C[1],D=(0,u.useRef)(null),N=(0,u.useCallback)((function(){if(D.current)return D.current.getScrollSlider()}),[D]),R=(0,u.useCallback)((function(){return D.current?D.current.getScrollPosition():0}),[D]),B=(0,u.useCallback)((function(){return D.current?D.current.getScrollSize():0}),[D]),L=(0,u.useCallback)((function(e,t){var r=e.getPropertyValue(t);return r&&(r=r.replace("px",""))?isNaN(parseInt(r,10))?0:Number(r):0}),[]),F=(0,u.useCallback)((function(){var e=null==T?void 0:T.current,t=e.offsetWidth,r=window.getComputedStyle(e,null),n=L(r,"padding-left");n&&(t-=n);var i=L(r,"padding-right");i&&(t-=i);var a=N();return r=window.getComputedStyle(a,null),(n=L(r,"padding-left"))&&(t-=n),(i=L(r,"padding-right"))&&(t-=i),t}),[N,L,T]),M=(0,u.useCallback)((function(){var e=F(),t=R(),r=B();O({scrollSize:e,scrollPos:t,scrollWidth:r})}),[R,F,B]),E=(0,u.useCallback)((function(e,t){Ae.Ay.addEventListener(e,"focus",(function(e){var r=je.A.focusableParent(e.target);r&&t.toCenter(r,!1)}),{capture:!0,passive:!0})}),[]),V=(0,u.useCallback)((function(e,t){D.current&&Ae.Ay.addEventListener(D.current.getScrollFrame(),D.current.getScrollEventName(),e,t)}),[D]),U=(0,u.useCallback)((function(e,t){D.current&&Ae.Ay.removeEventListener(D.current.getScrollFrame(),D.current.getScrollEventName(),e,t)}),[D]);return(0,u.useEffect)((function(){var e,t=T.current;if(t){var r=k.A.desktop&&n&&d,i={horizontal:n,mouseDragging:1,mouseWheel:a,touchDragging:1,slidee:null===(e=T.current)||void 0===e?void 0:e.querySelector(".scrollSlider"),scrollBy:200,speed:n?270:240,elasticBounds:1,dragHandle:1,autoImmediate:!0,skipSlideToWhenVisible:v,dispatchScrollEvent:r||p,hideScrollbar:r||h,allowNativeSmoothScroll:I&&!r,allowNativeScroll:!r,forceHideScrollbars:r,requireAnimation:r&&Te.A.edge};return D.current=new ke.A(t,i),D.current.init(),D.current.reload(),k.A.tv&&s&&E(t,D.current),r&&(V(M,{capture:!1,passive:!0}),P(!0)),function(){D.current&&(D.current.destroy(),D.current=null),U(M,{capture:!1,passive:!0})}}console.error("Unexpected null reference")}),[V,E,I,s,h,n,a,d,p,v,M,U,T]),(0,l.jsxs)(l.Fragment,{children:[w&&j.scrollWidth>j.scrollSize+20&&(0,l.jsx)(Ee,{scrollerFactoryRef:D,scrollState:j}),(0,l.jsx)("div",{ref:T,className:fe()("emby-scroller",t),children:b})]})},He=r(24468),Ge="Photo",qe="Video",We=r(64788),ze=r(36645);function Ye(e,t){if(e&&t)return Math.round(e/t)}function Ke(e){return!(!e.preferThumb||!1===e.showTitle)}function Qe(e,t){return!(!e||!t)&&Math.abs(e-t)/t<=.2}var _e=function(e){var t,r,n,i,a=e.item,o=e.cardOptions,l=e.shape,s=(0,d.gf)().api,u=function(e,t,r){var n,i,a,o,l,s,u,c,d,v,f,p,y=t.width,h=e.PrimaryImageAspectRatio,g=!1,I=!1,b=(0,ze.zo)(r);if(function(e,t){return Boolean(t.preferThumb)&&!(e===J.u.Program||e===J.u.Episode)}(e.Type,t)){var A=function(e,t){var r,n,i,a,o,l,s=!1;return(null===(r=e.ImageTags)||void 0===r?void 0:r.Thumb)?(a=m.y.Thumb,l=e.ImageTags.Thumb,o=e.Id):e.SeriesThumbImageTag&&!1!==t.inheritThumb?(a=m.y.Thumb,l=e.SeriesThumbImageTag,o=e.SeriesId):e.ParentThumbItemId&&!1!==t.inheritThumb&&e.MediaType!==Ge?(a=m.y.Thumb,l=e.ParentThumbImageTag,o=e.ParentThumbItemId):(null===(n=e.BackdropImageTags)||void 0===n?void 0:n.length)?(a=m.y.Backdrop,l=e.BackdropImageTags[0],o=e.Id,s=!0):(null===(i=e.ParentBackdropImageTags)||void 0===i?void 0:i.length)&&!1!==t.inheritThumb&&(a=m.y.Backdrop,l=e.ParentBackdropImageTags[0],o=e.ParentBackdropItemId),{itemId:o,imgTag:l,imgType:a,forceName:s}}(e,t);f=A.imgType,v=A.imgTag,p=A.itemId,g=A.forceName}else if(function(e,t,r){return(t.preferBanner||r===K.G8.Banner)&&Boolean(e)}(null===(n=e.ImageTags)||void 0===n?void 0:n.Banner,t,r))f=m.y.Banner,v=null===(i=e.ImageTags)||void 0===i?void 0:i.Banner,p=e.Id;else if(function(e,t){return!0===t.preferDisc&&Boolean(e)}(null===(a=e.ImageTags)||void 0===a?void 0:a.Disc,t))f=m.y.Disc,v=null===(o=e.ImageTags)||void 0===o?void 0:o.Disc,p=e.Id;else if(t.preferLogo){var T=function(e){var t,r,n,i;return(null===(t=e.ImageTags)||void 0===t?void 0:t.Logo)?(r=m.y.Logo,i=e.ImageTags.Logo,n=e.Id):e.ParentLogoImageTag&&e.ParentLogoItemId&&(r=m.y.Logo,i=e.ParentLogoImageTag,n=e.ParentLogoItemId),{itemId:n,imgTag:i,imgType:r}}(e);f=T.imgType,v=T.imgType,p=T.itemId}else!function(e,t){return Boolean(e)&&Boolean(t.inheritThumb)}(e.ParentThumbItemId,t)?function(e){var t;return Boolean(null===(t=e.ImageTags)||void 0===t?void 0:t.Primary)&&(e.Type!==J.u.Episode||0!==e.ChildCount)}(e)?(f=m.y.Primary,v=null===(l=e.ImageTags)||void 0===l?void 0:l.Primary,p=e.Id,d=Ye(y,h),g=Ke(t),I=Qe(h,b)):e.SeriesPrimaryImageTag?(f=m.y.Primary,v=e.SeriesPrimaryImageTag,p=e.SeriesId):e.PrimaryImageTag?(f=m.y.Primary,v=e.PrimaryImageTag,p=e.PrimaryImageItemId,d=Ye(y,h),g=Ke(t),I=Qe(h,b)):e.ParentPrimaryImageTag?(f=m.y.Primary,v=e.ParentPrimaryImageTag,p=e.ParentPrimaryImageItemId):function(e){return Boolean(e.AlbumId)&&Boolean(e.AlbumPrimaryImageTag)}(e)?(f=m.y.Primary,v=e.AlbumPrimaryImageTag,p=e.AlbumId,d=Ye(y,h),g=Ke(t),I=Qe(h,b)):function(e){var t;return e.Type===J.u.Season&&Boolean(null===(t=e.ImageTags)||void 0===t?void 0:t.Thumb)}(e)?(f=m.y.Thumb,v=null===(s=e.ImageTags)||void 0===s?void 0:s.Thumb,p=e.Id):(null===(u=e.BackdropImageTags)||void 0===u?void 0:u.length)?(f=m.y.Backdrop,v=e.BackdropImageTags[0],p=e.Id):function(e,t){return Boolean(e)&&!1!==t.inheritThumb}(e.SeriesThumbImageTag,t)?(f=m.y.Thumb,v=e.SeriesThumbImageTag,p=e.SeriesId):(null===(c=e.ParentBackdropImageTags)||void 0===c?void 0:c.length)&&!1!==t.inheritThumb&&(f=m.y.Backdrop,v=e.ParentBackdropImageTags[0],p=e.ParentBackdropItemId):(f=m.y.Thumb,v=e.ParentThumbImageTag,p=e.ParentThumbItemId);return{imgType:f,imgTag:v,itemId:p,width:y,height:d,forceName:g,coverImage:I}}(a,o,l),c=u.width,v=u.height,f=u.imgTag,p=u.imgType,y=u.itemId,h=window.devicePixelRatio||1;return s&&f&&p&&y&&(c&&(c=Math.round(c*h)),v&&(v=Math.round(v*h)),n=(0,We.C)(s).getItemImageUrlById(y,p,{quality:96,fillWidth:c,fillHeight:v,tag:f}),i=null===(r=null===(t=null==a?void 0:a.ImageBlurHashes)||void 0===t?void 0:t[p])||void 0===r?void 0:r[f]),{imgUrl:n,blurhash:i,forceName:u.forceName,coverImage:u.coverImage}},Xe=function(){return Xe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xe.apply(this,arguments)},Je=function(e){var t=e.className,r=e.dataAttributes,n=e.children;return k.A.tv?(0,l.jsx)("button",Xe({className:t},r,{children:n})):(0,l.jsx)("div",Xe({className:t},r,{children:n}))},Ze=r(1164),$e=r(55370),et=r(75487),tt=r(2066),rt=function(e){var t=e.className,r=e.action,n=e.title,i=e.iconClassName;return(0,l.jsx)(et.A,{className:t,"data-action":r,title:R.Ay.translate(n),children:(0,l.jsx)(tt.A,{className:i})})},nt=r(15723),it=function(e){var t=e.className,r=e.iconClassName;return(0,l.jsx)(et.A,{className:t,"data-action":z.s.Menu,title:R.Ay.translate("ButtonMore"),children:(0,l.jsx)(nt.A,{className:r})})},at=function(e,t){return e&&!t.IsPlaceHolder&&(t.LocationType!==Ze.i.Virtual||!t.MediaType||t.Type===J.u.Program)&&t.Type!==J.u.Person},ot=function(e){var t=e.item,r=e.cardOptions,n=r.overlayPlayButton;null!=n||r.overlayMoreButton||r.overlayInfoButton||r.cardLayout||(n=t.MediaType===qe);var i=le.appRouter.getRouteUrl(t,{parentId:r.parentId}),a=fe()("paper-icon-button-light","cardOverlayButton","itemAction"),o=fe()(a,"cardOverlayButton-centered");return(0,l.jsxs)("a",{href:i,"aria-label":t.Name||"",style:{position:"absolute",top:0,left:0,bottom:0,right:0,userSelect:"none",borderRadius:"0.2em"},children:[r.centerPlayButton&&(0,l.jsx)(rt,{className:o,action:z.s.Play,title:"Play"}),(0,l.jsxs)($e.A,{className:"cardOverlayButton-br",children:[at(n,t)&&(0,l.jsx)(rt,{className:a,action:z.s.Play,title:"Play"}),r.overlayMoreButton&&(0,l.jsx)(it,{className:a})]})]})},lt=r(23648),st=r(249),ut=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function l(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,l)}s((n=n.apply(e,t||[])).next())}))},ct=function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},dt=function(e){var t,r=e.className,n=e.isPlayed,i=void 0!==n&&n,a=e.itemId,o=e.itemType,s=e.queryKey,c=(0,he.jE)(),m=(t=(0,d.gf)(),(0,D.n)({mutationFn:function(e){var r=e.itemId,n=e.isPlayed;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n,i;return ee(this,(function(a){switch(a.label){case 0:return n=e.api,i=e.user,n&&(null==i?void 0:i.Id)?r?[4,(0,C.q)(n).markUnplayedItem({userId:i.Id,itemId:t})]:[3,2]:[3,4];case 1:case 3:return[2,a.sent().data.Played];case 2:return[4,(0,C.q)(n).markPlayedItem({userId:i.Id,itemId:t})];case 4:return[2]}}))}))}(t,r,n)}})).mutateAsync,v=(0,u.useCallback)((function(){return o!==W.D.AudioBook?i?R.Ay.translate("Watched"):R.Ay.translate("MarkPlayed"):i?R.Ay.translate("Played"):R.Ay.translate("MarkPlayed")}),[o,i]),f=(0,u.useCallback)((function(){return ut(void 0,void 0,void 0,(function(){var e;return ct(this,(function(t){switch(t.label){case 0:if(t.trys.push([0,2,,3]),!a)throw new Error("Item has no Id");return[4,m({itemId:a,isPlayed:i},{onSuccess:function(){return ut(void 0,void 0,void 0,(function(){return ct(this,(function(e){switch(e.label){case 0:return[4,c.invalidateQueries({queryKey:s,type:"all",refetchType:"active"})];case 1:return e.sent(),[2]}}))}))}})];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.error(e),[3,3];case 3:return[2]}}))}))}),[a,m,i,c,s]);return(0,l.jsx)(et.A,{"data-action":z.s.None,title:v(),className:r,size:"small",onClick:f,children:(0,l.jsx)(st.A,{color:i?"error":void 0})})},mt=r(36237),vt=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function l(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,l)}s((n=n.apply(e,t||[])).next())}))},ft=function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},pt=function(e){var t,r=e.className,n=e.isFavorite,i=void 0!==n&&n,a=e.itemId,o=e.queryKey,s=(0,he.jE)(),c=(t=(0,d.gf)(),(0,D.n)({mutationFn:function(e){var r=e.itemId,n=e.isFavorite;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n,i;return ee(this,(function(a){switch(a.label){case 0:return n=e.api,i=e.user,n&&(null==i?void 0:i.Id)?r?[4,(0,S.P)(n).unmarkFavoriteItem({userId:i.Id,itemId:t})]:[3,2]:[3,4];case 1:case 3:return[2,a.sent().data.IsFavorite];case 2:return[4,(0,S.P)(n).markFavoriteItem({userId:i.Id,itemId:t})];case 4:return[2]}}))}))}(t,r,n)}})).mutateAsync,m=(0,u.useCallback)((function(){return vt(void 0,void 0,void 0,(function(){var e;return ft(this,(function(t){switch(t.label){case 0:if(t.trys.push([0,2,,3]),!a)throw new Error("Item has no Id");return[4,c({itemId:a,isFavorite:i},{onSuccess:function(){return vt(void 0,void 0,void 0,(function(){return ft(this,(function(e){switch(e.label){case 0:return[4,s.invalidateQueries({queryKey:o,type:"all",refetchType:"active"})];case 1:return e.sent(),[2]}}))}))}})];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.error(e),[3,3];case 3:return[2]}}))}))}),[i,a,s,o,c]);return(0,l.jsx)(et.A,{"data-action":z.s.None,className:r,title:i?R.Ay.translate("Favorite"):R.Ay.translate("AddToFavorites"),size:"small",onClick:m,children:(0,l.jsx)(mt.A,{color:i?"error":void 0})})},yt=function(e){var t,r=e.action,n=e.item,i=e.cardOptions,a=le.appRouter.getRouteUrl(n,{parentId:i.parentId}),o="paper-icon-button-light cardOverlayButton cardOverlayButton-hover itemAction",u=fe()(o,"cardOverlayFab-primary"),c=null!==(t=n.UserData)&&void 0!==t?t:{},d=c.IsFavorite,m=c.Played;return(0,l.jsxs)(s.A,{className:"cardOverlayContainer itemAction","data-action":r,children:[(0,l.jsx)("a",{href:a,"aria-label":n.Name||"",className:"cardImageContainer"}),Se.f.canPlay(n)&&(0,l.jsx)(rt,{className:u,action:z.s.Play,title:"Play"}),(0,l.jsxs)($e.A,{className:"cardOverlayButton-br flex",children:[lt.Ay.canMarkPlayed(n)&&!1!==i.enablePlayedButton&&(0,l.jsx)(dt,{className:o,isPlayed:m,itemId:n.Id,itemType:n.Type,queryKey:i.queryKey}),lt.Ay.canRate(n)&&!1!==i.enableRatingButton&&(0,l.jsx)(pt,{className:o,isFavorite:d,itemId:n.Id,queryKey:i.queryKey}),(0,l.jsx)(it,{className:o})]})]})};function ht(e){return null==e?[]:Array.isArray(e)?e:[e]}var gt=function(){return gt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},gt.apply(this,arguments)},It=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},bt=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function At(e,t,r){var n=t||lt.Ay.getDisplayName(e);return k.A.tv?{title:n}:{titleAction:{url:le.appRouter.getRouteUrl(e,{serverId:r}),title:n,dataAttributes:q({action:z.s.Link,itemServerId:null!=r?r:e.ServerId,itemId:e.Id,itemChannelId:e.ChannelId,itemType:e.Type,itemMediaType:e.MediaType,itemCollectionType:e.CollectionType,itemIsFolder:e.IsFolder})}}}function Tt(e,t,r){var n="";if(e.StartDate)try{var i=N.Ay.parseISO8601Date(e.StartDate);t&&(n+=N.Ay.toLocaleDateString(i,{weekday:"short",month:"short",day:"numeric"})+" "),n+=N.Ay.getDisplayTime(i),e.EndDate&&r&&(i=N.Ay.parseISO8601Date(e.EndDate),n+=" - "+N.Ay.getDisplayTime(i))}catch(t){console.error("error parsing date: "+e.StartDate)}return n}function xt(e){if(e)return 1===e?R.Ay.translate("ValueOneSong"):R.Ay.translate("ValueSongCount",e)}function St(e,t){var r,n,i=[],a=function(e){e&&i.push(e)};return t.Type===J.u.Playlist?a(function(e){if(e){var t=e/6e8;return t=t||1,R.Ay.translate("ValueMinutes",Math.round(t))}return R.Ay.translate("ValueMinutes",0)}(t.RunTimeTicks)):(n=t.Type)===J.u.Genre||n===J.u.Studio?(a(function(e){if(e)return 1===e?R.Ay.translate("ValueOneMovie"):R.Ay.translate("ValueMovieCount",e)}(t.MovieCount)),a(function(e){if(e)return 1===e?R.Ay.translate("ValueOneSeries"):R.Ay.translate("ValueSeriesCount",e)}(t.SeriesCount)),a(function(e){if(e)return 1===e?R.Ay.translate("ValueOneEpisode"):R.Ay.translate("ValueEpisodeCount",e)}(t.EpisodeCount))):!function(e,t){return e===J.u.MusicGenre||"MusicArtist"===t}(t.Type,e.context)?t.Type===J.u.Series&&a(1===(r=t.RecursiveItemCount)?R.Ay.translate("ValueOneEpisode"):R.Ay.translate("ValueEpisodeCount",r)):(a(function(e){if(e)return 1===e?R.Ay.translate("ValueOneAlbum"):R.Ay.translate("ValueAlbumCount",e)}(t.AlbumCount)),a(xt(t.SongCount)),a(function(e){if(e)return 1===e?R.Ay.translate("ValueOneMusicVideo"):R.Ay.translate("ValueMusicVideoCount",e)}(t.MusicVideoCount))),i.join(", ")}function wt(e){return e.RecordAnyChannel?R.Ay.translate("AllChannels"):e.ChannelName||R.Ay.translate("OneChannel")}function Pt(e){return e.RecordAnyTime?R.Ay.translate("Anytime"):N.Ay.getDisplayTime(e.StartDate)}function Ct(e){return e&&Tt(e,!1,!0)||""}function jt(e){if(!e)return"";try{return N.Ay.toLocaleDateString(N.Ay.parseISO8601Date(e),{weekday:"long",month:"long",day:"numeric"})}catch(e){return""}}function Ot(e,t){var r,n,i=e(t);try{for(var a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),o=a.next();!o.done;o=a.next())return o.value}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function Dt(e){var t=e.ProductionYear&&N.Ay.toLocaleString(e.ProductionYear,{useGrouping:!1});if(e.Type===J.u.Series){if("Continuing"===e.Status)return R.Ay.translate("SeriesYearToPresent",t||"");if(e.EndDate&&e.ProductionYear){var r=N.Ay.toLocaleString(N.Ay.parseISO8601Date(e.EndDate).getFullYear(),{useGrouping:!1});return t+(r===t?"":" - "+r)}return t||""}return t||""}function Nt(e){var t,r=e.isOuterFooter,n=e.overlayText,i=e.forceName,a=e.item,o=e.cardOptions,l=e.imgUrl,s=function(e,t){return Boolean(e)||t===J.u.PhotoAlbum||t===J.u.Folder}(o.showTitle,a.Type),u=function(e,t){return e?!t:t}(r,n),c=a.ServerId||o.serverId,d=[],m=(t=a.Type)===J.u.MusicAlbum||t===J.u.Audio||t===J.u.MusicVideo,v=!1,f=function(e){d.push(e)};u&&(o.showParentTitle||o.showParentTitleOrTitle)&&!m&&f(function(e,t,r,n){if(e&&t.Type===J.u.Episode&&t.SeriesName)return t.SeriesId?At({Key:t.SeriesId,Id:t.SeriesId,ServerId:t.ServerId,Name:t.SeriesName,Type:J.u.Series,IsFolder:!0}):{title:t.SeriesName};if((0,ze.hn)(t.Type))return t.EpisodeTitle||t.IndexNumber||(v=!0),{title:t.Name};var i=t.SeriesName||t.Series||t.Album||t.AlbumArtist||"";return i||n?{title:i}:{title:""}}(r,a,0,s));var p=function(e,t,r,n,i){var a=t&&!e||n.showParentTitleOrTitle&&!i.length;return a||e||!t&&!r||(a=!0),a}(v,s,i,o,d);return p&&f(function(e,t){var r,n="auto"!==e.showTitle||t.IsFolder||t.MediaType!==Ge?lt.Ay.getDisplayName(t,{includeParentInfo:e.includeParentInfoInTitle}):"";return At({Key:null!==(r=t.Id)&&void 0!==r?r:"",Id:t.Id,ServerId:t.ServerId,Name:n,Type:t.Type,CollectionType:t.CollectionType,IsFolder:t.IsFolder})}(o,a)),u&&function(e,t,r,n,i,a){var o,l,s,u,c,d,m;(function(e,t){return e&&t})(e.showParentTitle,t)&&i(function(e,t,r){var n;return e&&(null===(n=r.AlbumArtists)||void 0===n?void 0:n.length)?r.AlbumArtists.map((function(e){var r;return At(gt(gt({},e),{Key:null!==(r=e.Id)&&void 0!==r?r:"",Type:W.D.MusicArtist,IsFolder:!0}),null,t)})).reduce((function(e,t){return{title:bt(bt([],It(ht(e.title)),!1),It(ht(t.title)),!1),titleAction:bt(bt([],It(ht(e.titleAction)),!1),It(ht(t.titleAction)),!1)}}),{}):{title:(0,ze.hn)(r.Type)?r.Name:r.SeriesName||r.Series||r.Album||r.AlbumArtist||""}}(r,a,n)),(o=n.ExtraType)&&"Unknown"!==o&&i({title:R.Ay.translate(n.ExtraType)}),e.showItemCounts&&i({title:St(e,n)}),e.textLines&&i({title:Ot(e.textLines,n)}),e.showSongCount&&i({title:xt(n.SongCount)}),e.showPremiereDate&&i({title:jt(n.PremiereDate)}),l=e.showYear,s=e.showSeriesYear,(Boolean(l)||s)&&i({title:Dt(n)}),e.showRuntime&&i({title:(m=n.RunTimeTicks,m?N.Ay.getDisplayRunningTime(m):"")}),e.showAirTime&&i({title:Tt(n,e.showAirDateTime,e.showAirEndTime)}),e.showChannelName&&i(function(e){return e.ChannelId?At({Key:e.ChannelId,Id:e.ChannelId,ServerId:e.ServerId,Name:e.ChannelName,Type:J.u.TvChannel,MediaType:e.MediaType,IsFolder:!1},e.ChannelName):{title:e.ChannelName||" "}}(n)),u=e.showCurrentProgram,c=n.Type,u&&c===J.u.TvChannel&&i({title:(d=n.CurrentProgram,d?d.Name:"")}),function(e,t){return e&&t===J.u.TvChannel}(e.showCurrentProgramTime,n.Type)&&i({title:Ct(n.CurrentProgram)}),e.showSeriesTimerTime&&i({title:Pt(n)}),e.showSeriesTimerChannel&&i({title:wt(n)}),function(e,t){return!(!e||!t.Role)}(e.showCurrentProgramTime,n)&&i({title:R.Ay.translate("PersonRole",n.Role)})}(o,m,r,a,f,c),(s||!l)&&i&&n&&1===d.length&&(d=[]),n&&s&&(d=[{title:a.Name}]),{textLines:d}}var Rt=function(){return Rt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Rt.apply(this,arguments)},Bt=function(e){var t=e.className,r=e.textLine,n=r.title,i=r.titleAction;return(0,l.jsx)(s.A,{className:t,children:i?ht(i).map((function(e,t,r){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("a",Rt({className:"itemAction textActionButton",href:e.url,title:e.title},e.dataAttributes,{children:e.title})),t<r.length-1&&" / "]})})):ht(n).join(" / ")})},kt=function(e){var t=e.item,r=e.cardOptions,n=e.forceName,i=e.imgUrl,a=e.overlayText,o=e.isOuterFooter,u=e.cssClass,c=e.forceLines,d=e.maxLines,m=Nt({isOuterFooter:o,overlayText:a,forceName:n,item:t,cardOptions:r,imgUrl:i}).textLines,v=function(e,t,r,n){return e&&t&&!r&&"none"!==n&&k.A.mobile}(o,r.cardLayout,r.centerText,r.cardFooterAside),f=function(){var e,t,r=[],n=0;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(m),a=i.next();!a.done;a=i.next()){var f=a.value,p=fe()(u,{"cardText-secondary":n>0&&o},{"cardText-first":0===n&&o},{"cardText-rightmargin":v});if(f&&(r.push((0,l.jsx)(Bt,{className:p,textLine:f},n)),n++,d&&n>=d))break}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}if(c)for(var y=null!=d?d:Math.min(m.length,null!=d?d:m.length);n<y;)r.push((0,l.jsx)(s.A,{className:u,children:" "},n)),n++;return r}();return{cardTextLines:f}},Lt=r(470),Ft=r(20302),Mt=function(){return Mt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Mt.apply(this,arguments)},Et=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},Vt={position:"absolute",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%",zIndex:0},Ut=function(e){var t=e.imgUrl,r=e.blurhash,n=e.containImage,i=Et((0,u.useState)(!1),2),a=i[0],o=i[1],s=Et((0,u.useState)(!1),2),c=s[0],d=s[1],m=(0,u.useCallback)((function(){o(!0)}),[]),v=(0,u.useCallback)((function(){d(!0)}),[]);return(0,l.jsxs)("div",{children:[!a&&c&&r&&(0,l.jsx)(Lt.U,{hash:r,width:20,height:20,punch:1,style:Mt(Mt({},Vt),{borderRadius:"0.2em",pointerEvents:"none"})}),(0,l.jsx)(Ft.LazyLoadImage,{src:t,style:Mt(Mt({},Vt),{objectFit:n?"contain":"cover"}),onLoad:m,beforeLoad:v},t)]})},Ht=function(e,t){return e.showDetailsMenu&&t&&e.cardLayout&&k.A.mobile&&"none"!==e.cardFooterAside},Gt=function(e){var t=e.logoUrl;return(0,l.jsx)(s.A,{className:"cardFooterLogo",children:(0,l.jsx)(Ut,{imgUrl:t,containImage:!0})})},qt=function(e){var t=e.item,r=e.cardOptions,n=e.forceName,i=e.imgUrl,a=e.footerClass,o=e.overlayText,u=e.progressBar,c=e.logoUrl,d=e.isOuterFooter,m=kt({item:t.ProgramInfo||t,cardOptions:r,forceName:n,imgUrl:i,overlayText:o,isOuterFooter:d,cssClass:r.centerText?"cardText cardTextCentered":"cardText",forceLines:!r.overlayText,maxLines:r.lines}).cardTextLines;return(0,l.jsxs)(s.A,{className:a,children:[c&&(0,l.jsx)(Gt,{logoUrl:c}),Ht(r,d)&&(0,l.jsx)(it,{className:"itemAction btnCardOptions"}),m,u]})},Wt=function(e){var t=e.item,r=e.cardOptions,n=e.overlayText,i=e.imgUrl,a=e.forceName,o=function(e,t,r){var n,i,a;return r.showChannelLogo&&e.ChannelPrimaryImageTag?(n=m.y.Primary,i=e.ChannelPrimaryImageTag,a=e.ChannelId):r.showLogo&&e.ParentLogoImageTag&&(n=m.y.Logo,i=e.ParentLogoImageTag,a=e.ParentLogoItemId),a||(a=e.Id),t&&i&&n&&a?{logoUrl:(0,We.C)(t).getItemImageUrlById(a,n,{height:40,tag:i})}:{logoUrl:void 0}}(t,(0,d.gf)().api,r),s=o.logoUrl,u=fe()("cardFooter",{"cardFooter-transparent":r.cardLayout},{"cardFooter-withlogo":s});return(0,l.jsx)(qt,{item:t,cardOptions:r,forceName:a,overlayText:n,imgUrl:i,footerClass:u,progressBar:void 0,logoUrl:s,isOuterFooter:!0})},zt=r(10822),Yt=r(73564),Kt=r(14871),Qt=r(83488),_t=r(31779),Xt=r(82225),Jt=r(98646),Zt=r(68849),$t=function(e){var t=e.pct,r=e.dataAutoMode,n=e.isRecording,i=e.starTtime,a=e.endTtime,o=e.progressOptions,s=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}((0,u.useState)(t),2),c=s[0],d=s[1],m=(0,u.useRef)(null),v=(0,u.useCallback)((function(){var e=parseInt(i.toString(),10),t=parseInt(a.toString(),10),r=((new Date).getTime()-e)/(t-e)*100;r=Math.min(100,r),r=Math.max(0,r),d(r)}),[a,i]);(0,u.useEffect)((function(){return m.current&&clearInterval(m.current),"time"===r&&(m.current=setInterval(v,6e4)),function(){m.current&&(clearInterval(m.current),m.current=null)}}),[r,v]);var f=fe()("itemLinearProgress",null==o?void 0:o.containerClass);return(0,l.jsx)(zt.A,{className:f,variant:"determinate",value:c,sx:function(e){var t;return(t={})["& .".concat(Yt.A.bar)]={borderRadius:5,backgroundColor:n?e.vars.palette.error.main:e.vars.palette.primary.main},t}})},er=r(86084),tr=r(68304),rr=function(){return rr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},rr.apply(this,arguments)},nr=rr(rr({},er.k),tr.m),ir={Video:(0,l.jsx)(_t.A,{className:"indicatorIcon"}),Folder:(0,l.jsx)(Xt.A,{className:"indicatorIcon"}),PhotoAlbum:(0,l.jsx)(Jt.A,{className:"indicatorIcon"}),Photo:(0,l.jsx)(Zt.A,{className:"indicatorIcon"})},ar=function(e){return e>=100?"99+":e.toString()},or=function(e){var t=function(e,t){var r,n=fe()("itemLinearProgress",null==t?void 0:t.containerClass);return(0,l.jsx)(zt.A,{className:n,variant:"determinate",value:e,sx:(r={},r["& .".concat(Yt.A.bar)]={borderRadius:5,backgroundColor:"#00a4dc"},r)})};return{getProgress:t,getProgressBar:function(r){var n,i,a;if(a=e.Type,(e.MediaType===qe&&a!==J.u.TvChannel||a===J.u.AudioBook)&&e.Type!==J.u.Recording){var o=(null===(n=null==r?void 0:r.userData)||void 0===n?void 0:n.PlayedPercentage)?r.userData.PlayedPercentage:null===(i=null==e?void 0:e.UserData)||void 0===i?void 0:i.PlayedPercentage;if(o&&o<100)return t(o)}if(function(e,t,r){return(e===J.u.Program||e===J.u.Timer||e===J.u.Recording)&&Boolean(t)&&Boolean(r)}(e.Type,e.StartDate,e.EndDate)){var s=0,u=1;try{s=N.Ay.parseISO8601Date(e.StartDate).getTime(),u=N.Ay.parseISO8601Date(e.EndDate).getTime()}catch(e){console.error(e)}var c=((new Date).getTime()-s)/(u-s)*100;if(c>0&&c<100){var d=e.Type===J.u.Timer||e.Type===J.u.Recording||Boolean(e.TimerId);return(0,l.jsx)($t,{pct:c,progressOptions:r,isRecording:d,starTtime:s,endTtime:u,dataAutoMode:"time"})}}return null},getMediaSourceIndicator:function(){var t,r=null!==(t=e.MediaSourceCount)&&void 0!==t?t:0;return r>1?(0,l.jsx)(s.A,{className:"mediaSourceIndicator",children:r}):null},getMissingIndicator:function(){if(e.Type===J.u.Episode&&e.LocationType===Ze.i.Virtual){if(e.PremiereDate)try{if(N.Ay.parseISO8601Date(e.PremiereDate).getTime()>(new Date).getTime())return(0,l.jsx)(s.A,{className:"unairedIndicator",children:"Unaired"})}catch(e){console.error(e)}return(0,l.jsx)(s.A,{className:"missingIndicator",children:"Missing"})}return null},getTimerIndicator:function(t){var r,n=fe()("timerIndicator",t);if(e.Type===J.u.SeriesTimer)return(0,l.jsx)(Kt.A,{className:n});if(e.TimerId||e.SeriesTimerId)r=e.Status||nr.Cancelled;else{if(e.Type!==J.u.Timer)return null;r=e.Status}return e.SeriesTimerId?(0,l.jsx)(Kt.A,{className:"".concat(n," ").concat(r===nr.Cancelled?"timerIndicator-inactive":"")}):(0,l.jsx)(Qt.A,{className:n})},getTypeIndicator:function(){var t,r=(t=e.Type,ir[t]);return r?(0,l.jsx)(s.A,{className:"indicator videoIndicator",children:r}):null},getChildCountIndicator:function(){var t,r=null!==(t=e.ChildCount)&&void 0!==t?t:0;return r>1?(0,l.jsx)(s.A,{className:"countIndicator indicator childCountIndicator",children:ar(r)}):null},getPlayedIndicator:function(){if(function(e){return lt.Ay.canMarkPlayed(e)}(e)){var t=e.UserData;if(null==t?void 0:t.UnplayedItemCount)return(0,l.jsx)(s.A,{className:"countIndicator indicator unplayedItemCount",children:ar(t.UnplayedItemCount)});if((null==t?void 0:t.PlayedPercentage)&&(null==t?void 0:t.PlayedPercentage)>=100||(null==t?void 0:t.Played))return(0,l.jsx)(s.A,{className:"playedIndicator indicator",children:(0,l.jsx)(st.A,{className:"indicatorIcon"})})}return null}}},lr=r(54954),sr=r(58953),ur=function(){return ur=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ur.apply(this,arguments)},cr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o};function dr(e){return(0,l.jsxs)(s.A,{sx:{position:"relative",display:"inline-flex"},children:[(0,l.jsx)(lr.A,ur({variant:"determinate"},e)),(0,l.jsx)(s.A,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,l.jsx)(ue.A,{variant:"caption",component:"div",color:"text.secondary",children:(0,sr.a4)(e.value/100,(0,R.jE)())})})]})}var mr=function(e){var t=e.item,r=e.className,n=cr((0,u.useState)(!!t.RefreshProgress),2),i=n[0],a=n[1],o=cr((0,u.useState)(t.RefreshProgress||0),2),s=o[0],c=o[1],d=(0,u.useCallback)((function(e,r,n){if(n.ItemId===(null==t?void 0:t.Id)){var i=parseFloat(n.Progress);a(!!(i&&i<100)),c(i)}}),[null==t?void 0:t.Id]),m=(0,u.useCallback)((function(){ge.A.off(Ie.default,"RefreshProgress",d)}),[d]),v=(0,u.useCallback)((function(){m(),(null==t?void 0:t.Id)&&ge.A.on(Ie.default,"RefreshProgress",d)}),[null==t?void 0:t.Id,d,m]);(0,u.useEffect)((function(){return v(),function(){m()}}),[v,t.Id,m]);var f=fe()("progressring",r);return i?(0,l.jsx)("div",{className:f,children:(0,l.jsx)(dr,{value:Math.floor(s)})}):null},vr=r(44185),fr=r(32203),pr=function(e){var t=e.item,r=(0,ze.hn)(t.Type)?t.Name:lt.Ay.getDisplayName(t);return(0,l.jsx)(s.A,{className:"cardText cardDefaultText",children:r})},yr=function(e){var t,r=e.item,n=e.defaultCardImageIcon;return(r.Type===W.D.CollectionFolder||r.CollectionType)&&(t=(0,fr.Jd)(r.CollectionType)),t||(t=(0,fr.Bq)(r.Type,n)),t?(0,l.jsx)(vr.A,{className:"cardImageIcon",sx:{color:"inherit",fontSize:"5em"},"aria-hidden":"true",children:t}):(0,l.jsx)(pr,{item:r})},hr=function(e){var t=e.item,r=e.imgUrl,n=e.blurhash,i=e.imageType,a=e.defaultCardImageIcon;return r?(0,l.jsx)(Ut,{imgUrl:r,blurhash:n,containImage:t.Type===W.D.TvChannel||i===m.y.Logo}):(0,l.jsx)(yr,{item:t,defaultCardImageIcon:a})},gr=function(e){var t=e.item,r=e.cardOptions,n=e.imgUrl,i=e.overlayText,a=e.progressBar,o=e.forceName,s=fe()("innerCardFooter",{fullInnerCardFooter:a});return(0,l.jsx)(qt,{item:t,cardOptions:r,forceName:o,overlayText:i,imgUrl:n,footerClass:s,progressBar:a,isOuterFooter:!1})},Ir=function(e){var t=e.item,r=e.cardOptions,n=e.coveredImage,i=e.overlayText,a=e.imgUrl,o=e.blurhash,u=e.forceName,c=or(t),d=fe()("cardImageContainer",{coveredImage:n},{"coveredImage-contain":n&&t.Type===J.u.TvChannel});return(0,l.jsxs)("div",{className:d,children:[!0!==r.disableIndicators&&(0,l.jsxs)(s.A,{className:"indicators",children:[c.getMediaSourceIndicator(),(0,l.jsxs)(s.A,{className:"cardIndicators",children:[!1!==r.missingIndicator&&c.getMissingIndicator(),c.getTimerIndicator(),c.getTypeIndicator(),r.showGroupCount?c.getChildCountIndicator():c.getPlayedIndicator(),(t.Type===J.u.CollectionFolder||t.CollectionType)&&(0,l.jsx)(mr,{item:t})]})]}),(0,l.jsx)(hr,{item:t,imgUrl:a,blurhash:o,imageType:r.imageType}),i&&(0,l.jsx)(gr,{item:t,cardOptions:r,forceName:u,overlayText:i,imgUrl:a,progressBar:c.getProgressBar()}),!i&&c.getProgressBar()]})},br=function(e){var t,r=e.item,n=e.cardOptions,i=e.coveredImage,a=e.overlayText,o=e.imgUrl,s=e.blurhash,u=e.forceName,c=fe()("cardContent",((t={})[(0,ze.Qp)(r.Name)]=!o,t));return(0,l.jsx)("div",{className:c,children:(0,l.jsx)(Ir,{item:r,cardOptions:n,coveredImage:i,overlayText:a,imgUrl:o,blurhash:s,forceName:u})})},Ar=function(e){var t=e.action,r=e.item,n=e.cardOptions,i=e.className,a=e.shape,o=e.imgUrl,s=e.blurhash,u=e.forceName,c=e.coveredImage,d=e.overlayText;return(0,l.jsxs)("div",{className:i,children:[(0,l.jsxs)("div",{className:"cardScalable",children:[(0,l.jsx)("div",{className:"cardPadder cardPadder-".concat(a)}),(0,l.jsx)(br,{item:r,cardOptions:n,coveredImage:c,overlayText:d,imgUrl:o,blurhash:s,forceName:u}),k.A.mobile&&(0,l.jsx)(ot,{item:r,cardOptions:n}),k.A.desktop&&!n.disableHoverMenu&&(0,l.jsx)(yt,{action:t,item:r,cardOptions:n})]}),!d&&(0,l.jsx)(Wt,{item:r,cardOptions:n,forceName:u,overlayText:d,imgUrl:o})]})},Tr=function(){return Tr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Tr.apply(this,arguments)},xr=function(e){var t=function(e){var t,r,n,i,a,o,l,s,u,c=e.item,d=e.cardOptions,m=(0,ze.n5)({defaultAction:null!==(r=d.action)&&void 0!==r?r:z.s.Link,isFolder:null!==(n=c.IsFolder)&&void 0!==n&&n,isPhoto:c.MediaType===Ge}),v=d.shape;v===K.G8.Mixed&&(v=(0,ze.Tj)(c.PrimaryImageAspectRatio));var f=_e({item:null!==(i=c.ProgramInfo)&&void 0!==i?i:c,cardOptions:d,shape:v}),p=f.imgUrl,y=null!==(a=f.blurhash)&&void 0!==a?a:void 0,h=f.forceName,g=null!==(o=d.coverImage)&&void 0!==o?o:f.coverImage,I=d.overlayText,b=null!==(s=null!==(l=c.SortName)&&void 0!==l?l:c.Name)&&void 0!==s?s:"",A=b.substring(0,Math.min(3,b.length));A&&(A=A.toUpperCase());var T=q({action:m,itemServerId:null!==(u=c.ServerId)&&void 0!==u?u:d.serverId,context:d.context,parentId:d.parentId,collectionId:d.collectionId,playlistId:d.playlistId,itemId:c.Id,itemTimerId:c.TimerId,itemSeriesTimerId:c.SeriesTimerId,itemChannelId:c.ChannelId,itemType:c.Type,itemMediaType:c.MediaType,itemCollectionType:c.CollectionType,itemIsFolder:c.IsFolder,itemPath:c.Path,itemStartDate:c.StartDate,itemEndDate:c.EndDate,itemUserData:c.UserData,prefix:A}),x=fe()("card",((t={})["".concat(v,"Card")]=v,t),d.cardCssClass,d.cardClass,{"card-hoverable":k.A.desktop},{groupedCard:d.showChildCountIndicator&&c.ChildCount},{"card-withuserdata":c.Type!==J.u.MusicAlbum&&c.Type!==J.u.MusicArtist&&c.Type!==J.u.Audio},{itemAction:k.A.tv}),S=fe()("cardBox",{visualCardBox:d.cardLayout},{"cardBox-bottompadded":!d.cardLayout});return{getCardWrapperProps:function(){return{className:x,dataAttributes:T}},getCardBoxProps:function(){return{action:m,item:c,cardOptions:d,className:S,shape:v,imgUrl:p,blurhash:y,forceName:h,coveredImage:g,overlayText:I}}}}({item:e.item,cardOptions:e.cardOptions}),r=t.getCardWrapperProps,n=t.getCardBoxProps,i=r(),a=n();return(0,l.jsx)(Je,Tr({},i,{children:(0,l.jsx)(Ar,Tr({},a))}))},Sr=function(e){var t=e.items,r=e.cardOptions;return(0,He.setCardData)(t,r),(0,l.jsx)(l.Fragment,{children:t.map((function(e){return(0,l.jsx)(xr,{item:e,cardOptions:r},e.Id)}))})},wr=r(12384);function Pr(e){return Boolean(e&&e>0)}var Cr=function(e){var t=e.index,r=e.children;return 0===t?(0,l.jsx)(ue.A,{className:"listGroupHeader listGroupHeader-first",variant:"h2",children:r}):(0,l.jsx)(ue.A,{className:"listGroupHeader",variant:"h2",children:r})},jr=r(34377);var Or,Dr=function(e){var t=e.item,r=e.showYearInfo,n=void 0!==r&&r,i=e.showAudioContainerInfo,a=void 0!==i&&i,o=e.showEpisodeTitleInfo,l=void 0!==o&&o,s=e.showOriginalAirDateInfo,u=void 0!==s&&s,c=e.showFolderRuntimeInfo,d=void 0!==c&&c,m=e.showRuntimeInfo,v=void 0!==m&&m,f=e.showItemCountInfo,p=void 0!==f&&f,y=e.showSeriesTimerInfo,h=void 0!==y&&y,g=e.showStartDateInfo,I=void 0!==g&&g,b=e.showProgramIndicatorInfo,A=void 0!==b&&b,T=e.includeEpisodeTitleIndexNumber,x=void 0!==T&&T,S=e.showOfficialRatingInfo,w=void 0!==S&&S,P=e.showVideo3DFormatInfo,C=void 0!==P&&P,j=e.showPhotoSizeInfo,O=void 0!==j&&j,D=t.EndDate,k=t.Status,L=t.StartDate,F=t.ProductionYear,M=t.Video3DFormat,E=t.Type,V=t.Width,U=t.Height,H=t.MediaType,G=t.SongCount,q=t.RecordAnyTime,W=t.RecordAnyChannel,z=t.ChannelName,Y=t.ChildCount,K=t.RunTimeTicks,Q=t.PremiereDate,_=t.OfficialRating,X=t.Container,Z=[],$=function(e){e&&Z.push(e)},ee=function(e,t,r){return e&&(t===J.u.MusicAlbum||"MusicArtist"===r||t===J.u.Playlist||"Playlist"===r||"MusicGenre"===r)}(d,E,H);return function(e,t,r,n,i,a,o){if(e)(l=r||n)&&o({text:R.Ay.translate("TrackCount",l)}),i&&o({text:N.Ay.getDisplayDuration(i)});else if(t&&(a===J.u.PhotoAlbum||a===J.u.BoxSet)){var l;(l=n)&&o({text:R.Ay.translate("ItemCount",l)})}}(ee,p,G,Y,K,E,$),function(e,t,r,n,i){if(e&&(t===J.u.Episode||r===Ge)&&n)try{var a=N.Ay.parseISO8601Date(n,t!==J.u.Episode);i({text:N.Ay.toLocaleDateString(a)})}catch(e){console.error("error parsing date:",n)}}(u,E,H,Q,$),function(e,t,r,n,i,a,o){e&&t===J.u.SeriesTimer&&(o(r?{text:R.Ay.translate("Anytime")}:{text:N.Ay.getDisplayTime(n)}),o(i?{text:R.Ay.translate("AllChannels")}:{text:a||R.Ay.translate("OneChannel")}))}(h,E,q,L,W,z,$),function(e,t,r,n){if(e&&t&&r!==J.u.Program&&r!==J.u.SeriesTimer&&r!==J.u.Timer)try{var i=N.Ay.parseISO8601Date(t);n({text:N.Ay.toLocaleDateString(i)}),r!==J.u.Recording&&n({text:N.Ay.getDisplayTime(i)})}catch(e){console.error("error parsing date:",t)}}(I,L,E,$),function(e,t,r,n,i,a){e&&t&&r===J.u.Series&&(n===nr.Continuing?a({text:R.Ay.translate("SeriesYearToPresent",N.Ay.toLocaleString(t,{useGrouping:!1}))}):function(e,t,r){var n=N.Ay.toLocaleString(e,{useGrouping:!1});if(t)try{var i=N.Ay.toLocaleString(N.Ay.parseISO8601Date(t).getFullYear(),{useGrouping:!1});i!==e&&(n+="-".concat(i))}catch(e){console.error("error parsing date:",t)}r({text:n})}(t,i,a))}(n,F,E,k,D,$),function(e,t,r,n,i,a,o){if(a.Type===J.u.Program||a.Type===J.u.Timer){var l=a;a.Type===J.u.Timer&&a.ProgramInfo&&(l=a.ProgramInfo),n&&function(e,t){(null==e?void 0:e.IsLive)&&"true"===B.get("guide-indicator-live")?t({text:R.Ay.translate("Live"),cssClass:"mediaInfoProgramAttribute liveTvProgram"}):(null==e?void 0:e.IsPremiere)&&"true"===B.get("guide-indicator-premiere")?t({text:R.Ay.translate("Premiere"),cssClass:"mediaInfoProgramAttribute premiereTvProgram"}):(null==e?void 0:e.IsSeries)&&!(null==e?void 0:e.IsRepeat)&&"true"===B.get("guide-indicator-new")?t({text:R.Ay.translate("New"),cssClass:"mediaInfoProgramAttribute newTvProgram"}):(null==e?void 0:e.IsSeries)&&(null==e?void 0:e.IsRepeat)&&"true"===B.get("guide-indicator-repeat")&&t({text:R.Ay.translate("Repeat"),cssClass:"mediaInfoProgramAttribute repeatTvProgram"})}(l,o),function(e,t,r,n,i,a){if(e&&(i.IsSeries||i.EpisodeTitle))(o=lt.Ay.getDisplayName(i,{includeIndexNumber:t}))&&a({text:o});else if((r&&i.IsMovie||n)&&i.ProductionYear)a({text:i.ProductionYear});else if(r&&i.PremiereDate)try{var o,l=N.Ay.parseISO8601Date(i.PremiereDate);a({text:o=R.Ay.translate("OriginalAirDateValue",N.Ay.toLocaleDateString(l))})}catch(e){console.error("error parsing date:",i.PremiereDate)}}(t,i,r,e,l,o)}}(A,l,x,u,n,t,$),function(e,t,r,n,i,a){if(e&&t!==J.u.Series&&t!==J.u.Episode&&t!==J.u.Person&&r!==Ge&&t!==J.u.Program&&t!==J.u.Season)if(n)a({text:n});else if(i)try{a({text:N.Ay.toLocaleString(N.Ay.parseISO8601Date(i).getFullYear(),{useGrouping:!1})})}catch(e){console.error("error parsing date:",i)}}(n,E,H,F,Q,$),function(e,t,r,n,i){!e&&t&&r&&n!==J.u.Series&&n!==J.u.Program&&n!==J.u.Timer&&n!==J.u.Book&&(n===J.u.Audio?i({text:N.Ay.getDisplayRunningTime(r)}):i({text:N.Ay.getDisplayDuration(r)}))}(ee,v,K,E,$),function(e,t,r,n){e&&t&&r!==J.u.Season&&r!==J.u.Episode&&n({text:t,cssClass:"mediaInfoText mediaInfoOfficialRating"})}(w,_,E,$),function(e,t,r){e&&t&&r({text:"3D"})}(C,M,$),function(e,t,r,n,i){e&&t===Ge&&r&&n&&i({text:"".concat(r,"x").concat(n)})}(O,H,V,U,$),function(e,t,r,n){e&&t&&r===J.u.Audio&&n({text:t})}(a,X,E,$),Z},Nr=function(e){var t=e.className,r=e.miscInfo,n=r.text,i=r.textAction,a=r.cssClass,o=r.type;return(0,l.jsx)(s.A,{className:fe()("mediaInfoItem",a,o,t),children:i?(0,l.jsx)(de.A,{className:fe()(i.cssClass,t),href:i.url,title:i.title,color:"inherit",children:i.title}):n})},Rr=r(86865),Br=function(e){var t=e.className,r=e.communityRating,n=fe()("mediaInfoItem","starRatingContainer",t);return(0,l.jsxs)(s.A,{className:n,children:[(0,l.jsx)(Rr.A,{fontSize:"small",sx:function(e){return{color:e.vars.palette.starIcon.main}}}),r.toFixed(1)]})},kr=r(24411),Lr=function(e){var t=e.className,r=fe()("mediaInfoItem","closedCaptionMediaInfoText",t);return(0,l.jsx)(s.A,{className:r,children:(0,l.jsx)(kr.A,{})})},Fr=function(e){var t=e.className,r=e.criticRating,n=fe()("mediaInfoCriticRating","mediaInfoItem",r>=60?"mediaInfoCriticRatingFresh":"mediaInfoCriticRatingRotten",t);return(0,l.jsx)(s.A,{className:n,children:r})},Mr=r(82180),Er=function(e){var t=e.runTimeTicks,r=e.positionTicks,n=e.className,i=fe()("mediaInfoItem","endsAt",n),a=Mr.Ay.getEndsAtFromPosition(t,r,1,!0);return(0,l.jsx)(s.A,{className:i,children:a})},Vr=function(e){var t=e.className,r=e.infoclass,n=e.item,i=e.showYearInfo,a=e.showAudioContainerInfo,o=e.showEpisodeTitleInfo,u=e.showOriginalAirDateInfo,c=e.showFolderRuntimeInfo,d=e.showRuntimeInfo,m=e.showItemCountInfo,v=e.showSeriesTimerInfo,f=e.showStartDateInfo,p=e.showProgramIndicatorInfo,y=e.includeEpisodeTitleIndexNumber,h=e.showOfficialRatingInfo,g=e.showVideo3DFormatInfo,I=e.showPhotoSizeInfo,b=e.showStarRatingInfo,A=void 0!==b&&b,T=e.showCaptionIndicatorInfo,x=void 0!==T&&T,S=e.showCriticRatingInfo,w=void 0!==S&&S,P=e.showEndsAtInfo,C=void 0!==P&&P,j=e.getMissingIndicator,O=Dr({item:n,showYearInfo:i,showAudioContainerInfo:a,showEpisodeTitleInfo:o,showOriginalAirDateInfo:u,showFolderRuntimeInfo:c,showRuntimeInfo:d,showItemCountInfo:m,showSeriesTimerInfo:v,showStartDateInfo:f,showProgramIndicatorInfo:p,includeEpisodeTitleIndexNumber:y,showOfficialRatingInfo:h,showVideo3DFormatInfo:g,showPhotoSizeInfo:I}),D=n.StartDate,N=n.HasSubtitles,R=n.MediaType,B=n.RunTimeTicks,k=n.PlaybackPositionTicks,L=n.CommunityRating,F=n.CriticRating,M=fe()(t);return(0,l.jsxs)(s.A,{className:M,children:[O.map((function(e,t){return function(e,t){return(0,l.jsx)(Nr,{className:r,miscInfo:e},t)}(e,t)})),A&&L&&(0,l.jsx)(Br,{className:r,communityRating:L}),x&&N&&(0,l.jsx)(Lr,{className:r}),w&&F&&(0,l.jsx)(Fr,{className:r,criticRating:F}),C&&R===qe&&B&&!D&&(0,l.jsx)(Er,{className:r,runTimeTicks:B,positionTicks:k}),null==j?void 0:j()]})},Ur=function(e){var t=e.itemOverview,r=e.enableContentWrapper,n=e.enableOverview,i=e.children;return r?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"listItem-content",children:i}),n&&t&&(0,l.jsx)(s.A,{className:"listItem-bottomoverview secondary",children:(0,l.jsx)("bdi",{children:t})})]}):(0,l.jsx)(l.Fragment,{children:i})},Hr=function(e){var t=e.isHeading,r=e.isLargeStyle,n=e.className,i=e.children;return t?(0,l.jsx)(ue.A,{className:fe()("primary",n),variant:r?"h1":"h3",children:i}):(0,l.jsx)(s.A,{className:fe()("secondary",n),children:i})},Gr=function(e){var t=e.item,r=e.textLineOpts,n=e.isLargeStyle,i=e.className,a=e.textClassName,o=function(e){var t=e.item,r=e.textLineOpts,n=void 0===r?{}:r,i=n.showTitle,a=n.showProgramDateTime,o=n.showProgramTime,l=n.showChannel,s=n.showParentTitle,u=n.showIndexNumber,c=n.parentTitleWithTitle,d=n.showArtist,m=n.showCurrentProgram,v=n.includeParentInfoInTitle,f=n.includeIndexNumber,p=[],y=function(e){e&&p.push(e)},h=function(e,t,r,n){var i=lt.Ay.getDisplayName(e,{includeParentInfo:r,includeIndexNumber:n});return t&&null!=e.IndexNumber&&(i="".concat(e.IndexNumber,". ").concat(i)),i}(t,u,v,f),g=function(e,t,r,n){var i;return t&&(e.Type===J.u.Season||e.Type===J.u.Episode?i=e.SeriesName:(e.IsSeries||e.EpisodeTitle&&e.Name)&&(i=e.Name)),t&&r&&(n&&i&&(i+=" - "),i=(null!=i?i:"")+n),i}(t,s,c,h);return function(){if(a){var e=N.Ay.toLocaleString(N.Ay.parseISO8601Date(t.StartDate),{weekday:"long",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"});y({title:e})}}(),function(){if(o){var e=N.Ay.getDisplayTime(N.Ay.parseISO8601Date(t.StartDate));y({title:e})}}(),l&&t.ChannelName&&y({title:t.ChannelName}),g&&y({title:g}),h&&!c&&!1!==i&&y({title:h}),function(){if(t.IsFolder&&!1!==d)t.AlbumArtist&&t.Type===J.u.MusicAlbum&&y({title:t.AlbumArtist});else if(d){var e=t.ArtistItems;if(e&&t.Type!==J.u.MusicAlbum){var r=e.map((function(e){return e.Name})).join(", ");y({title:r})}}}(),function(){if(t.Type===J.u.TvChannel&&t.CurrentProgram&&!1!==m){var e=lt.Ay.getDisplayName(t.CurrentProgram,{includeParentInfo:v,includeIndexNumber:f});y({title:e})}}(),{textLines:p}}({item:t,textLineOpts:r}).textLines;return(0,l.jsx)(s.A,{className:i,children:null==o?void 0:o.map((function(e,t){return function(e,t){return(0,l.jsx)(Hr,{isHeading:0===t,isLargeStyle:n,className:a,children:(0,l.jsx)("bdi",{children:e.title})},t)}(e,t)}))})},qr=function(e){var t=e.item,r=e.listOptions,n=void 0===r?{}:r,i=e.action,a=e.isLargeStyle,o=e.clickEntireItem,u=e.enableContentWrapper,c=e.enableOverview,d=e.enableSideMediaInfo,m=e.getMissingIndicator,v=fe()("listItemBody",{itemAction:!o},{"listItemBody-noleftpadding":!1===n.image});return(0,l.jsxs)(s.A,{"data-action":i,className:v,children:[(0,l.jsx)(Gr,{item:t,textClassName:"listItemBodyText",textLineOpts:{showProgramDateTime:n.showProgramDateTime,showProgramTime:n.showProgramTime,showChannel:n.showChannel,showParentTitle:n.showParentTitle,showIndexNumber:n.showIndexNumber,parentTitleWithTitle:n.parentTitleWithTitle,showArtist:n.showArtist,includeParentInfoInTitle:n.includeParentInfoInTitle,includeIndexNumber:n.includeIndexNumber,showCurrentProgram:n.showCurrentProgram},isLargeStyle:a}),!1!==n.showMediaInfo&&!d&&(0,l.jsx)(Vr,{className:"secondary listItemMediaInfo listItemBodyText",infoclass:"mediaInfoText",item:t,showEpisodeTitleInfo:!0,showOriginalAirDateInfo:!0,showCaptionIndicatorInfo:!0,getMissingIndicator:m}),!u&&c&&t.Overview&&(0,l.jsx)(s.A,{className:"secondary listItem-overview listItemBodyText",children:(0,l.jsx)("bdi",{children:t.Overview})})]})},Wr=function(e){var t,r,n=e.item,i=e.listOptions,a=e.action,o=e.isLargeStyle,u=e.clickEntireItem,c=e.downloadWidth,v=(0,d.gf)().api,f=or(n),p=f.getMediaSourceIndicator,y=f.getProgressBar,h=f.getPlayedIndicator,g="channel"===i.imageSource?function(e,t,r){var n,i,a,o,l=r,s=r;return e.ChannelId&&e.ChannelPrimaryImageTag&&(a=e.ChannelPrimaryImageTag,o=e.ChannelId),t&&a&&o?{imgUrl:(0,We.C)(t).getItemImageUrlById(o,m.y.Primary,{fillWidth:l,fillHeight:s,tag:a}),blurhash:null===(i=null===(n=e.ImageBlurHashes)||void 0===n?void 0:n[m.y.Primary])||void 0===i?void 0:i[a]}:{imgUrl:void 0,blurhash:void 0}}(n,v,c):function(e,t,r){var n,i,a,o,l,s=r,u=r,c=m.y.Primary;return(null===(n=e.ImageTags)||void 0===n?void 0:n.Primary)?(o=e.ImageTags.Primary,l=e.Id):e.AlbumId&&e.AlbumPrimaryImageTag?(o=e.AlbumPrimaryImageTag,l=e.AlbumId):e.SeriesId&&e.SeriesPrimaryImageTag?(o=e.SeriesPrimaryImageTag,l=e.SeriesId):e.ParentPrimaryImageTag&&(o=e.ParentPrimaryImageTag,l=e.ParentPrimaryImageItemId),t&&o&&c&&l?{imgUrl:(0,We.C)(t).getItemImageUrlById(l,c,{fillWidth:s,fillHeight:u,tag:o}),blurhash:null===(a=null===(i=e.ImageBlurHashes)||void 0===i?void 0:i[c])||void 0===a?void 0:a[o]}:{imgUrl:void 0,blurhash:void 0}}(n,v,c),I=i.defaultCardImageIcon,b=i.disableIndicators,A=null==g?void 0:g.imgUrl,T=g.blurhash,x=fe()("listItemImage",{"listItemImage-large":o},{"listItemImage-channel":"channel"===i.imageSource},{"listItemImage-large-tv":o&&k.A.tv},{itemAction:!u},((t={})[(0,ze.Qp)(n.Name)]=!A,t)),S=i.imagePlayButton&&!k.A.tv,w=S?z.s.Link:a,P=p(),C=h(),j=y(),O=null===(r=null==n?void 0:n.UserData)||void 0===r?void 0:r.PlaybackPositionTicks;return(0,l.jsxs)(s.A,{"data-action":w,className:x,children:[(0,l.jsx)(hr,{item:n,imgUrl:A,blurhash:null!=T?T:void 0,defaultCardImageIcon:I}),!0!==b&&P,C&&(0,l.jsx)(s.A,{className:"indicators listItemIndicators",children:C}),S&&(0,l.jsx)(rt,{className:"paper-icon-button-light listItemImageButton itemAction",action:Pr(O)?z.s.Resume:z.s.Play,title:Pr(O)?"ButtonResume":"Play"}),j]})},zr=r(54624),Yr=function(e){var t=e.className;return(0,l.jsx)(et.A,{className:t,"data-action":z.s.AddToPlaylist,title:R.Ay.translate("AddToPlaylist"),children:(0,l.jsx)(zr.A,{})})},Kr=r(37745),Qr=function(e){var t=e.className;return(0,l.jsx)(et.A,{className:t,"data-action":z.s.Link,title:R.Ay.translate("ButtonInfo"),children:(0,l.jsx)(Kr.A,{})})},_r=function(e){var t=e.className,r=e.id,n=e.title,i=e.icon;return(0,l.jsx)(et.A,{className:t,"data-action":z.s.Custom,"data-customaction":r,title:n,children:i})},Xr=function(e){var t,r=e.item,n=void 0===r?{}:r,i=e.listOptions,a=null!==(t=n.UserData)&&void 0!==t?t:{},o=a.IsFavorite,u=a.Played;return(0,l.jsxs)(s.A,{className:"listViewUserDataButtons",children:[i.addToListButton&&(0,l.jsx)(Yr,{className:"paper-icon-button-light listItemButton itemAction"}),i.infoButton&&(0,l.jsx)(Qr,{className:"paper-icon-button-light listItemButton itemAction"}),i.rightButtons&&function(){var e;return null===(e=i.rightButtons)||void 0===e?void 0:e.map((function(e,t){return(0,l.jsx)(_r,{className:"listItemButton itemAction",id:e.id,title:e.title,icon:e.icon},t)}))}(),!1!==i.enableUserDataButtons&&(0,l.jsxs)(l.Fragment,{children:[lt.Ay.canMarkPlayed(n)&&!1!==i.enablePlayedButton&&(0,l.jsx)(dt,{className:"listItemButton",isPlayed:u,itemId:n.Id,itemType:n.Type}),lt.Ay.canRate(n)&&!1!==i.enableRatingButton&&(0,l.jsx)(pt,{className:"listItemButton",isFavorite:o,itemId:n.Id})]}),!1!==i.moreButton&&(0,l.jsx)(it,{className:"paper-icon-button-light listItemButton itemAction"})]})},Jr=function(e){var t,r=e.item,n=e.listOptions,i=e.enableContentWrapper,a=e.enableOverview,o=e.enableSideMediaInfo,u=e.clickEntireItem,c=e.action,d=e.isLargeStyle,m=e.downloadWidth,v=or(r);return(0,l.jsxs)(Ur,{itemOverview:r.Overview,enableContentWrapper:i,enableOverview:a,children:[!u&&n.dragHandle&&(0,l.jsx)(jr.A,{className:"listViewDragHandle listItemIcon listItemIcon-transparent"}),!1!==n.image&&(0,l.jsx)(Wr,{item:r,listOptions:n,action:c,isLargeStyle:d,clickEntireItem:u,downloadWidth:m}),n.showIndexNumberLeft&&(0,l.jsx)(s.A,{className:"listItem-indexnumberleft",children:null!==(t=r.IndexNumber)&&void 0!==t?t:(0,l.jsx)("span",{children:" "})}),(0,l.jsx)(qr,{item:r,listOptions:n,action:c,enableContentWrapper:i,enableOverview:a,enableSideMediaInfo:o,getMissingIndicator:v.getMissingIndicator}),!1!==n.showMediaInfo&&o&&(0,l.jsx)(Vr,{className:"secondary listItemMediaInfo",infoclass:"mediaInfoText",item:r,showRuntimeInfo:!0,showOfficialRatingInfo:!0,showOriginalAirDateInfo:!0,showStarRatingInfo:!0,showCaptionIndicatorInfo:!0,getMissingIndicator:v.getMissingIndicator}),n.recordButton&&("Timer"===r.Type||r.Type===W.D.Program)&&v.getTimerIndicator("listItemAside"),!u&&(0,l.jsx)(Xr,{item:r,listOptions:n})]})},Zr=r(63703),$r=function(){return $r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},$r.apply(this,arguments)},en=function(e){var t=e.index,r=e.action,n=e.title,i=e.className,a=e.dataAttributes,o=e.children;return k.A.tv?(0,l.jsx)(Zr.A,$r({"data-index":t,className:fe()(i,"itemAction listItem-button listItem-focusscale"),"data-action":r,"aria-label":n||""},a,{children:o})):(0,l.jsx)(s.A,$r({"data-index":t,className:i},a,{children:o}))},tn=function(){return tn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},tn.apply(this,arguments)},rn=function(e){var t=e.index,r=e.item,n=e.listOptions,i=function(e){var t,r,n,i=e.item,a=e.listOptions,o=null!==(t=a.action)&&void 0!==t?t:z.s.Link,l="large"===a.imageSize,s=a.enableOverview,u=!!k.A.tv,c=null===(r=a.enableSideMediaInfo)||void 0===r||r,d=a.enableOverview&&!k.A.tv,m=l?500:80,v=q({action:o,itemServerId:i.ServerId,itemId:i.Id,collectionId:a.collectionId,playlistId:a.playlistId,itemChannelId:i.ChannelId,itemType:i.Type,itemMediaType:i.MediaType,itemCollectionType:i.CollectionType,itemIsFolder:i.IsFolder,itemPlaylistItemId:i.PlaylistItemId}),f=fe()("listItem",{"listItem-border":null!==(n=a.border)&&void 0!==n?n:!1!==a.highlight&&!k.A.tv},{"itemAction listItem-button":u},{"listItem-focusscale":k.A.tv},{"listItem-largeImage":l},{"listItem-withContentWrapper":d});return{getListdWrapperProps:function(){return{className:f,title:i.Name,action:o,dataAttributes:v}},getListContentProps:function(){return{item:i,listOptions:a,enableContentWrapper:d,enableOverview:s,enableSideMediaInfo:c,clickEntireItem:u,action:o,isLargeStyle:l,downloadWidth:m}}}}({item:r,listOptions:void 0===n?{}:n}),a=i.getListdWrapperProps,o=i.getListContentProps,s=a(),u=o();return(0,l.jsx)(en,tn({index:t},s,{children:(0,l.jsx)(Jr,tn({},u))}),t)},nn=function(e){var t=e.items,r=void 0===t?[]:t,n=e.listOptions,i=void 0===n?{}:n,a=(0,wr.A)(r,(function(e){return i.showIndex?function(e,t){var r;if("disc"===t.index)return null==e.ParentIndexNumber?"":R.Ay.translate("ValueDiscNumber",e.ParentIndexNumber);var n=(null!==(r=t.sortBy)&&void 0!==r?r:"").toLowerCase();return n.startsWith("sortname")?function(e){var t,r;if(e.Type===W.D.Episode)return"";var n=(null!==(r=null!==(t=e.SortName)&&void 0!==t?t:e.Name)&&void 0!==r?r:"?")[0].toUpperCase(),i=n.charCodeAt(0);return i<65||i>90?"#":n.toUpperCase()}(e):n.startsWith("officialrating")?function(e){var t;return null!==(t=e.OfficialRating)&&void 0!==t?t:R.Ay.translate("Unrated")}(e):n.startsWith("communityrating")?function(e){return null==e.CommunityRating?R.Ay.translate("Unrated"):String(Math.floor(e.CommunityRating))}(e):n.startsWith("criticrating")?function(e){return null==e.CriticRating?R.Ay.translate("Unrated"):String(Math.floor(e.CriticRating))}(e):n.startsWith("albumartist")?function(e){if(!e.AlbumArtist)return"";var t=e.AlbumArtist[0].toUpperCase(),r=t.charCodeAt(0);return r<65||r>90?"#":t.toUpperCase()}(e):""}(e,i):""}));return(0,l.jsx)(l.Fragment,{children:Object.entries(a).map((function(e,t){var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(e,2),n=r[0],a=r[1];return(0,l.jsxs)(s.A,{children:[n&&(0,l.jsx)(Cr,{index:t,children:n}),a.map((function(e){return function(e,t){return(0,l.jsx)(rn,{index:t,item:e,listOptions:i},"".concat(e.Id,"-").concat(t))}(e,t)}))]},t)}))})},an=function(){return an=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},an.apply(this,arguments)},on=function(e){var t=e.title,r=e.className,n=e.itemsLength,i=void 0===n?0:n,a=e.url,o=fe()("sectionTitleContainer sectionTitleContainer-cards","padded-left",r);return(0,l.jsx)(s.A,{className:o,children:a&&i>5?(0,l.jsxs)(de.A,{className:"clearLink button-flat sectionTitleTextButton",underline:"none",href:a,children:[(0,l.jsx)(ue.A,{className:"sectionTitle sectionTitle-cards",variant:"h2",children:t}),(0,l.jsx)(me.A,{sx:{pt:"5px"}})]}):(0,l.jsx)(ue.A,{className:"sectionTitle sectionTitle-cards",variant:"h2",children:t})})},ln=function(e){var t=e.className,r=e.sectionHeaderProps,n=e.scrollerProps,i=e.itemsContainerProps,a=e.isListMode,o=void 0!==a&&a,c=e.isScrollerMode,d=void 0===c||c,m=e.noPadding,v=void 0!==m&&m,f=e.items,p=void 0===f?[]:f,y=e.cardOptions,h=void 0===y?{}:y,g=e.listOptions,I=void 0===g?{}:g,b=e.children,A=fe()("verticalSection",t),T=(0,l.jsx)(Re,an({className:fe()({scrollSlider:d},null==i?void 0:i.className)},i,{children:u.isValidElement(b)?b:o&&!d?(0,l.jsx)(nn,{items:p,listOptions:I}):(0,l.jsx)(Sr,{items:p,cardOptions:h})}));return(0,l.jsxs)(s.A,{className:A,children:[(null==r?void 0:r.title)&&(0,l.jsx)(on,an({className:fe()({"no-padding":v},null==r?void 0:r.className),itemsLength:p.length},r)),d&&!o?(0,l.jsx)(Ue,an({className:fe()({"no-padding":v},null==n?void 0:n.className)},n,{children:T})):T]})},sn=function(){return sn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},sn.apply(this,arguments)},un=function(e){var t=e.parentId,r=e.sectionType,n=e.isMovieRecommendationEnabled,i=void 0!==n&&n,a=(0,d.gf)().__legacyApiClient__,o=function(e,t){var r,n=(0,d.gf)(),i=_();return(0,j.I)({queryKey:["SuggestionSectionWithItems",{suggestionSectionType:t}],queryFn:function(r){var a=r.signal;return oe(n,e,i,t,{signal:a})},enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)&&!!e})}(t,r),s=o.isLoading,u=o.data,m=function(e,t){var r,n=(0,d.gf)();return(0,j.I)({queryKey:["MovieRecommendations",e,t],queryFn:function(e){var r=e.signal;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n,i;return ee(this,(function(a){switch(a.label){case 0:return n=e.api,i=e.user,n&&(null==i?void 0:i.Id)?[4,(0,A.Y)(n).getMovieRecommendations({userId:i.Id,fields:[v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount],parentId:null!=t?t:void 0,categoryLimit:6,itemLimit:20},{signal:null==r?void 0:r.signal})]:[3,2];case 1:return[2,a.sent().data];case 2:return[2]}}))}))}(n,t,{signal:r})},enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)&&e})}(i,t),f=m.isLoading,p=m.data;if(s||f)return(0,l.jsx)(se.A,{});if(!(null==u?void 0:u.length)&&!(null==p?void 0:p.length))return(0,l.jsx)(ce,{});var y=function(e){return le.appRouter.getRouteUrl("list",{serverId:window.ApiClient.serverId(),itemTypes:e.itemTypes,parentId:t})},h=function(e){var t="";switch(e.RecommendationType){case c.A.SimilarToRecentlyPlayed:t=R.Ay.translate("RecommendationBecauseYouWatched",e.BaselineItemName);break;case c.A.SimilarToLikedItem:t=R.Ay.translate("RecommendationBecauseYouLike",e.BaselineItemName);break;case c.A.HasDirectorFromRecentlyPlayed:case c.A.HasLikedDirector:t=R.Ay.translate("RecommendationDirectedBy",e.BaselineItemName);break;case c.A.HasActorFromRecentlyPlayed:case c.A.HasLikedActor:t=R.Ay.translate("RecommendationStarring",e.BaselineItemName)}return t};return(0,l.jsxs)(l.Fragment,{children:[null==u?void 0:u.map((function(e){var t=e.section,r=e.items;return(0,l.jsx)(ln,{sectionHeaderProps:{title:R.Ay.translate(t.name),url:y(t)},itemsContainerProps:{queryKey:["SuggestionSectionWithItems"]},items:r,cardOptions:sn(sn({},t.cardOptions),{queryKey:["SuggestionSectionWithItems"],showTitle:!0,centerText:!0,cardLayout:!1,overlayText:!1,serverId:null==a?void 0:a.serverId()})},t.type)})),null==p?void 0:p.map((function(e,t){return(0,l.jsx)(ln,{sectionHeaderProps:{title:h(e)},itemsContainerProps:{queryKey:["MovieRecommendations"]},items:e.Items,cardOptions:{queryKey:["MovieRecommendations"],shape:K.G8.PortraitOverflow,showYear:!0,scalable:!0,overlayPlayButton:!0,showTitle:!0,centerText:!0,cardLayout:!1,serverId:null==a?void 0:a.serverId()}},"".concat(e.CategoryId,"-").concat(t))}))]})},cn=function(e){var t=e.parentId,r=(0,d.gf)().__legacyApiClient__,n=ne(t),i=n.isLoading,a=n.data;return i?(0,l.jsx)(se.A,{}):(null==a?void 0:a.length)?null==a?void 0:a.map((function(e){return(0,l.jsx)(ln,{sectionHeaderProps:{title:e.name},itemsContainerProps:{queryKey:["GroupsUpcomingEpisodes"]},items:e.items,cardOptions:{shape:K.G8.BackdropOverflow,showLocationTypeIndicator:!1,showParentTitle:!0,preferThumb:!0,lazy:!0,showDetailsMenu:!0,missingIndicator:!1,cardLayout:!1,queryKey:["GroupsUpcomingEpisodes"],serverId:null==r?void 0:r.serverId()}},e.name)})):(0,l.jsx)(ce,{message:"MessagePleaseEnsureInternetMetadata"})},dn=r(65369),mn=function(e){var t,r=e.parentId,n=e.collectionType,i=e.itemType,a=e.genre,o=(0,d.gf)().__legacyApiClient__,s=function(e){var t,r,n=(0,d.gf)(),i=Boolean(null===(t=e.sortBy)||void 0===t?void 0:t.includes(p.B.Random));return(0,j.I)({queryKey:["Items",Z({},e)],queryFn:function(t){var r=t.signal;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n,i;return ee(this,(function(a){switch(a.label){case 0:return n=e.api,i=e.user,n&&(null==i?void 0:i.Id)?[4,(0,b.n)(n).getItems(Z({userId:i.Id},t),{signal:null==r?void 0:r.signal})]:[3,2];case 1:return[2,a.sent().data];case 2:return[2]}}))}))}(n,e,{signal:r})},gcTime:i?1/0:void 0,refetchOnMount:!i&&void 0,refetchOnWindowFocus:!i&&void 0,enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)})}({sortBy:[p.B.Random],sortOrder:[y.x.Ascending],includeItemTypes:i,recursive:!0,fields:[v.z.PrimaryImageAspectRatio,v.z.MediaSourceCount],imageTypeLimit:1,enableImageTypes:[m.y.Primary],limit:25,genreIds:a.Id?[a.Id]:void 0,enableTotalRecordCount:!1,parentId:null!=r?r:void 0}),u=s.isLoading,c=s.data;return u?(0,l.jsx)(se.A,{}):(0,l.jsx)(ln,{sectionHeaderProps:{title:a.Name||"",url:(t=a,le.appRouter.getRouteUrl(t,{context:n,parentId:r}))},items:null==c?void 0:c.Items,cardOptions:{scalable:!0,overlayPlayButton:!0,showTitle:!0,centerText:!0,cardLayout:!1,shape:n===dn.X.Music?K.G8.SquareOverflow:K.G8.PortraitOverflow,showParentTitle:n===dn.X.Music,showYear:n!==dn.X.Music,serverId:null==o?void 0:o.serverId()}},a.Name)},vn=function(e){var t,r=e.parentId,n=e.collectionType,i=e.itemType,a=function(e,t){var r,n=(0,d.gf)();return(0,j.I)({queryKey:["Genres",t],queryFn:function(r){var i=r.signal;return function(e,t,r,n){return $(void 0,void 0,void 0,(function(){var i,a;return ee(this,(function(o){switch(o.label){case 0:return i=e.api,a=e.user,i&&(null==a?void 0:a.Id)?[4,(0,I.$)(i).getGenres({userId:a.Id,sortBy:[p.B.SortName],sortOrder:[y.x.Ascending],includeItemTypes:t,enableTotalRecordCount:!1,parentId:null!=r?r:void 0},{signal:null==n?void 0:n.signal})]:[3,2];case 1:return[2,o.sent().data];case 2:return[2]}}))}))}(n,e,t,{signal:i})},enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)&&!!t})}(i,r),o=a.isLoading,s=a.data;return o?(0,l.jsx)(se.A,{}):(null===(t=null==s?void 0:s.Items)||void 0===t?void 0:t.length)?s.Items.map((function(e){return(0,l.jsx)(mn,{collectionType:n,parentId:r,itemType:i,genre:e},e.Id)})):(0,l.jsx)(ce,{message:"MessageNoGenresAvailable"})},fn=function(e){var t=e.parentId,r=e.collectionType,n=e.itemType;return(0,l.jsx)(vn,{parentId:t,collectionType:r,itemType:n})},pn=r(25295),yn=r(66911),hn=r(75427),gn=r(91884),In=function(){return In=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},In.apply(this,arguments)},bn=function(e){var t=e.className,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=(0,u.useCallback)((function(e,t){n((function(e){return In(In({},e),{StartIndex:0,Alphabet:t})}))}),[n]),a=fe()("alphaPicker",t,"alphaPicker-fixed-right"),o=fe()("paper-icon-button-light","alphaPickerButton");return(0,l.jsx)(s.A,{className:a,sx:{position:"fixed",bottom:"1.5em",fontSize:{xs:"80%",lg:"88%"}},children:(0,l.jsx)(gn.A,{orientation:"vertical",value:r.Alphabet,exclusive:!0,color:"primary",size:"small",onChange:i,children:["#","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"].map((function(e){return(0,l.jsx)(hn.A,{value:e,className:o,children:e},e)}))})})},An=r(76620),Tn=r(13184),xn=r(4579),Sn=r(98003),wn=r(13584),Pn=r(71847),Cn=r(56374),jn=r(70531),On=r(85491),Dn=r(96441),Nn=r(70564),Rn=function(){return Rn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Rn.apply(this,arguments)},Bn=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},kn=[{label:"Subtitles",value:n.HasSubtitles},{label:"Trailers",value:n.HasTrailer},{label:"Extras",value:n.HasSpecialFeature},{label:"ThemeSongs",value:n.HasThemeSong},{label:"ThemeVideos",value:n.HasThemeVideo}],Ln=function(e){var t,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=(0,u.useCallback)((function(e){var t,i;e.preventDefault();var a=e.target.value,o=null!==(i=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.Features)&&void 0!==i?i:[],l=o.includes(a)?o.filter((function(e){return e!==a})):Bn(Bn([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);n((function(e){return Rn(Rn({},e),{StartIndex:0,Filters:Rn(Rn({},e.Filters),{Features:l.length?l:void 0})})}))}),[n,null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.Features]);return(0,l.jsx)(On.A,{children:kn.map((function(e){var t,n;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(n=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.Features)||void 0===n?void 0:n.includes(e.value)),onChange:i,value:e.value}),label:R.Ay.translate(e.label)},e.value)}))})},Fn=function(){return Fn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Fn.apply(this,arguments)},Mn=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},En=function(e){var t,r=e.genresOptions,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Genres)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):Mn(Mn([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return Fn(Fn({},e),{StartIndex:0,Filters:Fn(Fn({},e.Filters),{Genres:l.length?l:void 0})})}))}),[i,null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Genres]);return(0,l.jsx)(On.A,{children:r.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Genres)||void 0===r?void 0:r.includes(String(e))),onChange:a,value:String(e)}),label:e},e)}))})},Vn=function(){return Vn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Vn.apply(this,arguments)},Un=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},Hn=function(e){var t,r=e.OfficialRatingsOptions,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.OfficialRatings)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):Un(Un([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return Vn(Vn({},e),{StartIndex:0,Filters:Vn(Vn({},e.Filters),{OfficialRatings:l.length?l:void 0})})}))}),[i,null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.OfficialRatings]);return(0,l.jsx)(On.A,{children:r.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.OfficialRatings)||void 0===r?void 0:r.includes(String(e))),onChange:a,value:String(e)}),label:e},e)}))})},Gn=function(){return Gn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Gn.apply(this,arguments)},qn=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},Wn=[{label:"OptionSpecialEpisode",value:i.ParentIndexNumber},{label:"OptionMissingEpisode",value:i.IsMissing},{label:"OptionUnairedEpisode",value:i.IsUnaired}],zn=function(e){var t,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=(0,u.useCallback)((function(e){var t,i;e.preventDefault();var a=e.target.value,o=null!==(i=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.EpisodeFilter)&&void 0!==i?i:[],l=o.includes(a)?o.filter((function(e){return e!==a})):qn(qn([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);n((function(e){return Gn(Gn({},e),{StartIndex:0,Filters:Gn(Gn({},e.Filters),{EpisodeFilter:l.length?l:void 0})})}))}),[n,null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.EpisodeFilter]);return(0,l.jsx)(On.A,{children:Wn.map((function(e){var t,n;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(n=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.EpisodeFilter)||void 0===n?void 0:n.includes(e.value)),onChange:i,value:e.value}),label:R.Ay.translate(e.label)},e.value)}))})},Yn=function(){return Yn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Yn.apply(this,arguments)},Kn=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},Qn=[{label:"Continuing",value:tr.m.Continuing},{label:"Ended",value:tr.m.Ended},{label:"Unreleased",value:tr.m.Unreleased}],_n=function(e){var t,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=(0,u.useCallback)((function(e){var t,i;e.preventDefault();var a=e.target.value,o=null!==(i=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.SeriesStatus)&&void 0!==i?i:[],l=o.includes(a)?o.filter((function(e){return e!==a})):Kn(Kn([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);n((function(e){return Yn(Yn({},e),{StartIndex:0,Filters:Yn(Yn({},e.Filters),{SeriesStatus:l.length?l:void 0})})}))}),[n,null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.SeriesStatus]);return(0,l.jsx)(On.A,{children:Qn.map((function(e){var t,n;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(n=null===(t=null==r?void 0:r.Filters)||void 0===t?void 0:t.SeriesStatus)||void 0===n?void 0:n.includes(e.value)),onChange:i,value:e.value}),label:R.Ay.translate(e.label)},e.value)}))})},Xn=function(){return Xn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xn.apply(this,arguments)},Jn=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},Zn=[{label:"Played",value:f.s.IsPlayed},{label:"Unplayed",value:f.s.IsUnplayed},{label:"Favorite",value:f.s.IsFavorite},{label:"ContinueWatching",value:f.s.IsResumable}],$n=function(e){var t,r=e.viewType,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Status)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):Jn(Jn([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return Xn(Xn({},e),{StartIndex:0,Filters:Xn(Xn({},e.Filters),{Status:l.length?l:void 0})})}))}),[i,null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Status]);return(0,l.jsx)(On.A,{children:Zn.filter((function(e){return(t=[f.s.IsFavorite],r!==L.D.Albums&&r!==L.D.Artists&&r!==L.D.AlbumArtists&&r!==L.D.Songs&&r!==L.D.Channels&&r!==L.D.PhotoAlbums&&r!==L.D.Photos&&(t.push(f.s.IsUnplayed),t.push(f.s.IsPlayed),t.push(f.s.IsResumable)),t).includes(e.value);var t})).map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Status)||void 0===r?void 0:r.includes(e.value)),onChange:a,value:e.value}),label:R.Ay.translate(e.label)},e.value)}))})},ei=function(){return ei=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ei.apply(this,arguments)},ti=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},ri=function(e){var t,r=e.studiosOptions,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.StudioIds)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):ti(ti([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return ei(ei({},e),{StartIndex:0,Filters:ei(ei({},e.Filters),{StudioIds:l.length?l:void 0})})}))}),[i,null===(t=n.Filters)||void 0===t?void 0:t.StudioIds]);return(0,l.jsx)(On.A,{children:null==r?void 0:r.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.StudioIds)||void 0===r?void 0:r.includes(String(e.Id))),onChange:a,value:String(e.Id)}),label:e.Name},e.Id)}))})},ni=function(){return ni=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ni.apply(this,arguments)},ii=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},ai=function(e){var t,r=e.tagsOptions,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Tags)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):ii(ii([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return ni(ni({},e),{StartIndex:0,Filters:ni(ni({},e.Filters),{Tags:l.length?l:void 0})})}))}),[i,null===(t=n.Filters)||void 0===t?void 0:t.Tags]);return(0,l.jsx)(On.A,{children:r.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Tags)||void 0===r?void 0:r.includes(String(e))),onChange:a,value:String(e)}),label:e},e)}))})},oi=r(35310),li=function(){return li=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},li.apply(this,arguments)},si=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},ui=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},ci=[{label:"SD",value:a.IsSD},{label:"HD",value:a.IsHD},{label:"4K",value:a.Is4K},{label:"3D",value:a.Is3D}],di=[{label:"DVD",value:oi.M.Dvd},{label:"Blu-ray",value:oi.M.BluRay},{label:"ISO",value:oi.M.Iso}],mi=function(e){var t,r,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.VideoBasicFilter)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):ui(ui([],si(o),!1),[a],!1);i((function(e){return li(li({},e),{Filters:li(li({},e.Filters),{VideoBasicFilter:l.length?l:void 0})})}))}),[i,null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.VideoBasicFilter]),o=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=e.target.value,o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.VideoTypes)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):ui(ui([],si(o),!1),[a],!1);i((function(e){return li(li({},e),{StartIndex:0,Filters:li(li({},e.Filters),{VideoTypes:l.length?l:void 0})})}))}),[i,null===(r=null==n?void 0:n.Filters)||void 0===r?void 0:r.VideoTypes]);return(0,l.jsxs)(On.A,{children:[ci.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.VideoBasicFilter)||void 0===r?void 0:r.includes(e.value)),onChange:a,value:e.value}),label:e.label},e.value)})),di.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.VideoTypes)||void 0===r?void 0:r.includes(e.value)),onChange:o,value:e.value}),label:e.label},e.value)}))]})},vi=function(){return vi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vi.apply(this,arguments)},fi=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},pi=function(e){var t,r=e.yearsOptions,n=e.libraryViewSettings,i=e.setLibraryViewSettings,a=(0,u.useCallback)((function(e){var t,r;e.preventDefault();var a=Number(e.target.value),o=null!==(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Years)&&void 0!==r?r:[],l=o.includes(a)?o.filter((function(e){return e!==a})):fi(fi([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(o),!1),[a],!1);i((function(e){return vi(vi({},e),{StartIndex:0,Filters:vi(vi({},e.Filters),{Years:l.length?l:void 0})})}))}),[i,null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Years]);return(0,l.jsx)(On.A,{children:r.map((function(e){var t,r;return(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:!!(null===(r=null===(t=null==n?void 0:n.Filters)||void 0===t?void 0:t.Years)||void 0===r?void 0:r.includes(Number(e))),onChange:a,value:String(e)}),label:e},e)}))})},yi=function(){return yi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},yi.apply(this,arguments)},hi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},gi=(0,jn.Ay)((function(e){return(0,l.jsx)(Sn.A,yi({disableGutters:!0,elevation:0,square:!0},e,{slotProps:{transition:{unmountOnExit:!0}}}))}))((function(e){var t=e.theme;return{border:"1px solid ".concat(t.palette.divider),"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"}}})),Ii=(0,jn.Ay)((function(e){return(0,l.jsx)(Pn.A,yi({expandIcon:(0,l.jsx)(An.A,{sx:{fontSize:"0.9rem"}})},e))}))((function(e){var t=e.theme;return{backgroundColor:"dark"===t.palette.mode?"rgba(255, 255, 255, .05)":"rgba(0, 0, 0, .03)","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"},"& .MuiAccordionSummary-content":{marginLeft:t.spacing(1)}}})),bi=(0,jn.Ay)(wn.A)((function(e){return{padding:e.theme.spacing(2),borderTop:"1px solid rgba(0, 0, 0, .125)"}})),Ai=function(e){var t,r,n,i=e.parentId,a=e.itemType,o=e.viewType,s=e.hasFilters,c=e.libraryViewSettings,f=e.setLibraryViewSettings,p=hi(u.useState(null),2),y=p[0],h=p[1],I=hi(u.useState(!1),2),b=I[0],A=I[1],x=Boolean(y),S=x?"filter-popover":void 0,w=function(e,t){var r,n=(0,d.gf)(),i="livetv"===e;return(0,j.I)({queryKey:["QueryFiltersLegacy",e,t],queryFn:function(r){var i=r.signal;return function(e,t,r,n){return $(void 0,void 0,void 0,(function(){var i,a;return ee(this,(function(o){switch(o.label){case 0:return i=e.api,a=e.user,i&&(null==a?void 0:a.Id)?[4,(0,g.f)(i).getQueryFiltersLegacy({userId:a.Id,parentId:null!=t?t:void 0,includeItemTypes:r},{signal:null==n?void 0:n.signal})]:[3,2];case 1:return[2,o.sent().data];case 2:return[2]}}))}))}(n,e,t,{signal:i})},enabled:!(!n.api||!(null===(r=n.user)||void 0===r?void 0:r.Id)||!e||i)})}(i,a).data,P=function(e,t){var r,n=(0,d.gf)(),i="livetv"===e;return(0,j.I)({queryKey:["Studios",e,t],queryFn:function(r){var i=r.signal;return function(e,t,r,n){return $(void 0,void 0,void 0,(function(){var i,a;return ee(this,(function(o){switch(o.label){case 0:return i=e.api,a=e.user,i&&(null==a?void 0:a.Id)?[4,(0,T.G)(i).getStudios({userId:a.Id,includeItemTypes:r,fields:[v.z.DateCreated,v.z.PrimaryImageAspectRatio],enableImageTypes:[m.y.Thumb],parentId:null!=t?t:void 0,enableTotalRecordCount:!1},{signal:null==n?void 0:n.signal})]:[3,2];case 1:return[2,o.sent().data.Items];case 2:return[2]}}))}))}(n,e,t,{signal:i})},enabled:!(!n.api||!(null===(r=n.user)||void 0===r?void 0:r.Id)||!e||i)})}(i,a).data,C=function(e){return function(t,r){A(!!r&&e)}},O=(0,u.useCallback)((function(e){h(e.currentTarget)}),[]),D=(0,u.useCallback)((function(){h(null)}),[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Zr.A,{title:R.Ay.translate("Filter"),"aria-describedby":S,onClick:O,children:(0,l.jsx)(Cn.A,{color:"info",variant:"dot",invisible:!s,children:(0,l.jsx)(Tn.A,{})})}),(0,l.jsxs)(xn.Ay,{id:S,open:x,anchorEl:y,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},slotProps:{paper:{style:{maxHeight:"50%",width:250}}},children:[(0,l.jsxs)(gi,{expanded:"filtersStatus"===b,onChange:C("filtersStatus"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersStatus-content",id:"filtersStatus-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("Filters")})}),(0,l.jsx)(bi,{children:(0,l.jsx)($n,{viewType:o,libraryViewSettings:c,setLibraryViewSettings:f})})]}),o===L.D.Series&&(0,l.jsxs)(gi,{expanded:"filtersSeriesStatus"===b,onChange:C("filtersSeriesStatus"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersSeriesStatus-content",id:"filtersSeriesStatus-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("HeaderSeriesStatus")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(_n,{libraryViewSettings:c,setLibraryViewSettings:f})})]}),o===L.D.Episodes&&(0,l.jsxs)(gi,{expanded:"filtersEpisodesStatus"===b,onChange:C("filtersEpisodesStatus"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersEpisodesStatus-content",id:"filtersEpisodesStatus-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("HeaderEpisodesStatus")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(zn,{libraryViewSettings:c,setLibraryViewSettings:f})})]}),(o===L.D.Movies||o===L.D.Series||o===L.D.Episodes)&&(0,l.jsxs)(gi,{expanded:"filtersFeatures"===b,onChange:C("filtersFeatures"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersFeatures-content",id:"filtersFeatures-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("Features")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(Ln,{libraryViewSettings:c,setLibraryViewSettings:f})})]}),(o===L.D.Movies||o===L.D.Episodes)&&(0,l.jsxs)(gi,{expanded:"filtersVideoTypes"===b,onChange:C("filtersVideoTypes"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersVideoTypes-content",id:"filtersVideoTypes-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("HeaderVideoType")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(mi,{libraryViewSettings:c,setLibraryViewSettings:f})})]}),(o===L.D.Movies||o===L.D.Series||o===L.D.Albums||o===L.D.AlbumArtists||o===L.D.Artists||o===L.D.Songs||o===L.D.Episodes)&&(0,l.jsxs)(l.Fragment,{children:[(null==w?void 0:w.Genres)&&(null===(t=null==w?void 0:w.Genres)||void 0===t?void 0:t.length)>0&&(0,l.jsxs)(gi,{expanded:"filtersGenres"===b,onChange:C("filtersGenres"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersGenres-content",id:"filtersGenres-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("Genres")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(En,{genresOptions:w.Genres,libraryViewSettings:c,setLibraryViewSettings:f})})]}),(null==w?void 0:w.OfficialRatings)&&(null===(r=null==w?void 0:w.OfficialRatings)||void 0===r?void 0:r.length)>0&&(0,l.jsxs)(gi,{expanded:"filtersOfficialRatings"===b,onChange:C("filtersOfficialRatings"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersOfficialRatings-content",id:"filtersOfficialRatings-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("HeaderParentalRatings")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(Hn,{OfficialRatingsOptions:w.OfficialRatings,libraryViewSettings:c,setLibraryViewSettings:f})})]}),(null==w?void 0:w.Tags)&&(null==w?void 0:w.Tags.length)>0&&(0,l.jsxs)(gi,{expanded:"filtersTags"===b,onChange:C("filtersTags"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersTags-content",id:"filtersTags-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("Tags")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(ai,{tagsOptions:w.Tags,libraryViewSettings:c,setLibraryViewSettings:f})})]}),(null==w?void 0:w.Years)&&(null===(n=null==w?void 0:w.Years)||void 0===n?void 0:n.length)>0&&(0,l.jsxs)(gi,{expanded:"filtersYears"===b,onChange:C("filtersYears"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersYears-content",id:"filtersYears-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("HeaderYears")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(pi,{yearsOptions:w.Years,libraryViewSettings:c,setLibraryViewSettings:f})})]})]}),(o===L.D.Movies||o===L.D.Series)&&P&&(0,l.jsxs)(gi,{expanded:"filtersStudios"===b,onChange:C("filtersStudios"),children:[(0,l.jsx)(Ii,{"aria-controls":"filtersStudios-content",id:"filtersStudios-header",children:(0,l.jsx)(ue.A,{children:R.Ay.translate("Studios")})}),(0,l.jsx)(bi,{children:(0,l.jsx)(ri,{studiosOptions:P,libraryViewSettings:c,setLibraryViewSettings:f})})]})]})]})},Ti=r(30374),xi=function(e){var t=e.isTextVisible,n=(0,u.useCallback)((function(){r.e(3380).then(r.bind(r,3380)).then((function(e){var t=e.default,r=window.ApiClient.serverId();(new t).show({items:[],serverId:r}).catch((function(){}))})).catch((function(e){console.error("[NewCollection] failed to load collection editor",e)}))}),[]);return(0,l.jsx)(Zr.A,{variant:"contained",startIcon:t?(0,l.jsx)(Ti.A,{}):void 0,onClick:n,children:t?R.Ay.translate("NewCollection"):(0,l.jsx)(Ti.A,{})})},Si=r(62955),wi=r(33255),Pi=r(70140),Ci=function(){return Ci=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ci.apply(this,arguments)},ji=function(e){var t,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=e.totalRecordCount,a=e.isPlaceholderData,o=(0,pn.A)((function(e){return e.breakpoints.up("sm")})),c=B.libraryPageSize(void 0),d=null!==(t=r.StartIndex)&&void 0!==t?t:0,m=i?d+1:0,v=c?Math.min(d+c,i):i,f=c>0&&c<i,p=(0,u.useCallback)((function(){var e=d+c;n((function(t){return Ci(Ci({},t),{StartIndex:e})}))}),[c,n,d]),y=(0,u.useCallback)((function(){var e=Math.max(0,d-c);n((function(t){return Ci(Ci({},t),{StartIndex:e})}))}),[c,n,d]);return(0,l.jsxs)(Pi.A,{direction:"row",spacing:.5,sx:{alignItems:"center",flexGrow:{xs:1,sm:0},marginLeft:{xs:0,sm:.5}},children:[!o&&(0,l.jsx)(Zr.A,{color:"inherit",variant:"text",title:R.Ay.translate("Previous"),disabled:!f||0==d||a,onClick:y,children:(0,l.jsx)(Si.A,{})}),(0,l.jsx)(s.A,{sx:{display:"flex",flexGrow:1,alignItems:"center",justifyContent:"center",marginLeft:1,marginRight:1},children:(0,l.jsx)(ue.A,{variant:"body2",children:R.Ay.translate("ListPaging",m,v,i)})}),o&&(0,l.jsxs)($e.A,{color:"inherit",variant:"text",children:[(0,l.jsx)(Zr.A,{title:R.Ay.translate("Previous"),disabled:!f||0==d||a,onClick:y,children:(0,l.jsx)(Si.A,{})}),(0,l.jsx)(Zr.A,{title:R.Ay.translate("Next"),disabled:!f||d+c>=i||a,onClick:p,children:(0,l.jsx)(wi.A,{})})]}),!o&&(0,l.jsx)(Zr.A,{color:"inherit",variant:"text",title:R.Ay.translate("Next"),disabled:!f||d+c>=i||a,onClick:p,children:(0,l.jsx)(wi.A,{})})]})},Oi=function(){return Oi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Oi.apply(this,arguments)},Di=function(e){var t=e.item,r=e.items,n=e.viewType,i=e.hasFilters,a=e.isTextVisible,o=e.libraryViewSettings,s=(0,u.useCallback)((function(){var e;t&&!i?Se.f.play({items:[t],autoplay:!0,queryOptions:{SortBy:[o.SortBy],SortOrder:[o.SortOrder]}}).catch((function(e){console.error("[PlayAllButton] failed to play",e)})):Se.f.play({items:r,autoplay:!0,queryOptions:Oi(Oi({ParentId:null!==(e=null==t?void 0:t.Id)&&void 0!==e?e:void 0},H(n,o)),{SortBy:[o.SortBy],SortOrder:[o.SortOrder]})}).catch((function(e){console.error("[PlayAllButton] failed to play",e)}))}),[i,t,r,o,n]);return(0,l.jsx)(Zr.A,{title:R.Ay.translate("HeaderPlayAll"),startIcon:a?(0,l.jsx)(tt.A,{}):void 0,onClick:s,children:a?R.Ay.translate("HeaderPlayAll"):(0,l.jsx)(tt.A,{})})},Ni=r(91002),Ri=function(e){var t=e.item,r=e.items,n=e.hasFilters,i=e.isTextVisible,a=(0,u.useCallback)((function(){t&&!n?Se.f.queue({items:[t]}).catch((function(e){console.error("[QueueButton] failed to add to queue",e)})):Se.f.queue({items:r}).catch((function(e){console.error("[QueueButton] failed to add to queue",e)}))}),[n,t,r]);return(0,l.jsx)(Zr.A,{title:R.Ay.translate("AddToPlayQueue"),startIcon:i?(0,l.jsx)(Ni.A,{}):void 0,onClick:a,children:i?R.Ay.translate("AddToPlayQueue"):(0,l.jsx)(Ni.A,{})})},Bi=r(61556),ki=function(){return ki=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ki.apply(this,arguments)},Li=function(e){var t=e.item,r=e.items,n=e.viewType,i=e.hasFilters,a=e.isTextVisible,o=e.libraryViewSettings,s=(0,u.useCallback)((function(){var e;t&&!i?Se.f.shuffle(t):Se.f.play({items:r,autoplay:!0,queryOptions:ki(ki({ParentId:null!==(e=null==t?void 0:t.Id)&&void 0!==e?e:void 0},H(n,o)),{SortBy:[p.B.Random]})}).catch((function(e){console.error("[ShuffleButton] failed to play",e)}))}),[i,t,r,o,n]);return(0,l.jsx)(Zr.A,{title:R.Ay.translate("Shuffle"),startIcon:a?(0,l.jsx)(Bi.A,{}):void 0,onClick:s,children:a?R.Ay.translate("Shuffle"):(0,l.jsx)(Bi.A,{})})},Fi=r(85637),Mi=r(74156),Ei=r(82670),Vi=r(31720),Ui=r(76745),Hi=r(66402),Gi=function(){return Gi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Gi.apply(this,arguments)},qi=[{label:"Name",value:p.B.SortName},{label:"OptionCommunityRating",value:p.B.CommunityRating},{label:"OptionDateAdded",value:p.B.DateCreated},{label:"OptionParentalRating",value:p.B.OfficialRating},{label:"OptionReleaseDate",value:p.B.PremiereDate}],Wi=[{label:"Name",value:p.B.SortName},{label:"OptionRandom",value:p.B.Random},{label:"OptionCommunityRating",value:p.B.CommunityRating},{label:"OptionCriticRating",value:p.B.CriticRating},{label:"OptionDateAdded",value:p.B.DateCreated},{label:"OptionDatePlayed",value:p.B.DatePlayed},{label:"OptionParentalRating",value:p.B.OfficialRating},{label:"OptionPlayCount",value:p.B.PlayCount},{label:"OptionReleaseDate",value:p.B.PremiereDate},{label:"Runtime",value:p.B.Runtime}],zi=[{label:"Name",value:p.B.SortName},{label:"OptionRandom",value:p.B.Random},{label:"OptionDateAdded",value:p.B.DateCreated}],Yi=((Or={})[L.D.Movies]=Wi,Or[L.D.Collections]=qi,Or[L.D.Favorites]=Wi,Or[L.D.Series]=[{label:"Name",value:p.B.SortName},{label:"OptionRandom",value:p.B.Random},{label:"OptionCommunityRating",value:p.B.CommunityRating},{label:"OptionDateShowAdded",value:p.B.DateCreated},{label:"OptionDateEpisodeAdded",value:p.B.DateLastContentAdded},{label:"OptionDatePlayed",value:p.B.SeriesDatePlayed},{label:"OptionParentalRating",value:p.B.OfficialRating},{label:"OptionReleaseDate",value:p.B.PremiereDate}],Or[L.D.Episodes]=[{label:"Name",value:p.B.SeriesSortName},{label:"OptionCommunityRating",value:p.B.CommunityRating},{label:"OptionDateAdded",value:p.B.DateCreated},{label:"OptionReleaseDate",value:p.B.PremiereDate},{label:"OptionDatePlayed",value:p.B.DatePlayed},{label:"OptionParentalRating",value:p.B.OfficialRating},{label:"OptionPlayCount",value:p.B.PlayCount},{label:"Runtime",value:p.B.Runtime},{label:"OptionRandom",value:p.B.Random}],Or[L.D.Albums]=[{label:"Name",value:p.B.SortName},{label:"OptionRandom",value:p.B.Random},{label:"AlbumArtist",value:p.B.AlbumArtist},{label:"OptionCommunityRating",value:p.B.CommunityRating},{label:"OptionCriticRating",value:p.B.CriticRating},{label:"OptionReleaseDate",value:p.B.ProductionYear},{label:"OptionDateAdded",value:p.B.DateCreated}],Or[L.D.Songs]=[{label:"Name",value:p.B.SortName},{label:"Album",value:p.B.Album},{label:"AlbumArtist",value:p.B.AlbumArtist},{label:"Artist",value:p.B.Artist},{label:"OptionDateAdded",value:p.B.DateCreated},{label:"OptionDatePlayed",value:p.B.DatePlayed},{label:"OptionPlayCount",value:p.B.PlayCount},{label:"OptionReleaseDate",value:p.B.PremiereDate},{label:"Runtime",value:p.B.Runtime},{label:"OptionRandom",value:p.B.Random}],Or[L.D.PhotoAlbums]=zi,Or[L.D.Photos]=zi,Or[L.D.Videos]=[{label:"Name",value:p.B.SortName},{label:"OptionDateAdded",value:p.B.DateCreated},{label:"OptionDatePlayed",value:p.B.DatePlayed},{label:"OptionPlayCount",value:p.B.PlayCount},{label:"Runtime",value:p.B.Runtime},{label:"OptionRandom",value:p.B.Random}],Or),Ki=[{label:"Ascending",value:y.x.Ascending},{label:"Descending",value:y.x.Descending}],Qi=function(e){var t=e.viewType,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(u.useState(null),2),a=i[0],o=i[1],s=Boolean(a),c=s?"sort-popover":void 0,d=(0,u.useCallback)((function(e){o(e.currentTarget)}),[]),m=(0,u.useCallback)((function(){o(null)}),[]),v=(0,u.useCallback)((function(e){var t=e.target.name;n((function(r){var n;return Gi(Gi({},r),((n={StartIndex:0})[t]=e.target.value,n))}))}),[n]),f=function(e){return Yi[e]||[]}(t);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Zr.A,{title:R.Ay.translate("Sort"),"aria-describedby":c,onClick:d,children:(0,l.jsx)(Hi.A,{})}),(0,l.jsxs)(xn.Ay,{id:c,open:s,anchorEl:a,onClose:m,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiFormControl-root":{m:1,width:200}},children:[(0,l.jsxs)(Vi.A,{fullWidth:!0,children:[(0,l.jsx)(Ei.A,{id:"select-sort-label",children:(0,l.jsx)(ue.A,{component:"span",children:R.Ay.translate("LabelSortBy")})}),(0,l.jsx)(Ui.A,{labelId:"select-sort-label",id:"selectSortBy",value:r.SortBy,label:R.Ay.translate("LabelSortBy"),name:"SortBy",onChange:v,children:f.map((function(e){return(0,l.jsx)(Fi.A,{value:e.value,children:(0,l.jsx)(ue.A,{component:"span",children:R.Ay.translate(e.label)})},e.value)}))})]}),(0,l.jsx)(Mi.A,{}),(0,l.jsxs)(Vi.A,{fullWidth:!0,children:[(0,l.jsx)(Ei.A,{id:"select-sortorder-label",children:(0,l.jsx)(ue.A,{component:"span",children:R.Ay.translate("LabelSortOrder")})}),(0,l.jsx)(Ui.A,{labelId:"select-sortorder-label",id:"selectSortOrder",value:r.SortOrder,label:R.Ay.translate("LabelSortOrder"),name:"SortOrder",onChange:v,children:Ki.map((function(e){return(0,l.jsx)(Fi.A,{value:e.value,children:(0,l.jsx)(ue.A,{component:"span",children:e.label})},e.value)}))})]})]})]})},_i=r(26749),Xi=r(48402),Ji=r(87404),Zi=r(9055),$i=r(14229),ea=r(37632),ta=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},ra="library-view-menu",na=function(){var e=(0,Ji.zy)(),t=ta((0,Zi.ok)(),2),r=t[0],n=t[1],i=(0,ea.A)().activeTab,a=ta((0,u.useState)(null),2),o=a[0],s=a[1],c=Boolean(o),d=(0,u.useCallback)((function(e){s(e.currentTarget)}),[]),m=(0,u.useCallback)((function(){s(null)}),[]),v=$i.u.find((function(t){return t.path===e.pathname})),f=null==v?void 0:v.views.find((function(e){return e.index===i}));return f?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Zr.A,{variant:"text",size:"large",color:"inherit",endIcon:(0,l.jsx)(_i.A,{}),"aria-controls":ra,"aria-haspopup":"true",onClick:d,children:R.Ay.translate(f.label)}),(0,l.jsx)(Xi.A,{anchorEl:o,id:ra,keepMounted:!0,open:c,onClose:m,children:null==v?void 0:v.views.map((function(e){return(0,l.jsx)(Fi.A,{onClick:function(){r.set("tab","".concat(e.index)),n(r),m()},selected:e.index===f.index,children:R.Ay.translate(e.label)},e.view)}))})]}):null},ia=r(44790),aa=r(60434),oa=r(29095),la=function(){return la=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},la.apply(this,arguments)},sa=[L.D.Episodes,L.D.Artists,L.D.AlbumArtists,L.D.Albums],ua=[{label:"Primary",value:m.y.Primary},{label:"Banner",value:m.y.Banner},{label:"Disc",value:m.y.Disc},{label:"Logo",value:m.y.Logo},{label:"Thumb",value:m.y.Thumb}],ca=function(e){var t=e.viewType,r=e.libraryViewSettings,n=e.setLibraryViewSettings,i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(u.useState(null),2),a=i[0],s=i[1],c=Boolean(a),d=c?"selectview-popover":void 0,m=(0,u.useCallback)((function(e){s(e.currentTarget)}),[]),v=(0,u.useCallback)((function(){s(null)}),[]),f=(0,u.useCallback)((function(e){var t=e.target.name;n((function(r){var n;return la(la({},r),((n={})[t]=e.target.checked,n))}))}),[n]),p=(0,u.useCallback)((function(){n((function(e){return la(la({},e),{ViewMode:o.GridView})}))}),[n]),y=(0,u.useCallback)((function(){n((function(e){return la(la({},e),{ViewMode:o.ListView})}))}),[n]),h=(0,u.useCallback)((function(e){n((function(t){return la(la({},t),{ImageType:e.target.value})}))}),[n]),g=r.ViewMode===o.GridView,I=!sa.includes(t);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Zr.A,{title:R.Ay.translate("ViewSettings"),"aria-describedby":d,onClick:m,children:(0,l.jsx)(nt.A,{})}),(0,l.jsx)(xn.Ay,{id:d,open:c,anchorEl:a,onClose:v,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiFormControl-root":{m:1,width:220}},children:(0,l.jsxs)(oa.A,{children:[(0,l.jsxs)(Fi.A,{onClick:p,children:[g&&(0,l.jsx)(ia.A,{children:(0,l.jsx)(st.A,{})}),(0,l.jsx)(aa.A,{inset:!g,children:R.Ay.translate("GridView")})]}),(0,l.jsxs)(Fi.A,{onClick:y,children:[!g&&(0,l.jsx)(ia.A,{children:(0,l.jsx)(st.A,{})}),(0,l.jsx)(aa.A,{inset:g,children:R.Ay.translate("ListView")})]}),g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Mi.A,{}),I&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(Vi.A,{children:[(0,l.jsx)(Ei.A,{children:(0,l.jsx)(ue.A,{component:"span",children:R.Ay.translate("LabelImageType")})}),(0,l.jsx)(Ui.A,{value:r.ImageType,label:R.Ay.translate("LabelImageType"),onChange:h,children:ua.map((function(e){return(0,l.jsx)(Fi.A,{value:e.value,children:(0,l.jsx)(ue.A,{component:"span",children:R.Ay.translate(e.label)})},e.value)}))})]}),(0,l.jsx)(Mi.A,{})]}),(0,l.jsx)(Vi.A,{children:(0,l.jsxs)(On.A,{children:[(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:r.ShowTitle,onChange:f,name:"ShowTitle"}),label:R.Ay.translate("ShowTitle")}),I&&(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:r.ShowYear,onChange:f,name:"ShowYear"}),label:R.Ay.translate("ShowYear")}),(0,l.jsx)(Dn.A,{control:(0,l.jsx)(Nn.A,{checked:r.CardLayout,onChange:f,name:"CardLayout"}),label:R.Ay.translate("EnableCardLayout")})]})})]})]})})]})},da=function(e){var t,r,n,i=e.viewType,a=e.parentId,c=e.collectionType,g=e.isPaginationEnabled,I=void 0===g||g,A=e.isBtnPlayAllEnabled,x=void 0!==A&&A,S=e.isBtnQueueEnabled,w=void 0!==S&&S,C=e.isBtnShuffleEnabled,D=void 0!==C&&C,N=e.isBtnSortEnabled,R=void 0===N||N,B=e.isBtnFilterEnabled,k=void 0===B||B,F=e.isBtnNewCollectionEnabled,M=void 0!==F&&F,q=e.isBtnGridListEnabled,W=void 0===q||q,Y=e.isAlphabetPickerEnabled,Q=void 0===Y||Y,_=e.itemType,X=e.noItemsMessage,J=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}(function(e,t){var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}((0,u.useState)((function(){var r=localStorage.getItem(e);return null!=r?JSON.parse(r):"function"==typeof t?t():t})),2),n=r[0],i=r[1];return(0,u.useEffect)((function(){localStorage.setItem(e,JSON.stringify(n))}),[e,n]),[n,i]}(function(e,t){return"".concat(e," - ").concat(t)}(i,a),function(e){return{ShowTitle:!0,ShowYear:!0,ViewMode:e===L.D.Songs?o.ListView:o.GridView,ImageType:e===L.D.Networks?m.y.Thumb:m.y.Primary,CardLayout:!1,SortBy:G(e),SortOrder:y.x.Ascending,StartIndex:0}}(i)),2),te=J[0],re=J[1],ne=(0,pn.A)((function(e){return e.breakpoints.up("sm")})),ie=(0,d.gf)().__legacyApiClient__,ae=function(e,t,r,n){var i,a=(0,d.gf)();return(0,j.I)({queryKey:["ItemsViewByType",{viewType:e,parentId:t,itemType:r,libraryViewSettings:n}],queryFn:function(i){var o=i.signal;return function(e,t,r,n,i,a){return $(void 0,void 0,void 0,(function(){var o,l,s,u,c;return ee(this,(function(d){switch(d.label){case 0:if(o=e.api,l=e.user,!o||!(null==l?void 0:l.Id))return[3,14];switch(s=void 0,t){case L.D.AlbumArtists:return[3,1];case L.D.Artists:return[3,3];case L.D.Networks:return[3,5];case L.D.Channels:return[3,7];case L.D.SeriesTimers:return[3,9]}return[3,11];case 1:return[4,(0,h.v)(o).getAlbumArtists(Z(Z(Z(Z(Z({userId:l.Id,parentId:null!=r?r:void 0,enableImageTypes:[i.ImageType,m.y.Backdrop]},E(t,i)),H(t,i)),V()),U(i)),{sortBy:[i.SortBy],sortOrder:[i.SortOrder],includeItemTypes:n,startIndex:i.StartIndex}),{signal:null==a?void 0:a.signal})];case 2:case 4:case 6:case 8:case 10:case 12:return s=d.sent(),[3,13];case 3:return[4,(0,h.v)(o).getArtists(Z(Z(Z(Z(Z({userId:l.Id,parentId:null!=r?r:void 0,enableImageTypes:[i.ImageType,m.y.Backdrop]},E(t,i)),H(t,i)),V()),U(i)),{sortBy:[i.SortBy],sortOrder:[i.SortOrder],includeItemTypes:n,startIndex:i.StartIndex}),{signal:null==a?void 0:a.signal})];case 5:return[4,(0,T.G)(o).getStudios(Z(Z({userId:l.Id,parentId:null!=r?r:void 0},E(t,i)),{includeItemTypes:n,enableImageTypes:[m.y.Thumb],startIndex:i.StartIndex}),{signal:null==a?void 0:a.signal})];case 7:return[4,(0,P.t)(o).getLiveTvChannels({userId:l.Id,fields:[v.z.PrimaryImageAspectRatio],startIndex:i.StartIndex,isFavorite:!!(null===(c=null===(u=i.Filters)||void 0===u?void 0:u.Status)||void 0===c?void 0:c.includes(f.s.IsFavorite))||void 0,enableImageTypes:[m.y.Primary]},{signal:null==a?void 0:a.signal})];case 9:return[4,(0,P.t)(o).getSeriesTimers({sortBy:"SortName",sortOrder:y.x.Ascending},{signal:null==a?void 0:a.signal})];case 11:return[4,(0,b.n)(o).getItems(Z(Z(Z(Z(Z({userId:l.Id,recursive:!0,imageTypeLimit:1,parentId:null!=r?r:void 0,enableImageTypes:[i.ImageType,m.y.Backdrop]},E(t,i)),H(t,i)),V()),U(i)),{isFavorite:t===L.D.Favorites||void 0,sortBy:[i.SortBy],sortOrder:[i.SortOrder],includeItemTypes:n,startIndex:i.StartIndex}),{signal:null==a?void 0:a.signal})];case 13:return[2,s.data];case 14:return[2]}}))}))}(a,e,t,r,n,{signal:o})},refetchOnWindowFocus:!1,placeholderData:O.rX,enabled:!!a.api&&!!(null===(i=a.user)||void 0===i?void 0:i.Id)&&[L.D.Movies,L.D.Favorites,L.D.Collections,L.D.Series,L.D.Episodes,L.D.Networks,L.D.Albums,L.D.AlbumArtists,L.D.Artists,L.D.Playlists,L.D.Songs,L.D.Books,L.D.PhotoAlbums,L.D.Photos,L.D.Videos,L.D.Channels,L.D.SeriesTimers].includes(e)})}(i,a,_,te),oe=ae.isPending,le=ae.data,ue=ae.isPlaceholderData,de=ae.refetch,me=(0,yn.H)(a||void 0).data,ve=(0,u.useCallback)((function(){var e,t={items:null!==(e=null==le?void 0:le.Items)&&void 0!==e?e:[],context:c};return i===L.D.Songs?(t.showParentTitle=!0,t.action=z.s.PlayAllFromHere,t.smallIcon=!0,t.showArtist=!0,t.addToListButton=!0):i===L.D.Albums?(t.sortBy=te.SortBy,t.addToListButton=!0):i===L.D.Episodes&&(t.showParentTitle=!0),t}),[null==le?void 0:le.Items,c,i,te.SortBy]),pe=(0,u.useCallback)((function(){var e,t,r,n;te.ImageType===m.y.Banner?e=K.G8.Banner:te.ImageType===m.y.Disc?(e=K.G8.Square,r=!0):te.ImageType===m.y.Logo?(e=K.G8.Backdrop,n=!0):te.ImageType===m.y.Thumb?(e=K.G8.Backdrop,t=!0):e=K.G8.Auto;var a={shape:e,showTitle:te.ShowTitle,showYear:te.ShowYear,cardLayout:te.CardLayout,centerText:!0,context:c,coverImage:!0,preferThumb:t,preferDisc:r,preferLogo:n,overlayText:!te.ShowTitle,imageType:te.ImageType,queryKey:["ItemsViewByType"],serverId:null==ie?void 0:ie.serverId()};return i===L.D.Songs||i===L.D.Albums||i===L.D.Episodes?(a.showParentTitle=te.ShowTitle,a.overlayPlayButton=!0):i===L.D.Artists?(a.lines=1,a.showYear=!1,a.overlayPlayButton=!0):i===L.D.Channels?(a.shape=K.G8.Square,a.showDetailsMenu=!0,a.showCurrentProgram=!0,a.showCurrentProgramTime=!0):i===L.D.SeriesTimers?(a.shape=K.G8.Backdrop,a.showSeriesTimerTime=!0,a.showSeriesTimerChannel=!0,a.overlayMoreButton=!0,a.lines=3):i===L.D.Movies?a.overlayPlayButton=!0:i!==L.D.Series&&i!==L.D.Networks||(a.overlayMoreButton=!0),a}),[te.ShowTitle,te.ImageType,te.ShowYear,te.CardLayout,c,i]),ye=(0,u.useCallback)((function(){var e,t,r;return(null===(e=null==le?void 0:le.Items)||void 0===e?void 0:e.length)?te.ViewMode===o.ListView?(0,l.jsx)(nn,{items:null!==(t=null==le?void 0:le.Items)&&void 0!==t?t:[],listOptions:ve()}):(0,l.jsx)(Sr,{items:null!==(r=null==le?void 0:le.Items)&&void 0!==r?r:[],cardOptions:pe()}):(0,l.jsx)(ce,{message:X})}),[te.ViewMode,null==le?void 0:le.Items,ve,pe,X]),he=null!==(t=null==le?void 0:le.TotalRecordCount)&&void 0!==t?t:0,ge=null!==(r=null==le?void 0:le.Items)&&void 0!==r?r:[],Ie=Object.values(null!==(n=te.Filters)&&void 0!==n?n:{}).some((function(e){return!!e})),be=te.SortBy!==p.B.Random,Ae=fe()("padded-left padded-right padded-right-withalphapicker",te.ViewMode===o.ListView?"vertical-list":"vertical-wrap");return(0,l.jsxs)(s.A,{className:"padded-bottom-page",children:[(0,l.jsxs)(s.A,{className:fe()("padded-top padded-left padded-right",{"padded-right-withalphapicker":Q}),sx:{display:"flex",flexWrap:"wrap",alignItems:"center"},children:[(0,l.jsx)(s.A,{sx:{marginRight:1},children:(0,l.jsx)(na,{})}),(0,l.jsx)(s.A,{sx:{flexGrow:{xs:1,sm:0},marginRight:1},children:(0,l.jsxs)($e.A,{color:"inherit",variant:"text",children:[k&&(0,l.jsx)(Ai,{parentId:a,itemType:_,viewType:i,hasFilters:Ie,libraryViewSettings:te,setLibraryViewSettings:re}),R&&(0,l.jsx)(Qi,{viewType:i,libraryViewSettings:te,setLibraryViewSettings:re}),W&&(0,l.jsx)(ca,{viewType:i,libraryViewSettings:te,setLibraryViewSettings:re})]})}),(0,l.jsx)(s.A,{sx:{display:"flex",flexGrow:{xs:1,sm:0},justifyContent:"flex-end"},children:!oe&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)($e.A,{variant:"contained",children:[x&&(0,l.jsx)(Di,{item:me,items:ge,viewType:i,hasFilters:Ie,isTextVisible:ne,libraryViewSettings:te}),D&&he>1&&(0,l.jsx)(Li,{item:me,items:ge,viewType:i,hasFilters:Ie,isTextVisible:ne&&!x,libraryViewSettings:te}),w&&me&&Se.f.canQueue(me)&&(0,l.jsx)(Ri,{item:me,items:ge,hasFilters:Ie,isTextVisible:ne&&!x&&!D})]}),M&&(0,l.jsx)(xi,{isTextVisible:ne})]})}),(0,l.jsx)(s.A,{sx:{display:"flex",justifyContent:"end",flexBasis:{xs:"100%",sm:"auto"},flexGrow:1,marginTop:{xs:.5,sm:0}},children:!oe&&I&&(0,l.jsx)(ji,{totalRecordCount:he,libraryViewSettings:te,isPlaceholderData:ue,setLibraryViewSettings:re})})]}),Q&&be&&(0,l.jsx)(bn,{libraryViewSettings:te,setLibraryViewSettings:re}),oe?(0,l.jsx)(se.A,{}):(0,l.jsx)(Re,{className:Ae,parentId:a,reloadItems:de,queryKey:["ItemsViewByType"],children:ye()}),!oe&&I&&(0,l.jsx)(s.A,{className:fe()("padded-left padded-right",{"padded-right-withalphapicker":Q}),sx:{display:"flex",justifyContent:"flex-end"},children:(0,l.jsx)(ji,{totalRecordCount:he,libraryViewSettings:te,isPlaceholderData:ue,setLibraryViewSettings:re})})]})},ma=r(36934),va=(r(57447),r(10353),r(15453),r(79845),r(41765),function(){var e=(0,u.useRef)(),t=(0,u.useRef)(null),r=(0,u.useCallback)((function(t){e.current=new ma.A({element:t,serverId:window.ApiClient.serverId()})}),[]);return(0,u.useEffect)((function(){var n=t.current;n?e.current||r(n):console.error("Unexpected null reference")}),[r]),(0,u.useEffect)((function(){return e.current&&e.current.resume(),function(){e.current&&e.current.pause()}}),[r]),(0,l.jsx)(s.A,{ref:t,className:"absolutePageTabContent",sx:{display:"flex !important",width:"auto",paddingTop:"0",paddingBottom:"0 !important",top:{xs:"6.9em !important",lg:"4em !important"}}})}),fa=function(){return fa=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},fa.apply(this,arguments)},pa=function(e){var t=e.parentId,r=e.sectionType,n=e.isUpcomingRecordingsEnabled,i=void 0!==n&&n,a=(0,d.gf)().__legacyApiClient__,o=function(e,t){var r,n=(0,d.gf)(),i=X();return(0,j.I)({queryKey:["ProgramSectionWithItems",{programSectionType:t}],queryFn:function(r){var a=r.signal;return oe(n,e,i,t,{signal:a})},enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)})}(t,r),s=o.isLoading,u=o.data,c=o.refetch,m=function(e,t){var r,n=(0,d.gf)();return(0,j.I)({queryKey:["Timers",{isUpcomingRecordingsEnabled:e,indexByDate:t}],queryFn:function(e){var r=e.signal;return function(e,t,r){return $(void 0,void 0,void 0,(function(){var n;return ee(this,(function(i){switch(i.label){case 0:return(n=e.api)?[4,(0,P.t)(n).getTimers({isActive:!1,isScheduled:!0},{signal:null==r?void 0:r.signal})]:[3,2];case 1:return[2,ie(i.sent().data.Items||[],t)];case 2:return[2]}}))}))}(n,t,{signal:r})},enabled:!!n.api&&!!(null===(r=n.user)||void 0===r?void 0:r.Id)&&e})}(i),v=m.isLoading,f=m.data;if(s||v)return(0,l.jsx)(se.A,{});if(!(null==u?void 0:u.length)&&!(null==f?void 0:f.length))return(0,l.jsx)(ce,{});var p=function(e){var t,r,n,i,a,o;return le.appRouter.getRouteUrl("list",{serverId:window.ApiClient.serverId(),itemTypes:e.itemTypes,isAiring:null===(t=e.parametersOptions)||void 0===t?void 0:t.isAiring,isMovie:null===(r=e.parametersOptions)||void 0===r?void 0:r.isMovie,isSports:null===(n=e.parametersOptions)||void 0===n?void 0:n.isSports,isKids:null===(i=e.parametersOptions)||void 0===i?void 0:i.isKids,isNews:null===(a=e.parametersOptions)||void 0===a?void 0:a.isNews,isSeries:null===(o=e.parametersOptions)||void 0===o?void 0:o.isSeries})};return(0,l.jsxs)(l.Fragment,{children:[null==u?void 0:u.map((function(e){var t=e.section,r=e.items;return(0,l.jsx)(ln,{sectionHeaderProps:{title:R.Ay.translate(t.name),url:p(t)},itemsContainerProps:{queryKey:["ProgramSectionWithItems"],reloadItems:c},items:r,cardOptions:fa(fa({},t.cardOptions),{queryKey:["ProgramSectionWithItems"],serverId:null==a?void 0:a.serverId()})},t.type)})),null==f?void 0:f.map((function(e){return(0,l.jsx)(ln,{sectionHeaderProps:{title:e.name},itemsContainerProps:{queryKey:["Timers"],reloadItems:c},items:e.timerInfo,cardOptions:{queryKey:["Timers"],shape:K.G8.BackdropOverflow,showTitle:!0,showParentTitleOrTitle:!0,showAirTime:!0,showAirEndTime:!0,showChannelName:!1,cardLayout:!0,centerText:!1,action:z.s.Edit,cardFooterAside:"none",preferThumb:!0,coverImage:!0,allowBottomPadding:!1,overlayText:!1,showChannelLogo:!0,serverId:null==a?void 0:a.serverId()}},e.name)}))]})},ya=function(e){var t,r,n,i,a,o,u=e.parentId,c=e.currentTab;return c.viewType===L.D.Suggestions?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"padded-top padded-left padded-right padded-bottom",children:(0,l.jsx)(na,{})}),(0,l.jsx)(un,{parentId:u,sectionType:null!==(r=null===(t=c.sectionsView)||void 0===t?void 0:t.suggestionSections)&&void 0!==r?r:[],isMovieRecommendationEnabled:null===(n=c.sectionsView)||void 0===n?void 0:n.isMovieRecommendations})]}):c.viewType===L.D.Programs||c.viewType===L.D.Recordings||c.viewType===L.D.Schedule?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"padded-top padded-left padded-right padded-bottom",children:(0,l.jsx)(na,{})}),(0,l.jsx)(pa,{parentId:u,sectionType:null!==(a=null===(i=c.sectionsView)||void 0===i?void 0:i.programSections)&&void 0!==a?a:[],isUpcomingRecordingsEnabled:null===(o=c.sectionsView)||void 0===o?void 0:o.isLiveTvUpcomingRecordings})]}):c.viewType===L.D.Upcoming?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"padded-top padded-left padded-right padded-bottom",children:(0,l.jsx)(na,{})}),(0,l.jsx)(cn,{parentId:u})]}):c.viewType===L.D.Genres?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"padded-top padded-left padded-right padded-bottom",children:(0,l.jsx)(na,{})}),(0,l.jsx)(fn,{parentId:u,collectionType:c.collectionType,itemType:c.itemType||[]})]}):c.viewType===L.D.Guide?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:"padded-top padded-left padded-right padded-bottom",sx:{position:"relative",zIndex:2},children:(0,l.jsx)(na,{})}),(0,l.jsx)(va,{})]}):(0,l.jsx)(da,{viewType:c.viewType,parentId:u,collectionType:c.collectionType,isPaginationEnabled:c.isPaginationEnabled,isBtnPlayAllEnabled:c.isBtnPlayAllEnabled,isBtnQueueEnabled:c.isBtnQueueEnabled,isBtnShuffleEnabled:c.isBtnShuffleEnabled,isBtnNewCollectionEnabled:c.isBtnNewCollectionEnabled,isBtnFilterEnabled:c.isBtnFilterEnabled,isBtnGridListEnabled:c.isBtnGridListEnabled,isBtnSortEnabled:c.isBtnSortEnabled,isAlphabetPickerEnabled:c.isAlphabetPickerEnabled,itemType:c.itemType||[],noItemsMessage:c.noItemsMessage||"MessageNoItemsAvailable"})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk=self.webpackChunk||[]).push([[99911],{18123:function(){},19319:function(){},21673:function(){},42688:function(){},45956:function(){},79395:function(){}}]);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[17769],{36586:function(e){e.exports={}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[88788],{7397:function(e,t,n){var r=n(30177),a=n(41906);t.A=function(e){var t=e.cell,n=(0,a.Y)().dateFnsLocale;return(0,r.A)(t.getValue(),"Pp",{locale:n})}},36589:function(e,t,n){n.d(t,{O:function(){return s}});var r=n(62540),a=n(92779),o=n(70140),i=n(89348),l=n(51602),c=(n(63696),n(65242)),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},u.apply(this,arguments)},s={enableColumnPinning:!0,enableColumnResizing:!0,enableStickyFooter:!0,enableStickyHeader:!0,muiTableContainerProps:{sx:{maxHeight:"calc(100% - 7rem)"}}};t.A=function(e){var t=e.title,n=e.subtitle,s=e.table,f=e.children,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["title","subtitle","table","children"]);return(0,r.jsxs)(c.A,u({title:t},p,{children:[(0,r.jsxs)(a.A,{className:"content-primary",sx:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,r.jsxs)(o.A,{spacing:2,sx:{marginBottom:1},children:[(0,r.jsx)(i.A,{variant:"h1",children:t}),n&&(0,r.jsx)(i.A,{children:n})]}),(0,r.jsx)(l.zp,{table:s})]}),f]}))}},38742:function(e,t,n){n.d(t,{Y:function(){return i}});var r=n(24698),a=n(80401),o=n(69410),i=function(e){var t=(0,o.gf)().api;return(0,a.I)({queryKey:["ActivityLogEntries",e],queryFn:function(n){var a=n.signal;return function(e,t,n){return a=void 0,o=void 0,l=function(){return function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}(this,(function(a){switch(a.label){case 0:return[4,(0,r.A)(e).getLogEntries(t,{signal:null==n?void 0:n.signal})];case 1:return[2,a.sent().data]}}))},new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{c(l.next(e))}catch(e){t(e)}}function r(e){try{c(l.throw(e))}catch(e){t(e)}}function c(t){var a;t.done?e(t.value):(a=t.value,a instanceof i?a:new i((function(e){e(a)}))).then(n,r)}c((l=l.apply(a,o||[])).next())}));var a,o,i,l}(t,e,{signal:a})},enabled:!!t,refetchOnMount:!1})}},41906:function(e,t,n){n.d(t,{Y:function(){return f}});var r=n(62864),a=n(63696),o=n(5898),i=n(93721),l=n(28626),c=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function l(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}c((r=r.apply(e,t||[])).next())}))},u=function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}},s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i};function f(){var e=this,t=(0,l.Q)(),n=t.dateTimeLocale,f=t.language,p=s((0,a.useState)(r.A),2),d=p[0],y=p[1],v=(0,a.useMemo)((function(){return(0,o.Tl)(f||(0,o.i5)())}),[f]),h=(0,a.useMemo)((function(){return n?(0,o.Tl)(n):v}),[n,v]);return(0,a.useEffect)((function(){c(e,void 0,void 0,(function(){var e,t;return u(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,i.Fq)((0,i.QC)(h))];case 1:return e=n.sent(),y(e),[3,3];case 2:return t=n.sent(),console.warn("[useLocale] failed to fetch dateFns locale",t),[3,3];case 3:return[2]}}))}))}),[h]),{locale:v,dateTimeLocale:h,dateFnsLocale:d}}},43461:function(e,t,n){n.r(t),n.d(t,{Component:function(){return N}});var r,a=n(62540),o=n(34401),i=n(63696),l=n(10104),c=n(96156),u=n(75427),s=n(91884),f=n(51602),p=n(9055),d=n(7397),y=n(36589),v=n(38742),h=n(75487),b=n(58107),g=n(5898),m=function(e){var t=e.row;return t.original.ItemId?(0,a.jsx)(h.A,{size:"large",title:g.Ay.translate("LabelMediaDetails"),component:p.N_,to:"/details?id=".concat(t.original.ItemId),children:(0,a.jsx)(b.A,{fontSize:"inherit"})}):void 0},w=n(71350),x=n(45939),A=function(e){var t=e.level,n=(0,i.useMemo)((function(){return g.Ay.translate("LogLevel.".concat(t))}),[t]);return(0,a.jsx)(w.A,{size:"small",color:(0,x.A)(t),label:n,title:n})},O=function(e){var t=e.cell.getValue();return t?(0,a.jsx)(A,{level:t}):void 0},j=n(37745),S=n(92779),I=n(44072),C=n(72073),k=function(e){var t=e.row.original,n=t.ShortOverview,r=t.Overview,o=null!=n?n:r,l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}((0,i.useState)(!1),2),c=l[0],u=l[1],s=(0,i.useCallback)((function(){u(!1)}),[]),f=(0,i.useCallback)((function(){u(!0)}),[]);return o?(0,a.jsxs)(S.A,{sx:{display:"flex",width:"100%",alignItems:"center"},children:[(0,a.jsx)(S.A,{sx:{flexGrow:1,overflow:"hidden",textOverflow:"ellipsis"},component:"div",title:o,children:o}),n&&r&&(0,a.jsx)(I.x,{onClickAway:s,children:(0,a.jsx)(C.A,{title:r,placement:"top",arrow:!0,onClose:s,open:c,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,children:(0,a.jsx)(h.A,{onClick:f,children:(0,a.jsx)(j.A,{})})})})]}):null},L=n(57227),P=n(92058),z=n(44305),T=function(){return T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},T.apply(this,arguments)},U=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i},F=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},E="useractivity";!function(e){e.All="All",e.User="User",e.System="System"}(r||(r={}));var M=function(e){return null===e?r.All:(0,z.G4)(e)?r.User:r.System},N=function(){var e=U((0,p.ok)(),2),t=e[0],n=e[1],h=U((0,i.useState)(M(t.get(E))),2),b=h[0],w=h[1],x=U((0,i.useState)({pageIndex:0,pageSize:25}),2),A=x[0],j=x[1],S=(0,P.yb)(),I=S.usersById,C=S.names,z=S.isLoading,N=(0,c.A)(),q=function(e){return function(t){var n=t.row;return(0,a.jsx)(L.A,{user:n.original.UserId&&e[n.original.UserId]||void 0})}}(I),B=(0,i.useMemo)((function(){return{startIndex:A.pageIndex*A.pageSize,limit:A.pageSize,hasUserId:b!==r.All?b===r.User:void 0}}),[b,A.pageIndex,A.pageSize]),D=(0,v.Y)(B),G=D.data,K=D.isLoading,R=(0,i.useMemo)((function(){return(null==G?void 0:G.Items)||[]}),[G]),V=(0,i.useMemo)((function(){return(null==G?void 0:G.TotalRecordCount)||0}),[G]),$=z||K,H=(0,i.useMemo)((function(){return b===r.System?[]:[{id:"User",accessorFn:function(e){var t;return e.UserId&&(null===(t=I[e.UserId])||void 0===t?void 0:t.Name)},header:g.Ay.translate("LabelUser"),size:75,Cell:q,enableResizing:!1,muiTableBodyCellProps:{align:"center"},filterVariant:"multi-select",filterSelectOptions:C}]}),[b,C,I,q]),Y=(0,i.useMemo)((function(){return F(F([{id:"Date",accessorFn:function(e){return e.Date?(0,o.A)(e.Date):void 0},header:g.Ay.translate("LabelTime"),size:160,Cell:d.A,filterVariant:"datetime-range"},{accessorKey:"Severity",header:g.Ay.translate("LabelLevel"),size:90,Cell:O,enableResizing:!1,muiTableBodyCellProps:{align:"center"},filterVariant:"multi-select",filterSelectOptions:Object.values(l.$).map((function(e){return g.Ay.translate("LogLevel.".concat(e))}))}],U(H),!1),[{accessorKey:"Name",header:g.Ay.translate("LabelName"),size:270},{id:"Overview",accessorFn:function(e){return e.ShortOverview||e.Overview},header:g.Ay.translate("LabelOverview"),size:170,Cell:k},{accessorKey:"Type",header:g.Ay.translate("LabelType"),size:150},{id:"Actions",accessorFn:function(e){return e.ItemId},header:"",size:60,Cell:m,enableColumnActions:!1,enableColumnFilter:!1,enableResizing:!1,enableSorting:!1}],!1)}),[H]),Q=(0,i.useCallback)((function(e,t){null!==t&&w(t)}),[]);(0,i.useEffect)((function(){M(t.get(E))!==b&&(b===r.All?t.delete(E):t.set(E,"".concat(b===r.User)),n(t))}),[b,t,n]);var _=(0,i.useMemo)((function(){return{baseBackgroundColor:N.palette.background.paper}}),[N]),W=(0,f.Up)(T(T({},y.O),{mrtTheme:_,columns:Y,data:R,initialState:{density:"compact"},state:{isLoading:$,pagination:A},manualPagination:!0,onPaginationChange:j,rowCount:V,renderTopToolbarCustomActions:function(){return(0,a.jsxs)(s.A,{size:"small",value:b,onChange:Q,exclusive:!0,children:[(0,a.jsx)(u.A,{value:r.All,children:g.Ay.translate("All")}),(0,a.jsx)(u.A,{value:r.User,children:g.Ay.translate("LabelUser")}),(0,a.jsx)(u.A,{value:r.System,children:g.Ay.translate("LabelSystem")})]})}}));return(0,a.jsx)(y.A,{id:"serverActivityPage",title:g.Ay.translate("HeaderActivity"),className:"mainAnimatedPage type-interior",table:W})};N.displayName="ActivityPage"},45939:function(e,t,n){var r=n(10104);t.A=function(e){switch(e){case r.$.Information:return"info";case r.$.Warning:return"warning";case r.$.Error:case r.$.Critical:return"error"}}},57227:function(e,t,n){var r=n(62540),a=n(75487),o=(n(63696),n(9055)),i=n(81965),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};t.A=function(e){var t=e.user,n=e.sx;return(null==t?void 0:t.Id)?(0,r.jsx)(a.A,{size:"large",color:"inherit",sx:l({padding:0},n),title:t.Name||void 0,component:o.N_,to:"/dashboard/users/profile?userId=".concat(t.Id),children:(0,r.jsx)(i.A,{user:t})}):void 0}},92058:function(e,t,n){n.d(t,{kp:function(){return c},t5:function(){return l},yb:function(){return u}});var r=n(18879),a=n(80401),o=n(69410),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)},l="Users",c=function(e){var t=(0,o.gf)().api;return(0,a.I)({queryKey:[l],queryFn:function(n){var a=n.signal;return function(e,t,n){return a=void 0,o=void 0,l=function(){return function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}(this,(function(a){switch(a.label){case 0:return[4,(0,r.q)(e).getUsers(t,{signal:null==n?void 0:n.signal})];case 1:return[2,a.sent().data]}}))},new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{c(l.next(e))}catch(e){t(e)}}function r(e){try{c(l.throw(e))}catch(e){t(e)}}function c(t){var a;t.done?e(t.value):(a=t.value,a instanceof i?a:new i((function(e){e(a)}))).then(n,r)}c((l=l.apply(a,o||[])).next())}));var a,o,i,l}(t,e,{signal:a})},enabled:!!t})},u=function(){var e=c(),t=e.data,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["data"]),r={},a=[];return t&&t.forEach((function(e){var t=e.Id;t&&(r[t]=e),e.Name&&a.push(e.Name)})),i({users:t,usersById:r,names:a},n)}}}]);
|