PageSourceSearch

https://trading.giaodich24.vn/assets/createReactComponent-CP31j5TU.js

js giaodich24.vn collected 2026-09-24 13:32:55 UTC 1,633 bytes, 1 lines download raw bytes

1import{da as e,ia as t,oa as n}from"./utils-D_ndrK2U.js";var r=e(n(),1),i=t(),a=(0,r.createContext)({theme:`system`,setTheme:()=>null});function o({children:e,defaultTheme:t=`system`,storageKey:n=`vite-ui-theme`,...o}){let[s,c]=(0,r.useState)(()=>localStorage.getItem(n)||t);(0,r.useEffect)(()=>{let e=window.document.documentElement,t=window.matchMedia(`(prefers-color-scheme: dark)`),n=n=>{e.classList.remove(`light`,`dark`);let r=t.matches?`dark`:`light`,i=n===`system`?r:n;e.classList.add(i)},r=()=>{s===`system`&&n(`system`)};return n(s),t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[s]);let l={theme:s,setTheme:e=>{localStorage.setItem(n,e),c(e)}};return(0,i.jsx)(a.Provider,{...o,value:l,children:e})}var s=()=>{let e=(0,r.useContext)(a);if(e===void 0)throw Error(`useTheme must be used within a ThemeProvider`);return e},c={outline:{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},filled:{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`currentColor`,stroke:`none`}},l=(e,t,n,i)=>{let a=(0,r.forwardRef)(({color:n=`currentColor`,size:a=24,stroke:o=2,title:s,className:l,children:u,...d},f)=>(0,r.createElement)(`svg`,{ref:f,...c[e],width:a,height:a,className:[`tabler-icon`,`tabler-icon-${t}`,l].join(` `),...e===`filled`?{fill:n}:{strokeWidth:o,stroke:n},...d},[s&&(0,r.createElement)(`title`,{key:`svg-title`},s),...i.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(u)?u:[u]]));return a.displayName=`${n}`,a};export{o as n,s as r,l 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.