1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./jsx-runtime-CFwixLRt.js";import{n,t as r}from"./color-palette-CpzE57w5.js";var i=`cloodot-color-palette`,a=[`gray`,`red`,`orange`,`yellow`,`green`,`teal`,`blue`,`cyan`,`pink`],o=`green`;function s(e){return typeof e==`string`&&a.includes(e)}var c={gray:`Graphite`,red:`Ember`,orange:`Marigold`,yellow:`Honey`,green:`Moss`,teal:`Lagoon`,blue:`Cobalt`,cyan:`Glacier`,pink:`Blossom`},l=[`50`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`,`950`,`subtle`,`muted`,`emphasized`,`solid`,`fg`,`contrast`,`focus-ring`];function u(){let e=(e,t)=>`${e}{${l.map(e=>`--chakra-colors-color-palette-${e}: var(--chakra-colors-${t}-${e});`).join(``)}}`;return e(`html`,o)+a.map(t=>e(`html[data-color-palette="${t}"]`,t)).join(``)}function d(){let e=JSON.stringify(a);return`(function(){try{var p=${JSON.stringify(o)};var m=document.cookie.match(/(?:^|; )${i}=([^;]+)/);if(m){var v=decodeURIComponent(m[1]);if(${e}.indexOf(v)!==-1){p=v;}}document.documentElement.setAttribute('data-color-palette',p);}catch(e){document.documentElement.setAttribute('data-color-palette',${JSON.stringify(o)});}})();`}var f=e(t());function p({children:e}){return(0,f.jsx)(r,{cookieName:i,defaultPalette:o,isValidPalette:s,children:e})}function m(){return n()}function h(){try{return n().colorPalette}catch{return o}}export{c as a,a as i,m as n,d as o,h as r,u as s,p 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.