mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
2 lines
143 KiB
JavaScript
2 lines
143 KiB
JavaScript
(this.webpackJsonptorrserver_web=this.webpackJsonptorrserver_web||[]).push([[0],{173:function(e){e.exports=JSON.parse('{"About":"About","Actions":"Actions","Add":"Add","AddDialog":{"AddPosterLinkInput":"Poster link","AddTorrentSourceNotification":"First add your torrent source","AppendFile":{"Or":"OR","ClickOrDrag":"CLICK / DRAG & DROP (.torrent)"},"CustomTorrentTitle":"Custom title (optional)","CustomTorrentTitleHelperText":"Write custom title to find poster","HashExists":"This torrent is already in database","OriginalTorrentTitle":"Original torrent title","TitleBlank":"Title (blank for orig. torrent title)","TorrentSourceLink":"Torrent source link","TorrentSourceOptions":"magnet / hash / .torrent file link","WrongTorrentSource":"Wrong torrent source"},"AddFromLink":"Add from Link","AddNewTorrent":"Add new torrent","B":"B","bps":"bps","Buffer":"Preload Buffer / Cache","BufferNote":"Set Preload Cache Before Play > 32 MB in settings to change preload size","Cache":"Cache","Cancel":"Cancel","Clear":"Clear","Close":"Close","CloseServer?":"Do you want to turn off server?","CloseServer":"Turn Off","CopyHash":"Copy Hash","CopyLink":"Copy link","Data":"Data","Delete":"Delete","DeleteTorrent?":"Delete Torrent?","DeleteTorrents?":"Delete All Torrents?","DetailedCacheView":{"button":"Detailed Cache View","header":"$t(DetailedCacheView.button)"},"Details":"Details","Donate?":"Want to donate?","Donate":"Donate","DownloadPlaylist":"Download Playlist","DownloadSpeed":"Download speed","Drop":"Drop","DropTorrent":"Reset Torrent","Edit":"Edit","EditTorrent":"Edit torrent","Episode":"Episode","FromLatestFile":"From Latest File","Full":"Full","GB":"GB","Gbps":"Gbps","Host":"Host","Info":"Info","KB":"KB","kbps":"kbps","Kilobytes":"Kilobytes","LatestFilePlayed":"Latest file played:","Links":"Links","MB":"MB","Mbps":"Mbps","Name":"Name","NoTorrentsAdded":"No torrents added","Offline":"Offline","OK":"OK","OpenLink":"Open link","Peers":"Peers","PiecesCount":"Pieces count","PiecesLength":"Pieces length","Preload":"Preload","ProjectSource":"Project page","Releases":"TorrServer Releases","RemoveAll":"Remove All","RemoveViews":"Remove View States","Resolution":"Resolution","Save":"Save","ScrollDown":"scroll down","Season":"Season","Sec":"s","Seconds":"Seconds","SelectSeason":"Select Season","SettingsDialog":{"AcceptPeerCon":"Accept Peer Connections","AnnTorrentsToDht":"Periodically Announce Torrents to DHT","AddRetrackers":"Add retrackers","AdditionalSettings":"Additional Settings","CacheBeforeReaderDesc":"from cache will be saved before currently played frame","CacheAfterReaderDesc":"from cache will be loaded after currently played frame","CacheSize":"Cache Size","CacheSettings":"Cache Settings","CacheStorageLocation":"Cache Storage Location","ConnectionsLimit":"Connections Limit","ConnectionsLimitHint":"20-25 recommended","DHT":"DHT (Distributed Hash Table)","DhtConnectionLimit":"DHT Connection Limit","Disk":"Disk","DontAddRetrackers":"Don`t add retrackers","DownloadRateLimit":"Download Rate Limit","ForceEncrypt":"Force Encrypt Headers","PeersListenPort":"Peers Listen Port","PreloadCache":"Preload Cache Before Play","ProMode":"PRO mode","RAM":"RAM","ReaderReadAHead":"Readahead Cache (5-100%, rec. 95%)","RemoveCacheOnDrop":"Remove Cache from Disk on Drop Torrent","RemoveCacheOnDropDesc":"If disabled, cache removed on delete torrent.","RemoveRetrackers":"Remove retrackers","ReplaceRetrackers":"Replace retrackers","RetrackersMode":"Retrackers Mode","ResetToDefault":"Reset to default","Settings":"Settings","TorrentDisconnectTimeout":"Torrent Disconnect Timeout","TorrentsSavePath":"Torrents Save Path","Upload":"Upload (not recommended to disable)","UploadRateLimit":"Upload Rate Limit","UseDiskDesc":"Better use RAM or external storage on flash-based devices","Tabs":{"Main":"Main","Additional":"Additional","AdditionalDisabled":"(enable PRO mode)"}},"Size":"Size","SpecialThanks":"Special Thanks","Speed":"Speed","Support":"Support","TB":"TB","Tbps":"Tbps","ThanksToEveryone":"Thanks to everyone who tested and helped.","TorrentAdded":"Added","TorrentClosed":"\u0421losed","TorrentContent":"Torrent Content","TorrentDetails":"Torrent Details","TorrentGettingInfo":"Getting Info","TorrentInDb":"In DB","TorrentPreload":"Preload","TorrentSize":"Torrent size","TorrentState":"Torrent State","TorrentStatus":"Torrent Status","TorrentWorking":"Active","TurnOff":"Turn Off","UploadFile":"Upload File","UploadSpeed":"Upload speed","Viewed":"Viewed"}')},174:function(e){e.exports=JSON.parse('{"About":"\u041e \u0441\u0435\u0440\u0432\u0435\u0440\u0435","Actions":"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f","Add":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c","AddDialog":{"AddPosterLinkInput":"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u043e\u0441\u0442\u0435\u0440","AddTorrentSourceNotification":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 torrent-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a","AppendFile":{"Or":"\u0418\u041b\u0418","ClickOrDrag":"\u041d\u0410\u0416\u041c\u0418\u0422\u0415 / \u041f\u0415\u0420\u0415\u0422\u0410\u0429\u0418\u0422\u0415 \u0424\u0410\u0419\u041b (.torrent)"},"CustomTorrentTitle":"C\u0432\u043e\u0435 \u0438\u043c\u044f (\u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e)","CustomTorrentTitleHelperText":"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0441\u0442\u0435\u0440","HashExists":"\u042d\u0442\u043e\u0442 \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445","OriginalTorrentTitle":"\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TitleBlank":"\u0418\u043c\u044f (\u043f\u0443\u0441\u0442\u043e\u0435 - \u043e\u0440\u0438\u0433. \u0438\u043c\u044f \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430)","TorrentSourceLink":"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentSourceOptions":"magnet-\u0441\u0441\u044b\u043b\u043a\u0430 / \u0445\u0435\u0448 / \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 .torrent \u0444\u0430\u0439\u043b","WrongTorrentSource":"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 torrent-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a"},"AddFromLink":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c","AddNewTorrent":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0442\u043e\u0440\u0440\u0435\u043d\u0442","B":"\u0411","bps":"\u0431\u0438\u0442/c","Buffer":"\u041f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 / \u041a\u0435\u0448","BufferNote":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0411\u0443\u0444\u0435\u0440 \u043f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 > 32 \u041c\u0411 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","Cache":"\u041a\u0435\u0448","Cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","Clear":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","Close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","CloseServer?":"\u0425\u043e\u0442\u0438\u0442\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440?","CloseServer":"\u0412\u044b\u043a\u043b. \u0441\u0435\u0440\u0432\u0435\u0440","CopyHash":"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0445\u0435\u0448","CopyLink":"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c","Data":"\u0414\u0430\u043d\u043d\u044b\u0435","Delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","DeleteTorrent?":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442?","DeleteTorrents?":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b?","DetailedCacheView":{"button":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043a\u0435\u0448\u0430","header":"\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u0435\u0448\u0430"},"Details":"\u0418\u043d\u0444\u043e","Donate?":"\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442?","Donate":"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430","DownloadPlaylist":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442","DownloadSpeed":"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","Drop":"\u0421\u0431\u0440\u043e\u0441","DropTorrent":"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442","Edit":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c","EditTorrent":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442","Episode":"\u0421\u0435\u0440\u0438\u044f","FromLatestFile":"C \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430","Full":"\u041f\u043e\u043b\u043d\u044b\u0439","GB":"\u0413\u0411","Gbps":"\u0413\u0431\u0438\u0442/c","Host":"\u0425\u043e\u0441\u0442","Info":"\u0418\u043d\u0444\u043e","KB":"\u041a\u0411","kbps":"\u043a\u0431\u0438\u0442/\u0441","Kilobytes":"\u041a\u0438\u043b\u043e\u0431\u0430\u0439\u0442\u044b","LatestFilePlayed":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b:","Links":"\u0421\u0441\u044b\u043b\u043a\u0438","MB":"\u041c\u0411","Mbps":"\u041c\u0431\u0438\u0442/c","Name":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","NoTorrentsAdded":"\u041d\u0435\u0442 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u043e\u0432","Offline":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d","OK":"OK","OpenLink":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c","Peers":"\u041f\u0438\u0440\u044b","PiecesCount":"\u041a\u043e\u043b-\u0432\u043e \u0431\u043b\u043e\u043a\u043e\u0432","PiecesLength":"\u0420\u0430\u0437\u043c\u0435\u0440 \u0431\u043b\u043e\u043a\u0430","Preload":"\u041f\u0440\u0435\u0434\u0437\u0430\u0433\u0440.","ProjectSource":"\u0421\u0430\u0439\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0430","Releases":"\u0420\u0435\u043b\u0438\u0437\u044b TorrServer","RemoveAll":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435","RemoveViews":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b","Resolution":"\u0420\u0430\u0437\u0440\u0435\u0448.","Save":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","ScrollDown":"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u0437","Season":"\u0421\u0435\u0437\u043e\u043d","Sec":"c","Seconds":"\u0421\u0435\u043a\u0443\u043d\u0434\u044b","SelectSeason":"\u0412\u044b\u0431\u043e\u0440 \u0441\u0435\u0437\u043e\u043d\u0430","SettingsDialog":{"AcceptPeerCon":"\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f","AnnTorrentsToDht":"\u0410\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b \u043f\u043e DHT","AddRetrackers":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c","AdditionalSettings":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","CacheBeforeReaderDesc":"\u043e\u0442 \u043a\u0435\u0448\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0437\u0430\u0434\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u043a\u0430\u0434\u0440\u0430","CacheAfterReaderDesc":"\u043a\u0435\u0448\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043f\u0435\u0440\u0435\u0434\u0438 \u043e\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u043a\u0430\u0434\u0440\u0430","CacheSize":"\u0420\u0430\u0437\u043c\u0435\u0440 \u043a\u0435\u0448\u0430","CacheSettings":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0435\u0448\u0430","CacheStorageLocation":"\u041c\u0435\u0441\u0442\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u0435\u0448\u0430","ConnectionsLimit":"\u0422\u043e\u0440\u0440\u0435\u043d\u0442-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f","ConnectionsLimitHint":"\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f 20-25","DHT":"DHT (Distributed Hash Table)","DhtConnectionLimit":"\u041b\u0438\u043c\u0438\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 DHT","Disk":"\u041f\u0417\u0423 / \u041d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c","DontAddRetrackers":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c","DownloadRateLimit":"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","ForceEncrypt":"\u041f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432","PeersListenPort":"\u041f\u043e\u0440\u0442 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439","PreloadCache":"\u0411\u0443\u0444\u0435\u0440 \u043f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","ProMode":"\u041f\u0420\u041e-\u0440\u0435\u0436\u0438\u043c","RAM":"\u041e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c","ReaderReadAHead":"\u041e\u043f\u0435\u0440\u0435\u0436\u0430\u044e\u0449\u0438\u0439 \u043a\u0435\u0448 (5-100%, \u0440\u0435\u043a. 95%)","RemoveCacheOnDrop":"\u041e\u0447\u0438\u0449\u0430\u0442\u044c \u043a\u0435\u0448 \u043f\u0440\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","RemoveCacheOnDropDesc":"\u0415\u0441\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e, \u043a\u0435\u0448 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430.","RemoveRetrackers":"\u0423\u0434\u0430\u043b\u044f\u0442\u044c","ReplaceRetrackers":"\u0417\u0430\u043c\u0435\u043d\u044f\u0442\u044c","RetrackersMode":"\u0420\u0435\u0442\u0440\u0435\u043a\u0435\u0440\u044b","ResetToDefault":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","Settings":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","TorrentDisconnectTimeout":"\u0422\u0430\u0439\u043c-\u0430\u0443\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentsSavePath":"\u041f\u0443\u0442\u044c \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u0435\u0448\u0430","Upload":"\u041e\u0442\u0434\u0430\u0447\u0430 (\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c)","UploadRateLimit":"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u0442\u0434\u0430\u0447\u0438","UseDiskDesc":"\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0438\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0438 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u0441 flash-\u043f\u0430\u043c\u044f\u0442\u044c\u044e","Tabs":{"Main":"\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435","Additional":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435","AdditionalDisabled":"(\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u041f\u0420\u041e-\u0440\u0435\u0436\u0438\u043c)"}},"Size":"\u0420\u0430\u0437\u043c\u0435\u0440","SpecialThanks":"\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e","Speed":"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c","Support":"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c","TB":"\u0422\u0411","Tbps":"\u0422\u0431\u0438\u0442/\u0441","ThanksToEveryone":"\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u043b!","TorrentAdded":"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d","TorrentClosed":"\u0417\u0430\u043a\u0440\u044b\u0442","TorrentContent":"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentDetails":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0435","TorrentGettingInfo":"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u043e","TorrentInDb":"\u0422\u043e\u0440\u0440\u0435\u043d\u0442 \u0432 \u0411\u0414","TorrentPreload":"\u041f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430","TorrentSize":"\u0420\u0430\u0437\u043c\u0435\u0440 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentState":"\u0414\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentStatus":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentWorking":"\u0410\u043a\u0442\u0438\u0432\u0435\u043d","TurnOff":"\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c","UploadFile":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b","UploadSpeed":"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0442\u0434\u0430\u0447\u0438","Viewed":"\u041f\u0440\u043e\u0441\u043c."}')},330:function(e,t){},333:function(e,t){},335:function(e,t){},337:function(e,t){},382:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(18),i=n.n(r),o=n(475),c=n(188),l=n(10),s=n(470),d=n(64),p=n(386),j=n(453),b=n(471),u=n(472),h=n(473),x=n(474),g=window.location,m=g.protocol,O=g.hostname,f=g.port,C="".concat(m,"//").concat(O).concat(f?":".concat(f):""),v=function(){return"".concat(C,"/torrents")},y=function(){return"".concat(C,"/viewed")},w=function(){return"".concat(C,"/settings")},S=function(){return"".concat(C,"/stream")},D=function(){return"".concat(C,"/echo")},k=n(171),T=n(21),P=n.n(T),M=n(23),B=n(451),R=n(452),L=n(454),A=n(73),z=n.n(A),F=n(100),E=n(75),G=n(126),N=n(86),I=n(172),U=n(173),H=n(174);G.a.use(I.a).use(N.e).init({fallbackLng:"en",interpolation:{escapeValue:!1},resources:{en:{translation:U},ru:{translation:H}}});var W=G.a;function V(e){if(!e)return"";var t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(1*(e/Math.pow(1024,t)).toFixed(2)," ").concat([W.t("B"),W.t("KB"),W.t("MB"),W.t("GB"),W.t("TB")][t])}function Z(e){if(!e)return"";var t=Math.floor(Math.log(8*e)/Math.log(1e3));return"".concat(1*(8*e/Math.pow(1e3,t)).toFixed(0)," ").concat([W.t("bps"),W.t("kbps"),W.t("Mbps"),W.t("Gbps"),W.t("Tbps")][t])}function _(e){return e&&e.connected_seeders?"".concat(e.connected_seeders," \xb7 ").concat(e.active_peers," / ").concat(e.total_peers):null}var K=function(e){var t=e;[["(",")"],["[","]"],["{","}"]].forEach((function(e){var n="\\".concat(e[0]),a=new RegExp(n,"g"),r=Object(E.a)(t.matchAll(a)).length,i="\\".concat(e[1]),o=new RegExp(i,"g");if(r!==Object(E.a)(t.matchAll(o)).length){var c="(\\".concat(e[0],")(?!.*\\1).*"),l=new RegExp(c,"g");t=t.replace(l,"")}}));var n=!!t.match(/\.{3}$/g),a=t.replace(/[\\.| ]+$/g,"").trim();return n?"".concat(a,".."):a},J=function(){var e=Object(F.a)(z.a.mark((function e(){var t,n;return z.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P.a.post(v(),{action:"list"});case 3:return t=e.sent,n=t.data,e.abrupt("return",n);case 8:throw e.prev=8,e.t0=e.catch(0),new Error(null);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),Y=n(32),$=n(1),X=function(e){var t=e.color,n=Object(Y.a)().palette.primary.main;return Object($.jsx)("svg",{height:"80px",width:"80px",fill:t||n,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",children:Object($.jsxs)("g",{children:[Object($.jsx)("path",{d:"M18.293,93.801c0.066,0.376,0.284,0.718,0.597,0.937c0.313,0.219,0.708,0.307,1.085,0.241l70.058-12.353 c0.376-0.066,0.718-0.284,0.937-0.597c0.219-0.313,0.307-0.708,0.24-1.085l-9.502-53.891c-0.139-0.79-0.892-1.317-1.682-1.178 l-19.402,3.421L47.997,14.16c0.241-0.706,0.375-1.456,0.375-2.229c0-0.399-0.035-0.804-0.106-1.209C47.671,7.363,44.757,5,41.455,5 c-0.4,0-0.804,0.035-1.209,0.106h0c-3.359,0.595-5.723,3.509-5.723,6.812c0,0.4,0.035,0.804,0.106,1.209 c0.178,1.005,0.567,1.918,1.109,2.709l-6.875,19.061L9.968,38.228c-0.79,0.139-1.317,0.892-1.177,1.682L18.293,93.801z M40.75,7.966L40.75,7.966c0.239-0.042,0.474-0.062,0.705-0.062c1.909,0,3.612,1.373,3.953,3.324v0 c0.042,0.238,0.062,0.473,0.062,0.704c0,1.908-1.373,3.612-3.323,3.953h0.001c-0.238,0.042-0.473,0.062-0.705,0.062 c-1.908,0-3.612-1.373-3.953-3.323c-0.042-0.238-0.062-0.473-0.062-0.705C37.427,10.01,38.799,8.306,40.75,7.966z M38.059,17.96 c1.012,0.569,2.17,0.89,3.383,0.89c0.399,0,0.804-0.034,1.208-0.106h0.001c1.48-0.263,2.766-0.976,3.743-1.974l10.935,13.108 L32.16,34.315L38.059,17.96z M29.978,37.648c0.136-0.004,0.268-0.029,0.396-0.07l29.75-5.246c0.134-0.006,0.266-0.027,0.395-0.07 l18.582-3.277l8.998,51.031L20.9,91.867l-8.998-51.032L29.978,37.648z"}),Object($.jsx)("path",{d:"M49.984,75.561c0.809,0,1.627-0.065,2.449-0.199l0.001,0c7.425-1.213,12.701-7.627,12.701-14.919 c0-0.809-0.065-1.627-0.199-2.449c-1.213-7.425-7.626-12.701-14.919-12.701c-0.808,0-1.627,0.065-2.45,0.199 c-7.425,1.213-12.701,7.626-12.701,14.918c0,0.808,0.065,1.627,0.199,2.449C36.278,70.284,42.692,75.561,49.984,75.561z M51.967,72.496c-0.668,0.109-1.33,0.161-1.983,0.161c-5.883,0-11.079-4.265-12.053-10.265c-0.109-0.668-0.161-1.33-0.161-1.983 c0-2.108,0.555-4.123,1.534-5.892l19.693,14.176C57.206,70.645,54.782,72.039,51.967,72.496z M48.034,48.357L48.034,48.357 c0.668-0.109,1.329-0.161,1.983-0.161c5.882,0,11.079,4.265,12.053,10.265c0.109,0.667,0.161,1.329,0.161,1.983 c0,2.109-0.556,4.127-1.536,5.897L41.001,52.163C42.791,50.21,45.217,48.814,48.034,48.357z"}),Object($.jsx)("polygon",{points:"47.567,45.492 47.567,45.492 47.568,45.491 "})]})})},q=function(){var e=Object(Y.a)().palette.primary.main;return Object($.jsx)("svg",{height:"100px",width:"100px",fill:e,viewBox:"0 0 452 452",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Object($.jsxs)("g",{id:"#000000",children:[Object($.jsx)("path",{opacity:"1.00",d:" M 210.49 18.69 C 244.92 16.12 280.02 22.13 311.46 36.47 C 344.90 51.54 374.16 75.69 395.41 105.58 C 415.62 133.87 428.55 167.34 432.48 201.89 C 438.07 248.86 427.02 297.61 401.45 337.43 C 382.92 366.59 357.02 391.04 326.80 407.80 C 300.81 422.31 271.64 431.08 241.96 433.26 C 207.37 435.97 172.14 429.83 140.54 415.51 C 109.95 401.69 82.82 380.33 62.16 353.86 C 39.25 324.67 24.38 289.21 19.78 252.38 C 14.94 214.51 20.65 175.31 36.47 140.54 C 54.11 101.38 84.24 67.99 121.37 46.39 C 148.44 30.52 179.19 20.98 210.49 18.69 M 213.46 36.60 C 178.91 38.80 145.03 50.71 116.76 70.72 C 84.67 93.21 59.84 125.88 46.91 162.88 C 34.87 196.99 32.96 234.54 41.25 269.73 C 48.89 302.45 65.53 332.98 88.79 357.21 C 113.91 383.56 146.78 402.45 182.25 410.72 C 216.67 418.86 253.37 417.21 286.87 405.85 C 329.85 391.49 367.13 361.01 389.89 321.85 C 406.02 294.41 414.96 262.84 415.73 231.03 C 416.71 196.59 408.11 161.91 390.97 132.00 C 372.31 99.13 343.57 72.09 309.61 55.49 C 279.95 40.89 246.43 34.40 213.46 36.60 Z"}),Object($.jsx)("path",{opacity:"1.00",d:" M 217.02 117.63 C 223.01 117.45 228.99 117.45 234.98 117.63 C 235.16 150.72 234.93 183.81 235.09 216.89 C 268.18 217.03 301.28 216.82 334.38 216.99 C 334.57 222.99 334.57 229.00 334.38 235.01 C 301.28 235.18 268.18 234.97 235.09 235.11 C 234.93 268.19 235.16 301.28 234.98 334.37 C 228.99 334.55 223.00 334.55 217.02 334.37 C 216.84 301.28 217.07 268.19 216.92 235.11 C 183.82 234.97 150.72 235.17 117.62 235.01 C 117.43 229.00 117.43 222.99 117.62 216.99 C 150.72 216.82 183.82 217.03 216.91 216.89 C 217.07 183.81 216.84 150.72 217.02 117.63 Z"})]})})},Q=function(e){var t=e.color,n=e.width,a=Object(Y.a)().palette.primary.main;return Object($.jsxs)("svg",{width:n||"100%",height:"100%",viewBox:"96.96632385253906 377.9800109863281 873.03369140625 310.9999694824219",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 603.05 378.50 C 648.01 378.10 692.99 378.30 737.96 378.24 C 746.80 377.82 755.66 378.04 764.51 378.02 C 764.49 396.01 764.50 414.00 764.50 432.00 C 833.00 432.01 901.50 431.99 970.00 432.00 C 970.00 499.67 970.00 567.33 970.00 635.00 C 941.01 635.01 912.02 634.98 883.04 635.01 C 868.37 635.70 853.70 634.86 839.03 635.00 C 814.19 635.00 789.35 634.99 764.50 635.00 C 764.50 652.99 764.49 670.99 764.51 688.98 C 722.02 688.64 679.51 688.76 637.01 688.76 C 610.36 688.24 583.70 688.61 557.04 688.50 C 535.36 688.64 513.69 688.06 492.00 688.25 C 467.01 688.45 442.03 687.89 417.04 688.00 C 393.35 688.06 369.67 687.54 345.97 687.76 C 331.65 687.28 317.32 687.58 303.00 687.51 C 287.69 686.89 272.35 687.61 257.03 686.99 C 244.25 687.26 231.37 686.92 218.84 684.09 C 183.39 676.56 151.36 655.48 129.16 627.00 C 110.45 603.11 98.57 573.55 97.40 543.09 C 95.46 518.81 100.09 494.17 110.06 471.99 C 126.89 434.21 159.00 403.08 198.12 389.13 C 227.91 377.22 260.63 379.63 292.01 379.76 C 308.00 379.13 324.02 379.87 340.01 379.25 C 355.65 379.17 371.30 379.41 386.95 379.13 C 409.62 378.70 432.32 379.37 455.00 378.74 C 504.35 378.92 553.69 378.31 603.05 378.50 M 348.01 411.51 C 320.98 411.52 293.95 411.45 266.93 411.54 C 256.91 412.17 246.82 411.10 236.84 412.46 C 208.12 415.88 181.14 430.38 161.51 451.48 C 144.71 469.43 133.29 492.57 130.42 517.07 C 124.64 554.31 138.80 593.31 165.32 619.73 C 177.83 632.43 193.39 641.88 210.05 648.05 C 228.40 654.56 248.11 655.87 267.42 655.59 C 319.94 655.19 372.45 655.94 424.97 655.75 C 450.32 655.57 475.67 656.17 501.02 656.00 C 525.32 656.12 549.63 655.73 573.92 656.26 C 626.62 656.05 679.30 656.63 732.00 656.50 C 732.00 574.50 732.00 492.50 732.00 410.51 C 689.66 410.38 647.34 410.94 605.01 410.75 C 587.68 410.55 570.37 411.13 553.05 411.00 C 526.36 411.00 499.67 411.01 472.98 411.00 C 431.33 411.69 389.65 410.81 348.01 411.51 M 764.49 464.27 C 764.51 510.42 764.51 556.58 764.49 602.73 C 822.24 602.77 879.99 602.74 937.74 602.75 C 938.25 556.59 937.90 510.41 937.99 464.25 C 880.16 464.27 822.32 464.23 764.49 464.27 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 842.49 484.02 C 853.57 483.79 864.63 484.32 875.71 484.25 C 876.25 495.35 875.68 506.46 875.04 517.54 C 864.40 517.59 853.77 516.92 843.13 517.38 C 842.74 516.32 842.40 515.20 842.48 514.06 C 842.50 504.04 842.50 494.03 842.49 484.02 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 287.02 517.49 C 345.02 517.51 403.02 517.49 461.02 517.50 C 499.18 517.57 537.34 517.29 575.49 517.75 C 575.51 528.25 575.51 538.75 575.49 549.25 C 531.01 549.74 486.52 549.41 442.04 549.50 C 390.37 549.51 338.69 549.49 287.02 549.51 C 286.99 538.84 286.99 528.16 287.02 517.49 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 842.78 549.74 C 853.53 549.91 864.26 549.51 875.01 549.44 C 875.73 560.52 876.27 571.65 875.71 582.75 C 864.63 582.80 853.57 583.17 842.49 582.99 C 842.69 571.91 842.12 560.80 842.78 549.74 Z"})]})},ee=function(e){var t=e.color,n=e.width,a=Object(Y.a)().palette.primary.main;return Object($.jsxs)("svg",{width:n||"100%",height:"100%",viewBox:"13.928732872009277 69.97769927978516 172.15252685546875 60.067893981933594",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 18.20 70.32 C 19.46 70.07 20.73 69.96 22.01 69.98 C 74.36 70.03 126.72 69.97 179.08 70.01 C 182.16 69.72 185.50 71.74 185.82 74.99 C 186.15 79.61 186.20 84.29 185.78 88.91 C 183.66 90.31 179.87 90.73 180.00 93.99 C 179.86 97.27 183.68 97.69 185.79 99.12 C 186.27 107.07 185.91 115.06 185.99 123.03 C 186.29 126.14 184.25 129.52 180.97 129.83 C 175.33 130.27 169.65 129.88 164.00 130.00 C 147.71 129.85 131.39 130.31 115.12 129.78 C 112.92 127.53 114.51 123.74 113.95 120.86 C 114.67 118.55 111.27 116.64 110.24 119.19 C 109.73 122.42 110.24 125.71 109.79 128.95 C 108.65 130.43 106.57 129.83 104.96 130.03 C 76.94 129.95 48.93 130.04 20.91 129.99 C 17.47 130.37 13.95 127.70 14.07 124.10 C 14.02 115.76 13.75 107.39 14.22 99.07 C 16.33 97.68 20.10 97.27 20.00 94.03 C 20.17 90.71 16.28 90.35 14.20 88.85 C 13.80 84.56 13.92 80.24 14.07 75.94 C 14.03 73.43 15.75 70.97 18.20 70.32 M 18.23 75.15 C 17.73 78.78 18.05 82.46 18.02 86.11 C 21.05 87.67 24.20 90.21 23.99 94.00 C 24.20 97.79 21.03 100.31 18.01 101.89 C 18.15 109.55 17.67 117.24 18.22 124.87 C 18.45 125.10 18.90 125.56 19.13 125.78 C 26.06 126.33 33.03 125.84 39.98 126.00 C 39.99 123.36 40.01 120.72 40.09 118.08 C 62.07 117.87 84.05 118.10 106.03 117.96 C 107.62 116.17 109.32 113.83 112.02 114.00 C 114.70 113.85 116.37 116.19 117.96 117.96 C 131.94 118.09 145.93 117.88 159.91 118.08 C 159.98 120.72 160.01 123.36 160.02 126.00 C 166.94 125.83 173.90 126.34 180.80 125.78 C 181.05 125.57 181.54 125.14 181.78 124.93 C 182.32 117.28 181.85 109.57 181.99 101.90 C 178.96 100.31 175.78 97.79 176.01 93.99 C 175.79 90.20 178.94 87.66 181.98 86.11 C 181.94 82.47 182.27 78.80 181.77 75.19 C 181.16 73.66 179.34 74.17 178.06 73.99 C 126.04 74.00 74.01 74.01 21.99 73.99 C 20.69 74.16 18.91 73.67 18.23 75.15 M 42.00 120.00 C 42.00 122.00 42.00 124.00 42.00 126.00 C 43.33 126.00 44.67 126.00 46.00 126.00 C 46.00 124.00 46.00 122.00 46.00 120.00 C 44.67 120.00 43.33 120.00 42.00 120.00 M 48.00 120.00 C 48.00 122.00 48.00 124.00 48.00 126.00 C 49.33 126.00 50.67 126.00 52.00 126.00 C 52.00 124.00 52.00 122.00 52.00 120.00 C 50.67 120.00 49.33 120.00 48.00 120.00 M 54.00 120.00 C 54.00 122.00 54.00 124.00 54.00 126.00 C 55.33 126.00 56.67 126.00 58.00 126.00 C 58.00 124.00 58.00 122.00 58.00 120.00 C 56.67 120.00 55.33 120.00 54.00 120.00 M 60.00 120.00 C 60.00 122.00 60.00 124.00 60.00 126.00 C 61.33 126.00 62.67 126.00 64.00 126.00 C 64.00 124.00 64.00 122.00 64.00 120.00 C 62.67 120.00 61.33 120.00 60.00 120.00 M 66.00 120.00 C 66.00 122.00 66.00 124.00 66.00 126.00 C 67.33 126.00 68.67 126.00 70.00 126.00 C 70.00 124.00 70.00 122.00 70.00 120.00 C 68.67 120.00 67.33 120.00 66.00 120.00 M 72.00 120.00 C 72.00 122.00 72.00 124.00 72.00 126.00 C 73.33 126.00 74.67 126.00 76.00 126.00 C 76.00 124.00 76.00 122.00 76.00 120.00 C 74.67 120.00 73.33 120.00 72.00 120.00 M 78.00 120.00 C 78.00 122.00 78.00 124.00 78.00 126.00 C 79.33 126.00 80.67 126.00 82.00 126.00 C 82.00 124.00 82.00 122.00 82.00 120.00 C 80.67 120.00 79.33 120.00 78.00 120.00 M 84.00 120.00 C 84.00 122.00 84.00 124.00 84.00 126.00 C 85.33 126.00 86.67 126.00 88.00 126.00 C 88.00 124.00 88.00 122.00 88.00 120.00 C 86.67 120.00 85.33 120.00 84.00 120.00 M 90.00 120.00 C 90.00 122.00 90.00 124.00 90.00 126.00 C 91.33 126.00 92.67 126.00 94.00 126.00 C 94.00 124.00 94.00 122.00 94.00 120.00 C 92.67 120.00 91.33 120.00 90.00 120.00 M 96.00 120.00 C 96.00 122.00 96.00 124.00 96.00 126.00 C 97.33 126.00 98.67 126.00 100.00 126.00 C 100.00 124.00 100.00 122.00 100.00 120.00 C 98.67 120.00 97.33 120.00 96.00 120.00 M 102.00 120.00 C 102.00 122.00 102.00 124.00 102.00 126.00 C 103.33 126.00 104.67 126.00 106.00 126.00 C 106.00 124.00 106.00 122.00 106.00 120.00 C 104.67 120.00 103.33 120.00 102.00 120.00 M 118.00 120.00 C 118.00 122.00 118.00 124.00 118.00 126.00 C 119.33 126.00 120.67 126.00 122.00 126.00 C 122.00 124.00 122.00 122.00 122.00 120.00 C 120.67 120.00 119.33 120.00 118.00 120.00 M 124.00 120.00 C 124.00 122.00 124.00 124.00 124.00 126.00 C 125.33 126.00 126.67 126.00 128.00 126.00 C 128.00 124.00 128.00 122.00 128.00 120.00 C 126.67 120.00 125.33 120.00 124.00 120.00 M 130.00 120.00 C 130.00 122.00 130.00 124.00 130.00 126.00 C 131.33 126.00 132.67 126.00 134.00 126.00 C 134.00 124.00 134.00 122.00 134.00 120.00 C 132.67 120.00 131.33 120.00 130.00 120.00 M 136.00 120.00 C 136.00 122.00 136.00 124.00 136.00 126.00 C 137.33 126.00 138.67 126.00 140.00 126.00 C 140.00 124.00 140.00 122.00 140.00 120.00 C 138.67 120.00 137.33 120.00 136.00 120.00 M 142.00 120.00 C 142.00 122.00 142.00 124.00 142.00 126.00 C 143.33 126.00 144.66 126.00 146.00 126.00 C 146.00 124.00 146.00 122.00 146.00 120.00 C 144.67 120.00 143.33 120.00 142.00 120.00 M 148.00 120.00 C 148.00 122.00 148.00 124.00 148.00 126.00 C 149.33 126.00 150.66 126.00 152.00 126.00 C 152.00 124.00 152.00 122.00 152.00 120.00 C 150.67 120.00 149.33 120.00 148.00 120.00 M 154.00 120.00 C 154.00 122.00 154.00 124.00 154.00 126.00 C 155.33 126.00 156.66 126.00 158.00 126.00 C 158.00 124.00 158.00 122.00 158.00 120.00 C 156.67 120.00 155.33 120.00 154.00 120.00 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 30.03 81.93 C 29.85 80.12 30.82 77.95 32.93 78.11 C 37.91 77.93 42.93 77.74 47.89 78.25 C 50.98 79.21 49.68 83.33 50.10 85.77 C 49.59 85.78 48.57 85.80 48.06 85.80 C 48.01 83.89 47.96 81.98 47.90 80.08 C 42.62 79.96 37.35 79.96 32.08 80.08 C 31.95 89.36 31.95 98.64 32.08 107.91 C 37.36 108.05 42.64 108.05 47.92 107.91 C 48.02 104.01 48.01 100.11 48.02 96.21 C 48.51 96.21 49.48 96.21 49.97 96.20 C 49.93 100.09 50.29 104.01 49.76 107.87 C 49.40 110.05 46.77 109.95 45.09 110.01 C 40.74 109.96 36.36 110.29 32.04 109.74 C 29.91 109.31 30.07 106.74 29.99 105.08 C 30.02 97.37 29.93 89.65 30.03 81.93 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 56.08 78.25 C 61.33 77.80 66.67 77.79 71.92 78.25 C 74.45 78.84 73.88 82.03 74.03 83.96 C 73.88 91.66 74.20 99.37 73.89 107.07 C 73.99 110.35 68.80 111.17 67.40 108.44 C 68.91 108.19 70.43 107.96 71.95 107.75 C 72.01 98.53 72.08 89.30 71.91 80.08 C 66.64 79.96 61.36 79.96 56.08 80.08 C 55.95 89.35 55.95 98.63 56.08 107.90 C 58.65 107.98 61.23 108.01 63.80 108.04 C 63.80 108.54 63.78 109.52 63.78 110.02 C 60.75 109.51 55.74 111.45 54.25 107.89 C 53.63 99.96 54.19 91.96 53.97 84.00 C 54.13 82.06 53.53 78.84 56.08 78.25 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 79.38 78.49 C 84.51 77.49 89.88 78.03 95.10 78.12 C 97.17 77.98 98.14 80.11 97.97 81.89 C 98.04 89.96 98.04 98.04 97.97 106.11 C 98.13 107.87 97.20 109.99 95.14 109.88 C 90.11 110.08 85.02 110.27 80.01 109.73 C 77.91 109.26 78.05 106.71 77.99 105.04 C 77.99 97.70 77.99 90.35 77.99 83.01 C 78.12 81.47 77.82 79.41 79.38 78.49 M 80.08 80.08 C 79.95 89.36 79.95 98.64 80.08 107.92 C 85.36 108.04 90.64 108.04 95.92 107.92 C 96.05 98.64 96.05 89.36 95.92 80.08 C 90.64 79.96 85.36 79.96 80.08 80.08 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 103.34 78.52 C 108.47 77.46 113.88 78.05 119.12 78.12 C 121.20 77.99 122.14 80.13 121.97 81.91 C 122.04 89.97 122.04 98.04 121.97 106.10 C 122.14 107.87 121.19 110.00 119.12 109.88 C 114.37 110.13 109.59 110.13 104.85 109.88 C 102.80 109.99 101.86 107.88 102.03 106.13 C 101.92 98.40 102.03 90.66 101.99 82.93 C 102.13 81.44 101.84 79.43 103.34 78.52 M 104.08 80.08 C 103.95 89.36 103.95 98.64 104.08 107.92 C 109.36 108.05 114.64 108.04 119.92 107.92 C 120.06 98.64 120.05 89.36 119.92 80.08 C 114.64 79.96 109.36 79.95 104.08 80.08 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 127.43 78.45 C 131.88 77.51 136.52 78.12 141.04 77.99 C 143.01 77.87 145.98 78.22 145.88 80.86 C 146.19 88.89 145.92 96.94 146.01 104.98 C 145.93 106.67 146.12 109.28 143.96 109.74 C 141.40 110.19 138.79 109.99 136.21 110.02 C 136.21 109.52 136.21 108.53 136.21 108.04 C 138.78 108.01 141.35 107.98 143.92 107.91 C 144.05 98.63 144.06 89.35 143.92 80.08 C 138.64 79.96 133.36 79.96 128.09 80.08 C 128.02 82.64 127.99 85.21 127.96 87.78 C 127.47 87.79 126.48 87.79 125.99 87.79 C 126.38 84.77 124.90 80.72 127.43 78.45 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 151.38 78.48 C 155.82 77.48 160.48 78.14 165.01 77.99 C 167.01 77.85 170.02 78.25 169.89 80.92 C 170.18 88.94 169.92 96.98 170.01 105.01 C 170.13 107.00 169.77 109.99 167.12 109.88 C 162.10 110.07 157.02 110.27 152.02 109.74 C 149.89 109.27 150.05 106.67 149.99 104.99 C 149.99 97.64 149.99 90.30 149.99 82.95 C 150.12 81.43 149.84 79.39 151.38 78.48 M 152.08 80.08 C 151.95 89.36 151.95 98.64 152.08 107.92 C 157.36 108.04 162.64 108.04 167.92 107.92 C 168.05 98.64 168.05 89.36 167.92 80.08 C 162.64 79.96 157.36 79.96 152.08 80.08 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 48.01 88.19 C 48.50 88.19 49.49 88.19 49.99 88.19 C 49.98 90.06 49.98 91.92 49.99 93.78 C 49.49 93.79 48.51 93.79 48.01 93.79 C 48.01 91.92 48.01 90.06 48.01 88.19 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 126.01 92.19 C 126.51 92.19 127.49 92.19 127.99 92.19 C 127.98 94.06 127.98 95.93 127.98 97.80 C 127.49 97.79 126.50 97.78 126.01 97.78 C 126.01 95.91 126.01 94.05 126.01 92.19 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 125.98 100.19 C 126.48 100.19 127.47 100.19 127.96 100.19 C 127.99 102.75 128.02 105.32 128.08 107.88 C 129.98 107.95 131.89 108.01 133.81 108.07 C 133.80 108.57 133.78 109.59 133.77 110.10 C 131.39 109.71 128.07 110.79 126.45 108.53 C 125.66 105.83 126.07 102.96 125.98 100.19 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 24.41 112.66 C 27.59 110.67 32.28 113.20 32.00 117.04 C 32.18 120.52 28.24 123.02 25.11 121.66 C 21.33 120.42 20.93 114.50 24.41 112.66 M 26.15 114.12 C 24.25 114.47 23.50 116.93 24.38 118.50 C 25.45 120.81 29.45 120.37 29.89 117.81 C 30.58 115.59 28.37 113.39 26.15 114.12 Z"}),Object($.jsx)("path",{fill:t||a,opacity:"1.00",d:" M 170.48 112.62 C 173.67 110.70 178.29 113.25 178.00 117.06 C 178.16 120.55 174.19 123.04 171.06 121.64 C 167.28 120.35 166.95 114.41 170.48 112.62 M 172.11 114.13 C 169.72 114.60 169.28 118.30 171.30 119.51 C 173.13 120.90 176.17 119.39 175.97 117.02 C 176.16 114.97 173.98 113.54 172.11 114.13 Z"})]})},te=function(){var e=Object(Y.a)().palette.primary.main,t="#00a572"===e?"#74c39c":"#4a5255";return Object($.jsxs)("svg",{width:"150px",height:"150px",viewBox:"0 0 512 512",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[Object($.jsxs)("g",{id:e,children:[Object($.jsx)("path",{fill:e,opacity:"1.00",d:" M 102.41 0.00 L 319.87 0.00 C 320.21 29.68 319.87 59.37 320.04 89.05 C 320.29 97.32 323.88 105.47 329.94 111.12 C 336.01 117.07 344.56 120.18 353.01 120.01 C 382.02 119.87 411.04 120.22 440.05 119.83 C 439.94 236.88 440.04 353.93 440.00 470.98 C 440.01 478.16 440.50 485.68 437.47 492.41 C 432.79 503.85 421.05 511.80 408.71 512.00 L 103.28 512.00 C 90.95 511.79 79.20 503.84 74.53 492.42 C 72.06 486.96 71.87 480.87 71.99 474.97 C 72.01 327.63 71.99 180.30 72.00 32.96 C 71.95 27.61 73.03 22.22 75.52 17.46 C 80.55 7.39 91.19 0.57 102.41 0.00 M 360.00 382.07 C 358.69 383.73 359.01 385.99 358.90 387.97 C 358.95 396.36 358.91 404.75 358.93 413.14 C 352.50 403.51 346.13 393.83 339.77 384.16 C 338.65 382.47 337.13 380.65 334.92 380.63 C 331.97 380.41 329.13 382.87 329.22 385.89 C 328.94 396.58 329.24 407.28 329.08 417.98 C 329.14 420.43 328.85 422.98 329.54 425.38 C 330.75 429.14 337.11 428.63 337.54 424.63 C 338.19 415.09 337.55 405.51 337.83 395.95 C 343.71 404.78 349.41 413.73 355.26 422.58 C 356.92 424.93 358.74 427.96 362.00 428.00 C 365.02 428.51 367.54 425.83 367.40 422.90 C 367.55 411.27 367.39 399.62 367.48 387.99 C 367.40 386.11 367.63 384.06 366.61 382.38 C 365.24 380.16 361.58 380.00 360.00 382.07 M 100.79 382.81 C 98.94 384.82 100.19 388.63 103.01 388.89 C 106.91 389.29 110.85 388.97 114.77 389.07 C 114.77 399.73 114.78 410.39 114.75 421.05 C 114.76 423.37 114.89 426.34 117.28 427.52 C 119.95 429.02 123.67 427.14 123.86 424.04 C 124.22 412.40 123.84 400.72 124.04 389.07 C 128.25 388.87 132.57 389.54 136.71 388.62 C 140.15 387.40 139.25 381.72 135.61 381.56 C 126.10 381.14 116.55 381.57 107.03 381.37 C 104.95 381.53 102.34 381.06 100.79 382.81 M 156.46 381.58 C 150.26 383.15 145.11 388.05 143.12 394.11 C 140.49 401.86 140.79 410.83 144.81 418.06 C 151.07 429.05 167.20 430.79 177.27 424.26 C 183.48 420.06 186.24 412.28 186.28 405.03 C 186.43 398.11 184.59 390.56 179.19 385.85 C 173.03 380.52 164.12 379.62 156.46 381.58 M 197.74 381.67 C 195.24 381.99 194.12 384.61 194.23 386.87 C 194.06 397.92 194.27 408.97 194.15 420.02 C 194.24 422.43 193.92 425.36 195.97 427.11 C 198.62 429.25 203.28 427.47 203.31 423.89 C 203.66 418.45 203.32 412.99 203.49 407.54 C 206.76 407.72 210.68 407.24 213.15 409.89 C 217.60 414.61 220.01 420.80 223.85 425.97 C 225.63 428.66 230.20 428.72 231.83 425.86 C 232.87 424.27 231.80 422.43 231.24 420.89 C 228.63 415.38 225.17 409.99 220.02 406.56 C 223.42 405.53 227.11 404.31 229.29 401.31 C 233.14 395.94 231.83 387.34 226.14 383.76 C 221.99 381.01 216.77 381.52 212.04 381.39 C 207.28 381.52 202.48 381.08 197.74 381.67 M 240.23 386.91 C 240.19 398.28 240.20 409.66 240.22 421.03 C 240.25 423.12 240.14 425.65 241.97 427.09 C 244.58 429.23 249.25 427.52 249.33 423.98 C 249.76 418.50 249.34 413.00 249.49 407.51 C 252.77 407.64 256.62 407.29 259.13 409.85 C 263.88 414.69 266.10 421.38 270.41 426.55 C 272.74 429.20 278.48 428.00 278.28 424.04 C 276.28 417.09 271.87 410.81 266.09 406.46 C 269.75 405.55 273.64 404.05 275.74 400.71 C 278.91 395.49 277.81 387.82 272.73 384.18 C 268.85 381.14 263.64 381.44 259.00 381.41 C 254.02 381.52 249.02 381.13 244.05 381.58 C 241.41 381.77 240.05 384.51 240.23 386.91 M 286.38 386.01 C 286.17 397.35 286.39 408.70 286.27 420.04 C 286.31 422.30 286.17 425.31 288.52 426.53 C 291.20 427.60 294.20 427.07 297.03 427.21 C 304.36 427.04 311.73 427.52 319.04 426.95 C 322.44 426.37 322.43 420.75 319.05 420.15 C 311.25 419.44 303.38 420.13 295.56 419.82 C 295.59 415.47 295.58 411.12 295.58 406.78 C 302.60 406.71 309.65 407.09 316.66 406.54 C 320.07 405.84 319.57 399.91 315.98 399.96 C 309.20 399.54 302.39 399.95 295.59 399.80 C 295.57 396.05 295.57 392.30 295.58 388.55 C 303.03 388.43 310.50 388.74 317.94 388.37 C 321.67 388.25 321.80 381.95 318.11 381.66 C 309.41 381.03 300.65 381.57 291.93 381.42 C 289.16 381.15 286.27 383.00 286.38 386.01 M 375.06 381.95 C 372.19 383.34 372.77 388.27 375.95 388.84 C 379.96 389.33 384.02 388.96 388.05 389.08 C 387.92 400.08 388.05 411.07 387.99 422.07 C 387.75 424.61 389.07 427.71 391.95 427.92 C 394.85 428.51 397.33 425.86 397.14 423.05 C 397.37 411.73 397.16 400.40 397.23 389.08 C 401.42 388.89 405.69 389.52 409.82 388.64 C 413.41 387.46 412.48 381.48 408.64 381.52 C 400.79 381.23 392.93 381.50 385.08 381.39 C 381.74 381.50 378.31 381.05 375.06 381.95 Z"}),Object($.jsx)("path",{fill:e,opacity:"1.00",d:" M 160.39 388.45 C 164.79 387.33 170.01 388.38 173.03 391.97 C 176.12 395.52 177.00 400.46 176.87 405.04 C 176.76 409.47 175.56 414.16 172.29 417.34 C 167.50 421.98 158.82 421.68 154.58 416.43 C 150.59 411.44 150.26 404.45 151.51 398.43 C 152.46 393.85 155.68 389.57 160.39 388.45 Z"}),Object($.jsx)("path",{fill:e,opacity:"1.00",d:" M 203.47 388.42 C 208.28 388.55 213.18 387.93 217.93 388.93 C 222.82 390.10 223.71 398.14 218.81 399.89 C 213.88 401.57 208.52 400.89 203.40 400.90 C 203.44 396.73 203.45 392.57 203.47 388.42 Z"}),Object($.jsx)("path",{fill:e,opacity:"1.00",d:" M 249.45 388.38 C 254.29 388.56 259.22 387.96 264.00 388.94 C 268.52 390.07 269.67 397.04 265.66 399.44 C 260.63 401.83 254.85 400.80 249.47 400.94 C 249.51 396.75 249.48 392.57 249.45 388.38 Z"})]}),Object($.jsx)("g",{id:t,children:Object($.jsx)("path",{fill:t,opacity:"1.00",d:" M 319.87 0.00 L 320.20 0.00 C 360.20 39.89 400.19 79.79 440.05 119.83 C 411.04 120.22 382.02 119.87 353.01 120.01 C 344.56 120.18 336.01 117.07 329.94 111.12 C 323.88 105.47 320.29 97.32 320.04 89.05 C 319.87 59.37 320.21 29.68 319.87 0.00 Z"})}),Object($.jsxs)("g",{id:"#fdfdfd",children:[Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 360.00 382.07 C 361.58 380.00 365.24 380.16 366.61 382.38 C 367.63 384.06 367.40 386.11 367.48 387.99 C 367.39 399.62 367.55 411.27 367.40 422.90 C 367.54 425.83 365.02 428.51 362.00 428.00 C 358.74 427.96 356.92 424.93 355.26 422.58 C 349.41 413.73 343.71 404.78 337.83 395.95 C 337.55 405.51 338.19 415.09 337.54 424.63 C 337.11 428.63 330.75 429.14 329.54 425.38 C 328.85 422.98 329.14 420.43 329.08 417.98 C 329.24 407.28 328.94 396.58 329.22 385.89 C 329.13 382.87 331.97 380.41 334.92 380.63 C 337.13 380.65 338.65 382.47 339.77 384.16 C 346.13 393.83 352.50 403.51 358.93 413.14 C 358.91 404.75 358.95 396.36 358.90 387.97 C 359.01 385.99 358.69 383.73 360.00 382.07 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 100.79 382.81 C 102.34 381.06 104.95 381.53 107.03 381.37 C 116.55 381.57 126.10 381.14 135.61 381.56 C 139.25 381.72 140.15 387.40 136.71 388.62 C 132.57 389.54 128.25 388.87 124.04 389.07 C 123.84 400.72 124.22 412.40 123.86 424.04 C 123.67 427.14 119.95 429.02 117.28 427.52 C 114.89 426.34 114.76 423.37 114.75 421.05 C 114.78 410.39 114.77 399.73 114.77 389.07 C 110.85 388.97 106.91 389.29 103.01 388.89 C 100.19 388.63 98.94 384.82 100.79 382.81 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 156.46 381.58 C 164.12 379.62 173.03 380.52 179.19 385.85 C 184.59 390.56 186.43 398.11 186.28 405.03 C 186.24 412.28 183.48 420.06 177.27 424.26 C 167.20 430.79 151.07 429.05 144.81 418.06 C 140.79 410.83 140.49 401.86 143.12 394.11 C 145.11 388.05 150.26 383.15 156.46 381.58 M 160.39 388.45 C 155.68 389.57 152.46 393.85 151.51 398.43 C 150.26 404.45 150.59 411.44 154.58 416.43 C 158.82 421.68 167.50 421.98 172.29 417.34 C 175.56 414.16 176.76 409.47 176.87 405.04 C 177.00 400.46 176.12 395.52 173.03 391.97 C 170.01 388.38 164.79 387.33 160.39 388.45 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 197.74 381.67 C 202.48 381.08 207.28 381.52 212.04 381.39 C 216.77 381.52 221.99 381.01 226.14 383.76 C 231.83 387.34 233.14 395.94 229.29 401.31 C 227.11 404.31 223.42 405.53 220.02 406.56 C 225.17 409.99 228.63 415.38 231.24 420.89 C 231.80 422.43 232.87 424.27 231.83 425.86 C 230.20 428.72 225.63 428.66 223.85 425.97 C 220.01 420.80 217.60 414.61 213.15 409.89 C 210.68 407.24 206.76 407.72 203.49 407.54 C 203.32 412.99 203.66 418.45 203.31 423.89 C 203.28 427.47 198.62 429.25 195.97 427.11 C 193.92 425.36 194.24 422.43 194.15 420.02 C 194.27 408.97 194.06 397.92 194.23 386.87 C 194.12 384.61 195.24 381.99 197.74 381.67 M 203.47 388.42 C 203.45 392.57 203.44 396.73 203.40 400.90 C 208.52 400.89 213.88 401.57 218.81 399.89 C 223.71 398.14 222.82 390.10 217.93 388.93 C 213.18 387.93 208.28 388.55 203.47 388.42 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 240.23 386.91 C 240.05 384.51 241.41 381.77 244.05 381.58 C 249.02 381.13 254.02 381.52 259.00 381.41 C 263.64 381.44 268.85 381.14 272.73 384.18 C 277.81 387.82 278.91 395.49 275.74 400.71 C 273.64 404.05 269.75 405.55 266.09 406.46 C 271.87 410.81 276.28 417.09 278.28 424.04 C 278.48 428.00 272.74 429.20 270.41 426.55 C 266.10 421.38 263.88 414.69 259.13 409.85 C 256.62 407.29 252.77 407.64 249.49 407.51 C 249.34 413.00 249.76 418.50 249.33 423.98 C 249.25 427.52 244.58 429.23 241.97 427.09 C 240.14 425.65 240.25 423.12 240.22 421.03 C 240.20 409.66 240.19 398.28 240.23 386.91 M 249.45 388.38 C 249.48 392.57 249.51 396.75 249.47 400.94 C 254.85 400.80 260.63 401.83 265.66 399.44 C 269.67 397.04 268.52 390.07 264.00 388.94 C 259.22 387.96 254.29 388.56 249.45 388.38 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 286.38 386.01 C 286.27 383.00 289.16 381.15 291.93 381.42 C 300.65 381.57 309.41 381.03 318.11 381.66 C 321.80 381.95 321.67 388.25 317.94 388.37 C 310.50 388.74 303.03 388.43 295.58 388.55 C 295.57 392.30 295.57 396.05 295.59 399.80 C 302.39 399.95 309.20 399.54 315.98 399.96 C 319.57 399.91 320.07 405.84 316.66 406.54 C 309.65 407.09 302.60 406.71 295.58 406.78 C 295.58 411.12 295.59 415.47 295.56 419.82 C 303.38 420.13 311.25 419.44 319.05 420.15 C 322.43 420.75 322.44 426.37 319.04 426.95 C 311.73 427.52 304.36 427.04 297.03 427.21 C 294.20 427.07 291.20 427.60 288.52 426.53 C 286.17 425.31 286.31 422.30 286.27 420.04 C 286.39 408.70 286.17 397.35 286.38 386.01 Z"}),Object($.jsx)("path",{fill:"#fdfdfd",opacity:"1.00",d:" M 375.06 381.95 C 378.31 381.05 381.74 381.50 385.08 381.39 C 392.93 381.50 400.79 381.23 408.64 381.52 C 412.48 381.48 413.41 387.46 409.82 388.64 C 405.69 389.52 401.42 388.89 397.23 389.08 C 397.16 400.40 397.37 411.73 397.14 423.05 C 397.33 425.86 394.85 428.51 391.95 427.92 C 389.07 427.71 387.75 424.61 387.99 422.07 C 388.05 411.07 387.92 400.08 388.05 389.08 C 384.02 388.96 379.96 389.33 375.95 388.84 C 372.77 388.27 372.19 383.34 375.06 381.95 Z"})]})]})},ne=n(387),ae=n(442),re=n(24),ie=n.n(re),oe=n(441),ce=n(484),le=function(e){var t=Object(a.useState)({}),n=Object(l.a)(t,2),r=n[0],i=n[1],o=Object(a.useRef)(!0),c=Object(a.useRef)(null);return Object(a.useEffect)((function(){return function(){o.current=!1}}),[]),Object(a.useEffect)((function(){return e?c.current=setInterval((function(){var t=function(e){return o.current&&i(e)};P.a.post("".concat(C,"/cache"),{action:"get",hash:e}).then((function(e){var n=e.data;return t(n)})).catch((function(){return t({})}))}),100):clearInterval(c.current),function(){return clearInterval(c.current)}}),[e]),r},se=n(428),de=n(430),pe=n(431),je=n(106),be=n.n(je),ue=n(432),he=Object(se.a)((function(e){return{appBar:{position:"relative"},title:{marginLeft:"6px",flex:1}}}));function xe(e){var t=e.title,n=e.onClose,a=e.onBack,r=Object(ce.a)().t,i=he();return Object($.jsx)(de.a,{className:i.appBar,children:Object($.jsxs)(pe.a,{children:[Object($.jsx)(p.a,{edge:"start",color:"inherit",onClick:a||n,"aria-label":"close",children:a?Object($.jsx)(ue.a,{}):Object($.jsx)(be.a,{})}),Object($.jsx)(d.a,{variant:"h6",className:i.title,children:t}),a&&Object($.jsx)(ne.a,{autoFocus:!0,color:"inherit",onClick:n,children:r("Close")})]})})}var ge,me,Oe,fe,Ce,ve,ye,we,Se,De,ke,Te=n(181),Pe=n(84),Me=n.n(Pe),Be=n(195),Re=n(433),Le=n(29),Ae={light:{app:{headerToggleColor:"#4db380",appSecondaryColor:"#cbe8d9",sidebarBGColor:"#575757",sidebarFillColor:"#dee3e5"},torrentCard:{accentCardColor:"#337a57",buttonBGColor:Object(Le.a)("#337a57",.5),cardPrimaryColor:"#00a572",cardSecondaryColor:"#74c39c"},dialogTorrentDetailsContent:{posterBGColor:"#74c39c",gradientStartColor:"#e4f6ed",gradientEndColor:"#b5dec9",chacheSectionBGColor:"#88cdaa",widgetFontColor:"#fff",titleFontColor:"#000",subNameFontColor:"#7c7b7c",torrentFilesSectionBGColor:"#f1eff3"},detailedView:{gradientStartColor:"#e4f6ed",gradientEndColor:"#b5dec9",cacheSectionBGColor:"#fff"},addDialog:{gradientStartColor:"#e4f6ed",gradientEndColor:"#b5dec9",fontColor:"#000",notificationErrorBGColor:"#cda184",notificationSuccessBGColor:"#88cdaa",languageSwitchBGColor:"#74c39c",languageSwitchFontColor:"#e4f6ed",posterBGColor:"#74c39c"},torrentFunctions:{fontColor:"#000"},table:{defaultPrimaryColor:"#009879",defaultSecondaryColor:"#00a383",defaultTertiaryColor:"#03aa89"},settingsDialog:{contentBG:"#f1eff3",footerBG:"#fff"}},dark:{app:{headerToggleColor:"#545a5e",appSecondaryColor:"#545a5e",sidebarBGColor:"#323637",sidebarFillColor:"#dee3e5"},torrentCard:{accentCardColor:"#323637",buttonBGColor:Object(Le.a)("#323637",.5),cardPrimaryColor:"#545a5e",cardSecondaryColor:Object(Le.a)("#dee3e5",.4)},dialogTorrentDetailsContent:{posterBGColor:Object(Le.a)("#dee3e5",.4),gradientStartColor:"#656f76",gradientEndColor:"#545a5e",chacheSectionBGColor:"#3c4244",widgetFontColor:Object(Le.a)("#fff",.8),titleFontColor:"#f1eff3",subNameFontColor:"#dee3e5",torrentFilesSectionBGColor:Object(Le.a)("#545a5e",.9)},detailedView:{gradientStartColor:"#656f76",gradientEndColor:"#545a5e",cacheSectionBGColor:"#dee3e5"},addDialog:{gradientStartColor:"#656f76",gradientEndColor:"#545a5e",fontColor:"#fff",notificationErrorBGColor:"#c82e3f",notificationSuccessBGColor:"#323637",languageSwitchBGColor:"#545a5e",languageSwitchFontColor:"#dee3e5",posterBGColor:"#dee3e5"},torrentFunctions:{fontColor:"#f1eff3"},table:{defaultPrimaryColor:"#323637",defaultSecondaryColor:Object(Le.a)("#545a5e",.9),defaultTertiaryColor:"#545a5e"},settingsDialog:{contentBG:"#5a6166",footerBG:"#323637"}}},ze={light:{primary:"#00a572",secondary:"#00a572",labels:Object(Le.a)("#000",.9)},dark:{primary:"#323637",secondary:"#dee3e5",labels:Object(Le.a)("#fff",.9)}},Fe="light",Ee="dark",Ge="auto",Ne={fontFamily:"Open Sans, sans-serif"},Ie=(Object(Be.a)({typography:Ne,palette:{type:Ee,primary:{main:ze.dark.primary},secondary:{main:ze.dark.secondary}}}),Object(Be.a)({typography:Ne,palette:{type:Fe,primary:{main:ze.light.primary},secondary:{main:ze.light.secondary}}})),Ue=n(4),He=n(3),We={dark:{default:{borderWidth:2,pieceSize:14,gapBetweenPieces:3,borderColor:ze.dark.secondary,completeColor:Object(Le.a)(ze.dark.primary,.65),backgroundColor:"#f1eff3",progressColor:ze.dark.secondary,readerColor:"#000",rangeColor:"#cda184"},mini:{cacheMaxHeight:340,borderWidth:2,pieceSize:23,gapBetweenPieces:6,borderColor:"#545a5e",completeColor:"#545a5e",backgroundColor:"#dee3e5",progressColor:"#dee3e5",readerColor:"#000",rangeColor:"#cda184"}},light:{default:{borderWidth:1,pieceSize:14,gapBetweenPieces:3,borderColor:"#dbf2e8",completeColor:ze.light.primary,backgroundColor:"#fff",progressColor:"#b3dfc9",readerColor:"#000",rangeColor:"#afa6e3"},mini:{cacheMaxHeight:340,borderWidth:2,pieceSize:23,gapBetweenPieces:6,borderColor:"#4db380",completeColor:"#4db380",backgroundColor:"#dbf2e8",progressColor:"#dbf2e8",readerColor:"#2d714f",rangeColor:"#afa6e3"}}},Ve=He.d.div(ge||(ge=Object(Ue.a)(["\n margin-top: 10px;\n text-transform: uppercase;\n color: rgba(0, 0, 0, 0.5);\n align-self: center;\n"]))),Ze=He.d.div(me||(me=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isMini,n=e.themeType;return Object(He.c)(Oe||(Oe=Object(Ue.a)(["\n ","\n\n canvas {\n display: block;\n }\n "])),t&&Object(He.c)(fe||(fe=Object(Ue.a)(["\n display: grid;\n justify-content: center;\n max-height: ","px;\n overflow: auto;\n "])),We[n].mini.cacheMaxHeight))})),_e=function(e){var t,n=e.cache,r=e.isMini,i=Object(ce.a)().t,o=Object(a.useState)({width:0,height:0}),c=Object(l.a)(o,2),s=c[0],d=c[1],p=s.width,j=Object(a.useRef)(null),b=Object(a.useRef)(null),u=function(e){var t=Object(a.useState)([]),n=Object(l.a)(t,2),r=n[0],i=n[1];return Object(a.useEffect)((function(){for(var t=e.PiecesCount,n=e.Pieces,a=e.Readers,r=[],o=function(e){var t=n[e]||{},i=t.Size,o=t.Length,c={id:e,percentage:i/o*100||0};a.forEach((function(t){e===t.Reader&&(c.isReader=!0),e>=t.Start&&e<=t.End&&(c.isReaderRange=!0)})),r.push(c)},c=0;c<t;c++)o(c);i(r)}),[e]),r}(n),h=r?"mini":"default",x=Object(a.useContext)(Go).isDarkMode?Ee:Fe,g=We[x][h],m=g.readerColor,O=g.rangeColor,f=g.borderWidth,C=g.pieceSize,v=g.gapBetweenPieces,y=g.backgroundColor,w=g.borderColor,S=g.cacheMaxHeight,D=g.completeColor,k=r?.93*p:p,T=C+v,P=Math.floor(k/T);r&&(t=function(e){var t=e.cacheMap,n=e.preloadPiecesAmount,a=e.piecesInOneRow,r=t.filter((function(e){return e.percentage>0})),i=function(e){return e%a===0?e-1:e+a-e%a-1||0},o=i(n),c=i(r.length),l=Math.max(c,o)-r.length+1,s=l?new Array(l).fill({}):[];return[].concat(Object(E.a)(r),Object(E.a)(s))}({cacheMap:u,preloadPiecesAmount:Math.round(n.Capacity/n.PiecesLength-1),piecesInOneRow:P}));var M=r?t:u,B=Math.ceil((k-T*P)/2),R=Math.ceil(M.length/P)*T;return Object(a.useEffect)((function(){if(k&&R){var e=j.current;e.width=k,e.height=R,b.current=e.getContext("2d")}}),[j,R,k]),Object(a.useEffect)((function(){var e=b.current;e&&(e.clearRect(0,0,k,R),M.forEach((function(t,n){var a=t.percentage,r=t.isReader,i=t.isReaderRange,o=a>0&&a<100,c=100===a,l=n%P,s=Math.floor(n/P),d=f%2===0?0:.5,p=Math.ceil(f/2)+1+d,j=l*C+l*v+B+p,b=s*C+s*v+p;e.lineWidth=f,e.fillStyle=o?function(e,t,n,a){var r=We[n][a],i=r.pieceSize,o=r.completeColor,c=r.progressColor,l=e.createLinearGradient(0,i,0,0);return l.addColorStop(0,o),l.addColorStop(t/100,o),l.addColorStop(t/100,c),l.addColorStop(1,c),l}(e,a,x,h):c?D:y,e.strokeStyle=r?m:o||c?D:i?O:w,e.translate(j,b),e.fillRect(0,0,C,C),e.strokeRect(0,0,C,C),e.setTransform(1,0,0,1,0,0)})))}),[u,R,k,P,B,C,v,M,y,w,f,h,D,m,O,x]),Object($.jsx)(Te.a,{bounds:!0,onResize:function(e){var t=e.bounds;return d(t)},children:function(e){var t=e.measureRef;return Object($.jsxs)("div",{style:{display:"flex",flexDirection:"column"},ref:t,children:[Object($.jsx)(Ze,{themeType:x,isMini:r,children:Object($.jsx)("canvas",{ref:j})}),r&&R>=S&&Object($.jsx)(Ve,{children:i("ScrollDown")})]})}})},Ke=Object(a.memo)(_e,(function(e,t){return Me()(e.cache.Pieces,t.cache.Pieces)&&Me()(e.cache.Readers,t.cache.Readers)})),Je=n(85),Ye=n.n(Je),$e="#bdbdbd",Xe=Object(He.c)(Ce||(Ce=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.table.defaultPrimaryColor;return Object(He.c)(ve||(ve=Object(Ue.a)(["\n :before {\n content: '';\n width: 10px;\n height: 10px;\n background: ",";\n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n "])),t)})),qe=He.d.table(ye||(ye=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.table.defaultPrimaryColor;return Object(He.c)(we||(we=Object(Ue.a)(["\n border-collapse: collapse;\n margin: 25px 0;\n font-size: 0.9em;\n width: 100%;\n border-radius: 5px 5px 0 0;\n overflow: hidden;\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);\n color: #000;\n\n thead tr {\n background: ",";\n color: #fff;\n text-align: left;\n text-transform: uppercase;\n }\n\n th,\n td {\n padding: 12px 15px;\n }\n\n tbody tr {\n border-bottom: 1px solid ",";\n background: ",";\n\n :last-of-type {\n border-bottom: 2px solid ",";\n }\n\n &.viewed-file-row {\n background: ",";\n }\n }\n\n td {\n &.viewed-file-indicator {\n position: relative;\n\n ","\n }\n }\n\n .button-cell {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 10px;\n }\n\n @media (max-width: 970px) {\n display: none;\n }\n "])),t,"#ddd","#fff",t,"#f3f3f3",Xe)})),Qe=He.d.div(Se||(Se=Object(Ue.a)(["\n display: grid;\n gap: 20px;\n grid-template-columns: repeat(2, 1fr);\n display: none;\n\n @media (max-width: 970px) {\n display: grid;\n }\n\n @media (max-width: 820px) {\n gap: 15px;\n grid-template-columns: 1fr;\n }\n"]))),et=He.d.div(De||(De=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isViewed,n=e.theme.table,a=n.defaultPrimaryColor,r=n.defaultSecondaryColor,i=n.defaultTertiaryColor;return Object(He.c)(ke||(ke=Object(Ue.a)(["\n width: 100%;\n grid-template-rows: repeat(3, max-content);\n border-radius: 5px;\n overflow: hidden;\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);\n\n .short-table {\n &-name {\n background: ",";\n display: grid;\n place-items: center;\n padding: 15px;\n color: #fff;\n text-transform: uppercase;\n font-size: 15px;\n font-weight: bold;\n\n @media (max-width: 880px) {\n font-size: 13px;\n padding: 10px;\n }\n }\n &-data {\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: ",";\n grid-auto-columns: 1fr;\n }\n &-field {\n display: grid;\n grid-template-rows: 30px 1fr;\n background: black;\n :not(:last-child) {\n border-right: 1px solid ",";\n }\n\n &-name {\n background: ",";\n color: #fff;\n text-transform: uppercase;\n font-size: 12px;\n font-weight: 500;\n display: grid;\n place-items: center;\n padding: 0 10px;\n\n @media (max-width: 880px) {\n font-size: 11px;\n }\n }\n\n &-value {\n background: ",";\n display: grid;\n place-items: center;\n color: #fff;\n font-size: 15px;\n padding: 15px 10px;\n position: relative;\n\n @media (max-width: 880px) {\n font-size: 13px;\n padding: 12px 8px;\n }\n }\n }\n\n &-viewed-indicator {\n ","\n }\n\n &-buttons {\n padding: 20px;\n border-bottom: 2px solid ",";\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n align-items: center;\n gap: 20px;\n background: #fff;\n\n @media (max-width: 410px) {\n gap: 10px;\n grid-template-columns: 1fr;\n }\n }\n }\n "])),t?$e:a,t?"max-content":"1fr",t?$e:a,t?"#c4c4c4":r,t?"#c9c9c9":i,t&&Xe,t?$e:a)})),tt=n(0).memo;ie.a.addHandler("episode",/(\d{1,4})[- |. ]\u0441\u0435\u0440\u0438\u044f|\u0441\u0435\u0440\u0438\u044f[- |. ](\d{1,4})/i,{type:"integer"}),ie.a.addHandler("season",/sezon[- |. ](\d{1,3})|(\d{1,3})[- |. ]sezon/i,{type:"integer"}),ie.a.addHandler("season",/\u0441\u0435\u0437\u043e\u043d[- |. ](\d{1,3})|(\d{1,3})[- |. ]\u0441\u0435\u0437\u043e\u043d/i,{type:"integer"});var nt,at,rt,it,ot,ct,lt,st,dt,pt,jt,bt,ut,ht,xt,gt,mt,Ot,ft,Ct,vt,yt,wt,St,Dt,kt,Tt,Pt,Mt,Bt,Rt,Lt,At,zt,Ft,Et,Gt,Nt=tt((function(e){var t=e.playableFileList,n=e.viewedFileList,a=e.selectedSeason,r=e.seasonAmount,i=e.hash,o=Object(ce.a)().t,c=function(e){return fetch("".concat(S(),"?link=").concat(i,"&index=").concat(e,"&preload"))},l=function(e,t){return"".concat(S(),"/").concat(encodeURIComponent(e.split("\\").pop().split("/").pop()),"?link=").concat(i,"&index=").concat(t,"&play")},s=!!(null===t||void 0===t?void 0:t.find((function(e){var t=e.path;return ie.a.parse(t).episode}))),d=!!(null===t||void 0===t?void 0:t.find((function(e){var t=e.path;return ie.a.parse(t).season}))),p=!!(null===t||void 0===t?void 0:t.find((function(e){var t=e.path;return ie.a.parse(t).resolution}))),j=t.length>1&&!s;return(null===t||void 0===t?void 0:t.length)?Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(qe,{children:[Object($.jsx)("thead",{children:Object($.jsxs)("tr",{children:[Object($.jsx)("th",{style:{width:"0"},children:o("Viewed")}),Object($.jsx)("th",{children:o("Name")}),d&&1===(null===r||void 0===r?void 0:r.length)&&Object($.jsx)("th",{style:{width:"0"},children:o("Season")}),s&&Object($.jsx)("th",{style:{width:"0"},children:o("Episode")}),p&&Object($.jsx)("th",{style:{width:"0"},children:o("Resolution")}),Object($.jsx)("th",{style:{width:"100px"},children:o("Size")}),Object($.jsx)("th",{style:{width:"400px"},children:o("Actions")})]})}),Object($.jsx)("tbody",{children:t.map((function(e){var t=e.id,i=e.path,b=e.length,u=ie.a.parse(i),h=u.title,x=u.resolution,g=u.episode,m=u.season,O=null===n||void 0===n?void 0:n.includes(t),f=l(i,t);return(m===a||!(null===r||void 0===r?void 0:r.length))&&Object($.jsxs)("tr",{className:O?"viewed-file-row":null,children:[Object($.jsx)("td",{"data-label":"viewed",className:O?"viewed-file-indicator":null}),Object($.jsx)("td",{"data-label":"name",children:j?i:h}),d&&1===(null===r||void 0===r?void 0:r.length)&&Object($.jsx)("td",{"data-label":"season",children:m}),s&&Object($.jsx)("td",{"data-label":"episode",children:g}),p&&Object($.jsx)("td",{"data-label":"resolution",children:x}),Object($.jsx)("td",{"data-label":"size",children:V(b)}),Object($.jsx)("td",{children:Object($.jsxs)("div",{className:"button-cell",children:[Object($.jsx)(ne.a,{onClick:function(){return c(t)},variant:"outlined",color:"primary",size:"small",children:o("Preload")}),Object($.jsx)("a",{style:{textDecoration:"none"},href:f,target:"_blank",rel:"noreferrer",children:Object($.jsx)(ne.a,{style:{width:"100%"},variant:"outlined",color:"primary",size:"small",children:o("OpenLink")})}),Object($.jsx)(Ye.a,{text:f,children:Object($.jsx)(ne.a,{variant:"outlined",color:"primary",size:"small",children:o("CopyLink")})})]})})]},t)}))})]}),Object($.jsx)(Qe,{children:t.map((function(e){var t=e.id,i=e.path,b=e.length,u=ie.a.parse(i),h=u.title,x=u.resolution,g=u.episode,m=u.season,O=null===n||void 0===n?void 0:n.includes(t),f=l(i,t);return(m===a||!(null===r||void 0===r?void 0:r.length))&&Object($.jsxs)(et,{isViewed:O,children:[Object($.jsx)("div",{className:"short-table-name",children:j?i:h}),Object($.jsxs)("div",{className:"short-table-data",children:[O&&Object($.jsxs)("div",{className:"short-table-field",children:[Object($.jsx)("div",{className:"short-table-field-name",children:o("Viewed")}),Object($.jsx)("div",{className:"short-table-field-value",children:Object($.jsx)("div",{className:"short-table-viewed-indicator"})})]}),d&&1===(null===r||void 0===r?void 0:r.length)&&Object($.jsxs)("div",{className:"short-table-field",children:[Object($.jsx)("div",{className:"short-table-field-name",children:o("Season")}),Object($.jsx)("div",{className:"short-table-field-value",children:m})]}),s&&Object($.jsxs)("div",{className:"short-table-field",children:[Object($.jsx)("div",{className:"short-table-field-name",children:o("Episode")}),Object($.jsx)("div",{className:"short-table-field-value",children:g})]}),p&&Object($.jsxs)("div",{className:"short-table-field",children:[Object($.jsx)("div",{className:"short-table-field-name",children:o("Resolution")}),Object($.jsx)("div",{className:"short-table-field-value",children:x})]}),Object($.jsxs)("div",{className:"short-table-field",children:[Object($.jsx)("div",{className:"short-table-field-name",children:o("Size")}),Object($.jsx)("div",{className:"short-table-field-value",children:V(b)})]})]}),Object($.jsxs)("div",{className:"short-table-buttons",children:[Object($.jsx)(ne.a,{onClick:function(){return c(t)},variant:"outlined",color:"primary",size:"small",children:o("Preload")}),Object($.jsx)("a",{style:{textDecoration:"none"},href:f,target:"_blank",rel:"noreferrer",children:Object($.jsx)(ne.a,{style:{width:"100%"},variant:"outlined",color:"primary",size:"small",children:o("OpenLink")})}),Object($.jsx)(Ye.a,{text:f,children:Object($.jsx)(ne.a,{variant:"outlined",color:"primary",size:"small",children:o("CopyLink")})})]})]},t)}))})]}):"No playable files in this torrent"}),(function(e,t){return Me()(e,t)})),It=He.d.div(nt||(nt=Object(Ue.a)(["\n display: grid;\n grid-template-columns: 70% 1fr;\n grid-template-rows: repeat(2, min-content);\n grid-template-areas:\n 'main cache'\n 'file-list file-list';\n\n @media (max-width: 1450px) {\n grid-template-columns: 1fr;\n grid-template-rows: repeat(3, min-content);\n grid-template-areas:\n 'main'\n 'cache'\n 'file-list';\n }\n"]))),Ut=He.d.div(at||(at=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.poster,n=e.theme.dialogTorrentDetailsContent.posterBGColor;return Object(He.c)(rt||(rt=Object(Ue.a)(["\n height: 400px;\n border-radius: 5px;\n overflow: hidden;\n align-self: center;\n\n ","\n\n @media (max-width: 1280px) {\n align-self: start;\n }\n\n @media (max-width: 840px) {\n ","\n }\n "])),t?Object(He.c)(it||(it=Object(Ue.a)(["\n img {\n border-radius: 5px;\n height: 100%;\n }\n "]))):Object(He.c)(ot||(ot=Object(Ue.a)(["\n width: 300px;\n display: grid;\n place-items: center;\n background: ",";\n\n svg {\n transform: scale(2.5) translateY(-3px);\n }\n "])),n),t?Object(He.c)(ct||(ct=Object(Ue.a)(["\n height: 200px;\n "]))):Object(He.c)(lt||(lt=Object(Ue.a)(["\n display: none;\n "]))))})),Ht=He.d.section(st||(st=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent,n=t.gradientStartColor,a=t.gradientEndColor;return Object(He.c)(dt||(dt=Object(Ue.a)(["\n grid-area: main;\n padding: 40px;\n display: grid;\n grid-template-columns: min-content 1fr;\n gap: 30px;\n background: linear-gradient(145deg, ",", ",");\n\n @media (max-width: 840px) {\n grid-template-columns: 1fr;\n }\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),n,a)})),Wt=He.d.section(pt||(pt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.chacheSectionBGColor;return Object(He.c)(jt||(jt=Object(Ue.a)(["\n grid-area: cache;\n padding: 40px;\n display: grid;\n align-content: start;\n grid-template-rows: min-content 1fr min-content;\n background: ",";\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),t)})),Vt=He.d.section(bt||(bt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.torrentFilesSectionBGColor;return Object(He.c)(ut||(ut=Object(Ue.a)(["\n grid-area: file-list;\n padding: 40px;\n box-shadow: inset 3px 25px 8px -25px rgba(0, 0, 0, 0.5);\n background: ",";\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),t)})),Zt=He.d.div(ht||(ht=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.subNameFontColor;return Object(He.c)(xt||(xt=Object(Ue.a)(["\n ","\n "])),(function(e){var n=e.mb;return Object(He.c)(gt||(gt=Object(Ue.a)(["\n ",";\n color: ",";\n\n @media (max-width: 800px) {\n ",";\n font-size: 11px;\n }\n "])),n&&"margin-bottom: ".concat(n,"px"),t,n&&"margin-bottom: ".concat(n/2,"px"))}))})),_t=He.d.div(mt||(mt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.color,n=e.theme.dialogTorrentDetailsContent.titleFontColor;return Object(He.c)(Ot||(Ot=Object(Ue.a)(["\n ","\n "])),(function(e){var a=e.mb;return Object(He.c)(ft||(ft=Object(Ue.a)(["\n ",";\n font-size: 35px;\n font-weight: 300;\n line-height: 1;\n word-break: break-word;\n color: ",";\n\n @media (max-width: 800px) {\n font-size: 25px;\n ",";\n }\n "])),a&&"margin-bottom: ".concat(a,"px"),t||n,a&&"margin-bottom: ".concat(a/2,"px"))}))})),Kt=He.d.div(Ct||(Ct=Object(Ue.a)(["\n margin-bottom: 20px;\n"]))),Jt=He.d.div(vt||(vt=Object(Ue.a)(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(max-content, 220px));\n gap: 20px;\n\n @media (max-width: 800px) {\n gap: 15px;\n }\n @media (max-width: 410px) {\n gap: 10px;\n }\n\n ","\n"])),(function(e){return e.detailedView?Object(He.c)(yt||(yt=Object(Ue.a)(["\n @media (max-width: 800px) {\n grid-template-columns: repeat(2, 1fr);\n }\n @media (max-width: 410px) {\n grid-template-columns: 1fr;\n }\n "]))):Object(He.c)(wt||(wt=Object(Ue.a)(["\n @media (max-width: 800px) {\n grid-template-columns: repeat(auto-fit, minmax(max-content, 185px));\n }\n @media (max-width: 480px) {\n grid-template-columns: 1fr 1fr;\n }\n @media (max-width: 390px) {\n grid-template-columns: 1fr;\n }\n "])))})),Yt=He.d.div(St||(St=Object(Ue.a)(["\n display: grid;\n grid-template-columns: 40px 1fr;\n grid-template-rows: min-content 50px;\n grid-template-areas:\n 'title title'\n 'icon value';\n\n > * {\n display: grid;\n place-items: center;\n }\n\n @media (max-width: 800px) {\n grid-template-columns: 30px 1fr;\n grid-template-rows: min-content 40px;\n }\n"]))),$t=He.d.div(Dt||(Dt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.titleFontColor;return Object(He.c)(kt||(kt=Object(Ue.a)(["\n grid-area: title;\n justify-self: start;\n text-transform: uppercase;\n font-size: 11px;\n margin-bottom: 2px;\n font-weight: 600;\n color: ",";\n "])),t)})),Xt=He.d.div(Tt||(Tt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.bgColor;return Object(He.c)(Pt||(Pt=Object(Ue.a)(["\n grid-area: icon;\n color: ",";\n background: ",";\n border-radius: 5px 0 0 5px;\n\n @media (max-width: 800px) {\n > svg {\n width: 50%;\n }\n }\n "])),Object(Le.a)("#fff",.8),t)})),qt=He.d.div(Mt||(Mt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.bgColor,n=e.theme.dialogTorrentDetailsContent.widgetFontColor;return Object(He.c)(Bt||(Bt=Object(Ue.a)(["\n grid-area: value;\n padding: 0 20px;\n color: ",";\n font-size: 25px;\n background: ",";\n border-radius: 0 5px 5px 0;\n\n @media (max-width: 800px) {\n font-size: 18px;\n padding: 0 4px;\n }\n "])),n,t)})),Qt=He.d.div.attrs((function(e){var t=e.value,n=e.fullAmount,a=e.theme.dialogTorrentDetailsContent.gradientEndColor,r=Math.min(100,100*t/n);return{style:{background:"linear-gradient(to right, ".concat(a," 0%, ").concat(a," ").concat(r,"%, #fff ").concat(r,"%, #fff 100%)")}}}))(Rt||(Rt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.label;return Object(He.c)(Lt||(Lt=Object(Ue.a)(["\n border: 1px solid;\n padding: 10px 20px;\n border-radius: 5px;\n color: #000;\n\n :before {\n content: '","';\n display: grid;\n place-items: center;\n font-size: 20px;\n }\n "])),t)})),en=He.d.div(At||(At=Object(Ue.a)(["\n height: 1px;\n background-color: rgba(0, 0, 0, 0.12);\n margin: 30px 0;\n"]))),tn=He.d.section(zt||(zt=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.detailedView,n=t.gradientStartColor,a=t.gradientEndColor;return Object(He.c)(Ft||(Ft=Object(Ue.a)(["\n padding: 40px;\n background: linear-gradient(145deg, ",", ",");\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),n,a)})),nn=He.d.section(Et||(Et=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.detailedView.cacheSectionBGColor;return Object(He.c)(Gt||(Gt=Object(Ue.a)(["\n padding: 40px;\n box-shadow: inset 3px 25px 8px -25px rgba(0, 0, 0, 0.5);\n background: ",";\n flex: 1;\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),t)})),an=n(59),rn=n(434),on=n(435),cn=n(436),ln=n(437),sn=n(438),dn=n(439),pn=n(440);function jn(e){var t=e.icon,n=e.title,a=e.value,r=e.iconBg,i=e.valueBg;return Object($.jsxs)(Yt,{children:[Object($.jsx)($t,{children:n}),Object($.jsx)(Xt,{bgColor:r,children:Object($.jsx)(t,{})}),Object($.jsx)(qt,{bgColor:i,children:a})]})}var bn=Fe,un=Ee,hn={light:{downloadSpeed:{iconBGColor:"#118f00",valueBGColor:"#13a300"},uploadSpeed:{iconBGColor:"#0146ad",valueBGColor:"#0058db"},peers:{iconBGColor:"#cdc118",valueBGColor:"#d8cb18"},piecesCount:{iconBGColor:"#b6c95e",valueBGColor:"#c0d076"},piecesLength:{iconBGColor:"#0982c8",valueBGColor:"#098cd7"},status:{iconBGColor:"#aea25b",valueBGColor:"#b4aa6e"},size:{iconBGColor:"#9b01ad",valueBGColor:"#ac03bf"}},dark:{downloadSpeed:{iconBGColor:"#0c6600",valueBGColor:"#0d7000"},uploadSpeed:{iconBGColor:"#003f9e",valueBGColor:"#0047b3"},peers:{iconBGColor:"#a69c11",valueBGColor:"#b4a913"},piecesCount:{iconBGColor:"#8da136",valueBGColor:"#99ae3d"},piecesLength:{iconBGColor:"#07659c",valueBGColor:"#0872af"},status:{iconBGColor:"#938948",valueBGColor:"#9f9450"},size:{iconBGColor:"#81008f",valueBGColor:"#9102a1"}}};function xn(e){var t=Object(a.useContext)(Go).isDarkMode;return hn[t?un:bn][e]}var gn,mn,On,fn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("downloadSpeed"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("DownloadSpeed"),value:Z(t)||"0 ".concat(n("bps")),iconBg:r,valueBg:i,icon:rn.a})},Cn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("uploadSpeed"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("UploadSpeed"),value:Z(t)||"0 ".concat(n("bps")),iconBg:r,valueBg:i,icon:on.a})},vn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("peers"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("Peers"),value:_(t)||"0 \xb7 0 / 0",iconBg:r,valueBg:i,icon:cn.a})},yn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("piecesCount"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("PiecesCount"),value:t,iconBg:r,valueBg:i,icon:ln.a})},wn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("piecesLength"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("PiecesLength"),value:V(t),iconBg:r,valueBg:i,icon:sn.a})},Sn=function(e){var t,n=e.stat,a=Object(ce.a)().t,r=(t={},Object(an.a)(t,1,a("TorrentGettingInfo")),Object(an.a)(t,2,a("TorrentPreload")),Object(an.a)(t,3,a("TorrentWorking")),Object(an.a)(t,4,a("TorrentClosed")),Object(an.a)(t,5,a("TorrentInDb")),t),i=xn("status"),o=i.iconBGColor,c=i.valueBGColor;return Object($.jsx)(jn,{title:a("TorrentStatus"),value:r[n],iconBg:o,valueBg:c,icon:dn.a})},Dn=function(e){var t=e.data,n=Object(ce.a)().t,a=xn("size"),r=a.iconBGColor,i=a.valueBGColor;return Object($.jsx)(jn,{title:n("TorrentSize"),value:V(t),iconBg:r,valueBg:i,icon:pn.a})};function kn(e){var t=e.downloadSpeed,n=e.uploadSpeed,a=e.torrent,r=e.torrentSize,i=e.PiecesCount,o=e.PiecesLength,c=e.stat,l=e.cache,s=Object(ce.a)().t;return Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(tn,{children:[Object($.jsx)(_t,{mb:20,children:s("Data")}),Object($.jsxs)(Jt,{detailedView:!0,children:[Object($.jsx)(fn,{data:t}),Object($.jsx)(Cn,{data:n}),Object($.jsx)(vn,{data:a}),Object($.jsx)(Dn,{data:r}),Object($.jsx)(yn,{data:i}),Object($.jsx)(wn,{data:o}),Object($.jsx)(Sn,{stat:c})]})]}),Object($.jsxs)(nn,{children:[Object($.jsx)(_t,{color:"#000",mb:20,children:s("Cache")}),Object($.jsx)(Ke,{cache:l})]})]})}var Tn=He.d.div(gn||(gn=Object(Ue.a)(["\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 20px;\n\n :not(:last-child) {\n margin-bottom: 30px;\n }\n\n @media (max-width: 1580px) {\n grid-template-columns: repeat(2, 1fr);\n }\n\n @media (max-width: 880px) {\n grid-template-columns: 1fr;\n }\n"]))),Pn=He.d.div(mn||(mn=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.mb,n=e.theme.torrentFunctions.fontColor;return Object(He.c)(On||(On=Object(Ue.a)(["\n ",";\n font-size: 20px;\n font-weight: 300;\n line-height: 1;\n color: ",";\n\n @media (max-width: 800px) {\n font-size: 18px;\n ",";\n }\n "])),t&&"margin-bottom: ".concat(t,"px"),n,t&&"margin-bottom: ".concat(t/1.5,"px"))})),Mn=Object(a.memo)((function(e){var t,n=e.hash,a=e.viewedFileList,r=e.playableFileList,i=e.name,o=e.title,c=e.setViewedFileList,l=Object(ce.a)().t,s=null===a||void 0===a?void 0:a[(null===a||void 0===a?void 0:a.length)-1],d=null===r||void 0===r||null===(t=r.find((function(e){return e.id===s})))||void 0===t?void 0:t.path,p=1===(null===r||void 0===r?void 0:r.length),j=d&&ie.a.parse(d),b="".concat("".concat(C,"/stream"),"/").concat(encodeURIComponent(i||o||"file"),".m3u?link=").concat(n,"&m3u"),u="".concat(b,"&fromlast");return Object($.jsxs)($.Fragment,{children:[!p&&!!(null===a||void 0===a?void 0:a.length)&&Object($.jsxs)($.Fragment,{children:[Object($.jsx)(Pn,{children:l("DownloadPlaylist")}),Object($.jsxs)(Zt,{mb:10,children:[Object($.jsx)("strong",{children:l("LatestFilePlayed")})," ",null===j||void 0===j?void 0:j.title,".",(null===j||void 0===j?void 0:j.season)&&Object($.jsxs)($.Fragment,{children:[" ",l("Season"),": ",null===j||void 0===j?void 0:j.season,". ",l("Episode"),": ",null===j||void 0===j?void 0:j.episode,"."]})]}),Object($.jsxs)(Tn,{children:[Object($.jsx)("a",{style:{textDecoration:"none"},href:b,children:Object($.jsx)(ne.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("Full")})}),Object($.jsx)("a",{style:{textDecoration:"none"},href:u,children:Object($.jsx)(ne.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("FromLatestFile")})})]})]}),Object($.jsx)(Pn,{mb:10,children:l("TorrentState")}),Object($.jsxs)(Tn,{children:[Object($.jsx)(ne.a,{onClick:function(){return P.a.post(y(),{action:"rem",hash:n,file_index:-1}).then((function(){return c()}))},variant:"contained",color:"primary",size:"large",children:l("RemoveViews")}),Object($.jsx)(ne.a,{onClick:function(){return P.a.post(v(),{action:"drop",hash:n})},variant:"contained",color:"primary",size:"large",children:l("DropTorrent")})]}),Object($.jsx)(Pn,{mb:10,children:l("Info")}),Object($.jsxs)(Tn,{children:[(p||!(null===a||void 0===a?void 0:a.length))&&Object($.jsx)("a",{style:{textDecoration:"none"},href:b,children:Object($.jsx)(ne.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("DownloadPlaylist")})}),Object($.jsx)(Je.CopyToClipboard,{text:n,children:Object($.jsx)(ne.a,{variant:"contained",color:"primary",size:"large",children:l("CopyHash")})})]})]})}),(function(){return!0})),Bn=["3g2","3gp","aaf","asf","avchd","avi","drc","flv","iso","m2v","m2ts","m4p","m4v","mkv","mng","mov","mp2","mp4","mpe","mpeg","mpg","mpv","mxf","nsv","ogg","ogv","ts","qt","rm","rmvb","roq","svi","vob","webm","wmv","yuv","aac","aiff","ape","au","flac","gsm","it","m3u","m4a","mid","mod","mp3","mpa","pls","ra","s3m","sid","wav","wma","xm"],Rn=function(){return Object($.jsx)("div",{style:{minHeight:"80vh",display:"grid",placeItems:"center"},children:Object($.jsx)(oe.a,{color:"secondary"})})};function Ln(e){var t,n=e.closeDialog,r=e.torrent,i=Object(ce.a)().t,o=Object(a.useState)(!0),c=Object(l.a)(o,2),s=c[0],d=c[1],p=Object(a.useState)(!1),j=Object(l.a)(p,2),b=j[0],u=j[1],h=Object(a.useState)(),x=Object(l.a)(h,2),g=x[0],m=x[1],O=Object(a.useState)(),f=Object(l.a)(O,2),C=f[0],v=f[1],S=Object(a.useState)(null),D=Object(l.a)(S,2),k=D[0],T=D[1],B=Object(a.useState)(),R=Object(l.a)(B,2),L=R[0],A=R[1],z=r.poster,F=r.hash,E=r.title,G=r.name,N=r.stat,I=r.download_speed,U=r.upload_speed,H=r.torrent_size,W=r.file_stats,Z=le(F),_=function(e){var t=Object(a.useState)(),n=Object(l.a)(t,2),r=n[0],i=n[1];return Object(a.useEffect)((function(){P.a.post(w(),{action:"get"}).then((function(e){var t=e.data;return i(t)}))}),[e]),r}(Z),J=Z.Capacity,Y=Z.PiecesCount,q=Z.PiecesLength,Q=Z.Filled;Object(a.useEffect)((function(){if(C&&null===k){var e=[];C.forEach((function(t){var n=t.path,a=ie.a.parse(n).season;a&&!e.includes(a)&&e.push(a)})),e.length&&A(e[0]),T(e.sort((function(e,t){return e-t})))}}),[C,k]),Object(a.useEffect)((function(){v(null===W||void 0===W?void 0:W.filter((function(e){var t,n=e.path;return t=n,Bn.includes(function(e){var t=e.split(".").pop();return t===e?"":t.toLowerCase()}(t))})))}),[W]),Object(a.useEffect)((function(){var e=!!Object.entries(Z).length,t=1!==N&&5!==N;e||s||d(!0),e&&s&&t&&d(!1)}),[N,Z,s]),Object(a.useEffect)((function(){P.a.post(y(),{action:"list",hash:F}).then((function(e){var t=e.data;if(t){var n=t.map((function(e){return e.file_index})).sort((function(e,t){return e-t}));m(n)}else m()}))}),[F]);var ee=J/100*(null===_||void 0===_?void 0:_.PreloadCache),te=ee>33554432?ee:33554432,re=function(){var e=[],t=G&&ie.a.parse(G);E!==G?e.push(K(E)):(null===t||void 0===t?void 0:t.title)&&e.push(K(null===t||void 0===t?void 0:t.title)),(null===t||void 0===t?void 0:t.year)&&!e[0].includes(null===t||void 0===t?void 0:t.year)&&e.push(null===t||void 0===t?void 0:t.year),(null===t||void 0===t?void 0:t.resolution)&&!e[0].includes(null===t||void 0===t?void 0:t.resolution)&&e.push(null===t||void 0===t?void 0:t.resolution);var n=e.join(". ");return"."===n[n.length-1]&&"."===n[n.length-2]?"".concat(n,"."):n};return Object($.jsxs)($.Fragment,{children:[Object($.jsx)(xe,Object(M.a)({onClose:n,title:i(b?"DetailedCacheView.header":"TorrentDetails")},b&&{onBack:function(){return u(!1)}})),Object($.jsx)("div",{style:Object(M.a)({minHeight:"80vh",overflow:"auto"},b&&{display:"flex",flexDirection:"column"}),children:s?Object($.jsx)(Rn,{}):b?Object($.jsx)(kn,{downloadSpeed:I,uploadSpeed:U,torrent:r,torrentSize:H,PiecesCount:Y,PiecesLength:q,stat:N,cache:Z}):Object($.jsxs)(It,{children:[Object($.jsxs)(Ht,{children:[Object($.jsx)(Ut,{poster:z,children:z?Object($.jsx)("img",{alt:"poster",src:z}):Object($.jsx)(X,{})}),Object($.jsxs)("div",{children:[E&&G!==E?re().length>90?Object($.jsxs)($.Fragment,{children:[Object($.jsx)(_t,{children:ie.a.parse(G).title}),Object($.jsx)(Zt,{mb:20,children:re()})]}):Object($.jsxs)($.Fragment,{children:[Object($.jsx)(_t,{children:re()}),Object($.jsx)(Zt,{mb:20,children:null===(t=ie.a.parse(G||""))||void 0===t?void 0:t.title})]}):Object($.jsx)(_t,{mb:20,children:re()}),Object($.jsxs)(Jt,{children:[Object($.jsx)(fn,{data:I}),Object($.jsx)(Cn,{data:U}),Object($.jsx)(vn,{data:r}),Object($.jsx)(Dn,{data:H}),Object($.jsx)(Sn,{stat:N})]}),Object($.jsx)(en,{}),Object($.jsx)(Mn,{hash:F,viewedFileList:g,playableFileList:C,name:G,title:E,setViewedFileList:m})]})]}),Object($.jsxs)(Wt,{children:[Object($.jsxs)(Kt,{children:[Object($.jsx)(_t,{mb:20,children:i("Buffer")}),te<=33554432&&Object($.jsx)(Zt,{children:i("BufferNote")}),Object($.jsx)(Qt,{value:Q,fullAmount:te,label:"".concat(V(te)," / ").concat(V(Q)||"0 ".concat(i("B")))})]}),Object($.jsx)(Ke,{isMini:!0,cache:Z}),Object($.jsx)(ne.a,{style:{marginTop:"30px"},variant:"contained",color:"primary",size:"large",onClick:function(){return u(!0)},children:i("DetailedCacheView.button")})]}),Object($.jsxs)(Vt,{children:[Object($.jsx)(_t,{mb:20,children:i("TorrentContent")}),(null===k||void 0===k?void 0:k.length)>1&&Object($.jsxs)($.Fragment,{children:[Object($.jsx)(Zt,{mb:7,children:i("SelectSeason")}),Object($.jsx)(ae.a,{style:{marginBottom:"30px"},color:"secondary",children:k.map((function(e){return Object($.jsx)(ne.a,{variant:L===e?"contained":"outlined",onClick:function(){return A(e)},children:e},e)}))}),Object($.jsxs)(_t,{mb:20,children:[i("Season")," ",L]})]}),Object($.jsx)(Nt,{hash:F,playableFileList:C,viewedFileList:g,selectedSeason:L,seasonAmount:k})]})]})})]})}var An=n(481),zn=n(450),Fn=n(455),En=n(456),Gn=n(186),Nn=n.n(Gn),In=function(){var e=Object(ce.a)().i18n;return["en-US"===e.language||"en"===e.language?"en":e.language,function(t){return e.changeLanguage(t)}]};function Un(e){var t=Object(a.useRef)(e);return Object(a.useEffect)((function(){t.current=e}),[e]),t.current}var Hn,Wn,Vn,Zn,_n,Kn,Jn,Yn,$n,Xn,qn,Qn,ea,ta,na,aa,ra,ia,oa,ca,la,sa,da,pa,ja,ba,ua,ha,xa,ga=n(479),ma=n(107),Oa=n.n(ma),fa=He.d.div(Hn||(Hn=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.primary;return Object(He.c)(Wn||(Wn=Object(Ue.a)(["\n background: ",";\n color: rgba(0, 0, 0, 0.87);\n font-size: 20px;\n color: #fff;\n font-weight: 600;\n box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);\n padding: 15px 24px;\n position: relative;\n "])),t)})),Ca=He.d.div(Vn||(Vn=Object(Ue.a)(["\n padding: 20px;\n display: flex;\n justify-content: flex-end;\n\n > :not(:last-child) {\n margin-right: 10px;\n }\n"]))),va=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n="http://api.themoviedb.org/3/search/multi";return P.a.get(n,{params:{api_key:"45ddf563ac3fb845f2d5c363190d1a33",language:t,include_image_language:"".concat(t,",null,en"),query:e}}).then((function(e){return e.data.results.filter((function(e){return e.poster_path})).map((function(e){return"https://image.tmdb.org/t/p/w300".concat(e.poster_path)}))})).catch((function(){return null}))},ya=function(){var e=Object(F.a)(z.a.mark((function e(t){return z.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.match(/.(jpg|jpeg|png|gif)$/i)){e.next=2;break}return e.abrupt("return",!1);case 2:return e.prev=2,e.next=5,fetch(t,{mode:"no-cors"});case 5:return e.abrupt("return",!0);case 8:return e.prev=8,e.t0=e.catch(2),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}(),wa=/^magnet:\?xt=urn:[a-z0-9].*/i,Sa=/^\b[0-9a-f]{32}\b$|^\b[0-9a-f]{40}\b$|^\b[0-9a-f]{64}\b$/i,Da=/^.*\.(torrent)$/i,ka=He.d.div(Zn||(Zn=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isEditMode,n=e.theme.addDialog,a=n.gradientStartColor,r=n.gradientEndColor,i=n.fontColor;return Object(He.c)(_n||(_n=Object(Ue.a)(["\n height: 550px;\n background: linear-gradient(145deg, ",", ",");\n flex: 1;\n display: grid;\n grid-template-columns: repeat(",", 1fr);\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n overflow: auto;\n color: ",";\n\n @media (max-width: 540px) {\n ","\n overflow: scroll;\n }\n\n @media (max-width: 930px) {\n grid-template-columns: 1fr;\n }\n\n @media (max-width: 500px) {\n align-content: start;\n }\n "])),a,r,t?"1":"2",i,"")})),Ta=He.d.div(Kn||(Kn=Object(Ue.a)(["\n padding: 0 20px 20px 20px;\n"]))),Pa=He.d.div(Jn||(Jn=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isHidden,n=e.notificationMessage,a=e.isError,r=e.theme.addDialog,i=r.notificationErrorBGColor,o=r.notificationSuccessBGColor;return Object(He.c)(Yn||(Yn=Object(Ue.a)(["\n height: 530px;\n\n ",";\n\n ",";\n\n @media (max-width: 500px) {\n height: 170px;\n }\n "])),n&&Object(He.c)($n||($n=Object(Ue.a)(["\n position: relative;\n white-space: nowrap;\n\n :before {\n font-size: 20px;\n font-weight: 300;\n content: '","';\n display: grid;\n place-items: center;\n background: ",";\n padding: 10px 15px;\n position: absolute;\n top: 52%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 5px;\n }\n "])),n,a?i:o),t&&Object(He.c)(Xn||(Xn=Object(Ue.a)(["\n display: none;\n "]))))})),Ma=He.d.div(qn||(qn=Object(Ue.a)(["\n display: flex;\n flex-direction: column;\n border-right: 1px solid rgba(0, 0, 0, 0.12);\n"]))),Ba=Object(He.c)(Qn||(Qn=Object(Ue.a)(["\n transition: transform 0.3s;\n padding: 20px;\n height: 100%;\n display: grid;\n"]))),Ra=He.d.div(ea||(ea=Object(Ue.a)(["\n ","\n border: 4px dashed rgba(0,0,0,0.1);\n text-align: center;\n\n ",";\n\n justify-items: center;\n grid-template-rows: 130px 1fr;\n cursor: pointer;\n\n :hover {\n background-color: rgba(0, 0, 0, 0.04);\n svg {\n transform: translateY(-4%);\n }\n }\n\n @media (max-width: 930px) {\n border: 4px dashed transparent;\n height: 400px;\n place-items: center;\n grid-template-rows: 40% 1fr;\n }\n\n @media (max-width: 500px) {\n height: 170px;\n grid-template-rows: 1fr;\n\n > div:first-of-type {\n display: none;\n }\n }\n"])),Ba,(function(e){return e.isDragActive&&"border: 4px dashed green"})),La=He.d.div(ta||(ta=Object(Ue.a)(["\n ","\n place-items: center;\n\n @media (max-width: 930px) {\n height: 400px;\n }\n\n @media (max-width: 500px) {\n height: 170px;\n }\n"])),Ba),Aa=He.d.div(na||(na=Object(Ue.a)(["\n position: relative;\n"]))),za=He.d.div(aa||(aa=Object(Ue.a)(["\n position: absolute;\n top: -9px;\n left: 10px;\n cursor: pointer;\n\n > svg {\n transition: all 0.3s;\n fill: rgba(0, 0, 0, 0.7);\n\n :hover {\n fill: rgba(0, 0, 0, 0.6);\n }\n }\n"]))),Fa=He.d.div(ra||(ra=Object(Ue.a)(["\n display: grid;\n justify-items: center;\n align-content: start;\n gap: 10px;\n align-self: start;\n\n svg {\n transition: all 0.3s;\n }\n"]))),Ea=He.d.div(ia||(ia=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.active,n=e.theme.addDialog.gradientStartColor;return Object(He.c)(oa||(oa=Object(Ue.a)(["\n background: ",";\n padding: 0 20px 20px 20px;\n transition: all 0.3s;\n\n ",";\n "])),n,t&&"box-shadow: 0 8px 10px -9px rgba(0, 0, 0, 0.5)")})),Ga=He.d.div(ca||(ca=Object(Ue.a)(["\n margin-top: 20px;\n display: grid;\n grid-template-columns: max-content 1fr;\n grid-template-rows: 300px max-content;\n column-gap: 5px;\n position: relative;\n margin-bottom: 20px;\n\n grid-template-areas:\n 'poster suggestions'\n 'clear empty';\n\n @media (max-width: 540px) {\n grid-template-columns: 1fr;\n gap: 5px 0;\n justify-items: center;\n grid-template-areas:\n 'poster'\n 'clear'\n 'suggestions';\n }\n"]))),Na=He.d.div(la||(la=Object(Ue.a)(["\n display: grid;\n grid-area: suggestions;\n grid-auto-flow: column;\n grid-template-columns: repeat(3, max-content);\n grid-template-rows: repeat(4, max-content);\n gap: 5px;\n\n @media (max-width: 540px) {\n grid-auto-flow: row;\n grid-template-columns: repeat(5, max-content);\n }\n @media (max-width: 375px) {\n grid-template-columns: repeat(4, max-content);\n }\n"]))),Ia=He.d.div(sa||(sa=Object(Ue.a)(["\n cursor: pointer;\n width: 71px;\n height: 71px;\n\n @media (max-width: 430px) {\n width: 60px;\n height: 60px;\n }\n\n @media (max-width: 375px) {\n width: 71px;\n height: 71px;\n }\n\n @media (max-width: 355px) {\n width: 60px;\n height: 60px;\n }\n\n img {\n transition: all 0.3s;\n border-radius: 5px;\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n :hover {\n filter: brightness(130%);\n }\n }\n"]))),Ua=He.d.div(da||(da=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.poster,n=e.theme.addDialog.posterBGColor;return Object(He.c)(pa||(pa=Object(Ue.a)(["\n border-radius: 5px;\n overflow: hidden;\n width: 200px;\n grid-area: poster;\n\n ","\n "])),t?Object(He.c)(ja||(ja=Object(Ue.a)(["\n img {\n width: 200px;\n object-fit: cover;\n border-radius: 5px;\n height: 100%;\n }\n "]))):Object(He.c)(ba||(ba=Object(Ue.a)(["\n display: grid;\n place-items: center;\n background: ",";\n\n svg {\n transform: scale(1.5) translateY(-3px);\n }\n "])),n))})),Ha=Object(He.d)(ne.a)(ua||(ua=Object(Ue.a)(["\n grid-area: clear;\n justify-self: center;\n transform: translateY(-50%);\n position: absolute;\n ",";\n\n @media (max-width: 540px) {\n transform: translateY(-140%);\n }\n"])),(function(e){return!e.showbutton&&"display: none"})),Wa=He.d.div(ha||(ha=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.showbutton,n=e.theme.addDialog,a=n.languageSwitchBGColor,r=n.languageSwitchFontColor;return Object(He.c)(xa||(xa=Object(Ue.a)(["\n grid-area: poster;\n z-index: 5;\n position: absolute;\n top: 0;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 30px;\n height: 30px;\n background: ",";\n border-radius: 50%;\n display: grid;\n place-items: center;\n color: ",";\n font-weight: 600;\n cursor: pointer;\n transition: all 0.3s;\n\n ",";\n\n :hover {\n filter: brightness(1.1);\n }\n "])),a,r,!t&&"display: none")})),Va=n(483),Za=n(447),_a=n(448);function Ka(e){var t=e.setTitle,n=e.setPosterUrl,a=e.setIsPosterUrlCorrect,r=e.setIsUserInteractedWithPoster,i=e.setPosterList,o=e.isTorrentSourceCorrect,c=e.isHashAlreadyExists,l=e.title,s=e.parsedTitle,d=e.posterUrl,j=e.isPosterUrlCorrect,b=e.posterList,u=e.currentLang,h=e.posterSearchLanguage,x=e.setPosterSearchLanguage,g=e.posterSearch,m=e.removePoster,O=e.torrentSource,f=e.originalTorrentTitle,C=e.updateTitleFromSource,v=e.isCustomTitleEnabled,y=e.setIsCustomTitleEnabled,w=e.isEditMode,S=Object(ce.a)().t,D=Object(Y.a)().palette.primary.main,k=function(e){var n=e.target.value;return t(n)};return Object($.jsxs)(Ta,{children:[Object($.jsxs)(Pa,{isHidden:!o||c&&!w,children:[f?Object($.jsxs)($.Fragment,{children:[Object($.jsx)(Va.a,{value:f,margin:"dense",label:S("AddDialog.OriginalTorrentTitle"),type:"text",fullWidth:!0,disabled:v,InputProps:{readOnly:!0}}),Object($.jsx)(Va.a,{onChange:k,onFocus:function(){return y(!0)},onBlur:function(e){return!e.target.value&&y(!1)},value:l,margin:"dense",label:S("AddDialog.CustomTorrentTitle"),type:"text",fullWidth:!0,helperText:S("AddDialog.CustomTorrentTitleHelperText"),InputProps:{endAdornment:Object($.jsx)(Za.a,{position:"end",children:Object($.jsx)(p.a,{style:{padding:"0 0 0 7px"},onClick:function(){t(""),y(!v),C(),r(!1)},children:Object($.jsx)(_a.a,{style:{color:v?D:"gray"}})})})}})]}):Object($.jsx)(Va.a,{onChange:k,value:l,margin:"dense",label:S("AddDialog.TitleBlank"),type:"text",fullWidth:!0}),Object($.jsx)(Va.a,{onChange:function(e){var t=e.target.value;n(t),ya(t).then(a),r(!!t),i()},value:d,margin:"dense",label:S("AddDialog.AddPosterLinkInput"),type:"url",fullWidth:!0}),Object($.jsxs)(Ga,{children:[Object($.jsx)(Ua,{poster:+j,children:j?Object($.jsx)("img",{src:d,alt:"poster"}):Object($.jsx)(X,{})}),Object($.jsx)(Na,{children:null===b||void 0===b?void 0:b.filter((function(e){return e!==d})).slice(0,12).map((function(e){return Object($.jsx)(Ia,{onClick:function(){return function(e){n(e),ya(e).then(a),r(!0)}(e)},children:Object($.jsx)("img",{src:e,alt:"poster"})},e)}))}),"en"!==u&&Object($.jsx)(Wa,{onClick:function(){var e="en"===h?"ru":"en";x(e),g(v?l:f?s:l,e,{shouldRefreshMainPoster:!0})},showbutton:+j,color:"primary",variant:"contained",size:"small",children:"en"===h?"EN":"RU"}),Object($.jsx)(Ha,{showbutton:+j,onClick:function(){m(),r(!0)},color:"primary",variant:"contained",size:"small",children:S("Clear")})]})]}),Object($.jsx)(Pa,{isError:O&&(!o||c),notificationMessage:O?o?c&&S("AddDialog.HashExists"):S("AddDialog.WrongTorrentSource"):S("AddDialog.AddTorrentSourceNotification"),isHidden:w||o&&!c})]})}var Ja,Ya,$a,Xa,qa,Qa,er,tr,nr,ar,rr=n(196),ir=n(449);function or(e){var t=e.setIsUserInteractedWithPoster,n=e.setSelectedFile,r=e.torrentSource,i=e.setTorrentSource,o=e.selectedFile,c=Object(ce.a)().t,s=Object(a.useState)(!1),d=Object(l.a)(s,2),p=d[0],j=d[1],b=Object(rr.a)({onDrop:function(e){var a=Object(l.a)(e,1)[0];a&&(t(!1),n(a),i(a.name))},accept:".torrent"}),u=b.getRootProps,h=b.getInputProps,x=b.isDragActive;return Object($.jsxs)(Ma,{children:[Object($.jsx)(Ea,{active:p,children:Object($.jsx)(Va.a,{onChange:function(e){var t=e.target.value;return i(t)},value:r,margin:"dense",label:c("AddDialog.TorrentSourceLink"),helperText:c("AddDialog.TorrentSourceOptions"),type:"text",fullWidth:!0,onFocus:function(){return j(!0)},onBlur:function(){return j(!1)},inputProps:{autoComplete:"off"},disabled:!!o})}),o?Object($.jsx)(La,{children:Object($.jsxs)(Aa,{children:[Object($.jsx)(te,{}),Object($.jsx)(za,{onClick:function(){n(),i("")},children:Object($.jsx)(ir.a,{})})]})}):Object($.jsxs)(Ra,Object(M.a)(Object(M.a)({isDragActive:x},u()),{},{children:[Object($.jsx)("input",Object(M.a)({},h())),Object($.jsx)("div",{children:c("AddDialog.AppendFile.Or")}),Object($.jsxs)(Fa,{children:[Object($.jsx)(q,{color:"primary"}),Object($.jsx)("div",{children:c("AddDialog.AppendFile.ClickOrDrag")})]})]}))]})}function cr(e){var t=e.handleClose,n=e.hash,r=e.title,i=e.name,o=e.poster,c=Object(ce.a)().t,s=!!n,d=Object(a.useState)(n||""),p=Object(l.a)(d,2),j=p[0],b=p[1],u=Object(a.useState)(r||""),h=Object(l.a)(u,2),x=h[0],g=h[1],m=Object(a.useState)(""),O=Object(l.a)(m,2),f=O[0],y=O[1],w=Object(a.useState)(""),S=Object(l.a)(w,2),D=S[0],k=S[1],T=Object(a.useState)(o||""),M=Object(l.a)(T,2),B=M[0],R=M[1],L=Object(a.useState)(!1),A=Object(l.a)(L,2),z=A[0],F=A[1],E=Object(a.useState)(!1),G=Object(l.a)(E,2),N=G[0],I=G[1],U=Object(a.useState)(!1),H=Object(l.a)(U,2),W=H[0],V=H[1],Z=Object(a.useState)(),_=Object(l.a)(Z,2),K=_[0],Y=_[1],X=Object(a.useState)(s),q=Object(l.a)(X,2),Q=q[0],ee=q[1],te=In(),ae=Object(l.a)(te,1)[0],re=Object(a.useState)(),le=Object(l.a)(re,2),se=le[0],de=le[1],pe=Object(a.useState)("ru"===ae?"ru":"en"),je=Object(l.a)(pe,2),be=je[0],ue=je[1],he=Object(a.useState)(!1),xe=Object(l.a)(he,2),ge=xe[0],me=xe[1],Oe=Object(a.useState)(!1),fe=Object(l.a)(Oe,2),Ce=fe[0],ve=fe[1],ye=Object(a.useState)(!1),we=Object(l.a)(ye,2),Se=we[0],De=we[1],ke=Object(a.useState)(),Te=Object(l.a)(ke,2),Pe=Te[0],Me=Te[1],Be=Object(ga.a)("torrents",J,{retry:1,refetchInterval:1e3}).data;Object(a.useEffect)((function(){Oa.a.remote(se||j,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.infoHash;return Me(n)}))}),[se,j]),Object(a.useEffect)((function(){if(Me){var e=Be.map((function(e){return e.hash}));V(e.includes(Pe))}}),[Pe,Be]),Object(a.useEffect)((function(){ge&&(Be.map((function(e){return e.hash})).includes(Pe)&&t())}),[ge,Be,Pe,t]);var Le=Object(Re.a)("@media (max-width:930px)"),Ae=Object(a.useCallback)((function(){var e,t;e=se||j,t=function(e){var t=e.parsedTitle,n=e.originalName;n&&(ve(!0),g(""),De(!1),y(n),k(t))},Oa.a.remote(e,(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.name,r=n.files;if(!a||e)return t({parsedTitle:null,originalName:null});var i=ie.a.parse(a).title,o=r?ie.a.parse(r[0].name).title:null,c=i;o&&(c=i.length<o.length?i:o),t({parsedTitle:c,originalName:a})}))}),[se,j]);Object(a.useEffect)((function(){se||j||(g(""),y(""),k(""),De(!1),Y(),ze(),ee(!1))}),[se,j]);var ze=function(){F(!1),R("")};Object(a.useEffect)((function(){n&&ya(B).then((function(e){e?F(!0):ze()}))}),[]);var Fe=Object(a.useMemo)((function(){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.shouldRefreshMainPoster,r=void 0!==a&&a;if(!e)return Y(),void ze();va(e,t).then((function(e){if(e){if(Y(e),!r&&Q)return;var t=Object(l.a)(e,1)[0];ya(t).then((function(e){e?(F(!0),R(t)):ze()}))}else{if(Y(),Q)return;ze()}}))}}),[Q]),Ee=Object(a.useMemo)((function(){return Nn()(Fe,700)}),[Fe]),Ge=Un(j);Object(a.useEffect)((function(){var e;if(!(null!==(e=j).match(Sa)||null!==e.match(wa)||null!==e.match(Da)))return I(!1);I(!0),j!==Ge&&Ae()}),[Ge,se,j,Ae]);var Ne=Un(x);Object(a.useEffect)((function(){(x!==Ne||D)&&(Ce?(Fe(x||D,be),ve(!1)):x?Ee(x,be):(Ee.cancel(),D?Fe(D,be):!Q&&ze()))}),[x,D,Ne,Ee,Fe,be,Ce,Q]);return Object($.jsxs)(An.a,{open:!0,onClose:t,fullScreen:Le,fullWidth:!0,maxWidth:"md",children:[Object($.jsx)(fa,{children:c(s?"EditTorrent":"AddNewTorrent")}),Object($.jsxs)(ka,{isEditMode:s,children:[!s&&Object($.jsx)(or,{setIsUserInteractedWithPoster:ee,setSelectedFile:de,torrentSource:j,setTorrentSource:b,selectedFile:se}),Object($.jsx)(Ka,{originalTorrentTitle:f,setTitle:g,setPosterUrl:R,setIsPosterUrlCorrect:F,setIsUserInteractedWithPoster:ee,setPosterList:Y,isTorrentSourceCorrect:N,isHashAlreadyExists:W,title:x,parsedTitle:D,posterUrl:B,isPosterUrlCorrect:z,posterList:K,currentLang:ae,posterSearchLanguage:be,setPosterSearchLanguage:ue,posterSearch:Fe,removePoster:ze,updateTitleFromSource:Ae,torrentSource:j,isCustomTitleEnabled:Se,setIsCustomTitleEnabled:De,isEditMode:s})]}),Object($.jsxs)(Ca,{children:[Object($.jsx)(ne.a,{onClick:t,color:"secondary",variant:"outlined",children:c("Cancel")}),Object($.jsx)(ne.a,{variant:"contained",style:{minWidth:"110px"},disabled:!j||W&&!s||!N,onClick:function(){if(me(!0),s)P.a.post(v(),{action:"set",hash:n,title:x||i,poster:B}).finally(t);else if(se){var e=new FormData;e.append("save","true"),e.append("file",se),x&&e.append("title",x),B&&e.append("poster",B),P.a.post("".concat(C,"/torrent/upload"),e).catch(t)}else P.a.post(v(),{action:"add",link:j,title:x,poster:B,save_to_db:!0}).catch(t)},color:"primary",children:ge?Object($.jsx)(oe.a,{style:{color:"white"},size:20}):c(s?"Save":"Add")})]})]})}var lr,sr,dr,pr,jr,br,ur,hr,xr,gr,mr,Or,fr,Cr=He.d.div(Ja||(Ja=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard.cardPrimaryColor;return Object(He.c)(Ya||(Ya=Object(Ue.a)(["\n border-radius: 5px;\n display: grid;\n grid-template-columns: 120px 260px 1fr;\n grid-template-rows: 180px;\n grid-template-areas: 'poster description buttons';\n gap: 10px;\n padding: 10px;\n background: ",";\n box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);\n\n @media (max-width: 1260px), (max-height: 500px) {\n grid-template-areas:\n 'poster description'\n 'buttons buttons';\n\n grid-template-columns: 70px 1fr;\n grid-template-rows: 110px max-content;\n }\n\n @media (max-width: 770px) {\n grid-template-columns: 60px 1fr;\n grid-template-rows: 90px max-content;\n }\n "])),t)})),vr=He.d.div($a||($a=Object(Ue.a)(["\n grid-area: poster;\n border-radius: 5px;\n overflow: hidden;\n text-align: center;\n\n ",";\n\n @media (max-width: 1260px), (max-height: 500px) {\n svg {\n width: 50%;\n }\n }\n"])),(function(e){var t=e.isPoster,n=e.theme.torrentCard,a=n.cardSecondaryColor,r=n.accentCardColor;return t?Object(He.c)(Xa||(Xa=Object(Ue.a)(["\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 5px;\n }\n "]))):Object(He.c)(qa||(qa=Object(Ue.a)(["\n display: grid;\n place-items: center;\n background: ",";\n border: 1px solid ",";\n\n svg {\n transform: translateY(-3px);\n }\n "])),a,r)})),yr=He.d.div(Qa||(Qa=Object(Ue.a)(["\n grid-area: buttons;\n display: grid;\n gap: 10px;\n\n @media (max-width: 1260px), (max-height: 500px) {\n grid-template-columns: repeat(4, 1fr);\n }\n\n @media (max-width: 340px) {\n gap: 5px;\n }\n"]))),wr=He.d.div(er||(er=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard,n=t.cardSecondaryColor,a=t.accentCardColor;return Object(He.c)(tr||(tr=Object(Ue.a)(["\n grid-area: description;\n background: ",";\n border-radius: 5px;\n padding: 5px;\n display: grid;\n grid-template-rows: 55% 1fr;\n gap: 10px;\n\n @media (max-width: 770px) {\n grid-template-rows: 60% 1fr;\n gap: 3px;\n }\n\n .description-title-wrapper {\n display: flex;\n flex-direction: column;\n }\n\n .description-section-name {\n text-transform: uppercase;\n font-size: 10px;\n font-weight: 600;\n letter-spacing: 0.4px;\n color: ",";\n\n @media (max-width: 770px) {\n font-size: 0.4rem;\n }\n }\n\n .description-torrent-title {\n overflow: auto;\n word-break: break-all;\n }\n\n .description-statistics-wrapper {\n display: grid;\n grid-template-columns: 80px 80px 1fr;\n align-self: end;\n\n @media (max-width: 1260px), (max-height: 500px) {\n grid-template-columns: 70px 70px 1fr;\n }\n\n @media (max-width: 770px) {\n grid-template-columns: 65px 65px 1fr;\n }\n\n @media (max-width: 700px) {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n }\n }\n\n .description-statistics-element-wrapper {\n }\n\n .description-statistics-element-value {\n margin-left: 5px;\n margin-bottom: 10px;\n word-break: break-all;\n\n @media (max-width: 1260px), (max-height: 500px) {\n font-size: 0.7rem;\n margin-bottom: 0;\n margin-left: 0;\n }\n }\n\n .description-torrent-title,\n .description-statistics-element-value {\n @media (max-width: 770px) {\n font-size: 0.6rem;\n }\n\n @media (max-width: 410px) {\n font-size: 10px;\n }\n }\n "])),n,a)})),Sr=He.d.button(nr||(nr=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard,n=t.buttonBGColor,a=t.accentCardColor;return Object(He.c)(ar||(ar=Object(Ue.a)(["\n border-radius: 5px;\n border: none;\n cursor: pointer;\n transition: 0.2s;\n display: flex;\n align-items: center;\n text-transform: uppercase;\n background: ",";\n color: #fff;\n font-size: 0.9rem;\n letter-spacing: 0.009em;\n padding: 0 12px;\n svg {\n width: 20px;\n }\n\n :hover {\n background: ",";\n }\n\n > :first-child {\n margin-right: 10px;\n }\n\n @media (max-width: 1260px), (max-height: 500px) {\n padding: 7px 10px;\n justify-content: center;\n font-size: 0.8rem;\n\n svg {\n display: none;\n }\n }\n\n @media (max-width: 770px) {\n font-size: 0.7rem;\n }\n\n @media (max-width: 420px) {\n font-size: 0.6rem;\n padding: 7px 5px;\n }\n "])),n,a)})),Dr=Object(a.forwardRef)((function(e,t){return Object($.jsx)(zn.a,Object(M.a)({direction:"up",ref:t},e))})),kr=function(e){var t=e.torrent,n=Object(ce.a)().t,r=Object(a.useState)(!1),i=Object(l.a)(r,2),o=i[0],c=i[1],s=Object(a.useState)(!1),d=Object(l.a)(s,2),p=d[0],b=d[1],u=Object(Y.a)(),h=Object(Re.a)(u.breakpoints.down("md")),x=function(){return c(!1)},g=function(){return b(!1)},m=t.title,O=t.name,f=t.poster,C=t.torrent_size,y=t.download_speed,w=t.hash,S=function(){var e=function(e){var t,n;return(null===(t=ie.a.parse(m||""))||void 0===t?void 0:t[e])||(null===(n=ie.a.parse(O||""))||void 0===n?void 0:n[e])},t=[],n=K(e("title")),a=e("year"),r=e("resolution");return n&&t.push(n),a&&t.push("(".concat(a,")")),r&&t.push("[".concat(r,"]")),{parsedTitle:n=t.join(" ")}}().parsedTitle,D=Object(a.useState)(!1),k=Object(l.a)(D,2),T=k[0],M=k[1];return Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(Cr,{children:[Object($.jsx)(vr,{isPoster:f,children:f?Object($.jsx)("img",{src:f,alt:"poster"}):Object($.jsx)(X,{})}),Object($.jsxs)(yr,{children:[Object($.jsxs)(Sr,{onClick:function(){return c(!0)},children:[Object($.jsx)(B.a,{}),Object($.jsx)("span",{children:n("Details")})]}),Object($.jsxs)(Sr,{onClick:function(){return M(!0)},children:[Object($.jsx)(R.a,{}),Object($.jsx)("span",{children:n("Edit")})]}),Object($.jsxs)(Sr,{onClick:function(){return P.a.post(v(),{action:"drop",hash:w})},children:[Object($.jsx)(j.a,{}),Object($.jsx)("span",{children:n("Drop")})]}),Object($.jsxs)(Sr,{onClick:function(){return b(!0)},children:[Object($.jsx)(L.a,{}),Object($.jsx)("span",{children:n("Delete")})]})]}),Object($.jsxs)(wr,{children:[Object($.jsxs)("div",{className:"description-title-wrapper",children:[Object($.jsx)("div",{className:"description-section-name",children:n("Name")}),Object($.jsx)("div",{className:"description-torrent-title",children:S})]}),Object($.jsxs)("div",{className:"description-statistics-wrapper",children:[Object($.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object($.jsx)("div",{className:"description-section-name",children:n("Size")}),Object($.jsx)("div",{className:"description-statistics-element-value",children:C>0&&V(C)})]}),Object($.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object($.jsx)("div",{className:"description-section-name",children:n("Speed")}),Object($.jsx)("div",{className:"description-statistics-element-value",children:y>0?Z(y):"---"})]}),Object($.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object($.jsx)("div",{className:"description-section-name",children:n("Peers")}),Object($.jsx)("div",{className:"description-statistics-element-value",children:_(t)||"---"})]})]})]})]}),Object($.jsx)(An.a,{open:o,onClose:x,fullScreen:h,fullWidth:!0,maxWidth:"xl",TransitionComponent:Dr,children:Object($.jsx)(Ln,{closeDialog:x,torrent:t})}),Object($.jsxs)(An.a,{open:p,onClose:g,children:[Object($.jsx)(Fn.a,{children:n("DeleteTorrent?")}),Object($.jsxs)(En.a,{children:[Object($.jsx)(ne.a,{variant:"outlined",onClick:g,color:"primary",children:n("Cancel")}),Object($.jsx)(ne.a,{variant:"contained",onClick:function(){P.a.post(v(),{action:"rem",hash:w}),g()},color:"primary",autoFocus:!0,children:n("OK")})]})]}),T&&Object($.jsx)(cr,{hash:w,title:m,name:O,poster:f,handleClose:function(){return M(!1)}})]})},Tr=Object(a.memo)(kr),Pr=He.d.div(lr||(lr=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.app.appSecondaryColor;return Object(He.c)(sr||(sr=Object(Ue.a)(["\n height: 100%;\n background: ",";\n display: grid;\n grid-template-columns: 60px 1fr;\n grid-template-rows: 60px 1fr;\n grid-template-areas:\n 'head head'\n 'side content';\n "])),Object(Le.a)(t,.8))})),Mr=He.d.div(dr||(dr=Object(Ue.a)(["\n height: 100%;\n display: grid;\n place-items: center;\n"]))),Br=He.d.div(pr||(pr=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.primary;return Object(He.c)(jr||(jr=Object(Ue.a)(["\n background: ",";\n color: #fff;\n grid-area: head;\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n grid-template-columns: repeat(2, max-content) 1fr;\n box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);\n padding: 0 16px;\n z-index: 3;\n "])),t)})),Rr=He.d.div(br||(br=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isDrawerOpen,n=e.theme.app,a=n.appSecondaryColor,r=n.sidebarBGColor,i=n.sidebarFillColor;return Object(He.c)(ur||(ur=Object(Ue.a)(["\n grid-area: side;\n width: ",";\n z-index: 2;\n overflow-x: hidden;\n transition: width 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;\n border-right: 1px solid ",";\n background: ",";\n color: ",";\n white-space: nowrap;\n\n svg {\n fill: ",";\n }\n "])),t?"400%":"100%",Object(Le.a)(a,.12),r,i,i)})),Lr=He.d.div(hr||(hr=Object(Ue.a)(["\n grid-area: content;\n padding: 20px;\n overflow: auto;\n\n display: grid;\n place-content: start;\n grid-template-columns: repeat(auto-fit, minmax(max-content, 570px));\n gap: 20px;\n\n @media (max-width: 1260px), (max-height: 500px) {\n padding: 10px;\n gap: 15px;\n grid-template-columns: repeat(3, 1fr);\n }\n\n @media (max-width: 1100px) {\n grid-template-columns: repeat(2, 1fr);\n }\n\n @media (max-width: 700px) {\n grid-template-columns: 1fr;\n }\n"]))),Ar=He.d.div(xr||(xr=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.app.headerToggleColor;return Object(He.c)(gr||(gr=Object(Ue.a)(["\n cursor: pointer;\n border-radius: 50%;\n background: ",";\n height: 35px;\n width: 35px;\n transition: all 0.2s;\n font-weight: 600;\n display: grid;\n place-items: center;\n color: #fff;\n\n :hover {\n background: ",";\n }\n\n @media (max-width: 700px) {\n height: 28px;\n width: 28px;\n font-size: 12px;\n\n svg {\n width: 17px;\n }\n }\n "])),t,Object(Le.a)(t,.7))})),zr=He.d.div(mr||(mr=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isButton;return Object(He.c)(Or||(Or=Object(Ue.a)(["\n display: grid;\n place-items: center;\n padding: 20px 40px;\n border-radius: 5px;\n\n ","\n\n lord-icon {\n width: 200px;\n height: 200px;\n }\n\n .icon-label {\n font-size: 20px;\n }\n "])),t&&Object(He.c)(fr||(fr=Object(Ue.a)(["\n background: #88cdaa;\n transition: 0.2s;\n cursor: pointer;\n\n :hover {\n background: #74c39c;\n }\n "]))))}));function Fr(){var e=Object(ce.a)().t,t=Object(Y.a)().palette.primary.main;return Object($.jsxs)(zr,{children:[Object($.jsx)("lord-icon",{src:"https://cdn.lordicon.com/wrprwmwt.json",trigger:"loop",colors:"primary:#121331,secondary:".concat(t),stroke:"26",scale:"60"}),Object($.jsx)("div",{className:"icon-label",children:e("Offline")})]})}function Er(){var e=Object(ce.a)().t,t=Object(a.useState)(!1),n=Object(l.a)(t,2),r=n[0],i=n[1],o=Object(Y.a)().palette.primary.main;return Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(zr,{onClick:function(){return i(!0)},isButton:!0,children:[Object($.jsx)("lord-icon",{src:"https://cdn.lordicon.com/bbnkwdur.json",trigger:"loop",colors:"primary:#121331,secondary:".concat(o),stroke:"26",scale:"60"}),Object($.jsx)("div",{className:"icon-label",children:e("NoTorrentsAdded")})]}),r&&Object($.jsx)(cr,{handleClose:function(){return i(!1)}})]})}function Gr(e){var t=e.isOffline,n=e.isLoading,a=e.torrents;return n||t||!a.length?Object($.jsx)(Mr,{children:t?Object($.jsx)(Fr,{}):n?Object($.jsx)(oe.a,{color:"secondary"}):!a.length&&Object($.jsx)(Er,{})}):Object($.jsx)(Lr,{children:a.map((function(e){return Object($.jsx)(Tr,{torrent:e},e.hash)}))})}var Nr=n(482),Ir=n(189),Ur=n.n(Ir),Hr=n(458),Wr=n(457),Vr=n(446);function Zr(e){var t=e.onClose,n=Object(ce.a)().t;return Object($.jsxs)(An.a,{open:!0,onClose:t,"aria-labelledby":"form-dialog-title",fullWidth:!0,maxWidth:"xs",children:[Object($.jsx)(Fn.a,{id:"form-dialog-title",children:n("Donate")}),Object($.jsx)(Wr.a,{children:Object($.jsxs)(Vr.a,{children:[Object($.jsx)(Hr.a,{children:Object($.jsxs)(ae.a,{variant:"outlined",color:"primary","aria-label":"contained primary button group",children:[Object($.jsx)(ne.a,{onClick:function(){return window.open("https://www.paypal.com/paypalme/yourok","_blank")},children:"PayPal"}),Object($.jsx)(ne.a,{onClick:function(){return window.open("https://yoomoney.ru/to/410013733697114","_blank")},children:"IO.Money"})]})},"DonateLinks"),Object($.jsx)(Hr.a,{children:Object($.jsx)("div",{dangerouslySetInnerHTML:{__html:'<iframe src="https://yoomoney.ru/quickpay/shop-widget?writer=seller&targets=TorrServer Donate&targets-hint=&default-sum=200&button-text=14&payment-type-choice=on&mobile-payment-type-choice=on&comment=on&hint=&successURL=&quickpay=shop&account=410013733697114" width="320" height="320" frameborder="0" allowtransparency="true" scrolling="no"></iframe>'}})},"DonateForm")]})}),Object($.jsx)(En.a,{children:Object($.jsx)(ne.a,{onClick:t,color:"secondary",variant:"contained",children:"Ok"})})]})}function _r(){var e=Object(ce.a)().t,t=Object(a.useState)(!1),n=Object(l.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(!0),c=Object(l.a)(o,2),s=c[0],d=c[1],j=function(){d(!1),localStorage.setItem("snackbarIsClosed",!0)};return Object($.jsxs)($.Fragment,{children:[r&&Object($.jsx)(Zr,{onClose:function(){return i(!1)}}),Object($.jsx)(Nr.a,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:s,onClose:j,message:e("Donate?"),action:Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(ne.a,{style:{marginRight:"10px"},color:"secondary",size:"small",onClick:function(){i(!0),j()},children:[Object($.jsx)(Ur.a,{style:{marginRight:"10px"},fontSize:"small"}),e("Support")]}),Object($.jsx)(p.a,{size:"small","aria-label":"close",color:"inherit",onClick:j,children:Object($.jsx)(be.a,{fontSize:"small"})})]})})]})}var Kr,Jr=n(469),Yr=Object(He.b)(Kr||(Kr=Object(Ue.a)(['\n *,\n *::before,\n *::after { \n margin: 0;\n padding: 0;\n box-sizing: inherit;\n }\n\n body { \n font-family: "Open Sans", sans-serif;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n letter-spacing: -0.1px;\n }\n\n button {\n font-family: "Open Sans", sans-serif;\n letter-spacing: -0.1px;\n }\n']))),$r=n(467),Xr=n(459),qr=n(460),Qr=n(468),ei=n(190),ti=n.n(ei);function ni(e){var t=e.isOffline,n=e.isLoading,r=Object(ce.a)().t,i=Object(a.useState)(!1),o=Object(l.a)(i,2),c=o[0],s=o[1];return Object($.jsxs)("div",{children:[Object($.jsxs)(Hr.a,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(ti.a,{})}),Object($.jsx)(qr.a,{primary:r("AddFromLink")})]}),c&&Object($.jsx)(cr,{handleClose:function(){return s(!1)}})]})}var ai,ri,ii,oi,ci,li,si,di,pi,ji,bi,ui,hi,xi,gi,mi,Oi,fi,Ci,vi,yi,wi,Si=n(192),Di=n.n(Si),ki=n(480),Ti=n(462),Pi=n(477),Mi=n(464),Bi=n(191),Ri=n.n(Bi),Li="#b3dfc9",Ai=ze.light.primary,zi=Object(He.d)(fa)(ai||(ai=Object(Ue.a)(["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n justify-content: space-between;\n\n @media (max-width: 340px) {\n grid-auto-flow: row;\n }\n"]))),Fi=He.d.div(ri||(ri=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.theme.settingsDialog.footerBG;return Object(He.c)(ii||(ii=Object(Ue.a)(["\n padding: 20px;\n display: grid;\n grid-auto-flow: column;\n justify-content: end;\n gap: 10px;\n align-items: center;\n background: ",";\n\n @media (max-width: 500px) {\n grid-auto-flow: row;\n justify-content: stretch;\n }\n "])),t)})),Ei=(He.d.div(oi||(oi=Object(Ue.a)(["\n height: 1px;\n background-color: rgba(0, 0, 0, 0.12);\n margin: 30px 0;\n"]))),He.d.div(ci||(ci=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isLoading,n=e.theme.settingsDialog.contentBG;return Object(He.c)(li||(li=Object(Ue.a)(["\n background: ",";\n overflow: auto;\n flex: 1;\n\n ","\n "])),n,t&&Object(He.c)(si||(si=Object(Ue.a)(["\n min-height: 500px;\n display: grid;\n place-items: center;\n "]))))}))),Gi=He.d.div(di||(di=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.color;return Object(He.c)(pi||(pi=Object(Ue.a)(["\n display: grid;\n grid-template-columns: max-content 100px 1fr;\n gap: 10px;\n align-items: flex-start;\n\n :not(:last-child) {\n margin-bottom: 5px;\n }\n\n :before {\n content: '';\n background: ",";\n width: 16px;\n height: 16px;\n border-radius: 50%;\n margin-top: 2px;\n }\n "])),t)})),Ni=He.d.div(ji||(ji=Object(Ue.a)(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 40px;\n padding: 20px;\n\n @media (max-width: 930px) {\n grid-template-columns: 1fr;\n }\n"]))),Ii=He.d.div(bi||(bi=Object(Ue.a)(["\n padding: 20px;\n"]))),Ui=He.d.div(ui||(ui=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.small,n=e.selected;return Object(He.c)(hi||(hi=Object(Ue.a)(["\n transition: 0.2s;\n cursor: default;\n text-align: center;\n\n ","\n\n ","\n "])),!n&&Object(He.c)(xi||(xi=Object(Ue.a)(["\n cursor: pointer;\n\n :hover {\n filter: brightness(0.8);\n }\n "]))),t?Object(He.c)(gi||(gi=Object(Ue.a)(["\n display: grid;\n grid-template-columns: max-content 1fr;\n gap: 20px;\n align-items: center;\n justify-items: start;\n margin-bottom: 20px;\n "]))):Object(He.c)(mi||(mi=Object(Ue.a)(["\n display: grid;\n place-items: center;\n gap: 10px;\n "]))))})),Hi=He.d.div(Oi||(Oi=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.selected,n=e.small;return Object(He.c)(fi||(fi=Object(Ue.a)(["\n width: ",";\n height: ",";\n border-radius: 50%;\n background: ",";\n\n svg {\n transform: rotate(-45deg) scale(0.75);\n }\n\n @media (max-width: 930px) {\n width: ",";\n height: ",";\n }\n "])),n?"60px":"150px",n?"60px":"150px",t?"#323637":"#dee3e5",n?"50px":"90px",n?"50px":"90px")})),Wi=He.d.div(Ci||(Ci=Object(Ue.a)(["\n display: grid;\n grid-template-rows: max-content 1fr;\n grid-template-areas: 'label label';\n place-items: center;\n\n @media (max-width: 930px) {\n justify-content: start;\n column-gap: 30px;\n }\n"]))),Vi=He.d.div(vi||(vi=Object(Ue.a)(["\n font-size: 25px;\n padding-bottom: 20px;\n\n small {\n display: block;\n font-size: 11px;\n }\n"]))),Zi=He.d.div.attrs((function(e){var t=e.value;return{style:{background:"linear-gradient(to right, ".concat(Li," 0%, ").concat(Li," ").concat(t,"%, ").concat(Ai," ").concat(t,"%, ").concat(Ai," 100%)")}}}))(yi||(yi=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.label,n=e.preloadCachePercentage;return Object(He.c)(wi||(wi=Object(Ue.a)(["\n border: 1px solid #323637;\n padding: 10px 20px;\n border-radius: 5px;\n color: #000;\n margin-bottom: 10px;\n position: relative;\n\n :before {\n content: '","';\n display: grid;\n place-items: center;\n font-size: 20px;\n }\n\n :after {\n content: '';\n width: ","%;\n height: 100%;\n background: #323637;\n position: absolute;\n bottom: 0;\n left: 0;\n border-radius: 4px;\n filter: opacity(0.15);\n }\n "])),t,n)})),_i={AcceptPeerCon:!0,AnnTorrentsToDht:!0,CacheSize:96,ReaderReadAHead:95,UseDisk:!1,UploadRateLimit:0,TorrentsSavePath:"",ConnectionsLimit:23,DisableDHT:!1,DisablePEX:!1,DisableTCP:!1,DisableUPNP:!1,DisableUTP:!0,DisableUpload:!1,DownloadRateLimit:0,EnableDebug:!1,EnableIPv6:!1,ForceEncrypt:!1,PeersListenPort:0,PreloadCache:0,RemoveCacheOnDrop:!1,RetrackersMode:1,TorrentDisconnectTimeout:30},Ki=n(197),Ji=function(e){return{id:"full-width-tab-".concat(e),"aria-controls":"full-width-tabpanel-".concat(e)}},Yi=function(e){var t=e.children,n=e.value,a=e.index,r=Object(Ki.a)(e,["children","value","index"]);return Object($.jsx)("div",Object(M.a)(Object(M.a)({role:"tabpanel",hidden:n!==a,id:"full-width-tabpanel-".concat(a)},r),{},{children:n===a&&Object($.jsx)($.Fragment,{children:t})}))},$i=n(463),Xi=n(461),qi=n(487),Qi=n(485);function eo(e){var t=e.isProMode,n=e.title,a=e.value,r=e.setValue,i=e.sliderMin,o=e.sliderMax,c=e.inputMin,l=e.inputMax,s=e.step,d=void 0===s?1:s,p=e.onBlurCallback;return Object($.jsxs)($.Fragment,{children:[Object($.jsx)("div",{children:n}),Object($.jsxs)(Xi.a,{container:!0,spacing:2,alignItems:"center",children:[Object($.jsx)(Xi.a,{item:!0,xs:!0,children:Object($.jsx)(qi.a,{min:i,max:o,value:a,onChange:function(e,t){return r(t)},step:d,color:"secondary"})}),t&&Object($.jsx)(Xi.a,{item:!0,children:Object($.jsx)(Qi.a,{value:a,margin:"dense",onChange:function(e){var t=e.target.value;return r(""===t?"":Number(t))},onBlur:function(e){var t=e.target.value;return t<c?r(c):t>l?r(l):void(p&&p(t))},style:{width:"91px",marginTop:"-6px"},inputProps:{step:d,min:c,max:l,type:"number"}})})]})]})}var to=function(e){var t=e.style,n=Object(ce.a)().t;return Object($.jsxs)(Vi,{style:t,children:[n("SettingsDialog.CacheStorageLocation"),Object($.jsx)("small",{children:n("SettingsDialog.UseDiskDesc")})]})};function no(e){var t=e.settings,n=e.inputForm,a=e.cachePercentage,r=e.preloadCachePercentage,i=e.cacheSize,o=e.isProMode,c=e.setCacheSize,l=e.setCachePercentage,s=e.setPreloadCachePercentage,d=e.updateSettings,p=Object(ce.a)().t,j=t||{},b=j.UseDisk,u=j.TorrentsSavePath,h=j.RemoveCacheOnDrop,x=Math.round(i/100*r);return Object($.jsxs)(Ni,{children:[Object($.jsxs)("div",{children:[Object($.jsx)(Vi,{children:p("SettingsDialog.CacheSettings")}),Object($.jsx)(Zi,{value:100-a,label:"".concat(p("Cache")," ").concat(i," MB"),preloadCachePercentage:r}),Object($.jsxs)(Gi,{color:Li,children:[Object($.jsxs)("div",{children:[100-a,"% (",Math.round(i/100*(100-a))," MB)"]}),Object($.jsx)("div",{children:p("SettingsDialog.CacheBeforeReaderDesc")})]}),Object($.jsxs)(Gi,{color:Ai,children:[Object($.jsxs)("div",{children:[a,"% (",Math.round(i/100*a)," MB)"]}),Object($.jsx)("div",{children:p("SettingsDialog.CacheAfterReaderDesc")})]}),Object($.jsx)("br",{}),Object($.jsx)(eo,{isProMode:o,title:p("SettingsDialog.CacheSize"),value:i,setValue:c,sliderMin:32,sliderMax:1024,inputMin:32,inputMax:999999,step:4,onBlurCallback:function(e){return c(4*Math.round(e/4))}}),Object($.jsx)(eo,{isProMode:o,title:p("SettingsDialog.ReaderReadAHead"),value:a,setValue:l,sliderMin:40,sliderMax:95,inputMin:0,inputMax:100}),Object($.jsx)(eo,{isProMode:o,title:"".concat(p("SettingsDialog.PreloadCache")," - ").concat(r,"% (").concat(x," MB)"),value:r,setValue:s,sliderMin:0,sliderMax:100,inputMin:0,inputMax:100})]}),b?Object($.jsxs)("div",{children:[Object($.jsx)(to,{}),Object($.jsxs)("div",{style:{display:"grid",gridAutoFlow:"column"},children:[Object($.jsxs)(Ui,{small:!0,onClick:function(){return d({UseDisk:!1})},children:[Object($.jsx)(Hi,{small:!0,children:Object($.jsx)(ee,{color:"#323637"})}),Object($.jsx)("div",{children:p("SettingsDialog.RAM")})]}),Object($.jsxs)(Ui,{small:!0,selected:!0,children:[Object($.jsx)(Hi,{small:!0,selected:!0,children:Object($.jsx)(Q,{color:"#dee3e5"})}),Object($.jsx)("div",{children:p("SettingsDialog.Disk")})]})]}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:h,onChange:n,id:"RemoveCacheOnDrop",color:"secondary"}),label:p("SettingsDialog.RemoveCacheOnDrop"),labelPlacement:"start"}),Object($.jsx)("div",{children:Object($.jsx)("small",{children:p("SettingsDialog.RemoveCacheOnDropDesc")})}),Object($.jsx)("br",{}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"TorrentsSavePath",label:p("SettingsDialog.TorrentsSavePath"),value:u,type:"url",variant:"outlined",fullWidth:!0})]}):Object($.jsxs)(Wi,{children:[Object($.jsx)(to,{style:{placeSelf:"start",gridArea:"label"}}),Object($.jsxs)(Ui,{selected:!0,children:[Object($.jsx)(Hi,{selected:!0,children:Object($.jsx)(ee,{color:"#dee3e5"})}),Object($.jsx)("div",{children:p("SettingsDialog.RAM")})]}),Object($.jsxs)(Ui,{onClick:function(){return d({UseDisk:!0})},children:[Object($.jsx)(Hi,{children:Object($.jsx)(Q,{color:"#323637"})}),Object($.jsx)("div",{children:p("SettingsDialog.Disk")})]})]})]})}var ao=n(486),ro=n(476);function io(e){var t=e.settings,n=e.inputForm,a=Object(ce.a)().t,r=t||{},i=r.AcceptPeerCon,o=r.AnnTorrentsToDht,c=r.RetrackersMode,l=r.TorrentDisconnectTimeout,s=r.EnableIPv6,d=r.ForceEncrypt,p=r.DisableTCP,j=r.DisableUTP,b=r.DisableUPNP,u=r.DisableDHT,h=r.DisablePEX,x=r.DisableUpload,g=r.DownloadRateLimit,m=r.UploadRateLimit,O=r.ConnectionsLimit,f=r.PeersListenPort;return Object($.jsxs)(Ii,{children:[Object($.jsx)(Vi,{children:a("SettingsDialog.AdditionalSettings")}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:s,onChange:n,id:"EnableIPv6",color:"secondary"}),label:"IPv6",labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!p,onChange:n,id:"DisableTCP",color:"secondary"}),label:"TCP (Transmission Control Protocol)",labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!j,onChange:n,id:"DisableUTP",color:"secondary"}),label:"\u03bcTP (Micro Transport Protocol)",labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!h,onChange:n,id:"DisablePEX",color:"secondary"}),label:"PEX (Peer Exchange)",labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:d,onChange:n,id:"ForceEncrypt",color:"secondary"}),label:a("SettingsDialog.ForceEncrypt"),labelPlacement:"start"}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"TorrentDisconnectTimeout",label:a("SettingsDialog.TorrentDisconnectTimeout"),InputProps:{endAdornment:Object($.jsx)(Za.a,{position:"end",children:a("Seconds")})},value:l,type:"number",variant:"outlined",fullWidth:!0}),Object($.jsx)("br",{}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"ConnectionsLimit",label:a("SettingsDialog.ConnectionsLimit"),helperText:a("SettingsDialog.ConnectionsLimitHint"),value:O,type:"number",variant:"outlined",fullWidth:!0}),Object($.jsx)("br",{}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!u,onChange:n,id:"DisableDHT",color:"secondary"}),label:a("SettingsDialog.DHT"),labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:o,onChange:n,id:"AnnTorrentsToDht",color:"secondary"}),label:a("SettingsDialog.AnnTorrentsToDht"),labelPlacement:"start"}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:i,onChange:n,id:"AcceptPeerCon",color:"secondary"}),label:a("SettingsDialog.AcceptPeerCon"),labelPlacement:"start"}),Object($.jsx)("br",{}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"DownloadRateLimit",label:a("SettingsDialog.DownloadRateLimit"),InputProps:{endAdornment:Object($.jsx)(Za.a,{position:"end",children:a("Kilobytes")})},value:g,type:"number",variant:"outlined",fullWidth:!0}),Object($.jsx)("br",{}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!x,onChange:n,id:"DisableUpload",color:"secondary"}),label:a("SettingsDialog.Upload"),labelPlacement:"start"}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"UploadRateLimit",label:a("SettingsDialog.UploadRateLimit"),InputProps:{endAdornment:Object($.jsx)(Za.a,{position:"end",children:a("Kilobytes")})},value:m,type:"number",variant:"outlined",fullWidth:!0}),Object($.jsx)("br",{}),Object($.jsx)(Va.a,{onChange:n,margin:"normal",id:"PeersListenPort",label:a("SettingsDialog.PeersListenPort"),value:f,type:"number",variant:"outlined",fullWidth:!0}),Object($.jsx)(Ti.a,{control:Object($.jsx)($i.a,{checked:!b,onChange:n,id:"DisableUPNP",color:"secondary"}),label:"UPnP (Universal Plug and Play)",labelPlacement:"start"}),Object($.jsx)("br",{}),Object($.jsx)(ao.a,{htmlFor:"RetrackersMode",children:a("SettingsDialog.RetrackersMode")}),Object($.jsxs)(ro.a,{onChange:n,margin:"normal",type:"number",native:!0,id:"RetrackersMode",value:c,variant:"outlined",children:[Object($.jsx)("option",{value:0,children:a("SettingsDialog.DontAddRetrackers")}),Object($.jsx)("option",{value:1,children:a("SettingsDialog.AddRetrackers")}),Object($.jsx)("option",{value:2,children:a("SettingsDialog.RemoveRetrackers")}),Object($.jsx)("option",{value:3,children:a("SettingsDialog.ReplaceRetrackers")})]}),Object($.jsx)("br",{})]})}function oo(e){var t=e.handleClose,n=Object(ce.a)().t,r=Object(Re.a)("@media (max-width:930px)"),i=Object(Y.a)().direction,o=Object(a.useState)(),c=Object(l.a)(o,2),s=c[0],d=c[1],p=Object(a.useState)(0),j=Object(l.a)(p,2),b=j[0],u=j[1],h=Object(a.useState)(32),x=Object(l.a)(h,2),g=x[0],m=x[1],O=Object(a.useState)(40),f=Object(l.a)(O,2),C=f[0],v=f[1],y=Object(a.useState)(0),S=Object(l.a)(y,2),D=S[0],k=S[1],T=Object(a.useState)(JSON.parse(localStorage.getItem("isProMode"))||!1),B=Object(l.a)(T,2),R=B[0],L=B[1];Object(a.useEffect)((function(){P.a.post(w(),{action:"get"}).then((function(e){var t=e.data;d(Object(M.a)(Object(M.a)({},t),{},{CacheSize:t.CacheSize/1048576}))}))}),[]);var A=function(e){var t=e.target,n=t.type,a=t.value,r=t.checked,i=t.id,o=JSON.parse(JSON.stringify(s));"number"===n||"select-one"===n?o[i]=Number(a):"checkbox"===n?o[i]="DisableTCP"===i||"DisableUTP"===i||"DisableUPNP"===i||"DisableDHT"===i||"DisablePEX"===i||"DisableUpload"===i?Boolean(!r):Boolean(r):"url"===n&&(o[i]=a),d(o)},z=s||{},F=z.CacheSize,E=z.ReaderReadAHead,G=z.PreloadCache;Object(a.useEffect)((function(){isNaN(F)||isNaN(E)||isNaN(G)||(m(F),v(E),k(G))}),[F,E,G]);var N=function(e){return d(Object(M.a)(Object(M.a)({},s),e))};return Object($.jsxs)(An.a,{open:!0,onClose:t,fullScreen:r,fullWidth:!0,maxWidth:"md",children:[Object($.jsxs)(zi,{children:[Object($.jsx)("div",{children:n("SettingsDialog.Settings")}),Object($.jsx)(Ti.a,{control:Object($.jsx)(ki.a,{checked:R,onChange:function(e){var t=e.target.checked;L(t),localStorage.setItem("isProMode",t),t||u(0)},style:{color:"white"}}),label:n("SettingsDialog.ProMode")})]}),Object($.jsx)(de.a,{position:"static",color:"default",children:Object($.jsxs)(Pi.a,{value:b,onChange:function(e,t){return u(t)},indicatorColor:"secondary",textColor:"secondary",variant:"fullWidth",children:[Object($.jsx)(Mi.a,Object(M.a)({label:n("SettingsDialog.Tabs.Main")},Ji(0))),Object($.jsx)(Mi.a,Object(M.a)({disabled:!R,label:Object($.jsxs)($.Fragment,{children:[Object($.jsx)("div",{children:n("SettingsDialog.Tabs.Additional")}),!R&&Object($.jsx)("div",{style:{fontSize:"9px"},children:n("SettingsDialog.Tabs.AdditionalDisabled")})]})},Ji(1)))]})}),Object($.jsx)(Ei,{isLoading:!s,children:s?Object($.jsx)($.Fragment,{children:Object($.jsxs)(Ri.a,{axis:"rtl"===i?"x-reverse":"x",index:b,onChangeIndex:function(e){return u(e)},children:[Object($.jsx)(Yi,{value:b,index:0,dir:i,children:Object($.jsx)(no,{settings:s,inputForm:A,cachePercentage:C,preloadCachePercentage:D,cacheSize:g,isProMode:R,setCacheSize:m,setCachePercentage:v,setPreloadCachePercentage:k,updateSettings:N})}),Object($.jsx)(Yi,{value:b,index:1,dir:i,children:Object($.jsx)(io,{settings:s,inputForm:A})})]})}):Object($.jsx)(oe.a,{color:"secondary"})}),Object($.jsxs)(Fi,{children:[Object($.jsx)(ne.a,{onClick:t,color:"secondary",variant:"outlined",children:n("Cancel")}),Object($.jsx)(ne.a,{onClick:function(){m(_i.CacheSize),v(_i.ReaderReadAHead),k(_i.PreloadCache),N(_i)},color:"secondary",variant:"outlined",children:n("SettingsDialog.ResetToDefault")}),Object($.jsx)(ne.a,{variant:"contained",onClick:function(){t();var e=JSON.parse(JSON.stringify(s));e.CacheSize=1024*g*1024,e.ReaderReadAHead=C,e.PreloadCache=D,P.a.post(w(),{action:"set",sets:e})},color:"secondary",children:n("Save")})]})]})}function co(e){var t=e.isOffline,n=e.isLoading,r=Object(ce.a)().t,i=Object(a.useState)(!1),o=Object(l.a)(i,2),c=o[0],s=o[1];return Object($.jsxs)("div",{children:[Object($.jsxs)(Hr.a,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(Di.a,{})}),Object($.jsx)(qr.a,{primary:r("SettingsDialog.Settings")})]}),c&&Object($.jsx)(oo,{handleClose:function(){return s(!1)}})]})}var lo=n(193),so=n.n(lo);function po(e){var t=e.isOffline,n=e.isLoading,r=Object(ce.a)().t,i=Object(a.useState)(!1),o=Object(l.a)(i,2),c=o[0],s=o[1],d=function(){return s(!1)};return Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(Hr.a,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(so.a,{})}),Object($.jsx)(qr.a,{primary:r("RemoveAll")})]},r("RemoveAll")),Object($.jsxs)(An.a,{open:c,onClose:d,children:[Object($.jsx)(Fn.a,{children:r("DeleteTorrents?")}),Object($.jsxs)(En.a,{children:[Object($.jsx)(ne.a,{variant:"outlined",onClick:d,color:"secondary",children:r("Cancel")}),Object($.jsx)(ne.a,{variant:"contained",onClick:function(){fetch(v(),{method:"post",body:JSON.stringify({action:"list"}),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}}).then((function(e){return e.json()})).then((function(e){e.forEach((function(e){fetch(v(),{method:"post",body:JSON.stringify({action:"rem",hash:e.hash}),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}})}))})),d()},color:"secondary",autoFocus:!0,children:r("OK")})]})]})]})}var jo,bo,uo,ho,xo,go,mo,Oo,fo,Co,vo=n(194),yo=n.n(vo),wo=n(465),So=He.d.div(jo||(jo=Object(Ue.a)(["\n height: 100%;\n display: grid;\n grid-template-rows: max-content 1fr max-content;\n"]))),Do=He.d.section(bo||(bo=Object(Ue.a)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 36px;\n font-weight: 300;\n padding: 20px;\n\n img {\n width: 64px;\n }\n\n @media (max-width: 930px) {\n font-size: 24px;\n padding: 10px 20px;\n\n img {\n width: 60px;\n }\n }\n"]))),ko=He.d.section(uo||(uo=Object(Ue.a)(["\n padding: 20px;\n text-align: center;\n font-size: 24px;\n font-weight: 300;\n background: #e8e5eb;\n color: #323637;\n\n @media (max-width: 930px) {\n font-size: 20px;\n padding: 30px 20px;\n }\n"]))),To=He.d.section(ho||(ho=Object(Ue.a)(["\n padding: 20px;\n\n > span {\n font-size: 20px;\n display: block;\n margin-bottom: 15px;\n }\n\n a {\n text-decoration: none;\n }\n\n > div {\n display: grid;\n gap: 10px;\n grid-template-columns: repeat(4, max-content);\n\n @media (max-width: 930px) {\n grid-template-columns: repeat(3, 1fr);\n }\n\n @media (max-width: 780px) {\n grid-template-columns: repeat(2, 1fr);\n }\n\n @media (max-width: 550px) {\n grid-template-columns: 1fr;\n }\n }\n"]))),Po=He.d.div(xo||(xo=Object(Ue.a)(["\n padding: 20px;\n display: flex;\n justify-content: flex-end;\n background: #e8e5eb;\n"]))),Mo=He.d.a(go||(go=Object(Ue.a)(["\n ","\n"])),(function(e){var t=e.isLink;return Object(He.c)(mo||(mo=Object(Ue.a)(["\n display: inline-flex;\n align-items: center;\n justify-content: start;\n border: 1px solid;\n padding: 10px;\n border-radius: 5px;\n text-transform: uppercase;\n text-decoration: none;\n background: #545a5e;\n color: #f1eff3;\n transition: 0.2s;\n\n > * {\n transition: 0.2s;\n }\n\n ","\n "])),t?Object(He.c)(Oo||(Oo=Object(Ue.a)(["\n :hover {\n filter: brightness(1.1);\n\n > * {\n transform: translateY(-1px);\n }\n }\n "]))):Object(He.c)(fo||(fo=Object(Ue.a)(["\n cursor: default;\n "]))))})),Bo=He.d.div(Co||(Co=Object(Ue.a)(["\n display: grid;\n margin-right: 10px;\n"])));function Ro(e){var t=e.name,n=e.link;return Object($.jsxs)(Mo,{isLink:!!n,href:n,target:"_blank",rel:"noreferrer",children:[n&&Object($.jsx)(Bo,{children:Object($.jsx)(wo.a,{})}),Object($.jsx)("div",{children:t})]})}function Lo(){var e=Object(ce.a)().t,t=Object(a.useState)(!1),n=Object(l.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(""),c=Object(l.a)(o,2),s=c[0],d=c[1],p=Object(Re.a)("@media (max-width:930px)");return Object(a.useEffect)((function(){P.a.get(D()).then((function(e){var t=e.data;return d(t)}))}),[]),Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(Hr.a,{button:!0,onClick:function(){return i(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(yo.a,{})}),Object($.jsx)(qr.a,{primary:e("About")})]},"Settings"),Object($.jsx)(An.a,{open:r,onClose:function(){return i(!1)},"aria-labelledby":"form-dialog-title",fullScreen:p,maxWidth:"xl",children:Object($.jsxs)(So,{children:[Object($.jsxs)(Do,{children:[Object($.jsx)("div",{children:e("About")}),s,Object($.jsx)("img",{src:"/apple-touch-icon.png",alt:"ts-icon"})]}),Object($.jsxs)("div",{style:{overflow:"auto"},children:[Object($.jsx)(ko,{children:e("ThanksToEveryone")}),Object($.jsxs)(To,{children:[Object($.jsx)("span",{children:e("Links")}),Object($.jsxs)("div",{children:[Object($.jsx)(Ro,{name:e("ProjectSource"),link:"https://github.com/YouROK/TorrServer"}),Object($.jsx)(Ro,{name:e("Releases"),link:"https://github.com/YouROK/TorrServer/releases"})]})]}),Object($.jsxs)(To,{children:[Object($.jsx)("span",{children:e("SpecialThanks")}),Object($.jsxs)("div",{children:[Object($.jsx)(Ro,{name:"Daniel Shleifman",link:"https://github.com/dancheskus"}),Object($.jsx)(Ro,{name:"Matt Joiner",link:"https://github.com/anacrolix"}),Object($.jsx)(Ro,{name:"nikk",link:"https://github.com/tsynik"}),Object($.jsx)(Ro,{name:"tw1cker \u0420\u0443\u0441\u043b\u0430\u043d \u041f\u0430\u0445\u043d\u0435\u0432",link:"https://github.com/Nemiroff"}),Object($.jsx)(Ro,{name:"SpAwN_LMG",link:"https://github.com/spawnlmg"})]})]})]}),Object($.jsx)(Po,{children:Object($.jsx)(ne.a,{onClick:function(){return i(!1)},color:"primary",variant:"contained",children:e("Close")})})]})})]})}var Ao=n(466);function zo(e){var t=e.isOffline,n=e.isLoading,r=Object(ce.a)().t,i=Object(a.useState)(!1),o=Object(l.a)(i,2),c=o[0],s=o[1],d=function(){return s(!1)};return Object($.jsxs)($.Fragment,{children:[Object($.jsxs)(Hr.a,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(Ao.a,{})}),Object($.jsx)(qr.a,{primary:r("CloseServer")})]},r("CloseServer")),Object($.jsxs)(An.a,{open:c,onClose:d,children:[Object($.jsx)(Fn.a,{children:r("CloseServer?")}),Object($.jsxs)(En.a,{children:[Object($.jsx)(ne.a,{variant:"outlined",onClick:d,color:"secondary",children:r("Cancel")}),Object($.jsx)(ne.a,{variant:"contained",onClick:function(){fetch("".concat(C,"/shutdown")),d()},color:"secondary",autoFocus:!0,children:r("TurnOff")})]})]})]})}var Fo=function(e){var t=e.isDrawerOpen,n=e.setIsDonationDialogOpen,a=e.isOffline,r=e.isLoading,i=Object(ce.a)().t;return Object($.jsxs)(Rr,{isDrawerOpen:t,children:[Object($.jsxs)(Vr.a,{children:[Object($.jsx)(ni,{isOffline:a,isLoading:r}),Object($.jsx)(po,{isOffline:a,isLoading:r})]}),Object($.jsx)($r.a,{}),Object($.jsxs)(Vr.a,{children:[Object($.jsx)(co,{isOffline:a,isLoading:r}),Object($.jsx)(Lo,{}),Object($.jsxs)(Hr.a,{button:!0,onClick:function(){return n(!0)},children:[Object($.jsx)(Xr.a,{children:Object($.jsx)(Qr.a,{})}),Object($.jsx)(qr.a,{primary:i("Donate")})]}),Object($.jsx)(zo,{isOffline:a,isLoading:r})]})]})},Eo=Object(a.memo)(Fo),Go=Object(a.createContext)();function No(){var e,t=Object(a.useState)(!1),n=Object(l.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(!1),c=Object(l.a)(o,2),g=c[0],m=c[1],O=Object(a.useState)(""),f=Object(l.a)(O,2),C=f[0],v=f[1],y=function(){var e=localStorage.getItem("themeMode"),t=Object(Re.a)("(prefers-color-scheme: dark)"),n=Object(a.useState)("dark"===e||t),r=Object(l.a)(n,2),i=r[0],o=r[1],c=Object(a.useState)(e||Fe),s=Object(l.a)(c,2),d=s[0],p=s[1];Object(a.useEffect)((function(){d===Fe&&o(!1),d===Ee&&o(!0),d===Ge&&o(t)}),[t,d]);var j=i?Ee:Fe,b=Object(a.useMemo)((function(){return Object(Be.a)({typography:Ne,palette:{type:j,primary:{main:ze[j].primary},secondary:{main:ze[j].secondary}},overrides:{MuiInputBase:{input:{color:ze[j].labels}},MuiFormControlLabel:{labelPlacementStart:{display:"flex",justifyContent:"space-between",marginStart:0,marginTop:6,marginBottom:2}},MuiInputLabel:{root:{color:ze[j].labels,marginBottom:8,"&$focused":{color:ze[j].labels}}}}})}),[j]);return[i,d,function(e){p(e),localStorage.setItem("themeMode",e)},b]}(),w=Object(l.a)(y,4),S=w[0],T=w[1],B=w[2],R=w[3],L=In(),A=Object(l.a)(L,2),z=A[0],F=A[1],E=Object(a.useState)(!1),G=Object(l.a)(E,2),N=G[0],I=G[1],U=Object(ga.a)("torrents",J,{retry:1,refetchInterval:1e3,onError:function(){return I(!0)},onSuccess:function(){return I(!1)}}),H=U.data,W=U.isLoading;return Object(a.useEffect)((function(){P.a.get(D()).then((function(e){var t=e.data;return v(t)}))}),[]),Object($.jsxs)($.Fragment,{children:[Object($.jsx)(Yr,{}),Object($.jsx)(Go.Provider,{value:{isDarkMode:S},children:Object($.jsx)(Jr.a,{theme:R,children:Object($.jsxs)(He.a,{theme:(e=S?Ee:Fe,Object(M.a)(Object(M.a)({},Ae[e]),ze[e])),children:[Object($.jsx)(s.a,{}),Object($.jsx)(k.a,{children:Object($.jsxs)(Pr,{children:[Object($.jsxs)(Br,{children:[Object($.jsx)(p.a,{edge:"start",color:"inherit",onClick:function(){return i(!r)},style:{marginRight:"6px"},children:r?Object($.jsx)(j.a,{}):Object($.jsx)(b.a,{})}),Object($.jsxs)(d.a,{variant:"h6",noWrap:!0,children:["TorrServer ",C]}),Object($.jsxs)("div",{style:{justifySelf:"end",display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"10px"},children:[Object($.jsx)(Ar,{onClick:function(){T===Fe&&B(Ee),T===Ee&&B(Ge),T===Ge&&B(Fe)},children:T===Fe?Object($.jsx)(u.a,{}):T===Ee?Object($.jsx)(h.a,{}):Object($.jsx)(x.a,{})}),Object($.jsx)(Ar,{onClick:function(){return F("en"===z?"ru":"en")},children:"en"===z?"EN":"RU"})]})]}),Object($.jsx)(Eo,{isOffline:N,isLoading:W,isDrawerOpen:r,setIsDonationDialogOpen:m}),Object($.jsx)(Gr,{isOffline:N,torrents:H,isLoading:W}),Object($.jsx)(Jr.a,{theme:Ie,children:g&&Object($.jsx)(Zr,{onClose:function(){return m(!1)}})}),!JSON.parse(localStorage.getItem("snackbarIsClosed"))&&Object($.jsx)(_r,{})]})})]})})})]})}var Io=new o.a;i.a.render(Object($.jsx)(a.StrictMode,{children:Object($.jsx)(c.a,{client:Io,children:Object($.jsx)(No,{})})}),document.getElementById("root"))}},[[382,1,2]]]);
|
|
//# sourceMappingURL=main.156908fe.chunk.js.map
|