transmission/web/public_html/transmission-app.js

3 lines
221 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see transmission-app.js.LICENSE.txt */
(()=>{var e={592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Ee});var r=n(15),o=n.n(r),s=n(645),i=n.n(s),a=n(667),l=n.n(a),c=n(908),d=n(466),A=n(560),p=n(289),u=n(450),g=n(577),m=n(803),h=n(820),f=n(438),b=n(319),C=n(190),v=n(54),y=n(690),E=n(350),w=n(174),x=n(785),k=n(373),M=n(173),S=n(25),I=n(557),B=n(912),D=n(842),T=n(308),L=n(749),N=n(886),_=n(199),j=n(689),z=n(520),F=n(602),U=n(371),P=n(961),O=n(93),R=n(166),G=i()(o()),Y=l()(c.Z),Q=l()(d.Z),Z=l()(A.Z),W=l()(p.Z),H=l()(u.Z),J=l()(g.Z),q=l()(m.Z),V=l()(h.Z),K=l()(f.Z),X=l()(b.Z),$=l()(C.Z),ee=l()(v.Z),te=l()(y.Z),ne=l()(E.Z),re=l()(w.Z),oe=l()(x.Z),se=l()(k.Z),ie=l()(M.Z),ae=l()(S.Z),le=l()(I.Z),ce=l()(B.Z),de=l()(D.Z),Ae=l()(T.Z),pe=l()(L.Z),ue=l()(N.Z),ge=l()(_.Z),me=l()(j.Z),he=l()(z.Z),fe=l()(F.Z),be=l()(U.Z),Ce=l()(P.Z),ve=l()(O.Z),ye=l()(R.Z);G.push([e.id,":root{--color-bg-even: #fff;--color-bg-hover: #f6f8fa;--color-bg-menu: #e1e4e8;--color-bg-odd: #f6f8fa;--color-bg-selection-1: #e6dcfd;--color-bg-selection-2: #f5f0ff;--color-border: #959da5;--color-fg-disabled: #959da5;--color-fg-error: #d73a49;--color-fg-name: #2f363d;--color-fg-on-popup: #2f363d;--color-fg-port-closed: #d73a49;--color-fg-port-open: #28a745;--color-progressbar-background-1: #f6f8fa;--color-progressbar-background-2: #959da5;--color-progressbar-verify-1: #f692ce;--color-progressbar-verify-2: #b93a86;--color-progressbar-magnet-1: #ffea7f;--color-progressbar-magnet-2: #dbab09;--color-progressbar-magnet-paused-1: #fff5b1;--color-progressbar-magnet-paused-2: #6a737d;--color-progressbar-leech-paused-1: #c8e1ff;--color-progressbar-leech-paused-2: #6a737d;--color-progressbar-leech-queued-1: #dbedff;--color-progressbar-leech-queued-2: #79b8ff;--color-progressbar-leech-1: #79b8ff;--color-progressbar-leech-2: #044289;--color-progressbar-seed-paused-1: #bef5cb;--color-progressbar-seed-paused-2: #6a737d;--color-progressbar-seed-queued-1: #dcffe4;--color-progressbar-seed-queued-2: #85e89d;--color-progressbar-seed-1: #85e89d;--color-progressbar-seed-2: #176f2c;--color-tab-deselected-1: #f6f8fa;--color-tab-deselected-2: #959da5;--color-tab-selected-1: #e6dcfd;--color-tab-selected-2: #f5f0ff;--color-toolbar-background: linear-gradient(#d1d5da, #959da5)}@media(prefers-color-scheme: dark){:root{--color-fg-primary: #f6f8fa;--color-fg-secondary: #959da5;--color-fg-tertiary: #6a737d}}@media(prefers-color-scheme: light){:root{--color-fg-primary: #2f363d;--color-fg-secondary: #6a737d;--color-fg-tertiary: #959da5}}html,body{color:var(--color-fg-primary);font-family:Verdana,Arial,Helvetica,sans-serif;height:100%;margin:0;overflow:hidden}img{border:0}a{outline:0}.hidden{display:none}.even{background-color:var(--color-bg-even)}.odd{background-color:var(--color-bg-odd)}.mainwin{display:flex;flex-direction:column;height:100%;position:relative}.mainwin>*{margin:0;padding:0}.mainwin-workarea{display:flex;flex:1;flex-direction:row;overflow:auto}#mainwin-toolbar{align-items:center;background:var(--color-toolbar-background);border-bottom:1px solid var(--color-border);display:flex;flex-direction:row;height:36px;margin:0;padding:2px;width:100%}#mainwin-toolbar button{background-color:transparent;background-position:center;background-repeat:no-repeat;border:0;border-radius:10px;cursor:pointer;height:36px;margin-right:6px;user-select:none;width:36px}#mainwin-toolbar button:hover:not(:disabled){background-color:var(--color-bg-hover)}#mainwin-toolbar button:disabled{cursor:default;opacity:.25}#mainwin-toolbar>.toolbar-separator{border-left:1px solid var(--color-border);height:25px;margin:0 6px 0 0}#mainwin-toolbar :nth-last-child(2){border:0;flex-grow:1}#toolbar-open{background-image:url("+Y+")}#toolbar-remove{background-image:url("+Q+")}#toolbar-start{background-image:url("+Z+")}#toolbar-pause{background-image:url("+W+")}#toolbar-inspector{background-image:url("+H+")}#toolbar-overflow{background-color:transparent;background-image:url("+J+");background-position:center;background-size:26px;margin-right:4px;width:36px}#toolbar-overflow.alt-speed-enabled{background-image:url("+q+"),url("+J+");background-position:bottom left,center,center;background-size:16px 9px,26px,26px}.mainwin-filterbar{align-items:center;background:var(--color-toolbar-background);border-bottom:1px solid var(--color-border);display:flex;flex-direction:row;font-size:smaller;width:100%}@media(max-width: 599px){.mainwin-filterbar>:not(select):not(input){display:none}.mainwin-filterbar>input{min-width:50px}.mainwin-filterbar>input,.mainwin-filterbar>select{height:100%}}.mainwin-filterbar>*{padding:0 5px}#torrent-search.blur{color:var(--color-fg-tertiary)}.speed-up-icon{background-image:url("+V+");background-repeat:no-repeat;background-size:12px 12px;height:12px;width:12px}.speed-dn-icon{background-image:url("+K+");background-repeat:no-repeat;background-size:12px 12px;height:12px;width:12px}.flex{flex-grow:1}#torrent-container{flex-grow:1;left:0;margin:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:0;right:0}.torrent-container{background-color:#fff}.torrent-list{cursor:pointer;list-style-type:none;margin:0;padding:0;text-align:left;width:100%}.torrent-list .torrent{border-bottom:1px solid var(--color-border);color:var(--color-fg-secondary);user-select:none}.torrent-list .torrent.paused{color:var(--color-fg-disabled)}.torrent-list .torrent .icon{background-position:center,top left}.torrent-list .torrent .icon[data-icon-mime-type=audio]{background-image:url("+X+")}.torrent-list .torrent .icon[data-icon-mime-type=audio][data-icon-multifile=true]{background-image:url("+X+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=application]{background-image:url("+ee+")}.torrent-list .torrent .icon[data-icon-mime-type=application][data-icon-multifile=true]{background-image:url("+ee+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=font]{background-image:url("+te+")}.torrent-list .torrent .icon[data-icon-mime-type=font][data-icon-multifile=true]{background-image:url("+te+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=image]{background-image:url("+ne+")}.torrent-list .torrent .icon[data-icon-mime-type=image][data-icon-multifile=true]{background-image:url("+ne+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=model]{background-image:url("+re+")}.torrent-list .torrent .icon[data-icon-mime-type=model][data-icon-multifile=true]{background-image:url("+re+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=text]{background-image:url("+oe+")}.torrent-list .torrent .icon[data-icon-mime-type=text][data-icon-multifile=true]{background-image:url("+oe+"),url("+$+")}.torrent-list .torrent .icon[data-icon-mime-type=video]{background-image:url("+se+")}.torrent-list .torrent .icon[data-icon-mime-type=video][data-icon-multifile=true]{background-image:url("+se+"),url("+$+')}.torrent-list .torrent.compact{align-items:center;display:flex;flex-direction:row-reverse}.torrent-list .torrent.compact .icon{background-size:16px,8px;flex-shrink:0;height:16px;width:16px}.torrent-list .torrent.compact>*{margin:4px 5px}.torrent-list .torrent:not(.compact){align-items:center;display:grid;grid-column-gap:12px;grid-template-areas:"icon name labels" "icon peers peers" "icon progressbar progressbar" "icon progress-text progress-text";grid-template-columns:32px auto 1fr;padding:2px 12px}.torrent-list .torrent:not(.compact) .icon{background-size:32px,16px;grid-area:icon;height:32px;width:32px}.torrent-list .torrent:not(.compact) .torrent-name{grid-area:name}.torrent-list .torrent:not(.compact) .torrent-labels{grid-area:labels}.torrent-list .torrent:not(.compact) .torrent-peer-details{grid-area:peers}.torrent-list .torrent:not(.compact) .torrent-progress{display:flex;flex-direction:row;grid-area:progressbar}.torrent-list .torrent:not(.compact) .torrent-progress-details{grid-area:progress-text}.torrent-list .torrent:not(.compact)>*{margin:1px 0}.torrent-list .torrent.selected{background-color:var(--color-bg-selection-1)}.torrent-list .torrent.selected .torrent-progress-details.error,.torrent-list .torrent.selected .torrent-peer-details.error{color:#fff}.torrent-list .icon{background-position:center;background-repeat:no-repeat}.torrent-list .torrent-pauseresume-button{background-position:center center;background-repeat:no-repeat;background-size:14px;margin-left:7px;width:14px}.torrent-list .torrent-pauseresume-button[data-action=pause]{background-image:url('+ie+")}.torrent-list .torrent-pauseresume-button[data-action=pause]:active,.torrent-list .torrent-pauseresume-button[data-action=pause]:hover{background-image:url("+ae+")}.torrent-list .torrent-pauseresume-button[data-action=resume]{background-image:url("+le+")}.torrent-list .torrent-pauseresume-button[data-action=resume]:active,.torrent-list .torrent-pauseresume-button[data-action=resume]:hover{background-image:url("+ce+")}.torrent-list .torrent-progress-details.error,.torrent-list .torrent-peer-details.error{color:var(--color-fg-error)}.torrent-list .torrent-name{font-weight:bold;margin-bottom:2px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.torrent-list .torrent-name.compact{font-size:1em;font-weight:normal}.torrent-list .torrent-name:not(.paused){color:var(--color-fg-name)}.torrent-list .torrent-labels{font-size:x-small;font-weight:normal;margin-bottom:2px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.torrent-list .torrent-labels.compact{flex:1;font-size:x-small}.torrent-list .torrent-progress-details,.torrent-list .torrent-peer-details{font-size:x-small}.torrent-list .torrent-progress-bar{background-repeat:no-repeat;border-radius:3px;border-style:solid;border-width:1px;height:12px}.torrent-list .torrent-progress-bar.full{flex-grow:1;margin:2px 0}.torrent-list .torrent-progress-bar.compact{min-width:50px;width:50px}.torrent-list .torrent-progress-bar.leech.paused{background:linear-gradient(to bottom, var(--color-progressbar-leech-paused-1), var(--color-progressbar-leech-paused-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.leech.queued{background:linear-gradient(to bottom, var(--color-progressbar-leech-queued-1), var(--color-progressbar-leech-queued-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.leech{background:linear-gradient(to bottom, var(--color-progressbar-leech-1), var(--color-progressbar-leech-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.magnet.paused{background:linear-gradient(to bottom, var(--color-progressbar-magnet-paused-1), var(--color-progressbar-magnet-paused-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.magnet{background:linear-gradient(to bottom, var(--color-progressbar-magnet-1), var(--color-progressbar-magnet-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.seed.paused{background:linear-gradient(to bottom, var(--color-progressbar-seed-paused-1), var(--color-progressbar-seed-paused-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.seed.queued{background:linear-gradient(to bottom, var(--color-progressbar-seed-queued-1), var(--color-progressbar-seed-queued-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.seed{background:linear-gradient(to bottom, var(--color-progressbar-seed-1), var(--color-progressbar-seed-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}.torrent-list .torrent-progress-bar.verify{background:linear-gradient(to bottom, var(--color-progressbar-verify-1), var(--color-progressbar-verify-2) 80%),linear-gradient(to bottom, var(--color-progressbar-background-1), var(--color-progressbar-background-2) 80%);background-repeat:no-repeat}#inspector-tab-info{background-image:url("+de+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#inspector-tab-info:active,#inspector-tab-info:checked,#inspector-tab-info.selected{background-image:url("+de+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#inspector-tab-peers{background-image:url("+Ae+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#inspector-tab-peers:active,#inspector-tab-peers:checked,#inspector-tab-peers.selected{background-image:url("+Ae+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#inspector-tab-tiers{background-image:url("+pe+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#inspector-tab-tiers:active,#inspector-tab-tiers:checked,#inspector-tab-tiers.selected{background-image:url("+pe+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#inspector-tab-files{background-image:url("+ue+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#inspector-tab-files:active,#inspector-tab-files:checked,#inspector-tab-files.selected{background-image:url("+ue+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}@media(max-width: 599px){#inspector,#prefs-dialog{left:0}}@media(min-width: 600px){#inspector,#prefs-dialog{border-left:1px solid var(--color-fg-secondary);width:570px}}#prefs-dialog{background:#fff;bottom:0;box-shadow:0 3px 6px rgba(0,0,0,.7);position:absolute;right:0;top:61px;z-index:2}#prefs-dialog .tabs-page{grid-column-gap:8px;grid-row-gap:5px;grid-template-columns:1fr 1fr;margin:20px}#prefs-dialog .tabs-page:not(.hidden){display:grid}#prefs-dialog .tabs-page .section-label{font-weight:bold;grid-column:span 2;margin-left:-20px;padding-bottom:5px}#prefs-dialog .tabs-page .section-label:not(:first-of-type){margin-top:20px}#prefs-dialog .alt-speed-section-label{background:transparent url("+q+") no-repeat;background-position:left 4px;padding-left:22px}#prefs-dialog :disabled,#prefs-dialog .disabled{color:var(--color-fg-disabled)}#prefs-dialog #alt-times-div,#prefs-dialog #autostart-div,#prefs-dialog #port-forwarding,#prefs-dialog #randomize-port,#prefs-dialog #suffix-div,#prefs-dialog #use-dht-div,#prefs-dialog #use-lpd-div,#prefs-dialog #use-pex-div,#prefs-dialog #utp-enabled,#prefs-dialog .alt-speed-label{grid-column:span 2}#prefs-dialog #default-trackers{height:300px}#prefs-dialog .blocklist-size-label,#prefs-dialog .blocklist-update-button,#prefs-dialog .port-status{grid-column:2/3}#prefs-dialog .blocklist-size-label{font-size:smaller}#prefs-dialog .blocklist-size-number{font-weight:bolder}#prefs-dialog .port-status-label{display:inline-block;font-weight:bold;margin-left:5px}#prefs-dialog .port-status-label[data-open=true]{color:var(--color-fg-port-open)}#prefs-dialog .port-status-label[data-open=false]{color:var(--color-fg-port-closed)}#prefs-dialog #default-trackers,#prefs-dialog .default-trackers-label{grid-column:1/3}#prefs-dialog .alt-speed-label{font-size:smaller;font-style:lighter;margin:-10px 0 10px -20px}#prefs-dialog.ui-tabs .ui-tabs-panel{padding:0;user-select:none}.prefs-section{text-align:left}.prefs-section>*{padding:0 8px 8px}.prefs-section .title{font-size:larger;font-weight:bold;padding-left:0}.prefs-section .row .key{float:left;padding-top:3px}.prefs-section .row .key>*{margin-left:0}.prefs-section .row .value{margin-left:150px}.prefs-section .row .value>*{width:100%}.prefs-section .checkbox-row>input{margin:0}.prefs-section .checkbox-row>label{margin-left:5px}.prefs-section #alternative-speed-limits-title{background:transparent url("+q+") no-repeat;padding-left:18px}.prefs-section #alternative-speed-limits-desc{font-size:smaller;padding-bottom:4px}.tabs-container{align-items:stretch;background:#fff;border-left:solid 1px var(--color-border);bottom:0;display:flex;flex-direction:column;position:absolute;right:0;top:61px;z-index:2}@media(max-width: 599px){.tabs-container{left:0}}@media(min-width: 600px){.tabs-container{width:550px}}.tabs-buttons{align-self:center;display:flex;padding:10px}.tabs-buttons button{border:1px solid var(--color-border);cursor:pointer;display:inline-block;padding:3px;user-select:none;appearance:none;padding:3px}.file-priority-radiobox :first-child,.tabs-buttons :first-child{border-bottom-left-radius:8px;border-top-left-radius:8px}.file-priority-radiobox :last-child,.tabs-buttons :last-child{border-bottom-right-radius:8px;border-top-right-radius:8px}.tabs-pages{box-sizing:border-box;flex:1;overflow-x:hidden;overflow-y:auto}@media(max-width: 599px){.tabs-pages{padding:0 8px 20px}}@media(min-width: 600px){.tabs-pages{padding:0 20px 20px}}.tabs-button{background-position:center;background-repeat:no-repeat}#inspector{box-shadow:0 3px 6px rgba(0,0,0,.7)}.inspector-info-page{grid-column-gap:8px;grid-row-gap:5px;grid-template-columns:auto 1fr;margin:20px;padding:12px}.inspector-info-page:not(.hidden){display:grid}.inspector-info-page .section-label{font-weight:bold;grid-column:span 2;margin-left:-20px;padding-bottom:5px}.inspector-info-page .section-label:not(:first-of-type){margin-top:20px}.inspector-info-page :not(.section-label){overflow-x:hidden;text-overflow:ellipsis}.inspector-info-magnet button{background-color:transparent;background-image:url("+ge+");background-position:top;background-repeat:no-repeat;border:0;cursor:pointer;height:1rem;vertical-align:middle;width:1rem}#inspector .tabs-button,#prefs-dialog .tabs-button{background-size:20px 20px,40px 30px;height:30px;margin:0;padding:0;width:40px}#prefs-tab-torrent{background-image:url("+me+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#prefs-tab-torrent:active,#prefs-tab-torrent:checked,#prefs-tab-torrent.selected{background-image:url("+me+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#prefs-tab-speed{background-image:url("+he+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#prefs-tab-speed:active,#prefs-tab-speed:checked,#prefs-tab-speed.selected{background-image:url("+he+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#prefs-tab-peers{background-image:url("+Ae+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#prefs-tab-peers:active,#prefs-tab-peers:checked,#prefs-tab-peers.selected{background-image:url("+Ae+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#prefs-tab-network{background-image:url("+fe+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}#prefs-tab-network:active,#prefs-tab-network:checked,#prefs-tab-network.selected{background-image:url("+fe+'),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}#inspector-file-list{margin:0;padding:0}#inspector-file-list .inspector-torrent-file-list-entry{display:grid;grid-column-gap:5px;grid-template-areas:"check name priority" "blank1 info blank2";grid-template-columns:20px 1fr 65px;margin-bottom:4px;padding:5px}#inspector-file-list .inspector-torrent-file-list-entry.skip{opacity:.5}#inspector-file-list .file-wanted-control{grid-area:check}#inspector-file-list .inspector-torrent-file-list-entry-name{color:var(--color-fg-name);cursor:pointer;grid-area:name;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#inspector-file-list .inspector-torrent-file-list-entry.skip>.inspector-torrent-file-list-entry-name{color:var(--color-fg-disabled)}#inspector-file-list .inspector-torrent-file-list-entry-progress{color:var(--color-fg-secondary);grid-area:info}#inspector-file-list .single-file .inspector-torrent-file-list-entry>.file-wanted-control,#inspector-file-list .inspector-torrent-file-list-entry.complete>.file-wanted-control{cursor:default}#inspector-header{margin:8px 0}#torrent-inspector-name{font-size:large;font-weight:bold}#inspector-tiers-list{color:var(--color-fg-secondary);margin:0 10px;padding:0 12px}#inspector-tiers-list .tier-list-row{display:grid;grid-column-gap:8px;grid-row-gap:4px;margin-top:8px}#inspector-tiers-list .tier-list-torrent{color:var(--color-fg-primary);font-size:larger;font-weight:bolder;margin-left:-12px;overflow-x:hidden;padding-top:20px;text-overflow:ellipsis;white-space:nowrap}#inspector-tiers-list .tier-list-tracker{font-weight:bolder;grid-column:span 2;margin-top:8px;padding-bottom:4px}#inspector-tiers-list .tier-announce,#inspector-tiers-list .tier-scrape,#inspector-tiers-list .tier-state{text-align:left}#inspector-tiers-list .tier-downloads,#inspector-tiers-list .tier-leechers,#inspector-tiers-list .tier-seeders{text-align:right}.peer-list{border:1px solid #f6f8fa;border-collapse:collapse;cursor:default;table-layout:fixed;text-align:left;width:100%}.peer-list td,.peer-list th{font-size:smaller;padding:5px}.peer-list td{border:1px solid #f6f8fa;color:var(--color-fg-secondary)}.peer-list .torrent-row td{background:#f6f8fa;color:var(--color-fg-primary);font-size:normal;font-weight:bolder;overflow-x:hidden;padding:10px;text-overflow:ellipsis;white-space:nowrap}.peer-list .encryption{width:16px}.peer-list .encryption[data-encrypted=true]{background:transparent url('+be+") center center no-repeat;height:16px;width:16px}.peer-list .peer-address,.peer-list .percent-done,.peer-list .speed-down,.peer-list .speed-up{text-align:right}.peer-list .percent-done{width:10%}.peer-list .speed-down,.peer-list .speed-up{width:15%}.peer-list .peer-address{width:25%}.peer-list .peer-app-name{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width: 599px){.peer-list .peer-app-name{display:none}}@media(min-width: 600px){.peer-list .peer-app-name{width:25%}}.peer-list .status{cursor:pointer}.file-priority-radiobox{grid-area:priority}.file-priority-radiobox>*{border:1px solid var(--color-border);cursor:pointer;display:inline-block;padding:3px;user-select:none;appearance:none;background-position:center;background-repeat:no-repeat;background-size:10px,20px;height:20px;margin:0;padding:0;width:20px}.file-priority-radiobox>.low{background-image:url("+K+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2));border-right-width:0}.file-priority-radiobox>.low:active,.file-priority-radiobox>.low:checked,.file-priority-radiobox>.low.selected{background-image:url("+K+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}.file-priority-radiobox>.normal{background-image:url("+Ce+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2))}.file-priority-radiobox>.normal:active,.file-priority-radiobox>.normal:checked,.file-priority-radiobox>.normal.selected{background-image:url("+Ce+"),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}.file-priority-radiobox>.high{background-image:url("+V+"),linear-gradient(var(--color-tab-deselected-1), var(--color-tab-deselected-2));border-left-width:0}.file-priority-radiobox>.high:active,.file-priority-radiobox>.high:checked,.file-priority-radiobox>.high.selected{background-image:url("+V+'),linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2))}.context-menu{background:var(--color-bg-menu);box-shadow:0 3px 6px rgba(0,0,0,.7);color:var(--color-fg-on-popup);position:absolute;z-index:2}.context-menu .context-menuitem{list-style:none;padding:5px 10px}.context-menu .context-menuitem:hover:not(:disabled),.context-menu .context-menuitem:focus:not(:disabled){background-image:linear-gradient(#fff, var(--color-bg-menu));cursor:pointer}.context-menu .context-menuitem:disabled{color:var(--color-fg-disabled);cursor:none}.context-menu-separator{border-bottom:1px solid var(--color-fg-secondary);margin-bottom:10px;padding-bottom:10px}.overflow-menu{background:linear-gradient(160deg, #d21, 1%, var(--color-bg-hover), 40%, var(--color-bg-menu));border-radius:8px;box-shadow:0 3px 6px rgba(0,0,0,.7);color:var(--color-fg-on-popup);padding:20px;position:fixed;width:200px;z-index:2}.overflow-menu fieldset{border:0;margin-bottom:8px;padding:0}.overflow-menu>.actions,.overflow-menu>.info,.overflow-menu>.links{display:flex;flex-direction:column}.overflow-menu legend{font-weight:bolder;margin-bottom:4px}.overflow-menu legend~*{margin-left:12px}.overflow-menu a,.overflow-menu button,.overflow-menu label{font-size:1em}.overflow-menu a:disabled,.overflow-menu button:disabled,.overflow-menu label:disabled{color:var(--color-fg-disabled);cursor:default}.overflow-menu a:focus:not(:disabled),.overflow-menu a:hover:not(:disabled),.overflow-menu button:focus:not(:disabled),.overflow-menu button:hover:not(:disabled),.overflow-menu label:focus:not(:disabled),.overflow-menu label:hover:not(:disabled){background-color:var(--color-bg-hover)}.overflow-menu a,.overflow-menu button{background:transparent;border:0;cursor:pointer;display:block;padding:4px 0;text-align:left;text-decoration:none;width:150px}.overflow-menu .input-and-label{align-items:center;display:inline-flex;flex-direction:row}.overflow-menu #display-options>*{align-items:center;display:inline-flex;flex-direction:row}.overflow-menu #display-options>*>*{margin:4px}.overflow-menu #display-options>* :first-child{margin-left:0}.overflow-menu #display-options>* :last-child{margin-right:0}.overflow-menu #speed-options{display:flex;flex-direction:column}.overflow-menu #speed-options>.speed-up,.overflow-menu #speed-options>.speed-down{align-items:center;display:flex;flex-direction:row;padding:4px 0}.overflow-menu #speed-options>.speed-up>label,.overflow-menu #speed-options>.speed-down>label{overflow:hidden;width:80px}.overflow-menu #speed-options .alt-speed{display:grid;grid-column-gap:5px;grid-row-gap:5px;grid-template-areas:"check lb" "turtle values";grid-template-columns:20px 1fr;margin-bottom:4px}.overflow-menu #speed-options #alt-speed-check{grid-area:check}.overflow-menu #speed-options #alt-speed-check:checked~#alt-speed-image{background-image:url('+q+")}.overflow-menu #speed-options #alt-speed-check:not(:checked)~#alt-speed-image{background-image:url("+ve+')}.overflow-menu #speed-options #alt-speed-image{background-position:center;background-repeat:no-repeat;grid-area:turtle}.overflow-menu #speed-options #alt-speed-label{grid-area:lb}.overflow-menu #speed-options #alt-speed-values-label{font-size:small;grid-area:values}@media(min-width: 600px){#display-fullscreen-check,#display-fullscreen-label{display:none}}@media(max-width: 599px){.dialog-buttons{padding-top:13.3333333333px}.dialog-container{opacity:96%;position:absolute;top:61px;width:100%}.dialog-logo{padding-bottom:13.3333333333px}.dialog-window{align-items:center;display:flex;flex-direction:column}}@media(min-width: 600px){.dialog-container{left:50%;min-width:400px;position:absolute;top:122px;transform:translateX(-50%)}.dialog-heading{grid-area:heading}.dialog-logo{grid-area:icon;padding-right:13.3333333333px}.dialog-window{color:var(--color-fg-on-popup);display:grid;grid-column-gap:12px;grid-template-areas:"icon heading" "icon message" "icon workarea" "icon buttons";grid-template-columns:64px 1fr;padding:2px 12px}}.dialog-buttons{display:flex;float:right;grid-area:buttons;margin:10px 0 0;text-align:center}.dialog-buttons button{appearance:none;background:transparent;border:1px solid var(--color-border);border-radius:5px;color:var(--color-fg-name);margin-left:8px;padding:8px;text-decoration:none}.dialog-buttons a:hover,.dialog-buttons a:active{background:linear-gradient(#fff, var(--color-bg-menu))}.dialog-buttons-begin{flex-grow:1}.dialog-buttons-end{display:none}.dialog-container{border:0;box-shadow:0 3px 6px rgba(0,0,0,.7);color:var(--color-fg-primary);display:block;margin:0;padding:0;z-index:2}.dialog-heading{align-items:center;display:flex;font-size:1.2em;font-weight:bold}.dialog-logo{background:transparent url('+ye+") top left no-repeat;height:64px;width:64px}.dialog-message{grid-area:message;margin:10px 0 0}.dialog-window{background:linear-gradient(160deg, #d21, 1%, #f7f7f7, 40%, #ccc);height:100%;padding:20px}.dialog-workarea{display:flex;flex-direction:column;grid-area:workarea;margin:10px 0 0}.dialog-workarea>*{margin-bottom:5px}.about-dialog .dialog-workarea>*{margin-bottom:10px}.about-dialog-version-number{margin-left:4px}.about-dialog-version-checksum{font-size:small;font-style:italic;font-weight:normal;margin-left:auto;padding-left:10px}.shortcuts-dialog table{border-collapse:collapse;width:100%}.shortcuts-dialog th,.shortcuts-dialog td{border:1px solid var(--color-border);padding:5px 10px}#torrent-rename-name{min-width:400px}#move-container #torrent-path{min-width:400px}.tabs-pages .content,.inspector-info-page .content,.statistics-dialog .content{column-gap:16px;display:grid;grid-row-gap:6px;grid-template-columns:auto 1fr;margin-top:4px}@media(max-width: 599px){.tabs-pages .content,.inspector-info-page .content,.statistics-dialog .content{margin:4px 0 16px}}@media(min-width: 600px){.tabs-pages .content,.inspector-info-page .content,.statistics-dialog .content{margin:4px 16px 16px}}.tabs-pages .content div,.inspector-info-page .content div,.statistics-dialog .content div{word-break:break-word}.tabs-pages fieldset,.inspector-info-page fieldset,.statistics-dialog fieldset{border:0;margin:0;padding:0}.tabs-pages legend,.inspector-info-page legend,.statistics-dialog legend{font-weight:bolder;margin-bottom:4px}#free-space-text{display:inline-block;float:right;font-size:smaller;font-style:italic}#torrent-upload-frame{border:0;display:block;height:0;left:-1000px;margin:0;padding:0;position:absolute;top:-1000px;width:0}.ui-menu{width:200px}","",{version:3,sources:["webpack://./style/transmission-app.scss"],names:[],mappings:"AA8FA,MACE,qBAAA,CACA,yBAAA,CACA,wBAAA,CACA,uBAAA,CACA,+BAAA,CACA,+BAAA,CACA,uBAAA,CACA,4BAAA,CACA,yBAAA,CACA,wBAAA,CACA,4BAAA,CACA,+BAAA,CACA,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A,YAAA,CACA,QAAA,CACA,SAAA,CACA,iBAAA,CACA,WAAA,CACA,OAAA,CAGF,SACE,WAAA",sourcesContent:["@use 'sass:color';\n@use 'sass:math';\n\n// Color palette recycled from GitHub Primer.\n// Please use those values if you need to add colors.\n// https://primer.style/css/support/color-system\n$blue-100: #dbedff;\n$blue-200: #c8e1ff;\n$blue-300: #79b8ff;\n$blue-700: #044289;\n$green-100: #dcffe4;\n$green-200: #bef5cb;\n$green-300: #85e89d;\n$green-500: #28a745;\n$green-700: #176f2c;\n$grey-100: #f6f8fa;\n$grey-200: #e1e4e8;\n$grey-300: #d1d5da;\n$grey-400: #959da5;\n$grey-500: #6a737d;\n$grey-800: #2f363d;\n$pink-300: #f692ce;\n$pink-700: #b93a86;\n$purple-000: #f5f0ff;\n$purple-100: #e6dcfd;\n$red-500: #d73a49;\n$white: #fff;\n$yellow-200: #fff5b1;\n$yellow-300: #ffea7f;\n$yellow-700: #dbab09;\n\n// Z-INDEX ENUM\n// $z-index-progressbar: 1;\n$z-index-popup: 2;\n\n// SVG ICONS -- see images/README.md for sources and license details\n// Are you a designer? New icon PRs welcomed!\n$image-analytics: 'images/analytics.svg';\n$image-baseline: 'images/horizontal-rule.svg';\n$image-files: 'images/files.svg';\n$image-chevron-dn: 'images/chevron-down.svg';\n$image-chevron-up: 'images/chevron-up.svg';\n$image-lock-fill: 'images/lock-fill.svg';\n$image-network: 'images/router.svg';\n$image-magnet: 'images/magnet.svg';\n$image-overflow: 'images/three-dots-vertical.svg';\n$image-pause-circle-active: 'images/pause-circle-active.svg';\n$image-pause-circle-idle: 'images/pause-circle-idle.svg';\n$image-peers: 'images/team.svg';\n$image-play-circle-active: 'images/play-circle-active.svg';\n$image-play-circle-idle: 'images/play-circle-idle.svg';\n$image-speed: 'images/checkered-flag.svg';\n$image-tiers: 'images/diagram-3-fill.svg';\n$image-upload-download: 'images/up-and-down-arrows.svg';\n\n@mixin for-phone-only {\n @media (max-width: 599px) {\n @content;\n }\n}\n@mixin for-tablet-portrait-up {\n @media (min-width: 600px) {\n @content;\n }\n}\n// @mixin for-tablet-landscape-up {media (min-width: 900px) { @content; }}\n// @mixin for-desktop-up {@media (min-width: 1200px) { @content; }}\n// @mixin for-big-desktop-up {@media (min-width: 1800px) { @content; }}\n\n/// MIXINS\n\n@mixin image-on-vertical-gradient($src, $topColor, $bottomColor) {\n background-image: url($src), linear-gradient($topColor, $bottomColor);\n}\n\n@mixin button {\n border: 1px solid var(--color-border);\n cursor: pointer;\n display: inline-block;\n padding: 3px;\n user-select: none;\n}\n\n@mixin rounded-box($radius) {\n border-radius: $radius;\n}\n\n@mixin rounded-button($radius) {\n @include button;\n border-radius: $radius;\n}\n\n/// GLOBAL\n\n:root {\n --color-bg-even: #{$white};\n --color-bg-hover: #{$grey-100};\n --color-bg-menu: #{$grey-200};\n --color-bg-odd: #{$grey-100};\n --color-bg-selection-1: #{$purple-100};\n --color-bg-selection-2: #{$purple-000};\n --color-border: #{$grey-400};\n --color-fg-disabled: #{$grey-400};\n --color-fg-error: #{$red-500};\n --color-fg-name: #{$grey-800};\n --color-fg-on-popup: #{$grey-800};\n --color-fg-port-closed: #{$red-500};\n --color-fg-port-open: #{$green-500};\n @media (prefers-color-scheme: dark) {\n --color-fg-primary: #{$grey-100};\n --color-fg-secondary: #{$grey-400};\n --color-fg-tertiary: #{$grey-500};\n }\n @media (prefers-color-scheme: light) {\n --color-fg-primary: #{$grey-800};\n --color-fg-secondary: #{$grey-500};\n --color-fg-tertiary: #{$grey-400};\n }\n --color-progressbar-background-1: #{$grey-100};\n --color-progressbar-background-2: #{$grey-400};\n --color-progressbar-verify-1: #{$pink-300};\n --color-progressbar-verify-2: #{$pink-700};\n --color-progressbar-magnet-1: #{$yellow-300};\n --color-progressbar-magnet-2: #{$yellow-700};\n --color-progressbar-magnet-paused-1: #{$yellow-200};\n --color-progressbar-magnet-paused-2: #{$grey-500};\n --color-progressbar-leech-paused-1: #{$blue-200};\n --color-progressbar-leech-paused-2: #{$grey-500};\n --color-progressbar-leech-queued-1: #{$blue-100};\n --color-progressbar-leech-queued-2: #{$blue-300};\n --color-progressbar-leech-1: #{$blue-300};\n --color-progressbar-leech-2: #{$blue-700};\n --color-progressbar-seed-paused-1: #{$green-200};\n --color-progressbar-seed-paused-2: #{$grey-500};\n --color-progressbar-seed-queued-1: #{$green-100};\n --color-progressbar-seed-queued-2: #{$green-300};\n --color-progressbar-seed-1: #{$green-300};\n --color-progressbar-seed-2: #{$green-700};\n --color-tab-deselected-1: #{$grey-100};\n --color-tab-deselected-2: #{$grey-400};\n --color-tab-selected-1: #{$purple-100};\n --color-tab-selected-2: #{$purple-000};\n --color-toolbar-background: linear-gradient(#{$grey-300}, #{$grey-400});\n}\n\nhtml,\nbody {\n color: var(--color-fg-primary);\n font-family: Verdana, Arial, Helvetica, sans-serif;\n height: 100%;\n margin: 0;\n overflow: hidden;\n}\n\nimg {\n border: 0;\n}\n\na {\n outline: 0;\n}\n\n.hidden {\n display: none;\n}\n\n.even {\n background-color: var(--color-bg-even);\n}\n.odd {\n background-color: var(--color-bg-odd);\n}\n\n.mainwin {\n display: flex;\n flex-direction: column;\n height: 100%;\n position: relative;\n\n > * {\n margin: 0;\n padding: 0;\n }\n}\n\n.mainwin-workarea {\n display: flex;\n flex: 1;\n flex-direction: row;\n overflow: auto;\n}\n\n/// TOOLBAR\n\n$toolbar-height-number: 36;\n$toolbar-height: $toolbar-height-number * 1px;\n\n#mainwin-toolbar {\n align-items: center;\n background: var(--color-toolbar-background);\n border-bottom: 1px solid var(--color-border);\n display: flex;\n flex-direction: row;\n height: $toolbar-height;\n margin: 0;\n padding: 2px;\n width: 100%;\n\n button {\n background-color: transparent;\n background-position: center;\n background-repeat: no-repeat;\n border: 0;\n border-radius: 10px;\n cursor: pointer;\n height: $toolbar-height;\n margin-right: 6px;\n user-select: none;\n width: $toolbar-height;\n\n &:hover:not(:disabled) {\n background-color: var(--color-bg-hover);\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.25;\n }\n }\n\n > .toolbar-separator {\n border-left: 1px solid var(--color-border);\n height: 25px;\n margin: 0 6px 0 0;\n }\n\n :nth-last-child(2) {\n border: 0;\n flex-grow: 1;\n }\n}\n\n#toolbar-open {\n background-image: url('images/toolbar-folder.png');\n}\n\n#toolbar-remove {\n background-image: url('images/toolbar-close.png');\n}\n\n#toolbar-start {\n background-image: url('images/toolbar-start.png');\n}\n\n#toolbar-pause {\n background-image: url('images/toolbar-pause.png');\n}\n\n#toolbar-inspector {\n background-image: url('images/toolbar-info.png');\n}\n\n#toolbar-overflow {\n background-color: transparent;\n background-image: url($image-overflow);\n background-position: center;\n background-size: 26px;\n margin-right: 4px;\n width: 36px;\n\n &.alt-speed-enabled {\n background-image: url('images/blue-turtle.png'), url($image-overflow);\n background-position: bottom left, center, center;\n background-size: 16px 9px, 26px, 26px;\n }\n}\n\n/// FILTERBAR\n\n// $filterbar-height-number: 30;\n// $filterbar-height: $filterbar-height-number * 1px;\n\n.mainwin-filterbar {\n align-items: center;\n background: var(--color-toolbar-background);\n border-bottom: 1px solid var(--color-border);\n display: flex;\n flex-direction: row;\n font-size: smaller;\n // height: $filterbar-height;\n width: 100%;\n\n @include for-phone-only {\n > :not(select):not(input) {\n display: none;\n }\n > input {\n min-width: 50px;\n }\n > input,\n > select {\n height: 100%;\n }\n }\n\n > * {\n padding: 0 5px;\n }\n}\n\n#torrent-search {\n &.blur {\n color: var(--color-fg-tertiary);\n }\n}\n\n$speed-icon-size: 12px;\n\n.speed-up-icon {\n background-image: url($image-chevron-up);\n background-repeat: no-repeat;\n background-size: $speed-icon-size $speed-icon-size;\n height: $speed-icon-size;\n width: $speed-icon-size;\n}\n\n.speed-dn-icon {\n background-image: url($image-chevron-dn);\n background-repeat: no-repeat;\n background-size: $speed-icon-size $speed-icon-size;\n height: $speed-icon-size;\n width: $speed-icon-size;\n}\n\n/// TORRENT CONTAINER\n\n$pauseresume-size-number: 14;\n$pauseresume-size: $pauseresume-size-number * 1px;\n$progressbar-border-number: 1;\n$progressbar-height-number: 14;\n$popup-top: 61px; // TODO: ugly that this is hardcoded\n\n.flex {\n flex-grow: 1;\n}\n\n#torrent-container {\n flex-grow: 1;\n left: 0;\n margin: 0;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n padding: 0;\n right: 0;\n}\n\n.torrent-container {\n background-color: $white;\n}\n\n.torrent-list {\n $app-image: 'images/application-x-executable.png';\n $audio-image: 'images/audio-x-generic.png';\n $folder-image: 'images/folder.png';\n $font-image: 'images/font-x-generic.png';\n $image-image: 'images/image-x-generic.png';\n $package-image: 'images/package-x-generic.png';\n $text-image: 'images/folder.png';\n $text-image: 'images/text-x-generic.png';\n $video-image: 'images/video-x-generic.png';\n\n cursor: pointer;\n list-style-type: none;\n margin: 0;\n padding: 0;\n text-align: left;\n width: 100%;\n\n .torrent {\n border-bottom: 1px solid var(--color-border);\n color: var(--color-fg-secondary);\n user-select: none;\n\n &.paused {\n color: var(--color-fg-disabled);\n }\n\n .icon {\n background-position: center, top left;\n\n @mixin mime-icon-compact($mime-icon) {\n background-image: url($mime-icon);\n\n &[data-icon-multifile='true'] {\n background-image: url($mime-icon), url($folder-image);\n }\n }\n\n &[data-icon-mime-type='audio'] {\n @include mime-icon-compact($audio-image);\n }\n\n &[data-icon-mime-type='application'] {\n @include mime-icon-compact($app-image);\n }\n\n &[data-icon-mime-type='font'] {\n @include mime-icon-compact($font-image);\n }\n\n &[data-icon-mime-type='image'] {\n @include mime-icon-compact($image-image);\n }\n\n &[data-icon-mime-type='model'] {\n @include mime-icon-compact($package-image);\n }\n\n &[data-icon-mime-type='text'] {\n @include mime-icon-compact($text-image);\n }\n\n &[data-icon-mime-type='video'] {\n @include mime-icon-compact($video-image);\n }\n }\n\n &.compact {\n $icon-size-num: 16;\n $icon-size: $icon-size-num * 1px;\n\n align-items: center;\n display: flex;\n flex-direction: row-reverse;\n\n .icon {\n background-size: $icon-size, $icon-size-num * 0.5px;\n flex-shrink: 0;\n height: $icon-size;\n width: $icon-size;\n }\n\n > * {\n margin: 4px 5px;\n }\n }\n\n &:not(.compact) {\n $icon-size-num: 32;\n $icon-size: $icon-size-num * 1px;\n align-items: center;\n display: grid;\n grid-column-gap: 12px;\n grid-template-areas:\n 'icon name labels'\n 'icon peers peers'\n 'icon progressbar progressbar'\n 'icon progress-text progress-text';\n grid-template-columns: $icon-size auto 1fr;\n padding: 2px 12px;\n\n .icon {\n background-size: $icon-size, $icon-size-num * 0.5px;\n grid-area: icon;\n height: $icon-size;\n width: $icon-size;\n }\n\n .torrent-name {\n grid-area: name;\n }\n\n .torrent-labels {\n grid-area: labels;\n }\n\n .torrent-peer-details {\n grid-area: peers;\n }\n\n .torrent-progress {\n display: flex;\n flex-direction: row;\n grid-area: progressbar;\n }\n\n .torrent-progress-details {\n grid-area: progress-text;\n }\n\n > * {\n margin: 1px 0;\n }\n }\n\n &.selected {\n background-color: var(--color-bg-selection-1);\n }\n\n &.selected .torrent-progress-details.error,\n &.selected .torrent-peer-details.error {\n color: $white;\n }\n }\n\n .icon {\n background-position: center;\n background-repeat: no-repeat;\n }\n\n .torrent-pauseresume-button {\n background-position: center center;\n background-repeat: no-repeat;\n background-size: $pauseresume-size;\n margin-left: math.floor(math.div($pauseresume-size-number, 2)) * 1px;\n width: $pauseresume-size;\n\n &[data-action='pause'] {\n background-image: url($image-pause-circle-idle);\n &:active,\n &:hover {\n background-image: url($image-pause-circle-active);\n }\n }\n &[data-action='resume'] {\n background-image: url($image-play-circle-idle);\n &:active,\n &:hover {\n background-image: url($image-play-circle-active);\n }\n }\n }\n\n .torrent-progress-details.error,\n .torrent-peer-details.error {\n color: var(--color-fg-error);\n }\n\n .torrent-name {\n font-weight: bold;\n margin-bottom: 2px;\n margin-top: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.compact {\n font-size: 1em;\n font-weight: normal;\n }\n\n &:not(.paused) {\n color: var(--color-fg-name);\n }\n }\n\n .torrent-labels {\n font-size: x-small;\n font-weight: normal;\n margin-bottom: 2px;\n margin-top: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.compact {\n flex: 1;\n font-size: x-small;\n }\n }\n\n .torrent-progress-details,\n .torrent-peer-details {\n font-size: x-small;\n }\n\n .torrent-progress-bar {\n background-repeat: no-repeat;\n border-radius: 3px;\n border-style: solid;\n border-width: 1px;\n height: ($progressbar-height-number - ($progressbar-border-number * 2)) *\n 1px;\n\n &.full {\n flex-grow: 1;\n margin: 2px 0;\n }\n &.compact {\n min-width: 50px;\n width: 50px;\n }\n\n @function progressbar-gradient($color1, $color2) {\n @return linear-gradient(to bottom, $color1, $color2 80%);\n }\n\n @mixin progressbar-background($color1, $color2) {\n background: progressbar-gradient($color1, $color2),\n progressbar-gradient(\n var(--color-progressbar-background-1),\n var(--color-progressbar-background-2)\n );\n background-repeat: no-repeat;\n }\n\n &.leech.paused {\n @include progressbar-background(\n var(--color-progressbar-leech-paused-1),\n var(--color-progressbar-leech-paused-2)\n );\n }\n &.leech.queued {\n @include progressbar-background(\n var(--color-progressbar-leech-queued-1),\n var(--color-progressbar-leech-queued-2)\n );\n }\n &.leech {\n @include progressbar-background(\n var(--color-progressbar-leech-1),\n var(--color-progressbar-leech-2)\n );\n }\n &.magnet.paused {\n @include progressbar-background(\n var(--color-progressbar-magnet-paused-1),\n var(--color-progressbar-magnet-paused-2)\n );\n }\n &.magnet {\n @include progressbar-background(\n var(--color-progressbar-magnet-1),\n var(--color-progressbar-magnet-2)\n );\n }\n &.seed.paused {\n @include progressbar-background(\n var(--color-progressbar-seed-paused-1),\n var(--color-progressbar-seed-paused-2)\n );\n }\n &.seed.queued {\n @include progressbar-background(\n var(--color-progressbar-seed-queued-1),\n var(--color-progressbar-seed-queued-2)\n );\n }\n &.seed {\n @include progressbar-background(\n var(--color-progressbar-seed-1),\n var(--color-progressbar-seed-2)\n );\n }\n &.verify {\n @include progressbar-background(\n var(--color-progressbar-verify-1),\n var(--color-progressbar-verify-2)\n );\n }\n }\n}\n\n/// PREFERENCES DIALOG\n\n@mixin tab-image($image-url) {\n background-image: url($image-url),\n linear-gradient(\n var(--color-tab-deselected-1),\n var(--color-tab-deselected-2)\n );\n\n &:active,\n &:checked,\n &.selected {\n background-image: url($image-url),\n linear-gradient(var(--color-tab-selected-1), var(--color-tab-selected-2));\n }\n}\n\n#inspector-tab-info {\n @include tab-image($image-analytics);\n}\n\n#inspector-tab-peers {\n @include tab-image($image-peers);\n}\n\n#inspector-tab-tiers {\n @include tab-image($image-tiers);\n}\n\n#inspector-tab-files {\n @include tab-image($image-files);\n}\n\n#inspector,\n#prefs-dialog {\n @include for-phone-only {\n left: 0;\n }\n @include for-tablet-portrait-up {\n border-left: 1px solid var(--color-fg-secondary);\n width: 570px;\n }\n}\n\n#prefs-dialog {\n $background-color: $white;\n\n background: $background-color;\n bottom: 0;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);\n position: absolute;\n right: 0;\n top: $popup-top;\n z-index: $z-index-popup;\n\n .tabs-page {\n grid-column-gap: 8px;\n grid-row-gap: 5px;\n grid-template-columns: 1fr 1fr;\n margin: 20px;\n\n &:not(.hidden) {\n display: grid;\n }\n\n .section-label {\n font-weight: bold;\n grid-column: span 2;\n margin-left: -20px;\n padding-bottom: 5px;\n\n &:not(:first-of-type) {\n margin-top: 20px;\n }\n }\n }\n\n .alt-speed-section-label {\n background: transparent url('images/blue-turtle.png') no-repeat;\n background-position: left 4px;\n padding-left: 22px;\n }\n\n :disabled,\n .disabled {\n color: var(--color-fg-disabled);\n }\n\n #alt-times-div,\n #autostart-div,\n #port-forwarding,\n #randomize-port,\n #suffix-div,\n #use-dht-div,\n #use-lpd-div,\n #use-pex-div,\n #utp-enabled,\n .alt-speed-label {\n grid-column: span 2;\n }\n\n #default-trackers {\n height: 300px;\n }\n\n .blocklist-size-label,\n .blocklist-update-button,\n .port-status {\n grid-column: 2 / 3;\n }\n\n .blocklist-size-label {\n font-size: smaller;\n }\n .blocklist-size-number {\n font-weight: bolder;\n }\n\n .port-status-label {\n display: inline-block;\n font-weight: bold;\n margin-left: 5px;\n &[data-open='true'] {\n color: var(--color-fg-port-open);\n }\n &[data-open='false'] {\n color: var(--color-fg-port-closed);\n }\n }\n\n #default-trackers,\n .default-trackers-label {\n grid-column: 1 / 3;\n }\n\n .alt-speed-label {\n font-size: smaller;\n font-style: lighter;\n // nudge it up next to the section label\n margin: -10px 0 10px -20px;\n }\n}\n\n#prefs-dialog.ui-tabs .ui-tabs-panel {\n padding: 0;\n user-select: none;\n}\n\n.prefs-section {\n text-align: left;\n\n > * {\n padding: 0 8px 8px;\n }\n\n .title {\n font-size: larger;\n font-weight: bold;\n padding-left: 0;\n }\n\n .row {\n .key {\n float: left;\n padding-top: 3px;\n\n > * {\n margin-left: 0;\n }\n }\n\n .value {\n margin-left: 150px;\n\n > * {\n width: 100%;\n }\n }\n }\n\n .checkbox-row {\n > input {\n margin: 0;\n }\n\n > label {\n margin-left: 5px;\n }\n }\n\n #alternative-speed-limits-title {\n background: transparent url('images/blue-turtle.png') no-repeat;\n padding-left: 18px;\n }\n\n #alternative-speed-limits-desc {\n font-size: smaller;\n padding-bottom: 4px;\n }\n}\n\n/// TABS\n\n.tabs-container {\n align-items: stretch;\n background: $white;\n border-left: solid 1px var(--color-border);\n bottom: 0;\n display: flex;\n flex-direction: column;\n position: absolute;\n right: 0;\n top: $popup-top;\n z-index: $z-index-popup;\n @include for-phone-only {\n left: 0;\n }\n @include for-tablet-portrait-up {\n width: 550px;\n }\n}\n\n.tabs-buttons {\n align-self: center;\n display: flex;\n padding: 10px;\n\n button {\n @include button;\n appearance: none;\n padding: 3px;\n }\n}\n\n.file-priority-radiobox,\n.tabs-buttons {\n $radius: 8px;\n :first-child {\n border-bottom-left-radius: $radius;\n border-top-left-radius: $radius;\n }\n :last-child {\n border-bottom-right-radius: $radius;\n border-top-right-radius: $radius;\n }\n}\n\n.tabs-pages {\n box-sizing: border-box;\n flex: 1;\n overflow-x: hidden;\n overflow-y: auto;\n @include for-phone-only {\n padding: 0 8px 20px;\n }\n @include for-tablet-portrait-up {\n padding: 0 20px 20px;\n }\n}\n\n.tabs-button {\n background-position: center;\n background-repeat: no-repeat;\n}\n\n/// INSPECTOR\n\n#inspector {\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);\n}\n\n.inspector-info-page {\n // TODO: this is (mostly) copied from prefs-dialog.\n // can it be folded into a single set of rules?\n\n grid-column-gap: 8px;\n grid-row-gap: 5px;\n grid-template-columns: auto 1fr;\n margin: 20px;\n padding: 12px;\n\n &:not(.hidden) {\n display: grid;\n }\n\n .section-label {\n font-weight: bold;\n grid-column: span 2;\n margin-left: -20px;\n padding-bottom: 5px;\n\n &:not(:first-of-type) {\n margin-top: 20px;\n }\n }\n\n :not(.section-label) {\n // this section is not copied\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n}\n\n.inspector-info-magnet {\n button {\n background-color: transparent;\n background-image: url($image-magnet);\n background-position: top;\n background-repeat: no-repeat;\n border: 0;\n cursor: pointer;\n height: 1rem;\n vertical-align: middle;\n width: 1rem;\n }\n}\n\n#inspector .tabs-button,\n#prefs-dialog .tabs-button {\n background-size: 20px 20px, 40px 30px;\n height: 30px;\n margin: 0;\n padding: 0;\n width: 40px;\n}\n\n#prefs-tab-torrent {\n @include tab-image($image-upload-download);\n}\n\n#prefs-tab-speed {\n @include tab-image($image-speed);\n}\n\n#prefs-tab-peers {\n @include tab-image($image-peers);\n}\n\n#prefs-tab-network {\n @include tab-image($image-network);\n}\n\n#inspector-file-list {\n margin: 0;\n padding: 0;\n\n .inspector-torrent-file-list-entry {\n display: grid;\n grid-column-gap: 5px;\n grid-template-areas:\n 'check name priority'\n 'blank1 info blank2';\n grid-template-columns: 20px 1fr 65px;\n margin-bottom: 4px;\n padding: 5px;\n\n &.skip {\n opacity: 0.5;\n }\n }\n\n .file-wanted-control {\n grid-area: check;\n }\n\n .inspector-torrent-file-list-entry-name {\n color: var(--color-fg-name);\n cursor: pointer;\n grid-area: name;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .inspector-torrent-file-list-entry.skip\n > .inspector-torrent-file-list-entry-name {\n color: var(--color-fg-disabled);\n }\n\n .inspector-torrent-file-list-entry-progress {\n color: var(--color-fg-secondary);\n grid-area: info;\n }\n\n .single-file .inspector-torrent-file-list-entry > .file-wanted-control,\n .inspector-torrent-file-list-entry.complete > .file-wanted-control {\n cursor: default;\n }\n}\n\n#inspector-header {\n margin: 8px 0;\n}\n\n#torrent-inspector-name {\n font-size: large;\n font-weight: bold;\n}\n\n#inspector-tiers-list {\n color: var(--color-fg-secondary);\n margin: 0 10px;\n padding: 0 12px;\n\n .tier-list-row {\n display: grid;\n grid-column-gap: 8px;\n grid-row-gap: 4px;\n margin-top: 8px;\n }\n\n .tier-list-torrent {\n color: var(--color-fg-primary);\n font-size: larger;\n font-weight: bolder;\n margin-left: -12px;\n overflow-x: hidden;\n padding-top: 20px;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .tier-list-tracker {\n font-weight: bolder;\n grid-column: span 2;\n margin-top: 8px;\n padding-bottom: 4px;\n }\n\n .tier-announce,\n .tier-scrape,\n .tier-state {\n text-align: left;\n }\n\n .tier-downloads,\n .tier-leechers,\n .tier-seeders {\n text-align: right;\n }\n}\n\n// Peers Tab\n\n.peer-list {\n $table-border-color: $grey-100;\n $table-border: 1px solid $table-border-color;\n\n border: $table-border;\n border-collapse: collapse;\n cursor: default;\n table-layout: fixed;\n text-align: left;\n width: 100%;\n\n td,\n th {\n font-size: smaller;\n padding: 5px;\n }\n\n td {\n border: $table-border;\n color: var(--color-fg-secondary);\n // padding: 5px 10px;\n }\n\n .torrent-row td {\n background: $table-border-color;\n color: var(--color-fg-primary);\n font-size: normal;\n font-weight: bolder;\n overflow-x: hidden;\n padding: 10px;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .encryption {\n width: 16px;\n &[data-encrypted='true'] {\n background: transparent url($image-lock-fill) center center no-repeat;\n height: 16px;\n width: 16px;\n }\n }\n\n .peer-address,\n .percent-done,\n .speed-down,\n .speed-up {\n text-align: right;\n }\n\n .percent-done {\n width: 10%;\n }\n .speed-down,\n .speed-up {\n width: 15%;\n }\n .peer-address {\n width: 25%;\n }\n\n .peer-app-name {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n @include for-phone-only {\n display: none;\n }\n @include for-tablet-portrait-up {\n width: 25%;\n }\n }\n\n .status {\n cursor: pointer;\n }\n}\n\n/// FILE PRIORITY BUTTONS\n\n.file-priority-radiobox {\n $size-number: 20;\n $size: $size-number * 1px;\n $halfsize: math.floor(math.div($size-number, 2)) * 1px;\n\n grid-area: priority;\n\n > * {\n @include button;\n appearance: none;\n background-position: center;\n background-repeat: no-repeat;\n background-size: $halfsize, $size;\n height: $size;\n margin: 0;\n padding: 0;\n width: $size;\n }\n\n > .low {\n @include tab-image($image-chevron-dn);\n border-right-width: 0;\n }\n\n > .normal {\n @include tab-image($image-baseline);\n }\n\n > .high {\n @include tab-image($image-chevron-up);\n border-left-width: 0;\n }\n}\n\n/// CONTEXT MENU\n\n.context-menu {\n $background-color: var(--color-bg-menu);\n $disabled-color: var(--color-fg-disabled);\n\n background: $background-color;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);\n color: var(--color-fg-on-popup);\n position: absolute;\n z-index: $z-index-popup;\n\n .context-menuitem {\n list-style: none;\n padding: 5px 10px;\n\n &:hover:not(:disabled),\n &:focus:not(:disabled) {\n background-image: linear-gradient($white, var(--color-bg-menu));\n cursor: pointer;\n }\n\n &:disabled {\n color: $disabled-color;\n cursor: none;\n }\n }\n}\n\n.context-menu-separator {\n border-bottom: 1px solid var(--color-fg-secondary);\n margin-bottom: 10px;\n padding-bottom: 10px;\n}\n\n/// OVERFLOW MENU\n\n.overflow-menu {\n background: linear-gradient(\n 160deg,\n #d21,\n 1%,\n var(--color-bg-hover),\n 40%,\n var(--color-bg-menu)\n );\n border-radius: 8px;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);\n color: var(--color-fg-on-popup);\n padding: 20px;\n position: fixed;\n width: 200px;\n z-index: $z-index-popup;\n\n fieldset {\n border: 0;\n margin-bottom: 8px;\n padding: 0;\n }\n\n > .actions,\n > .info,\n > .links {\n display: flex;\n flex-direction: column;\n }\n\n legend {\n font-weight: bolder;\n margin-bottom: 4px;\n }\n\n legend ~ * {\n margin-left: 12px;\n }\n\n a,\n button,\n label {\n font-size: 1em;\n\n &:disabled {\n color: var(--color-fg-disabled);\n cursor: default;\n }\n\n &:focus:not(:disabled),\n &:hover:not(:disabled) {\n background-color: var(--color-bg-hover);\n }\n }\n\n a,\n button {\n background: transparent;\n border: 0;\n cursor: pointer;\n display: block;\n padding: 4px 0;\n text-align: left;\n text-decoration: none;\n width: 150px;\n }\n\n .input-and-label {\n align-items: center;\n display: inline-flex;\n flex-direction: row;\n }\n\n #display-options {\n > * {\n align-items: center;\n display: inline-flex;\n flex-direction: row;\n\n > * {\n margin: 4px;\n }\n\n :first-child {\n margin-left: 0;\n }\n\n :last-child {\n margin-right: 0;\n }\n }\n }\n\n #speed-options {\n display: flex;\n flex-direction: column;\n\n > .speed-up,\n > .speed-down {\n align-items: center;\n display: flex;\n flex-direction: row;\n padding: 4px 0;\n\n > label {\n overflow: hidden;\n width: 80px;\n }\n }\n\n .alt-speed {\n display: grid;\n grid-column-gap: 5px;\n grid-row-gap: 5px;\n grid-template-areas:\n 'check lb'\n 'turtle values';\n grid-template-columns: 20px 1fr;\n margin-bottom: 4px;\n }\n\n #alt-speed-check {\n grid-area: check;\n\n &:checked ~ #alt-speed-image {\n background-image: url('images/blue-turtle.png');\n }\n\n &:not(:checked) ~ #alt-speed-image {\n background-image: url('images/turtle.png');\n }\n }\n\n #alt-speed-image {\n background-position: center;\n background-repeat: no-repeat;\n grid-area: turtle;\n }\n\n #alt-speed-label {\n grid-area: lb;\n }\n\n #alt-speed-values-label {\n font-size: small;\n grid-area: values;\n }\n }\n}\n\n// hide the fullscreen button unless we're on mobile\n@include for-tablet-portrait-up {\n #display-fullscreen-check,\n #display-fullscreen-label {\n display: none;\n }\n}\n\n/// DIALOGS\n\n$dialog-padding-number: 20;\n$dialog-logo-padding-number: math.div($dialog-padding-number * 2, 3);\n$logo-size: 64px;\n\n@include for-phone-only {\n .dialog-buttons {\n padding-top: $dialog-logo-padding-number * 1px;\n }\n\n .dialog-container {\n opacity: 96%;\n position: absolute;\n top: $popup-top;\n width: 100%;\n }\n\n .dialog-logo {\n padding-bottom: $dialog-logo-padding-number * 1px;\n }\n\n .dialog-window {\n align-items: center;\n display: flex;\n flex-direction: column;\n }\n}\n@include for-tablet-portrait-up {\n .dialog-container {\n left: 50%;\n min-width: 400px;\n position: absolute;\n top: $popup-top * 2;\n transform: translateX(-50%);\n }\n\n .dialog-heading {\n grid-area: heading;\n }\n\n .dialog-logo {\n grid-area: icon;\n padding-right: $dialog-logo-padding-number * 1px;\n }\n\n .dialog-window {\n color: var(--color-fg-on-popup);\n display: grid;\n grid-column-gap: 12px;\n grid-template-areas:\n 'icon heading'\n 'icon message'\n 'icon workarea'\n 'icon buttons';\n grid-template-columns: $logo-size 1fr;\n padding: 2px 12px;\n }\n}\n\n.dialog-buttons {\n display: flex;\n float: right;\n grid-area: buttons;\n margin: 10px 0 0;\n text-align: center;\n\n button {\n appearance: none;\n background: transparent;\n border: 1px solid var(--color-border);\n border-radius: 5px;\n color: var(--color-fg-name);\n margin-left: 8px;\n padding: 8px;\n text-decoration: none;\n }\n\n a:hover,\n a:active {\n background: linear-gradient($white, var(--color-bg-menu));\n }\n}\n\n.dialog-buttons-begin {\n flex-grow: 1;\n}\n\n.dialog-buttons-end {\n display: none;\n}\n\n.dialog-container {\n border: 0;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);\n color: var(--color-fg-primary);\n display: block;\n margin: 0;\n padding: 0;\n z-index: $z-index-popup;\n}\n\n.dialog-heading {\n align-items: center;\n display: flex;\n font-size: 1.2em;\n font-weight: bold;\n}\n\n.dialog-logo {\n background: transparent url('images/logo.png') top left no-repeat;\n height: $logo-size;\n width: $logo-size;\n}\n\n.dialog-message {\n grid-area: message;\n margin: 10px 0 0;\n}\n\n.dialog-window {\n background: linear-gradient(160deg, #d21, 1%, #f7f7f7, 40%, #ccc);\n height: 100%;\n padding: $dialog-padding-number * 1px;\n}\n\n.dialog-workarea {\n display: flex;\n flex-direction: column;\n grid-area: workarea;\n margin: 10px 0 0;\n\n > * {\n margin-bottom: 5px;\n }\n}\n\n/// ABOUT DIALOG\n\n.about-dialog .dialog-workarea > * {\n margin-bottom: 10px;\n}\n\n.about-dialog-version-number {\n margin-left: 4px;\n}\n\n.about-dialog-version-checksum {\n font-size: small;\n font-style: italic;\n font-weight: normal;\n margin-left: auto;\n padding-left: 10px;\n}\n\n/// HOTKEYS DIALOG\n\n.shortcuts-dialog {\n table {\n border-collapse: collapse;\n width: 100%;\n }\n\n th,\n td {\n border: 1px solid var(--color-border);\n padding: 5px 10px;\n }\n}\n\n/// RENAME DIALOG\n\n#torrent-rename-name {\n min-width: 400px;\n}\n\n/// SET-LOCATION DIALOG\n\n#move-container #torrent-path {\n min-width: 400px;\n}\n\n/// STATISTICS DIALOG\n\n.tabs-pages,\n.inspector-info-page,\n.statistics-dialog {\n .content {\n column-gap: 16px;\n display: grid;\n grid-row-gap: 6px;\n grid-template-columns: auto 1fr;\n margin-top: 4px;\n\n @include for-phone-only {\n margin: 4px 0 16px;\n }\n @include for-tablet-portrait-up {\n margin: 4px 16px 16px;\n }\n\n div {\n word-break: break-word;\n }\n }\n\n fieldset {\n border: 0;\n margin: 0;\n padding: 0;\n }\n\n legend {\n font-weight: bolder;\n margin-bottom: 4px;\n }\n}\n\n/// UPLOAD DIALOG\n\n#free-space-text {\n display: inline-block;\n float: right;\n font-size: smaller;\n font-style: italic;\n}\n\n#torrent-upload-frame {\n border: 0;\n display: block; /* Don't change this : safari forms won't target hidden frames (they open a new window) */\n height: 0;\n left: -1000px;\n margin: 0;\n padding: 0;\n position: absolute;\n top: -1000px;\n width: 0;\n}\n\n.ui-menu {\n width: 200px;\n}\n"],sourceRoot:""}]);const Ee=G},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var s=0;s<this.length;s++){var i=this[s][0];null!=i&&(o[i]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},15:e=>{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,s=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(s.push(r.value),!t||s.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw o}}return s}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n=t(e,4),r=n[1],o=n[3];if(!o)return r;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),a="/*# ".concat(i," */"),l=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(l).concat([a]).join("\n")}return[r].join("\n")}},667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},307:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",i="[object Array]",a="[object Boolean]",l="[object Date]",c="[object Error]",d="[object Function]",A="[object Map]",p="[object Number]",u="[object Object]",g="[object Promise]",m="[object RegExp]",h="[object Set]",f="[object String]",b="[object Symbol]",C="[object WeakMap]",v="[object ArrayBuffer]",y="[object DataView]",E=/^\[object .+?Constructor\]$/,w=/^(?:0|[1-9]\d*)$/,x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x[s]=x[i]=x[v]=x[a]=x[y]=x[l]=x[c]=x[d]=x[A]=x[p]=x[u]=x[m]=x[h]=x[f]=x[C]=!1;var k="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,M="object"==typeof self&&self&&self.Object===Object&&self,S=k||M||Function("return this")(),I=t&&!t.nodeType&&t,B=I&&e&&!e.nodeType&&e,D=B&&B.exports===I,T=D&&k.process,L=function(){try{return T&&T.binding&&T.binding("util")}catch(e){}}(),N=L&&L.isTypedArray;function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function j(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function z(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var F,U,P,O=Array.prototype,R=Function.prototype,G=Object.prototype,Y=S["__core-js_shared__"],Q=R.toString,Z=G.hasOwnProperty,W=(F=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",H=G.toString,J=RegExp("^"+Q.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=D?S.Buffer:void 0,V=S.Symbol,K=S.Uint8Array,X=G.propertyIsEnumerable,$=O.splice,ee=V?V.toStringTag:void 0,te=Object.getOwnPropertySymbols,ne=q?q.isBuffer:void 0,re=(U=Object.keys,P=Object,function(e){return U(P(e))}),oe=Le(S,"DataView"),se=Le(S,"Map"),ie=Le(S,"Promise"),ae=Le(S,"Set"),le=Le(S,"WeakMap"),ce=Le(Object,"create"),de=ze(oe),Ae=ze(se),pe=ze(ie),ue=ze(ae),ge=ze(le),me=V?V.prototype:void 0,he=me?me.valueOf:void 0;function fe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ve(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ce;++t<n;)this.add(e[t])}function ye(e){var t=this.__data__=new be(e);this.size=t.size}function Ee(e,t){var n=Pe(e),r=!n&&Ue(e),o=!n&&!r&&Oe(e),s=!n&&!r&&!o&&Ze(e),i=n||r||o||s,a=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=a.length;for(var c in e)!t&&!Z.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||je(c,l))||a.push(c);return a}function we(e,t){for(var n=e.length;n--;)if(Fe(e[n][0],t))return n;return-1}function xe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ee&&ee in Object(e)?function(e){var t=Z.call(e,ee),n=e[ee];try{e[ee]=void 0;var r=!0}catch(e){}var o=H.call(e);r&&(t?e[ee]=n:delete e[ee]);return o}(e):function(e){return H.call(e)}(e)}function ke(e){return Qe(e)&&xe(e)==s}function Me(e,t,n,r,o){return e===t||(null==e||null==t||!Qe(e)&&!Qe(t)?e!=e&&t!=t:function(e,t,n,r,o,d){var g=Pe(e),C=Pe(t),E=g?i:_e(e),w=C?i:_e(t),x=(E=E==s?u:E)==u,k=(w=w==s?u:w)==u,M=E==w;if(M&&Oe(e)){if(!Oe(t))return!1;g=!0,x=!1}if(M&&!x)return d||(d=new ye),g||Ze(e)?Be(e,t,n,r,o,d):function(e,t,n,r,o,s,i){switch(n){case y:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!s(new K(e),new K(t)));case a:case l:case p:return Fe(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case f:return e==t+"";case A:var d=j;case h:var u=1&r;if(d||(d=z),e.size!=t.size&&!u)return!1;var g=i.get(e);if(g)return g==t;r|=2,i.set(e,t);var C=Be(d(e),d(t),r,o,s,i);return i.delete(e),C;case b:if(he)return he.call(e)==he.call(t)}return!1}(e,t,E,n,r,o,d);if(!(1&n)){var S=x&&Z.call(e,"__wrapped__"),I=k&&Z.call(t,"__wrapped__");if(S||I){var B=S?e.value():e,D=I?t.value():t;return d||(d=new ye),o(B,D,n,r,d)}}if(!M)return!1;return d||(d=new ye),function(e,t,n,r,o,s){var i=1&n,a=De(e),l=a.length,c=De(t).length;if(l!=c&&!i)return!1;var d=l;for(;d--;){var A=a[d];if(!(i?A in t:Z.call(t,A)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var u=!0;s.set(e,t),s.set(t,e);var g=i;for(;++d<l;){var m=e[A=a[d]],h=t[A];if(r)var f=i?r(h,m,A,t,e,s):r(m,h,A,e,t,s);if(!(void 0===f?m===h||o(m,h,n,r,s):f)){u=!1;break}g||(g="constructor"==A)}if(u&&!g){var b=e.constructor,C=t.constructor;b==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(u=!1)}return s.delete(e),s.delete(t),u}(e,t,n,r,o,d)}(e,t,n,r,Me,o))}function Se(e){return!(!Ye(e)||function(e){return!!W&&W in e}(e))&&(Re(e)?J:E).test(ze(e))}function Ie(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||G,t!==r)return re(e);var t,n,r,o=[];for(var s in Object(e))Z.call(e,s)&&"constructor"!=s&&o.push(s);return o}function Be(e,t,n,r,o,s){var i=1&n,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var c=s.get(e);if(c&&s.get(t))return c==t;var d=-1,A=!0,p=2&n?new ve:void 0;for(s.set(e,t),s.set(t,e);++d<a;){var u=e[d],g=t[d];if(r)var m=i?r(g,u,d,t,e,s):r(u,g,d,e,t,s);if(void 0!==m){if(m)continue;A=!1;break}if(p){if(!_(t,(function(e,t){if(i=t,!p.has(i)&&(u===e||o(u,e,n,r,s)))return p.push(t);var i}))){A=!1;break}}else if(u!==g&&!o(u,g,n,r,s)){A=!1;break}}return s.delete(e),s.delete(t),A}function De(e){return function(e,t,n){var r=t(e);return Pe(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,We,Ne)}function Te(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Se(n)?n:void 0}fe.prototype.clear=function(){this.__data__=ce?ce(null):{},this.size=0},fe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},fe.prototype.get=function(e){var t=this.__data__;if(ce){var n=t[e];return n===r?void 0:n}return Z.call(t,e)?t[e]:void 0},fe.prototype.has=function(e){var t=this.__data__;return ce?void 0!==t[e]:Z.call(t,e)},fe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ce&&void 0===t?r:t,this},be.prototype.clear=function(){this.__data__=[],this.size=0},be.prototype.delete=function(e){var t=this.__data__,n=we(t,e);return!(n<0)&&(n==t.length-1?t.pop():$.call(t,n,1),--this.size,!0)},be.prototype.get=function(e){var t=this.__data__,n=we(t,e);return n<0?void 0:t[n][1]},be.prototype.has=function(e){return we(this.__data__,e)>-1},be.prototype.set=function(e,t){var n=this.__data__,r=we(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ce.prototype.clear=function(){this.size=0,this.__data__={hash:new fe,map:new(se||be),string:new fe}},Ce.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},Ce.prototype.get=function(e){return Te(this,e).get(e)},Ce.prototype.has=function(e){return Te(this,e).has(e)},Ce.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ve.prototype.add=ve.prototype.push=function(e){return this.__data__.set(e,r),this},ve.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.clear=function(){this.__data__=new be,this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ye.prototype.get=function(e){return this.__data__.get(e)},ye.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ce(r)}return n.set(e,t),this.size=n.size,this};var Ne=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[o++]=i)}return s}(te(e),(function(t){return X.call(e,t)})))}:function(){return[]},_e=xe;function je(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function ze(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fe(e,t){return e===t||e!=e&&t!=t}(oe&&_e(new oe(new ArrayBuffer(1)))!=y||se&&_e(new se)!=A||ie&&_e(ie.resolve())!=g||ae&&_e(new ae)!=h||le&&_e(new le)!=C)&&(_e=function(e){var t=xe(e),n=t==u?e.constructor:void 0,r=n?ze(n):"";if(r)switch(r){case de:return y;case Ae:return A;case pe:return g;case ue:return h;case ge:return C}return t});var Ue=ke(function(){return arguments}())?ke:function(e){return Qe(e)&&Z.call(e,"callee")&&!X.call(e,"callee")},Pe=Array.isArray;var Oe=ne||function(){return!1};function Re(e){if(!Ye(e))return!1;var t=xe(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Ze=N?function(e){return function(t){return e(t)}}(N):function(e){return Qe(e)&&Ge(e.length)&&!!x[xe(e)]};function We(e){return null!=(t=e)&&Ge(t.length)&&!Re(t)?Ee(e):Ie(e);var t}e.exports=function(e,t){return Me(e,t)}},379:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var A=a(d),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==A?(i[A].references++,i[A].updater(p)):i.push({identifier:d,updater:h(p,t),references:1}),r.push(d)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=s(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var d,A=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,o);else{var s=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(s,i[t]):e.appendChild(s)}}function u(e,t,n){var r=n.css,o=n.media,s=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var g=null,m=0;function h(e,t){var n,r,o;if(t.singleton){var s=m++;n=g||(g=c(t)),r=p.bind(null,n,s,!1),o=p.bind(null,n,s,!0)}else n=c(t),r=u.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var s=l(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===i[d].references&&(i[d].updater(),i.splice(d,1))}n=s}}}},842:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0xOSAzSDVjLTEuMSAwLTIgLjktMiAydjE0YzAgMS4xLjkgMiAyIDJoMTRjMS4xIDAgMi0uOSAyLTJWNWMwLTEuMS0uOS0yLTItMnpNOSAxN0g3di01aDJ2NXptNCAwaC0ydi0zaDJ2M3ptMC01aC0ydi0yaDJ2MnptNCA1aC0yVjdoMnYxMHoiLz48L3N2Zz4="},520:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NTMuNDA1IiBoZWlnaHQ9IjQ1My40MDUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1My40MDUgNDUzLjQwNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTM4Mi4wOCA2MC4zOTRjLTI2LjMyNC00LjUzNC01My40NDQtLjg0NS03OS43NjQgMS43NTEtMjYuMjIzIDIuNTg3LTUzLjYwNCA1Ljc1My03OS41ODUtLjM5Ny0zMC41OTItNy4yNDEtNDkuOTQ1LTI3LjI5NC02NC4yMTYtNTQuNDY0bC0xMS44MDMgMzEuOTM4TDY5LjQ5NCAyNDguMTYgMCA0MzYuMjAzbDI2LjgzOCA5LjkxOSA2Mi41NDEtMTY5LjIyN2MxMS42MDcgMTIuMzgzIDI1LjkzNyAyMS4zNzUgNDQuMzMzIDI1LjcyOSAyNS45NzkgNi4xNDYgNTMuMzYzIDIuOTg2IDc5LjU4NC4zOTggMjYuMzE4LTIuNjAxIDU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AxLTIgMnYtMWExIDEgMCAwIDAgMS0xVjJhMSAxIDAgMCAwLTEtMUg2YTEgMSAwIDAgMC0xIDFINGEyIDIgMCAwIDEgMi0yeiIvPjwvc3ZnPg=="},961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTQgMTFoMTZ2Mkg0eiIvPjwvc3ZnPg=="},371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDE2IDE2IiBjbGFzcz0iYmkgYmktbG9jay1maWxsIiBmaWxsPSJjdXJyZW50Q29sb3IiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSA5YTIgMiAwIDAgMSAyLTJoN2EyIDIgMCAwIDEgMiAydjVhMiAyIDAgMCAxLTIgMmgtN2EyIDIgMCAwIDEtMi0yVjl6Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNC41IDRhMy41IDMuNSAwIDEgMSA3IDB2M2gtMVY0YTIuNSAyLjUgMCAwIDAtNSAwdjNoLTFWNHoiLz48L3N2Zz4="},199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbWFnbmV0Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04IDFhNyA3IDAgMCAwLTcgN3YzaDRWOGEzIDMgMCAwIDEgNiAwdjNoNFY4YTcgNyAwIDAgMC03LTdabTcgMTFoLTR2M2g0di0zWk01IDEySDF2M2g0di0zWk0wIDhhOCA4IDAgMSAxIDE2IDB2OGgtNlY4YTIgMiAwIDEgMC00IDB2OEgwVjhaIi8+PC9zdmc+"},25:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiM4MDAiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMSAxNEg5VjhoMnY4em00IDBoLTJWOGgydjh6Ii8+PC9zdmc+"},173:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiM5OTkiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMSAxNEg5VjhoMnY4em00IDBoLTJWOGgydjh6Ii8+PC9zdmc+"},912:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiMwODAiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMiAxNC41di05bDYgNC41LTYgNC41eiIvPjwvc3ZnPg=="},557:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiM5OTkiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMiAxNC41di05bDYgNC41LTYgNC41eiIvPjwvc3ZnPg=="},602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHdpZHRoPSIyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Im0yMC4yIDUuOS44LS44QzE5LjYgMy43IDE3LjggMyAxNiAzcy0zLjYuNy01IDIuMWwuOC44QzEzIDQuOCAxNC41IDQuMiAxNiA0LjJzMyAuNiA0LjIgMS43em0tLjkuOGMtLjktLjktMi4xLTEuNC0zLjMtMS40cy0yLjQuNS0zLjMgMS40bC44LjhjLjctLjcgMS42LTEgMi41LTEgLjkgMCAxLjguMyAyLjUgMWwuOC0uOHpNMTkgMTNoLTJWOWgtMnY0SDVjLTEuMSAwLTIgLjktMiAydjRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMnYtNGMwLTE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2LTZ2LTI4LjRoMi4zYzMuMyAwIDYtMi42OTkgNi02VjUwLjljMC0zLjMtMi43LTYtNi02SDQ1LjFjLTMuNC0uMDAxLTYgMi43LTYgNS45OTl6Ii8+PGNpcmNsZSBjeD0iNjEuNCIgY3k9IjI2IiByPSIxMy45Ii8+PC9zdmc+"},577:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDE2IDE2IiBjbGFzcz0iYmkgYmktdGhyZWUtZG90cy12ZXJ0aWNhbCIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTkuNSAxM2ExLjUgMS41IDAgMSAxLTMgMCAxLjUgMS41IDAgMCAxIDMgMHptMC01YTEuNSAxLjUgMCAxIDEtMyAwIDEuNSAxLjUgMCAwIDEgMyAwem0wLTVhMS41IDEuNSAwIDEgMS0zIDAgMS41IDEuNSAwIDAgMSAzIDB6Ii8+PC9zdmc+"},689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MS43NTMiIGhlaWdodD0iNzEuNzUzIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MS43NTMgNzEuNzUzIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMzkuNzk4IDIwLjczNkgyOC4xNzJ2MjAuNzM4bC0xNi41NDctLjAwNFYyMC43MzZIMEwxOS44OTkuODM5bDE5Ljg5OSAxOS44OTd6bTEyLjA1NyA1MC4xNzggMTkuODk3LTE5Ljg5Nkg2MC4xMjlWMzAuMjgybC0xNi41NDctLjAwNHYyMC43NEgzMS45NTds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ict";n.d(t,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAe1BMVEUAAACii3Sfj4CikIGjkYOikYKjkIOkk4ShkYCikIGikYKhkIGhkYGhkYKunYyunY21ppihj3+ij4Cgj3+hkIKikYGikYKjkYKjkoOjk4Okk4SxoJCyoZG2p5i2p5m/rp3FtKPGtaTJuKfOw7fXzcLYzcLZz8TazsTe1MroLOxCAAAAE3RSTlMAC0CcnJ2mpvPz8/X19ff39/n73gWagwAAAHlJREFUeNrtzjUCwkAQQFHcfQhOfOX+F8TWtdqO/PqN9FLUH8/g137gB5NtWf8qVn6xrOo6KqCWFQfQWk76OnCrNsM4qMu5A4oMVJc7OD/cGqrCzxMDjyvwsobqtQycc0QDsRNHQuMA6D+ADrSLOCC7EQOh1tN+L0Fvq3hkPC72zVoAAAAASUVORK5CYII="},690:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAC40lEQVR42mIYdABAbD2DS3OFcQCP+jJl6qSM08RWE9u2bX62bdtr294drm1d7/vNmWKeZ3mub/Efz3l/Bwuapq9jGVLJpcqlOZXQVGiMYYjVMwKEw7Qmm0lN1GtVaNRrUwqHgDBDjTI0uW7aANQT1Bi3mXLCLAkMTcwMwTUwNkOAgKBpYuO8AliGEgA8gsUj5hSAwuIRsz8FeMQcAaJRthdAWBNc1s4poFIuQTTC9EWwNNFSKBTXzBkAv0bIiXkDaF3xhQNsOOOF6985BSuPu6cOoMggFlAqVyEYLYKHyUMoVoRarfv52z4733WNpkJ4ABHy9wQ0uEjsKfh6dwCeXOSEx/5zCHlmmQvWX2ShUKoNBJBEAA8IBrw9AdlCBZ5exhfum+/3BKExABDwe1sAR64eCPD7XH2nYLskAi+ucvN7NBoyZxqWnqLbEFpvpi/A53XhAV6PkwNUewLQEBfL3fd+OUAIgA2X2L4Ar8fROnIEA3C77H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:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACbElEQVR4Xu2Xz24TMRCHvWnaQ0BC/Cmo8Aao4kFAao9t+gY5wztwQuLUK+IFoBx4C54FJBCgXXs8zMSjZPSTs15xCQesfpJT+5v9rS3vJoGZ98os7Lf9gwHevv90LfAI16D8rVsP0HWz1dXVeahxuTwPlHnlBXSXy7NQ4+LyLHQH89Wbdzd3vDPHIkOikDKHH+QGWP5MoMxgoBvC98ROtWauMhogygSdQ1RUxnEogC4xr28AZbX0/7EVIOWsKa2IyRtHC2QwKi6hWxBXaawAsRXJgS06jmNDN4qLHpsrjJ+CgXIpkgzysI6DAS6pB866Vha30A5gF4pK2jIIrQCJ2M9XrA5PC6BCylBEcZ+xoYvzh+jrNAL0dhdDKmAIHYdWcZ0TvVtoPAe0SBH8+bdeewWIwTXMjc0VsCKavIc76RUMgC7lUbdvBsglQO9kVxCWsO324ArtFYjkLyxAEGjgMoQu4Aq0twAubJ+nbQGGHvHnO06BSvBCYe20ToG5vLVgPE7eAjxKUnSYtAJsHoPf2AJ4muE5NhhWoOb6+Wy4LZjyJKRsEj7RJj4JI7j2Pqj68/pdFFEavhEb7wILD29Ddm6kSQGCBGATPTzxZVQxmccC4BZsJzLcBhSobl8yF/04JUA3KwcjUWUFGL6S1VxmdUHTVlz0Zxu5624LD6UXvv5M6yJkJDJy6cu8Y2EhHCjWP1b326+0+fKZDFKsxu8vn++Jc8vvjaLdJ8Kzw+cvb44uXvMuDl+8+iDaqfBAOFKsf6pjDfejOE+FR5vrugCa6r7wWMPUsLETm7cQ5sbC3JOGr+5ddSHA/vj/4/QPGiED+KnBG4UAAAAASUVORK5CYII="},560:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAgCAYAAAAFQMh/AAAEDElEQVR42u2U/U9TdxSHmyxb4l7idHFxm5o53VwXCkIDGBBJU0TItMCGw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XKj7FEFiKAw0O6kOCBGwhnVGsD4Dgc8gBEYGWt5YB4SEkPkW+IwzECyGRqHmlAwMxcDCB6sASmGg6cY+IOoUOHp3AYemrsI6aLeenAGQRAYYhoVSo90FhEDP6fPI3ZhD3/g4qFM0sj8tZKYcUKtARkrINQMKRSWD7IWLyE3PoGf0ZJOs10JmqgJTEpIhD0grpcCsvj70T04hc+RwxJkWlnAtpyRhS2Kjmqxs4/uzReytl1L0QirfBDMDrdR2MLu2h1+vXqK8cA/V96sx2s1a0ioDBrEJxzyJ6rvXKD+YRWX5KXjXMYOFQcBSGWhW2z4grlXxdW4SPxYXICtbrZdg2FIZcJNLUBeiSNYridtUNZFchmQqpX8RG9bkGJpqhjqglKEqRBSr+6ikGmo75duhAgqUUGWAo0KUfEppPGXrIWMwM5i9xl1peelF+ey5sUG7uwve9kbjGkUUuU5Ro5HWN8zncK663urtgbNTxerqSvnSxOUcAcDS0vO57gPdt0dHT9m2bbf1Uuo4v7G29sHZ+VO9MzFxZZ4AoFAoiLGxM7cEcNOVcrCdADos6xszzb9ZeTtfKBS8/X9G+/YXSQG4bXLPijQAAAAASUVORK5CYII="}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={id:r,loaded:!1,exports:{}};return e[r](s,s.exports,n),s.loaded=!0,s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";class e extends EventTarget{constructor(){super(),this.actions=Object.seal({"deselect-all":{enabled:!1,shortcut:"Control+A",text:"Deselect all"},"move-bottom":{enabled:!1,text:"Move to the back of the queue"},"move-down":{enabled:!1,text:"Move down in the queue"},"move-top":{enabled:!1,text:"Move to the front of the queue"},"move-up":{enabled:!1,text:"Move up in the queue"},"open-torrent":{enabled:!0,shortcut:"Alt+O",text:"Open torrent…"},"pause-all-torrents":{enabled:!1,text:"Pause all"},"pause-selected-torrents":{enabled:!1,shortcut:"Alt+U",text:"Pause"},"reannounce-selected-torrents":{enabled:!1,text:"Ask tracker for more peers"},"remove-selected-torrents":{enabled:!1,text:"Remove from list…"},"resume-selected-torrents":{enabled:!1,shortcut:"Alt+R",text:"Resume"},"resume-selected-torrents-now":{enabled:!1,text:"Resume now"},"select-all":{enabled:!1,shortcut:"Alt+A",text:"Select all"},"show-about-dialog":{enabled:!0,text:"About"},"show-inspector":{enabled:!0,shortcut:"Alt+I",text:"Torrent Inspector"},"show-labels-dialog":{enabled:!1,text:"Edit Labels…"},"show-move-dialog":{enabled:!1,shortcut:"Alt+L",text:"Set location…"},"show-overflow-menu":{enabled:!0,text:"More options…"},"show-preferences-dialog":{enabled:!0,shortcut:"Alt+P",text:"Edit preferences"},"show-rename-dialog":{enabled:!1,shortcut:"Alt+N",text:"Rename…"},"show-shortcuts-dialog":{enabled:!0,text:"Keyboard shortcuts"},"show-statistics-dialog":{enabled:!0,shortcut:"Alt+S",text:"Statistics"},"start-all-torrents":{enabled:!1,text:"Start all"},"toggle-compact-rows":{enabled:!0,text:"Compact rows"},"trash-selected-torrents":{enabled:!1,text:"Trash data and remove from list…"},"verify-selected-torrents":{enabled:!1,shortcut:"Alt+V",text:"Verify local data"}})}click(e){if(this.isEnabled(e)){const t=new Event("click");t.action=e,this.dispatchEvent(t)}}getActionForShortcut(e){for(const[t,n]of Object.entries(this.actions))if(e===n.shortcut)return t;return null}allShortcuts(){return new Map(Object.entries(this.actions).filter((([,e])=>e.shortcut)).map((([e,t])=>[t.shortcut,e])))}isEnabled(e){return this._getAction(e).enabled}text(e){return this._getAction(e).text}keyshortcuts(e){return this._getAction(e).shortcut}update(t){const n=e._recount(t.selected,t.nonselected);this._updateStates(n)}_getAction(e){const t=this.actions[e];if(!t)throw new Error(`no such action: ${e}`);return t}static _recount(e,t){const n=e.length+t.length,r=e.filter((e=>e.isStopped())).length,o=e.length-r,s=t.filter((e=>e.isStopped())).length,i=t.length-s,a=r+s,l=o+i,c=e.filter((e=>e.isQueued())).length;return{active:l,nonselected_active:i,nonselected_paused:s,paused:a,selected:e.length,selected_active:o,selected_paused:r,selected_queued:c,total:n}}_updateStates(e){const t=(e,t)=>{for(const n of t)this._updateActionState(n,e)};t(e.selected_paused>0,["resume-selected-torrents"]),t(e.paused>0,["start-all-torrents"]),t(e.active>0,["pause-all-torrents"]),t(e.selected_paused>0||e.selected_queued>0,["resume-selected-torrents-now"]),t(e.selected_active>0,["pause-selected-torrents","reannounce-selected-torrents"]),t(e.selected>0,["deselect-all","move-bottom","move-down","move-top","move-up","remove-selected-torrents","show-inspector","show-labels-dialog","show-move-dialog","trash-selected-torrents","verify-selected-torrents"]),t(1===e.selected,["show-rename-dialog"]),t(e.selected<e.total,["select-all"])}_updateActionState(e,t){const n=this.actions[e];if(!n)throw new Error(`no such action: ${e}`);if(n.enabled!==t){n.enabled=t;const r=new Event("change");r.action=e,r.enabled=t,this.dispatchEvent(r)}}}var t=n(307),r=n.n(t);const o={ratio(e,t){let n=Math.floor(100*e/t)/100;return n===Number.POSITIVE_INFINITY||n===Number.NEGATIVE_INFINITY?n=-2:Number.isNaN(n)&&(n=-1),n},setInnerHTML(e,t){e&&e.currentHTML!==t&&(e.currentHTML=t,e.innerHTML=t)}};function s(e,t,n){const r=document.createElement("div");r.id=e,r.classList.add("tabs-container");const o=document.createElement("div");o.classList.add("tabs-buttons"),r.append(o);const s=document.createElement("div");s.classList.add("tabs-pages"),r.append(s);const i=[];for(const[e,r]of t){const t=document.createElement("button");t.id=e,t.classList.add("tabs-button"),t.setAttribute("type","button"),o.append(t),i.push(t),r.classList.add("hidden","tabs-page"),s.append(r),t.addEventListener("click",(()=>{for(const e of o.children)e.classList.toggle("selected",e===t);for(const e of s.children)e.classList.toggle("hidden",e!==r);n&&n(r)}))}return i[0].classList.add("selected"),s.children[0].classList.remove("hidden"),{buttons:i,root:r}}function i(e){const t=document.createElement("dialog");t.classList.add("dialog-container","popup",e),t.open=!0,t.setAttribute("role","dialog");const n=document.createElement("div");n.classList.add("dialog-window"),t.append(n);const r=document.createElement("div");r.classList.add("dialog-logo"),n.append(r);const o=document.createElement("div");o.classList.add("dialog-heading"),n.append(o);const s=document.createElement("div");s.classList.add("dialog-message"),n.append(s);const i=document.createElement("div");i.classList.add("dialog-workarea"),n.append(i);const a=document.createElement("div");a.classList.add("dialog-buttons"),n.append(a);const l=document.createElement("span");l.classList.add("dialog-buttons-begin"),a.append(l);const c=document.createElement("button");c.classList.add("dialog-dismiss-button"),c.textContent="Cancel",a.append(c);const d=document.createElement("button");d.textContent="OK",a.append(d);const A=document.createElement("span");return A.classList.add("dialog-buttons-end"),a.append(A),{confirm:d,dismiss:c,heading:o,message:s,root:t,workarea:i}}function a(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}function l(e,t){const n=[],{root:r,content:o}=function(e){const t=document.createElement("fieldset");t.classList.add("section");const n=document.createElement("legend");n.classList.add("title"),n.textContent=e,t.append(n);const r=document.createElement("div");return r.classList.add("content"),t.append(r),{content:r,root:t}}(e);for(const e of t){const t=document.createElement("label");t.textContent=e,o.append(t);const r=document.createElement("div");r.id=a(),o.append(r),t.setAttribute("for",r.id),n.push(r)}return{children:n,root:r}}function c(e,t=100){let n=null;return(...r)=>{n||(n=setTimeout((()=>{n=null,e(r)}),t))}}function d(e,t){return r()(e,t)}function A(e,t,n){n?e.setAttribute(t,!0):e.removeAttribute(t)}function p(e,t){A(e,"disabled",!t)}function u(e,t){A(e,"checked",t)}function g(e,t,n,r){const o=function(e,t){let{x:n,y:r}=e;const{width:o,height:s}=e;return n>t.x+t.width-o&&n-o>=t.x?n-=o:n=Math.min(n,t.x+t.width-o),r>t.y+t.height-s&&r-s>=t.y?r-=s:r=Math.min(r,t.y+t.height-s),new DOMRect(n,r,o,s)}(new DOMRect(t,n,e.clientWidth,e.clientHeight),r.getBoundingClientRect());e.style.left=`${o.left}px`,e.style.top=`${o.top}px`}class m extends EventTarget{constructor(e){super(),this.listener=t=>{e.contains(t.target)||(this.dispatchEvent(new MouseEvent(t.type,t)),t.preventDefault())},Object.seal(this),this.start()}start(){setTimeout((()=>document.addEventListener("click",this.listener)),0)}stop(){document.removeEventListener("click",this.listener)}}function h(e,t){e.textContent!==t&&(e.textContent=t)}class f{constructor(e){this._prefs=e,this._elements={toggle:document.querySelector("#toggle-notifications")}}_setEnabled(e){this.prefs.notifications_enabled=e,h(this._toggle,(e?"Disable":"Enable")+" Notifications")}_requestPermission(){Notification.requestPermission().then((e=>this._setEnabled("granted"===e)))}toggle(){this._enabled?this._setEnabled(!1):"granted"===Notification.permission?this._setEnabled(!0):"denied"!==Notification.permission&&this._requestPermission()}}class b extends EventTarget{constructor(){super(),this._cache={},this.dispatchPrefsChange=c(((e,t,n)=>{const r=new Event("change");Object.assign(r,{key:e,old_value:t,value:n}),this.dispatchEvent(r)}));for(const[e,t]of Object.entries(b._Defaults))this._set(e,b._getCookie(e,t)),Object.defineProperty(this,e.replaceAll("-","_"),{get:()=>this._get(e),set:t=>{this._set(e,t)}});Object.seal(this)}entries(){return Object.entries(this._cache)}keys(){return Object.keys(this._cache)}_get(e){const{_cache:t}=this;if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error(e);return t[e]}_set(e,t){const{_cache:n}=this,r=n[e];r!==t&&(n[e]=t,b._setCookie(e,t),this.dispatchPrefsChange(e,r,t))}static _setCookie(e,t){const n=new Date;n.setFullYear(n.getFullYear()+1),document.cookie=`${e}=${t}; SameSite=Strict; expires=${n.toGMTString()}`}static _getCookie(e,t){const n=b._readCookie(e);return null===n?t:"true"===n||"false"!==n&&(/^\d+$/.test(n)?Number.parseInt(n,10):n)}static _readCookie(e){const t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():null}}b.AltSpeedEnabled="alt-speed-enabled",b.DisplayCompact="compact",b.DisplayFull="full",b.DisplayMode="display-mode",b.FilterActive="active",b.FilterAll="all",b.FilterDownloading="downloading",b.FilterFinished="finished",b.FilterMode="filter-mode",b.FilterPaused="paused",b.FilterSeeding="seeding",b.NotificationsEnabled="notifications-enabled",b.RefreshRate="refresh-rate-sec",b.SortAscending="ascending",b.SortByActivity="activity",b.SortByAge="age",b.SortByName="name",b.SortByProgress="progress",b.SortByQueue="queue",b.SortByRatio="ratio",b.SortBySize="size",b.SortByState="state",b.SortDescending="descending",b.SortDirection="sort-direction",b.SortMode="sort-mode",b._Defaults={[b.AltSpeedEnabled]:!1,[b.DisplayMode]:b.DisplayFull,[b.FilterMode]:b.FilterAll,[b.NotificationsEnabled]:!1,[b.RefreshRate]:5,[b.SortDirection]:b.SortAscending,[b.SortMode]:b.SortByName};class C extends EventTarget{constructor(e){super(),this.elements=C._create(e),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),document.body.append(this.elements.root),this.elements.dismiss.focus()}close(){this.elements.root.remove(),this.dispatchEvent(new Event("close")),delete this.elements}_onDismiss(){this.close()}static _create(e){const t=i("about-dialog");t.root.setAttribute("aria-label","About transmission"),t.heading.textContent="Transmission",t.dismiss.textContent="Close";let n=document.createElement("div");return n.classList.add("about-dialog-version-number"),n.textContent=e.version,t.heading.append(n),n=document.createElement("div"),n.classList.add("about-dialog-version-checksum"),n.textContent=e.checksum,t.heading.append(n),n=document.createElement("div"),n.textContent="A fast and easy bitTorrent client",t.workarea.append(n),n=document.createElement("div"),n.textContent="Copyright © The Transmission Project",t.workarea.append(n),t.confirm.remove(),delete t.confirm,t}}class v extends EventTarget{constructor(e){super(),this.action_listener=this._update.bind(this),this.action_manager=e,this.action_manager.addEventListener("change",this.action_listener),Object.assign(this,this._create()),this.show()}show(){for(const[e,t]of Object.entries(this.actions))p(t,this.action_manager.isEnabled(e));document.body.append(this.root)}close(){if(!this.closed){this.action_manager.removeEventListener("change",this.action_listener),this.root.remove(),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))delete this[e];this.closed=!0}}_update(e){const t=this.actions[e.action];t&&p(t,e.enabled)}_create(){const e=document.createElement("div");e.role="menu",e.classList.add("context-menu","popup");const t={},n=n=>{const r=document.createElement("div"),o=this.action_manager.text(n);r.role="menuitem",r.classList.add("context-menuitem"),r.dataset.action=n,r.textContent=o;const s=this.action_manager.keyshortcuts(n);s&&r.setAttribute("aria-keyshortcuts",s),r.addEventListener("click",(()=>{this.action_manager.click(n),this.close()})),t[n]=r,e.append(r)},r=()=>{const t=document.createElement("div");t.classList.add("context-menu-separator"),e.append(t)};return n("resume-selected-torrents"),n("resume-selected-torrents-now"),n("pause-selected-torrents"),r(),n("move-top"),n("move-up"),n("move-down"),n("move-bottom"),r(),n("remove-selected-torrents"),n("trash-selected-torrents"),r(),n("verify-selected-torrents"),n("show-move-dialog"),n("show-rename-dialog"),n("show-labels-dialog"),r(),n("reannounce-selected-torrents"),r(),n("select-all"),n("deselect-all"),{actions:t,root:e}}}const y=new Intl.PluralRules,E=y.resolvedOptions().locale,w=new Intl.NumberFormat(E),x=1e3,k=[new Intl.NumberFormat(E,{maximumFractionDigits:0,style:"unit",unit:"byte"}),new Intl.NumberFormat(E,{maximumFractionDigits:0,style:"unit",unit:"kilobyte"}),new Intl.NumberFormat(E,{maximumFractionDigits:0,style:"unit",unit:"megabyte"}),new Intl.NumberFormat(E,{maximumFractionDigits:2,style:"unit",unit:"gigabyte"}),new Intl.NumberFormat(E,{maximumFractionDigits:2,style:"unit",unit:"terabyte"}),new Intl.NumberFormat(E,{maximumFractionDigits:2,style:"unit",unit:"petabyte"})],M=new Intl.NumberFormat(E,{maximumFractionDigits:2,style:"unit",unit:"kilobyte-per-second"}),S=new Intl.NumberFormat(E,{maximumFractionDigits:2,style:"unit",unit:"megabyte-per-second"}),I={_toTruncFixed:(e,t)=>(Math.floor(e*10**t)/10**t).toFixed(t),countString(e,t,n){return`${this.number(n)} ${this.ngettext(e,t,n)}`},mem(e){if(e<0)return"Unknown";if(0===e)return"None";let t=e;for(const e of k){if(t<x)return e.format(t);t/=x}return"E2BIG"},ngettext:(e,t,n)=>"one"===y.select(n)?e:t,number:e=>w.format(e),percentString(e){const t=e<100?1:0;return this._toTruncFixed(e,t)},ratioString(e){return-1===e?"None":-2===e?"&infin;":this.percentString(e)},size(e){return this.mem(e)},speed:e=>e<999.95?M.format(e):S.format(e/1e3),speedBps(e){return this.speed(this.toKBps(e))},timeInterval(e){const t=Math.floor(e/86400);if(t)return this.countString("day","days",t);const n=Math.floor(e%86400/3600);if(n)return this.countString("hour","hours",n);const r=Math.floor(e%3600/60);return r?this.countString("minute","minutes",r):(e=Math.floor(e%60),this.countString("second","seconds",e))},timestamp(e){if(!e)return"N/A";const t=new Date(1e3*e),n=new Date;let r="",o="";const s=n.getFullYear()===t.getFullYear(),i=n.getMonth()===t.getMonth(),a=n.getDate()-t.getDate();r=s&&i&&Math.abs(a)<=1?0===a?"Today":1===a?"Yesterday":"Tomorrow":t.toDateString();let l=t.getHours(),c="AM";l>12&&(l-=12,c="PM"),0===l&&(l=12),l<10&&(l=`0${l}`);let d=t.getMinutes();return d<10&&(d=`0${d}`),(e=t.getSeconds())<10&&(e=`0${e}`),o=[l,d,e].join(":"),[r,o,c].join(" ")},toKBps:e=>Math.floor(e/x)};class B extends EventTarget{isDone(){return this.fields.have>=this.fields.size}isEditable(){return this.fields.torrent.getFileCount()>1&&!this.isDone()}refreshWantedHTML(){const e=this.elements.root;e.classList.toggle("skip",!this.fields.isWanted),e.classList.toggle("complete",this.isDone()),p(e.checkbox,this.isEditable()),e.checkbox.checked=this.fields.isWanted}refreshProgressHTML(){const{size:e,have:t}=this.fields,n=100*(e?t/e:1),r=I,o=`${r.size(t)} of ${r.size(e)} (${r.percentString(n)}%)`;h(this.elements.progress,o)}refresh(){let e=0,t=!1,n=!1,r=!1,o=0,s=!1;const i=this.fields.torrent.getFiles();for(const a of this.fields.indices){const l=i[a];switch(e+=l.bytesCompleted,o+=l.length,s|=l.wanted,l.priority){case-1:n=!0;break;case 1:t=!0;break;default:r=!0}}u(this.elements.priority_low_button,n),u(this.elements.priority_normal_button,r),u(this.elements.priority_high_button,t),this.fields.have===e&&this.fields.size===o||(this.fields.have=e,this.fields.size=o,this.refreshProgressHTML()),this.fields.isWanted!==s&&(this.fields.isWanted=s,this.refreshWantedHTML())}fireWantedChanged(e){const t=new Event("wantedToggled");t.indices=[...this.fields.indices],t.wanted=e,this.dispatchEvent(t)}firePriorityChanged(e){const t=new Event("priorityToggled");t.indices=[...this.fields.indices],t.priority=e,this.dispatchEvent(t)}createRow(e,t,n,r){const o=document.createElement("li");o.classList.add("inspector-torrent-file-list-entry",r?"even":"odd"),this.elements.root=o;let s=document.createElement("input");const i=a();s.type="checkbox",s.className="file-wanted-control",s.title="Download file",s.id=i,s.addEventListener("change",(e=>this.fireWantedChanged(e.target.checked))),o.checkbox=s,o.append(s),s=document.createElement("label"),s.className="inspector-torrent-file-list-entry-name",s.setAttribute("for",i),h(s,n),o.append(s),s=document.createElement("div"),s.className="inspector-torrent-file-list-entry-progress",o.append(s),this.elements.progress=s,s=document.createElement("div"),s.className="file-priority-radiobox";const l=s,c=e=>this.firePriorityChanged(e.target.value);s=document.createElement("input"),s.type="radio",s.value=-1,s.className="low",s.title="Low Priority",s.addEventListener("click",c),this.elements.priority_low_button=s,l.append(s),s=document.createElement("input"),s.type="radio",s.value=0,s.className="normal",s.title="Normal Priority",s.addEventListener("click",c),this.elements.priority_normal_button=s,l.append(s),s=document.createElement("input"),s.type="radio",s.value=1,s.title="High Priority",s.className="high",s.addEventListener("click",c),this.elements.priority_high_button=s,l.append(s),o.append(l),o.style.paddingLeft=20*t+"px",this.refresh()}getElement(){return this.elements.root}constructor(e,t,n,r,o){super(),this.fields={have:0,indices:r,isWanted:!0,size:0,torrent:e},this.elements={priority_high_button:null,priority_low_button:null,priority_normal_button:null,progress:null,root:null},this.createRow(e,t,n,o)}}class D extends EventTarget{constructor(e){super(),this.fieldObservers={},this.fields={},this.refresh(e)}notifyOnFieldChange(e,t){this.fieldObservers[e]=this.fieldObservers[e]||[],this.fieldObservers[e].push(t)}setField(e,t,n){const r=e[t];if(d(r,n))return!1;const o=this.fieldObservers[t];if(e===this.fields&&o&&o.length>0)for(const e of o)e.call(this,n,r,t);return e[t]=n,!0}updateFiles(e){let t=!1;const n=this.fields.files||[],r=["length","name","bytesCompleted","wanted","priority"];for(const[o,s]of e.entries()){const e=n[o]||{};for(const n of r)n in s&&(t|=this.setField(e,n,s[n]));n[o]=e}return this.fields.files=n,t}static collateTrackers(e){return e.map((e=>e.announce.toLowerCase())).join("\t")}refreshFields(e){let t=!1;for(const[n,r]of Object.entries(e))switch(n){case"files":case"fileStats":t|=this.updateFiles(r);break;case"trackerStats":t|=this.setField(this.fields,"trackers",r);break;case"trackers":n in this.fields||(t|=this.setField(this.fields,n,r));break;case"name":this.setField(this.fields,n,e[n])&&(this.fields.collatedName="",t=!0);break;default:t|=this.setField(this.fields,n,r)}return t}refresh(e){this.refreshFields(e)&&this.dispatchEvent(new Event("dataChanged"))}getComment(){return this.fields.comment}getCreator(){return this.fields.creator}getDateAdded(){return this.fields.addedDate}getDateCreated(){return this.fields.dateCreated}getDesiredAvailable(){return this.fields.desiredAvailable}getDownloadDir(){return this.fields.downloadDir}getDownloadSpeed(){return this.fields.rateDownload}getDownloadedEver(){return this.fields.downloadedEver}getError(){return this.fields.error}getErrorString(){return this.fields.errorString}getETA(){return this.fields.eta}getFailedEver(){return this.fields.corruptEver}getFiles(){return this.fields.files||[]}getFile(e){return this.fields.files[e]}getFileCount(){return this.fields["file-count"]}getHashString(){return this.fields.hashString}getHave(){return this.getHaveValid()+this.getHaveUnchecked()}getHaveUnchecked(){return this.fields.haveUnchecked}getHaveValid(){return this.fields.haveValid}getId(){return this.fields.id}getLabels(){return this.fields.labels.sort()}getLastActivity(){return this.fields.activityDate}getLeftUntilDone(){return this.fields.leftUntilDone}getMagnetLink(){return this.fields.magnetLink}getMetadataPercentComplete(){return this.fields.metadataPercentComplete}getName(){return this.fields.name||"Unknown"}getPeers(){return this.fields.peers||[]}getPeersConnected(){return this.fields.peersConnected}getPeersGettingFromUs(){return this.fields.peersGettingFromUs}getPeersSendingToUs(){return this.fields.peersSendingToUs}getPieceCount(){return this.fields.pieceCount}getPieceSize(){return this.fields.pieceSize}getPrimaryMimeType(){return this.fields["primary-mime-type"]}getPrivateFlag(){return this.fields.isPrivate}getQueuePosition(){return this.fields.queuePosition}getRecheckProgress(){return this.fields.recheckProgress}getSeedRatioLimit(){return this.fields.seedRatioLimit}getSeedRatioMode(){return this.fields.seedRatioMode}getSizeWhenDone(){return this.fields.sizeWhenDone}getStartDate(){return this.fields.startDate}getStatus(){return this.fields.status}getTotalSize(){return this.fields.totalSize}getTrackers(){return this.fields.trackers||[]}getUploadSpeed(){return this.fields.rateUpload}getUploadRatio(){return this.fields.uploadRatio}getUploadedEver(){return this.fields.uploadedEver}getWebseedsSendingToUs(){return this.fields.webseedsSendingToUs}isFinished(){return this.fields.isFinished}hasExtraInfo(){return"hashString"in this.fields}isSeeding(){return this.getStatus()===D._StatusSeed}isStopped(){return this.getStatus()===D._StatusStopped}isChecking(){return this.getStatus()===D._StatusCheck}isDownloading(){return this.getStatus()===D._StatusDownload}isQueued(){return this.getStatus()===D._StatusDownloadWait||this.getStatus()===D._StatusSeedWait}isDone(){return this.getLeftUntilDone()<1}needsMetaData(){return this.getMetadataPercentComplete()<1}getActivity(){return this.getDownloadSpeed()+this.getUploadSpeed()}getPercentDoneStr(){return I.percentString(100*this.getPercentDone())}getPercentDone(){return this.fields.percentDone}getStateString(){switch(this.getStatus()){case D._StatusStopped:return this.isFinished()?"Seeding complete":"Paused";case D._StatusCheckWait:return"Queued for verification";case D._StatusCheck:return"Verifying local data";case D._StatusDownloadWait:return"Queued for download";case D._StatusDownload:return"Downloading";case D._StatusSeedWait:return"Queued for seeding";case D._StatusSeed:return"Seeding";case null:return"Unknown";default:return"Error"}}seedRatioLimit(e){switch(this.getSeedRatioMode()){case D._RatioUseGlobal:return e.seedRatioLimit();case D._RatioUseLocal:return this.getSeedRatioLimit();default:return-1}}getErrorMessage(){const e=this.getErrorString();switch(this.getError()){case D._ErrTrackerWarning:return`Tracker returned a warning: ${e}`;case D._ErrTrackerError:return`Tracker returned an error: ${e}`;case D._ErrLocalError:return`Error: ${e}`;default:return null}}getCollatedName(){const e=this.fields;return!e.collatedName&&e.name&&(e.collatedName=e.name.toLowerCase()),e.collatedName||""}getCollatedTrackers(){const e=this.fields;return!e.collatedTrackers&&e.trackers&&(e.collatedTrackers=D.collateTrackers(e.trackers)),e.collatedTrackers||""}testState(e){const t=this.getStatus();switch(e){case b.FilterActive:return this.getPeersGettingFromUs()>0||this.getPeersSendingToUs()>0||this.getWebseedsSendingToUs()>0||this.isChecking();case b.FilterSeeding:return t===D._StatusSeed||t===D._StatusSeedWait;case b.FilterDownloading:return t===D._StatusDownload||t===D._StatusDownloadWait;case b.FilterPaused:return this.isStopped();case b.FilterFinished:return this.isFinished();default:return!0}}test(e,t,n,r){let o=this.testState(e);if(o&&n&&(o=this.getCollatedName().includes(n.toLowerCase())),o){const e=this.getLabels();e.length>0&&(o=r.some((t=>e.includes(t))))}return o&&t&&t.length>0&&(o=this.getCollatedTrackers().includes(t)),o}static compareById(e,t){return e.getId()-t.getId()}static compareByName(e,t){return e.getCollatedName().localeCompare(t.getCollatedName())||D.compareById(e,t)}static compareByQueue(e,t){return e.getQueuePosition()-t.getQueuePosition()}static compareByAge(e,t){const n=e.getDateAdded();return t.getDateAdded()-n||D.compareByQueue(e,t)}static compareByState(e,t){const n=e.getStatus();return t.getStatus()-n||D.compareByQueue(e,t)}static compareByActivity(e,t){const n=e.getActivity();return t.getActivity()-n||D.compareByState(e,t)}static compareByRatio(e,t){const n=e.getUploadRatio(),r=t.getUploadRatio();return n<r?1:n>r?-1:D.compareByState(e,t)}static compareByProgress(e,t){return e.getPercentDone()-t.getPercentDone()||D.compareByRatio(e,t)}static compareBySize(e,t){return e.getTotalSize()-t.getTotalSize()||D.compareByName(e,t)}static compareTorrents(e,t,n,r){let o=0;switch(n){case b.SortByActivity:o=D.compareByActivity(e,t);break;case b.SortByAge:o=D.compareByAge(e,t);break;case b.SortByQueue:o=D.compareByQueue(e,t);break;case b.SortByProgress:o=D.compareByProgress(e,t);break;case b.SortBySize:o=D.compareBySize(e,t);break;case b.SortByState:o=D.compareByState(e,t);break;case b.SortByRatio:o=D.compareByRatio(e,t);break;case b.SortByName:o=D.compareByName(e,t);break;default:console.log(`Unrecognized sort mode: ${n}`),o=D.compareByName(e,t)}return r===b.SortDescending&&(o=-o),o}static sortTorrents(e,t,n){switch(t){case b.SortByActivity:e.sort(this.compareByActivity);break;case b.SortByAge:e.sort(this.compareByAge);break;case b.SortByName:e.sort(this.compareByName);break;case b.SortByProgress:e.sort(this.compareByProgress);break;case b.SortByQueue:e.sort(this.compareByQueue);break;case b.SortByRatio:e.sort(this.compareByRatio);break;case b.SortBySize:e.sort(this.compareBySize);break;case b.SortByState:e.sort(this.compareByState);break;default:console.log(`Unrecognized sort mode: ${t}`),e.sort(this.compareByName)}return n===b.SortDescending&&e.reverse(),e}}D._StatusStopped=0,D._StatusCheckWait=1,D._StatusCheck=2,D._StatusDownloadWait=3,D._StatusDownload=4,D._StatusSeedWait=5,D._StatusSeed=6,D._RatioUseGlobal=0,D._RatioUseLocal=1,D._RatioUnlimited=2,D._ErrNone=0,D._ErrTrackerWarning=1,D._ErrTrackerError=2,D._ErrLocalError=3,D._TrackerInactive=0,D._TrackerWaiting=1,D._TrackerQueued=2,D._TrackerActive=3,D.Fields={},D.Fields.Metadata=["addedDate","file-count","name","primary-mime-type","totalSize"],D.Fields.Stats=["error","errorString","eta","isFinished","isStalled","labels","leftUntilDone","metadataPercentComplete","peersConnected","peersGettingFromUs","peersSendingToUs","percentDone","queuePosition","rateDownload","rateUpload","recheckProgress","seedRatioMode","seedRatioLimit","sizeWhenDone","status","trackers","downloadDir","uploadedEver","uploadRatio","webseedsSendingToUs"],D.Fields.InfoExtra=["comment","creator","dateCreated","files","hashString","isPrivate","magnetLink","pieceCount","pieceSize"],D.Fields.StatsExtra=["activityDate","corruptEver","desiredAvailable","downloadedEver","fileStats","haveUnchecked","haveValid","peers","startDate","trackerStats"];const T=["encryption","speed-up","speed-down","percent-done","status","peer-address","peer-app-name"];class L extends EventTarget{constructor(e){super(),this.closed=!1,this.controller=e,this.elements=this._create(),this.current_page=this.elements.info.root,this.interval=setInterval(this._refreshTorrents.bind(this),3e3),this.name="inspector",this.selection_listener=e=>this._setTorrents(e.selected),this.torrent_listener=()=>this._updateCurrentPage(),this.torrents=[],this.file_torrent=null,this.file_torrent_n=null,this.file_rows=null,this.outside=new m(this.elements.root),this.outside.addEventListener("click",(()=>this.close())),Object.seal(this),e.addEventListener("torrent-selection-changed",this.selection_listener),this._setTorrents(this.controller.getSelectedTorrents()),document.body.append(this.elements.root)}close(){if(!this.closed){this.outside.stop(),clearInterval(this.interval),this._setTorrents([]),this.elements.root.remove(),this.controller.removeEventListener("torrent-selection-changed",this.selection_listener),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))this[e]=null;this.closed=!0}}static _createInfoPage(){const e=document.createElement("div");e.classList.add("inspector-info-page");const t={root:e},n=t=>{const n=document.createElement("div");n.textContent=t,n.classList.add("section-label"),e.append(n)},r=t=>{const n=document.createElement("label");h(n,t),e.append(n);const r=document.createElement("label");return e.append(r),r};n("Activity");let o=[["have","Have:"],["availability","Availability:"],["uploaded","Uploaded:"],["downloaded","Downloaded:"],["state","State:"],["running_time","Running time:"],["remaining_time","Remaining:"],["last_activity","Last activity:"],["error","Error:"]];for(const[e,n]of o)t[e]=r(n);n("Details"),o=[["size","Size:"],["location","Location:"],["hash","Hash:"],["privacy","Privacy:"],["origin","Origin:"],["magnetLink","Magnet:"],["comment","Comment:"],["labels","Labels:"]];for(const[e,n]of o)t[e]=r(n);return t}static _createListPage(e,t){const n=document.createElement("div"),r=document.createElement(e);return r.id=t,n.append(r),{list:r,root:n}}static _createTiersPage(){return L._createListPage("div","inspector-tiers-list")}static _createFilesPage(){return L._createListPage("ul","inspector-file-list")}static _createPeersPage(){const e=document.createElement("table");e.classList.add("peer-list");const t=document.createElement("thead"),n=document.createElement("tr"),r=["","Up","Down","Done","Status","Address","Client"];for(const[e,t]of r.entries()){const r=document.createElement("th"),o=T[e];"encryption"===o&&(r.dataset.encrypted=!0),r.classList.add(o),h(r,t),n.append(r)}const o=document.createElement("tbody");return t.append(n),e.append(t),e.append(o),{root:e,tbody:o}}_create(){const e={files:L._createFilesPage(),info:L._createInfoPage(),peers:L._createPeersPage(),tiers:L._createTiersPage()};return{...s("inspector",[["inspector-tab-info",e.info.root],["inspector-tab-peers",e.peers.root],["inspector-tab-tiers",e.tiers.root],["inspector-tab-files",e.files.root]],(e=>{this.current_page=e,this._updateCurrentPage()}).bind(this)),...e}}_setTorrents(e){const t="dataChanged",n=this.torrent_listener;for(const e of this.torrents)e.removeEventListener(t,n);this.torrents=[...e];for(const e of this.torrents)e.addEventListener(t,n);this._refreshTorrents(),this._updateCurrentPage()}static _needsExtraInfo(e){return e.some((e=>!e.hasExtraInfo()))}_refreshTorrents(){const{controller:e,torrents:t}=this,n=t.map((e=>e.getId()));if(n&&n.length>0){const r=["id",...D.Fields.StatsExtra];L._needsExtraInfo(t)&&r.push(...D.Fields.InfoExtra),e.updateTorrents(n,r)}}_updateCurrentPage(){const{current_page:e,elements:t}=this;switch(e){case t.files.root:this._updateFiles();break;case t.info.root:this._updateInfo();break;case t.peers.root:this._updatePeers();break;case t.tiers.root:this._updateTiers();break;default:console.warn("unexpected page"),console.log(e)}}_updateInfo(){const e="None",t="Mixed",n="Unknown",r=I,s=Date.now(),{elements:i,torrents:a}=this,l=a.reduce(((e,t)=>e+t.getSizeWhenDone()),0);let c=null;if(0===a.length)c=e;else if(a.every((e=>e.isFinished())))c="Finished";else if(a.every((e=>e.isStopped())))c="Paused";else{const e=e=>e.getStateString(),n=e(a[0]);c=a.every((t=>e(t)===n))?n:t}h(i.info.state,c);const d=c;if(0===a.length)c=e;else{const e=a.reduce(((e,t)=>e+t.getHaveValid()),0),t=a.reduce(((e,t)=>e+t.getHaveUnchecked()),0),n=a.reduce(((e,t)=>e+t.getLeftUntilDone()),0),o=100*(l?(l-n)/l:1);c=r.percentString(o),c=t||n?t?`${r.size(e)} of ${r.size(l)} (${c}%), ${r.size(t)} Unverified`:`${r.size(e)} of ${r.size(l)} (${c}%)`:`${r.size(e)} (100%)`}if(h(i.info.have,c),0===a.length)c=e;else if(0===l)c=e;else{const e=a.reduce(((e,t)=>t.getHave()+t.getDesiredAvailable()),0);c=`${r.percentString(100*e/l)}%`}if(h(i.info.availability,c),0===a.length)c=e;else{const e=a.reduce(((e,t)=>e+t.getDownloadedEver()),0),t=a.reduce(((e,t)=>e+t.getFailedEver()),0);c=t?`${r.size(e)} (+${r.size(t)} discarded after failed checksum)`:r.size(e)}if(h(i.info.downloaded,c),0===a.length)c=e;else{const e=a.reduce(((e,t)=>e+t.getUploadedEver()),0),t=a.reduce(((e,t)=>e+t.getDownloadedEver()),0)||a.reduce(((e,t)=>e+t.getHaveValid()),0);c=`${r.size(e)} (Ratio: ${r.ratioString(o.ratio(e,t))})`}if(h(i.info.uploaded,c),0===a.length)c=e;else if(a.every((e=>e.isStopped())))c=d;else{const e=e=>e.getStartDate(),n=e(a[0]);c=a.every((t=>e(t)===n))?r.timeInterval(s/1e3-n):t}if(h(i.info.running_time,c),0===a.length)c=e;else{const e=e=>e.getETA(),o=e(a[0]);c=a.every((t=>e(t)===o))?o<0?n:r.timeInterval(o):t}if(h(i.info.remaining_time,c),0===a.length)c=e;else{const t=a.reduce(((e,t)=>Math.max(e,t.getLastActivity())),-1),n=Math.floor(s/1e3);if(0<t&&t<=n){const e=n-t;c=e<5?"Active now":`${r.timeInterval(e)} ago`}else c=e}if(h(i.info.last_activity,c),0===a.length)c=e;else{const e=e=>e.getErrorString(),n=e(a[0]);c=a.every((t=>e(t)===n))?n:t}if(h(i.info.error,c||e),0===a.length)c=e;else{const e=a.reduce(((e,t)=>e+t.getTotalSize()),0);if(e){const t=e=>e.getPieceSize(),n=a.reduce(((e,t)=>e+t.getPieceCount()),0),o=r.number(n),s=t(a[0]);c=a.every((e=>t(e)===s))?`${r.size(e)} (${o} pieces @ ${r.mem(s)})`:`${r.size(e)} (${o} pieces)`}else c="None"}if(h(i.info.size,c),0===a.length)c=e;else{const e=e=>e.getHashString(),n=e(a[0]);c=a.every((t=>e(t)===n))?n:t}if(h(i.info.hash,c),0===a.length)c=e;else{const e=e=>e.getPrivateFlag(),n=e(a[0]);c=a.every((t=>e(t)===n))?n?"Private to this tracker -- DHT and PEX disabled":"Public torrent":t}if(h(i.info.privacy,c),0===a.length)c=e;else{const e=e=>e.getComment(),n=e(a[0]);c=a.every((t=>e(t)===n))?n:t}if(c=c||e,c.startsWith("https://")||c.startsWith("http://")?(c=encodeURI(c),o.setInnerHTML(i.info.comment,`<a href="${c}" target="_blank" >${c}</a>`)):h(i.info.comment,c),c=0===a.length?e:a[0].getLabels().join(", "),h(i.info.labels,c),0===a.length)c=e;else{let e=e=>e.getCreator();const r=e(a[0]),o=!a.every((t=>e(t)===r));e=e=>e.getDateCreated();const s=e(a[0]),i=!a.every((t=>e(t)===s)),l=!r||0===r.length,d=!s;c=o||i?t:l&&d?n:d&&!l?`Created by ${r}`:l&&!d?`Created on ${new Date(1e3*s).toDateString()}`:`Created by ${r} on ${new Date(1e3*s).toDateString()}`}if(h(i.info.origin,c),0===a.length)c=e;else{const e=e=>e.getDownloadDir(),n=e(a[0]);c=a.every((t=>e(t)===n))?n:t}if(h(i.info.location,c),0===a.length)h(i.info.magnetLink,e);else if(a.length>1)h(i.info.magnetLink,t);else{const e=a[0].getMagnetLink();o.setInnerHTML(i.info.magnetLink,`<a class="inspector-info-magnet" href="${e}"><button></button></a>`)}}static _peerStatusTitle(e){const t=Object.seal({"?":"We unchoked this peer, but they're not interested",D:"Downloading from this peer",E:"Encrypted Connection",H:"Peer was discovered through Distributed Hash Table (DHT)",I:"Peer is an incoming connection",K:"Peer has unchoked us, but we're not interested",O:"Optimistic unchoke",T:"Peer is connected via uTP",U:"Uploading to peer",X:"Peer was discovered through Peer Exchange (PEX)",d:"We would download from this peer if they'd let us",u:"We would upload to this peer if they'd ask"});return[...e].filter((e=>t[e])).map((e=>`${e}: ${t[e]}`)).join("\n")}_updatePeers(){const e=I,{elements:t,torrents:n}=this,{tbody:r}=t.peers,o=[(e,t)=>{t.dataset.encrypted=e.isEncrypted},(t,n)=>h(n,t.rateToPeer?e.speedBps(t.rateToPeer):""),(t,n)=>h(n,t.rateToClient?e.speedBps(t.rateToClient):""),(e,t)=>h(t,`${Math.floor(100*e.progress)}%`),(e,t)=>{h(t,e.flagStr),t.setAttribute("title",L._peerStatusTitle(e.flagStr))},(e,t)=>h(t,e.address),(e,t)=>h(t,e.clientName)],s=[];for(const e of n){const t=document.createElement("tr");t.classList.add("torrent-row");const n=document.createElement("td");n.setAttribute("colspan",o.length),h(n,e.getName()),t.append(n),s.push(t);for(const t of e.getPeers()){const e=document.createElement("tr");e.classList.add("peer-row");for(const[n,r]of o.entries()){const o=document.createElement("td");o.classList.add(T[n]),r(t,o),e.append(o)}s.push(e)}for(;r.firstChild;)r.firstChild.remove();r.append(...s)}}static getAnnounceState(e){switch(e.announceState){case D._TrackerActive:return"Announce in progress";case D._TrackerWaiting:{const t=Math.max(0,e.nextAnnounceTime-Date.now()/1e3);return`Next announce in ${I.timeInterval(t)}`}case D._TrackerQueued:return"Announce is queued";case D._TrackerInactive:return e.isBackup?"Tracker will be used as a backup":"Announce not scheduled";default:return`unknown announce state: ${e.announceState}`}}static lastAnnounceStatus(e){let t="Last Announce",n=["N/A"];if(e.hasAnnounced){const r=I.timestamp(e.lastAnnounceTime);e.lastAnnounceSucceeded?n=[r," (got ",I.countString("peer","peers",e.lastAnnouncePeerCount),")"]:(t="Announce error",n=[e.lastAnnounceResult?`${e.lastAnnounceResult} - `:"",r])}return{label:t,value:n.join("")}}static lastScrapeStatus(e){let t="Last Scrape",n="N/A";if(e.hasScraped){const r=I.timestamp(e.lastScrapeTime);e.lastScrapeSucceeded?n=r:(t="Scrape error",n=(e.lastScrapeResult?`${e.lastScrapeResult} - `:"")+r)}return{label:t,value:n}}_updateTiers(){const e="N/A",{list:t}=this.elements.tiers,{torrents:n}=this,r=[];for(const t of n){const o=document.createElement("div");if(o.classList.add("inspector-group"),r.push(o),n.length>1){const e=document.createElement("div");e.classList.add("tier-list-torrent"),h(e,t.getName()),r.push(e)}for(const[n,o]of t.getTrackers().entries()){const t=L.getAnnounceState(o),s=L.lastAnnounceStatus(o),i=L.lastScrapeStatus(o),a=document.createElement("div");a.classList.add("tier-list-row",n%2?"odd":"even");let l=document.createElement("div");l.classList.add("tier-list-tracker"),h(l,`${o.sitename||o.host||o.announce} - tier ${o.tier+1}`),l.setAttribute("title",o.announce),a.append(l),l=document.createElement("div"),l.classList.add("tier-announce"),h(l,`${s.label}: ${s.value}`),a.append(l),l=document.createElement("div"),l.classList.add("tier-seeders"),h(l,`Seeders: ${o.seederCount>-1?o.seederCount:e}`),a.append(l),l=document.createElement("div"),l.classList.add("tier-state"),h(l,t),a.append(l),l=document.createElement("div"),l.classList.add("tier-leechers"),h(l,`Leechers: ${o.leecherCount>-1?o.leecherCount:e}`),a.append(l),l=document.createElement("div"),l.classList.add("tier-scrape"),h(l,`${i.label}: ${i.value}`),a.append(l),l=document.createElement("div"),l.classList.add("tier-downloads"),h(l,`Downloads: ${o.downloadCount>-1?o.downloadCount:e}`),a.append(l),r.push(a)}}for(;t.firstChild;)t.firstChild.remove();t.append(...r)}_changeFileCommand(e,t){const{controller:n,file_torrent:r}=this,o=r.getId();n.changeFileCommand(o,e,t)}_onFileWantedToggled(e){const{indices:t,wanted:n}=e;this._changeFileCommand(t,n?"files-wanted":"files-unwanted")}_onFilePriorityToggled(e){const{indices:t,priority:n}=e;let r=null;switch(n){case-1:r="priority-low";break;case 1:r="priority-high";break;default:r="priority-normal"}this._changeFileCommand(t,r)}_clearFileList(){const{list:e}=this.elements.files;for(;e.firstChild;)e.firstChild.remove();this.file_torrent=null,this.file_torrent_n=null,this.file_rows=null}static createFileTreeModel(e){const t=[],n={children:{},file_indices:[]};for(const[r,o]of e.getFiles().entries()){const{name:e}=o,s=e.split("/");let i=n;for(const[e,t]of s.entries()){let n=i.children[t];n||(i.children[t]=n={children:{},depth:e,file_indices:[],name:t,parent:i}),i=n}i.file_index=r,delete i.children,t.push(i)}for(const e of t){const{file_index:t}=e;let n=e;do{n.file_indices.push(t),n=n.parent}while(n)}return n}addNodeToView(e,t,n,r){const o=new B(e,n.depth,n.name,n.file_indices,r%2);o.addEventListener("wantedToggled",this._onFileWantedToggled.bind(this)),o.addEventListener("priorityToggled",this._onFilePriorityToggled.bind(this)),this.file_rows.push(o),t.append(o.getElement())}addSubtreeToView(e,t,n,r){if(n.parent&&this.addNodeToView(e,t,n,r++),n.children)for(const o of Object.values(n.children))r=this.addSubtreeToView(e,t,o,r);return r}_updateFiles(){const{list:e}=this.elements.files,{file_rows:t,file_torrent:n,file_torrent_n:r,torrents:o}=this;if(1!==o.length)return void this._clearFileList();const[s]=o,i=s.getFiles().length;if(s!==n||i!==r){this._clearFileList(),this.file_torrent=s,this.file_torrent_n=i,this.file_rows=[];const t=document.createDocumentFragment(),n=L.createFileTreeModel(s);this.addSubtreeToView(s,t,n,0),e.append(t)}else for(const e of t)e.refresh()}}let N="";class _ extends EventTarget{constructor(e,t){super(),this.controller=e,this.remote=t,this.elements={},this.torrents=[],this.show()}show(){const e=this.controller.getSelectedTorrents();0!==e.length&&(N=N||e[0].getDownloadDir(),this.torrents=e,this.elements=_._create(),this.elements.confirm.addEventListener("click",(()=>this._onConfirm())),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.elements.entry.value=N,document.body.append(this.elements.root),this.elements.entry.focus())}close(){this.elements.root.remove(),this.dispatchEvent(new Event("close")),delete this.controller,delete this.remote,delete this.elements,delete this.torrents}_onDismiss(){this.close()}_onConfirm(){const e=this.torrents.map((e=>e.getId())),t=this.elements.entry.value.trim();N=t,this.remote.moveTorrents(e,t),this.close()}static _create(){const e=i("move-dialog");e.root.setAttribute("aria-label","Move Torrent"),e.heading.textContent="Set Torrent Location",confirm.textContent="Apply";const t=document.createElement("label");t.setAttribute("for","torrent-path"),t.textContent="Location:",e.workarea.append(t);const n=document.createElement("input");return n.setAttribute("type","text"),n.id="torrent-path",e.entry=n,e.workarea.append(n),e}}class j extends EventTarget{constructor(e){super(),this.elements=j._create(e),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.options=e,document.body.append(this.elements.root),this.elements.dismiss.focus()}close(){if(!this.closed){this.elements.root.remove(),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))delete this[e];this.closed=!0}}_onDismiss(){this.close()}static _create(e){const{heading:t,message:n}=e,r=i("confirm-dialog");return r.confirm.remove(),delete r.confirm,r.heading.textContent=t,r.workarea.textContent=n,r}}class z extends EventTarget{constructor(e,t){super(),this.controller=e,this.remote=t,this.elements=this._create(),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.elements.confirm.addEventListener("click",(()=>this._onConfirm())),this._updateFreeSpaceInAddDialog(),document.body.append(this.elements.root),this.elements.url_input.focus()}close(){if(!this.closed){clearInterval(this.interval),this.elements.root.remove(),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))delete this[e];this.closed=!0}}_onDismiss(){this.close()}_updateFreeSpaceInAddDialog(){const e=this.elements.folder_input.value;this.remote.getFreeSpace(e,((e,t)=>{const n=t>0?`${I.size(t)} Free`:"";this.elements.freespace.textContent=n}))}_onConfirm(){const{controller:e,elements:t,remote:n}=this,{file_input:r,folder_input:o,start_input:s,url_input:i}=t,a=!s.checked,l=o.value.trim();for(const t of r.files){const r=new FileReader;r.addEventListener("load",(r=>{const o=r.target.result,s="base64,",i=o.indexOf(s);if(-1===i)return;const c={arguments:{"download-dir":l,metainfo:o.slice(Math.max(0,i+s.length)),paused:a},method:"torrent-add"};n.sendRequest(c,(n=>{"success"!==n.result&&(alert(`Error adding "${t.name}": ${n.result}`),e.setCurrentPopup(new j({heading:`Error adding "${t.name}"`,message:n.result})))}))})),r.readAsDataURL(t)}let c=i.value.trim();if(c.length>0){/^[\da-f]{40}$/i.test(c)&&(c=`magnet:?xt=urn:btih:${c}`);const t={arguments:{"download-dir":l,filename:c,paused:a},method:"torrent-add"};n.sendRequest(t,(t=>{"success"!==t.result&&e.setCurrentPopup(new j({heading:`Error adding "${c}"`,message:t.result}))}))}this._onDismiss()}_create(){const e=i(),{confirm:t,root:n,heading:r,workarea:o}=e;n.classList.add("open-torrent"),r.textContent="Add Torrents",t.textContent="Add";let s=a(),l=document.createElement("label");l.setAttribute("for",s),l.textContent="Please select torrent files to add:",o.append(l);let c=document.createElement("input");c.type="file",c.name="torrent-files[]",c.id=s,c.multiple="multiple",o.append(c),e.file_input=c,s=a(),l=document.createElement("label"),l.setAttribute("for",s),l.textContent="Or enter a URL:",o.append(l),c=document.createElement("input"),c.type="url",c.id=s,o.append(c),e.url_input=c,c.addEventListener("keyup",(({key:e})=>{"Enter"===e&&t.click()})),s=a(),l=document.createElement("label"),l.id="add-dialog-folder-label",l.for=s,l.textContent="Destination folder:",o.append(l);const d=document.createElement("span");d.id="free-space-text",l.append(d),o.append(l),e.freespace=d,c=document.createElement("input"),c.type="text",c.id="add-dialog-folder-input",c.addEventListener("change",(()=>this._updateFreeSpaceInAddDialog())),c.value=this.controller.session_properties["download-dir"],o.append(c),e.folder_input=c;const A=document.createElement("div");o.append(A);const p=document.createElement("input");return p.type="checkbox",p.id="auto-start-check",p.checked=this.controller.shouldAddedTorrentsStart(),A.append(p),e.start_input=p,l=document.createElement("label"),l.id="auto-start-label",l.setAttribute("for",p.id),l.textContent="Start when added",A.append(l),e}}const F="speed-limit-down",U="speed-limit-down-enabled",P="queue-move-bottom",O="queue-move-down",R="queue-move-top",G="queue-move-up",Y="../rpc",Q="alt-speed-down",Z="alt-speed-enabled",W="alt-speed-up",H="speed-limit-up",J="speed-limit-up-enabled";class q{constructor(e){this._controller=e,this._error="",this._session_id=""}sendRequest(e,t,n){const r=new Headers;r.append("cache-control","no-cache"),r.append("content-type","application/json"),r.append("pragma","no-cache"),this._session_id&&r.append(q._SessionHeader,this._session_id);let o=null;fetch(Y,{body:JSON.stringify(e),headers:r,method:"POST"}).then((e=>{if(o=e,409===e.status){const t=new Error(q._SessionHeader);throw t.header=e.headers.get(q._SessionHeader),t}return e.json()})).then((e=>{t&&t.call(n,e,o)})).catch((r=>{if(r.message===q._SessionHeader)return this._session_id=r.header,void this.sendRequest(e,t,n);console.trace(r),this._controller.togglePeriodicSessionRefresh(!1),this._controller.setCurrentPopup(new j({heading:"Connection failed",message:"Could not connect to the server. You may need to reload the page to reconnect."}))}))}loadDaemonPrefs(e,t){this.sendRequest({method:"session-get"},e,t)}checkPort(e,t){this.sendRequest({method:"port-test"},e,t)}renameTorrent(e,t,n,r,o){const s={arguments:{ids:e,name:n,path:t},method:"torrent-rename-path"};this.sendRequest(s,r,o)}setLabels(e,t,n){const r={ids:e,labels:t};this.sendRequest({arguments:r,method:"torrent-set"},n)}loadDaemonStats(e,t){this.sendRequest({method:"session-stats"},e,t)}updateTorrents(e,t,n,r){const o={arguments:{fields:t,format:"table"},method:"torrent-get"};e&&(o.arguments.ids=e),this.sendRequest(o,(e=>{const t=e.arguments;n.call(r,t.torrents,t.removed)}))}getFreeSpace(e,t,n){const r={arguments:{path:e},method:"free-space"};this.sendRequest(r,(e=>{const r=e.arguments;t.call(n,r.path,r["size-bytes"])}))}changeFileCommand(e,t,n){const r={ids:[e]};r[n]=t,this.sendRequest({arguments:r,method:"torrent-set"},(()=>{this._controller.refreshTorrents([e])}))}sendTorrentSetRequests(e,t,n,r,o){n||(n={}),n.ids=t;const s={arguments:n,method:e};this.sendRequest(s,r,o)}sendTorrentActionRequests(e,t,n,r){this.sendTorrentSetRequests(e,t,null,n,r)}startTorrents(e,t,n,r){const o=t?"torrent-start-now":"torrent-start";this.sendTorrentActionRequests(o,e,n,r)}stopTorrents(e,t,n){this.sendTorrentActionRequests("torrent-stop",e,t,n)}moveTorrents(e,t,n,r){this.sendTorrentSetRequests("torrent-set-location",e,{location:t,move:!0},n,r)}removeTorrents(e,t){const n={arguments:{"delete-local-data":t,ids:[]},method:"torrent-remove"};if(e)for(let t=0,r=e.length;t<r;++t)n.arguments.ids.push(e[t].getId());this.sendRequest(n,(()=>{this._controller.refreshTorrents()}))}verifyTorrents(e,t,n){this.sendTorrentActionRequests("torrent-verify",e,t,n)}reannounceTorrents(e,t,n){this.sendTorrentActionRequests("torrent-reannounce",e,t,n)}addTorrentByUrl(e,t){/^[\da-f]{40}$/i.test(e)&&(e=`magnet:?xt=urn:btih:${e}`);const n={arguments:{filename:e,paused:t.paused},method:"torrent-add"};this.sendRequest(n,(()=>{this._controller.refreshTorrents()}))}savePrefs(e){const t={arguments:e,method:"session-set"};this.sendRequest(t,(()=>{this._controller.loadDaemonPrefs()}))}updateBlocklist(){this.sendRequest({method:"blocklist-update"},(()=>{this._controller.loadDaemonPrefs()}))}moveTorrentsToTop(e,t,n){this.sendTorrentActionRequests(R,e,t,n)}moveTorrentsToBottom(e,t,n){this.sendTorrentActionRequests(P,e,t,n)}moveTorrentsUp(e,t,n){this.sendTorrentActionRequests(G,e,t,n)}moveTorrentsDown(e,t,n){this.sendTorrentActionRequests(O,e,t,n)}}function V(e,t){const n=document.createElement("fieldset");n.classList.add("section",e);const r=document.createElement("legend");return r.classList.add("title"),r.textContent=t,n.append(r),n}function K(e,t,n,r){const o=document.createElement("button");return o.textContent=t,o.addEventListener("click",r),e.append(o),o.dataset.action=n,o}q._SessionHeader="X-Transmission-Session-Id";class X extends EventTarget{constructor(e,t,n,r){super(),this.action_listener=this._onActionChange.bind(this),this.action_manager=r,this.action_manager.addEventListener("change",this.action_listener),this.prefs_listener=this._onPrefsChange.bind(this),this.prefs=t,this.prefs.addEventListener("change",this.prefs_listener),this.closed=!1,this.remote=n,this.name="overflow-menu",this.session_listener=this._onSessionChange.bind(this),this.session_manager=e,this.session_manager.addEventListener("session-change",this.session_listener);const{session_properties:o}=e;Object.assign(this,this._create(o)),this.outside=new m(this.root),this.outside.addEventListener("click",(()=>this.close())),Object.seal(this),this.show()}show(){document.body.append(this.root)}close(){if(!this.closed){this.outside.stop(),this.session_manager.removeEventListener("session-change",this.session_listener),this.action_manager.removeEventListener("change",this.action_listener),this.prefs.removeEventListener("change",this.prefs_listener),this.root.remove(),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))this[e]=null;this.closed=!0}}_onSessionChange(e){const{alt_speed_check:t}=this.elements,{session_properties:n}=e;t.checked=n[Z]}_onPrefsChange(e){switch(e.key){case b.SortDirection:case b.SortMode:this.root.querySelector(`[data-pref="${e.key}"]`).value=e.value}}_onActionChange(e){const t=this.actions[e.action];t&&this._updateElement(t)}_updateElement(e){if(e.dataset.action){const{action:t}=e.dataset,n=this.action_manager.keyshortcuts(t);n&&e.setAttribute("aria-keyshortcuts",n),p(e,this.action_manager.isEnabled(t))}}_onClick(e){const{action:t,pref:n}=e.target.dataset;t?this.action_manager.click(t):n?this.prefs[n]=e.target.value:(console.log("unhandled"),console.log(e),console.trace())}_create(e){const t={},n={},r=this._onClick.bind(this),o=document.createElement("div");o.classList.add("overflow-menu","popup");let s=V("display","Display");o.append(s);let i=document.createElement("div");i.id="display-options",s.append(i);let a=document.createElement("div");i.append(a);let l=document.createElement("label");l.id="display-sort-mode-label",l.textContent="Sort by",a.append(l);let c=document.createElement("select");c.id="display-sort-mode-select",c.dataset.pref=b.SortMode,a.append(c);const d=[[b.SortByActivity,"Activity"],[b.SortByAge,"Age"],[b.SortByName,"Name"],[b.SortByProgress,"Progress"],[b.SortByQueue,"Queue order"],[b.SortByRatio,"Ratio"],[b.SortBySize,"Size"],[b.SortByState,"State"]];for(const[e,t]of d){const n=document.createElement("option");n.value=e,n.textContent=t,c.append(n)}l.setAttribute("for",c.id),c.value=this.prefs.sort_mode,c.addEventListener("change",(e=>{this.prefs.sort_mode=e.target.value})),a=document.createElement("div"),i.append(a);let A=document.createElement("input");A.id="display-sort-reverse-check",A.dataset.pref=b.SortDirection,A.type="checkbox",a.append(A),l=document.createElement("label"),l.id="display-sort-reverse-label",l.setAttribute("for",A.id),l.textContent="Reverse sort",a.append(l),A.checked=this.prefs.sort_direction!==b.SortAscending,A.addEventListener("input",(e=>{this.prefs.sort_direction=e.target.checked?b.SortDescending:b.SortAscending})),a=document.createElement("div"),i.append(a);const p="toggle-compact-rows";A=document.createElement("input"),A.id="display-compact-check",A.dataset.action=p,A.type="checkbox",a.append(A),l=document.createElement("label"),l.id="display-compact-label",l.for=A.id,l.setAttribute("for",A.id),l.textContent=this.action_manager.text(p),a.append(l),A.checked=this.prefs.display_mode===b.DisplayCompact,A.addEventListener("input",(e=>{const{checked:t}=e.target;this.prefs.display_mode=t?b.DisplayCompact:b.DisplayFull})),a=document.createElement("div"),i.append(a),A=document.createElement("input"),A.id="display-fullscreen-check",A.type="checkbox";const u=()=>null!==document.fullscreenElement;A.checked=u(),A.addEventListener("input",(()=>{u()?document.exitFullscreen():document.body.requestFullscreen()})),document.addEventListener("fullscreenchange",(()=>{A.checked=u()})),a.append(A),l=document.createElement("label"),l.id="display-fullscreen-label",l.for=A.id,l.setAttribute("for",A.id),l.textContent="Fullscreen",a.append(l),s=V("speed","Speed Limit"),o.append(s),i=document.createElement("div"),i.id="speed-options",s.append(i),a=document.createElement("div"),a.classList.add("speed-up"),i.append(a),l=document.createElement("label"),l.id="speed-up-label",l.textContent="Upload:",a.append(l);const g="Unlimited";c=document.createElement("select"),c.id="speed-up-select",a.append(c);const m=["50","100","250","500","1000","2500","5000","10000",g];for(const t of[...new Set(m).add(`${e[H]}`).values()].sort(((e,t)=>e-t))){const e=document.createElement("option");e.value=t,e.textContent=t===g?g:I.speed(t),c.append(e)}l.setAttribute("for",c.id),c.value=e[J]?`${e[H]}`:g,c.addEventListener("change",(e=>{const{value:t}=e.target;console.log(e),t===g?this.remote.savePrefs({[J]:!1}):this.remote.savePrefs({[J]:!0,[H]:Number.parseInt(t,10)})})),a=document.createElement("div"),a.classList.add("speed-down"),i.append(a),l=document.createElement("label"),l.id="speed-down-label",l.textContent="Download:",a.append(l),c=document.createElement("select"),c.id="speed-down-select",a.append(c);for(const t of[...new Set(m).add(`${e[F]}`).values()].sort(((e,t)=>e-t))){const e=document.createElement("option");e.value=t,e.textContent=t===g?g:I.speed(t),c.append(e)}l.setAttribute("for",c.id),c.value=e[U]?`${e[F]}`:g,c.addEventListener("change",(e=>{const{value:t}=e.target;console.log(e),t===g?this.remote.savePrefs({[U]:!1}):this.remote.savePrefs({[U]:!0,[F]:Number.parseInt(t,10)})})),a=document.createElement("div"),a.classList.add("alt-speed"),i.append(a),A=document.createElement("input"),A.id="alt-speed-check",A.type="checkbox",A.checked=e[Z],A.addEventListener("change",(e=>{this.remote.savePrefs({[Z]:e.target.checked})})),a.append(A),n.alt_speed_check=A,l=document.createElement("label"),l.id="alt-speed-image",l.setAttribute("for",A.id),a.append(l),l=document.createElement("label"),l.id="alt-speed-label",l.setAttribute("for",A.id),l.textContent="Use Temp limits",a.append(l),l=document.createElement("label"),l.id="alt-speed-values-label",l.setAttribute("for",A.id);const h=I.speed(e[W]),f=I.speed(e[Q]);l.textContent=`(${h} up, ${f} down)`,a.append(l),s=V("actions","Actions"),o.append(s);for(const e of["show-preferences-dialog","pause-all-torrents","start-all-torrents"]){const n=this.action_manager.text(e);t[e]=K(s,n,e,r)}s=V("info","Info"),o.append(s),i=document.createElement("div"),s.append(i);for(const e of["show-about-dialog","show-shortcuts-dialog","show-statistics-dialog"]){const n=this.action_manager.text(e);t[e]=K(i,n,e,r)}s=V("links","Links"),o.append(s),i=document.createElement("div"),s.append(i);let C=document.createElement("a");return C.href="https://transmissionbt.com/",C.tabindex="0",C.textContent="Homepage",i.append(C),C=document.createElement("a"),C.href="https://transmissionbt.com/donate/",C.tabindex="0",C.textContent="Tip Jar",i.append(C),C=document.createElement("a"),C.href="https://github.com/transmission/transmission/",C.tabindex="0",C.textContent="Source Code",i.append(C),this._updateElement=this._updateElement.bind(this),{actions:t,elements:n,root:o}}}class $ extends EventTarget{static _initTimeDropDown(e){for(let t=0;t<96;++t){const n=15*t,r=`${Number.parseInt(t/4,10)}:${t%4*15||"00"}`;e.options[t]=new Option(r,n)}}static _initDayDropDown(e){const t=[["Everyday","127"],["Weekdays","62"],["Weekends","65"],["Sunday","1"],["Monday","2"],["Tuesday","4"],["Wednesday","8"],["Thursday","16"],["Friday","32"],["Saturday","64"]];for(let n=0;t[n];++n){const[r,o]=t[n];e.options[n]=new Option(r,o)}}_checkPort(){const e=this.elements.network.port_status_label;e.removeAttribute("data-open"),h(e,"Checking..."),this.remote.checkPort(this._onPortChecked,this)}_onPortChecked(e){const t=this.elements.network.port_status_label,n=e.arguments["port-is-open"];t.dataset.open=n,h(t,n?"Open":"Closed")}_setBlocklistButtonEnabled(e){const t=this.elements.peers.blocklist_update_button;p(t,e),t.value=e?"Update":"Updating..."}static _getValue(e){if("TEXTAREA"===e.tagName)return e.value;switch(e.type){case"checkbox":case"radio":return e.checked;case"number":case"text":case"url":{const t=e.value;return Number.parseInt(t,10).toString()===t?Number.parseInt(t,10):Number.parseFloat(t).toString()===t?Number.parseFloat(t):t}default:return null}}_onControlChanged(e){const{key:t}=e.target.dataset;this.remote.savePrefs({[t]:$._getValue(e.target)}),"peer-port"!==t&&"port-forwarding-enabled"!==t||this._checkPort()}_onDialogClosed(){this.dispatchEvent(new Event("closed"))}_update(e){if(e){this._setBlocklistButtonEnabled(!0);for(const[t,n]of Object.entries(e))for(const e of this.elements.root.querySelectorAll(`[data-key="${t}"]`))if("blocklist-size"===t){const t=I.number(n);e.innerHTML=`Blocklist has <span class="blocklist-size-number">${t}</span> rules`,h(this.elements.peers.blocklist_update_button,"Update")}else switch(e.type){case"checkbox":case"radio":e.checked!==n&&(e.checked=n,e.dispatchEvent(new Event("change")));break;case"text":case"textarea":case"url":case"email":case"number":case"search":e.value!=n&&e!==document.activeElement&&(e.value=n,e.dispatchEvent(new Event("change")));break;case"select-one":e.value!==n&&(e.value=n,e.dispatchEvent(new Event("change")));break;default:console.log(e.type)}}}shouldAddedTorrentsStart(){return this.data.elements.root.find("#start-added-torrents")[0].checked}static _createCheckAndLabel(e,t){const n=document.createElement("div");n.id=e;const r=document.createElement("input");r.id=a(),r.type="checkbox",n.append(r);const o=document.createElement("label");return o.textContent=t,o.setAttribute("for",r.id),n.append(o),{check:r,label:o,root:n}}static _enableIfChecked(e,t){const n=()=>{"INPUT"===e.tagName?p(e,t.checked):e.classList.toggle("disabled",!t.checked)};t.addEventListener("change",n),n()}static _createTorrentsPage(){const e=document.createElement("div");e.classList.add("prefs-torrents-page");let t=document.createElement("div");t.textContent="Downloading",t.classList.add("section-label"),e.append(t),t=document.createElement("label"),t.textContent="Download to:",e.append(t);let n=document.createElement("input");n.type="text",n.id=a(),n.dataset.key="download-dir",t.setAttribute("for",n.id),e.append(n);const r=n;let o=$._createCheckAndLabel("incomplete-dir-div","Use temporary folder:");o.check.title="Separate folder to temporarily store downloads until they are complete.",o.check.dataset.key="incomplete-dir-enabled",o.label.title=o.check.title,e.append(o.root);const s=o.check;n=document.createElement("input"),n.type="text",n.dataset.key="incomplete-dir",e.append(n),$._enableIfChecked(n,o.check);const i=n;o=$._createCheckAndLabel("autostart-div","Start when added"),o.check.dataset.key="start-added-torrents",e.append(o.root);const l=o.check;o=$._createCheckAndLabel("suffix-div",'Append "part" to incomplete files\' names'),o.check.dataset.key="rename-partial-files",e.append(o.root);const c=o.check;o=$._createCheckAndLabel("download-queue-div","Download queue size:"),o.check.dataset.key="download-queue-enabled",e.append(o.root);const d=o.check;n=document.createElement("input"),n.type="number",n.dataset.key="download-queue-size",e.append(n),$._enableIfChecked(n,o.check);const A=n;t=document.createElement("div"),t.textContent="Seeding",t.classList.add("section-label"),e.append(t),o=$._createCheckAndLabel("stop-ratio-div","Stop seeding at ratio:"),o.check.dataset.key="seedRatioLimited",e.append(o.root);const p=o.check;n=document.createElement("input"),n.type="number",n.min="0.1",n.step="any",n.dataset.key="seedRatioLimit",e.append(n),$._enableIfChecked(n,o.check);const u=n;o=$._createCheckAndLabel("stop-idle-div","Stop seeding if idle for N mins:"),o.check.dataset.key="idle-seeding-limit-enabled",e.append(o.root);const g=o.check;n=document.createElement("input"),n.type="number",n.min="0.1",n.step="any",n.dataset.key="idle-seeding-limit",e.append(n),$._enableIfChecked(n,o.check);return{autostart_check:l,download_dir:r,download_queue_check:d,download_queue_input:A,incomplete_dir_check:s,incomplete_dir_input:i,root:e,stop_idle_check:g,stop_idle_input:n,stop_ratio_check:p,stop_ratio_input:u,suffix_check:c}}static _createSpeedPage(){const e=document.createElement("div");e.classList.add("prefs-speed-page");let t=document.createElement("div");t.textContent="Speed Limits",t.classList.add("section-label"),e.append(t);let n=$._createCheckAndLabel("upload-speed-div","Upload (kB/s):");n.check.dataset.key="speed-limit-up-enabled",e.append(n.root);const r=n.check;let o=document.createElement("input");o.type="number",o.dataset.key="speed-limit-up",e.append(o),$._enableIfChecked(o,n.check);const s=o;n=$._createCheckAndLabel("download-speed-div","Download (kB/s):"),n.check.dataset.key="speed-limit-down-enabled",e.append(n.root);const i=n.check;o=document.createElement("input"),o.type="number",o.dataset.key="speed-limit-down",e.append(o),$._enableIfChecked(o,n.check);const l=o;t=document.createElement("div"),t.textContent="Alternative Speed Limits",t.classList.add("section-label","alt-speed-section-label"),e.append(t),t=document.createElement("div"),t.textContent="Override normal speed limits manually or at scheduled times",t.classList.add("alt-speed-label"),e.append(t),t=document.createElement("label"),t.textContent="Upload (kB/s):",e.append(t),o=document.createElement("input"),o.type="number",o.dataset.key="alt-speed-up",o.id=a(),t.setAttribute("for",o.id),e.append(o);const c=o;t=document.createElement("label"),t.textContent="Download (kB/s):",e.append(t),o=document.createElement("input"),o.type="number",o.dataset.key="alt-speed-down",o.id=a(),t.setAttribute("for",o.id),e.append(o);const d=o;n=$._createCheckAndLabel("alt-times-div","Scheduled times"),n.check.dataset.key="alt-speed-time-enabled",e.append(n.root);const A=n.check;t=document.createElement("label"),t.textContent="From:",$._enableIfChecked(t,n.check),e.append(t);let p=document.createElement("select");p.id=a(),p.dataset.key="alt-speed-time-begin",$._initTimeDropDown(p),t.setAttribute("for",p.id),e.append(p),$._enableIfChecked(p,n.check);const u=p;t=document.createElement("label"),t.textContent="To:",$._enableIfChecked(t,n.check),e.append(t),p=document.createElement("select"),p.id=a(),p.dataset.key="alt-speed-time-end",$._initTimeDropDown(p),t.setAttribute("for",p.id),e.append(p),$._enableIfChecked(p,n.check);const g=p;t=document.createElement("label"),t.textContent="On days:",$._enableIfChecked(t,n.check),e.append(t),p=document.createElement("select"),p.id=a(),p.dataset.key="alt-speed-time-day",$._initDayDropDown(p),t.setAttribute("for",p.id),e.append(p),$._enableIfChecked(p,n.check);return{alt_days_select:p,alt_download_speed_input:d,alt_from_select:u,alt_times_check:A,alt_to_select:g,alt_upload_speed_input:c,download_speed_check:i,download_speed_input:l,root:e,upload_speed_check:r,upload_speed_input:s}}static _createPeersPage(){const e=document.createElement("div");e.classList.add("prefs-peers-page");let t=document.createElement("div");t.textContent="Connections",t.classList.add("section-label"),e.append(t);let n=$._createCheckAndLabel("max-peers-per-torrent-div","Max peers per torrent:");e.append(n.root);const r=n.check;let o=document.createElement("input");o.type="number",o.dataset.key="peer-limit-per-torrent",e.append(o),$._enableIfChecked(o,n.check);const s=o;n=$._createCheckAndLabel("max-peers-overall-div","Max peers overall:"),e.append(n.root);const i=n.check;o=document.createElement("input"),o.type="number",o.dataset.key="peer-limit-global",e.append(o),$._enableIfChecked(o,n.check);const l=o;t=document.createElement("div"),t.textContent="Options",t.classList.add("section-label"),e.append(t),t=document.createElement("label"),t.textContent="Encryption mode:",e.append(t);const c=document.createElement("select");c.id=a(),c.dataset.key="encryption",c.options[0]=new Option("Prefer encryption","preferred"),c.options[1]=new Option("Allow encryption","tolerated"),c.options[2]=new Option("Require encryption","required"),e.append(c);const d=c;n=$._createCheckAndLabel("use-pex-div","Use PEX to find more peers"),n.check.title="PEX is a tool for exchanging peer lists with the peers you're connected to.",n.check.dataset.key="pex-enabled",n.label.title=n.check.title,e.append(n.root);const A=n.check;n=$._createCheckAndLabel("use-dht-div","Use DHT to find more peers"),n.check.title="DHT is a tool for finding peers without a tracker.",n.check.dataset.key="dht-enabled",n.label.title=n.check.title,e.append(n.root);const p=n.check;n=$._createCheckAndLabel("use-lpd-div","Use LPD to find more peers"),n.check.title="LPD is a tool for finding peers on your local network.",n.check.dataset.key="lpd-enabled",n.label.title=n.check.title,e.append(n.root);const u=n.check;t=document.createElement("div"),t.textContent="Blocklist",t.classList.add("section-label"),e.append(t),n=$._createCheckAndLabel("blocklist-enabled-div","Enable blocklist:"),n.check.dataset.key="blocklist-enabled",e.append(n.root);const g=n.check;o=document.createElement("input"),o.type="url",o.value="http://www.example.com/blocklist",o.dataset.key="blocklist-url",e.append(o),$._enableIfChecked(o,n.check);const m=o;t=document.createElement("label"),t.textContent="Blocklist has {n} rules",t.dataset.key="blocklist-size",t.classList.add("blocklist-size-label"),$._enableIfChecked(t,n.check),e.append(t);const h=document.createElement("button");h.classList.add("blocklist-update-button"),h.textContent="Update",e.append(h),$._enableIfChecked(h,n.check);return{blocklist_enabled_check:g,blocklist_update_button:h,blocklist_url_input:m,dht_check:p,encryption_select:d,lpd_check:u,max_peers_overall_check:i,max_peers_overall_input:l,max_peers_per_torrent_check:r,max_peers_per_torrent_input:s,pex_check:A,root:e}}static _createNetworkPage(){const e=document.createElement("div");e.classList.add("prefs-network-page");let t=document.createElement("div");t.textContent="Listening Port",t.classList.add("section-label"),e.append(t),t=document.createElement("label"),t.textContent="Peer listening port:",e.append(t);const n=document.createElement("input");n.type="number",n.dataset.key="peer-port",n.id=a(),t.setAttribute("for",n.id),e.append(n);const r=n,o=document.createElement("div");o.classList.add("port-status"),t=document.createElement("label"),t.textContent="Port is",o.append(t);const s=document.createElement("label");s.textContent="?",s.classList.add("port-status-label"),o.append(s),e.append(o);let i=$._createCheckAndLabel("randomize-port","Randomize port on launch");i.check.dataset.key="peer-port-random-on-start",e.append(i.root);const l=i.check;i=$._createCheckAndLabel("port-forwarding","Use port forwarding from my router"),i.check.dataset.key="port-forwarding-enabled",e.append(i.root);const c=i.check;t=document.createElement("div"),t.textContent="Options",t.classList.add("section-label"),e.append(t),i=$._createCheckAndLabel("utp-enabled","Enable uTP for peer communication"),i.check.dataset.key="utp-enabled",e.append(i.root);const d=i.check;t=document.createElement("div"),t.textContent="Default Public Trackers",t.classList.add("section-label"),e.append(t);const A=["Trackers to use on all public torrents.","To add a backup URL, add it on the next line after a primary URL.","To add a new primary URL, add it after a blank line."];for(const n of A)t=document.createElement("label"),t.classList.add("default-trackers-label"),t.textContent=n,t.setAttribute("for","default-trackers"),e.append(t);const p=document.createElement("textarea");p.dataset.key="default-trackers",p.id="default-trackers",e.append(p);return{default_trackers_textarea:p,port_forwarding_check:c,port_input:r,port_status_label:s,random_port_check:l,root:e,utp_check:d}}static _create(){const e={network:$._createNetworkPage(),peers:$._createPeersPage(),speed:$._createSpeedPage(),torrents:$._createTorrentsPage()};return{...s("prefs-dialog",[["prefs-tab-torrent",e.torrents.root],["prefs-tab-speed",e.speed.root],["prefs-tab-peers",e.peers.root],["prefs-tab-network",e.network.root]]),...e}}constructor(e,t){super(),this.closed=!1,this.session_manager=e,this.remote=t,this.update_soon=()=>this._update(this.session_manager.session_properties),this.elements=$._create(),this.elements.peers.blocklist_update_button.addEventListener("click",(e=>{h(e.target,"Updating blocklist..."),this.remote.updateBlocklist(),this._setBlocklistButtonEnabled(!1)})),this.outside=new m(this.elements.root),this.outside.addEventListener("click",(()=>this.close())),Object.seal(this);const n=this._onControlChanged.bind(this),r=e=>{for(const t of Object.values(e))if("INPUT"===t.tagName)switch(t.type){case"checkbox":case"radio":case"number":case"text":case"url":t.addEventListener("change",n);break;default:console.trace(`unhandled input: ${t.type}`)}else"TEXTAREA"===t.tagName&&t.addEventListener("change",n)};r(this.elements.network),r(this.elements.peers),r(this.elements.speed),r(this.elements.torrents),this.session_manager.addEventListener("session-change",this.update_soon),this.update_soon(),document.body.append(this.elements.root)}close(){if(!this.closed){this.outside.stop(),this.session_manager.removeEventListener("session-change",this.update_soon),this.elements.root.remove(),dispatchEvent(new Event("close"));for(const e of Object.keys(this))this[e]=null;this.closed=!0}}}class ee extends EventTarget{constructor(e){super(),this.options=e,this.elements=ee._create(e),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.elements.confirm.addEventListener("click",(()=>this._onConfirm())),document.body.append(this.elements.root),this.elements.dismiss.focus()}close(){if(!this.closed){this.elements.root.remove(),this.dispatchEvent(new Event("close"));for(const e of Object.keys(this))delete this[e];this.closed=!0}}_onDismiss(){this.close()}_onConfirm(){const{remote:e,torrents:t,trash:n}=this.options;t.length>0&&e.removeTorrents(t,n),this.close()}static _create(e){const{trash:t}=e,{heading:n,message:r}=ee._createMessage(e),o=i("remove-dialog");return o.heading.textContent=n,o.message.textContent=r,o.confirm.textContent=t?"Trash":"Remove",o}static _createMessage(e){let t=null,n=null;const{torrents:r,trash:o}=e,[s]=r;return o&&1===r.length?(t=`Remove ${s.getName()} and delete data?`,n="All data downloaded for this torrent will be deleted. Are you sure you want to remove it?"):o?(t=`Remove ${r.length} transfers and delete data?`,n="All data downloaded for these torrents will be deleted. Are you sure you want to remove them?"):1===r.length?(t=`Remove ${s.getName()}?`,n="Once removed, continuing the transfer will require the torrent file. Are you sure you want to remove it?"):(t=`Remove ${r.length} transfers?`,n="Once removed, continuing the transfers will require the torrent files. Are you sure you want to remove them?"),{heading:t,message:n}}}class te extends EventTarget{constructor(e,t){super(),this.controller=e,this.remote=t,this.elements={},this.torrents=[],this.show()}show(){const e=this.controller.getSelectedTorrents();1===e.length?(this.torrents=e,this.elements=te._create(),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.elements.confirm.addEventListener("click",(()=>this._onConfirm())),this.elements.entry.value=e[0].getName(),document.body.append(this.elements.root),this.elements.entry.focus()):console.trace()}close(){this.elements.root.remove(),this.dispatchEvent(new Event("close")),delete this.controller,delete this.remote,delete this.elements,delete this.torrents}_onDismiss(){this.close()}_onConfirm(){const[e]=this.torrents,t=e.getName(),n=this.elements.entry.value;this.remote.renameTorrent([e.getId()],t,n,(t=>{"success"===t.result&&e.refresh(t.arguments)})),this.close()}static _create(){const e=i("rename-dialog");e.root.setAttribute("aria-label","Rename Torrent"),e.heading.textContent="Enter new name:",e.confirm.textContent="Rename";const t=document.createElement("label");t.setAttribute("for","torrent-rename-name"),t.textContent="Enter new name:",e.workarea.append(t);const n=document.createElement("input");return n.setAttribute("type","text"),n.id="torrent-rename-name",e.entry=n,e.workarea.append(n),e}}class ne extends EventTarget{constructor(e,t){super(),this.controller=e,this.remote=t,this.elements={},this.torrents=[],this.show()}show(){const e=this.controller.getSelectedTorrents();if(0===e.length)return void console.error("At least one selected torrent expected.");const[t]=e;this.torrents=e,this.elements=ne._create(),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),this.elements.confirm.addEventListener("click",(()=>this._onConfirm())),this.elements.entry.value=t.getLabels().join(", "),document.body.append(this.elements.root),this.elements.entry.focus()}close(){this.elements.root.remove(),this.dispatchEvent(new Event("close")),delete this.elements,delete this.torrents}_onDismiss(){this.close()}_onConfirm(){const{torrents:e}=this,{remote:t}=this,n=e.map((e=>e.getId())),{elements:r}=this,{entry:o}=r,{value:s}=o,i=s.split(/ *, */).filter((e=>e.length>0));t.setLabels(n,i,(t=>{if("success"===t.result)for(const t of e)t.refresh({labels:i})})),this.close()}static _create(){const e=i("labels-dialog");e.root.setAttribute("aria-label","Edit Labels"),e.heading.textContent="Edit Labels:",e.confirm.textContent="Save";const t=document.createElement("label");t.setAttribute("for","torrent-labels"),t.textContent="Labels:",e.workarea.append(t);const n=document.createElement("input");return n.setAttribute("type","text"),n.id="torrent-labels",e.entry=n,e.workarea.append(n),e}}class re extends EventTarget{constructor(e){super(),this.elements=re._create(e),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),document.body.append(this.elements.root),this.elements.dismiss.focus()}close(){this.elements.root.remove(),this.dispatchEvent(new Event("close")),delete this.elements}_onDismiss(){this.close()}static _create(e){const t=i("shortcuts-dialog");t.root.setAttribute("aria-label","Keyboard Shortcuts");const n=document.createElement("table"),r=document.createElement("thead");n.append(r);let o=document.createElement("tr");r.append(o);let s=document.createElement("th");s.textContent="Key",o.append(s),s=document.createElement("th"),s.textContent="Action",o.append(s);const a=document.createElement("tbody");n.append(a);const l={};for(const[t,n]of e.allShortcuts().entries()){const e=t.split("+");l[[e.pop(),...e].join("+")]={name:n,shortcut:t}}for(const[,t]of Object.entries(l).sort()){const{name:n,shortcut:r}=t;o=document.createElement("tr"),a.append(o);let s=document.createElement("td");s.textContent=r.replaceAll("+"," + "),o.append(s),s=document.createElement("td"),s.textContent=e.text(n),o.append(s)}return t.heading.textContent="Transmission",t.dismiss.textContent="Close",t.heading.textContent="Keyboard shortcuts",t.message.append(n),t.confirm.remove(),delete t.confirm,t}}class oe extends EventTarget{constructor(e){super(),this.remote=e;const t=()=>this.remote.loadDaemonStats((e=>this._update(e.arguments)));this.interval=setInterval(t,5e3),t(),this.elements=oe._create(),this.elements.dismiss.addEventListener("click",(()=>this._onDismiss())),document.body.append(this.elements.root),this.elements.dismiss.focus()}close(){if(!this.closed){clearInterval(this.interval),this.elements.root.remove();for(const e of Object.keys(this))delete this[e];this.closed=!0}}_onDismiss(){this.close()}_update(e){console.log(e);const t=I;let n=e["current-stats"],r=o.ratio(n.uploadedBytes,n.downloadedBytes);h(this.elements.session.up,t.size(n.uploadedBytes)),h(this.elements.session.down,t.size(n.downloadedBytes)),h(this.elements.session.ratio,t.ratioString(r)),h(this.elements.session.time,t.timeInterval(n.secondsActive)),n=e["cumulative-stats"],r=o.ratio(n.uploadedBytes,n.downloadedBytes),h(this.elements.total.up,t.size(n.uploadedBytes)),h(this.elements.total.down,t.size(n.downloadedBytes)),h(this.elements.total.ratio,t.ratioString(r)),h(this.elements.total.time,t.timeInterval(n.secondsActive))}static _create(){const e=i("statistics-dialog"),{confirm:t,dismiss:n,heading:r,root:o,workarea:s}=e;t.remove(),n.textContent="Close",delete e.confirm;const a="Statistics";o.setAttribute("aria-label",a),r.textContent=a;const c=["Uploaded:","Downloaded:","Ratio:","Running time:"];let d=l("Current session",c);const[A,p,u,g]=d.children,m=e.session={};m.up=A,m.down=p,m.ratio=u,m.time=g,s.append(d.root),d=l("Total",c);const[h,f,b,C]=d.children,v=e.total={};return v.up=h,v.down=f,v.ratio=b,v.time=C,s.append(d.root),e}}const se={formatDL:e=>`${I.speedBps(e.getDownloadSpeed())}`,formatETA:e=>{const t=e.getETA();return t<0||t>=3596400?"":`ETA: ${I.timeInterval(t)}`},formatLabels:e=>e.getLabels().length>0?`🏷 ${e.getLabels().join(", ")}`:"",formatUL:e=>`${I.speedBps(e.getUploadSpeed())}`,getProgressInfo:(e,t)=>{const n=t.getStatus(),r=["torrent-progress-bar"];let o=null;if(n===D._StatusStopped&&r.push("paused"),t.needsMetaData())r.push("magnet"),o=Math.round(100*t.getMetadataPercentComplete());else if(n===D._StatusCheck)r.push("verify"),o=Math.round(100*t.getRecheckProgress());else if(t.getLeftUntilDone()>0)r.push("leech"),o=Math.round(100*t.getPercentDone());else{r.push("seed");const n=t.seedRatioLimit(e);o=n>0?100*t.getUploadRatio()/n:100}return t.isQueued()&&r.push("queued"),{classList:r,percent:o}},renderProgressbar:(e,t,n)=>{const r=se.getProgressInfo(e,t);n.className=r.classList.join(" "),n.style["background-size"]=`${r.percent}% 100%, 100% 100%`}};class ie{static getPeerDetails(e){const t=I,n=e.getErrorMessage();if(n)return n;if(e.isDownloading()){const n=e.getPeersConnected(),r=e.getWebseedsSendingToUs();return r&&n?["Downloading from",e.getPeersSendingToUs(),"of",t.countString("peer","peers",n),"and",t.countString("web seed","web seeds",r),"",se.formatDL(e),se.formatUL(e)].join(" "):r?["Downloading from",t.countString("web seed","web seeds",r),"",se.formatDL(e),se.formatUL(e)].join(" "):["Downloading from",e.getPeersSendingToUs(),"of",t.countString("peer","peers",n),"",se.formatDL(e),se.formatUL(e)].join(" ")}return e.isSeeding()?["Seeding to",e.getPeersGettingFromUs(),"of",t.countString("peer","peers",e.getPeersConnected()),"-",se.formatUL(e)].join(" "):e.isChecking()?["Verifying local data (",I.percentString(100*e.getRecheckProgress()),"% tested)"].join(""):e.getStateString()}static getProgressDetails(e,t){if(t.needsMetaData()){let e="retrieving";t.isStopped()&&(e="needs");const n=100*t.getMetadataPercentComplete();return[`Magnetized transfer - ${e} metadata (`,I.percentString(n),"%)"].join("")}const n=t.getSizeWhenDone(),r=t.getTotalSize(),o=t.isDone()||t.isSeeding(),s=[];if(o?(r===n?s.push(I.size(r)):s.push(I.size(n)," of ",I.size(t.getTotalSize())," (",t.getPercentDoneStr(),"%)"),s.push(", uploaded ",I.size(t.getUploadedEver())," (Ratio ",I.ratioString(t.getUploadRatio()),")")):s.push(I.size(n-t.getLeftUntilDone())," of ",I.size(n)," (",t.getPercentDoneStr(),"%)"),!t.isStopped()&&(!o||t.seedRatioLimit(e)>0)){s.push(" - ");const e=t.getETA();e<0||e>=3596400?s.push("remaining time unknown"):s.push(I.timeInterval(t.getETA())," remaining")}return s.join("")}render(e,t,n){const r=t.isStopped();let o=n._name_container;h(o,t.getName()),o.classList.toggle("paused",r),o=n._labels_container,h(o,se.formatLabels(t)),se.renderProgressbar(e,t,n._progressbar),n._progressbar.classList.add("full");const s=t.getError()!==D._ErrNone;o=n._peer_details_container,o.classList.toggle("error",s),h(o,ie.getPeerDetails(t)),o=n._progress_details_container,h(o,ie.getProgressDetails(e,t)),o=n._toggle_running_button,o.alt=r?"Resume":"Pause",o.dataset.action=r?"resume":"pause"}createRow(e){const t=document.createElement("li");t.className="torrent";const n=document.createElement("div");n.classList.add("icon"),n.dataset.iconMimeType=e.getPrimaryMimeType().split("/",1).pop(),n.dataset.iconMultifile=e.getFileCount()>1?"true":"false";const r=document.createElement("div");r.className="torrent-name";const o=document.createElement("div");o.className="torrent-labels";const s=document.createElement("div");s.className="torrent-peer-details";const i=document.createElement("div");i.classList.add("torrent-progress");const a=document.createElement("div");a.classList.add("torrent-progress-bar","full"),i.append(a);const l=document.createElement("a");l.className="torrent-pauseresume-button",i.append(l);const c=document.createElement("div");return c.className="torrent-progress-details",t.append(n),t.append(r),t.append(o),t.append(s),t.append(i),t.append(c),t._icon=n,t._name_container=r,t._labels_container=o,t._peer_details_container=s,t._progress_details_container=c,t._progressbar=a,t._toggle_running_button=l,t}}class ae{static getPeerDetails(e){const t=e.getErrorMessage();if(t)return t;if(e.isDownloading()){const t=e.getDownloadSpeed()>0,n=e.getUploadSpeed()>0;if(!n&&!t)return"Idle";const r=[`${se.formatETA(e)} `];return t&&r.push(se.formatDL(e)),n&&r.push(se.formatUL(e)),r.join(" ")}return e.isSeeding()?`Ratio: ${I.ratioString(e.getUploadRatio())}, ${se.formatUL(e)}`:e.getStateString()}render(e,t,n){let r=n._name_container;r.classList.toggle("paused",t.isStopped()),h(r,t.getName()),r=n._labels_container,h(r,se.formatLabels(t));const o=t.getError()!==D._ErrNone;r=n._details_container,r.classList.toggle("error",o),h(r,ae.getPeerDetails(t)),se.renderProgressbar(e,t,n._progressbar),n._progressbar.classList.add("compact")}createRow(e){const t=document.createElement("div");t.classList.add("torrent-progress-bar","compact");const n=document.createElement("div");n.classList.add("icon"),n.dataset.iconMimeType=e.getPrimaryMimeType().split("/",1).pop(),n.dataset.iconMultifile=e.getFileCount()>1?"true":"false";const r=document.createElement("div");r.className="torrent-peer-details compact";const o=document.createElement("div");o.className="torrent-labels compact";const s=document.createElement("div");s.className="torrent-name compact";const i=document.createElement("li");return i.append(t),i.append(r),i.append(o),i.append(s),i.append(n),i.className="torrent compact",i._progressbar=t,i._details_container=r,i._labels_container=o,i._name_container=s,i}}class le{constructor(e,t,n){this._view=e,this._torrent=n,this._element=e.createRow(n);const r=()=>this.render(t);this._torrent.addEventListener("dataChanged",r),r()}getElement(){return this._element}render(e){const t=this.getTorrent();t&&this._view.render(e,t,this.getElement())}isSelected(){return this.getElement().classList.contains("selected")}getTorrent(){return this._torrent}getTorrentId(){return this.getTorrent().getId()}}class ce extends EventTarget{constructor(e,t,n){super(),this.action_manager=e,this.notifications=t,this.prefs=n,this.remote=new q(this),this.addEventListener("torrent-selection-changed",(e=>this.action_manager.update(e))),this.filterText="",this._torrents={},this._rows=[],this.dirtyTorrents=new Set,this.refilterSoon=c((()=>this._refilter(!1))),this.refilterAllSoon=c((()=>this._refilter(!0))),this.boundPopupCloseListener=this.popupCloseListener.bind(this),this.dispatchSelectionChangedSoon=c((()=>this._dispatchSelectionChanged()),200);for(const e of document.querySelectorAll("button[data-action]")){const{action:t}=e.dataset;p(e,this.action_manager.isEnabled(t)),e.addEventListener("click",(()=>{this.action_manager.click(t)}))}document.querySelector("#filter-tracker").addEventListener("change",(e=>{this.setFilterTracker("all"===e.target.value?null:e.target.value)})),this.action_manager.addEventListener("change",(e=>{for(const t of document.querySelectorAll(`[data-action="${e.action}"]`))p(t,e.enabled)})),this.action_manager.addEventListener("click",(e=>{switch(e.action){case"deselect-all":this._deselectAll();break;case"move-bottom":this._moveBottom();break;case"move-down":this._moveDown();break;case"move-top":this._moveTop();break;case"move-up":this._moveUp();break;case"open-torrent":this.setCurrentPopup(new z(this,this.remote));break;case"pause-all-torrents":this._stopTorrents(this._getAllTorrents());break;case"pause-selected-torrents":this._stopTorrents(this.getSelectedTorrents());break;case"reannounce-selected-torrents":this._reannounceTorrents(this.getSelectedTorrents());break;case"remove-selected-torrents":this._removeSelectedTorrents(!1);break;case"resume-selected-torrents":this._startSelectedTorrents(!1);break;case"resume-selected-torrents-now":this._startSelectedTorrents(!0);break;case"select-all":this._selectAll();break;case"show-about-dialog":this.setCurrentPopup(new C(this.version_info));break;case"show-inspector":this.setCurrentPopup(new L(this));break;case"show-move-dialog":this.setCurrentPopup(new _(this,this.remote));break;case"show-overflow-menu":if(this.popup instanceof X)this.setCurrentPopup(null);else{this.setCurrentPopup(new X(this,this.prefs,this.remote,this.action_manager));const e=document.querySelector("#toolbar-overflow").getBoundingClientRect();g(this.popup.root,e.left+e.width,e.top+e.height,document.body)}break;case"show-preferences-dialog":this.setCurrentPopup(new $(this,this.remote));break;case"show-shortcuts-dialog":this.setCurrentPopup(new re(this.action_manager));break;case"show-statistics-dialog":this.setCurrentPopup(new oe(this.remote));break;case"show-rename-dialog":this.setCurrentPopup(new te(this,this.remote));break;case"show-labels-dialog":this.setCurrentPopup(new ne(this,this.remote));break;case"start-all-torrents":this._startTorrents(this._getAllTorrents());break;case"toggle-compact-rows":this.prefs.display_mode=this.prefs.display_mode!==b.DisplayCompact?b.DisplayCompact:b.DisplayFull;break;case"trash-selected-torrents":this._removeSelectedTorrents(!0);break;case"verify-selected-torrents":this._verifyTorrents(this.getSelectedTorrents());break;default:console.warn(`unhandled action: ${e.action}`)}}));let r=document.querySelector("#filter-mode");r.value=this.prefs.filter_mode,r.addEventListener("change",(e=>{this.prefs.filter_mode=e.target.value})),document.addEventListener("keydown",this._keyDown.bind(this)),document.addEventListener("keyup",this._keyUp.bind(this)),r=document.querySelector("#torrent-container"),r.addEventListener("click",(()=>{this.popup&&"inspector"!==this.popup.name?this.setCurrentPopup(null):this._deselectAll()})),r.addEventListener("dragenter",ce._dragenter),r.addEventListener("dragover",ce._dragenter),r.addEventListener("drop",this._drop.bind(this)),this._setupSearchBox(),this.elements={torrent_list:document.querySelector("#torrent-list")},this.elements.torrent_list.addEventListener("contextmenu",(e=>{let t=event.target;for(;t&&!t.classList.contains("torrent");)t=t.parentNode;const n=this._rows.find((e=>e.getElement()===t));n&&!n.isSelected()&&this._setSelectedRow(n);const r=new v(this.action_manager);this.setCurrentPopup(r),g(r.root,e.x,e.y,document.querySelector("#torrent-container")),e.preventDefault()})),this.loadDaemonPrefs(),this._initializeTorrents(),this.refreshTorrents(),this.togglePeriodicSessionRefresh(!0),this.prefs.addEventListener("change",(({key:e,value:t})=>this._onPrefChanged(e,t)));for(const[e,t]of this.prefs.entries())this._onPrefChanged(e,t)}loadDaemonPrefs(){this.remote.loadDaemonPrefs((e=>{this.session_properties=e.arguments}))}get session_properties(){return this._session_properties}set session_properties(e){if(d(this._session_properties,e))return;this._session_properties=Object.seal(e);const t=new Event("session-change");t.session_properties=e,this.dispatchEvent(t),this._updateGuiFromSession(e)}_setupSearchBox(){const e=document.querySelector("#torrent-search"),t="blur";e.classList.add(t),e.addEventListener("blur",(()=>e.classList.add(t))),e.addEventListener("focus",(()=>e.classList.remove(t))),e.addEventListener("keyup",(()=>this._setFilterText(e.value)))}_onPrefChanged(e,t){switch(e){case b.DisplayMode:this.torrentRenderer="compact"===t?new ae:new ie,this.refilterAllSoon();break;case b.FilterMode:case b.SortDirection:case b.SortMode:this.refilterAllSoon();break;case b.RefreshRate:{clearInterval(this.refreshTorrentsInterval);const e=this.refreshTorrents.bind(this),t=1e3*Math.max(2,this.prefs.refresh_rate_sec);this.refreshTorrentsInterval=setInterval(e,t);break}case b.AltSpeedEnabled:case b.NotificationsEnabled:}}_getAllTorrents(){return Object.values(this._torrents)}static _getTorrentIds(e){return e.map((e=>e.getId()))}seedRatioLimit(){const e=this.session_properties;return e&&e.seedRatioLimited?e.seedRatioLimit:-1}_getSelectedRows(){return this._rows.filter((e=>e.isSelected()))}getSelectedTorrents(){return this._getSelectedRows().map((e=>e.getTorrent()))}_getSelectedTorrentIds(){return ce._getTorrentIds(this.getSelectedTorrents())}_setSelectedRow(e){const t=e?e.getElement():null;for(const e of this.elements.torrent_list.children)e.classList.toggle("selected",e===t);this.dispatchSelectionChangedSoon()}_selectRow(e){e.getElement().classList.add("selected"),this.dispatchSelectionChangedSoon()}_deselectRow(e){e.getElement().classList.remove("selected"),this.dispatchSelectionChangedSoon()}_selectAll(){for(const e of this.elements.torrent_list.children)e.classList.add("selected");this.dispatchSelectionChangedSoon()}_deselectAll(){for(const e of this.elements.torrent_list.children)e.classList.remove("selected");this.dispatchSelectionChangedSoon(),delete this._last_torrent_clicked}_indexOfLastTorrent(){return this._rows.findIndex((e=>e.getTorrentId()===this._last_torrent_clicked))}_selectRange(e){const t=this._indexOfLastTorrent();if(-1===t)this._selectRow(e);else{const n=this._rows.indexOf(e),r=Math.min(t,n),o=Math.max(t,n);for(let e=r;e<=o;++e)this._selectRow(this._rows[e])}this.dispatchSelectionChangedSoon()}_dispatchSelectionChanged(){const e=[],t=[];for(const n of this._rows)(n.isSelected()?t:e).push(n.getTorrent());const n=new Event("torrent-selection-changed");n.nonselected=e,n.selected=t,this.dispatchEvent(n)}static _createKeyShortcutFromKeyboardEvent(e){const t=[];return e.ctrlKey&&t.push("Control"),e.altKey&&t.push("Alt"),e.metaKey&&t.push("Meta"),e.shitKey&&t.push("Shift"),t.push(1===e.key.length?e.key.toUpperCase():e.key),t.join("+")}_keyDown(e){const{ctrlKey:t,keyCode:n,metaKey:r,shiftKey:o,target:s}=e,i=ce._createKeyShortcutFromKeyboardEvent(e),a=this.action_manager.getActionForShortcut(i);if(a)return e.preventDefault(),void this.action_manager.click(a);if(27===n&&this.popup)return this.setCurrentPopup(null),void e.preventDefault();const l=document.querySelector(".popup:not(.hidden)"),c=s.matches("input"),d=this._rows;if(!(c||l||r||t)){const t=16===n,r=38===n,s=40===n;if((r||s)&&d.length>0){const t=this._indexOfLastTorrent(),n=this._shift_index,i=0,a=d.length-1;let l=t;s&&l+1<=a?++l:r&&l-1>=i&&--l;const c=d[l];n>=0?n<=t&&t<l||n>=t&&t>l?this._selectRow(c):(n>=t&&l>t||n<=t&&t>l)&&this._deselectRow(d[t]):o?this._selectRange(c):this._setSelectedRow(c),c&&(this._last_torrent_clicked=c.getTorrentId(),c.getElement().scrollIntoView(),e.preventDefault())}else t&&(this._shift_index=this._indexOfLastTorrent())}}_keyUp(e){16===e.keyCode&&delete this._shift_index}static _dragenter(e){if(e.dataTransfer&&e.dataTransfer.types){const t=new Set(["text/uri-list","text/plain"]);if(e.dataTransfer.types.some((e=>t.has(e))))return e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",!1}else e.dataTransfer&&(e.dataTransfer.dropEffect="none");return!0}static _isValidURL(e){try{return!!new URL(e)}catch{return!1}}shouldAddedTorrentsStart(){return this.session_properties["start-added-torrents"]}_drop(e){const t=!this.shouldAddedTorrentsStart();if(!e.dataTransfer||!e.dataTransfer.types)return!0;const n=e.data.Transfer.types.filter((e=>["text/uri-list","text/plain"].contains(e))).pop();for(const r of e.dataTransfer.getData(n).split("\n").map((e=>e.trim())).filter((e=>ce._isValidURL(e))))this.remote.addTorrentByUrl(r,t);return e.preventDefault(),!1}togglePeriodicSessionRefresh(e){if(!e&&this.sessionInterval&&(clearInterval(this.sessionInterval),delete this.sessionInterval),e&&(this.loadDaemonPrefs(),!this.sessionInterval)){const e=8e3;this.sessionInterval=setInterval(this.loadDaemonPrefs.bind(this),e)}}_setFilterText(e){this.filterText=e?e.trim():null,this.refilterAllSoon()}_onTorrentChanged(e){const t=e.currentTarget;this.dirtyTorrents.add(t.getId()),this.refilterSoon()}updateTorrents(e,t){this.remote.updateTorrents(e,t,((e,t)=>{const n=[],r=e.shift(),o={};for(const t of e){for(const[e,n]of r.entries())o[n]=t[e];const{id:e}=o;let s=this._torrents[e];if(s){const t=s.needsMetaData();s.refresh(o),t&&!s.needsMetaData()&&n.push(e)}else s=this._torrents[e]=new D(o),s.addEventListener("dataChanged",this._onTorrentChanged.bind(this)),this.dirtyTorrents.add(e),"name"in s.fields&&"status"in s.fields||n.push(e)}if(n.length>0){const e=["id",...D.Fields.Metadata,...D.Fields.Stats];this.updateTorrents(n,e),this.refilterSoon()}t&&(this._deleteTorrents(t),this.refilterSoon())}))}refreshTorrents(){const e=["id",...D.Fields.Stats];this.updateTorrents("recently-active",e)}_initializeTorrents(){const e=["id",...D.Fields.Metadata,...D.Fields.Stats];this.updateTorrents(null,e)}_onRowClicked(e){const t=e.metaKey||e.ctrlKey,{row:n}=e.currentTarget;if(this.popup&&"inspector"!==this.popup.name)this.setCurrentPopup(null);else{if(e.target.classList.contains("torrent-pauseresume-button"))switch(e.target.dataset.action){case"pause":this._stopTorrents([n.getTorrent()]);break;case"resume":this._startTorrents([n.getTorrent()])}e.stopPropagation(),e.shiftKey?(this._selectRange(n),window.focus()):!n.isSelected()&&t?this._selectRow(n):n.isSelected()?n.isSelected()&&t?this._deselectRow(n):n.isSelected()&&this._setSelectedRow(n):this._setSelectedRow(n),this._last_torrent_clicked=n.getTorrentId()}}_deleteTorrents(e){if(e&&e.length>0){for(const t of e)this.dirtyTorrents.add(t),delete this._torrents[t];this.refilterSoon()}}_removeSelectedTorrents(e){const t=this.getSelectedTorrents();t.length>0&&this.setCurrentPopup(new ee({remote:this.remote,torrents:t,trash:e}))}_startSelectedTorrents(e){this._startTorrents(this.getSelectedTorrents(),e)}_startTorrents(e,t){this.remote.startTorrents(ce._getTorrentIds(e),t,this.refreshTorrents,this)}_verifyTorrents(e){this.remote.verifyTorrents(ce._getTorrentIds(e),this.refreshTorrents,this)}_reannounceTorrents(e){this.remote.reannounceTorrents(ce._getTorrentIds(e),this.refreshTorrents,this)}_stopTorrents(e){this.remote.stopTorrents(ce._getTorrentIds(e),this.refreshTorrents,this)}changeFileCommand(e,t,n){this.remote.changeFileCommand(e,t,n)}_moveTop(){this.remote.moveTorrentsToTop(this._getSelectedTorrentIds(),this.refreshTorrents,this)}_moveUp(){this.remote.moveTorrentsUp(this._getSelectedTorrentIds(),this.refreshTorrents,this)}_moveDown(){this.remote.moveTorrentsDown(this._getSelectedTorrentIds(),this.refreshTorrents,this)}_moveBottom(){this.remote.moveTorrentsToBottom(this._getSelectedTorrentIds(),this.refreshTorrents,this)}_updateGuiFromSession(e){const[,t,n]=e.version.match(/(.*)\s\(([\da-f]+)\)/);this.version_info={checksum:n,version:t};document.querySelector("#toolbar-overflow").classList.toggle("alt-speed-enabled",e[Z])}_updateStatusbar(){const e=I,t=this._getAllTorrents(),n=t.reduce(((e,t)=>e+t.getUploadSpeed()),0),r=t.reduce(((e,t)=>e+t.getDownloadSpeed()),0),o=e.countString("Transfer","Transfers",this._rows.length);h(document.querySelector("#speed-up-label"),e.speedBps(n)),h(document.querySelector("#speed-dn-label"),e.speedBps(r)),h(document.querySelector("#filter-count"),o)}static _displayName(e){let t=e;return t.length>0&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}_updateFilterSelect(){const e=this._getTrackerCounts(),t=Object.keys(e).sort();let n="";n+=this.filterTracker?'<option value="all">All</option>':'<option value="all" selected="selected">All</option>';for(const e of t)n+=`<option value="${e}"`,e===this.filterTracker&&(n+=' selected="selected"'),n+=`>${ce._displayName(e)}</option>`;this.filterTrackersStr&&this.filterTrackersStr===n||(this.filterTrackersStr=n,document.querySelector("#filter-tracker").innerHTML=n)}sortRows(e){const t=e.map((e=>e.getTorrent())),n=e.reduce(((e,t)=>(e[t.getTorrent().getId()]=t,e)),{});D.sortTorrents(t,this.prefs.sort_mode,this.prefs.sort_direction);for(const[r,o]of t.entries())e[r]=n[o.getId()]}_refilter(e){const{sort_mode:t,sort_direction:n,filter_mode:r}=this.prefs,o=this.filterTracker,s=this.torrentRenderer,i=this.elements.torrent_list;let a=null,l=null;const c=/^labels:([\w,]*)(.*)$/.exec(this.filterText);c?(a=c[2].trim(),l=c[1].split(",")):(a=this.filterText,l=[]);const d=()=>[...i.children].length,A=()=>[...i.children].reduce(((e,t)=>e+t.classList.contains("selected")?1:0),0),p=d(),u=A();if(this._updateFilterSelect(),clearTimeout(this.refilterTimer),delete this.refilterTimer,e){for(;i.firstChild;)i.firstChild.remove();this._rows=[],this.dirtyTorrents=new Set(Object.keys(this._torrents))}const g=[];let m=[];for(const e of this._rows)this.dirtyTorrents.has(e.getTorrentId())?m.push(e):g.push(e);for(const e of m)e.getElement().remove();const h=[];for(const e of m){const t=e.getTorrentId(),n=this._torrents[t];n&&n.test(r,o,a,l)&&h.push(e),this.dirtyTorrents.delete(t)}m=h;for(const e of this.dirtyTorrents.values()){const t=this._torrents[e];if(t&&t.test(r,o,a,l)){const e=new le(s,this,t),n=e.getElement();n.row=e,m.push(e),n.addEventListener("click",this._onRowClicked.bind(this)),n.addEventListener("dblclick",(()=>this.action_manager.click("show-inspector")))}}this.sortRows(m);const f=[],b=g.length,C=m.length,v=document.createDocumentFragment();let y=0,E=0;for(;y!==b||E!==C;){let e=null;if(y===b)e=!1;else if(E===C)e=!0;else{e=D.compareTorrents(g[y].getTorrent(),m[E].getTorrent(),t,n)<0}if(e)f.push(g[y++]);else{const e=m[E++],t=e.getElement();y!==b?i.insertBefore(t,g[y].getElement()):v.append(t),f.push(e)}}i.append(v),this._rows=f,this.dirtyTorrents.clear();for(const[e,t]of f.map((e=>e.getElement())).entries()){const n=e%2==0;t.classList.toggle("even",n),t.classList.toggle("odd",!n)}this._updateStatusbar(),u===A()&&p===d()||this.dispatchSelectionChangedSoon()}setFilterTracker(e){document.querySelector("#filter-tracker").value=e?ce._getReadableDomain(e):"all",this.filterTracker=e,this.refilterAllSoon()}_getTrackerCounts(){const e={};for(const t of this._getAllTorrents())for(const n of t.getTrackers()){const{sitename:t}=n;e[t]=(e[t]||0)+1}return e}popupCloseListener(e){if(e.target!==this.popup)throw new Error(e);this.popup.removeEventListener("close",this.boundPopupCloseListener),delete this.popup}setCurrentPopup(e){this.popup&&this.popup.close(),this.popup=e,this.popup&&this.popup.addEventListener("close",this.boundPopupCloseListener)}}var de=n(379),Ae=n.n(de),pe=n(592),ue={insert:"head",singleton:!1};Ae()(pe.Z,ue);pe.Z.locals;document.addEventListener("DOMContentLoaded",(function(){const t=new e,n=new b,r=new f(n),o=new ce(t,r,n),s=c((()=>o.elements.torrent_list.scrollTo(0,1)));window.addEventListener("load",s),window.onorientationchange=s}))})()})();
//# sourceMappingURL=transmission-app.js.map