@coldsurf/ocean-road 1.16.0-alpha.4 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +81 -54
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -0
- package/dist/native.cjs +3 -2
- package/dist/native.cjs.map +1 -0
- package/dist/native.d.cts +42 -23
- package/dist/native.d.cts.map +1 -0
- package/dist/native.d.ts +37 -18
- package/dist/native.d.ts.map +1 -0
- package/dist/native.js +4 -3
- package/dist/native.js.map +1 -0
- package/dist/next.cjs +132 -131
- package/dist/next.cjs.map +1 -0
- package/dist/next.d.cts +35 -26
- package/dist/next.d.cts.map +1 -0
- package/dist/next.d.ts +14 -5
- package/dist/next.d.ts.map +1 -0
- package/dist/next.js +132 -131
- package/dist/next.js.map +1 -0
- package/package.json +24 -17
- package/src/extensions/dropdown/dropdown.menu-item.tsx +3 -0
- package/src/extensions/dropdown/dropdown.tsx +27 -18
- package/tokens/css/color/variables-dark.css +1 -1
- package/tokens/css/color/variables-light.css +1 -1
- package/tokens/css/color/variables.css +1 -1
- package/tokens/css/typography/variables.css +1 -1
- package/tokens/js/color/variables-theme.d.ts +1 -1
- package/tokens/js/color/variables-theme.js +1 -1
- package/tokens/js/color/variables.d.ts +1 -1
- package/tokens/js/color/variables.js +1 -1
- package/tokens/js/semantic/theme-variables.ts +52 -0
- package/tokens/js/semantic/variables.ts +83 -0
- package/tokens/js/typography/variables.ts +29 -0
- package/src/tokens/generated/css/color/variables-dark.css +0 -19
- package/src/tokens/generated/css/color/variables-light.css +0 -19
- package/src/tokens/generated/css/color/variables.css +0 -139
- package/src/tokens/generated/css/typography/variables.css +0 -59
- package/src/tokens/generated/js/color/variables-theme.d.ts +0 -47
- package/src/tokens/generated/js/color/variables-theme.js +0 -293
- package/src/tokens/generated/js/color/variables.d.ts +0 -185
- package/src/tokens/generated/js/color/variables.js +0 -2539
- package/src/tokens/generated/js/semantic/theme-variables.d.ts +0 -51
- package/src/tokens/generated/js/semantic/theme-variables.js +0 -53
- package/src/tokens/generated/js/semantic/theme-variables.mjs +0 -51
- package/src/tokens/generated/js/semantic/variables.d.ts +0 -82
- package/src/tokens/generated/js/semantic/variables.js +0 -84
- package/src/tokens/generated/js/semantic/variables.mjs +0 -82
- package/src/tokens/generated/js/typography/variables.d.ts +0 -28
- package/src/tokens/generated/js/typography/variables.js +0 -30
- package/src/tokens/generated/js/typography/variables.mjs +0 -28
- package/src/tokens/generated/json/color/variables-dark.json +0 -14
- package/src/tokens/generated/json/color/variables-light.json +0 -14
- package/src/tokens/generated/json/color/variables.json +0 -134
- package/src/tokens/generated/json/typography/variables.json +0 -54
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import*as t from"react";import{Children as n,Component as r,Fragment as i,createContext as a,createElement as o,forwardRef as s,isValidElement as c,memo as l,useCallback as u,useContext as d,useEffect as f,useId as p,useImperativeHandle as m,useInsertionEffect as h,useLayoutEffect as g,useMemo as _,useReducer as v,useRef as y,useState as b,useSyncExternalStore as x}from"react";import{Fragment as S,jsx as C,jsxs as w}from"react/jsx-runtime";import{Global as T,css as E}from"@emotion/react";import D from"@emotion/styled";var ee=Object.create,te=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,re=Object.getOwnPropertyNames,ie=Object.getPrototypeOf,ae=Object.prototype.hasOwnProperty,oe=(e,t)=>()=>(e&&(t=e(e=0)),t),se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ce=(e,t)=>{for(var n in t)te(e,n,{get:t[n],enumerable:!0})},le=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=re(t),a=0,o=i.length,s;a<o;a++)s=i[a],!ae.call(e,s)&&s!==n&&te(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ne(t,s))||r.enumerable});return e},ue=(e,t,n)=>(n=e==null?{}:ee(ie(e)),le(t||!e||!e.__esModule?te(n,`default`,{value:e,enumerable:!0}):n,e)),de=e=>le(te({},`__esModule`,{value:!0}),e),fe=`#000000`,pe=`#212529`,me=`#343a40`,he=`#495057`,ge=`#868e96`,_e=`#f1f3f5`,ve=`#e9ecef`,ye=`#dee2e6`,be=`#ced4da`,xe=`#495057`,Se=`#868e96`,Ce=`#495057`,we={"color-background-1":fe,"color-background-2":pe,"color-background-3":me,"color-background-4":he,"color-background-5":ge,"color-foreground-1":_e,"color-foreground-2":ve,"color-foreground-3":ye,"color-foreground-4":be,"color-border-1":xe,"color-border-2":Se,"color-dimmed-1":Ce},Te=`#ffffff`,Ee=`#f1f3f5`,De=`#e9ecef`,Oe=`#dee2e6`,ke=`#ced4da`,Ae=`#212529`,je=`#343a40`,Me=`#495057`,Ne=`#868e96`,Pe=`#f1f3f5`,Fe=`#e9ecef`,Ie=`#f1f3f5`,Le={"color-background-1":Te,"color-background-2":Ee,"color-background-3":De,"color-background-4":Oe,"color-background-5":ke,"color-foreground-1":Ae,"color-foreground-2":je,"color-foreground-3":Me,"color-foreground-4":Ne,"color-border-1":Pe,"color-border-2":Fe,"color-dimmed-1":Ie},Re=`0.6875rem`,ze=`0.75rem`,Be=`0.8125rem`,Ve=`0.875rem`,He=`0.9375rem`,Ue=`1rem`,We=`1.125rem`,Ge=`1.25rem`,Ke=`1.375rem`,qe=`1.5rem`,Je=`1.875rem`,Ye=`2.25rem`,Xe=400,Ze=500,Qe=600,$e=700,et=1.2,tt=1.5,nt=1.75,rt=`1.5rem`,it=700,at=1.2,ot=`1.25rem`,st=600,ct=1.2,lt=`1.125rem`,ut=600,dt=1.5,ft=`1rem`,pt=400,mt=1.5,ht=`0.875rem`,gt=400,_t=1.5,vt=`0.75rem`,yt=400,bt=1.75,xt=`0.875rem`,St=500,Ct=1.5,wt=`0.6875rem`,Tt=600,Et=1.75,Dt=`0.8125rem`,Ot=400,kt=1.5,At=`0.9375rem`,jt=400,Mt=1.5,Nt=`1.375rem`,Pt=700,Ft=1.2,It={"typography-font-size-2xs":Re,"typography-font-size-xs":ze,"typography-font-size-xs2":Be,"typography-font-size-sm":Ve,"typography-font-size-sm2":He,"typography-font-size-md":Ue,"typography-font-size-lg":We,"typography-font-size-xl":Ge,"typography-font-size-xl2":Ke,"typography-font-size-2xl":qe,"typography-font-size-3xl":Je,"typography-font-size-4xl":Ye,"typography-font-weight-regular":Xe,"typography-font-weight-medium":Ze,"typography-font-weight-semibold":Qe,"typography-font-weight-bold":$e,"typography-line-height-tight":et,"typography-line-height-normal":tt,"typography-line-height-relaxed":nt,"typography-variant-heading1-font-size":rt,"typography-variant-heading1-font-weight":it,"typography-variant-heading1-line-height":at,"typography-variant-heading2-font-size":ot,"typography-variant-heading2-font-weight":st,"typography-variant-heading2-line-height":ct,"typography-variant-heading3-font-size":lt,"typography-variant-heading3-font-weight":ut,"typography-variant-heading3-line-height":dt,"typography-variant-body1-font-size":ft,"typography-variant-body1-font-weight":pt,"typography-variant-body1-line-height":mt,"typography-variant-body2-font-size":ht,"typography-variant-body2-font-weight":gt,"typography-variant-body2-line-height":_t,"typography-variant-caption-font-size":vt,"typography-variant-caption-font-weight":yt,"typography-variant-caption-line-height":bt,"typography-variant-label-font-size":xt,"typography-variant-label-font-weight":St,"typography-variant-label-line-height":Ct,"typography-variant-overline-font-size":wt,"typography-variant-overline-font-weight":Tt,"typography-variant-overline-line-height":Et,"typography-variant-body3-font-size":Dt,"typography-variant-body3-font-weight":Ot,"typography-variant-body3-line-height":kt,"typography-variant-body4-font-size":At,"typography-variant-body4-font-weight":jt,"typography-variant-body4-line-height":Mt,"typography-variant-heading4-font-size":Nt,"typography-variant-heading4-font-weight":Pt,"typography-variant-heading4-line-height":Ft},Lt=se((exports,t)=>{t.exports={oc:{white:{value:`#ffffff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffffff`},name:`OcWhite`,attributes:{category:`oc`,type:`white`},path:[`oc`,`white`]},black:{value:`#000000`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#000000`},name:`OcBlack`,attributes:{category:`oc`,type:`black`},path:[`oc`,`black`]},gray:{0:{value:`#f8f9fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f8f9fa`},name:`OcGray0`,attributes:{category:`oc`,type:`gray`,item:`0`},path:[`oc`,`gray`,`0`]},1:{value:`#f1f3f5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f1f3f5`},name:`OcGray1`,attributes:{category:`oc`,type:`gray`,item:`1`},path:[`oc`,`gray`,`1`]},2:{value:`#e9ecef`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e9ecef`},name:`OcGray2`,attributes:{category:`oc`,type:`gray`,item:`2`},path:[`oc`,`gray`,`2`]},3:{value:`#dee2e6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#dee2e6`},name:`OcGray3`,attributes:{category:`oc`,type:`gray`,item:`3`},path:[`oc`,`gray`,`3`]},4:{value:`#ced4da`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ced4da`},name:`OcGray4`,attributes:{category:`oc`,type:`gray`,item:`4`},path:[`oc`,`gray`,`4`]},5:{value:`#adb5bd`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#adb5bd`},name:`OcGray5`,attributes:{category:`oc`,type:`gray`,item:`5`},path:[`oc`,`gray`,`5`]},6:{value:`#868e96`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#868e96`},name:`OcGray6`,attributes:{category:`oc`,type:`gray`,item:`6`},path:[`oc`,`gray`,`6`]},7:{value:`#495057`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#495057`},name:`OcGray7`,attributes:{category:`oc`,type:`gray`,item:`7`},path:[`oc`,`gray`,`7`]},8:{value:`#343a40`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#343a40`},name:`OcGray8`,attributes:{category:`oc`,type:`gray`,item:`8`},path:[`oc`,`gray`,`8`]},9:{value:`#212529`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#212529`},name:`OcGray9`,attributes:{category:`oc`,type:`gray`,item:`9`},path:[`oc`,`gray`,`9`]}},red:{0:{value:`#fff5f5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff5f5`},name:`OcRed0`,attributes:{category:`oc`,type:`red`,item:`0`},path:[`oc`,`red`,`0`]},1:{value:`#ffe3e3`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe3e3`},name:`OcRed1`,attributes:{category:`oc`,type:`red`,item:`1`},path:[`oc`,`red`,`1`]},2:{value:`#ffc9c9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffc9c9`},name:`OcRed2`,attributes:{category:`oc`,type:`red`,item:`2`},path:[`oc`,`red`,`2`]},3:{value:`#ffa8a8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffa8a8`},name:`OcRed3`,attributes:{category:`oc`,type:`red`,item:`3`},path:[`oc`,`red`,`3`]},4:{value:`#ff8787`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff8787`},name:`OcRed4`,attributes:{category:`oc`,type:`red`,item:`4`},path:[`oc`,`red`,`4`]},5:{value:`#ff6b6b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff6b6b`},name:`OcRed5`,attributes:{category:`oc`,type:`red`,item:`5`},path:[`oc`,`red`,`5`]},6:{value:`#fa5252`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fa5252`},name:`OcRed6`,attributes:{category:`oc`,type:`red`,item:`6`},path:[`oc`,`red`,`6`]},7:{value:`#f03e3e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f03e3e`},name:`OcRed7`,attributes:{category:`oc`,type:`red`,item:`7`},path:[`oc`,`red`,`7`]},8:{value:`#e03131`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e03131`},name:`OcRed8`,attributes:{category:`oc`,type:`red`,item:`8`},path:[`oc`,`red`,`8`]},9:{value:`#c92a2a`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c92a2a`},name:`OcRed9`,attributes:{category:`oc`,type:`red`,item:`9`},path:[`oc`,`red`,`9`]}},pink:{0:{value:`#fff0f6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff0f6`},name:`OcPink0`,attributes:{category:`oc`,type:`pink`,item:`0`},path:[`oc`,`pink`,`0`]},1:{value:`#ffdeeb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffdeeb`},name:`OcPink1`,attributes:{category:`oc`,type:`pink`,item:`1`},path:[`oc`,`pink`,`1`]},2:{value:`#fcc2d7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fcc2d7`},name:`OcPink2`,attributes:{category:`oc`,type:`pink`,item:`2`},path:[`oc`,`pink`,`2`]},3:{value:`#faa2c1`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#faa2c1`},name:`OcPink3`,attributes:{category:`oc`,type:`pink`,item:`3`},path:[`oc`,`pink`,`3`]},4:{value:`#f783ac`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f783ac`},name:`OcPink4`,attributes:{category:`oc`,type:`pink`,item:`4`},path:[`oc`,`pink`,`4`]},5:{value:`#f06595`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f06595`},name:`OcPink5`,attributes:{category:`oc`,type:`pink`,item:`5`},path:[`oc`,`pink`,`5`]},6:{value:`#e64980`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e64980`},name:`OcPink6`,attributes:{category:`oc`,type:`pink`,item:`6`},path:[`oc`,`pink`,`6`]},7:{value:`#d6336c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d6336c`},name:`OcPink7`,attributes:{category:`oc`,type:`pink`,item:`7`},path:[`oc`,`pink`,`7`]},8:{value:`#c2255c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c2255c`},name:`OcPink8`,attributes:{category:`oc`,type:`pink`,item:`8`},path:[`oc`,`pink`,`8`]},9:{value:`#a61e4d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a61e4d`},name:`OcPink9`,attributes:{category:`oc`,type:`pink`,item:`9`},path:[`oc`,`pink`,`9`]}},grape:{0:{value:`#f8f0fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f8f0fc`},name:`OcGrape0`,attributes:{category:`oc`,type:`grape`,item:`0`},path:[`oc`,`grape`,`0`]},1:{value:`#f3d9fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f3d9fa`},name:`OcGrape1`,attributes:{category:`oc`,type:`grape`,item:`1`},path:[`oc`,`grape`,`1`]},2:{value:`#eebefa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#eebefa`},name:`OcGrape2`,attributes:{category:`oc`,type:`grape`,item:`2`},path:[`oc`,`grape`,`2`]},3:{value:`#e599f7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e599f7`},name:`OcGrape3`,attributes:{category:`oc`,type:`grape`,item:`3`},path:[`oc`,`grape`,`3`]},4:{value:`#da77f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#da77f2`},name:`OcGrape4`,attributes:{category:`oc`,type:`grape`,item:`4`},path:[`oc`,`grape`,`4`]},5:{value:`#cc5de8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#cc5de8`},name:`OcGrape5`,attributes:{category:`oc`,type:`grape`,item:`5`},path:[`oc`,`grape`,`5`]},6:{value:`#be4bdb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#be4bdb`},name:`OcGrape6`,attributes:{category:`oc`,type:`grape`,item:`6`},path:[`oc`,`grape`,`6`]},7:{value:`#ae3ec9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ae3ec9`},name:`OcGrape7`,attributes:{category:`oc`,type:`grape`,item:`7`},path:[`oc`,`grape`,`7`]},8:{value:`#9c36b5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#9c36b5`},name:`OcGrape8`,attributes:{category:`oc`,type:`grape`,item:`8`},path:[`oc`,`grape`,`8`]},9:{value:`#862e9c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#862e9c`},name:`OcGrape9`,attributes:{category:`oc`,type:`grape`,item:`9`},path:[`oc`,`grape`,`9`]}},violet:{0:{value:`#f3f0ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f3f0ff`},name:`OcViolet0`,attributes:{category:`oc`,type:`violet`,item:`0`},path:[`oc`,`violet`,`0`]},1:{value:`#e5dbff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e5dbff`},name:`OcViolet1`,attributes:{category:`oc`,type:`violet`,item:`1`},path:[`oc`,`violet`,`1`]},2:{value:`#d0bfff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d0bfff`},name:`OcViolet2`,attributes:{category:`oc`,type:`violet`,item:`2`},path:[`oc`,`violet`,`2`]},3:{value:`#b197fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#b197fc`},name:`OcViolet3`,attributes:{category:`oc`,type:`violet`,item:`3`},path:[`oc`,`violet`,`3`]},4:{value:`#9775fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#9775fa`},name:`OcViolet4`,attributes:{category:`oc`,type:`violet`,item:`4`},path:[`oc`,`violet`,`4`]},5:{value:`#845ef7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#845ef7`},name:`OcViolet5`,attributes:{category:`oc`,type:`violet`,item:`5`},path:[`oc`,`violet`,`5`]},6:{value:`#7950f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#7950f2`},name:`OcViolet6`,attributes:{category:`oc`,type:`violet`,item:`6`},path:[`oc`,`violet`,`6`]},7:{value:`#7048e8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#7048e8`},name:`OcViolet7`,attributes:{category:`oc`,type:`violet`,item:`7`},path:[`oc`,`violet`,`7`]},8:{value:`#6741d9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#6741d9`},name:`OcViolet8`,attributes:{category:`oc`,type:`violet`,item:`8`},path:[`oc`,`violet`,`8`]},9:{value:`#5f3dc4`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5f3dc4`},name:`OcViolet9`,attributes:{category:`oc`,type:`violet`,item:`9`},path:[`oc`,`violet`,`9`]}},indigo:{0:{value:`#edf2ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#edf2ff`},name:`OcIndigo0`,attributes:{category:`oc`,type:`indigo`,item:`0`},path:[`oc`,`indigo`,`0`]},1:{value:`#dbe4ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#dbe4ff`},name:`OcIndigo1`,attributes:{category:`oc`,type:`indigo`,item:`1`},path:[`oc`,`indigo`,`1`]},2:{value:`#bac8ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#bac8ff`},name:`OcIndigo2`,attributes:{category:`oc`,type:`indigo`,item:`2`},path:[`oc`,`indigo`,`2`]},3:{value:`#91a7ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#91a7ff`},name:`OcIndigo3`,attributes:{category:`oc`,type:`indigo`,item:`3`},path:[`oc`,`indigo`,`3`]},4:{value:`#748ffc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#748ffc`},name:`OcIndigo4`,attributes:{category:`oc`,type:`indigo`,item:`4`},path:[`oc`,`indigo`,`4`]},5:{value:`#5c7cfa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5c7cfa`},name:`OcIndigo5`,attributes:{category:`oc`,type:`indigo`,item:`5`},path:[`oc`,`indigo`,`5`]},6:{value:`#4c6ef5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4c6ef5`},name:`OcIndigo6`,attributes:{category:`oc`,type:`indigo`,item:`6`},path:[`oc`,`indigo`,`6`]},7:{value:`#4263eb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4263eb`},name:`OcIndigo7`,attributes:{category:`oc`,type:`indigo`,item:`7`},path:[`oc`,`indigo`,`7`]},8:{value:`#3b5bdb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#3b5bdb`},name:`OcIndigo8`,attributes:{category:`oc`,type:`indigo`,item:`8`},path:[`oc`,`indigo`,`8`]},9:{value:`#364fc7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#364fc7`},name:`OcIndigo9`,attributes:{category:`oc`,type:`indigo`,item:`9`},path:[`oc`,`indigo`,`9`]}},blue:{0:{value:`#e7f5ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e7f5ff`},name:`OcBlue0`,attributes:{category:`oc`,type:`blue`,item:`0`},path:[`oc`,`blue`,`0`]},1:{value:`#d0ebff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d0ebff`},name:`OcBlue1`,attributes:{category:`oc`,type:`blue`,item:`1`},path:[`oc`,`blue`,`1`]},2:{value:`#a5d8ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a5d8ff`},name:`OcBlue2`,attributes:{category:`oc`,type:`blue`,item:`2`},path:[`oc`,`blue`,`2`]},3:{value:`#74c0fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#74c0fc`},name:`OcBlue3`,attributes:{category:`oc`,type:`blue`,item:`3`},path:[`oc`,`blue`,`3`]},4:{value:`#4dabf7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4dabf7`},name:`OcBlue4`,attributes:{category:`oc`,type:`blue`,item:`4`},path:[`oc`,`blue`,`4`]},5:{value:`#339af0`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#339af0`},name:`OcBlue5`,attributes:{category:`oc`,type:`blue`,item:`5`},path:[`oc`,`blue`,`5`]},6:{value:`#228be6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#228be6`},name:`OcBlue6`,attributes:{category:`oc`,type:`blue`,item:`6`},path:[`oc`,`blue`,`6`]},7:{value:`#1c7ed6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1c7ed6`},name:`OcBlue7`,attributes:{category:`oc`,type:`blue`,item:`7`},path:[`oc`,`blue`,`7`]},8:{value:`#1971c2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1971c2`},name:`OcBlue8`,attributes:{category:`oc`,type:`blue`,item:`8`},path:[`oc`,`blue`,`8`]},9:{value:`#1864ab`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1864ab`},name:`OcBlue9`,attributes:{category:`oc`,type:`blue`,item:`9`},path:[`oc`,`blue`,`9`]}},cyan:{0:{value:`#e3fafc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e3fafc`},name:`OcCyan0`,attributes:{category:`oc`,type:`cyan`,item:`0`},path:[`oc`,`cyan`,`0`]},1:{value:`#c5f6fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c5f6fa`},name:`OcCyan1`,attributes:{category:`oc`,type:`cyan`,item:`1`},path:[`oc`,`cyan`,`1`]},2:{value:`#99e9f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#99e9f2`},name:`OcCyan2`,attributes:{category:`oc`,type:`cyan`,item:`2`},path:[`oc`,`cyan`,`2`]},3:{value:`#66d9e8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#66d9e8`},name:`OcCyan3`,attributes:{category:`oc`,type:`cyan`,item:`3`},path:[`oc`,`cyan`,`3`]},4:{value:`#3bc9db`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#3bc9db`},name:`OcCyan4`,attributes:{category:`oc`,type:`cyan`,item:`4`},path:[`oc`,`cyan`,`4`]},5:{value:`#22b8cf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#22b8cf`},name:`OcCyan5`,attributes:{category:`oc`,type:`cyan`,item:`5`},path:[`oc`,`cyan`,`5`]},6:{value:`#15aabf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#15aabf`},name:`OcCyan6`,attributes:{category:`oc`,type:`cyan`,item:`6`},path:[`oc`,`cyan`,`6`]},7:{value:`#1098ad`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1098ad`},name:`OcCyan7`,attributes:{category:`oc`,type:`cyan`,item:`7`},path:[`oc`,`cyan`,`7`]},8:{value:`#0c8599`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0c8599`},name:`OcCyan8`,attributes:{category:`oc`,type:`cyan`,item:`8`},path:[`oc`,`cyan`,`8`]},9:{value:`#0b7285`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0b7285`},name:`OcCyan9`,attributes:{category:`oc`,type:`cyan`,item:`9`},path:[`oc`,`cyan`,`9`]}},teal:{0:{value:`#e6fcf5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e6fcf5`},name:`OcTeal0`,attributes:{category:`oc`,type:`teal`,item:`0`},path:[`oc`,`teal`,`0`]},1:{value:`#c3fae8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c3fae8`},name:`OcTeal1`,attributes:{category:`oc`,type:`teal`,item:`1`},path:[`oc`,`teal`,`1`]},2:{value:`#96f2d7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#96f2d7`},name:`OcTeal2`,attributes:{category:`oc`,type:`teal`,item:`2`},path:[`oc`,`teal`,`2`]},3:{value:`#63e6be`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#63e6be`},name:`OcTeal3`,attributes:{category:`oc`,type:`teal`,item:`3`},path:[`oc`,`teal`,`3`]},4:{value:`#38d9a9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#38d9a9`},name:`OcTeal4`,attributes:{category:`oc`,type:`teal`,item:`4`},path:[`oc`,`teal`,`4`]},5:{value:`#20c997`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#20c997`},name:`OcTeal5`,attributes:{category:`oc`,type:`teal`,item:`5`},path:[`oc`,`teal`,`5`]},6:{value:`#12b886`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#12b886`},name:`OcTeal6`,attributes:{category:`oc`,type:`teal`,item:`6`},path:[`oc`,`teal`,`6`]},7:{value:`#0ca678`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0ca678`},name:`OcTeal7`,attributes:{category:`oc`,type:`teal`,item:`7`},path:[`oc`,`teal`,`7`]},8:{value:`#099268`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#099268`},name:`OcTeal8`,attributes:{category:`oc`,type:`teal`,item:`8`},path:[`oc`,`teal`,`8`]},9:{value:`#087f5b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#087f5b`},name:`OcTeal9`,attributes:{category:`oc`,type:`teal`,item:`9`},path:[`oc`,`teal`,`9`]}},green:{0:{value:`#ebfbee`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ebfbee`},name:`OcGreen0`,attributes:{category:`oc`,type:`green`,item:`0`},path:[`oc`,`green`,`0`]},1:{value:`#d3f9d8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d3f9d8`},name:`OcGreen1`,attributes:{category:`oc`,type:`green`,item:`1`},path:[`oc`,`green`,`1`]},2:{value:`#b2f2bb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#b2f2bb`},name:`OcGreen2`,attributes:{category:`oc`,type:`green`,item:`2`},path:[`oc`,`green`,`2`]},3:{value:`#8ce99a`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#8ce99a`},name:`OcGreen3`,attributes:{category:`oc`,type:`green`,item:`3`},path:[`oc`,`green`,`3`]},4:{value:`#69db7c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#69db7c`},name:`OcGreen4`,attributes:{category:`oc`,type:`green`,item:`4`},path:[`oc`,`green`,`4`]},5:{value:`#51cf66`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#51cf66`},name:`OcGreen5`,attributes:{category:`oc`,type:`green`,item:`5`},path:[`oc`,`green`,`5`]},6:{value:`#40c057`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#40c057`},name:`OcGreen6`,attributes:{category:`oc`,type:`green`,item:`6`},path:[`oc`,`green`,`6`]},7:{value:`#37b24d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#37b24d`},name:`OcGreen7`,attributes:{category:`oc`,type:`green`,item:`7`},path:[`oc`,`green`,`7`]},8:{value:`#2f9e44`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#2f9e44`},name:`OcGreen8`,attributes:{category:`oc`,type:`green`,item:`8`},path:[`oc`,`green`,`8`]},9:{value:`#2b8a3e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#2b8a3e`},name:`OcGreen9`,attributes:{category:`oc`,type:`green`,item:`9`},path:[`oc`,`green`,`9`]}},lime:{0:{value:`#f4fce3`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f4fce3`},name:`OcLime0`,attributes:{category:`oc`,type:`lime`,item:`0`},path:[`oc`,`lime`,`0`]},1:{value:`#e9fac8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e9fac8`},name:`OcLime1`,attributes:{category:`oc`,type:`lime`,item:`1`},path:[`oc`,`lime`,`1`]},2:{value:`#d8f5a2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d8f5a2`},name:`OcLime2`,attributes:{category:`oc`,type:`lime`,item:`2`},path:[`oc`,`lime`,`2`]},3:{value:`#c0eb75`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c0eb75`},name:`OcLime3`,attributes:{category:`oc`,type:`lime`,item:`3`},path:[`oc`,`lime`,`3`]},4:{value:`#a9e34b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a9e34b`},name:`OcLime4`,attributes:{category:`oc`,type:`lime`,item:`4`},path:[`oc`,`lime`,`4`]},5:{value:`#94d82d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#94d82d`},name:`OcLime5`,attributes:{category:`oc`,type:`lime`,item:`5`},path:[`oc`,`lime`,`5`]},6:{value:`#82c91e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#82c91e`},name:`OcLime6`,attributes:{category:`oc`,type:`lime`,item:`6`},path:[`oc`,`lime`,`6`]},7:{value:`#74b816`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#74b816`},name:`OcLime7`,attributes:{category:`oc`,type:`lime`,item:`7`},path:[`oc`,`lime`,`7`]},8:{value:`#66a80f`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#66a80f`},name:`OcLime8`,attributes:{category:`oc`,type:`lime`,item:`8`},path:[`oc`,`lime`,`8`]},9:{value:`#5c940d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5c940d`},name:`OcLime9`,attributes:{category:`oc`,type:`lime`,item:`9`},path:[`oc`,`lime`,`9`]}},yellow:{0:{value:`#fff9db`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff9db`},name:`OcYellow0`,attributes:{category:`oc`,type:`yellow`,item:`0`},path:[`oc`,`yellow`,`0`]},1:{value:`#fff3bf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff3bf`},name:`OcYellow1`,attributes:{category:`oc`,type:`yellow`,item:`1`},path:[`oc`,`yellow`,`1`]},2:{value:`#ffec99`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffec99`},name:`OcYellow2`,attributes:{category:`oc`,type:`yellow`,item:`2`},path:[`oc`,`yellow`,`2`]},3:{value:`#ffe066`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe066`},name:`OcYellow3`,attributes:{category:`oc`,type:`yellow`,item:`3`},path:[`oc`,`yellow`,`3`]},4:{value:`#ffd43b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffd43b`},name:`OcYellow4`,attributes:{category:`oc`,type:`yellow`,item:`4`},path:[`oc`,`yellow`,`4`]},5:{value:`#fcc419`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fcc419`},name:`OcYellow5`,attributes:{category:`oc`,type:`yellow`,item:`5`},path:[`oc`,`yellow`,`5`]},6:{value:`#fab005`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fab005`},name:`OcYellow6`,attributes:{category:`oc`,type:`yellow`,item:`6`},path:[`oc`,`yellow`,`6`]},7:{value:`#f59f00`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f59f00`},name:`OcYellow7`,attributes:{category:`oc`,type:`yellow`,item:`7`},path:[`oc`,`yellow`,`7`]},8:{value:`#f08c00`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f08c00`},name:`OcYellow8`,attributes:{category:`oc`,type:`yellow`,item:`8`},path:[`oc`,`yellow`,`8`]},9:{value:`#e67700`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e67700`},name:`OcYellow9`,attributes:{category:`oc`,type:`yellow`,item:`9`},path:[`oc`,`yellow`,`9`]}},orange:{0:{value:`#fff4e6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff4e6`},name:`OcOrange0`,attributes:{category:`oc`,type:`orange`,item:`0`},path:[`oc`,`orange`,`0`]},1:{value:`#ffe8cc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe8cc`},name:`OcOrange1`,attributes:{category:`oc`,type:`orange`,item:`1`},path:[`oc`,`orange`,`1`]},2:{value:`#ffd8a8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffd8a8`},name:`OcOrange2`,attributes:{category:`oc`,type:`orange`,item:`2`},path:[`oc`,`orange`,`2`]},3:{value:`#ffc078`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffc078`},name:`OcOrange3`,attributes:{category:`oc`,type:`orange`,item:`3`},path:[`oc`,`orange`,`3`]},4:{value:`#ffa94d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffa94d`},name:`OcOrange4`,attributes:{category:`oc`,type:`orange`,item:`4`},path:[`oc`,`orange`,`4`]},5:{value:`#ff922b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff922b`},name:`OcOrange5`,attributes:{category:`oc`,type:`orange`,item:`5`},path:[`oc`,`orange`,`5`]},6:{value:`#fd7e14`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fd7e14`},name:`OcOrange6`,attributes:{category:`oc`,type:`orange`,item:`6`},path:[`oc`,`orange`,`6`]},7:{value:`#f76707`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f76707`},name:`OcOrange7`,attributes:{category:`oc`,type:`orange`,item:`7`},path:[`oc`,`orange`,`7`]},8:{value:`#e8590c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e8590c`},name:`OcOrange8`,attributes:{category:`oc`,type:`orange`,item:`8`},path:[`oc`,`orange`,`8`]},9:{value:`#d9480f`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d9480f`},name:`OcOrange9`,attributes:{category:`oc`,type:`orange`,item:`9`},path:[`oc`,`orange`,`9`]}}}}}),Rt=se(exports=>{Object.defineProperty(exports,`__esModule`,{value:!0});var t={light:{color:{background:{1:`#ffffff`,2:`#f1f3f5`,3:`#e9ecef`,4:`#dee2e6`,5:`#ced4da`},foreground:{1:`#212529`,2:`#343a40`,3:`#495057`,4:`#868e96`},border:{1:`#f1f3f5`,2:`#e9ecef`},dimmed:{1:`#f1f3f5`}}},dark:{color:{background:{1:`#000000`,2:`#212529`,3:`#343a40`,4:`#495057`,5:`#868e96`},foreground:{1:`#f1f3f5`,2:`#e9ecef`,3:`#dee2e6`,4:`#ced4da`},border:{1:`#495057`,2:`#868e96`},dimmed:{1:`#495057`}}}};exports.default=t}),zt=se(exports=>{Object.defineProperty(exports,`__esModule`,{value:!0});var t={color:{background:{1:`var(--color-background-1)`,2:`var(--color-background-2)`,3:`var(--color-background-3)`,4:`var(--color-background-4)`,5:`var(--color-background-5)`},foreground:{1:`var(--color-foreground-1)`,2:`var(--color-foreground-2)`,3:`var(--color-foreground-3)`,4:`var(--color-foreground-4)`},border:{1:`var(--color-border-1)`,2:`var(--color-border-2)`},dimmed:{1:`var(--color-dimmed-1)`}},typography:{heading1:{fontSize:`var(--typography-variant-heading1-font-size)`,fontWeight:`var(--typography-variant-heading1-font-weight)`,lineHeight:`var(--typography-variant-heading1-line-height)`},heading2:{fontSize:`var(--typography-variant-heading2-font-size)`,fontWeight:`var(--typography-variant-heading2-font-weight)`,lineHeight:`var(--typography-variant-heading2-line-height)`},heading3:{fontSize:`var(--typography-variant-heading3-font-size)`,fontWeight:`var(--typography-variant-heading3-font-weight)`,lineHeight:`var(--typography-variant-heading3-line-height)`},body1:{fontSize:`var(--typography-variant-body1-font-size)`,fontWeight:`var(--typography-variant-body1-font-weight)`,lineHeight:`var(--typography-variant-body1-line-height)`},body2:{fontSize:`var(--typography-variant-body2-font-size)`,fontWeight:`var(--typography-variant-body2-font-weight)`,lineHeight:`var(--typography-variant-body2-line-height)`},caption:{fontSize:`var(--typography-variant-caption-font-size)`,fontWeight:`var(--typography-variant-caption-font-weight)`,lineHeight:`var(--typography-variant-caption-line-height)`},label:{fontSize:`var(--typography-variant-label-font-size)`,fontWeight:`var(--typography-variant-label-font-weight)`,lineHeight:`var(--typography-variant-label-line-height)`},overline:{fontSize:`var(--typography-variant-overline-font-size)`,fontWeight:`var(--typography-variant-overline-font-weight)`,lineHeight:`var(--typography-variant-overline-line-height)`},body3:{fontSize:`var(--typography-variant-body3-font-size)`,fontWeight:`var(--typography-variant-body3-font-weight)`,lineHeight:`var(--typography-variant-body3-line-height)`},body4:{fontSize:`var(--typography-variant-body4-font-size)`,fontWeight:`var(--typography-variant-body4-font-weight)`,lineHeight:`var(--typography-variant-body4-line-height)`},heading4:{fontSize:`var(--typography-variant-heading4-font-size)`,fontWeight:`var(--typography-variant-heading4-font-weight)`,lineHeight:`var(--typography-variant-heading4-line-height)`}}};exports.default=t}),Bt=se(exports=>{Object.defineProperty(exports,`__esModule`,{value:!0});var t={fontSize:{"2xs":`var(--typography-font-size-2xs)`,xs:`var(--typography-font-size-xs)`,xs2:`var(--typography-font-size-xs2)`,sm:`var(--typography-font-size-sm)`,sm2:`var(--typography-font-size-sm2)`,md:`var(--typography-font-size-md)`,lg:`var(--typography-font-size-lg)`,xl:`var(--typography-font-size-xl)`,xl2:`var(--typography-font-size-xl2)`,"2xl":`var(--typography-font-size-2xl)`,"3xl":`var(--typography-font-size-3xl)`,"4xl":`var(--typography-font-size-4xl)`},fontWeight:{regular:`var(--typography-font-weight-regular)`,medium:`var(--typography-font-weight-medium)`,semibold:`var(--typography-font-weight-semibold)`,bold:`var(--typography-font-weight-bold)`},lineHeight:{tight:`var(--typography-line-height-tight)`,normal:`var(--typography-line-height-normal)`,relaxed:`var(--typography-line-height-relaxed)`}};exports.default=t}),Vt=ue(Lt(),1),Ht=ue(Rt(),1),Ut=ue(zt(),1),Wt=ue(Bt(),1);const O=Vt.default,k=Ut.default,Gt=Ht.default,Kt=Wt.default,qt={name:`lightMode`,...Le},Jt={name:`darkMode`,...we},Yt=e=>{let t=e===`lightMode`?qt:Jt,n=``;return Object.keys(t).forEach(e=>{n+=` --${e}: ${t[e]};\n`}),n},Xt=e=>`var(--${e})`,Zt=Object.keys(we),Qt=Zt.reduce((e,t)=>{let n=e;return n[t]=Xt(t),n},{}),$t=e=>{let t=``;return Object.keys(O).forEach(e=>{t+=` --${e}: ${O[e]};\n`}),e.name===`darkMode`&&Object.keys(we).forEach(e=>{t+=` --${e}: ${we[e]};\n`}),e.name===`lightMode`&&Object.keys(Le).forEach(e=>{t+=` --${e}: ${Le[e]};\n`}),Object.keys(It).forEach(e=>{t+=` --${e}: ${It[e]};\n`}),t},en=a({theme:qt,setTheme:()=>{}}),tn=e=>e===`dark`||e===`userPreference`&&typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?Jt:qt,nn=e=>{if(!e)return;let t=e.replace(/[^A-Za-z0-9_-]/g,``);return t||void 0},rn=({children:e,colorScheme:t,id:n})=>{let[r,i]=b(tn(t)),a=nn(n),o=a?`__oceanRoadTheme${a}`:void 0,s=o?`.${o}`:`:root`,c=u(e=>{i(tn(e.matches?`dark`:`light`))},[]);return f(()=>{if(i(tn(t)),t===`userPreference`&&window.matchMedia)return window.matchMedia(`(prefers-color-scheme: dark)`).addListener(c),()=>window.matchMedia(`(prefers-color-scheme: dark)`).removeListener(c)},[t,c]),w(en.Provider,{value:{theme:r,setTheme:e=>{i(tn(e))}},children:[C(`style`,{dangerouslySetInnerHTML:{__html:t===`userPreference`?`${s} {
|
|
1
|
+
import*as e from"react";import*as t from"react";import{Children as n,Component as r,Fragment as i,createContext as a,createElement as o,forwardRef as s,isValidElement as c,memo as l,useCallback as u,useContext as d,useEffect as f,useId as p,useImperativeHandle as m,useInsertionEffect as h,useLayoutEffect as g,useMemo as _,useReducer as v,useRef as y,useState as b,useSyncExternalStore as x}from"react";import{Fragment as S,jsx as C,jsxs as w}from"react/jsx-runtime";import{Global as T,css as E}from"@emotion/react";import D from"@emotion/styled";var ee=Object.create,te=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,re=Object.getOwnPropertyNames,ie=Object.getPrototypeOf,ae=Object.prototype.hasOwnProperty,oe=(e,t)=>()=>(e&&(t=e(e=0)),t),se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ce=(e,t)=>{for(var n in t)te(e,n,{get:t[n],enumerable:!0})},le=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=re(t),a=0,o=i.length,s;a<o;a++)s=i[a],!ae.call(e,s)&&s!==n&&te(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ne(t,s))||r.enumerable});return e},ue=(e,t,n)=>(n=e==null?{}:ee(ie(e)),le(t||!e||!e.__esModule?te(n,`default`,{value:e,enumerable:!0}):n,e)),de=e=>le(te({},`__esModule`,{value:!0}),e),fe=`#000000`,pe=`#212529`,me=`#343a40`,he=`#495057`,ge=`#868e96`,_e=`#f1f3f5`,ve=`#e9ecef`,ye=`#dee2e6`,be=`#ced4da`,xe=`#495057`,Se=`#868e96`,Ce=`#495057`,we={"color-background-1":fe,"color-background-2":pe,"color-background-3":me,"color-background-4":he,"color-background-5":ge,"color-foreground-1":_e,"color-foreground-2":ve,"color-foreground-3":ye,"color-foreground-4":be,"color-border-1":xe,"color-border-2":Se,"color-dimmed-1":Ce},Te=`#ffffff`,Ee=`#f1f3f5`,De=`#e9ecef`,Oe=`#dee2e6`,ke=`#ced4da`,Ae=`#212529`,je=`#343a40`,Me=`#495057`,Ne=`#868e96`,Pe=`#f1f3f5`,Fe=`#e9ecef`,Ie=`#f1f3f5`,Le={"color-background-1":Te,"color-background-2":Ee,"color-background-3":De,"color-background-4":Oe,"color-background-5":ke,"color-foreground-1":Ae,"color-foreground-2":je,"color-foreground-3":Me,"color-foreground-4":Ne,"color-border-1":Pe,"color-border-2":Fe,"color-dimmed-1":Ie},Re=`0.6875rem`,ze=`0.75rem`,Be=`0.8125rem`,Ve=`0.875rem`,He=`0.9375rem`,Ue=`1rem`,We=`1.125rem`,Ge=`1.25rem`,Ke=`1.375rem`,qe=`1.5rem`,Je=`1.875rem`,Ye=`2.25rem`,Xe=400,Ze=500,Qe=600,$e=700,et=1.2,tt=1.5,nt=1.75,rt=`1.5rem`,it=700,at=1.2,ot=`1.25rem`,st=600,ct=1.2,lt=`1.125rem`,ut=600,dt=1.5,ft=`1rem`,pt=400,mt=1.5,ht=`0.875rem`,gt=400,_t=1.5,vt=`0.75rem`,yt=400,bt=1.75,xt=`0.875rem`,St=500,Ct=1.5,wt=`0.6875rem`,Tt=600,Et=1.75,Dt=`0.8125rem`,Ot=400,kt=1.5,At=`0.9375rem`,jt=400,Mt=1.5,Nt=`1.375rem`,Pt=700,Ft=1.2,It={"typography-font-size-2xs":Re,"typography-font-size-xs":ze,"typography-font-size-xs2":Be,"typography-font-size-sm":Ve,"typography-font-size-sm2":He,"typography-font-size-md":Ue,"typography-font-size-lg":We,"typography-font-size-xl":Ge,"typography-font-size-xl2":Ke,"typography-font-size-2xl":qe,"typography-font-size-3xl":Je,"typography-font-size-4xl":Ye,"typography-font-weight-regular":Xe,"typography-font-weight-medium":Ze,"typography-font-weight-semibold":Qe,"typography-font-weight-bold":$e,"typography-line-height-tight":et,"typography-line-height-normal":tt,"typography-line-height-relaxed":nt,"typography-variant-heading1-font-size":rt,"typography-variant-heading1-font-weight":it,"typography-variant-heading1-line-height":at,"typography-variant-heading2-font-size":ot,"typography-variant-heading2-font-weight":st,"typography-variant-heading2-line-height":ct,"typography-variant-heading3-font-size":lt,"typography-variant-heading3-font-weight":ut,"typography-variant-heading3-line-height":dt,"typography-variant-body1-font-size":ft,"typography-variant-body1-font-weight":pt,"typography-variant-body1-line-height":mt,"typography-variant-body2-font-size":ht,"typography-variant-body2-font-weight":gt,"typography-variant-body2-line-height":_t,"typography-variant-caption-font-size":vt,"typography-variant-caption-font-weight":yt,"typography-variant-caption-line-height":bt,"typography-variant-label-font-size":xt,"typography-variant-label-font-weight":St,"typography-variant-label-line-height":Ct,"typography-variant-overline-font-size":wt,"typography-variant-overline-font-weight":Tt,"typography-variant-overline-line-height":Et,"typography-variant-body3-font-size":Dt,"typography-variant-body3-font-weight":Ot,"typography-variant-body3-line-height":kt,"typography-variant-body4-font-size":At,"typography-variant-body4-font-weight":jt,"typography-variant-body4-line-height":Mt,"typography-variant-heading4-font-size":Nt,"typography-variant-heading4-font-weight":Pt,"typography-variant-heading4-line-height":Ft},Lt=se((exports,t)=>{t.exports={oc:{white:{value:`#ffffff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffffff`},name:`OcWhite`,attributes:{category:`oc`,type:`white`},path:[`oc`,`white`]},black:{value:`#000000`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#000000`},name:`OcBlack`,attributes:{category:`oc`,type:`black`},path:[`oc`,`black`]},gray:{0:{value:`#f8f9fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f8f9fa`},name:`OcGray0`,attributes:{category:`oc`,type:`gray`,item:`0`},path:[`oc`,`gray`,`0`]},1:{value:`#f1f3f5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f1f3f5`},name:`OcGray1`,attributes:{category:`oc`,type:`gray`,item:`1`},path:[`oc`,`gray`,`1`]},2:{value:`#e9ecef`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e9ecef`},name:`OcGray2`,attributes:{category:`oc`,type:`gray`,item:`2`},path:[`oc`,`gray`,`2`]},3:{value:`#dee2e6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#dee2e6`},name:`OcGray3`,attributes:{category:`oc`,type:`gray`,item:`3`},path:[`oc`,`gray`,`3`]},4:{value:`#ced4da`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ced4da`},name:`OcGray4`,attributes:{category:`oc`,type:`gray`,item:`4`},path:[`oc`,`gray`,`4`]},5:{value:`#adb5bd`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#adb5bd`},name:`OcGray5`,attributes:{category:`oc`,type:`gray`,item:`5`},path:[`oc`,`gray`,`5`]},6:{value:`#868e96`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#868e96`},name:`OcGray6`,attributes:{category:`oc`,type:`gray`,item:`6`},path:[`oc`,`gray`,`6`]},7:{value:`#495057`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#495057`},name:`OcGray7`,attributes:{category:`oc`,type:`gray`,item:`7`},path:[`oc`,`gray`,`7`]},8:{value:`#343a40`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#343a40`},name:`OcGray8`,attributes:{category:`oc`,type:`gray`,item:`8`},path:[`oc`,`gray`,`8`]},9:{value:`#212529`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#212529`},name:`OcGray9`,attributes:{category:`oc`,type:`gray`,item:`9`},path:[`oc`,`gray`,`9`]}},red:{0:{value:`#fff5f5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff5f5`},name:`OcRed0`,attributes:{category:`oc`,type:`red`,item:`0`},path:[`oc`,`red`,`0`]},1:{value:`#ffe3e3`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe3e3`},name:`OcRed1`,attributes:{category:`oc`,type:`red`,item:`1`},path:[`oc`,`red`,`1`]},2:{value:`#ffc9c9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffc9c9`},name:`OcRed2`,attributes:{category:`oc`,type:`red`,item:`2`},path:[`oc`,`red`,`2`]},3:{value:`#ffa8a8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffa8a8`},name:`OcRed3`,attributes:{category:`oc`,type:`red`,item:`3`},path:[`oc`,`red`,`3`]},4:{value:`#ff8787`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff8787`},name:`OcRed4`,attributes:{category:`oc`,type:`red`,item:`4`},path:[`oc`,`red`,`4`]},5:{value:`#ff6b6b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff6b6b`},name:`OcRed5`,attributes:{category:`oc`,type:`red`,item:`5`},path:[`oc`,`red`,`5`]},6:{value:`#fa5252`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fa5252`},name:`OcRed6`,attributes:{category:`oc`,type:`red`,item:`6`},path:[`oc`,`red`,`6`]},7:{value:`#f03e3e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f03e3e`},name:`OcRed7`,attributes:{category:`oc`,type:`red`,item:`7`},path:[`oc`,`red`,`7`]},8:{value:`#e03131`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e03131`},name:`OcRed8`,attributes:{category:`oc`,type:`red`,item:`8`},path:[`oc`,`red`,`8`]},9:{value:`#c92a2a`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c92a2a`},name:`OcRed9`,attributes:{category:`oc`,type:`red`,item:`9`},path:[`oc`,`red`,`9`]}},pink:{0:{value:`#fff0f6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff0f6`},name:`OcPink0`,attributes:{category:`oc`,type:`pink`,item:`0`},path:[`oc`,`pink`,`0`]},1:{value:`#ffdeeb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffdeeb`},name:`OcPink1`,attributes:{category:`oc`,type:`pink`,item:`1`},path:[`oc`,`pink`,`1`]},2:{value:`#fcc2d7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fcc2d7`},name:`OcPink2`,attributes:{category:`oc`,type:`pink`,item:`2`},path:[`oc`,`pink`,`2`]},3:{value:`#faa2c1`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#faa2c1`},name:`OcPink3`,attributes:{category:`oc`,type:`pink`,item:`3`},path:[`oc`,`pink`,`3`]},4:{value:`#f783ac`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f783ac`},name:`OcPink4`,attributes:{category:`oc`,type:`pink`,item:`4`},path:[`oc`,`pink`,`4`]},5:{value:`#f06595`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f06595`},name:`OcPink5`,attributes:{category:`oc`,type:`pink`,item:`5`},path:[`oc`,`pink`,`5`]},6:{value:`#e64980`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e64980`},name:`OcPink6`,attributes:{category:`oc`,type:`pink`,item:`6`},path:[`oc`,`pink`,`6`]},7:{value:`#d6336c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d6336c`},name:`OcPink7`,attributes:{category:`oc`,type:`pink`,item:`7`},path:[`oc`,`pink`,`7`]},8:{value:`#c2255c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c2255c`},name:`OcPink8`,attributes:{category:`oc`,type:`pink`,item:`8`},path:[`oc`,`pink`,`8`]},9:{value:`#a61e4d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a61e4d`},name:`OcPink9`,attributes:{category:`oc`,type:`pink`,item:`9`},path:[`oc`,`pink`,`9`]}},grape:{0:{value:`#f8f0fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f8f0fc`},name:`OcGrape0`,attributes:{category:`oc`,type:`grape`,item:`0`},path:[`oc`,`grape`,`0`]},1:{value:`#f3d9fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f3d9fa`},name:`OcGrape1`,attributes:{category:`oc`,type:`grape`,item:`1`},path:[`oc`,`grape`,`1`]},2:{value:`#eebefa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#eebefa`},name:`OcGrape2`,attributes:{category:`oc`,type:`grape`,item:`2`},path:[`oc`,`grape`,`2`]},3:{value:`#e599f7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e599f7`},name:`OcGrape3`,attributes:{category:`oc`,type:`grape`,item:`3`},path:[`oc`,`grape`,`3`]},4:{value:`#da77f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#da77f2`},name:`OcGrape4`,attributes:{category:`oc`,type:`grape`,item:`4`},path:[`oc`,`grape`,`4`]},5:{value:`#cc5de8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#cc5de8`},name:`OcGrape5`,attributes:{category:`oc`,type:`grape`,item:`5`},path:[`oc`,`grape`,`5`]},6:{value:`#be4bdb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#be4bdb`},name:`OcGrape6`,attributes:{category:`oc`,type:`grape`,item:`6`},path:[`oc`,`grape`,`6`]},7:{value:`#ae3ec9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ae3ec9`},name:`OcGrape7`,attributes:{category:`oc`,type:`grape`,item:`7`},path:[`oc`,`grape`,`7`]},8:{value:`#9c36b5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#9c36b5`},name:`OcGrape8`,attributes:{category:`oc`,type:`grape`,item:`8`},path:[`oc`,`grape`,`8`]},9:{value:`#862e9c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#862e9c`},name:`OcGrape9`,attributes:{category:`oc`,type:`grape`,item:`9`},path:[`oc`,`grape`,`9`]}},violet:{0:{value:`#f3f0ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f3f0ff`},name:`OcViolet0`,attributes:{category:`oc`,type:`violet`,item:`0`},path:[`oc`,`violet`,`0`]},1:{value:`#e5dbff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e5dbff`},name:`OcViolet1`,attributes:{category:`oc`,type:`violet`,item:`1`},path:[`oc`,`violet`,`1`]},2:{value:`#d0bfff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d0bfff`},name:`OcViolet2`,attributes:{category:`oc`,type:`violet`,item:`2`},path:[`oc`,`violet`,`2`]},3:{value:`#b197fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#b197fc`},name:`OcViolet3`,attributes:{category:`oc`,type:`violet`,item:`3`},path:[`oc`,`violet`,`3`]},4:{value:`#9775fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#9775fa`},name:`OcViolet4`,attributes:{category:`oc`,type:`violet`,item:`4`},path:[`oc`,`violet`,`4`]},5:{value:`#845ef7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#845ef7`},name:`OcViolet5`,attributes:{category:`oc`,type:`violet`,item:`5`},path:[`oc`,`violet`,`5`]},6:{value:`#7950f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#7950f2`},name:`OcViolet6`,attributes:{category:`oc`,type:`violet`,item:`6`},path:[`oc`,`violet`,`6`]},7:{value:`#7048e8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#7048e8`},name:`OcViolet7`,attributes:{category:`oc`,type:`violet`,item:`7`},path:[`oc`,`violet`,`7`]},8:{value:`#6741d9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#6741d9`},name:`OcViolet8`,attributes:{category:`oc`,type:`violet`,item:`8`},path:[`oc`,`violet`,`8`]},9:{value:`#5f3dc4`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5f3dc4`},name:`OcViolet9`,attributes:{category:`oc`,type:`violet`,item:`9`},path:[`oc`,`violet`,`9`]}},indigo:{0:{value:`#edf2ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#edf2ff`},name:`OcIndigo0`,attributes:{category:`oc`,type:`indigo`,item:`0`},path:[`oc`,`indigo`,`0`]},1:{value:`#dbe4ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#dbe4ff`},name:`OcIndigo1`,attributes:{category:`oc`,type:`indigo`,item:`1`},path:[`oc`,`indigo`,`1`]},2:{value:`#bac8ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#bac8ff`},name:`OcIndigo2`,attributes:{category:`oc`,type:`indigo`,item:`2`},path:[`oc`,`indigo`,`2`]},3:{value:`#91a7ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#91a7ff`},name:`OcIndigo3`,attributes:{category:`oc`,type:`indigo`,item:`3`},path:[`oc`,`indigo`,`3`]},4:{value:`#748ffc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#748ffc`},name:`OcIndigo4`,attributes:{category:`oc`,type:`indigo`,item:`4`},path:[`oc`,`indigo`,`4`]},5:{value:`#5c7cfa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5c7cfa`},name:`OcIndigo5`,attributes:{category:`oc`,type:`indigo`,item:`5`},path:[`oc`,`indigo`,`5`]},6:{value:`#4c6ef5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4c6ef5`},name:`OcIndigo6`,attributes:{category:`oc`,type:`indigo`,item:`6`},path:[`oc`,`indigo`,`6`]},7:{value:`#4263eb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4263eb`},name:`OcIndigo7`,attributes:{category:`oc`,type:`indigo`,item:`7`},path:[`oc`,`indigo`,`7`]},8:{value:`#3b5bdb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#3b5bdb`},name:`OcIndigo8`,attributes:{category:`oc`,type:`indigo`,item:`8`},path:[`oc`,`indigo`,`8`]},9:{value:`#364fc7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#364fc7`},name:`OcIndigo9`,attributes:{category:`oc`,type:`indigo`,item:`9`},path:[`oc`,`indigo`,`9`]}},blue:{0:{value:`#e7f5ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e7f5ff`},name:`OcBlue0`,attributes:{category:`oc`,type:`blue`,item:`0`},path:[`oc`,`blue`,`0`]},1:{value:`#d0ebff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d0ebff`},name:`OcBlue1`,attributes:{category:`oc`,type:`blue`,item:`1`},path:[`oc`,`blue`,`1`]},2:{value:`#a5d8ff`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a5d8ff`},name:`OcBlue2`,attributes:{category:`oc`,type:`blue`,item:`2`},path:[`oc`,`blue`,`2`]},3:{value:`#74c0fc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#74c0fc`},name:`OcBlue3`,attributes:{category:`oc`,type:`blue`,item:`3`},path:[`oc`,`blue`,`3`]},4:{value:`#4dabf7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#4dabf7`},name:`OcBlue4`,attributes:{category:`oc`,type:`blue`,item:`4`},path:[`oc`,`blue`,`4`]},5:{value:`#339af0`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#339af0`},name:`OcBlue5`,attributes:{category:`oc`,type:`blue`,item:`5`},path:[`oc`,`blue`,`5`]},6:{value:`#228be6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#228be6`},name:`OcBlue6`,attributes:{category:`oc`,type:`blue`,item:`6`},path:[`oc`,`blue`,`6`]},7:{value:`#1c7ed6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1c7ed6`},name:`OcBlue7`,attributes:{category:`oc`,type:`blue`,item:`7`},path:[`oc`,`blue`,`7`]},8:{value:`#1971c2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1971c2`},name:`OcBlue8`,attributes:{category:`oc`,type:`blue`,item:`8`},path:[`oc`,`blue`,`8`]},9:{value:`#1864ab`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1864ab`},name:`OcBlue9`,attributes:{category:`oc`,type:`blue`,item:`9`},path:[`oc`,`blue`,`9`]}},cyan:{0:{value:`#e3fafc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e3fafc`},name:`OcCyan0`,attributes:{category:`oc`,type:`cyan`,item:`0`},path:[`oc`,`cyan`,`0`]},1:{value:`#c5f6fa`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c5f6fa`},name:`OcCyan1`,attributes:{category:`oc`,type:`cyan`,item:`1`},path:[`oc`,`cyan`,`1`]},2:{value:`#99e9f2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#99e9f2`},name:`OcCyan2`,attributes:{category:`oc`,type:`cyan`,item:`2`},path:[`oc`,`cyan`,`2`]},3:{value:`#66d9e8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#66d9e8`},name:`OcCyan3`,attributes:{category:`oc`,type:`cyan`,item:`3`},path:[`oc`,`cyan`,`3`]},4:{value:`#3bc9db`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#3bc9db`},name:`OcCyan4`,attributes:{category:`oc`,type:`cyan`,item:`4`},path:[`oc`,`cyan`,`4`]},5:{value:`#22b8cf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#22b8cf`},name:`OcCyan5`,attributes:{category:`oc`,type:`cyan`,item:`5`},path:[`oc`,`cyan`,`5`]},6:{value:`#15aabf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#15aabf`},name:`OcCyan6`,attributes:{category:`oc`,type:`cyan`,item:`6`},path:[`oc`,`cyan`,`6`]},7:{value:`#1098ad`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#1098ad`},name:`OcCyan7`,attributes:{category:`oc`,type:`cyan`,item:`7`},path:[`oc`,`cyan`,`7`]},8:{value:`#0c8599`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0c8599`},name:`OcCyan8`,attributes:{category:`oc`,type:`cyan`,item:`8`},path:[`oc`,`cyan`,`8`]},9:{value:`#0b7285`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0b7285`},name:`OcCyan9`,attributes:{category:`oc`,type:`cyan`,item:`9`},path:[`oc`,`cyan`,`9`]}},teal:{0:{value:`#e6fcf5`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e6fcf5`},name:`OcTeal0`,attributes:{category:`oc`,type:`teal`,item:`0`},path:[`oc`,`teal`,`0`]},1:{value:`#c3fae8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c3fae8`},name:`OcTeal1`,attributes:{category:`oc`,type:`teal`,item:`1`},path:[`oc`,`teal`,`1`]},2:{value:`#96f2d7`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#96f2d7`},name:`OcTeal2`,attributes:{category:`oc`,type:`teal`,item:`2`},path:[`oc`,`teal`,`2`]},3:{value:`#63e6be`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#63e6be`},name:`OcTeal3`,attributes:{category:`oc`,type:`teal`,item:`3`},path:[`oc`,`teal`,`3`]},4:{value:`#38d9a9`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#38d9a9`},name:`OcTeal4`,attributes:{category:`oc`,type:`teal`,item:`4`},path:[`oc`,`teal`,`4`]},5:{value:`#20c997`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#20c997`},name:`OcTeal5`,attributes:{category:`oc`,type:`teal`,item:`5`},path:[`oc`,`teal`,`5`]},6:{value:`#12b886`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#12b886`},name:`OcTeal6`,attributes:{category:`oc`,type:`teal`,item:`6`},path:[`oc`,`teal`,`6`]},7:{value:`#0ca678`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#0ca678`},name:`OcTeal7`,attributes:{category:`oc`,type:`teal`,item:`7`},path:[`oc`,`teal`,`7`]},8:{value:`#099268`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#099268`},name:`OcTeal8`,attributes:{category:`oc`,type:`teal`,item:`8`},path:[`oc`,`teal`,`8`]},9:{value:`#087f5b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#087f5b`},name:`OcTeal9`,attributes:{category:`oc`,type:`teal`,item:`9`},path:[`oc`,`teal`,`9`]}},green:{0:{value:`#ebfbee`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ebfbee`},name:`OcGreen0`,attributes:{category:`oc`,type:`green`,item:`0`},path:[`oc`,`green`,`0`]},1:{value:`#d3f9d8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d3f9d8`},name:`OcGreen1`,attributes:{category:`oc`,type:`green`,item:`1`},path:[`oc`,`green`,`1`]},2:{value:`#b2f2bb`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#b2f2bb`},name:`OcGreen2`,attributes:{category:`oc`,type:`green`,item:`2`},path:[`oc`,`green`,`2`]},3:{value:`#8ce99a`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#8ce99a`},name:`OcGreen3`,attributes:{category:`oc`,type:`green`,item:`3`},path:[`oc`,`green`,`3`]},4:{value:`#69db7c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#69db7c`},name:`OcGreen4`,attributes:{category:`oc`,type:`green`,item:`4`},path:[`oc`,`green`,`4`]},5:{value:`#51cf66`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#51cf66`},name:`OcGreen5`,attributes:{category:`oc`,type:`green`,item:`5`},path:[`oc`,`green`,`5`]},6:{value:`#40c057`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#40c057`},name:`OcGreen6`,attributes:{category:`oc`,type:`green`,item:`6`},path:[`oc`,`green`,`6`]},7:{value:`#37b24d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#37b24d`},name:`OcGreen7`,attributes:{category:`oc`,type:`green`,item:`7`},path:[`oc`,`green`,`7`]},8:{value:`#2f9e44`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#2f9e44`},name:`OcGreen8`,attributes:{category:`oc`,type:`green`,item:`8`},path:[`oc`,`green`,`8`]},9:{value:`#2b8a3e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#2b8a3e`},name:`OcGreen9`,attributes:{category:`oc`,type:`green`,item:`9`},path:[`oc`,`green`,`9`]}},lime:{0:{value:`#f4fce3`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f4fce3`},name:`OcLime0`,attributes:{category:`oc`,type:`lime`,item:`0`},path:[`oc`,`lime`,`0`]},1:{value:`#e9fac8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e9fac8`},name:`OcLime1`,attributes:{category:`oc`,type:`lime`,item:`1`},path:[`oc`,`lime`,`1`]},2:{value:`#d8f5a2`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d8f5a2`},name:`OcLime2`,attributes:{category:`oc`,type:`lime`,item:`2`},path:[`oc`,`lime`,`2`]},3:{value:`#c0eb75`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#c0eb75`},name:`OcLime3`,attributes:{category:`oc`,type:`lime`,item:`3`},path:[`oc`,`lime`,`3`]},4:{value:`#a9e34b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#a9e34b`},name:`OcLime4`,attributes:{category:`oc`,type:`lime`,item:`4`},path:[`oc`,`lime`,`4`]},5:{value:`#94d82d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#94d82d`},name:`OcLime5`,attributes:{category:`oc`,type:`lime`,item:`5`},path:[`oc`,`lime`,`5`]},6:{value:`#82c91e`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#82c91e`},name:`OcLime6`,attributes:{category:`oc`,type:`lime`,item:`6`},path:[`oc`,`lime`,`6`]},7:{value:`#74b816`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#74b816`},name:`OcLime7`,attributes:{category:`oc`,type:`lime`,item:`7`},path:[`oc`,`lime`,`7`]},8:{value:`#66a80f`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#66a80f`},name:`OcLime8`,attributes:{category:`oc`,type:`lime`,item:`8`},path:[`oc`,`lime`,`8`]},9:{value:`#5c940d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#5c940d`},name:`OcLime9`,attributes:{category:`oc`,type:`lime`,item:`9`},path:[`oc`,`lime`,`9`]}},yellow:{0:{value:`#fff9db`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff9db`},name:`OcYellow0`,attributes:{category:`oc`,type:`yellow`,item:`0`},path:[`oc`,`yellow`,`0`]},1:{value:`#fff3bf`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff3bf`},name:`OcYellow1`,attributes:{category:`oc`,type:`yellow`,item:`1`},path:[`oc`,`yellow`,`1`]},2:{value:`#ffec99`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffec99`},name:`OcYellow2`,attributes:{category:`oc`,type:`yellow`,item:`2`},path:[`oc`,`yellow`,`2`]},3:{value:`#ffe066`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe066`},name:`OcYellow3`,attributes:{category:`oc`,type:`yellow`,item:`3`},path:[`oc`,`yellow`,`3`]},4:{value:`#ffd43b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffd43b`},name:`OcYellow4`,attributes:{category:`oc`,type:`yellow`,item:`4`},path:[`oc`,`yellow`,`4`]},5:{value:`#fcc419`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fcc419`},name:`OcYellow5`,attributes:{category:`oc`,type:`yellow`,item:`5`},path:[`oc`,`yellow`,`5`]},6:{value:`#fab005`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fab005`},name:`OcYellow6`,attributes:{category:`oc`,type:`yellow`,item:`6`},path:[`oc`,`yellow`,`6`]},7:{value:`#f59f00`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f59f00`},name:`OcYellow7`,attributes:{category:`oc`,type:`yellow`,item:`7`},path:[`oc`,`yellow`,`7`]},8:{value:`#f08c00`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f08c00`},name:`OcYellow8`,attributes:{category:`oc`,type:`yellow`,item:`8`},path:[`oc`,`yellow`,`8`]},9:{value:`#e67700`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e67700`},name:`OcYellow9`,attributes:{category:`oc`,type:`yellow`,item:`9`},path:[`oc`,`yellow`,`9`]}},orange:{0:{value:`#fff4e6`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fff4e6`},name:`OcOrange0`,attributes:{category:`oc`,type:`orange`,item:`0`},path:[`oc`,`orange`,`0`]},1:{value:`#ffe8cc`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffe8cc`},name:`OcOrange1`,attributes:{category:`oc`,type:`orange`,item:`1`},path:[`oc`,`orange`,`1`]},2:{value:`#ffd8a8`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffd8a8`},name:`OcOrange2`,attributes:{category:`oc`,type:`orange`,item:`2`},path:[`oc`,`orange`,`2`]},3:{value:`#ffc078`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffc078`},name:`OcOrange3`,attributes:{category:`oc`,type:`orange`,item:`3`},path:[`oc`,`orange`,`3`]},4:{value:`#ffa94d`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ffa94d`},name:`OcOrange4`,attributes:{category:`oc`,type:`orange`,item:`4`},path:[`oc`,`orange`,`4`]},5:{value:`#ff922b`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#ff922b`},name:`OcOrange5`,attributes:{category:`oc`,type:`orange`,item:`5`},path:[`oc`,`orange`,`5`]},6:{value:`#fd7e14`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#fd7e14`},name:`OcOrange6`,attributes:{category:`oc`,type:`orange`,item:`6`},path:[`oc`,`orange`,`6`]},7:{value:`#f76707`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#f76707`},name:`OcOrange7`,attributes:{category:`oc`,type:`orange`,item:`7`},path:[`oc`,`orange`,`7`]},8:{value:`#e8590c`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#e8590c`},name:`OcOrange8`,attributes:{category:`oc`,type:`orange`,item:`8`},path:[`oc`,`orange`,`8`]},9:{value:`#d9480f`,filePath:`tokens/color/oc.json`,isSource:!0,original:{value:`#d9480f`},name:`OcOrange9`,attributes:{category:`oc`,type:`orange`,item:`9`},path:[`oc`,`orange`,`9`]}}}}});const Rt={light:{color:{background:{1:`#ffffff`,2:`#f1f3f5`,3:`#e9ecef`,4:`#dee2e6`,5:`#ced4da`},foreground:{1:`#212529`,2:`#343a40`,3:`#495057`,4:`#868e96`},border:{1:`#f1f3f5`,2:`#e9ecef`},dimmed:{1:`#f1f3f5`}}},dark:{color:{background:{1:`#000000`,2:`#212529`,3:`#343a40`,4:`#495057`,5:`#868e96`},foreground:{1:`#f1f3f5`,2:`#e9ecef`,3:`#dee2e6`,4:`#ced4da`},border:{1:`#495057`,2:`#868e96`},dimmed:{1:`#495057`}}}};var zt=Rt;const Bt={color:{background:{1:`var(--color-background-1)`,2:`var(--color-background-2)`,3:`var(--color-background-3)`,4:`var(--color-background-4)`,5:`var(--color-background-5)`},foreground:{1:`var(--color-foreground-1)`,2:`var(--color-foreground-2)`,3:`var(--color-foreground-3)`,4:`var(--color-foreground-4)`},border:{1:`var(--color-border-1)`,2:`var(--color-border-2)`},dimmed:{1:`var(--color-dimmed-1)`}},typography:{heading1:{fontSize:`var(--typography-variant-heading1-font-size)`,fontWeight:`var(--typography-variant-heading1-font-weight)`,lineHeight:`var(--typography-variant-heading1-line-height)`},heading2:{fontSize:`var(--typography-variant-heading2-font-size)`,fontWeight:`var(--typography-variant-heading2-font-weight)`,lineHeight:`var(--typography-variant-heading2-line-height)`},heading3:{fontSize:`var(--typography-variant-heading3-font-size)`,fontWeight:`var(--typography-variant-heading3-font-weight)`,lineHeight:`var(--typography-variant-heading3-line-height)`},body1:{fontSize:`var(--typography-variant-body1-font-size)`,fontWeight:`var(--typography-variant-body1-font-weight)`,lineHeight:`var(--typography-variant-body1-line-height)`},body2:{fontSize:`var(--typography-variant-body2-font-size)`,fontWeight:`var(--typography-variant-body2-font-weight)`,lineHeight:`var(--typography-variant-body2-line-height)`},caption:{fontSize:`var(--typography-variant-caption-font-size)`,fontWeight:`var(--typography-variant-caption-font-weight)`,lineHeight:`var(--typography-variant-caption-line-height)`},label:{fontSize:`var(--typography-variant-label-font-size)`,fontWeight:`var(--typography-variant-label-font-weight)`,lineHeight:`var(--typography-variant-label-line-height)`},overline:{fontSize:`var(--typography-variant-overline-font-size)`,fontWeight:`var(--typography-variant-overline-font-weight)`,lineHeight:`var(--typography-variant-overline-line-height)`},body3:{fontSize:`var(--typography-variant-body3-font-size)`,fontWeight:`var(--typography-variant-body3-font-weight)`,lineHeight:`var(--typography-variant-body3-line-height)`},body4:{fontSize:`var(--typography-variant-body4-font-size)`,fontWeight:`var(--typography-variant-body4-font-weight)`,lineHeight:`var(--typography-variant-body4-line-height)`},heading4:{fontSize:`var(--typography-variant-heading4-font-size)`,fontWeight:`var(--typography-variant-heading4-font-weight)`,lineHeight:`var(--typography-variant-heading4-line-height)`}}};var Vt=Bt;const Ht={fontSize:{"2xs":`var(--typography-font-size-2xs)`,xs:`var(--typography-font-size-xs)`,xs2:`var(--typography-font-size-xs2)`,sm:`var(--typography-font-size-sm)`,sm2:`var(--typography-font-size-sm2)`,md:`var(--typography-font-size-md)`,lg:`var(--typography-font-size-lg)`,xl:`var(--typography-font-size-xl)`,xl2:`var(--typography-font-size-xl2)`,"2xl":`var(--typography-font-size-2xl)`,"3xl":`var(--typography-font-size-3xl)`,"4xl":`var(--typography-font-size-4xl)`},fontWeight:{regular:`var(--typography-font-weight-regular)`,medium:`var(--typography-font-weight-medium)`,semibold:`var(--typography-font-weight-semibold)`,bold:`var(--typography-font-weight-bold)`},lineHeight:{tight:`var(--typography-line-height-tight)`,normal:`var(--typography-line-height-normal)`,relaxed:`var(--typography-line-height-relaxed)`}};var Ut=Ht,Wt=ue(Lt(),1);const O=Wt.default,k=Vt,Gt=zt,Kt=Ut,qt={name:`lightMode`,...Le},Jt={name:`darkMode`,...we},Yt=e=>{let t=e===`lightMode`?qt:Jt,n=``;return Object.keys(t).forEach(e=>{n+=` --${e}: ${t[e]};\n`}),n},Xt=e=>`var(--${e})`,Zt=Object.keys(we),Qt=Zt.reduce((e,t)=>{let n=e;return n[t]=Xt(t),n},{}),$t=e=>{let t=``;return Object.keys(O).forEach(e=>{t+=` --${e}: ${O[e]};\n`}),e.name===`darkMode`&&Object.keys(we).forEach(e=>{t+=` --${e}: ${we[e]};\n`}),e.name===`lightMode`&&Object.keys(Le).forEach(e=>{t+=` --${e}: ${Le[e]};\n`}),Object.keys(It).forEach(e=>{t+=` --${e}: ${It[e]};\n`}),t},en=a({theme:qt,setTheme:()=>{}}),tn=e=>e===`dark`||e===`userPreference`&&typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?Jt:qt,nn=e=>{if(!e)return;let t=e.replace(/[^A-Za-z0-9_-]/g,``);return t||void 0},rn=({children:e,colorScheme:t,id:n})=>{let[r,i]=b(tn(t)),a=nn(n),o=a?`__oceanRoadTheme${a}`:void 0,s=o?`.${o}`:`:root`,c=u(e=>{i(tn(e.matches?`dark`:`light`))},[]);return f(()=>{if(i(tn(t)),t===`userPreference`&&window.matchMedia)return window.matchMedia(`(prefers-color-scheme: dark)`).addListener(c),()=>window.matchMedia(`(prefers-color-scheme: dark)`).removeListener(c)},[t,c]),w(en.Provider,{value:{theme:r,setTheme:e=>{i(tn(e))}},children:[C(`style`,{dangerouslySetInnerHTML:{__html:t===`userPreference`?`${s} {
|
|
2
2
|
${$t(qt)}
|
|
3
3
|
}\n@media(prefers-color-scheme: dark) {
|
|
4
4
|
${s} {
|
|
@@ -317,7 +317,7 @@ ${$t(r)} }`}}),C(`div`,{className:o,children:e})]})};var an=rn;const on=()=>{let
|
|
|
317
317
|
object-position: 50%;
|
|
318
318
|
border-radius: 12px;
|
|
319
319
|
background-color: ${k.color.background[3]};
|
|
320
|
-
`,TV=Symbol.for(`@ts-pattern/matcher`),EV=Symbol.for(`@ts-pattern/isVariadic`),DV=`@ts-pattern/anonymous-select-key`,OV=e=>!!(e&&typeof e==`object`),kV=e=>e&&!!e[TV],q=(e,t,n)=>{if(kV(e)){let r=e[TV](),{matched:i,selections:a}=r.match(t);return i&&a&&Object.keys(a).forEach(e=>n(e,a[e])),i}if(OV(e)){if(!OV(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let r=[],i=[],a=[];for(let t of e.keys()){let n=e[t];kV(n)&&n[EV]?a.push(n):a.length?i.push(n):r.push(n)}if(a.length){if(a.length>1)throw Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<r.length+i.length)return!1;let e=t.slice(0,r.length),o=i.length===0?[]:t.slice(-i.length),s=t.slice(r.length,i.length===0?1/0:-i.length);return r.every((t,r)=>q(t,e[r],n))&&i.every((e,t)=>q(e,o[t],n))&&(a.length===0||q(a[0],s,n))}return e.length===t.length&&e.every((e,r)=>q(e,t[r],n))}return Reflect.ownKeys(e).every(r=>{let i=e[r];return(r in t||kV(a=i)&&a[TV]().matcherType===`optional`)&&q(i,t[r],n);var a})}return Object.is(t,e)},AV=e=>{var t,n,r;return OV(e)?kV(e)?(t=(n=(r=e[TV]()).getSelectionKeys)?.call(r))??[]:Array.isArray(e)?jV(e,AV):jV(Object.values(e),AV):[]},jV=(e,t)=>e.reduce((e,n)=>e.concat(t(n)),[]);function J(e){return Object.assign(e,{optional:()=>MV(e),and:t=>Y(e,t),or:t=>NV(e,t),select:t=>t===void 0?PV(e):PV(t,e)})}function MV(e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return t===void 0?(AV(e).forEach(e=>r(e,void 0)),{matched:!0,selections:n}):{matched:q(e,t,r),selections:n}},getSelectionKeys:()=>AV(e),matcherType:`optional`})})}function Y(...e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return{matched:e.every(e=>q(e,t,r)),selections:n}},getSelectionKeys:()=>jV(e,AV),matcherType:`and`})})}function NV(...e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return jV(e,AV).forEach(e=>r(e,void 0)),{matched:e.some(e=>q(e,t,r)),selections:n}},getSelectionKeys:()=>jV(e,AV),matcherType:`or`})})}function X(e){return{[TV]:()=>({match:t=>({matched:!!e(t)})})}}function PV(...e){let t=typeof e[0]==`string`?e[0]:void 0,n=e.length===2?e[1]:typeof e[0]==`string`?void 0:e[0];return J({[TV]:()=>({match:e=>{let r={[t??DV]:e};return{matched:n===void 0||q(n,e,(e,t)=>{r[e]=t}),selections:r}},getSelectionKeys:()=>[t??DV].concat(n===void 0?[]:AV(n))})})}function
|
|
320
|
+
`,TV=Symbol.for(`@ts-pattern/matcher`),EV=Symbol.for(`@ts-pattern/isVariadic`),DV=`@ts-pattern/anonymous-select-key`,OV=e=>!!(e&&typeof e==`object`),kV=e=>e&&!!e[TV],q=(e,t,n)=>{if(kV(e)){let r=e[TV](),{matched:i,selections:a}=r.match(t);return i&&a&&Object.keys(a).forEach(e=>n(e,a[e])),i}if(OV(e)){if(!OV(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let r=[],i=[],a=[];for(let t of e.keys()){let n=e[t];kV(n)&&n[EV]?a.push(n):a.length?i.push(n):r.push(n)}if(a.length){if(a.length>1)throw Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<r.length+i.length)return!1;let e=t.slice(0,r.length),o=i.length===0?[]:t.slice(-i.length),s=t.slice(r.length,i.length===0?1/0:-i.length);return r.every((t,r)=>q(t,e[r],n))&&i.every((e,t)=>q(e,o[t],n))&&(a.length===0||q(a[0],s,n))}return e.length===t.length&&e.every((e,r)=>q(e,t[r],n))}return Reflect.ownKeys(e).every(r=>{let i=e[r];return(r in t||kV(a=i)&&a[TV]().matcherType===`optional`)&&q(i,t[r],n);var a})}return Object.is(t,e)},AV=e=>{var t,n,r;return OV(e)?kV(e)?(t=(n=(r=e[TV]()).getSelectionKeys)?.call(r))??[]:Array.isArray(e)?jV(e,AV):jV(Object.values(e),AV):[]},jV=(e,t)=>e.reduce((e,n)=>e.concat(t(n)),[]);function J(e){return Object.assign(e,{optional:()=>MV(e),and:t=>Y(e,t),or:t=>NV(e,t),select:t=>t===void 0?PV(e):PV(t,e)})}function MV(e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return t===void 0?(AV(e).forEach(e=>r(e,void 0)),{matched:!0,selections:n}):{matched:q(e,t,r),selections:n}},getSelectionKeys:()=>AV(e),matcherType:`optional`})})}function Y(...e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return{matched:e.every(e=>q(e,t,r)),selections:n}},getSelectionKeys:()=>jV(e,AV),matcherType:`and`})})}function NV(...e){return J({[TV]:()=>({match:t=>{let n={},r=(e,t)=>{n[e]=t};return jV(e,AV).forEach(e=>r(e,void 0)),{matched:e.some(e=>q(e,t,r)),selections:n}},getSelectionKeys:()=>jV(e,AV),matcherType:`or`})})}function X(e){return{[TV]:()=>({match:t=>({matched:!!e(t)})})}}function PV(...e){let t=typeof e[0]==`string`?e[0]:void 0,n=e.length===2?e[1]:typeof e[0]==`string`?void 0:e[0];return J({[TV]:()=>({match:e=>{let r={[t??DV]:e};return{matched:n===void 0||q(n,e,(e,t)=>{r[e]=t}),selections:r}},getSelectionKeys:()=>[t??DV].concat(n===void 0?[]:AV(n))})})}function FV(e){return typeof e==`number`}function IV(e){return typeof e==`string`}function LV(e){return typeof e==`bigint`}const RV=J(X(function(e){return!0})),zV=RV,BV=e=>Object.assign(J(e),{startsWith:t=>{return BV(Y(e,(n=t,X(e=>IV(e)&&e.startsWith(n)))));var n},endsWith:t=>{return BV(Y(e,(n=t,X(e=>IV(e)&&e.endsWith(n)))));var n},minLength:t=>BV(Y(e,(e=>X(t=>IV(t)&&t.length>=e))(t))),length:t=>BV(Y(e,(e=>X(t=>IV(t)&&t.length===e))(t))),maxLength:t=>BV(Y(e,(e=>X(t=>IV(t)&&t.length<=e))(t))),includes:t=>{return BV(Y(e,(n=t,X(e=>IV(e)&&e.includes(n)))));var n},regex:t=>{return BV(Y(e,(n=t,X(e=>IV(e)&&!!e.match(n)))));var n}}),VV=BV(X(IV)),Z=e=>Object.assign(J(e),{between:(t,n)=>Z(Y(e,((e,t)=>X(n=>FV(n)&&e<=n&&t>=n))(t,n))),lt:t=>Z(Y(e,(e=>X(t=>FV(t)&&t<e))(t))),gt:t=>Z(Y(e,(e=>X(t=>FV(t)&&t>e))(t))),lte:t=>Z(Y(e,(e=>X(t=>FV(t)&&t<=e))(t))),gte:t=>Z(Y(e,(e=>X(t=>FV(t)&&t>=e))(t))),int:()=>Z(Y(e,X(e=>FV(e)&&Number.isInteger(e)))),finite:()=>Z(Y(e,X(e=>FV(e)&&Number.isFinite(e)))),positive:()=>Z(Y(e,X(e=>FV(e)&&e>0))),negative:()=>Z(Y(e,X(e=>FV(e)&&e<0)))}),HV=Z(X(FV)),UV=e=>Object.assign(J(e),{between:(t,n)=>UV(Y(e,((e,t)=>X(n=>LV(n)&&e<=n&&t>=n))(t,n))),lt:t=>UV(Y(e,(e=>X(t=>LV(t)&&t<e))(t))),gt:t=>UV(Y(e,(e=>X(t=>LV(t)&&t>e))(t))),lte:t=>UV(Y(e,(e=>X(t=>LV(t)&&t<=e))(t))),gte:t=>UV(Y(e,(e=>X(t=>LV(t)&&t>=e))(t))),positive:()=>UV(Y(e,X(e=>LV(e)&&e>0))),negative:()=>UV(Y(e,X(e=>LV(e)&&e<0)))}),WV=UV(X(LV)),GV=J(X(function(e){return typeof e==`boolean`})),KV=J(X(function(e){return typeof e==`symbol`})),qV=J(X(function(e){return e==null})),JV=J(X(function(e){return e!=null}));var YV=class extends Error{constructor(e){let t;try{t=JSON.stringify(e)}catch{t=e}super(`Pattern matching error: no pattern matches value ${t}`),this.input=void 0,this.input=e}};const XV={matched:!1,value:void 0};function ZV(e){return new QV(e,XV)}var QV=class e{constructor(e,t){this.input=void 0,this.state=void 0,this.input=e,this.state=t}with(...t){if(this.state.matched)return this;let n=t[t.length-1],r=[t[0]],i;t.length===3&&typeof t[1]==`function`?i=t[1]:t.length>2&&r.push(...t.slice(1,t.length-1));let a=!1,o={},s=(e,t)=>{a=!0,o[e]=t},c=!r.some(e=>q(e,this.input,s))||i&&!i(this.input)?XV:{matched:!0,value:n(a?DV in o?o[DV]:o:this.input,this.input)};return new e(this.input,c)}when(t,n){if(this.state.matched)return this;let r=!!t(this.input);return new e(this.input,r?{matched:!0,value:n(this.input,this.input)}:XV)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=$V){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}};function $V(e){throw new YV(e)}const eH=D.div`
|
|
321
321
|
display: flex;
|
|
322
322
|
flex-direction: column;
|
|
323
323
|
`,tH=D.div`
|
|
@@ -643,7 +643,7 @@ ${$t(r)} }`}}),C(`div`,{className:o,children:e})]})};var an=rn;const on=()=>{let
|
|
|
643
643
|
border-bottom-left-radius: 8px;
|
|
644
644
|
border-bottom-right-radius: 8px;
|
|
645
645
|
}
|
|
646
|
-
`,RU=8;function zU({dropdownRef:e,triggerRef:t,edge:n}){if(!t?.current)return null;let r=t.current.getBoundingClientRect(),i=r.left+window.scrollX,a=e.current?.getBoundingClientRect().width??0;if(n===`left`)return{top:r.bottom+window.scrollY+RU,left:i<0?0:i>window.innerWidth-a?window.innerWidth-a-10:i};let o=document.documentElement.getBoundingClientRect().width,s=o-r.right;return{top:r.bottom+window.scrollY+RU,right:s}}const BU=8,VU=s(({children:e,isOpen:t,onClose:n,position:r,className:i,style:a,isLoading:o,backdrop:s=!0,preventScroll:c=!0,animate:l=!0,triggerRef:d,zIndex:p,edge:h},g)=>{let v=y(null),x={hidden:{opacity:0,y:-10},visible:{opacity:1,y:0},exit:{opacity:0,y:-10}},[T,E]=b(0),[D,ee]=b(r),te=u(()=>{let e=window.visualViewport?.height??window.innerHeight,t=v.current?.getBoundingClientRect().top??0,n=t+BU*2,r=e-n;return r},[]);f(()=>{if(!
|
|
646
|
+
`,RU=8;function zU({dropdownRef:e,triggerRef:t,edge:n}){if(!t?.current)return null;let r=t.current.getBoundingClientRect(),i=r.left+window.scrollX,a=e.current?.getBoundingClientRect().width??0;if(n===`left`)return{top:r.bottom+window.scrollY+RU,left:i<0?0:i>window.innerWidth-a?window.innerWidth-a-10:i};let o=document.documentElement.getBoundingClientRect().width,s=o-r.right;return{top:r.bottom+window.scrollY+RU,right:s}}const BU=8,VU=s(({children:e,isOpen:t,onClose:n,position:r,className:i,style:a,isLoading:o,backdrop:s=!0,preventScroll:c=!0,animate:l=!0,triggerRef:d,zIndex:p,edge:h},g)=>{let v=y(null),x={hidden:{opacity:0,y:-10},visible:{opacity:1,y:0},exit:{opacity:0,y:-10}},[T,E]=b(0),[D,ee]=b(r),te=u(()=>{let e=window.visualViewport?.height??window.innerHeight,t=v.current?.getBoundingClientRect().top??0,n=t+BU*2,r=Math.max(e-n,0);return r},[]);f(()=>{if(!t){E(0),ee(r);return}let e=()=>{let e=d?.current?zU({triggerRef:d,dropdownRef:v,edge:h}):r;e&&ee(e);let t=te();E(t)};return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,{passive:!0}),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e)}},[te,h,t,r,d]),NU({shouldPrevent:c&&t}),m(g,()=>({close:()=>{}}));let ne=_(()=>{let e=d?.current?D?.top:r?.top;if(h===`left`){let t={top:e,left:d?.current?D?.left:r?.left,maxHeight:T?`${T}px`:void 0,overflowY:`auto`,overscrollBehaviorY:`contain`,scrollbarWidth:`none`,...a};return t}let t={top:e,right:d?.current?D?.right:r?.right,maxHeight:T?`${T}px`:void 0,overflowY:`auto`,overscrollBehaviorY:`contain`,scrollbarWidth:`none`,...a};return t},[h,D?.left,D?.right,D?.top,T,r?.left,r?.right,r?.top,a,d]);return C(YB,{children:t&&w(S,{children:[s&&C(HB.div,{className:`backdrop`,onClick:e=>{e.stopPropagation(),n()},initial:l?{opacity:0}:void 0,animate:l?{opacity:.5}:void 0,exit:l?{opacity:0}:void 0,style:{position:`fixed`,top:0,left:0,width:`100%`,height:`100%`,backgroundColor:s?`black`:`transparent`,zIndex:p,cursor:`default`}}),C(PU,{ref:v,className:i,initial:l?`hidden`:void 0,animate:l?`visible`:void 0,exit:l?`exit`:void 0,variants:l?x:void 0,style:ne,$zIndex:typeof p==`number`?p+1:void 0,children:o?C(FU,{children:C(tV,{})}):C(IU,{children:e})})]})})}),HU=l(VU);HU.displayName=`Dropdown.Core`;var UU=Object.defineProperty,WU=Object.defineProperties,GU=Object.getOwnPropertyDescriptors,KU=Object.getOwnPropertySymbols,qU=Object.prototype.hasOwnProperty,JU=Object.prototype.propertyIsEnumerable,YU=(e,t,n)=>t in e?UU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Q=(e,t)=>{for(var n in t||={})qU.call(t,n)&&YU(e,n,t[n]);if(KU)for(var n of KU(t))JU.call(t,n)&&YU(e,n,t[n]);return e},$=(e,t)=>WU(e,GU(t)),XU=(e,t)=>{var n={};for(var r in e)qU.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&KU)for(var r of KU(e))t.indexOf(r)<0&&JU.call(e,r)&&(n[r]=e[r]);return n},ZU=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),QU=l(({isOpen:e,overlayId:t,overlayDispatch:n,controller:r})=>(f(()=>{requestAnimationFrame(()=>{n({type:`OPEN`,overlayId:t})})},[n,t]),C(r,{isOpen:e,overlayId:t,close:()=>n({type:`CLOSE`,overlayId:t}),unmount:()=>n({type:`REMOVE`,overlayId:t})})));function $U(){return`overlay-kit-${Math.random().toString(36).slice(2,11)}`}function eW(e){let[t,n]=hW(`${e}/overlay-kit`),r=(e,t)=>{var r;let i=(r=t?.overlayId)??$U(),a=$U();return n(`open`)({controller:e,overlayId:i,componentKey:a}),i},i=(e,t)=>ZU(this,null,function*(){return new Promise(n=>{r((t,...r)=>{let i=e=>{n(e),t.close()},a=$(Q({},t),{close:i});return e(a,...r)},t)})}),a=n(`close`),o=n(`unmount`),s=n(`closeAll`),c=n(`unmountAll`);return{open:r,openAsync:i,close:a,unmount:o,closeAll:s,unmountAll:c,useOverlayEvent:t}}var tW=Symbol(`Null`);function nW(e){let t=a(tW);t.displayName=e??`SafeContext`;function n(){let e=d(t);if(e===tW){let e=Error(`[${t.displayName}]: Provider not found.`);throw e.name=`[Error] Context`,e}return e}return[t.Provider,n]}function rW(){let[e,t]=nW(`overlay-kit/OverlayContext`);function n(){return t().current}function r(){return t().overlayData}return{OverlayContextProvider:e,useCurrentOverlay:n,useOverlayData:r}}var iW=(e,t,n)=>{var r,i;let a=e.filter(e=>t[e].isOpen===!0),o=a.findIndex(e=>e===n);return o===a.length-1?(r=a[o-1])??null:(i=a.at(-1))??null};function aW(e,t){switch(t.type){case`ADD`:{if(e.overlayData[t.overlay.id]!=null&&e.overlayData[t.overlay.id].isOpen===!1){let n=e.overlayData[t.overlay.id];return n==null||n.isOpen?e:$(Q({},e),{current:t.overlay.id,overlayData:$(Q({},e.overlayData),{[t.overlay.id]:$(Q({},n),{isOpen:!0})})})}let n=e.overlayOrderList.includes(t.overlay.id);if(n&&e.overlayData[t.overlay.id].isOpen===!0)throw Error(`You can't open the multiple overlays with the same overlayId(${t.overlay.id}). Please set a different id.`);return{current:t.overlay.id,overlayOrderList:[...e.overlayOrderList.filter(e=>e!==t.overlay.id),t.overlay.id],overlayData:n?e.overlayData:$(Q({},e.overlayData),{[t.overlay.id]:t.overlay})}}case`OPEN`:{let n=e.overlayData[t.overlayId];return n==null||n.isOpen?e:$(Q({},e),{overlayData:$(Q({},e.overlayData),{[t.overlayId]:$(Q({},n),{isOpen:!0,isMounted:!0})})})}case`CLOSE`:{let n=e.overlayData[t.overlayId];if(n==null||!n.isOpen)return e;let r=iW(e.overlayOrderList,e.overlayData,t.overlayId);return $(Q({},e),{current:r,overlayData:$(Q({},e.overlayData),{[t.overlayId]:$(Q({},e.overlayData[t.overlayId]),{isOpen:!1})})})}case`REMOVE`:{if(e.overlayData[t.overlayId]==null)return e;let n=e.overlayOrderList.filter(e=>e!==t.overlayId);if(e.overlayOrderList.length===n.length)return e;let r=Q({},e.overlayData);return delete r[t.overlayId],{current:iW(e.overlayOrderList,e.overlayData,t.overlayId),overlayOrderList:n,overlayData:r}}case`CLOSE_ALL`:return Object.keys(e.overlayData).length===0?e:$(Q({},e),{current:null,overlayData:Object.keys(e.overlayData).reduce((t,n)=>$(Q({},t),{[n]:$(Q({},e.overlayData[n]),{isOpen:!1})}),{})});case`REMOVE_ALL`:return{current:null,overlayOrderList:[],overlayData:{}}}}function oW(){let e=$U(),t=eW(e),{useOverlayEvent:n}=t,r=XU(t,[`useOverlayEvent`]),{OverlayContextProvider:i,useCurrentOverlay:a,useOverlayData:o}=rW();function s({children:e}){let[t,r]=v(aW,{current:null,overlayOrderList:[],overlayData:{}}),a=y(t),o=u(({controller:e,overlayId:t,componentKey:n})=>{r({type:`ADD`,overlay:{id:t,componentKey:n,isOpen:!1,isMounted:!1,controller:e}})},[]),s=u(e=>{r({type:`CLOSE`,overlayId:e})},[]),c=u(e=>{r({type:`REMOVE`,overlayId:e})},[]),l=u(()=>{r({type:`CLOSE_ALL`})},[]),d=u(()=>{r({type:`REMOVE_ALL`})},[]);return n({open:o,close:s,unmount:c,closeAll:l,unmountAll:d}),a.current!==t&&(t.overlayOrderList.forEach(e=>{let n=a.current.overlayData,i=t.overlayData;if(n[e]!=null&&n[e].isMounted===!0){let t=n[e].isOpen===!1,a=i[e].isOpen===!0;t&&a&&requestAnimationFrame(()=>{r({type:`OPEN`,overlayId:e})})}}),a.current=t),f(()=>()=>{r({type:`REMOVE_ALL`})},[]),w(i,{value:t,children:[e,t.overlayOrderList.map(e=>{let{id:n,componentKey:i,isOpen:a,controller:o}=t.overlayData[e];return C(QU,{isOpen:a,controller:o,overlayId:n,overlayDispatch:r},i)})]})}return{overlay:r,OverlayProvider:s,useCurrentOverlay:a,useOverlayData:o}}var{overlay:sW,OverlayProvider:cW,useCurrentOverlay:lW,useOverlayData:uW}=oW();function dW(e){return e||=new Map,{all:e,on(t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])},off(t,n){let r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit(t,n){let r=e.get(t);r&&r.slice().forEach(e=>{e(n)}),r=e.get(`*`),r&&r.slice().forEach(e=>{e(t,n)})}}}var fW=dW();function pW(...e){let t=typeof document<`u`,n=typeof navigator<`u`&&navigator.product===`ReactNative`;!t&&!n||g(...e)}function mW(e,t){fW.emit(e,t)}function hW(e){function t(t){let n=Object.keys(t).reduce((n,r)=>{let i=`${e}:${r}`;return $(Q({},n),{[i]:function(e){t[r](e)}})},{});pW(()=>(Object.keys(n).forEach(e=>{fW.off(e,n[e]),fW.on(e,n[e])}),()=>Object.keys(n).forEach(e=>{fW.off(e,n[e])})),[n])}function n(t){return(...n)=>mW(`${e}:${String(t)}`,n[0])}return[t,n]}const gW=D(j)`
|
|
647
647
|
color: ${k.color.foreground[3]};
|
|
648
648
|
`,_W=D.div`
|
|
649
649
|
padding: 11px 16px;
|
|
@@ -682,7 +682,7 @@ ${$t(r)} }`}}),C(`div`,{className:o,children:e})]})};var an=rn;const on=()=>{let
|
|
|
682
682
|
width: 120px;
|
|
683
683
|
height: 24px;
|
|
684
684
|
`)}
|
|
685
|
-
`,yW=s((e,t)=>C(_W,{ref:t,...e})),bW=HB.create(yW),xW=s(({children:e,isLoading:t,isCurrent:n=!1,icon:r,...i},a)=>t?C(vW,{}):w(bW,{ref:a,$isHighlighted:n,...i,children:[r,typeof e==`string`?C(gW,{as:`span`,children:e}):e]}));xW.displayName=`MenuItem`;const SW=8,CW=s(function({isCurrent:e,icon:t,title:n,dropdownData:r,renderDropdownItem:i,backdrop:a=!1,absolute:o=!1,isLoading:s,onClose:c,onMouseEnter:l,onMouseLeave:d,onClick:p},
|
|
685
|
+
`,yW=s((e,t)=>C(_W,{ref:t,...e})),bW=HB.create(yW),xW=s(({children:e,isLoading:t,isCurrent:n=!1,icon:r,...i},a)=>t?C(vW,{}):w(bW,{ref:a,$isHighlighted:n,...i,children:[r,typeof e==`string`?C(gW,{as:`span`,children:e}):e]}));xW.displayName=`MenuItem`;const SW=8,CW=s(function({isCurrent:e,icon:t,title:n,dropdownData:r,renderDropdownItem:i,backdrop:a=!1,absolute:o=!1,isLoading:s,onClose:c,onMouseEnter:l,onMouseLeave:d,onClick:p,zIndex:h},g){let[_,v]=b(!1),x=y(null),T=r.length>0||s,E=u(()=>{if(o){let e=x.current?.getBoundingClientRect();if(!e)return;let t=(e,t)=>C(`div`,{onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:i(e)},t.toString());sW.open(({close:n,isOpen:i})=>i&&C(HU,{edge:`left`,backdrop:a,preventScroll:!1,isOpen:i,animate:a,onClose:n,position:{top:e.bottom+window.scrollY,left:e.left+window.scrollX},children:r.map(t)}))}else requestAnimationFrame(()=>{if(T){let e=x.current?.getBoundingClientRect();if(!e)return;v(!0)}})},[o,r,i,a,T]),D=u(e=>{v(!1)},[]),ee=u(()=>{c?.(),v(!1),sW.closeAll()},[c]);m(g,()=>({close:()=>{v(!1),sW.closeAll()}}),[]);let te=u(e=>{e.stopPropagation(),p?.(e,{openDropdown:E})},[p,E]),ne=u(e=>{l?.(e,{openDropdown:E})},[l,E]),re=u(e=>{d?.(e,{closeDropdown:()=>D(e)})},[D,d]);return f(()=>{if(!x.current)return;let e=e=>{let t=e.target;if(!t||!t.isConnected)return;let n=x.current&&!x.current.contains(t);n&&v(!1)};return window.addEventListener(`mousedown`,e,{}),()=>window.removeEventListener(`mousedown`,e,{})},[]),C(S,{children:w(xW,{ref:x,isCurrent:e,icon:t,onClick:te,onMouseEnter:ne,onMouseLeave:re,style:{position:`relative`},children:[n,!o&&_&&T&&w(`div`,{style:{position:`absolute`,top:`100%`,minWidth:`100%`,width:`auto`,left:0},children:[C(`div`,{style:{height:`${SW}px`,background:`transparent`,cursor:`default`}}),C(HU,{edge:`left`,backdrop:a,preventScroll:!1,isOpen:!0,animate:a,isLoading:s,onClose:ee,zIndex:h,children:r.map((e,t)=>C(`div`,{onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:i(e)},t.toString()))})]})]})})});CW.displayName=`Dropdown.MenuItem`;const wW=D.div`
|
|
686
686
|
padding-left: 1rem;
|
|
687
687
|
padding-right: 1rem;
|
|
688
688
|
padding-top: 0.6rem;
|
|
@@ -743,4 +743,5 @@ ${$t(r)} }`}}),C(`div`,{className:o,children:e})]})};var an=rn;const on=()=>{let
|
|
|
743
743
|
margin: 20px 0;
|
|
744
744
|
`,JW=D.div`
|
|
745
745
|
margin-top: 0.5rem;
|
|
746
|
-
`,YW=({accordionKey:e,item:t,renderTrigger:n,renderExpanded:r})=>w(qW,{children:[n(t),e===t.accordionKey&&C(JW,{children:r({selectedItem:t})})]}),XW=({data:e,renderTrigger:t,renderExpanded:n,customized:r})=>{let[i,a]=KW();return w(S,{children:[e.map(e=>C(YW,{accordionKey:i,item:e,renderTrigger:e=>C(`div`,{onClick:()=>a(t=>t===e.accordionKey?null:e.accordionKey),children:t(e)},e.accordionKey),renderExpanded:({selectedItem:e})=>C(S,{children:n({selectedItem:e})})},e.accordionKey)),r]})},ZW={List:AH,MasonryList:FH,Item:dH,MasonryItem:bH,LoadMore:SH,Empty:zH,ImageEmpty:wV,Image:CV};export{XW as Accordion,LW as AppHeader,QH as AppLogo,hU as AppStoreButton,yV as Badge,dU as BrandIcon,oj as Button,dj as Checkbox,an as ColorSchemeProvider,HW as ColorSchemeToggle,EW as Dropdown,KH as ErrorUI,GW as FullScreenModal,ln as GlobalStyle,ZW as GridCardList,pj as IconButton,xW as MenuItem,XB as Modal,MU as SNSIcon,tV as Spinner,gV as Switch,j as Text,aV as TextArea,cV as TextInput,uV as Toast,IH as WEB_APP_HEADER_HEIGHT,xV as breakpoints,O as colors,Jt as darkModeTheme,Yt as generateCssVar,qt as lightModeTheme,K as media,Gt as semanticVariables,k as semantics,$t as themeToStyles,Qt as themeVariables,Kt as typography,on as useColorScheme};
|
|
746
|
+
`,YW=({accordionKey:e,item:t,renderTrigger:n,renderExpanded:r})=>w(qW,{children:[n(t),e===t.accordionKey&&C(JW,{children:r({selectedItem:t})})]}),XW=({data:e,renderTrigger:t,renderExpanded:n,customized:r})=>{let[i,a]=KW();return w(S,{children:[e.map(e=>C(YW,{accordionKey:i,item:e,renderTrigger:e=>C(`div`,{onClick:()=>a(t=>t===e.accordionKey?null:e.accordionKey),children:t(e)},e.accordionKey),renderExpanded:({selectedItem:e})=>C(S,{children:n({selectedItem:e})})},e.accordionKey)),r]})},ZW={List:AH,MasonryList:FH,Item:dH,MasonryItem:bH,LoadMore:SH,Empty:zH,ImageEmpty:wV,Image:CV};export{XW as Accordion,LW as AppHeader,QH as AppLogo,hU as AppStoreButton,yV as Badge,dU as BrandIcon,oj as Button,dj as Checkbox,an as ColorSchemeProvider,HW as ColorSchemeToggle,EW as Dropdown,KH as ErrorUI,GW as FullScreenModal,ln as GlobalStyle,ZW as GridCardList,pj as IconButton,xW as MenuItem,XB as Modal,MU as SNSIcon,tV as Spinner,gV as Switch,j as Text,aV as TextArea,cV as TextInput,uV as Toast,IH as WEB_APP_HEADER_HEIGHT,xV as breakpoints,O as colors,Jt as darkModeTheme,Yt as generateCssVar,qt as lightModeTheme,K as media,Gt as semanticVariables,k as semantics,$t as themeToStyles,Qt as themeVariables,Kt as typography,on as useColorScheme};
|
|
747
|
+
//# sourceMappingURL=index.js.map
|