PageSourceSearch

https://opentiss.net/assets/chunks/chunk-CVngPE_D.js

js opentiss.net collected 2026-10-02 14:25:13 UTC 1,471 bytes, 1 lines download raw bytes

1import{p as R,c as S,d as C,j as i,B as _,e as k,D as N,v as w,k as p}from"./chunk-BTns3keY.js";var m={root:"m_347db0ec","root--dot":"m_fbd81e3d",label:"m_5add502a",section:"m_91fdda9b"};const z=k((s,{radius:d,color:e,gradient:l,variant:o,size:a,autoContrast:n,circle:c})=>{const t=s.variantColorResolver({color:e||s.primaryColor,theme:s,gradient:l,variant:o||"filled",autoContrast:n});return{root:{"--badge-height":p(a,"badge-height"),"--badge-padding-x":p(a,"badge-padding-x"),"--badge-fz":p(a,"badge-fz"),"--badge-radius":c||d===void 0?void 0:w(d),"--badge-bg":e||o?t.background:void 0,"--badge-color":e||o?t.color:void 0,"--badge-bd":e||o?t.border:void 0,"--badge-dot-color":o==="dot"?N(e,s):void 0}}}),u=R((s,d)=>{const e=S("Badge",null,s),{classNames:l,className:o,style:a,styles:n,unstyled:c,vars:t,radius:D,color:E,gradient:F,leftSection:g,rightSection:b,children:v,variant:h,fullWidth:f,autoContrast:P,circle:x,mod:y,attributes:B,...j}=e,r=C({name:"Badge",props:e,classes:m,className:o,style:a,classNames:l,styles:n,unstyled:c,attributes:B,vars:t,varsResolver:z});return i.jsxs(_,{variant:h,mod:[{block:f,circle:x,"with-right-section":!!b,"with-left-section":!!g},y],...r("root",{variant:h}),ref:d,...j,children:[g&&i.jsx("span",{...r("section"),"data-position":"left",children:g}),i.jsx("span",{...r("label"),children:v}),b&&i.jsx("span",{...r("section"),"data-position":"right",children:b})]})});u.classes=m;u.displayName="@mantine/core/Badge";export{u as B};

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.