PageSourceSearch

http://node.cc/static/js/useLabel.BMjZg4WL.js

js node.cc collected 2026-10-06 13:16:47 UTC 724 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{r as t}from"./emotion-is-prop-valid.esm.CygBv61C.js";import{lt as n}from"./Tooltip.PNC8NIZa.js";var r=e(t(),1);function i(e,t){let{id:r,"aria-label":i,"aria-labelledby":a}=e;return r=n(r),a&&i?a=[...new Set([r,...a.trim().split(/\s+/)])].join(` `):a&&=a.trim().split(/\s+/).join(` `),!i&&!a&&t&&(i=t),{id:r,"aria-label":i,"aria-labelledby":a}}var a=(0,r.createContext)({});function o(e){let{id:t,label:r,"aria-labelledby":a,"aria-label":o,labelElementType:s=`label`}=e;t=n(t);let c=n(),l={};r&&(a=a?`${c} ${a}`:c,l={id:c,htmlFor:s===`label`?t:void 0});let u=i({id:t,"aria-label":o,"aria-labelledby":a});return{labelProps:l,fieldProps:u}}export{a as n,i as r,o as t};

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.