PageSourceSearch

https://bierochs.org/resources/Prowlarr-Bp6FFrmL.js

js bierochs.org collected 2026-10-04 06:55:51 UTC 1,142 bytes, 1 lines download raw bytes

1import{c as e,d as t,l as n,m as r,n as i,o as a,p as o,r as s,s as c,v as l}from"./index-C32yDzkE.js";var u={name:`Prowlarr`,mixins:[i],props:{item:Object},data:()=>({warnings:null,errors:null,serverError:!1}),created(){this.autoUpdateMethod=this.fetchConfig,this.fetchConfig()},methods:{fetchConfig:function(){this.fetch(`/api/v1/health?apikey=${this.item.apikey}`).then(e=>{this.warnings=0,this.errors=0;for(var t=0;t<e.length;t++)e[t].type==`warning`?this.warnings++:e[t].type==`error`&&this.errors++}).catch(e=>{console.error(e),this.serverError=!0})}}},d={class:`notifs`},f={key:0,class:`notif warnings`,title:`Warning`},p={key:1,class:`notif errors`,title:`Error`},m={key:2,class:`notif errors`,title:`Connection error to Prowlarr API, check url and apikey in config.yml`};function h(i,s,u,h,g,_){let v=o(`Generic`);return t(),c(v,{item:u.item},{indicator:r(()=>[a(`div`,d,[i.warnings>0?(t(),n(`strong`,f,l(i.warnings),1)):e(``,!0),i.errors>0?(t(),n(`strong`,p,l(i.errors),1)):e(``,!0),i.serverError?(t(),n(`strong`,m,` ? `)):e(``,!0)])]),_:1},8,[`item`])}var g=s(u,[[`render`,h],[`__scopeId`,`data-v-4f481b4b`]]);export{g as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.