Files
TorrServerJellyfin/server/web/pages/template/pages/static/js/main.56b36c2a.chunk.js
2023-06-02 14:08:52 +03:00

2 lines
181 KiB
JavaScript

(this.webpackJsonptorrserver_web=this.webpackJsonptorrserver_web||[]).push([[0],{190: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","TitleBlankHelperText":"Blank for orig. torrent title","TorrentSourceLink":"Torrent source","TorrentSourceOptions":"magnet / hash / .torrent file link","WrongTorrentSource":"Wrong torrent source"},"AddFromLink":"Add Torrent","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","DebugMode":"Download priorities","Delete":"Delete","DeleteTorrent?":"Delete Torrent?","DeleteTorrents?":"Delete All Torrents?","DetailedCacheView":{"button":"Cache Details 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","Playlist":"Playlist","Preload":"Preload","ProjectSource":"Project GitHub","PWAGuide":{"Header":"Install application","Description":"Install the app on your device to easily access it anytime. No app store. No download.","VLC":"VLC button will be added to open video instantly on the phone","FirstStep":"Tap on","SecondStep":{"Select":"Select","AddToHomeScreen":"Add to Home Screen"}},"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":{"AddRetrackers":"Add retrackers","AdditionalSettings":"Additional Settings","MobileAppSettings":"Mobile app 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)","DisableDHTHint":"Disable if there is no network after starting the server","DisablePEXHint":"Better leave enabled","DisableTCPHint":"Don\'t disable without \u03bcTP enabled","DisableUPNPHint":"Auto-open port on router","DisableUTPHint":"Not recommended to enable on weak devices","Disk":"Disk","DLNA":"DLNA Media Server","DontAddRetrackers":"Don`t add retrackers","DownloadRateLimit":"Download Rate Limit","EnableDebug":"Enable Debug Server Log","EnableIPv6Hint":"Enable only if supported by ISP","ForceEncrypt":"Force Encrypt Headers","ForceEncryptHint":"Can help with torrent blocking providers","FriendlyName":"DLNA Server Name","FriendlyNameHint":"Leave blank to use default","EnableRutorSearch":"Turn on torrents search by RuTor","EnableRutorSearchHint":"You can search torrents by RuTor, even if the RuTor is not available. NOTE: The database takes about 500 MB of RAM.","PeersListenPort":"Peers Listen Port","PeersListenPortHint":"1024 - 65535, 0 - auto","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","UploadHint":"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)","App":"App"},"UseVLC":"Prompt to open video in VLC","UseVLCHint":"Add VLC player button to torrent content list"},"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"}')},191: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 \u0442\u043e\u0440\u0440\u0435\u043d\u0442","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 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 (\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 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TitleBlank":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","TitleBlankHelperText":"\u041f\u0443\u0441\u0442\u043e\u0435 - \u043e\u0440\u0438\u0433. \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \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 \u0442\u043e\u0440\u0440\u0435\u043d\u0442"},"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","DebugMode":"\u041c\u0435\u0442\u043a\u0438 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432","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":"\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u0435\u0448\u0430","header":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0435\u0448\u0435"},"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","Playlist":"\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442","Preload":"\u041f\u0440\u0435\u0434\u0437\u0430\u0433\u0440.","ProjectSource":"GitHub \u043f\u0440\u043e\u0435\u043a\u0442\u0430","PWAGuide":{"Header":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435","Description":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0411\u0435\u0437 AppStore. \u0411\u0435\u0437 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.","VLC":"\u041a\u043d\u043e\u043f\u043a\u0430 VLC \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0434\u043b\u044f \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435","FirstStep":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430","SecondStep":{"Select":"\u0412\u044b\u0431\u0438\u0440\u0438\u0442\u0435","AddToHomeScreen":"\u041d\u0430 \u044d\u043a\u0440\u0430\u043d \xab\u0414\u043e\u043c\u043e\u0439\xbb"}},"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\u0435 \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":{"AddRetrackers":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c","AdditionalSettings":"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","MobileAppSettings":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f","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)","DisableDHTHint":"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u0445\u044d\u0448-\u0442\u0430\u0431\u043b\u0438\u0446\u0430 - \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\u0435\u0442\u0438 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430","DisablePEXHint":"\u041e\u0431\u043c\u0435\u043d \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 - \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c","DisableTCPHint":"\u041d\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 \u0431\u0435\u0437 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u03bcTP","DisableUPNPHint":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435","DisableUTPHint":"\u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0430 \u0441\u043b\u0430\u0431\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445","Disk":"\u041f\u0417\u0423 / \u041d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c","DLNA":"DLNA-\u043c\u0435\u0434\u0438\u0430\u0441\u0435\u0440\u0432\u0435\u0440","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","EnableDebug":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0436\u0443\u0440\u043d\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u0430","EnableIPv6Hint":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f","ForceEncrypt":"\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432","ForceEncryptHint":"\u041c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0441 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c\u0438","FriendlyName":"\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 DLNA","FriendlyNameHint":"\u041e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0443\u0441\u0442\u044b\u043c, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.","EnableRutorSearch":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u043f\u043e RuTor","EnableRutorSearchHint":"\u041f\u043e\u0438\u0441\u043a \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u043e\u0432 \u043e\u0442 RuTor, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 RuTor \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415: \u0431\u0430\u0437\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u043a\u043e\u043b\u043e 500 \u041c\u0411 \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438.","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","PeersListenPortHint":"1024 - 65535, 0 - \u0430\u0432\u0442\u043e","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","UploadHint":"\u041d\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":"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435","AdditionalDisabled":"(\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u041f\u0420\u041e-\u0440\u0435\u0436\u0438\u043c)","App":"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435"},"UseVLC":"\u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0432 VLC","UseVLCHint":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044f VLC \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430"},"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."}')},192:function(e){e.exports=JSON.parse('{"About":"\u041f\u0440\u043e \u0441\u0435\u0440\u0432\u0435\u0440","Actions":"\u0414\u0456\u0457","Add":"\u0414\u043e\u0434\u0430\u0442\u0438","AddDialog":{"AddPosterLinkInput":"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u043f\u043b\u0430\u043a\u0430\u0442","AddTorrentSourceNotification":"\u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0434\u043e\u0434\u0430\u0439\u0442\u0435 torrent-\u0434\u0436\u0435\u0440\u0435\u043b\u043e","AppendFile":{"Or":"\u0427\u0418","ClickOrDrag":"\u041d\u0410\u0422\u0418\u0421\u041d\u0406\u0422\u042c / \u041f\u0415\u0420\u0415\u0422\u042f\u0413\u041d\u0406\u0422\u042c \u0424\u0410\u0419\u041b (.torrent)"},"CustomTorrentTitle":"\u0412\u043b\u0430\u0441\u043d\u0430 \u043d\u0430\u0437\u0432\u0430 (\u043e\u043f\u0446\u0456\u0439\u043d\u043e)","CustomTorrentTitleHelperText":"\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u0432\u043b\u0430\u0441\u043d\u0443 \u043d\u0430\u0437\u0432\u0443, \u0449\u043e\u0431 \u0437\u043d\u0430\u0439\u0442\u0438 \u043f\u043b\u0430\u043a\u0430\u0442","HashExists":"\u0414\u0430\u043d\u0438\u0439 \u0442\u043e\u0440\u0435\u043d\u0442 \u0432\u0436\u0435 \u0454 \u0443 \u0431\u0430\u0437\u0456 \u0434\u0430\u043d\u0438\u0445","OriginalTorrentTitle":"\u041e\u0440\u0438\u0433\u0456\u043d\u0430\u043b\u044c\u043d\u0430 \u043d\u0430\u0437\u0432\u0430 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TitleBlank":"\u041d\u0430\u0437\u0432\u0430","TitleBlankHelperText":"\u041f\u043e\u0440\u043e\u0436\u043d\u0454 - \u043e\u0440\u0438\u0433. \u043d\u0430\u0437\u0432\u0430 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TorrentSourceLink":"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0434\u0436\u0435\u0440\u0435\u043b\u043e \u0442\u0435\u0440\u0435\u043d\u0442\u0430","TorrentSourceOptions":"magnet-\u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f / \u0445\u0435\u0448 / \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 .torrent \u0444\u0430\u0439\u043b","WrongTorrentSource":"\u0425\u0438\u0431\u043d\u0435 torrent-\u0434\u0436\u0435\u0440\u0435\u043b\u043e"},"AddFromLink":"\u0414\u043e\u0434\u0430\u0442\u0438 \u0442\u043e\u0440\u0435\u043d\u0442","AddNewTorrent":"\u0414\u043e\u0434\u0430\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u0442\u043e\u0440\u0435\u043d\u0442","B":"\u0411","bps":"\u0431\u0456\u0442/c","Buffer":"\u0411\u0443\u0444\u0435\u0440","BufferNote":"\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c \u0431\u0443\u0444\u0435\u0440 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u0433\u043e \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f > 32 \u041c\u0411 \u0432 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f\u0445, \u0449\u043e\u0431 \u0439\u043e\u0433\u043e \u0437\u043c\u0456\u043d\u0438\u0442\u0438.","Cache":"\u041a\u0435\u0448","Cancel":"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438","Clear":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","CloseServer?":"\u0425\u043e\u0447\u0435\u0442\u0435 \u0432\u0438\u043c\u043a\u043d\u0443\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440?","CloseServer":"\u0412\u0438\u043c\u043a. \u0441\u0435\u0440\u0432\u0435\u0440","CopyHash":"\u0421\u043a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438 \u0445\u0435\u0448","CopyLink":"\u041a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438","Data":"\u0414\u0430\u043d\u0456","DebugMode":"\u041c\u0456\u0442\u043a\u0438 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442\u0456\u0432","Delete":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438","DeleteTorrent?":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0442\u043e\u0440\u0435\u043d\u0442?","DeleteTorrents?":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0432\u0441\u0456 \u0442\u043e\u0440\u0435\u043d\u0442\u0438?","DetailedCacheView":{"button":"\u0417\u0430\u043f\u043e\u0432\u043d\u0435\u043d\u043d\u044f \u043a\u0435\u0448\u0430","header":"\u0406\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u043f\u0440\u043e \u043a\u0435\u0448"},"Details":"\u0414\u0435\u0442\u0430\u043b\u0456","Donate?":"\u0411\u0430\u0436\u0430\u0454\u0442\u0435 \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u043f\u0440\u043e\u0454\u043a\u0442?","Donate":"\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0430","DownloadPlaylist":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f","DownloadSpeed":"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","Drop":"\u0421\u043a\u0438\u043d\u0443\u0442\u0438","DropTorrent":"\u0421\u043a\u0438\u043d\u0443\u0442\u0438 \u0442\u043e\u0440\u0435\u043d\u0442","Edit":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438","EditTorrent":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u043e\u0440\u0435\u043d\u0442","Episode":"\u0421\u0435\u0440\u0456\u044f","FromLatestFile":"\u0417 \u043e\u0441\u0442\u0430\u043d\u043d\u044c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443","Full":"\u041f\u043e\u0432\u043d\u0438\u0439","GB":"\u0413\u0411","Gbps":"\u0413\u0431\u0456\u0442/c","Host":"\u0425\u043e\u0441\u0442","Info":"\u0406\u043d\u0444\u043e","KB":"\u041a\u0411","kbps":"\u043a\u0431\u0456\u0442/\u0441","Kilobytes":"\u041a\u0456\u043b\u043e\u0431\u0430\u0439\u0442","LatestFilePlayed":"\u041e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 \u0444\u0430\u0439\u043b, \u0449\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u0432\u0430\u0432\u0441\u044f:","Links":"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f","MB":"\u041c\u0411","Mbps":"\u041c\u0431\u0456\u0442/c","Name":"\u041d\u0430\u0437\u0432\u0430","NoTorrentsAdded":"\u041d\u0435\u043c\u0430\u0454 \u0442\u043e\u0440\u0435\u043d\u0442\u0456\u0432","Offline":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439","OK":"OK","OpenLink":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438","Peers":"\u041f\u0456\u0440\u0438","PiecesCount":"\u041a-\u0441\u0442\u044c \u0431\u043b\u043e\u043a\u0456\u0432","PiecesLength":"\u0420\u043e\u0437\u043c\u0456\u0440 \u0431\u043b\u043e\u043a\u0443","Playlist":"\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442","Preload":"\u041f\u0435\u0440\u0435\u0434\u0437\u0430\u0432.","ProjectSource":"\u0421\u0430\u0439\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0443","PWAGuide":{"Header":"\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0434\u043e\u0434\u0430\u0442\u043e\u043a","Description":"\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443 \u043d\u0430 \u0441\u0432\u0456\u0439 \u043f\u0440\u0438\u0441\u0442\u0440\u0456\u0439, \u0449\u043e\u0431 \u043b\u0435\u0433\u043a\u043e \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u043e \u043d\u0435\u0457 \u0434\u043e\u0441\u0442\u0443\u043f \u0443 \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0447\u0430\u0441. \u041d\u0435\u043c\u0430\u0454 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0443 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432. \u041d\u0435\u043c\u0430\u0454 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f.","VLC":"\u041a\u043d\u043e\u043f\u043a\u0430 VLC \u0431\u0443\u0434\u0435 \u0434\u043e\u0434\u0430\u043d\u0430, \u0449\u043e\u0431 \u043c\u0438\u0442\u0442\u0454\u0432\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0432\u0430\u0442\u0438 \u0432\u0456\u0434\u0435\u043e \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0456","FirstStep":"\u0422\u043e\u0440\u043a\u043d\u0456\u0442\u044c\u0441\u044f","SecondStep":{"Select":"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c","AddToHomeScreen":"\u0414\u043e\u0434\u0430\u0442\u0438 \u043d\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u0438\u0439 \u0435\u043a\u0440\u0430\u043d"}},"Releases":"\u0420\u0435\u043b\u0456\u0437\u0438 TorrServer","RemoveAll":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0432\u0441\u0435","RemoveViews":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0438","Resolution":"\u0414\u043e\u0437\u0432\u043e\u043b\u0438","Save":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438","ScrollDown":"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0456\u0442\u044c \u0432\u043d\u0438\u0445","Season":"\u0421\u0435\u0437\u043e\u043d","Sec":"c","Seconds":"\u0421\u0435\u043a\u0443\u043d\u0434\u0438","SelectSeason":"\u0412\u0438\u0431\u0456\u0440 \u0441\u0435\u0437\u043e\u043d\u0443","SettingsDialog":{"AddRetrackers":"\u0414\u043e\u0434\u0430\u0432\u0430\u0442\u0438","AdditionalSettings":"\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f","MobileAppSettings":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u0431. \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438","CacheBeforeReaderDesc":"\u0437 \u043a\u0435\u0448\u0443 \u0431\u0443\u0434\u0435 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043e \u0434\u043e \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u043d\u043e\u0433\u043e \u043a\u0430\u0434\u0440\u0443","CacheAfterReaderDesc":"\u0437 \u043a\u0435\u0448\u0443 \u0431\u0443\u0434\u0435 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043e \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u0442\u043e\u0447\u043d\u043e \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043e\u0433\u043e \u043a\u0430\u0434\u0440\u0443","CacheSize":"\u0420\u0430\u0437\u043c\u0456\u0440 \u043a\u0435\u0448\u0443","CacheSettings":"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u0435\u0448\u0443","CacheStorageLocation":"\u041c\u0456\u0441\u0446\u0435 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0435\u0448\u0443","ConnectionsLimit":"\u041e\u0431\u043c\u0435\u0436\u0435\u043d\u043d\u044f \u0437\'\u0454\u0434\u0430\u043d\u044c","ConnectionsLimitHint":"\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043e 20-25","DHT":"DHT (Distributed Hash Table)","DisableDHTHint":"\u0412\u0456\u0434\u043a\u043b\u044e\u0447\u0456\u0442\u044c \u043f\u0440\u0438 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u043e\u0441\u0442\u0456 \u043c\u0435\u0440\u0435\u0436\u0456 \u043f\u0456\u0441\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430","DisablePEXHint":"\u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f \u0432\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0438","DisableTCPHint":"\u041d\u0435 \u0432\u0438\u043c\u0438\u043a\u0430\u0439\u0442\u0435 \u0431\u0435\u0437 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e\u0433\u043e \u03bcTP","DisableUPNPHint":"\u0410\u0432\u0442\u043e\u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0442\u044f \u043f\u043e\u0440\u0442\u0443 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0456","DisableUTPHint":"\u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043b\u0430\u0431\u043a\u0438\u0445 \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044f\u0445","Disk":"\u041f\u0417\u041f / \u041d\u043e\u0441\u0456\u0439","DLNA":"DLNA-\u043c\u0435\u0434\u0438\u0430\u0441\u0435\u0440\u0432\u0435\u0440","DontAddRetrackers":"\u041d\u0456\u0447\u043e\u0433\u043e \u043d\u0435 \u0440\u043e\u0431\u0438\u0442\u0438","DownloadRateLimit":"\u041e\u0431\u043c\u0435\u0436\u0435\u043d\u043d\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0441\u0442\u0456 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","EnableDebug":"\u0416\u0443\u0440\u043d\u0430\u043b \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430","EnableIPv6Hint":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044f\u043a\u0449\u043e \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u044c\u0441\u044f","ForceEncrypt":"\u041f\u0440\u0438\u043c\u0443\u0441\u043e\u0432\u043e \u0448\u0438\u0444\u0440\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438","ForceEncryptHint":"\u041c\u043e\u0436\u0435 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0442\u0438 \u0437 \u0431\u043b\u043e\u043a\u0443\u044e\u0447\u0438\u043c\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c\u0438","FriendlyName":"\u0406\u043c\'\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 DLNA","FriendlyNameHint":"\u0417\u0430\u043b\u0438\u0448\u0442\u0435 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u043c, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u043f\u0440\u043e\u043c\u043e\u0432\u0447\u0430\u043d\u043d\u044f\u043c.","EnableRutorSearch":"\u0423\u0432\u0456\u043c\u043a\u043d\u0456\u0442\u044c \u043f\u043e\u0448\u0443\u043a RuTor","EnableRutorSearchHint":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0448\u0443\u043a\u0430\u0442\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0438 \u043e\u0442 RuTor, \u043d\u0430\u0432\u0456\u0442\u044c \u044f\u043a\u0449\u043e RuTor \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439. \u0423\u0412\u0410\u0413\u0410: \u041e\u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u0439\u043c\u0430\u0454 \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0457 \u043f\u0430\u043c\'\u044f\u0442\u0456 \u0431\u043b\u0438\u0437\u044c\u043a\u043e 500 \u041c\u0411.","PeersListenPort":"\u041f\u043e\u0440\u0442 \u0434\u043b\u044f \u0432\u0445\u0456\u0434\u043d\u0438\u0445 \u0437\'\u0454\u0434\u043d\u0430\u043d\u044c","PeersListenPortHint":"1024 - 65535, 0 - \u0430\u0432\u0442\u043e","PreloadCache":"\u0411\u0443\u0444\u0435\u0440 \u043f\u043e\u043f\u0435\u0440. \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","ProMode":"\u041f\u0420\u041e-\u0440\u0435\u0436\u0438\u043c","RAM":"\u041e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430 \u043f\u0430\u043c\'\u044f\u0442\u044c","ReaderReadAHead":"\u041a\u0430\u0447\u0430\u0442\u0438 \u043a\u0435\u0448 \u0437\u0430\u0437\u0434\u0435\u043b\u0435\u0433\u0456\u0434\u044c (5-100%, \u0440\u0435\u043a. 95%)","RemoveCacheOnDrop":"\u0412\u0438\u0434\u0430\u043b\u044f\u0442\u0438 \u043a\u0435\u0448 \u043f\u0440\u0438 \u0432\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0456 \u0432\u0456\u0434 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","RemoveCacheOnDropDesc":"\u042f\u043a\u0449\u043e \u0432\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u043e, \u0442\u043e\u0434\u0456 \u043a\u0435\u0448 \u0432\u0438\u0434\u0430\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u0456 \u0442\u043e\u0440\u0435\u043d\u0442\u0443.","RemoveRetrackers":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438","ReplaceRetrackers":"\u0417\u0430\u043c\u0456\u043d\u0438\u0442\u0438","RetrackersMode":"\u0420\u0435\u0442\u0440\u0435\u043a\u0435\u0440\u0438","ResetToDefault":"\u0411\u0430\u0437\u043e\u0432\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Settings":"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f","TorrentDisconnectTimeout":"\u0427\u0430\u0441 \u043e\u0447\u0456\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430","TorrentsSavePath":"\u0428\u043b\u044f\u0445 \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0435\u0448\u0443","Upload":"\u0412\u0456\u0434\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","UploadHint":"\u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f \u0432\u0438\u043c\u0438\u043a\u0430\u0442\u0438","UploadRateLimit":"\u041e\u0431\u043c\u0435\u0436\u0435\u043d\u043d\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0441\u0442\u0456 \u0432\u0456\u0434\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","UseDiskDesc":"\u041a\u0440\u0430\u0449\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0443 \u043f\u0430\u043c\'\u044f\u0442\u044c \u0430\u0431\u043e \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044e \u043f\u0430\u043c\'\u044f\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044f\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 flash-\u043f\u0430\u043c\'\u044f\u0442\u0442\u044e","Tabs":{"Main":"\u041e\u0441\u043d\u043e\u0432\u043d\u0456","Additional":"\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456","AdditionalDisabled":"(\u0432\u043a\u043b\u044e\u0447\u0456\u0442\u044c \u041f\u0420\u041e-\u0440\u0435\u0436\u0438\u043c)","App":"\u0414\u043e\u0434\u0430\u0442\u043e\u043a"},"UseVLC":"\u041f\u0440\u043e\u043f\u043e\u043d\u0443\u0432\u0430\u0442\u0438 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0432\u0456\u0434\u0435\u043e \u0443 VLC","UseVLCHint":"\u0414\u043e\u0434\u0430\u0442\u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u0432\u0430\u0447\u0430 VLC \u0434\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443"},"Size":"\u0420\u043e\u0437\u043c\u0456\u0440","SpecialThanks":"\u041e\u043a\u0440\u0435\u043c\u0430 \u043f\u043e\u0434\u044f\u043a\u0430","Speed":"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c","Support":"\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0430\u0442\u0438","TB":"\u0422\u0411","Tbps":"\u0422\u0431\u0456\u0442/\u0441","ThanksToEveryone":"\u0414\u044f\u043a\u0443\u0454\u043c\u043e \u0432\u0441\u0456\u043c, \u0445\u0442\u043e \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u0432 \u0456 \u0434\u043e\u043f\u043e\u043c\u0430\u0433\u0430\u0432!","TorrentAdded":"\u0414\u043e\u0434\u0430\u043d\u0438\u0439","TorrentClosed":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438\u0439","TorrentContent":"\u0412\u043c\u0456\u0441\u0442 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TorrentDetails":"\u0406\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u043f\u0440\u043e \u0442\u043e\u0440\u0435\u043d\u0442","TorrentGettingInfo":"\u041e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457","TorrentInDb":"\u0422\u043e\u0440\u0435\u043d\u0442 \u0432 \u0411\u0414","TorrentPreload":"\u041f\u0435\u0440\u0435\u0434\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","TorrentSize":"\u0420\u043e\u0437\u043c\u0456\u0440 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TorrentState":"\u0414\u0430\u043d\u0456 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TorrentStatus":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0442\u043e\u0440\u0435\u043d\u0442\u0443","TorrentWorking":"\u0410\u043a\u0442\u0438\u0432\u043d\u0438\u0439","TurnOff":"\u0412\u0438\u043a\u043b\u044e\u0447\u0438\u0442\u0438","UploadFile":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","UploadSpeed":"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u0432\u0456\u0434\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","Viewed":"\u041f\u0435\u0440\u0435\u0433\u043b."}')},342:function(e,t){},345:function(e,t){},347:function(e,t){},349:function(e,t){},395:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(17),i=n.n(r),o=n(63),c=n(9),l=n(486),s=n(66),d=n(470),b=n(487),j=n(488),p=n(489),u=n(490),h=n(491),x=n(492),g=window.location,O=g.protocol,m=g.hostname,f=g.port,C="".concat(O,"//").concat(m).concat(f?":".concat(f):""),v=function(){return"".concat(C,"/torrents")},y=function(){return"".concat(C,"/viewed")},S=function(){return"".concat(C,"/settings")},w=function(){return"".concat(C,"/stream")},D=function(){return"".concat(C,"/echo")},k=function(){return"".concat(C,"/stream")},T=n(187),P=n(23),M=n.n(P),L=n(12),R=n(22),B=n(468),A=n(469),F=n(471),E=n(75),N=n(105),H=n(33),z=n(133),G=n(89),I=n(189),U=n(190),V=n(191),W=n(192);z.a.use(I.a).use(G.e).init({fallbackLng:"en",interpolation:{escapeValue:!1},resources:{en:{translation:U},ru:{translation:V},ua:{translation:W}}});var Z=z.a;function _(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([Z.t("B"),Z.t("KB"),Z.t("MB"),Z.t("GB"),Z.t("TB")][t])}function K(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([Z.t("bps"),Z.t("kbps"),Z.t("Mbps"),Z.t("Gbps"),Z.t("Tbps")][t])}function J(e){return e&&e.connected_seeders?"".concat(e.connected_seeders," \xb7 ").concat(e.active_peers," / ").concat(e.total_peers):null}var X=function(e){var t=e;[["(",")"],["[","]"],["{","}"]].forEach((function(e){var n="\\".concat(e[0]),a=new RegExp(n,"g"),r=Object(H.a)(t.matchAll(a)).length,i="\\".concat(e[1]),o=new RegExp(i,"g");if(r!==Object(H.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},Y=function(){var e=Object(N.a)(Object(E.a)().mark((function e(){var t,n;return Object(E.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,M.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)}}(),$=window.matchMedia("screen and (display-mode: standalone)").matches,Q=n(36),q=n(1),ee=function(e){var t=e.color,n=Object(Q.a)().palette.primary.main;return Object(q.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(q.jsxs)("g",{children:[Object(q.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(q.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(q.jsx)("polygon",{points:"47.567,45.492 47.567,45.492 47.568,45.491 "})]})})},te=function(){var e=Object(Q.a)().palette.primary.main;return Object(q.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(q.jsxs)("g",{id:"#000000",children:[Object(q.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(q.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"})]})})},ne=function(e){var t=e.color,n=e.width,a=Object(Q.a)().palette.primary.main;return Object(q.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(q.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(q.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(q.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(q.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"})]})},ae=function(e){var t=e.color,n=e.width,a=Object(Q.a)().palette.primary.main;return Object(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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(q.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"})]})},re=function(){var e=Object(Q.a)().palette.primary.main,t="#00a572"===e?"#74c39c":"#4a5255";return Object(q.jsxs)("svg",{width:"150px",height:"150px",viewBox:"0 0 512 512",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[Object(q.jsxs)("g",{id:e,children:[Object(q.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(q.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(q.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(q.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(q.jsx)("g",{id:t,children:Object(q.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(q.jsxs)("g",{id:"#fdfdfd",children:[Object(q.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(q.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(q.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(q.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(q.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(q.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(q.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"})]})]})},ie=n(402),oe=n(457),ce=n(26),le=n.n(ce),se=n(456),de=n(499),be=function(e){var t=Object(a.useState)({}),n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.useRef)(!0),l=Object(a.useRef)(null);return Object(a.useEffect)((function(){return function(){o.current=!1}}),[]),Object(a.useEffect)((function(){return e?l.current=setInterval((function(){var t=function(e){return o.current&&i(e)};M.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(l.current),function(){return clearInterval(l.current)}}),[e]),r},je=n(442),pe=n(444),ue=n(445),he=n(401),xe=n(74),ge=n.n(xe),Oe=n(446),me=Object(je.a)({appBar:Object(R.a)({position:"relative"},$&&{paddingTop:"30px"}),title:{marginLeft:"5px",flex:1}});function fe(e){var t=e.title,n=e.onClose,a=e.onBack,r=me();return Object(q.jsx)(pe.a,{className:r.appBar,children:Object(q.jsxs)(ue.a,{children:[a&&Object(q.jsx)(he.a,{edge:"start",color:"inherit",onClick:a,"aria-label":"back",children:Object(q.jsx)(Oe.a,{})}),Object(q.jsx)(s.a,{variant:"h6",className:r.title,children:t}),Object(q.jsx)(he.a,{autoFocus:!0,color:"inherit",onClick:n,"aria-label":"close",style:{marginRight:"-10px"},children:Object(q.jsx)(ge.a,{})})]})})}var Ce,ve,ye,Se,we,De,ke,Te,Pe,Me,Le,Re=n(193),Be=n(87),Ae=n.n(Be),Fe=n(204),Ee=n(447),Ne=n(27),He={light:{app:{headerToggleColor:"#4db380",appSecondaryColor:"#cbe8d9",sidebarBGColor:"#575757",sidebarFillColor:"#dee3e5",paperColor:"#eeeeee"},torrentCard:{accentCardColor:"#337a57",buttonBGColor:Object(Ne.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",paperColor:"#323637"},torrentCard:{accentCardColor:"#323637",buttonBGColor:Object(Ne.a)("#323637",.5),cardPrimaryColor:"#545a5e",cardSecondaryColor:Object(Ne.a)("#dee3e5",.4)},dialogTorrentDetailsContent:{posterBGColor:Object(Ne.a)("#dee3e5",.4),gradientStartColor:"#656f76",gradientEndColor:"#545a5e",chacheSectionBGColor:"#3c4244",widgetFontColor:Object(Ne.a)("#fff",.8),titleFontColor:"#f1eff3",subNameFontColor:"#dee3e5",torrentFilesSectionBGColor:Object(Ne.a)("#545a5e",.9)},detailedView:{gradientStartColor:"#656f76",gradientEndColor:"#545a5e",cacheSectionBGColor:"#949ca0"},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(Ne.a)("#545a5e",.9),defaultTertiaryColor:"#545a5e"},settingsDialog:{contentBG:"#5a6166",footerBG:"#323637"}}},ze={light:{primary:"#00a572",secondary:"#00a572",labels:Object(Ne.a)("#000",.9)},dark:{primary:"#323637",secondary:"#dee3e5",labels:Object(Ne.a)("#fff",.9)}},Ge="light",Ie="dark",Ue="auto",Ve={fontFamily:"Open Sans, sans-serif"},We=(Object(Fe.a)({typography:Ve,palette:{type:Ie,primary:{main:ze.dark.primary},secondary:{main:ze.dark.secondary}}}),Object(Fe.a)({typography:Ve,palette:{type:Ge,primary:{main:ze.light.primary},secondary:{main:ze.light.secondary}}}),n(4)),Ze=n(3),_e={dark:{default:{borderWidth:1,pieceSize:14,gapBetweenPieces:3,borderColor:Object(Ne.a)("#fff",.2),completeColor:Object(Ne.a)(ze.dark.primary,.5),backgroundColor:"#949ca0",progressColor:Object(Ne.a)("#fff",.2),readerColor:"#8f0405",rangeColor:"#cda184"},mini:{cacheMaxHeight:340,borderWidth:2,pieceSize:23,gapBetweenPieces:6,borderColor:"#5c6469",completeColor:"#5c6469",backgroundColor:"#949ca0",progressColor:"#949ca0",readerColor:"#ccc",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:"#0a0a0a",rangeColor:"#afa6e3"}}},Ke=Ze.d.div(Ce||(Ce=Object(We.a)(["\n margin-top: 10px;\n text-transform: uppercase;\n color: rgba(0, 0, 0, 0.5);\n align-self: center;\n"]))),Je=Ze.d.div(ve||(ve=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isMini,n=e.themeType;return Object(Ze.c)(ye||(ye=Object(We.a)(["\n ","\n\n canvas {\n display: block;\n }\n "])),t&&Object(Ze.c)(Se||(Se=Object(We.a)(["\n display: grid;\n justify-content: center;\n max-height: ","px;\n overflow: auto;\n "])),_e[n].mini.cacheMaxHeight))})),Xe=function(e){var t,n=e.cache,r=e.isMini,i=e.isSnakeDebugMode,o=Object(de.a)().t,l=Object(a.useState)({width:0,height:0}),s=Object(c.a)(l,2),d=s[0],b=s[1],j=d.width,p=Object(a.useRef)(null),u=Object(a.useRef)(null),h=function(e){var t=Object(a.useState)([]),n=Object(c.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=t.Priority,l={id:e,percentage:i/o*100||0,priority:c||0};a.forEach((function(t){e===t.Reader&&(l.isReader=!0),e>=t.Start&&e<=t.End&&(l.isReaderRange=!0)})),r.push(l)},c=0;c<t;c++)o(c);i(r)}),[e]),r}(n),x=r?"mini":"default",g=Object(a.useContext)(Nc).isDarkMode?Ie:Ge,O=_e[g][x],m=O.readerColor,f=O.rangeColor,C=O.borderWidth,v=O.pieceSize,y=O.gapBetweenPieces,S=O.backgroundColor,w=O.borderColor,D=O.cacheMaxHeight,k=O.completeColor,T=r?.93*j:j,P=v+y,M=Math.floor(T/P);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(H.a)(r),Object(H.a)(s))}({cacheMap:h,preloadPiecesAmount:Math.round(n.Capacity/n.PiecesLength-1),piecesInOneRow:M}));var L=r?t:h,R=Math.ceil((T-P*M)/2),B=Math.ceil(L.length/M)*P;return Object(a.useEffect)((function(){if(T&&B){var e=p.current;e.width=T,e.height=B,u.current=e.getContext("2d")}}),[p,B,T]),Object(a.useEffect)((function(){var e=u.current;e&&(e.clearRect(0,0,T,B),L.forEach((function(t,n){var a=t.percentage,o=t.priority,c=t.isReader,l=t.isReaderRange,s=a>0&&a<100,d=100===a,b=n%M,j=Math.floor(n/M),p=C%2===0?0:.5,u=Math.ceil(C/2)+1+p,h=b*v+b*y+R+u,O=j*v+j*y+u;if(e.lineWidth=C,e.fillStyle=s?function(e,t,n,a){var r=_e[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,g,x):d?k:S,e.strokeStyle=c?m:s||d?k:l?f:w,e.translate(h,O),e.fillRect(0,0,v,v),e.strokeRect(0,0,v,v),e.setTransform(1,0,0,1,0,0),i&&o>0){var D="";1===o?D="":2===o?D="H":3===o?D="R":4===o?D="N":5===o&&(D="A"),e.font=r?"13px monospace":"10px monospace";var T=r?.35*v:.29*v,P=r?.69*v:.78*v;e.fillStyle="black",e.fillText(D,h+T,O+P)}})))}),[h,B,T,M,R,v,y,L,S,w,C,x,k,m,f,r,g,i]),Object(q.jsx)(Re.a,{bounds:!0,onResize:function(e){var t=e.bounds;return b(t)},children:function(e){var t=e.measureRef;return Object(q.jsxs)("div",{style:{display:"flex",flexDirection:"column"},ref:t,children:[Object(q.jsx)(Je,{themeType:g,isMini:r,children:Object(q.jsx)("canvas",{ref:p})}),r&&B>=D&&Object(q.jsx)(Ke,{children:o("ScrollDown")})]})}})},Ye=Object(a.memo)(Xe,(function(e,t){return Ae()(e.cache.Pieces,t.cache.Pieces)&&Ae()(e.cache.Readers,t.cache.Readers)})),$e=n(88),Qe=n.n($e),qe="#858c90",et=Object(Ze.c)(we||(we=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.table.defaultPrimaryColor;return Object(Ze.c)(De||(De=Object(We.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)})),tt=Ze.d.table(ke||(ke=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.table.defaultPrimaryColor;return Object(Ze.c)(Te||(Te=Object(We.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,"#d2d2d2","#f3f3f3",t,"#ddd",et)})),nt=Ze.d.div(Pe||(Pe=Object(We.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"]))),at=Ze.d.div(Me||(Me=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isViewed,n=e.theme.table,a=n.defaultPrimaryColor,r=n.defaultSecondaryColor,i=n.defaultTertiaryColor;return Object(Ze.c)(Le||(Le=Object(We.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: #f3f3f3;\n\n @media (max-width: 410px) {\n gap: 10px;\n grid-template-columns: 1fr;\n }\n }\n }\n "])),t?qe:a,t?"max-content":"1fr",t?qe:a,t?"#8c9498":r,t?"#949ca0":i,t&&et,t?qe:a)})),rt=n(0).memo;le.a.addHandler("episode",/(\d{1,4})[- |. ]\u0441\u0435\u0440\u0438\u044f|\u0441\u0435\u0440\u0438\u044f[- |. ](\d{1,4})/i,{type:"integer"}),le.a.addHandler("season",/sezon[- |. ](\d{1,3})|(\d{1,3})[- |. ]sezon/i,{type:"integer"}),le.a.addHandler("season",/\u0441\u0435\u0437\u043e\u043d[- |. ](\d{1,3})|(\d{1,3})[- |. ]\u0441\u0435\u0437\u043e\u043d/i,{type:"integer"});var it,ot,ct,lt,st,dt,bt,jt,pt,ut,ht,xt,gt,Ot,mt,ft,Ct,vt,yt,St,wt,Dt,kt,Tt,Pt,Mt,Lt,Rt,Bt,At,Ft,Et,Nt,Ht,zt,Gt,It,Ut=rt((function(e){var t,n=e.playableFileList,a=e.viewedFileList,r=e.selectedSeason,i=e.seasonAmount,o=e.hash,c=Object(de.a)().t,l=function(e){return fetch("".concat(w(),"?link=").concat(o,"&index=").concat(e,"&preload"))},s=function(e,t){return"".concat(w(),"/").concat(encodeURIComponent(e.split("\\").pop().split("/").pop()),"?link=").concat(o,"&index=").concat(t,"&play")},d=!(null===n||void 0===n||!n.find((function(e){var t=e.path;return le.a.parse(t).episode}))),b=!(null===n||void 0===n||!n.find((function(e){var t=e.path;return le.a.parse(t).season}))),j=!(null===n||void 0===n||!n.find((function(e){var t=e.path;return le.a.parse(t).resolution}))),p=(null===n||void 0===n?void 0:n.length)>1&&!d,u=null!==(t=JSON.parse(localStorage.getItem("isVlcUsed")))&&void 0!==t&&t;return null!==n&&void 0!==n&&n.length?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(tt,{children:[Object(q.jsx)("thead",{children:Object(q.jsxs)("tr",{children:[Object(q.jsx)("th",{style:{width:"0"},children:c("Viewed")}),Object(q.jsx)("th",{children:c("Name")}),b&&1===(null===i||void 0===i?void 0:i.length)&&Object(q.jsx)("th",{style:{width:"0"},children:c("Season")}),d&&Object(q.jsx)("th",{style:{width:"0"},children:c("Episode")}),j&&Object(q.jsx)("th",{style:{width:"0"},children:c("Resolution")}),Object(q.jsx)("th",{style:{width:"100px"},children:c("Size")}),Object(q.jsx)("th",{style:{width:"400px"},children:c("Actions")})]})}),Object(q.jsx)("tbody",{children:n.map((function(e){var t=e.id,n=e.path,o=e.length,u=le.a.parse(n),h=u.title,x=u.resolution,g=u.episode,O=u.season,m=null===a||void 0===a?void 0:a.includes(t),f=s(n,t);return(O===r||!(null!==i&&void 0!==i&&i.length))&&Object(q.jsxs)("tr",{className:m?"viewed-file-row":null,children:[Object(q.jsx)("td",{"data-label":"viewed",className:m?"viewed-file-indicator":null}),Object(q.jsx)("td",{"data-label":"name",children:p?n:h}),b&&1===(null===i||void 0===i?void 0:i.length)&&Object(q.jsx)("td",{"data-label":"season",children:O}),d&&Object(q.jsx)("td",{"data-label":"episode",children:g}),j&&Object(q.jsx)("td",{"data-label":"resolution",children:x}),Object(q.jsx)("td",{"data-label":"size",children:_(o)}),Object(q.jsx)("td",{children:Object(q.jsxs)("div",{className:"button-cell",children:[Object(q.jsx)(ie.a,{onClick:function(){return l(t)},variant:"outlined",color:"primary",size:"small",children:c("Preload")}),Object(q.jsx)("a",{style:{textDecoration:"none"},href:f,target:"_blank",rel:"noreferrer",children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"outlined",color:"primary",size:"small",children:c("OpenLink")})}),Object(q.jsx)(Qe.a,{text:f,children:Object(q.jsx)(ie.a,{variant:"outlined",color:"primary",size:"small",children:c("CopyLink")})})]})})]},t)}))})]}),Object(q.jsx)(nt,{children:n.map((function(e){var t=e.id,n=e.path,o=e.length,h=le.a.parse(n),x=h.title,g=h.resolution,O=h.episode,m=h.season,f=null===a||void 0===a?void 0:a.includes(t),C=s(n,t);return(m===r||!(null!==i&&void 0!==i&&i.length))&&Object(q.jsxs)(at,{isViewed:f,children:[Object(q.jsx)("div",{className:"short-table-name",children:p?n:x}),Object(q.jsxs)("div",{className:"short-table-data",children:[f&&Object(q.jsxs)("div",{className:"short-table-field",children:[Object(q.jsx)("div",{className:"short-table-field-name",children:c("Viewed")}),Object(q.jsx)("div",{className:"short-table-field-value",children:Object(q.jsx)("div",{className:"short-table-viewed-indicator"})})]}),b&&1===(null===i||void 0===i?void 0:i.length)&&Object(q.jsxs)("div",{className:"short-table-field",children:[Object(q.jsx)("div",{className:"short-table-field-name",children:c("Season")}),Object(q.jsx)("div",{className:"short-table-field-value",children:m})]}),d&&Object(q.jsxs)("div",{className:"short-table-field",children:[Object(q.jsx)("div",{className:"short-table-field-name",children:c("Episode")}),Object(q.jsx)("div",{className:"short-table-field-value",children:O})]}),j&&Object(q.jsxs)("div",{className:"short-table-field",children:[Object(q.jsx)("div",{className:"short-table-field-name",children:c("Resolution")}),Object(q.jsx)("div",{className:"short-table-field-value",children:g})]}),Object(q.jsxs)("div",{className:"short-table-field",children:[Object(q.jsx)("div",{className:"short-table-field-name",children:c("Size")}),Object(q.jsx)("div",{className:"short-table-field-value",children:_(o)})]})]}),Object(q.jsxs)("div",{className:"short-table-buttons",children:[Object(q.jsx)(ie.a,{onClick:function(){return l(t)},variant:"outlined",color:"primary",size:"small",children:c("Preload")}),u&&$?Object(q.jsx)("a",{style:{textDecoration:"none"},href:"vlc://".concat(C),children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"outlined",color:"primary",size:"small",children:"VLC"})}):Object(q.jsx)("a",{style:{textDecoration:"none"},href:C,target:"_blank",rel:"noreferrer",children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"outlined",color:"primary",size:"small",children:c("OpenLink")})}),Object(q.jsx)(Qe.a,{text:C,children:Object(q.jsx)(ie.a,{variant:"outlined",color:"primary",size:"small",children:c("CopyLink")})})]})]},t)}))})]}):"No playable files in this torrent"}),(function(e,t){return Ae()(e,t)})),Vt=n(455),Wt=n(496),Zt=Ze.d.div(it||(it=Object(We.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"]))),_t=Ze.d.div(ot||(ot=Object(We.a)(["\n ","\n"])),(function(e){var t=e.poster,n=e.theme.dialogTorrentDetailsContent.posterBGColor;return Object(Ze.c)(ct||(ct=Object(We.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(Ze.c)(lt||(lt=Object(We.a)(["\n img {\n border-radius: 5px;\n height: 100%;\n }\n "]))):Object(Ze.c)(st||(st=Object(We.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(Ze.c)(dt||(dt=Object(We.a)(["\n height: 200px;\n "]))):Object(Ze.c)(bt||(bt=Object(We.a)(["\n display: none;\n "]))))})),Kt=Ze.d.section(jt||(jt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent,n=t.gradientStartColor,a=t.gradientEndColor;return Object(Ze.c)(pt||(pt=Object(We.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)})),Jt=Ze.d.section(ut||(ut=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.chacheSectionBGColor;return Object(Ze.c)(ht||(ht=Object(We.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)})),Xt=Ze.d.section(xt||(xt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.torrentFilesSectionBGColor;return Object(Ze.c)(gt||(gt=Object(We.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)})),Yt=Ze.d.div(Ot||(Ot=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.subNameFontColor;return Object(Ze.c)(mt||(mt=Object(We.a)(["\n ","\n "])),(function(e){var n=e.mb;return Object(Ze.c)(ft||(ft=Object(We.a)(["\n ",";\n ",";\n line-height: 1.2;\n color: ",";\n\n @media (max-width: 800px) {\n ",";\n ",";\n font-size: 14px;\n }\n "])),n&&"margin-top: ".concat(n/3,"px"),n&&"margin-bottom: ".concat(n,"px"),t,n&&"margin-top: ".concat(n/4,"px"),n&&"margin-bottom: ".concat(n/2,"px"))}))})),$t=Ze.d.div(Ct||(Ct=Object(We.a)(["\n ","\n"])),(function(e){var t=e.color,n=e.theme.dialogTorrentDetailsContent.titleFontColor;return Object(Ze.c)(vt||(vt=Object(We.a)(["\n ","\n "])),(function(e){var a=e.mb;return Object(Ze.c)(yt||(yt=Object(We.a)(["\n ",";\n font-size: 34px;\n font-weight: 300;\n line-height: 1;\n word-break: break-word;\n color: ",";\n\n @media (max-width: 800px) {\n font-size: 24px;\n line-height: 1.1;\n ",";\n }\n "])),a&&"margin-bottom: ".concat(a,"px"),t||n,a&&"margin-bottom: ".concat(a/2,"px"))}))})),Qt=Ze.d.div(St||(St=Object(We.a)(["\n margin-bottom: 20px;\n"]))),qt=Ze.d.div(wt||(wt=Object(We.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(Ze.c)(Dt||(Dt=Object(We.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(Ze.c)(kt||(kt=Object(We.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 "])))})),en=Ze.d.div(Tt||(Tt=Object(We.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"]))),tn=Ze.d.div(Pt||(Pt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.dialogTorrentDetailsContent.titleFontColor;return Object(Ze.c)(Mt||(Mt=Object(We.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)})),nn=Ze.d.div(Lt||(Lt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.bgColor;return Object(Ze.c)(Rt||(Rt=Object(We.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(Ne.a)("#fff",.8),t)})),an=Ze.d.div(Bt||(Bt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.bgColor,n=e.theme.dialogTorrentDetailsContent.widgetFontColor;return Object(Ze.c)(At||(At=Object(We.a)(["\n grid-area: value;\n font-size: 24px;\n padding: 0 20px 0 0;\n color: ",";\n background: ",";\n border-radius: 0 5px 5px 0;\n white-space: nowrap;\n\n @media (max-width: 800px) {\n font-size: 18px;\n padding: 0 16px 0 0;\n }\n "])),n,t)})),rn=Ze.d.div.attrs((function(e){var t=e.value,n=e.fullAmount,a=e.theme.dialogTorrentDetailsContent,r=a.gradientStartColor,i=a.gradientEndColor,o=Math.min(100,100*t/n);return{style:{background:"linear-gradient(to right, ".concat(r," 0%, ").concat(i," ").concat(o,"%, #eee ").concat(o,"%, #fff 100%)")}}}))(Ft||(Ft=Object(We.a)(["\n ","\n"])),(function(e){var t=e.label;return Object(Ze.c)(Et||(Et=Object(We.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)})),on=Ze.d.div(Nt||(Nt=Object(We.a)(["\n height: 1px;\n background-color: rgba(0, 0, 0, 0.12);\n margin: 30px 0;\n"]))),cn=Ze.d.section(Ht||(Ht=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.detailedView,n=t.gradientStartColor,a=t.gradientEndColor;return Object(Ze.c)(zt||(zt=Object(We.a)(["\n padding: 40px;\n background: linear-gradient(145deg, ",", ",");\n\n @media (max-width: 800px) {\n padding: 20px;\n }\n "])),n,a)})),ln=Ze.d.section(Gt||(Gt=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.detailedView.cacheSectionBGColor;return Object(Ze.c)(It||(It=Object(We.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)})),sn=n(448),dn=n(449),bn=n(450),jn=n(451),pn=n(452),un=n(453),hn=n(454);function xn(e){var t=e.icon,n=e.title,a=e.value,r=e.iconBg,i=e.valueBg;return Object(q.jsxs)(en,{children:[Object(q.jsx)(tn,{children:n}),Object(q.jsx)(nn,{bgColor:r,children:Object(q.jsx)(t,{})}),Object(q.jsx)(an,{bgColor:i,children:a})]})}var gn=Ge,On=Ie,mn={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 fn(e){var t=Object(a.useContext)(Nc).isDarkMode;return mn[t?On:gn][e]}var Cn,vn,yn,Sn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("downloadSpeed"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("DownloadSpeed"),value:K(t)||"0 ".concat(n("bps")),iconBg:r,valueBg:i,icon:sn.a})},wn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("uploadSpeed"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("UploadSpeed"),value:K(t)||"0 ".concat(n("bps")),iconBg:r,valueBg:i,icon:dn.a})},Dn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("peers"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("Peers"),value:J(t)||"0 \xb7 0 / 0",iconBg:r,valueBg:i,icon:bn.a})},kn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("piecesCount"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("PiecesCount"),value:t,iconBg:r,valueBg:i,icon:jn.a})},Tn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("piecesLength"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("PiecesLength"),value:_(t),iconBg:r,valueBg:i,icon:pn.a})},Pn=function(e){var t,n=e.stat,a=Object(de.a)().t,r=(t={},Object(L.a)(t,1,a("TorrentGettingInfo")),Object(L.a)(t,2,a("TorrentPreload")),Object(L.a)(t,3,a("TorrentWorking")),Object(L.a)(t,4,a("TorrentClosed")),Object(L.a)(t,5,a("TorrentInDb")),t),i=fn("status"),o=i.iconBGColor,c=i.valueBGColor;return Object(q.jsx)(xn,{title:a("TorrentStatus"),value:r[n],iconBg:o,valueBg:c,icon:un.a})},Mn=function(e){var t=e.data,n=Object(de.a)().t,a=fn("size"),r=a.iconBGColor,i=a.valueBGColor;return Object(q.jsx)(xn,{title:n("TorrentSize"),value:_(t),iconBg:r,valueBg:i,icon:hn.a})};function Ln(e){var t=e.downloadSpeed,n=e.uploadSpeed,r=e.torrent,i=e.torrentSize,o=e.PiecesCount,l=e.PiecesLength,s=e.stat,d=e.cache,b=Object(de.a)().t,j=Object(a.useState)(JSON.parse(localStorage.getItem("isSnakeDebugMode"))||!1),p=Object(c.a)(j,2),u=p[0],h=p[1];return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(cn,{children:[Object(q.jsx)($t,{mb:20,children:b("Data")}),Object(q.jsxs)(qt,{detailedView:!0,children:[Object(q.jsx)(Sn,{data:t}),Object(q.jsx)(wn,{data:n}),Object(q.jsx)(Dn,{data:r}),Object(q.jsx)(Mn,{data:i}),Object(q.jsx)(kn,{data:o}),Object(q.jsx)(Tn,{data:l}),Object(q.jsx)(Pn,{stat:s})]})]}),Object(q.jsxs)(ln,{children:[Object(q.jsx)($t,{color:"#000",mb:20,children:Object(q.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[Object(q.jsx)("span",{children:b("Cache")}),Object(q.jsx)(Vt.a,{control:Object(q.jsx)(Wt.a,{color:"primary",checked:u,disableRipple:!0,onChange:function(e){var t=e.target.checked;h(t),localStorage.setItem("isSnakeDebugMode",t)}}),label:b("DebugMode"),labelPlacement:"start"})]})}),Object(q.jsx)(Ye,{cache:d,isSnakeDebugMode:u})]})]})}var Rn=Ze.d.div(Cn||(Cn=Object(We.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"]))),Bn=Ze.d.div(vn||(vn=Object(We.a)(["\n ","\n"])),(function(e){var t=e.mb,n=e.theme.torrentFunctions.fontColor;return Object(Ze.c)(yn||(yn=Object(We.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"))})),An=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(de.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,b=1===(null===r||void 0===r?void 0:r.length),j=d&&le.a.parse(d),p="".concat(k(),"/").concat(encodeURIComponent(i||o||"file"),".m3u?link=").concat(n,"&m3u"),u="".concat(p,"&fromlast");return Object(q.jsxs)(q.Fragment,{children:[!b&&!(null===a||void 0===a||!a.length)&&Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Bn,{children:l("DownloadPlaylist")}),Object(q.jsxs)(Yt,{mb:10,children:[l("LatestFilePlayed")," ",Object(q.jsxs)("strong",{children:[null===j||void 0===j?void 0:j.title,".",(null===j||void 0===j?void 0:j.season)&&Object(q.jsxs)(q.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(q.jsxs)(Rn,{children:[Object(q.jsx)("a",{style:{textDecoration:"none"},href:p,children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("Full")})}),Object(q.jsx)("a",{style:{textDecoration:"none"},href:u,children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("FromLatestFile")})})]})]}),Object(q.jsx)(Bn,{mb:10,children:l("TorrentState")}),Object(q.jsxs)(Rn,{children:[Object(q.jsx)(ie.a,{onClick:function(){return M.a.post(y(),{action:"rem",hash:n,file_index:-1}).then((function(){return c()}))},variant:"contained",color:"primary",size:"large",children:l("RemoveViews")}),Object(q.jsx)(ie.a,{onClick:function(){return M.a.post(v(),{action:"drop",hash:n})},variant:"contained",color:"primary",size:"large",children:l("DropTorrent")})]}),Object(q.jsx)(Bn,{mb:10,children:l("Info")}),Object(q.jsxs)(Rn,{children:[(b||!(null!==a&&void 0!==a&&a.length))&&Object(q.jsx)("a",{style:{textDecoration:"none"},href:p,children:Object(q.jsx)(ie.a,{style:{width:"100%"},variant:"contained",color:"primary",size:"large",children:l("DownloadPlaylist")})}),Object(q.jsx)($e.CopyToClipboard,{text:n,children:Object(q.jsx)(ie.a,{variant:"contained",color:"primary",size:"large",children:l("CopyHash")})})]})]})}),(function(){return!0})),Fn=["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"],En=function(){return Object(q.jsx)("div",{style:{minHeight:"80vh",display:"grid",placeItems:"center"},children:Object(q.jsx)(se.a,{color:"secondary"})})};function Nn(e){var t,n=e.closeDialog,r=e.torrent,i=Object(de.a)().t,o=Object(a.useState)(!0),l=Object(c.a)(o,2),s=l[0],d=l[1],b=Object(a.useState)(!1),j=Object(c.a)(b,2),p=j[0],u=j[1],h=Object(a.useState)(),x=Object(c.a)(h,2),g=x[0],O=x[1],m=Object(a.useState)(),f=Object(c.a)(m,2),C=f[0],v=f[1],w=Object(a.useState)(null),D=Object(c.a)(w,2),k=D[0],T=D[1],P=Object(a.useState)(),L=Object(c.a)(P,2),B=L[0],A=L[1],F=Object(a.useState)(JSON.parse(localStorage.getItem("isSnakeDebugMode"))||!1),E=Object(c.a)(F,1)[0],N=r.poster,H=r.hash,z=r.title,G=r.name,I=r.stat,U=r.download_speed,V=r.upload_speed,W=r.torrent_size,Z=r.file_stats,K=be(H),J=function(e){var t=Object(a.useState)(),n=Object(c.a)(t,2),r=n[0],i=n[1];return Object(a.useEffect)((function(){M.a.post(S(),{action:"get"}).then((function(e){var t=e.data;return i(t)}))}),[e]),r}(K),Y=K.Capacity,$=K.PiecesCount,Q=K.PiecesLength,te=K.Filled;Object(a.useEffect)((function(){if(C&&null===k){var e=[];C.forEach((function(t){var n=t.path,a=le.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===Z||void 0===Z?void 0:Z.filter((function(e){var t,n=e.path;return t=n,Fn.includes(function(e){var t=e.split(".").pop();return t===e?"":t.toLowerCase()}(t))})))}),[Z]),Object(a.useEffect)((function(){var e=!!Object.entries(K).length,t=1!==I&&5!==I;e||s||d(!0),e&&s&&t&&d(!1)}),[I,K,s]),Object(a.useEffect)((function(){M.a.post(y(),{action:"list",hash:H}).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}));O(n)}else O()}))}),[H]);var ne=Y/100*(null===J||void 0===J?void 0:J.PreloadCache),ae=ne>33554432?ne:33554432,re=function(){var e=[],t=G&&le.a.parse(G);z!==G?e.push(X(z)):null!==t&&void 0!==t&&t.title&&e.push(X(null===t||void 0===t?void 0:t.title)),null!==t&&void 0!==t&&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&&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(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(fe,Object(R.a)({onClose:n,title:i(p?"DetailedCacheView.header":"TorrentDetails")},p&&{onBack:function(){return u(!1)}})),Object(q.jsx)("div",{style:Object(R.a)({minHeight:"80vh",overflow:"auto"},p&&{display:"flex",flexDirection:"column"}),children:s?Object(q.jsx)(En,{}):p?Object(q.jsx)(Ln,{downloadSpeed:U,uploadSpeed:V,torrent:r,torrentSize:W,PiecesCount:$,PiecesLength:Q,stat:I,cache:K}):Object(q.jsxs)(Zt,{children:[Object(q.jsxs)(Kt,{children:[Object(q.jsx)(_t,{poster:N,children:N?Object(q.jsx)("img",{alt:"poster",src:N}):Object(q.jsx)(ee,{})}),Object(q.jsxs)("div",{children:[z&&G!==z?re().length>90?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)($t,{children:le.a.parse(G).title}),Object(q.jsx)(Yt,{mb:20,children:re()})]}):Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)($t,{children:re()}),Object(q.jsx)(Yt,{mb:20,children:null===(t=le.a.parse(G||""))||void 0===t?void 0:t.title})]}):Object(q.jsx)($t,{mb:20,children:re()}),Object(q.jsxs)(qt,{children:[Object(q.jsx)(Sn,{data:U}),Object(q.jsx)(wn,{data:V}),Object(q.jsx)(Dn,{data:r}),Object(q.jsx)(Mn,{data:W}),Object(q.jsx)(Pn,{stat:I})]}),Object(q.jsx)(on,{}),Object(q.jsx)(An,{hash:H,viewedFileList:g,playableFileList:C,name:G,title:z,setViewedFileList:O})]})]}),Object(q.jsxs)(Jt,{children:[Object(q.jsxs)(Qt,{children:[Object(q.jsx)($t,{mb:20,children:i("Buffer")}),ae<=33554432&&Object(q.jsx)(Yt,{children:i("BufferNote")}),Object(q.jsx)(rn,{value:te,style:{marginTop:"5px"},fullAmount:ae,label:"".concat(_(ae)," / ").concat(_(te)||"0 ".concat(i("B")))})]}),Object(q.jsx)(Ye,{isMini:!0,cache:K,isSnakeDebugMode:E}),Object(q.jsx)(ie.a,{style:{marginTop:"30px"},variant:"contained",color:"primary",size:"large",onClick:function(){return u(!0)},children:i("DetailedCacheView.button")})]}),Object(q.jsxs)(Xt,{children:[Object(q.jsx)($t,{mb:20,children:i("TorrentContent")}),(null===k||void 0===k?void 0:k.length)>1&&Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Yt,{mb:7,children:i("SelectSeason")}),Object(q.jsx)(oe.a,{style:{marginBottom:"30px"},color:"secondary",children:k.map((function(e){return Object(q.jsx)(ie.a,{variant:B===e?"contained":"outlined",onClick:function(){return A(e)},children:e},e)}))}),Object(q.jsxs)($t,{mb:20,children:[i("Season")," ",B]})]}),Object(q.jsx)(Ut,{hash:H,playableFileList:C,viewedFileList:g,selectedSeason:B,seasonAmount:k})]})]})})]})}var Hn=n(498),zn=n(467),Gn=n(472),In=n(473),Un=n(198),Vn=n.n(Un),Wn=function(){var e=Object(de.a)().i18n;return[e.language.substr(0,2),function(t){return e.changeLanguage(t)}]};function Zn(e){var t=Object(a.useRef)(e);return Object(a.useEffect)((function(){t.current=e}),[e]),t.current}var _n,Kn,Jn,Xn,Yn,$n,Qn,qn,ea,ta,na,aa,ra=n(111),ia=n.n(ra),oa=Ze.d.div(_n||(_n=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.primary;return Object(Ze.c)(Kn||(Kn=Object(We.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=Ze.d.div(Jn||(Jn=Object(We.a)(["\n padding: 20px;\n display: flex;\n justify-content: flex-end;\n\n > :not(:last-child) {\n margin-right: 10px;\n }\n"]))),la=n(458),sa=function(e){return Object(Ze.c)(Xn||(Xn=Object(We.a)(["\n @media screen and (display-mode: standalone) {\n ",";\n }\n"])),e)},da=90,ba=Ze.d.div(Yn||(Yn=Object(We.a)(["\n background: #575757;\n color: #fff;\n position: fixed;\n bottom: 0;\n width: 100%;\n height: ","px;\n\n display: none;\n\n ","\n"])),da,sa(Object(Ze.c)($n||($n=Object(We.a)(["\n display: grid;\n grid-template-columns: repeat(5, calc(100% / 5));\n justify-items: center;\n "]))))),ja=Object(Ze.d)(la.a).attrs({button:!0})(Qn||(Qn=Object(We.a)(["\n ","\n"])),sa(Object(Ze.c)(qn||(qn=Object(We.a)(["\n width: 100%;\n height: 60px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n "]))))),pa=Object(Ze.d)(Hn.a).attrs(Object(R.a)({},$&&{hideBackdrop:!0,transitionDuration:0}))(ea||(ea=Object(We.a)(["\n ","\n"])),sa(Object(Ze.c)(ta||(ta=Object(We.a)(["\n margin-bottom: ","px;\n\n .MuiDialog-container .MuiPaper-root {\n box-shadow: none;\n }\n "])),da))),ua=Object(Ze.d)(oa)(na||(na=Object(We.a)(["\n ","\n"])),sa(Object(Ze.c)(aa||(aa=Object(We.a)(["\n padding-top: 47px;\n "])))));function ha(e){var t=Object(a.useRef)();return Object(a.useEffect)((function(){if($){var n=function(n){t.current&&!t.current.contains(n.target)&&e&&e()};return document.addEventListener("click",n,!0),function(){document.removeEventListener("click",n,!0)}}})),t}var xa,ga,Oa,ma,fa,Ca,va,ya,Sa,wa,Da,ka,Ta,Pa,Ma,La,Ra,Ba,Aa,Fa,Ea,Na,Ha,za,Ga,Ia,Ua,Va=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n="http://api.themoviedb.org/3/search/multi",a="ru"===t?"http://imagetmdb.com":"http://image.tmdb.org";return M.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"".concat(a,"/t/p/w300").concat(e.poster_path)}))})).catch((function(){return null}))},Wa=function(){var e=Object(N.a)(Object(E.a)().mark((function e(t){return Object(E.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.match(/.(\.jpg|\.jpeg|\.png|\.gif|\.svg||\.webp).*$/i)){e.next=2;break}return e.abrupt("return",!1);case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Za=/^magnet:\?xt=urn:[a-z0-9].*/i,_a=/^\b[0-9a-f]{32}\b$|^\b[0-9a-f]{40}\b$|^\b[0-9a-f]{64}\b$/i,Ka=/^.*\.(torrent)$/i,Ja=/^(http(s?)):\/\/.*/i,Xa=Ze.d.div(xa||(xa=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isEditMode,n=e.theme.addDialog,a=n.gradientStartColor,r=n.gradientEndColor,i=n.fontColor;return Object(Ze.c)(ga||(ga=Object(We.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,"")})),Ya=Ze.d.div(Oa||(Oa=Object(We.a)(["\n padding: 0 20px 20px 20px;\n"]))),$a=Ze.d.div(ma||(ma=Object(We.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(Ze.c)(fa||(fa=Object(We.a)(["\n height: 530px;\n\n ",";\n\n ",";\n\n @media (max-width: 500px) {\n height: 170px;\n }\n "])),n&&Object(Ze.c)(Ca||(Ca=Object(We.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(Ze.c)(va||(va=Object(We.a)(["\n display: none;\n "]))))})),Qa=Ze.d.div(ya||(ya=Object(We.a)(["\n display: flex;\n flex-direction: column;\n border-right: 1px solid rgba(0, 0, 0, 0.12);\n"]))),qa=Object(Ze.c)(Sa||(Sa=Object(We.a)(["\n transition: transform 0.3s;\n padding: 20px;\n height: 100%;\n display: grid;\n"]))),er=Ze.d.div(wa||(wa=Object(We.a)(["\n ","\n border: 4px dashed rgba(0,0,0,0.1);\n text-align: center;\n outline: none;\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"])),qa,(function(e){return e.isDragActive&&"border: 4px dashed green"})),tr=Ze.d.div(Da||(Da=Object(We.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"])),qa),nr=Ze.d.div(ka||(ka=Object(We.a)(["\n position: relative;\n"]))),ar=Ze.d.div(Ta||(Ta=Object(We.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"]))),rr=Ze.d.div(Pa||(Pa=Object(We.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"]))),ir=Ze.d.div(Ma||(Ma=Object(We.a)(["\n ","\n"])),(function(e){var t=e.active,n=e.theme.addDialog.gradientStartColor;return Object(Ze.c)(La||(La=Object(We.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)")})),or=Ze.d.div(Ra||(Ra=Object(We.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"]))),cr=Ze.d.div(Ba||(Ba=Object(We.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"]))),lr=Ze.d.div(Aa||(Aa=Object(We.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"]))),sr=Ze.d.div(Fa||(Fa=Object(We.a)(["\n ","\n"])),(function(e){var t=e.poster,n=e.theme.addDialog.posterBGColor;return Object(Ze.c)(Ea||(Ea=Object(We.a)(["\n border-radius: 5px;\n overflow: hidden;\n width: 200px;\n grid-area: poster;\n\n ","\n "])),t?Object(Ze.c)(Na||(Na=Object(We.a)(["\n img {\n width: 200px;\n object-fit: cover;\n border-radius: 5px;\n height: 100%;\n }\n "]))):Object(Ze.c)(Ha||(Ha=Object(We.a)(["\n display: grid;\n place-items: center;\n background: ",";\n\n svg {\n transform: scale(1.5) translateY(-3px);\n }\n "])),n))})),dr=Object(Ze.d)(ie.a)(za||(za=Object(We.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"})),br=Ze.d.div(Ga||(Ga=Object(We.a)(["\n ","\n"])),(function(e){var t=e.showbutton,n=e.theme.addDialog,a=n.languageSwitchBGColor,r=n.languageSwitchFontColor;return Object(Ze.c)(Ia||(Ia=Object(We.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")})),jr=Ze.d.div(Ua||(Ua=Object(We.a)(["\n border: 2px solid white;\n border-radius: 50%;\n height: 45px;\n width: 45px;\n position: relative;\n\n :before,\n :after {\n content: '';\n background: white;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n\n :before {\n width: 2px;\n height: 25px;\n }\n :after {\n width: 25px;\n height: 2px;\n }\n"]))),pr=n(500),ur=n(464),hr=n(465);function xr(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,b=e.isPosterUrlCorrect,j=e.posterList,p=e.currentLang,u=e.posterSearchLanguage,h=e.setPosterSearchLanguage,x=e.posterSearch,g=e.removePoster,O=e.torrentSource,m=e.originalTorrentTitle,f=e.updateTitleFromSource,C=e.isCustomTitleEnabled,v=e.setIsCustomTitleEnabled,y=e.isEditMode,S=Object(de.a)().t,w=Object(Q.a)().palette.primary.main,D=function(e){var n=e.target.value;return t(n)};return Object(q.jsxs)(Ya,{children:[Object(q.jsxs)($a,{isHidden:!o||c&&!y,children:[m?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(pr.a,{value:m,margin:"dense",label:S("AddDialog.OriginalTorrentTitle"),type:"text",variant:"outlined",fullWidth:!0,disabled:C,InputProps:{readOnly:!0}}),Object(q.jsx)(pr.a,{onChange:D,onFocus:function(){return v(!0)},onBlur:function(e){return!e.target.value&&v(!1)},value:l,margin:"dense",label:S("AddDialog.CustomTorrentTitle"),type:"text",variant:"outlined",fullWidth:!0,helperText:S("AddDialog.CustomTorrentTitleHelperText"),InputProps:{endAdornment:Object(q.jsx)(ur.a,{position:"end",children:Object(q.jsx)(he.a,{style:{padding:"1px"},onClick:function(){t(""),v(!C),f(),r(!1)},children:Object(q.jsx)(hr.a,{style:{color:C?w:Object(Ne.a)("#ccc",.5)}})})})}})]}):Object(q.jsx)(pr.a,{onChange:D,value:l,margin:"dense",label:S("AddDialog.TitleBlank"),type:"text",variant:"outlined",fullWidth:!0,helperText:S("AddDialog.TitleBlankHelperText")}),Object(q.jsx)(pr.a,{onChange:function(e){var t=e.target.value;n(t),Wa(t).then(a),r(!!t),i()},value:d,margin:"dense",label:S("AddDialog.AddPosterLinkInput"),type:"url",variant:"outlined",fullWidth:!0}),Object(q.jsxs)(or,{children:[Object(q.jsx)(sr,{poster:+b,children:b?Object(q.jsx)("img",{src:d,alt:"poster"}):Object(q.jsx)(ee,{})}),Object(q.jsx)(cr,{children:null===j||void 0===j?void 0:j.filter((function(e){return e!==d})).slice(0,12).map((function(e){return Object(q.jsx)(lr,{onClick:function(){return function(e){n(e),Wa(e).then(a),r(!0)}(e)},children:Object(q.jsx)("img",{src:e,alt:"poster"})},e)}))}),"en"!==p&&Object(q.jsx)(br,{onClick:function(){var e="en"===u?"ru":"en";h(e),x(C?l:m?s:l,e,{shouldRefreshMainPoster:!0})},showbutton:+b,color:"primary",variant:"contained",size:"small",children:"en"===u?"EN":"RU"}),Object(q.jsx)(dr,{showbutton:+b,onClick:function(){g(),r(!0)},color:"primary",variant:"contained",size:"small",children:S("Clear")})]})]}),Object(q.jsx)($a,{isError:O&&(!o||c),notificationMessage:O?o?c&&S("AddDialog.HashExists"):S("AddDialog.WrongTorrentSource"):S("AddDialog.AddTorrentSourceNotification"),isHidden:y||o&&!c})]})}var gr,Or,mr,fr,Cr,vr,yr,Sr,wr,Dr,kr,Tr,Pr=n(205),Mr=n(466);function Lr(e){var t=e.setIsUserInteractedWithPoster,n=e.setSelectedFile,r=e.torrentSource,i=e.setTorrentSource,o=e.selectedFile,l=Object(de.a)().t,s=Object(a.useState)(!1),d=Object(c.a)(s,2),b=d[0],j=d[1],p=Object(Pr.a)({onDrop:function(e){var a=Object(c.a)(e,1)[0];a&&(t(!1),n(a),i(a.name))},accept:".torrent"}),u=p.getRootProps,h=p.getInputProps,x=p.isDragActive;return Object(q.jsxs)(Qa,{children:[Object(q.jsx)(ir,{active:b,children:Object(q.jsx)(pr.a,{onChange:function(e){var t=e.target.value;return i(t)},value:r,margin:"dense",label:l("AddDialog.TorrentSourceLink"),helperText:l("AddDialog.TorrentSourceOptions"),type:"text",fullWidth:!0,variant:"outlined",onFocus:function(){return j(!0)},onBlur:function(){return j(!1)},inputProps:{autoComplete:"off"},disabled:!!o})}),o?Object(q.jsx)(tr,{children:Object(q.jsxs)(nr,{children:[Object(q.jsx)(re,{}),Object(q.jsx)(ar,{onClick:function(){n(),i("")},children:Object(q.jsx)(Mr.a,{})})]})}):Object(q.jsxs)(er,Object(R.a)(Object(R.a)({isDragActive:x},u()),{},{children:[Object(q.jsx)("input",Object(R.a)({},h())),Object(q.jsx)("div",{children:l("AddDialog.AppendFile.Or")}),Object(q.jsxs)(rr,{children:[Object(q.jsx)(te,{color:"primary"}),Object(q.jsx)("div",{children:l("AddDialog.AppendFile.ClickOrDrag")})]})]}))]})}function Rr(e){var t=e.handleClose,n=e.hash,r=e.title,i=e.name,l=e.poster,s=Object(de.a)().t,d=!!n,b=Object(a.useState)(n||""),j=Object(c.a)(b,2),p=j[0],u=j[1],h=Object(a.useState)(r||""),x=Object(c.a)(h,2),g=x[0],O=x[1],m=Object(a.useState)(""),f=Object(c.a)(m,2),y=f[0],S=f[1],w=Object(a.useState)(""),D=Object(c.a)(w,2),k=D[0],T=D[1],P=Object(a.useState)(l||""),L=Object(c.a)(P,2),R=L[0],B=L[1],A=Object(a.useState)(!1),F=Object(c.a)(A,2),E=F[0],N=F[1],H=Object(a.useState)(!1),z=Object(c.a)(H,2),G=z[0],I=z[1],U=Object(a.useState)(!1),V=Object(c.a)(U,2),W=V[0],Z=V[1],_=Object(a.useState)(),K=Object(c.a)(_,2),J=K[0],X=K[1],$=Object(a.useState)(d),Q=Object(c.a)($,2),ee=Q[0],te=Q[1],ne=Wn(),ae=Object(c.a)(ne,1)[0],re=Object(a.useState)(),oe=Object(c.a)(re,2),ce=oe[0],be=oe[1],je=Object(a.useState)("ru"===ae?"ru":"en"),pe=Object(c.a)(je,2),ue=pe[0],he=pe[1],xe=Object(a.useState)(!1),ge=Object(c.a)(xe,2),Oe=ge[0],me=ge[1],fe=Object(a.useState)(!1),Ce=Object(c.a)(fe,2),ve=Ce[0],ye=Ce[1],Se=Object(a.useState)(!1),we=Object(c.a)(Se,2),De=we[0],ke=we[1],Te=Object(a.useState)(),Pe=Object(c.a)(Te,2),Me=Pe[0],Le=Pe[1],Re=ha(t),Be=Object(o.useQuery)("torrents",Y,{retry:1,refetchInterval:1e3}).data;Object(a.useEffect)((function(){ia.a.remote(ce||p,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.infoHash;return Le(n)}))}),[ce,p]),Object(a.useEffect)((function(){if(Le){var e=Be.map((function(e){return e.hash}));Z(e.includes(Me))}}),[Me,Be]),Object(a.useEffect)((function(){if(Oe){Be.map((function(e){return e.hash})).includes(Me)&&t();null!==p.match(/^(http(s?)):\/\/.*/i)&&t()}}),[Oe,Be,p,Me,t]);var Ae=Object(Ee.a)("@media (max-width:930px)"),Fe=Object(a.useCallback)((function(){var e,t;e=ce||p,t=function(e){var t=e.parsedTitle,n=e.originalName;n&&(ye(!0),O(""),ke(!1),S(n),T(t))},ia.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=le.a.parse(a).title,o=r?le.a.parse(r[0].name).title:null,c=i;o&&(c=i.length<o.length?i:o),t({parsedTitle:c,originalName:a})}))}),[ce,p]);Object(a.useEffect)((function(){ce||p||(O(""),S(""),T(""),ke(!1),X(),Ne(),te(!1))}),[ce,p]);var Ne=function(){N(!1),B("")};Object(a.useEffect)((function(){n&&Wa(R).then((function(e){e?N(!0):Ne()}))}),[]);var He=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 X(),void Ne();Va(e,t).then((function(e){if(e){if(X(e),!r&&ee)return;var t=Object(c.a)(e,1)[0];Wa(t).then((function(e){e?(N(!0),B(t)):Ne()}))}else{if(X(),ee)return;Ne()}}))}}),[ee]),ze=Object(a.useMemo)((function(){return Vn()(He,700)}),[He]),Ge=Zn(p);Object(a.useEffect)((function(){var e;if(!(null!==(e=p).match(_a)||null!==e.match(Za)||null!==e.match(Ka)||null!==e.match(Ja)))return I(!1);I(!0),p!==Ge&&Fe()}),[Ge,ce,p,Fe]);var Ie=Zn(g);Object(a.useEffect)((function(){(g!==Ie||k)&&(ve?(He(g||k,ue),ye(!1)):g?ze(g,ue):(ze.cancel(),k?He(k,ue):!ee&&Ne()))}),[g,k,Ie,ze,He,ue,ve,ee]);return Object(q.jsxs)(pa,{open:!0,onClose:t,fullScreen:Ae,fullWidth:!0,maxWidth:"md",ref:Re,children:[Object(q.jsx)(ua,{children:s(d?"EditTorrent":"AddNewTorrent")}),Object(q.jsxs)(Xa,{isEditMode:d,children:[!d&&Object(q.jsx)(Lr,{setIsUserInteractedWithPoster:te,selectedFile:ce,setSelectedFile:be,torrentSource:p,setTorrentSource:u}),Object(q.jsx)(xr,{originalTorrentTitle:y,setTitle:O,setPosterUrl:B,setIsPosterUrlCorrect:N,setIsUserInteractedWithPoster:te,setPosterList:X,isTorrentSourceCorrect:G,isHashAlreadyExists:W,title:g,parsedTitle:k,posterUrl:R,isPosterUrlCorrect:E,posterList:J,currentLang:ae,posterSearchLanguage:ue,setPosterSearchLanguage:he,posterSearch:He,removePoster:Ne,updateTitleFromSource:Fe,torrentSource:p,isCustomTitleEnabled:De,setIsCustomTitleEnabled:ke,isEditMode:d})]}),Object(q.jsxs)(ca,{children:[Object(q.jsx)(ie.a,{onClick:t,color:"secondary",variant:"outlined",children:s("Cancel")}),Object(q.jsx)(ie.a,{variant:"contained",style:{minWidth:"110px"},disabled:!p||W&&!d||!G,onClick:function(){if(me(!0),d)M.a.post(v(),{action:"set",hash:n,title:g||i,poster:R}).finally(t);else if(ce){var e=new FormData;e.append("save","true"),e.append("file",ce),g&&e.append("title",g),R&&e.append("poster",R),M.a.post("".concat(C,"/torrent/upload"),e).catch(t)}else M.a.post(v(),{action:"add",link:p,title:g,poster:R,save_to_db:!0}).catch(t)},color:"secondary",children:Oe?Object(q.jsx)(se.a,{style:{color:"white"},size:20}):s(d?"Save":"Add")})]})]})}var Br,Ar,Fr,Er,Nr,Hr,zr,Gr,Ir,Ur,Vr,Wr,Zr,_r,Kr,Jr,Xr,Yr,$r,Qr,qr=Ze.d.div(gr||(gr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard.cardPrimaryColor;return Object(Ze.c)(Or||(Or=Object(We.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)})),ei=Ze.d.div(mr||(mr=Object(We.a)(["\n grid-area: poster;\n border-radius: 5px;\n overflow: hidden;\n text-align: center;\n cursor: pointer;\n transition: 0.2s;\n position: relative;\n\n :hover {\n filter: brightness(0.7);\n }\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(Ze.c)(fr||(fr=Object(We.a)(["\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 5px;\n }\n "]))):Object(Ze.c)(Cr||(Cr=Object(We.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)})),ti=Ze.d.div(vr||(vr=Object(We.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"]))),ni=Ze.d.div(yr||(yr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard,n=t.cardSecondaryColor,a=t.accentCardColor;return Object(Ze.c)(Sr||(Sr=Object(We.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.5rem;\n line-height: 10px;\n }\n }\n\n .description-status-wrapper {\n display: inline-block;\n height: 8px;\n margin-inline-end: 4px;\n vertical-align: baseline;\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-bottom: 10px;\n margin-left: 0;\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)})),ai=Ze.d.button(wr||(wr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.torrentCard,n=t.buttonBGColor,a=t.accentCardColor;return Object(Ze.c)(Dr||(Dr=Object(We.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)})),ri=Ze.d.div(kr||(kr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.color;return Object(Ze.c)(Tr||(Tr=Object(We.a)(["\n height: 8px;\n width: 8px;\n background-color: ",";\n border-radius: 50%;\n position: relative;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);\n "])),t)})),ii=Object(a.forwardRef)((function(e,t){return Object(q.jsx)(zn.a,Object(R.a)({direction:"up",ref:t},e))})),oi=function(e){var t=e.torrent,n=Object(de.a)().t,r=Object(a.useState)(!1),i=Object(c.a)(r,2),o=i[0],l=i[1],s=Object(a.useState)(!1),b=Object(c.a)(s,2),j=b[0],p=b[1],u=Object(Q.a)(),h=Object(Ee.a)(u.breakpoints.down("md")),x=function(){return l(!1)},g=function(){return p(!1)},O=t.title,m=t.name,f=t.poster,C=t.torrent_size,y=t.download_speed,S=t.hash,w=t.stat,D=function(){var e=function(e){var t,n;return(null===(t=le.a.parse(O||""))||void 0===t?void 0:t[e])||(null===(n=le.a.parse(m||""))||void 0===n?void 0:n[e])},t=[],n=X(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(" ")}}(),T=D.parsedTitle,P=Object(a.useState)(!1),L=Object(c.a)(P,2),R=L[0],E=L[1],N="".concat(k(),"/").concat(encodeURIComponent(T||"file"),".m3u?link=").concat(S,"&m3u"),H=ha(x);return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(qr,{children:[Object(q.jsx)(ei,{isPoster:f,onClick:function(){return E(!0)},children:f?Object(q.jsx)("img",{src:f,alt:"poster"}):Object(q.jsx)(ee,{})}),Object(q.jsxs)(ti,{children:[Object(q.jsxs)(ai,{onClick:function(){return l(!0)},children:[Object(q.jsx)(B.a,{}),Object(q.jsx)("span",{children:n("Details")})]}),Object(q.jsxs)(ai,{onClick:function(){window.open(N,"_blank")},children:[Object(q.jsx)(A.a,{}),Object(q.jsx)("span",{children:n("Playlist")})]}),Object(q.jsxs)(ai,{onClick:function(){return M.a.post(v(),{action:"drop",hash:S})},children:[Object(q.jsx)(d.a,{}),Object(q.jsx)("span",{children:n("Drop")})]}),Object(q.jsxs)(ai,{onClick:function(){return p(!0)},children:[Object(q.jsx)(F.a,{}),Object(q.jsx)("span",{children:n("Delete")})]})]}),Object(q.jsxs)(ni,{children:[Object(q.jsxs)("div",{className:"description-title-wrapper",children:[Object(q.jsx)("div",{className:"description-section-name",children:n("Name")}),Object(q.jsx)("div",{className:"description-torrent-title",children:T})]}),Object(q.jsxs)("div",{className:"description-statistics-wrapper",children:[Object(q.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object(q.jsxs)("div",{className:"description-section-name",children:[Object(q.jsx)(ci,{stat:w}),n("Size")]}),Object(q.jsx)("div",{className:"description-statistics-element-value",children:C>0&&_(C)})]}),Object(q.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object(q.jsx)("div",{className:"description-section-name",children:n("Speed")}),Object(q.jsx)("div",{className:"description-statistics-element-value",children:y>0?K(y):"---"})]}),Object(q.jsxs)("div",{className:"description-statistics-element-wrapper",children:[Object(q.jsx)("div",{className:"description-section-name",children:n("Peers")}),Object(q.jsx)("div",{className:"description-statistics-element-value",children:J(t)||"---"})]})]})]})]}),Object(q.jsx)(pa,{open:o,onClose:x,fullScreen:h,fullWidth:!0,maxWidth:"xl",TransitionComponent:ii,ref:H,children:Object(q.jsx)(Nn,{closeDialog:x,torrent:t})}),Object(q.jsxs)(Hn.a,{open:j,onClose:g,children:[Object(q.jsx)(Gn.a,{children:n("DeleteTorrent?")}),Object(q.jsxs)(In.a,{children:[Object(q.jsx)(ie.a,{variant:"outlined",onClick:g,color:"secondary",children:n("Cancel")}),Object(q.jsx)(ie.a,{variant:"contained",onClick:function(){M.a.post(v(),{action:"rem",hash:S}),g()},color:"secondary",autoFocus:!0,children:n("OK")})]})]}),R&&Object(q.jsx)(Rr,{hash:S,title:O,name:m,poster:f,handleClose:function(){return E(!1)}})]})},ci=function(e){var t,n,a=e.stat,r=Object(de.a)().t,i=(t={},Object(L.a)(t,1,r("TorrentGettingInfo")),Object(L.a)(t,2,r("TorrentPreload")),Object(L.a)(t,3,r("TorrentWorking")),Object(L.a)(t,4,r("TorrentClosed")),Object(L.a)(t,5,r("TorrentInDb")),t),o=(n={},Object(L.a)(n,1,"#2196F3"),Object(L.a)(n,2,"#FFC107"),Object(L.a)(n,3,"#CDDC39"),Object(L.a)(n,4,"#E57373"),Object(L.a)(n,5,"#9E9E9E"),n);return Object(q.jsx)("span",{className:"description-status-wrapper",children:Object(q.jsx)(ri,{color:o[a],title:i[a]})})},li=Object(a.memo)(oi),si=Ze.d.div(Br||(Br=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.app.appSecondaryColor;return Object(Ze.c)(Ar||(Ar=Object(We.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\n ","\n "])),Object(Ne.a)(t,.8),sa(Object(Ze.c)(Fr||(Fr=Object(We.a)(["\n grid-template-columns: 0 1fr;\n grid-template-rows: ","px 1fr ","px;\n height: 100vh;\n "])),da,da)))})),di=Ze.d.div(Er||(Er=Object(We.a)(["\n display: grid;\n place-items: center;\n\n ","\n"])),sa(Object(Ze.c)(Nr||(Nr=Object(We.a)(["\n height: 100vh;\n width: 100vw;\n "]))))),bi=Ze.d.div(Hr||(Hr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.primary;return Object(Ze.c)(zr||(zr=Object(We.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\n ","\n "])),t,sa(Object(Ze.c)(Gr||(Gr=Object(We.a)(["\n grid-template-columns: max-content 1fr;\n align-items: end;\n padding: 7px 16px;\n position: fixed;\n width: 100%;\n height: ","px;\n "])),da)))})),ji=Ze.d.div(Ir||(Ir=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isDrawerOpen,n=e.theme.app,a=n.appSecondaryColor,r=n.sidebarBGColor,i=n.sidebarFillColor;return Object(Ze.c)(Ur||(Ur=Object(We.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\n ","\n "])),t?"400%":"100%",Object(Ne.a)(a,.12),r,i,i,sa(Object(Ze.c)(Vr||(Vr=Object(We.a)(["\n display: none;\n "])))))})),pi=Ze.d.div(Wr||(Wr=Object(We.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\n ","\n"])),sa(Object(Ze.c)(Zr||(Zr=Object(We.a)(["\n height: calc(100vh - ","px);\n padding-bottom: 105px;\n "])),da))),ui=Ze.d.div(_r||(_r=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.app.headerToggleColor;return Object(Ze.c)(Kr||(Kr=Object(We.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(Ne.a)(t,.7))})),hi=Object(Ze.d)(he.a)(Jr||(Jr=Object(We.a)(["\n margin-right: 6px;\n\n ","\n"])),sa(Object(Ze.c)(Xr||(Xr=Object(We.a)(["\n display: none;\n "]))))),xi=Ze.d.div(Yr||(Yr=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isButton,n=e.theme.addDialog,a=n.notificationSuccessBGColor,r=n.languageSwitchBGColor;return Object(Ze.c)($r||($r=Object(We.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(Ze.c)(Qr||(Qr=Object(We.a)(["\n background: ",";\n transition: 0.2s;\n cursor: pointer;\n\n :hover {\n background: ",";\n }\n "])),a,r))}));function gi(){var e=Object(de.a)().t,t=Object(Q.a)().palette.primary.main;return Object(q.jsxs)(xi,{children:[Object(q.jsx)("lord-icon",{src:"https://cdn.lordicon.com/wrprwmwt.json",trigger:"loop",colors:"primary:#121331,secondary:".concat(t),stroke:"26",scale:"60"}),Object(q.jsx)("div",{className:"icon-label",children:e("Offline")})]})}function Oi(){var e=Object(de.a)().t,t=Object(a.useState)(!1),n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(Q.a)().palette.primary.main;return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(xi,{onClick:function(){return i(!0)},isButton:!0,children:[Object(q.jsx)("lord-icon",{src:"https://cdn.lordicon.com/bbnkwdur.json",trigger:"loop",colors:"primary:#121331,secondary:".concat(o),stroke:"26",scale:"60"}),Object(q.jsx)("div",{className:"icon-label",children:e("NoTorrentsAdded")})]}),r&&Object(q.jsx)(Rr,{handleClose:function(){return i(!1)}})]})}function mi(e){var t=e.isOffline,n=e.isLoading,a=e.sortABC,r=e.torrents;return n||t||!r.length?Object(q.jsx)(di,{children:t?Object(q.jsx)(gi,{}):n?Object(q.jsx)(se.a,{color:"secondary"}):!r.length&&Object(q.jsx)(Oi,{})}):a?Object(q.jsx)(pi,{children:r.sort((function(e,t){return e.title>t.title})).map((function(e){return Object(q.jsx)(li,{torrent:e},e.hash)}))}):Object(q.jsx)(pi,{children:r.map((function(e){return Object(q.jsx)(li,{torrent:e},e.hash)}))})}var fi,Ci=n(497),vi=n(200),yi=n.n(vi),Si=n(474);function wi(e){var t=e.onClose,n=Object(de.a)().t,a=ha(t);return Object(q.jsxs)(pa,{open:!0,onClose:t,"aria-labelledby":"form-dialog-title",fullWidth:!0,maxWidth:"xs",ref:a,children:[Object(q.jsx)(Gn.a,{id:"form-dialog-title",children:n("Donate")}),Object(q.jsx)(Si.a,{children:Object(q.jsxs)(oe.a,{variant:"outlined",color:"secondary","aria-label":"contained primary button group",children:[Object(q.jsx)(ie.a,{onClick:function(){return window.open("https://boosty.to/yourok","_blank")},children:"Boosty"}),Object(q.jsx)(ie.a,{onClick:function(){return window.open("https://yoomoney.ru/to/410013733697114","_blank")},children:"IO.Money"}),Object(q.jsx)(ie.a,{onClick:function(){return window.open("https://qiwi.com/n/YOUROK85","_blank")},children:"QIWI"})]})}),Object(q.jsx)(In.a,{children:Object(q.jsx)(ie.a,{onClick:t,color:"secondary",variant:"contained",children:"Ok"})})]})}var Di=Object(Ze.d)(Ci.a)(fi||(fi=Object(We.a)(["\n ",";\n"])),sa("margin-bottom: 90px"));function ki(){var e=Object(de.a)().t,t=Object(a.useState)(!1),n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(!0),l=Object(c.a)(o,2),s=l[0],d=l[1],b=function(){d(!1),localStorage.setItem("snackbarIsClosed",!0)};return Object(q.jsxs)(q.Fragment,{children:[r&&Object(q.jsx)(wi,{onClose:function(){return i(!1)}}),Object(q.jsx)(Di,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:s,onClose:b,message:e("Donate?"),action:Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(ie.a,{style:{marginRight:"10px"},color:"secondary",size:"small",onClick:function(){i(!0),b()},children:[Object(q.jsx)(yi.a,{style:{marginRight:"10px"},fontSize:"small"}),e("Support")]}),Object(q.jsx)(he.a,{size:"small","aria-label":"close",color:"inherit",onClick:b,children:Object(q.jsx)(ge.a,{fontSize:"small"})})]})})]})}var Ti,Pi,Mi=n(485),Li=Object(Ze.b)(Ti||(Ti=Object(We.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 -webkit-tap-highlight-color: transparent;\n\n\n ','\n }\n\n button {\n font-family: "Open Sans", sans-serif;\n letter-spacing: -0.1px;\n }\n'])),sa(Object(Ze.c)(Pi||(Pi=Object(We.a)(["\n height: 100vh;\n "]))))),Ri=n(483),Bi=n(475),Ai=n(476),Fi=n(484),Ei=n(462),Ni=n(201),Hi=n.n(Ni);function zi(e){var t=e.isOffline,n=e.isLoading,r=Object(de.a)().t,i=Object(a.useState)(!1),o=Object(c.a)(i,2),l=o[0],s=o[1];return Object(q.jsxs)("div",{children:[Object(q.jsx)(ja,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:$?Object(q.jsx)(jr,{}):Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(Hi.a,{})}),Object(q.jsx)(Ai.a,{primary:r("AddFromLink")})]})}),l&&Object(q.jsx)(Rr,{handleClose:function(){return s(!1)}})]})}var Gi,Ii,Ui,Vi,Wi,Zi,_i,Ki,Ji,Xi,Yi,$i,Qi,qi,eo,to,no,ao,ro,io,oo,co,lo=n(131),so=n.n(lo),bo=n(478),jo=n(494),po=n(480),uo=n(202),ho=n.n(uo),xo="#b3dfc9",go=ze.light.primary,Oo=Object(Ze.d)(ua)(Gi||(Gi=Object(We.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"]))),mo=Ze.d.div(Ii||(Ii=Object(We.a)(["\n ","\n"])),(function(e){var t=e.theme.settingsDialog.footerBG;return Object(Ze.c)(Ui||(Ui=Object(We.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)})),fo=(Ze.d.div(Vi||(Vi=Object(We.a)(["\n height: 1px;\n background-color: rgba(0, 0, 0, 0.12);\n margin: 30px 0;\n"]))),Ze.d.div(Wi||(Wi=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isLoading,n=e.theme.settingsDialog.contentBG;return Object(Ze.c)(Zi||(Zi=Object(We.a)(["\n background: ",";\n overflow: auto;\n flex: 1;\n\n ","\n "])),n,t&&Object(Ze.c)(_i||(_i=Object(We.a)(["\n min-height: 500px;\n display: grid;\n place-items: center;\n "]))))}))),Co=Ze.d.div(Ki||(Ki=Object(We.a)(["\n ","\n"])),(function(e){var t=e.color;return Object(Ze.c)(Ji||(Ji=Object(We.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)})),vo=Ze.d.div(Xi||(Xi=Object(We.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"]))),yo=Ze.d.div(Yi||(Yi=Object(We.a)(["\n padding: 20px;\n"]))),So=Ze.d.div($i||($i=Object(We.a)(["\n ","\n"])),(function(e){var t=e.small,n=e.selected;return Object(Ze.c)(Qi||(Qi=Object(We.a)(["\n transition: 0.2s;\n cursor: default;\n text-align: center;\n\n ","\n\n ","\n "])),!n&&Object(Ze.c)(qi||(qi=Object(We.a)(["\n cursor: pointer;\n\n :hover {\n filter: brightness(0.8);\n }\n "]))),t?Object(Ze.c)(eo||(eo=Object(We.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(Ze.c)(to||(to=Object(We.a)(["\n display: grid;\n place-items: center;\n gap: 10px;\n "]))))})),wo=Ze.d.div(no||(no=Object(We.a)(["\n ","\n"])),(function(e){var t=e.selected,n=e.small;return Object(Ze.c)(ao||(ao=Object(We.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")})),Do=Ze.d.div(ro||(ro=Object(We.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"]))),ko=Ze.d.div(io||(io=Object(We.a)(["\n font-size: 25px;\n padding-bottom: 20px;\n\n small {\n display: block;\n font-size: 11px;\n }\n"]))),To=Ze.d.div.attrs((function(e){var t=e.value;return{style:{background:"linear-gradient(to right, ".concat(xo," 0%, ").concat(xo," ").concat(t,"%, ").concat(go," ").concat(t,"%, ").concat(go," 100%)")}}}))(oo||(oo=Object(We.a)(["\n ","\n"])),(function(e){var t=e.label,n=e.preloadCachePercentage;return Object(Ze.c)(co||(co=Object(We.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)})),Po={CacheSize:64,ReaderReadAHead:95,PreloadCache:50,UseDisk:!1,TorrentsSavePath:"",RemoveCacheOnDrop:!1,ForceEncrypt:!1,RetrackersMode:1,TorrentDisconnectTimeout:30,EnableDebug:!1,EnableDLNA:!1,FriendlyName:"",EnableRutorSearch:!1,EnableIPv6:!1,DisableTCP:!1,DisableUTP:!1,DisableUPNP:!1,DisableDHT:!1,DisablePEX:!1,DisableUpload:!1,DownloadRateLimit:0,UploadRateLimit:0,ConnectionsLimit:25,PeersListenPort:0},Mo=n(5),Lo=["children","value","index"],Ro=function(e){return{id:"full-width-tab-".concat(e),"aria-controls":"full-width-tabpanel-".concat(e)}},Bo=function(e){var t=e.children,n=e.value,a=e.index,r=Object(Mo.a)(e,Lo);return Object(q.jsx)("div",Object(R.a)(Object(R.a)({role:"tabpanel",hidden:n!==a,id:"full-width-tabpanel-".concat(a)},r),{},{children:n===a&&Object(q.jsx)(q.Fragment,{children:t})}))},Ao=n(477),Fo=n(503),Eo=n(501);function No(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,b=e.onBlurCallback;return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)("div",{children:n}),Object(q.jsxs)(Ao.a,{container:!0,spacing:2,alignItems:"center",children:[Object(q.jsx)(Ao.a,{item:!0,xs:!0,children:Object(q.jsx)(Fo.a,{min:i,max:o,value:a,onChange:function(e,t){return r(t)},step:d,color:"secondary"})}),t&&Object(q.jsx)(Ao.a,{item:!0,children:Object(q.jsx)(Eo.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(b&&b(t))},style:{width:"91px",marginTop:"-6px"},inputProps:{step:d,min:c,max:l,type:"number"}})})]})]})}var Ho=function(e){var t=e.style,n=Object(de.a)().t;return Object(q.jsxs)(ko,{style:t,children:[n("SettingsDialog.CacheStorageLocation"),Object(q.jsx)("small",{children:n("SettingsDialog.UseDiskDesc")})]})};function zo(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,b=Object(de.a)().t,j=t||{},p=j.UseDisk,u=j.TorrentsSavePath,h=j.RemoveCacheOnDrop,x=Math.round(i/100*r);return Object(q.jsxs)(vo,{children:[Object(q.jsxs)("div",{children:[Object(q.jsx)(ko,{children:b("SettingsDialog.CacheSettings")}),Object(q.jsx)(To,{value:100-a,label:"".concat(b("Cache")," ").concat(i," ").concat(b("MB")),preloadCachePercentage:r}),Object(q.jsxs)(Co,{color:xo,children:[Object(q.jsxs)("div",{children:[100-a,"% (",Math.round(i/100*(100-a))," ",b("MB"),")"]}),Object(q.jsx)("div",{children:b("SettingsDialog.CacheBeforeReaderDesc")})]}),Object(q.jsxs)(Co,{color:go,children:[Object(q.jsxs)("div",{children:[a,"% (",Math.round(i/100*a)," ",b("MB"),")"]}),Object(q.jsx)("div",{children:b("SettingsDialog.CacheAfterReaderDesc")})]}),Object(q.jsx)("br",{}),Object(q.jsx)(No,{isProMode:o,title:b("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(q.jsx)(No,{isProMode:o,title:b("SettingsDialog.ReaderReadAHead"),value:a,setValue:l,sliderMin:40,sliderMax:95,inputMin:0,inputMax:100}),Object(q.jsx)(No,{isProMode:o,title:"".concat(b("SettingsDialog.PreloadCache")," - ").concat(r,"% (").concat(x," ").concat(b("MB"),")"),value:r,setValue:s,sliderMin:0,sliderMax:100,inputMin:0,inputMax:100})]}),p?Object(q.jsxs)("div",{children:[Object(q.jsx)(Ho,{}),Object(q.jsxs)("div",{style:{display:"grid",gridAutoFlow:"column"},children:[Object(q.jsxs)(So,{small:!0,onClick:function(){return d({UseDisk:!1})},children:[Object(q.jsx)(wo,{small:!0,children:Object(q.jsx)(ae,{color:"#323637"})}),Object(q.jsx)("div",{children:b("SettingsDialog.RAM")})]}),Object(q.jsxs)(So,{small:!0,selected:!0,children:[Object(q.jsx)(wo,{small:!0,selected:!0,children:Object(q.jsx)(ne,{color:"#dee3e5"})}),Object(q.jsx)("div",{children:b("SettingsDialog.Disk")})]})]}),Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:h,onChange:n,id:"RemoveCacheOnDrop",color:"secondary"}),label:b("SettingsDialog.RemoveCacheOnDrop"),labelPlacement:"start"}),Object(q.jsx)("div",{children:Object(q.jsx)("small",{children:b("SettingsDialog.RemoveCacheOnDropDesc")})}),Object(q.jsx)("br",{}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"TorrentsSavePath",label:b("SettingsDialog.TorrentsSavePath"),value:u,type:"url",variant:"outlined",fullWidth:!0})]}):Object(q.jsxs)(Do,{children:[Object(q.jsx)(Ho,{style:{placeSelf:"start",gridArea:"label"}}),Object(q.jsxs)(So,{selected:!0,children:[Object(q.jsx)(wo,{selected:!0,children:Object(q.jsx)(ae,{color:"#dee3e5"})}),Object(q.jsx)("div",{children:b("SettingsDialog.RAM")})]}),Object(q.jsxs)(So,{onClick:function(){return d({UseDisk:!0})},children:[Object(q.jsx)(wo,{children:Object(q.jsx)(ne,{color:"#323637"})}),Object(q.jsx)("div",{children:b("SettingsDialog.Disk")})]})]})]})}var Go=n(479),Io=n(463),Uo=n(502),Vo=n(493);function Wo(e){var t=e.settings,n=e.inputForm,a=Object(de.a)().t,r=t||{},i=r.RetrackersMode,o=r.TorrentDisconnectTimeout,c=r.EnableDebug,l=r.EnableDLNA,s=r.EnableIPv6,d=r.FriendlyName,b=r.EnableRutorSearch,j=r.ForceEncrypt,p=r.DisableTCP,u=r.DisableUTP,h=r.DisableUPNP,x=r.DisableDHT,g=r.DisablePEX,O=r.DisableUpload,m=r.DownloadRateLimit,f=r.UploadRateLimit,C=r.ConnectionsLimit,v=r.PeersListenPort;return Object(q.jsxs)(yo,{children:[Object(q.jsx)(ko,{children:a("SettingsDialog.AdditionalSettings")}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:s,onChange:n,id:"EnableIPv6",color:"secondary"}),label:"IPv6",labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.EnableIPv6Hint")})]}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!p,onChange:n,id:"DisableTCP",color:"secondary"}),label:"TCP (Transmission Control Protocol)",labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.DisableTCPHint")})]}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!u,onChange:n,id:"DisableUTP",color:"secondary"}),label:"\u03bcTP (Micro Transport Protocol)",labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.DisableUTPHint")})]}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!g,onChange:n,id:"DisablePEX",color:"secondary"}),label:"PEX (Peer Exchange)",labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.DisablePEXHint")})]}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:j,onChange:n,id:"ForceEncrypt",color:"secondary"}),label:a("SettingsDialog.ForceEncrypt"),labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.ForceEncryptHint")})]}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"TorrentDisconnectTimeout",label:a("SettingsDialog.TorrentDisconnectTimeout"),InputProps:{endAdornment:Object(q.jsx)(ur.a,{position:"end",children:a("Seconds")})},value:o,type:"number",variant:"outlined",fullWidth:!0}),Object(q.jsx)("br",{}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"ConnectionsLimit",label:a("SettingsDialog.ConnectionsLimit"),helperText:a("SettingsDialog.ConnectionsLimitHint"),value:C,type:"number",variant:"outlined",fullWidth:!0}),Object(q.jsx)("br",{}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!x,onChange:n,id:"DisableDHT",color:"secondary"}),label:a("SettingsDialog.DHT"),labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.DisableDHTHint")})]}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"DownloadRateLimit",label:a("SettingsDialog.DownloadRateLimit"),InputProps:{endAdornment:Object(q.jsx)(ur.a,{position:"end",children:a("Kilobytes")})},value:m,type:"number",variant:"outlined",fullWidth:!0}),Object(q.jsx)("br",{}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!O,onChange:n,id:"DisableUpload",color:"secondary"}),label:a("SettingsDialog.Upload"),labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.UploadHint")})]}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"UploadRateLimit",label:a("SettingsDialog.UploadRateLimit"),InputProps:{endAdornment:Object(q.jsx)(ur.a,{position:"end",children:a("Kilobytes")})},value:f,type:"number",variant:"outlined",fullWidth:!0}),Object(q.jsx)("br",{}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"PeersListenPort",label:a("SettingsDialog.PeersListenPort"),helperText:a("SettingsDialog.PeersListenPortHint"),value:v,type:"number",variant:"outlined",fullWidth:!0}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:!h,onChange:n,id:"DisableUPNP",color:"secondary"}),label:"UPnP (Universal Plug and Play)",labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.DisableUPNPHint")})]}),Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:l,onChange:n,id:"EnableDLNA",color:"secondary"}),label:a("SettingsDialog.DLNA"),labelPlacement:"start"}),Object(q.jsx)(pr.a,{onChange:n,margin:"normal",id:"FriendlyName",label:a("SettingsDialog.FriendlyName"),helperText:a("SettingsDialog.FriendlyNameHint"),value:d,type:"text",variant:"outlined",fullWidth:!0}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:b,onChange:n,id:"EnableRutorSearch",color:"secondary"}),label:a("SettingsDialog.EnableRutorSearch"),labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.EnableRutorSearchHint")})]}),Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:c,onChange:n,id:"EnableDebug",color:"secondary"}),label:a("SettingsDialog.EnableDebug"),labelPlacement:"start"}),Object(q.jsx)("br",{}),Object(q.jsx)(Uo.a,{htmlFor:"RetrackersMode",children:a("SettingsDialog.RetrackersMode")}),Object(q.jsxs)(Vo.a,{onChange:n,margin:"dense",type:"number",native:!0,id:"RetrackersMode",value:i,variant:"outlined",children:[Object(q.jsx)("option",{value:0,children:a("SettingsDialog.DontAddRetrackers")}),Object(q.jsx)("option",{value:1,children:a("SettingsDialog.AddRetrackers")}),Object(q.jsx)("option",{value:2,children:a("SettingsDialog.RemoveRetrackers")}),Object(q.jsx)("option",{value:3,children:a("SettingsDialog.ReplaceRetrackers")})]}),Object(q.jsx)("br",{})]})}function Zo(e){var t=e.isVlcUsed,n=e.setIsVlcUsed,a=Object(de.a)().t;return Object(q.jsxs)(yo,{children:[Object(q.jsx)(ko,{children:a("SettingsDialog.MobileAppSettings")}),Object(q.jsxs)(Go.a,{children:[Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:t,onChange:function(){return n((function(e){return!e}))},color:"secondary"}),label:a("SettingsDialog.UseVLC"),labelPlacement:"start"}),Object(q.jsx)(Io.a,{margin:"none",children:a("SettingsDialog.UseVLCHint")})]})]})}function _o(e){var t,n=e.handleClose,r=Object(de.a)().t,i=Object(Ee.a)("@media (max-width:930px)"),o=Object(Q.a)().direction,l=Object(a.useState)(),s=Object(c.a)(l,2),d=s[0],b=s[1],j=Object(a.useState)(0),p=Object(c.a)(j,2),u=p[0],h=p[1],x=Object(a.useState)(32),g=Object(c.a)(x,2),O=g[0],m=g[1],f=Object(a.useState)(40),C=Object(c.a)(f,2),v=C[0],y=C[1],w=Object(a.useState)(0),D=Object(c.a)(w,2),k=D[0],T=D[1],P=Object(a.useState)(JSON.parse(localStorage.getItem("isProMode"))||!1),L=Object(c.a)(P,2),B=L[0],A=L[1],F=Object(a.useState)(null!==(t=JSON.parse(localStorage.getItem("isVlcUsed")))&&void 0!==t&&t),E=Object(c.a)(F,2),N=E[0],H=E[1];Object(a.useEffect)((function(){M.a.post(S(),{action:"get"}).then((function(e){var t=e.data;b(Object(R.a)(Object(R.a)({},t),{},{CacheSize:t.CacheSize/1048576}))}))}),[]);var z=ha(n),G=function(e){var t=e.target,n=t.type,a=t.value,r=t.checked,i=t.id,o=JSON.parse(JSON.stringify(d));"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&&"text"!==n||(o[i]=a),b(o)},I=d||{},U=I.CacheSize,V=I.ReaderReadAHead,W=I.PreloadCache;Object(a.useEffect)((function(){isNaN(U)||isNaN(V)||isNaN(W)||(m(U),y(V),T(W))}),[U,V,W]);var Z=function(e){return b(Object(R.a)(Object(R.a)({},d),e))};return Object(q.jsxs)(pa,{open:!0,onClose:n,fullScreen:i,fullWidth:!0,maxWidth:"md",ref:z,children:[Object(q.jsxs)(Oo,{children:[Object(q.jsx)("div",{children:r("SettingsDialog.Settings")}),Object(q.jsx)(Vt.a,{control:Object(q.jsx)(bo.a,{checked:B,onChange:function(e){var t=e.target.checked;A(t),localStorage.setItem("isProMode",t),t||h(0)},style:{color:"white"}}),label:r("SettingsDialog.ProMode"),labelPlacement:"start"})]}),Object(q.jsx)(pe.a,{position:"static",color:"default",children:Object(q.jsxs)(jo.a,{value:u,onChange:function(e,t){return h(t)},indicatorColor:"secondary",textColor:"secondary",variant:"fullWidth",children:[Object(q.jsx)(po.a,Object(R.a)({label:r("SettingsDialog.Tabs.Main")},Ro(0))),Object(q.jsx)(po.a,Object(R.a)({disabled:!B,label:Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)("div",{children:r("SettingsDialog.Tabs.Additional")}),!B&&Object(q.jsx)("div",{style:{fontSize:"9px"},children:r("SettingsDialog.Tabs.AdditionalDisabled")})]})},Ro(1))),$&&Object(q.jsx)(po.a,Object(R.a)({label:r("SettingsDialog.Tabs.App")},Ro(2)))]})}),Object(q.jsx)(fo,{isLoading:!d,children:d?Object(q.jsx)(q.Fragment,{children:Object(q.jsxs)(ho.a,{axis:"rtl"===o?"x-reverse":"x",index:u,onChangeIndex:function(e){return h(e)},children:[Object(q.jsx)(Bo,{value:u,index:0,dir:o,children:Object(q.jsx)(zo,{settings:d,inputForm:G,cachePercentage:v,preloadCachePercentage:k,cacheSize:O,isProMode:B,setCacheSize:m,setCachePercentage:y,setPreloadCachePercentage:T,updateSettings:Z})}),Object(q.jsx)(Bo,{value:u,index:1,dir:o,children:Object(q.jsx)(Wo,{settings:d,inputForm:G})}),$&&Object(q.jsx)(Bo,{value:u,index:2,dir:o,children:Object(q.jsx)(Zo,{isVlcUsed:N,setIsVlcUsed:H})})]})}):Object(q.jsx)(se.a,{color:"secondary"})}),Object(q.jsxs)(mo,{children:[Object(q.jsx)(ie.a,{onClick:n,color:"secondary",variant:"outlined",children:r("Cancel")}),Object(q.jsx)(ie.a,{onClick:function(){m(Po.CacheSize),y(Po.ReaderReadAHead),T(Po.PreloadCache),Z(Po)},color:"secondary",variant:"outlined",children:r("SettingsDialog.ResetToDefault")}),Object(q.jsx)(ie.a,{variant:"contained",onClick:function(){n();var e=JSON.parse(JSON.stringify(d));e.CacheSize=1024*O*1024,e.ReaderReadAHead=v,e.PreloadCache=k,M.a.post(S(),{action:"set",sets:e}),localStorage.setItem("isVlcUsed",N)},color:"secondary",children:r("Save")})]})]})}function Ko(e){var t=e.isOffline,n=e.isLoading,r=Object(de.a)().t,i=Object(a.useState)(!1),o=Object(c.a)(i,2),l=o[0],s=o[1];return Object(q.jsxs)("div",{children:[Object(q.jsx)(ja,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:$?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(so.a,{}),Object(q.jsx)("div",{children:r("SettingsDialog.Settings")})]}):Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(so.a,{})}),Object(q.jsx)(Ai.a,{primary:r("SettingsDialog.Settings")})]})}),l&&Object(q.jsx)(_o,{handleClose:function(){return s(!1)}})]})}var Jo=n(203),Xo=n.n(Jo);function Yo(e){var t=e.isOffline,n=e.isLoading,r=Object(de.a)().t,i=Object(a.useState)(!1),o=Object(c.a)(i,2),l=o[0],s=o[1],d=function(){return s(!1)};return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsxs)(la.a,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(Xo.a,{})}),Object(q.jsx)(Ai.a,{primary:r("RemoveAll")})]},r("RemoveAll")),Object(q.jsxs)(Hn.a,{open:l,onClose:d,children:[Object(q.jsx)(Gn.a,{children:r("DeleteTorrents?")}),Object(q.jsxs)(In.a,{children:[Object(q.jsx)(ie.a,{variant:"outlined",onClick:d,color:"secondary",children:r("Cancel")}),Object(q.jsx)(ie.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 $o,Qo,qo,ec,tc,nc,ac,rc,ic,oc,cc,lc=n(132),sc=n.n(lc),dc=n(481),bc=Ze.d.div($o||($o=Object(We.a)(["\n height: 100%;\n display: grid;\n grid-template-rows: max-content 1fr max-content;\n"]))),jc=Ze.d.section(Qo||(Qo=Object(We.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: 22px;\n padding: 10px 20px;\n\n img {\n width: 60px;\n }\n }\n\n ","\n"])),sa(Object(Ze.c)(qo||(qo=Object(We.a)(["\n padding-top: 30px;\n "]))))),pc=Ze.d.section(ec||(ec=Object(We.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"]))),uc=Ze.d.section(tc||(tc=Object(We.a)(["\n padding: 20px;\n\n > span {\n font-size: 22px;\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"]))),hc=Ze.d.div(nc||(nc=Object(We.a)(["\n padding: 20px;\n display: flex;\n justify-content: flex-end;\n background: #e8e5eb;\n"]))),xc=Ze.d.a(ac||(ac=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isLink;return Object(Ze.c)(rc||(rc=Object(We.a)(["\n display: inline-flex;\n align-items: center;\n justify-content: start;\n border: 1px solid;\n padding: 7px 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(Ze.c)(ic||(ic=Object(We.a)(["\n :hover {\n filter: brightness(1.1);\n\n > * {\n transform: translateY(0px);\n }\n }\n "]))):Object(Ze.c)(oc||(oc=Object(We.a)(["\n cursor: default;\n "]))))})),gc=Ze.d.div(cc||(cc=Object(We.a)(["\n display: grid;\n margin-right: 10px;\n"])));function Oc(e){var t=e.name,n=e.link;return Object(q.jsxs)(xc,{isLink:!!n,href:n,target:"_blank",rel:"noreferrer",children:[n&&Object(q.jsx)(gc,{children:Object(q.jsx)(dc.a,{})}),Object(q.jsx)("div",{children:t})]})}function mc(){var e=Object(de.a)().t,t=Object(a.useState)(!1),n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(""),l=Object(c.a)(o,2),s=l[0],d=l[1],b=Object(Ee.a)("@media (max-width:930px)");Object(a.useEffect)((function(){M.a.get(D()).then((function(e){var t=e.data;return d(t)}))}),[]);var j=function(){return i(!1)},p=ha(j);return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(ja,{button:!0,onClick:function(){return i(!0)},children:$?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(sc.a,{}),Object(q.jsx)("div",{children:e("Details")})]}):Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(sc.a,{})}),Object(q.jsx)(Ai.a,{primary:e("About")})]})},"Settings"),Object(q.jsx)(pa,{open:r,onClose:j,"aria-labelledby":"form-dialog-title",fullScreen:b,maxWidth:"xl",ref:p,children:Object(q.jsxs)(bc,{children:[Object(q.jsxs)(jc,{children:[Object(q.jsx)("div",{children:e("About")}),s,Object(q.jsx)("img",{src:"/icon.png",alt:"ts-icon"})]}),Object(q.jsxs)("div",{style:{overflow:"auto"},children:[Object(q.jsx)(pc,{children:e("ThanksToEveryone")}),Object(q.jsxs)(uc,{children:[Object(q.jsx)("span",{children:e("Links")}),Object(q.jsxs)("div",{children:[Object(q.jsx)(Oc,{name:e("ProjectSource"),link:"https://github.com/YouROK/TorrServer"}),Object(q.jsx)(Oc,{name:e("Releases"),link:"https://github.com/YouROK/TorrServer/releases"})]})]}),Object(q.jsxs)(uc,{children:[Object(q.jsx)("span",{children:e("SpecialThanks")}),Object(q.jsxs)("div",{children:[Object(q.jsx)(Oc,{name:"Daniel Shleifman",link:"https://github.com/dancheskus"}),Object(q.jsx)(Oc,{name:"Matt Joiner",link:"https://github.com/anacrolix"}),Object(q.jsx)(Oc,{name:"nikk",link:"https://github.com/tsynik"}),Object(q.jsx)(Oc,{name:"kolsys",link:"https://github.com/kolsys"}),Object(q.jsx)(Oc,{name:"tw1cker",link:"https://github.com/Nemiroff"}),Object(q.jsx)(Oc,{name:"SpAwN_LMG",link:"https://github.com/spawnlmg"})]})]})]}),Object(q.jsx)(hc,{children:Object(q.jsx)(ie.a,{onClick:j,color:"primary",variant:"contained",children:e("Close")})})]})})]})}var fc=n(482);function Cc(e){var t=e.isOffline,n=e.isLoading,r=Object(de.a)().t,i=Object(a.useState)(!1),o=Object(c.a)(i,2),l=o[0],s=o[1],d=function(){return s(!1)},b=ha(d);return Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(ja,{disabled:t||n,button:!0,onClick:function(){return s(!0)},children:$?Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(fc.a,{}),Object(q.jsx)("div",{children:r("TurnOff")})]}):Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(fc.a,{})}),Object(q.jsx)(Ai.a,{primary:r("CloseServer")})]})},r("CloseServer")),Object(q.jsxs)(pa,{open:l,onClose:d,ref:b,children:[Object(q.jsx)(Gn.a,{children:r("CloseServer?")}),Object(q.jsxs)(In.a,{children:[Object(q.jsx)(ie.a,{variant:"outlined",onClick:d,color:"secondary",children:r("Cancel")}),Object(q.jsx)(ie.a,{variant:"contained",onClick:function(){fetch("".concat(C,"/shutdown")),d()},color:"secondary",autoFocus:!0,children:r("TurnOff")})]})]})]})}var vc,yc,Sc,wc,Dc,kc,Tc=function(e){var t=e.isDrawerOpen,n=e.setIsDonationDialogOpen,a=e.isOffline,r=e.isLoading,i=Object(de.a)().t;return Object(q.jsxs)(ji,{isDrawerOpen:t,children:[Object(q.jsxs)(Ei.a,{children:[Object(q.jsx)(zi,{isOffline:a,isLoading:r}),Object(q.jsx)(Yo,{isOffline:a,isLoading:r})]}),Object(q.jsx)(Ri.a,{}),Object(q.jsxs)(Ei.a,{children:[Object(q.jsx)(Ko,{isOffline:a,isLoading:r}),Object(q.jsx)(mc,{}),Object(q.jsxs)(la.a,{button:!0,onClick:function(){return n(!0)},children:[Object(q.jsx)(Bi.a,{children:Object(q.jsx)(Fi.a,{})}),Object(q.jsx)(Ai.a,{primary:i("Donate")})]}),Object(q.jsx)(Cc,{isOffline:a,isLoading:r})]})]})},Pc=Object(a.memo)(Tc);function Mc(e){var t=e.setIsDonationDialogOpen,n=e.isOffline,a=e.isLoading,r=Object(de.a)().t;return Object(q.jsxs)(ba,{children:[Object(q.jsx)(Cc,{isOffline:n,isLoading:a}),Object(q.jsxs)(ja,{onClick:function(){return t(!0)},children:[Object(q.jsx)(Fi.a,{}),Object(q.jsx)("div",{children:r("Donate")})]}),Object(q.jsx)(zi,{isOffline:n,isLoading:a}),Object(q.jsx)(mc,{}),Object(q.jsx)(Ko,{isOffline:n,isLoading:a})]})}function Lc(){return Object(q.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:23,x:"0px",y:"0px",viewBox:"0 0 1000 1000",enableBackground:"new 0 0 1000 1000",xmlSpace:"preserve",fill:"#005FF2",children:[Object(q.jsx)("metadata",{children:" Svg Vector Icons : http://www.onlinewebfonts.com/icon "}),Object(q.jsx)("g",{children:Object(q.jsx)("path",{d:"M780,290H640v35h140c19.3,0,35,15.7,35,35v560c0,19.3-15.7,35-35,35H220c-19.2,0-35-15.7-35-35V360c0-19.2,15.7-35,35-35h140v-35H220c-38.7,0-70,31.3-70,70v560c0,38.7,31.3,70,70,70h560c38.7,0,70-31.3,70-70V360C850,321.3,818.7,290,780,290z M372.5,180l110-110.2v552.7c0,9.6,7.9,17.5,17.5,17.5c9.6,0,17.5-7.9,17.5-17.5V69.8l110,110c3.5,3.5,7.9,5,12.5,5s9-1.7,12.5-5c6.8-6.8,6.8-17.9,0-24.7l-140-140c-6.8-6.8-17.9-6.8-24.7,0l-140,140c-6.8,6.8-6.8,17.9,0,24.7C354.5,186.8,365.5,186.8,372.5,180z"})})]})}var Rc=Ze.d.div(vc||(vc=Object(We.a)(["\n ","\n"])),(function(e){var t=e.isOpen;return Object(Ze.c)(yc||(yc=Object(We.a)(["\n position: absolute;\n bottom: 10px;\n left: 50%;\n background: #eeeef0;\n width: calc(100% - 20px);\n z-index: 9999;\n border-radius: 10px;\n transition: all 0.3s;\n color: #000;\n\n ","\n\n > :not(:last-child) {\n border-bottom: 1px solid #dadadc;\n }\n\n > * {\n padding: 20px;\n }\n "])),t?Object(Ze.c)(Sc||(Sc=Object(We.a)(["\n opacity: 1;\n transform: translate(-50%, 0);\n "]))):Object(Ze.c)(wc||(wc=Object(We.a)(["\n transform: translate(-50%, 150%);\n opacity: 0;\n pointer-events: none;\n "]))))})),Bc=Ze.d.div(Dc||(Dc=Object(We.a)(["\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: min-content 1fr;\n gap: 20px;\n align-items: center;\n font-weight: 700;\n\n img {\n border-radius: 5px;\n }\n"]))),Ac=Ze.d.div(kc||(kc=Object(We.a)(["\n > :not(:last-child) {\n margin-bottom: 25px;\n }\n\n span {\n background: #fefcfd;\n padding: 5px;\n border-radius: 5px;\n }\n"])));function Fc(){var e=JSON.parse(localStorage.getItem("pwaNotificationIsClosed")),t=Object(a.useState)(!e),n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.useState)(!e),l=Object(c.a)(o,2),s=l[0],d=l[1],b=Object(de.a)().t;return r?Object(q.jsxs)(Rc,{isOpen:s,children:[Object(q.jsxs)(Bc,{children:[Object(q.jsx)("img",{src:"/icon.png",width:50,alt:"ts-icon"}),b("PWAGuide.Header"),Object(q.jsx)(he.a,{size:"small","aria-label":"close",color:"inherit",onClick:function(){d(!1),setTimeout((function(){i(!1),localStorage.setItem("pwaNotificationIsClosed",!0)}),300)},children:Object(q.jsx)(ge.a,{fontSize:"small"})})]}),Object(q.jsxs)(Ac,{children:[Object(q.jsx)("p",{children:b("PWAGuide.Description")}),Object(q.jsx)("p",{children:b("PWAGuide.VLC")}),Object(q.jsxs)("p",{children:["1. ",b("PWAGuide.FirstStep")," ",Object(q.jsx)(Lc,{})]}),Object(q.jsxs)("p",{children:["2. ",b("PWAGuide.SecondStep.Select")," ",Object(q.jsx)("span",{children:b("PWAGuide.SecondStep.AddToHomeScreen")})]})]})]}):null}var Ec=JSON.parse(localStorage.getItem("snackbarIsClosed")),Nc=Object(a.createContext)();function Hc(){var e,t=Object(a.useState)(!1),n=Object(c.a)(t,2),r=n[0],i=n[1],g=Object(a.useState)(!1),O=Object(c.a)(g,2),m=O[0],f=O[1],C=Object(a.useState)(""),v=Object(c.a)(C,2),y=v[0],S=v[1],w=function(){var e=localStorage.getItem("themeMode"),t=Object(Ee.a)("(prefers-color-scheme: dark)"),n=Object(a.useState)("dark"===e||t),r=Object(c.a)(n,2),i=r[0],o=r[1],l=Object(a.useState)(e||Ge),s=Object(c.a)(l,2),d=s[0],b=s[1];Object(a.useEffect)((function(){d===Ge&&o(!1),d===Ie&&o(!0),d===Ue&&o(t)}),[t,d]);var j=i?Ie:Ge,p=Object(a.useMemo)((function(){return Object(Fe.a)({typography:Ve,palette:{type:j,primary:{main:ze[j].primary},secondary:{main:ze[j].secondary}},overrides:{MuiTypography:{h6:{fontSize:"1.0rem"}},MuiPaper:{root:{backgroundColor:He[j].app.paperColor}},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}}},MuiFormGroup:{root:{"& .MuiFormHelperText-root":{marginTop:-8}}}}})}),[j]);return[i,d,function(e){b(e),localStorage.setItem("themeMode",e)},p]}(),k=Object(c.a)(w,4),P=k[0],L=k[1],B=k[2],A=k[3],F=Wn(),E=Object(c.a)(F,2),N=E[0],H=E[1],z=Object(a.useState)(!1),G=Object(c.a)(z,2),I=G[0],U=G[1],V=Object(o.useQuery)("torrents",Y,{retry:1,refetchInterval:1e3,onError:function(){return U(!0)},onSuccess:function(){return U(!1)}}),W=V.data,Z=V.isLoading,_=Object(a.useState)(!1),K=Object(c.a)(_,2),J=K[0],X=K[1];return Object(a.useEffect)((function(){M.a.get(D()).then((function(e){var t=e.data;return S(t)}))}),[]),Object(q.jsxs)(q.Fragment,{children:[Object(q.jsx)(Li,{}),Object(q.jsx)(Nc.Provider,{value:{isDarkMode:P},children:Object(q.jsx)(Mi.a,{theme:A,children:Object(q.jsxs)(Ze.a,{theme:(e=P?Ie:Ge,Object(R.a)(Object(R.a)({},He[e]),ze[e])),children:[Object(q.jsx)(l.a,{}),Object(q.jsx)(T.a,{children:Object(q.jsxs)(si,{children:[Object(q.jsxs)(bi,{children:[Object(q.jsx)(hi,{edge:"start",color:"inherit",onClick:function(){return i(!r)},children:r?Object(q.jsx)(d.a,{}):Object(q.jsx)(b.a,{})}),Object(q.jsxs)(s.a,{variant:"h6",noWrap:!0,children:["TorrServer ",y]}),Object(q.jsxs)("div",{style:{justifySelf:"end",display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"10px"},children:[Object(q.jsx)(ui,{onClick:function(){return X(!0!==J)},children:!0===J?Object(q.jsx)(j.a,{}):Object(q.jsx)(p.a,{})}),Object(q.jsx)(ui,{onClick:function(){L===Ge&&B(Ie),L===Ie&&B(Ue),L===Ue&&B(Ge)},children:L===Ge?Object(q.jsx)(u.a,{}):L===Ie?Object(q.jsx)(h.a,{}):Object(q.jsx)(x.a,{})}),Object(q.jsx)(ui,{onClick:function(){return H("en"===N?"ru":"ru"===N?"ua":"en")},children:N.toUpperCase()})]})]}),Object(q.jsx)(Pc,{isOffline:I,isLoading:Z,isDrawerOpen:r,setIsDonationDialogOpen:f}),Object(q.jsx)(mi,{isOffline:I,torrents:W,isLoading:Z,sortABC:J}),Object(q.jsx)(Mc,{isOffline:I,isLoading:Z,setIsDonationDialogOpen:f}),m&&Object(q.jsx)(wi,{onClose:function(){return f(!1)}}),Ec?"undefined"!==typeof window&&"undefined"!==typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent||navigator.vendor)&&!$&&Object(q.jsx)(Fc,{}):Object(q.jsx)(ki,{})]})})]})})})]})}var zc=new o.QueryClient;i.a.render(Object(q.jsx)(a.StrictMode,{children:Object(q.jsx)(o.QueryClientProvider,{client:zc,children:Object(q.jsx)(Hc,{})})}),document.getElementById("root"))}},[[395,1,2]]]);
//# sourceMappingURL=main.56b36c2a.chunk.js.map