PageSourceSearch

https://firewolf.netlify.app/_nuxt/CpioWFkB.js

js firewolf.netlify.app collected 2026-10-03 10:44:52 UTC 1,435 bytes, 1 lines download raw bytes

1import{A as w,c as s,aa as c,ab as l,aj as u,ah as g,u as t,am as x,aC as y}from"./Cqga2mdz.js";const C={class:"relative flex flex-col items-center"},v=["width","height","viewBox"],z=["cx","cy","r","stroke","stroke-width"],b=["cx","cy","r","stroke-width","stroke-dasharray"],D={class:"text-sm font-medium text-gray-800"},$="rgb(86, 161, 229)",B="rgb(237, 111, 133)",W=w({__name:"DoughnutChart",props:{winCount:{},loseCount:{},label:{},size:{default:100},strokeWidth:{default:12}},setup(e){const o=e,n=s(()=>o.size/2),a=s(()=>(o.size-o.strokeWidth)/2),h=s(()=>2*Math.PI*a.value),i=s(()=>o.winCount+o.loseCount),d=s(()=>i.value===0),m=s(()=>i.value===0?0:o.winCount/i.value),k=s(()=>{const r=h.value*m.value,f=h.value-r;return`${r} ${f}`});return(r,f)=>(l(),c("div",C,[(l(),c("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,class:"-rotate-90 transform"},[u("circle",{cx:t(n),cy:t(n),r:t(a),fill:"none",stroke:t(d)?"#ccc":B,"stroke-width":e.strokeWidth},null,8,z),!t(d)&&e.winCount>0?(l(),c("circle",{key:0,cx:t(n),cy:t(n),r:t(a),fill:"none",stroke:$,"stroke-width":e.strokeWidth,"stroke-dasharray":t(k),"stroke-dashoffset":0,"stroke-linecap":"round"},null,8,b)):g("",!0)],8,v)),u("div",{class:"absolute inset-0 flex items-center justify-center",style:y({width:`${e.size}px`,height:`${e.size}px`})},[u("span",D,x(e.label),1)],4)]))}}),P=Object.assign(W,{__name:"PagesPlayerRecordDoughnutChart"});export{P 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.