var e=[{value:`resolution`,label:`Resolution`,arrType:`all`},{value:`source`,label:`Source`,arrType:`all`},{value:`quality_modifier`,label:`Quality Modifier`,arrType:`radarr`},{value:`release_title`,label:`Release Title`,arrType:`all`},{value:`release_group`,label:`Release Group`,arrType:`all`},{value:`edition`,label:`Edition`,arrType:`radarr`},{value:`language`,label:`Language`,arrType:`all`},{value:`release_type`,label:`Release Type`,arrType:`sonarr`},{value:`indexer_flag`,label:`Indexer Flag`,arrType:`all`},{value:`size`,label:`Size`,arrType:`all`},{value:`year`,label:`Year`,arrType:`all`}],t=new Map(e.map((e,t)=>[e.value,t]));function n(e,t){return e&&!t?0:t?1:2}function r(e){return[...e].sort((e,r)=>{let i=n(e.required,e.negate),a=n(r.required,r.negate);if(i!==a)return i-a;let o=t.get(e.type)??999,s=t.get(r.type)??999;return o===s?e.name.localeCompare(r.name):o-s})}var i=[`release_title`,`release_group`,`edition`],a=[{value:`unknown`,label:`Unknown`,arrType:`all`},{value:`television`,label:`Television`,arrType:`all`},{value:`television_raw`,label:`Television Raw`,arrType:`sonarr`},{value:`web_dl`,label:`WEB-DL`,arrType:`all`},{value:`webrip`,label:`WEBRip`,arrType:`all`},{value:`dvd`,label:`DVD`,arrType:`all`},{value:`bluray`,label:`Bluray`,arrType:`all`},{value:`bluray_raw`,label:`Bluray Raw`,arrType:`sonarr`},{value:`cam`,label:`CAM`,arrType:`all`},{value:`telesync`,label:`Telesync`,arrType:`all`},{value:`telecine`,label:`Telecine`,arrType:`all`},{value:`workprint`,label:`Workprint`,arrType:`all`}],o=[{value:`360p`,label:`360p`,arrType:`all`},{value:`480p`,label:`480p`,arrType:`all`},{value:`540p`,label:`540p`,arrType:`all`},{value:`576p`,label:`576p`,arrType:`all`},{value:`720p`,label:`720p`,arrType:`all`},{value:`1080p`,label:`1080p`,arrType:`all`},{value:`2160p`,label:`2160p`,arrType:`all`}],s=[{value:`none`,label:`None`,arrType:`radarr`},{value:`regional`,label:`Regional`,arrType:`radarr`},{value:`screener`,label:`Screener`,arrType:`radarr`},{value:`rawhd`,label:`RawHD`,arrType:`radarr`},{value:`brdisk`,label:`BRDISK`,arrType:`radarr`},{value:`remux`,label:`REMUX`,arrType:`radarr`}],c=[{value:`single_episode`,label:`Single Episode`,arrType:`sonarr`},{value:`multi_episode`,label:`Multi Episode`,arrType:`sonarr`},{value:`season_pack`,label:`Season Pack`,arrType:`sonarr`}],l=[{value:`freeleech`,label:`Freeleech`,arrType:`all`},{value:`halfleech`,label:`Halfleech`,arrType:`all`},{value:`double_upload`,label:`Double Upload`,arrType:`all`},{value:`internal`,label:`Internal`,arrType:`all`},{value:`scene`,label:`Scene`,arrType:`all`},{value:`freeleech_75`,label:`Freeleech 75%`,arrType:`all`},{value:`freeleech_25`,label:`Freeleech 25%`,arrType:`all`},{value:`nuked`,label:`Nuked`,arrType:`all`},{value:`ptp_golden`,label:`PTP Golden`,arrType:`radarr`},{value:`ptp_approved`,label:`PTP Approved`,arrType:`radarr`}];export{c as a,r as c,s as i,l as n,o,i as r,a as s,e as t};