1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8364],{3333:(e,r,t)=>{t.d(r,{A:()=>s});var n=t(33308),a=t(94402);function s(e,r,t,l={}){let i={...l};t?.refreshInterval&&(i.refreshInterval=t.refreshInterval);let u=(0,a.$C)(e,r,t);""===r&&(u=null);let{data:o,error:c,mutate:f}=(0,n.u)(u,i);return{data:o,error:o?.error??c,mutate:f}}},58364:(e,r,t)=>{t.r(r),t.d(r,{default:()=>u});var n=t(15383),a=t(71890),s=t(14343),l=t(4860),i=t(3333);function u({config:e,params:r,setEvents:t,hideErrors:o=!1}){let{data:c,error:f}=(0,i.A)(e,"calendar",{...r,includeArtist:"false",...e?.params??{}});(0,s.useEffect)(()=>{if(!c||f)return;let r={};c?.forEach(t=>{let n=`${t.artist.artistName} - ${t.title}`;r[n]={title:n,date:a.c9.fromISO(t.releaseDate),color:e?.color??"green",isCompleted:t.grabbed,additional:""}}),t(e=>({...e,...r}))},[c,f,e,t]);let d=f??c?.error;return d&&!o&&(0,n.jsx)(l.A,{error:{message:`${e.type}: ${d.message??d}`}})}},94402:(e,r,t)=>{function n(e,r=null){return null==e||""===e?r:"number"==typeof e?Number.isInteger(e)&&e>=0?e:r:"string"==typeof e&&/^\d+$/.test(e)?Number(e):r}function a(e,r){let t=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&t.append("endpoint",r),t}function s(e,r,t){let n=a(e,r);return t&&n.append("query",JSON.stringify(t)),`/api/services/proxy?${n.toString()}`}t.d(r,{$C:()=>s,Sk:()=>n,_V:()=>a})}}]);
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.