@baton8/general-components 1.2.0-alpha.5 → 1.2.0-alpha.7

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.
@@ -21,7 +21,7 @@ export declare const Badge: import("react").ForwardRefExoticComponent<import("..
21
21
  * 見た目のバリアント。
22
22
  * @defaultValue `"solid"`
23
23
  */
24
- variant?: "outline" | "solid" | "light" | undefined;
24
+ variant?: "solid" | "light" | "outline" | undefined;
25
25
  /**
26
26
  * サイズ。
27
27
  * @defaultValue `"medium"`
@@ -42,7 +42,7 @@ export declare const GeneralIcon: import("react").ForwardRefExoticComponent<impo
42
42
  * アイコンの反転。
43
43
  * @defaultValue `"none"`
44
44
  */
45
- flip?: "none" | "both" | "horizontal" | "vertical" | undefined;
45
+ flip?: "both" | "none" | "horizontal" | "vertical" | undefined;
46
46
  /**
47
47
  * アイコンの回転角度。
48
48
  * @defaultValue `0`
@@ -23,7 +23,7 @@ export declare const Textarea: import("react").ForwardRefExoticComponent<import(
23
23
  * リサイズ可能な方向。
24
24
  * @defaultValue `"vertical"`
25
25
  */
26
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
26
+ resize?: "both" | "none" | "horizontal" | "vertical" | undefined;
27
27
  /**
28
28
  * @defaultValue `"off"`
29
29
  */
@@ -2,6 +2,7 @@ export * from "./drawer";
2
2
  export * from "./drawerBody";
3
3
  export * from "./drawerButton";
4
4
  export * from "./drawerCaption";
5
- export * from "./drawerFooter";
6
5
  export * from "./drawerHeader";
6
+ export * from "./drawerHeaderLeft";
7
+ export * from "./drawerHeaderRight";
7
8
  export * from "./drawerTitle";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- (()=>{var e={714:e=>{e.exports={"dialogCloseButton.close":"Close dialog","loadingIcon.label":"Loading","select.select":"Select","select.noOption":"No options","select.loading":"Loading","sortOrderSelect.ascending":"Asc","sortOrderSelect.descending":"Desc","bulkOperationButton.text":"Action","cardListEmpty.empty":"No data found","cardListLoading.loading":"Loading","pagination.label":"Pagination","pagination.first":"First","pagination.previous":"Previous","pagination.next":"Next","pagination.last":"Last","rankView.label":"{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} place","toast.rootLabel":"Notification","toast.viewportLabel":"Notifications (F8)","quizCardTitle.emptyQuestion":"No question","quizCardTitle.emptyAnswer":"No correct options","groupFootnote.noGroup":"Deleted group","privateFootnote.private":"Limited","privateFootnote.public":"Public","userFootnote.noUser":"Deleted user","imageView.noImage":"No image found","mediumView.unsupported":"Unsupported media"}},62:e=>{e.exports={"dialogCloseButton.close":"ダイアログを閉じる","loadingIcon.label":"読み込み中","select.select":"選択してください","select.noOption":"該当する項目がありません","select.loading":"読み込み中","sortOrderSelect.ascending":"昇順","sortOrderSelect.descending":"降順","bulkOperationButton.text":"一括操作","cardListEmpty.empty":"該当するデータがありません","cardListLoading.loading":"読み込み中","pagination.label":"ページネーション","pagination.first":"最初へ","pagination.previous":"前へ","pagination.next":"次へ","pagination.last":"最後へ","rankView.label":"{rank, number}位","toast.rootLabel":"お知らせ","toast.viewportLabel":"お知らせ (F8)","quizCardTitle.emptyQuestion":"問題文がありません","quizCardTitle.emptyAnswer":"正答選択肢がありません","groupFootnote.noGroup":"削除されたグループ","privateFootnote.private":"限定公開","privateFootnote.public":"全体公開","userFootnote.noUser":"退会したユーザー","imageView.noImage":"画像がありません","mediumView.unsupported":"サポートされていないメディアです"}}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var a=r[t]={exports:{}};return e[t](a,a.exports,o),a.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";o.r(t),o.d(t,{AlignedRadioGroup:()=>oo,AsyncSelect:()=>se,AsyncSelectOption:()=>be,Avatar:()=>fe,AvatarFallbackIcon:()=>ge,AvatarFallbackLetter:()=>xe,Badge:()=>we,BadgeIconContainer:()=>qe,BarMeter:()=>Ie,BarMeterValue:()=>De,BarMeterValueIconContainer:()=>Fe,BarProgress:()=>Ae,BulkOperationButton:()=>ut,BulkOperationContainer:()=>bt,Button:()=>He,ButtonIconContainer:()=>Ye,Card:()=>gt,CardBody:()=>xt,CardButton:()=>wt,CardButtonList:()=>qt,CardControlContainer:()=>Pt,CardHeadnote:()=>Ot,CardList:()=>It,CardListAuto:()=>Kt,CardListBody:()=>Rt,CardListBodyAuto:()=>Gt,CardListEmpty:()=>Dt,CardListFooter:()=>Ft,CardListFooterAuto:()=>Qt,CardListHeader:()=>At,CardListHeaderLeft:()=>Ht,CardListHeaderRight:()=>Yt,CardListLoading:()=>_t,CardTitle:()=>zt,CheckableContainer:()=>_e,CheckableLabel:()=>Ge,Checkbox:()=>Je,ContentHeader:()=>Jt,ContentTitle:()=>Xt,ControlContainer:()=>Xe,ControlErrorMessage:()=>tr,ControlHelper:()=>ar,ControlLabel:()=>lr,CountIndicator:()=>rn,Dialog:()=>an,DialogBody:()=>sn,DialogButton:()=>cn,DialogCloseButton:()=>bn,DialogFooter:()=>un,DialogHeader:()=>mn,DialogTitle:()=>gn,Divider:()=>cr,Drawer:()=>xn,DrawerBody:()=>wn,DrawerButton:()=>$n,DrawerCaption:()=>kn,DrawerFooter:()=>Pn,DrawerHeader:()=>zn,DrawerTitle:()=>In,FileInput:()=>pr,Footnote:()=>Dn,FootnoteIconContainer:()=>Fn,FootnoteList:()=>An,FootnoteListRow:()=>Hn,FractionView:()=>_n,FractionViewDenominator:()=>Gn,FractionViewNumerator:()=>Wn,GeneralIcon:()=>dr,Header:()=>Zn,HeaderLeft:()=>ea,HeaderMenu:()=>oa,HeaderMenuItem:()=>na,HeaderMenuItemIconContainer:()=>ia,Heading:()=>mr,Icon:()=>gr,IconButton:()=>Or,Input:()=>qr,InputLeftAddon:()=>xr,InputRightAddon:()=>wr,LEVELED_COLOR_SCHEMES:()=>u,Link:()=>zr,LinkIconContainer:()=>Ir,LoadingIcon:()=>Rr,Menu:()=>fa,MenuDivider:()=>Oa,MenuItem:()=>ba,MenuItemIconContainer:()=>ga,Modal:()=>Br,MultiLineText:()=>rr,NumberInput:()=>Vr,NumberInputLeftAddon:()=>Tr,PageSizeSelect:()=>Uo,PageSizeSelectAuto:()=>Qo,Pagination:()=>xa,PaginationAuto:()=>ja,PasswordInput:()=>Qr,PasswordInputLeftAddon:()=>Ur,PasswordInputRightAddon:()=>Kr,Radio:()=>Xr,RadioGroup:()=>eo,RankView:()=>$a,Root:()=>Do,SecondaryHeading:()=>Fo,Select:()=>Ao,SelectOption:()=>Ho,SelectOptionIconContainer:()=>Yo,SimpleToast:()=>ti,SingleLineText:()=>Re,SortOrderSelect:()=>Wo,Stepper:()=>Ea,StepperBody:()=>Da,StepperItem:()=>Ca,StepperNumber:()=>Fa,StepperTitle:()=>Aa,Switch:()=>Xo,Tab:()=>Ya,TabIconContainer:()=>_a,TabList:()=>Ha,Tag:()=>rt,TagIconContainer:()=>tt,TagList:()=>at,Textarea:()=>lt,Toast:()=>Wa,ToastBody:()=>Za,ToastMessage:()=>ei,ToastSupplement:()=>oi,UNLEVELED_COLOR_SCHEMES:()=>f,VisuallyHidden:()=>ct,alpha:()=>j,borderWidth:()=>q,boxShadow:()=>k,color:()=>x,createColorDefinition:()=>m,createTrans:()=>Eo,dimension:()=>li,fixedLineHeight:()=>P,flexHorizontal:()=>ai,flexVertical:()=>ni,fontFamily:()=>O,fontWeight:()=>v,intlSubject:()=>ko,lineHeight:()=>N,localeSubject:()=>No,margin:()=>ii,mergeLocalizationMessages:()=>go,resolveResponsiveValue:()=>vo,size:()=>$,toResponsiveValue:()=>Oo,useBehaviorSubject:()=>$o,useDialog:()=>ci,useIntl:()=>Po,useLocale:()=>So,useRadioGroup:()=>di,useResponsiveValue:()=>jo,useSetLocale:()=>zo,useSmartphone:()=>xo,useSubject:()=>wo,useToast:()=>bi,useTrans:()=>Co,useTranslation:()=>Io});const e=require("@emotion/react/jsx-runtime"),r=require("react"),n=require("react-select/async");var a=o.n(n);const i=require("@emotion/react"),l=require("@fortawesome/react-fontawesome"),s=require("@fortawesome/sharp-regular-svg-icons"),c=require("react-select");var d=o.n(c);const b=require("color");var p=o.n(b);const u=["primary","secondary","blue","red","green","pink","yellow","purple","orange","gray","gold","silver","bronze"],f=["white","black","whiteText","blackText","background","deepBackground"],m=(e,r)=>{const o=p()(e),t=p()("black"),n=p()("white");return{9:o.saturate(4*r.dark.saturation/4).mix(t,4*r.dark.mix/4).hex(),8:o.saturate(3*r.dark.saturation/4).mix(t,3*r.dark.mix/4).hex(),7:o.saturate(2*r.dark.saturation/4).mix(t,2*r.dark.mix/4).hex(),6:o.saturate(1*r.dark.saturation/4).mix(t,1*r.dark.mix/4).hex(),5:o.hex(),4:o.saturate(1*r.light.saturation/5).mix(n,1*r.light.mix/5).hex(),3:o.saturate(2*r.light.saturation/5).mix(n,2*r.light.mix/5).hex(),2:o.saturate(3*r.light.saturation/5).mix(n,3*r.light.mix/5).hex(),1:o.saturate(4*r.light.saturation/5).mix(n,4*r.light.mix/5).hex(),0:o.saturate(5*r.light.saturation/5).mix(n,5*r.light.mix/5).hex()}},y={primary:m("hsl(203, 100%, 38%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),secondary:m("hsl(2, 77%, 64%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),blue:m("hsl(230, 70%, 55%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),red:m("hsl(0, 65%, 60%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),green:m("hsl(110, 45%, 45%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),pink:m("hsl(340, 60%, 60%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.2}}),yellow:m("hsl(60, 65%, 50%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.1}}),purple:m("hsl(260, 55%, 57%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),orange:m("hsl(30, 75%, 55%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.2}}),gray:m("hsl(203, 20%, 65%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.3}}),gold:m("hsl(50, 80%, 43%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),silver:m("hsl(240, 15%, 65%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.3}}),bronze:m("hsl(20, 50%, 50%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),white:p()("hsl(203, 0%, 100%)").hex(),black:p()("hsl(203, 33%, 10%)").hex(),whiteText:p()("hsl(203, 0%, 87%)").hex(),blackText:p()("hsl(203, 0%, 27%)").hex(),background:p()("hsl(203, 20%, 98%)").hex(),deepBackground:p()("hsl(203, 20%, 96%)").hex()},g=(e,r)=>null!=r?`var(--qlib-cs-${e}-${r})`:`var(--qlib-cs-${e})`,h=e=>{const r=[],o=Object.assign(Object.assign({},y),e);for(const[e,t]of Object.entries(o))if("string"==typeof t)r.push(`--qlib-cs-${e}: ${p()(t).rgb().array().join(", ")};`);else for(const[o,n]of Object.entries(t))r.push(`--qlib-cs-${e}-${o}: ${p()(n).rgb().array().join(", ")};`);return i.css`
1
+ (()=>{var e={714:e=>{e.exports={"dialogCloseButton.close":"Close dialog","loadingIcon.label":"Loading","select.select":"Select","select.noOption":"No options","select.loading":"Loading","sortOrderSelect.ascending":"Asc","sortOrderSelect.descending":"Desc","bulkOperationButton.text":"Action","cardListEmpty.empty":"No data found","cardListLoading.loading":"Loading","pagination.label":"Pagination","pagination.first":"First","pagination.previous":"Previous","pagination.next":"Next","pagination.last":"Last","rankView.label":"{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} place","toast.rootLabel":"Notification","toast.viewportLabel":"Notifications (F8)","quizCardTitle.emptyQuestion":"No question","quizCardTitle.emptyAnswer":"No correct options","groupFootnote.noGroup":"Deleted group","privateFootnote.private":"Limited","privateFootnote.public":"Public","userFootnote.noUser":"Deleted user","imageView.noImage":"No image found","mediumView.unsupported":"Unsupported media"}},62:e=>{e.exports={"dialogCloseButton.close":"ダイアログを閉じる","loadingIcon.label":"読み込み中","select.select":"選択してください","select.noOption":"該当する項目がありません","select.loading":"読み込み中","sortOrderSelect.ascending":"昇順","sortOrderSelect.descending":"降順","bulkOperationButton.text":"一括操作","cardListEmpty.empty":"該当するデータがありません","cardListLoading.loading":"読み込み中","pagination.label":"ページネーション","pagination.first":"最初へ","pagination.previous":"前へ","pagination.next":"次へ","pagination.last":"最後へ","rankView.label":"{rank, number}位","toast.rootLabel":"お知らせ","toast.viewportLabel":"お知らせ (F8)","quizCardTitle.emptyQuestion":"問題文がありません","quizCardTitle.emptyAnswer":"正答選択肢がありません","groupFootnote.noGroup":"削除されたグループ","privateFootnote.private":"限定公開","privateFootnote.public":"全体公開","userFootnote.noUser":"退会したユーザー","imageView.noImage":"画像がありません","mediumView.unsupported":"サポートされていないメディアです"}}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var a=r[t]={exports:{}};return e[t](a,a.exports,o),a.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";o.r(t),o.d(t,{AlignedRadioGroup:()=>oo,AsyncSelect:()=>se,AsyncSelectOption:()=>be,Avatar:()=>fe,AvatarFallbackIcon:()=>ge,AvatarFallbackLetter:()=>xe,Badge:()=>we,BadgeIconContainer:()=>qe,BarMeter:()=>Ie,BarMeterValue:()=>De,BarMeterValueIconContainer:()=>Fe,BarProgress:()=>Ae,BulkOperationButton:()=>ut,BulkOperationContainer:()=>bt,Button:()=>He,ButtonIconContainer:()=>Ye,Card:()=>gt,CardBody:()=>xt,CardButton:()=>wt,CardButtonList:()=>qt,CardControlContainer:()=>Pt,CardHeadnote:()=>Ot,CardList:()=>It,CardListAuto:()=>Kt,CardListBody:()=>Rt,CardListBodyAuto:()=>Gt,CardListEmpty:()=>Dt,CardListFooter:()=>Ft,CardListFooterAuto:()=>Qt,CardListHeader:()=>At,CardListHeaderLeft:()=>Ht,CardListHeaderRight:()=>Yt,CardListLoading:()=>_t,CardTitle:()=>zt,CheckableContainer:()=>_e,CheckableLabel:()=>Ge,Checkbox:()=>Je,ContentHeader:()=>Jt,ContentTitle:()=>Xt,ControlContainer:()=>Xe,ControlErrorMessage:()=>tr,ControlHelper:()=>ar,ControlLabel:()=>lr,CountIndicator:()=>rn,Dialog:()=>an,DialogBody:()=>sn,DialogButton:()=>cn,DialogCloseButton:()=>bn,DialogFooter:()=>un,DialogHeader:()=>mn,DialogTitle:()=>gn,Divider:()=>cr,Drawer:()=>xn,DrawerBody:()=>wn,DrawerButton:()=>$n,DrawerCaption:()=>kn,DrawerHeader:()=>Pn,DrawerHeaderLeft:()=>zn,DrawerHeaderRight:()=>In,DrawerTitle:()=>Rn,FileInput:()=>pr,Footnote:()=>Fn,FootnoteIconContainer:()=>An,FootnoteList:()=>Hn,FootnoteListRow:()=>Yn,FractionView:()=>Gn,FractionViewDenominator:()=>Wn,FractionViewNumerator:()=>Zn,GeneralIcon:()=>dr,Header:()=>ea,HeaderLeft:()=>oa,HeaderMenu:()=>na,HeaderMenuItem:()=>ia,HeaderMenuItemIconContainer:()=>sa,Heading:()=>mr,Icon:()=>gr,IconButton:()=>Or,Input:()=>qr,InputLeftAddon:()=>xr,InputRightAddon:()=>wr,LEVELED_COLOR_SCHEMES:()=>u,Link:()=>zr,LinkIconContainer:()=>Ir,LoadingIcon:()=>Rr,Menu:()=>ya,MenuDivider:()=>xa,MenuItem:()=>ua,MenuItemIconContainer:()=>Oa,Modal:()=>Br,MultiLineText:()=>rr,NumberInput:()=>Vr,NumberInputLeftAddon:()=>Tr,PageSizeSelect:()=>Uo,PageSizeSelectAuto:()=>Qo,Pagination:()=>wa,PaginationAuto:()=>$a,PasswordInput:()=>Qr,PasswordInputLeftAddon:()=>Ur,PasswordInputRightAddon:()=>Kr,Radio:()=>Xr,RadioGroup:()=>eo,RankView:()=>ka,Root:()=>Do,SecondaryHeading:()=>Fo,Select:()=>Ao,SelectOption:()=>Ho,SelectOptionIconContainer:()=>Yo,SimpleToast:()=>ai,SingleLineText:()=>Re,SortOrderSelect:()=>Wo,Stepper:()=>Ma,StepperBody:()=>Fa,StepperItem:()=>Ea,StepperNumber:()=>Aa,StepperTitle:()=>Ha,Switch:()=>Xo,Tab:()=>_a,TabIconContainer:()=>Ga,TabList:()=>Ya,Tag:()=>rt,TagIconContainer:()=>tt,TagList:()=>at,Textarea:()=>lt,Toast:()=>Za,ToastBody:()=>ei,ToastMessage:()=>oi,ToastSupplement:()=>ni,UNLEVELED_COLOR_SCHEMES:()=>f,VisuallyHidden:()=>ct,alpha:()=>j,borderWidth:()=>q,boxShadow:()=>k,color:()=>x,createColorDefinition:()=>m,createTrans:()=>Eo,dimension:()=>ci,fixedLineHeight:()=>P,flexHorizontal:()=>li,flexVertical:()=>ii,fontFamily:()=>O,fontWeight:()=>v,intlSubject:()=>ko,lineHeight:()=>N,localeSubject:()=>No,margin:()=>si,mergeLocalizationMessages:()=>go,resolveResponsiveValue:()=>vo,size:()=>$,toResponsiveValue:()=>Oo,useBehaviorSubject:()=>$o,useDialog:()=>bi,useIntl:()=>Po,useLocale:()=>So,useRadioGroup:()=>pi,useResponsiveValue:()=>jo,useSetLocale:()=>zo,useSmartphone:()=>xo,useSubject:()=>wo,useToast:()=>ui,useTrans:()=>Co,useTranslation:()=>Io});const e=require("@emotion/react/jsx-runtime"),r=require("react"),n=require("react-select/async");var a=o.n(n);const i=require("@emotion/react"),l=require("@fortawesome/react-fontawesome"),s=require("@fortawesome/sharp-regular-svg-icons"),c=require("react-select");var d=o.n(c);const b=require("color");var p=o.n(b);const u=["primary","secondary","blue","red","green","pink","yellow","purple","orange","gray","gold","silver","bronze"],f=["white","black","whiteText","blackText","background","deepBackground"],m=(e,r)=>{const o=p()(e),t=p()("black"),n=p()("white");return{9:o.saturate(4*r.dark.saturation/4).mix(t,4*r.dark.mix/4).hex(),8:o.saturate(3*r.dark.saturation/4).mix(t,3*r.dark.mix/4).hex(),7:o.saturate(2*r.dark.saturation/4).mix(t,2*r.dark.mix/4).hex(),6:o.saturate(1*r.dark.saturation/4).mix(t,1*r.dark.mix/4).hex(),5:o.hex(),4:o.saturate(1*r.light.saturation/5).mix(n,1*r.light.mix/5).hex(),3:o.saturate(2*r.light.saturation/5).mix(n,2*r.light.mix/5).hex(),2:o.saturate(3*r.light.saturation/5).mix(n,3*r.light.mix/5).hex(),1:o.saturate(4*r.light.saturation/5).mix(n,4*r.light.mix/5).hex(),0:o.saturate(5*r.light.saturation/5).mix(n,5*r.light.mix/5).hex()}},y={primary:m("hsl(203, 100%, 38%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),secondary:m("hsl(2, 77%, 64%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),blue:m("hsl(230, 70%, 55%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),red:m("hsl(0, 65%, 60%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),green:m("hsl(110, 45%, 45%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),pink:m("hsl(340, 60%, 60%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.2}}),yellow:m("hsl(60, 65%, 50%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.1}}),purple:m("hsl(260, 55%, 57%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),orange:m("hsl(30, 75%, 55%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.2}}),gray:m("hsl(203, 20%, 65%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.3}}),gold:m("hsl(50, 80%, 43%)",{dark:{mix:.55,saturation:-.3},light:{mix:.95,saturation:.3}}),silver:m("hsl(240, 15%, 65%)",{dark:{mix:.55,saturation:-.3},light:{mix:.93,saturation:.3}}),bronze:m("hsl(20, 50%, 50%)",{dark:{mix:.55,saturation:-.3},light:{mix:.96,saturation:.3}}),white:p()("hsl(203, 0%, 100%)").hex(),black:p()("hsl(203, 33%, 10%)").hex(),whiteText:p()("hsl(203, 0%, 87%)").hex(),blackText:p()("hsl(203, 0%, 27%)").hex(),background:p()("hsl(203, 20%, 98%)").hex(),deepBackground:p()("hsl(203, 20%, 96%)").hex()},g=(e,r)=>null!=r?`var(--qlib-cs-${e}-${r})`:`var(--qlib-cs-${e})`,h=e=>{const r=[],o=Object.assign(Object.assign({},y),e);for(const[e,t]of Object.entries(o))if("string"==typeof t)r.push(`--qlib-cs-${e}: ${p()(t).rgb().array().join(", ")};`);else for(const[o,n]of Object.entries(t))r.push(`--qlib-cs-${e}-${o}: ${p()(n).rgb().array().join(", ")};`);return i.css`
2
2
  :root {
3
3
  ${r.join("\n")}
4
4
  }
@@ -1932,25 +1932,23 @@
1932
1932
  `,kn=(0,r.forwardRef)(((o,t)=>{var{children:n,className:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["children","className"]);const l=xo(),{scheme:s}=(0,r.useContext)(hn);return!l&&(0,e.jsx)("div",Object.assign({css:qn(s),className:a,ref:t},i,{children:n}))}));kn.displayName="DrawerCaption";const Nn={root:i.css`
1933
1933
  padding-block: ${$(4)};
1934
1934
  padding-inline: var(--qlib-padding-inline);
1935
- column-gap: ${$(6)};
1935
+ column-gap: ${$(8)};
1936
1936
  background-color: ${x("white")};
1937
+ border-block-end: solid ${q(1)} ${x("gray",1)};
1937
1938
  display: flex;
1938
- flex-direction: row;
1939
1939
  align-items: center;
1940
- justify-content: center;
1941
1940
  flex-grow: 0;
1942
1941
  flex-shrink: 0;
1943
- `},Pn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Nn.root,className:n,ref:o},a,{children:t}))}));Pn.displayName="DrawerFooter";const Sn={root:i.css`
1944
- padding-block: ${$(4)};
1945
- padding-inline: var(--qlib-padding-inline);
1946
- column-gap: ${$(8)};
1947
- background-color: ${x("white")};
1948
- border-block-end: solid ${q(1)} ${x("gray",1)};
1942
+ `},Pn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Nn.root,className:n,ref:o},a,{children:t}))}));Pn.displayName="DrawerHeader";const Sn={root:i.css`
1943
+ row-gap: ${$(2)};
1949
1944
  display: flex;
1950
- align-items: center;
1945
+ flex-direction: column;
1946
+ flex-grow: 1;
1947
+ flex-shrink: 1;
1948
+ `},zn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Sn.root,className:n,ref:o},a,{children:t}))}));zn.displayName="DrawerHeaderLeft";const Cn={root:i.css`
1951
1949
  flex-grow: 0;
1952
1950
  flex-shrink: 0;
1953
- `},zn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Sn.root,className:n,ref:o},a,{children:t}))}));zn.displayName="DrawerHeader";const Cn=e=>i.css`
1951
+ `},In=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Cn.root,className:n,ref:o},a,{children:t}))}));In.displayName="DrawerHeaderRight";const En=e=>i.css`
1954
1952
  font-size: ${$(8)};
1955
1953
  font-weight: ${v("bold")};
1956
1954
  letter-spacing: 0.1em;
@@ -1958,7 +1956,7 @@
1958
1956
  &[data-qlib-smartphone="true"] {
1959
1957
  font-size: ${$(8)};
1960
1958
  }
1961
- `,In=(0,r.forwardRef)(((o,t)=>{var{as:n="h3",children:a,className:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["as","children","className"]);const s=n,c=xo(),{scheme:d}=(0,r.useContext)(hn);return(0,e.jsx)(s,Object.assign({css:Cn(d),className:i,ref:t,"data-qlib-smartphone":c},l,{children:a}))}));In.displayName="DrawerTitle";const En=(0,r.createContext)(void 0),Rn=En.Provider;const Mn={root:i.css`
1959
+ `,Rn=(0,r.forwardRef)(((o,t)=>{var{as:n="h3",children:a,className:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["as","children","className"]);const s=n,c=xo(),{scheme:d}=(0,r.useContext)(hn);return(0,e.jsx)(s,Object.assign({css:En(d),className:i,ref:t,"data-qlib-smartphone":c},l,{children:a}))}));Rn.displayName="DrawerTitle";const Mn=(0,r.createContext)(void 0),Dn=Mn.Provider;const Ln={root:i.css`
1962
1960
  &[data-qlib-size="small"] {
1963
1961
  --qlib-font-size: ${$(3)};
1964
1962
  }
@@ -1970,12 +1968,12 @@
1970
1968
  `,icon:i.css`
1971
1969
  margin-inline-end: ${$("gap")};
1972
1970
  display: inline;
1973
- `},Dn=(0,r.forwardRef)(((o,t)=>{var n,{size:a="small",className:i,children:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size","className","children"]);const c=(0,r.useContext)(En);return(0,e.jsx)(Re,Object.assign({css:Mn.root,className:i,ref:t,"data-qlib-size":null!==(n=null==c?void 0:c.size)&&void 0!==n?n:a},s,{children:l}))}));Dn.displayName="Footnote";const Ln={root:i.css`
1971
+ `},Fn=(0,r.forwardRef)(((o,t)=>{var n,{size:a="small",className:i,children:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size","className","children"]);const c=(0,r.useContext)(Mn);return(0,e.jsx)(Re,Object.assign({css:Ln.root,className:i,ref:t,"data-qlib-size":null!==(n=null==c?void 0:c.size)&&void 0!==n?n:a},s,{children:l}))}));Fn.displayName="Footnote";const Bn={root:i.css`
1974
1972
  margin-inline-end: ${$("gap")};
1975
1973
  display: inline;
1976
1974
  flex-grow: 0;
1977
1975
  flex-shrink: 0;
1978
- `},Fn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:Ln.root,className:n,ref:o},a,{children:t}))}));Fn.displayName="FootnoteIconContainer";const Bn={root:i.css`
1976
+ `},An=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:Bn.root,className:n,ref:o},a,{children:t}))}));An.displayName="FootnoteIconContainer";const Tn={root:i.css`
1979
1977
  &[data-qlib-size="small"] {
1980
1978
  --qlib-row-gap: ${$(1.5)};
1981
1979
  }
@@ -1985,7 +1983,7 @@
1985
1983
  row-gap: var(--qlib-row-gap);
1986
1984
  display: flex;
1987
1985
  flex-direction: column;
1988
- `},An=(0,r.forwardRef)(((o,t)=>{var{size:n="small",className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size","className","children"]);const s=(0,r.useMemo)((()=>({size:n})),[n]);return(0,e.jsx)("div",Object.assign({css:Bn.root,className:a,ref:t,"data-qlib-size":n},l,{children:(0,e.jsx)(Rn,{value:s,children:i})}))}));An.displayName="FootnoteList";const Tn={root:i.css`
1986
+ `},Hn=(0,r.forwardRef)(((o,t)=>{var{size:n="small",className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size","className","children"]);const s=(0,r.useMemo)((()=>({size:n})),[n]);return(0,e.jsx)("div",Object.assign({css:Tn.root,className:a,ref:t,"data-qlib-size":n},l,{children:(0,e.jsx)(Dn,{value:s,children:i})}))}));Hn.displayName="FootnoteList";const Vn={root:i.css`
1989
1987
  &[data-qlib-size="small"] {
1990
1988
  --qlib-column-gap: ${$(3)};
1991
1989
  }
@@ -1994,13 +1992,13 @@
1994
1992
  }
1995
1993
  column-gap: var(--qlib-column-gap);
1996
1994
  display: flex;
1997
- `},Hn=(0,r.forwardRef)(((o,t)=>{var n,{className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const s=(0,r.useContext)(En);return(0,e.jsx)("div",Object.assign({css:Tn.root,className:a,ref:t,"data-qlib-size":null!==(n=null==s?void 0:s.size)&&void 0!==n?n:"small"},l,{children:i}))}));Hn.displayName="FootnoteListRow";const Vn=(0,r.createContext)({orientation:"horizontal"}),Yn=Vn.Provider;const Un={rootHorizontal:i.css`
1995
+ `},Yn=(0,r.forwardRef)(((o,t)=>{var n,{className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const s=(0,r.useContext)(Mn);return(0,e.jsx)("div",Object.assign({css:Vn.root,className:a,ref:t,"data-qlib-size":null!==(n=null==s?void 0:s.size)&&void 0!==n?n:"small"},l,{children:i}))}));Yn.displayName="FootnoteListRow";const Un=(0,r.createContext)({orientation:"horizontal"}),_n=Un.Provider;const Kn={rootHorizontal:i.css`
1998
1996
  display: inline-flex;
1999
1997
  align-items: baseline;
2000
1998
  `,rootVertical:i.css`
2001
1999
  display: inline-flex;
2002
2000
  flex-direction: column;
2003
- `},_n=(0,r.forwardRef)(((o,t)=>{var{orientation:n,className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["orientation","className","children"]);const s=(0,r.useMemo)((()=>({orientation:n})),[n]);return(0,e.jsx)("span",Object.assign({css:"horizontal"===n?Un.rootHorizontal:Un.rootVertical,className:a,ref:t},l,{children:(0,e.jsx)(Yn,{value:s,children:i})}))}));const Kn={rootHorizontal:i.css`
2001
+ `},Gn=(0,r.forwardRef)(((o,t)=>{var{orientation:n,className:a,children:i}=o,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["orientation","className","children"]);const s=(0,r.useMemo)((()=>({orientation:n})),[n]);return(0,e.jsx)("span",Object.assign({css:"horizontal"===n?Kn.rootHorizontal:Kn.rootVertical,className:a,ref:t},l,{children:(0,e.jsx)(_n,{value:s,children:i})}))}));const Qn={rootHorizontal:i.css`
2004
2002
  font-size: 80%;
2005
2003
  ::before {
2006
2004
  margin-inline: 0.25em;
@@ -2010,7 +2008,7 @@
2010
2008
  padding-inline: 0.2em;
2011
2009
  font-size: 80%;
2012
2010
  text-align: center;
2013
- `},Gn=(0,r.forwardRef)(((o,t)=>{var{className:n,children:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const{transNumber:l}=I("fractionView"),{orientation:s}=(0,r.useContext)(Vn);return(0,e.jsx)("span",Object.assign({css:"horizontal"===s?Kn.rootHorizontal:Kn.rootVertical,className:n,ref:t},i,{children:"number"==typeof a?l(a):a}))}));Gn.displayName="FractionViewDenominator";const Qn={rootHorizontal:i.css`
2011
+ `},Wn=(0,r.forwardRef)(((o,t)=>{var{className:n,children:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const{transNumber:l}=I("fractionView"),{orientation:s}=(0,r.useContext)(Un);return(0,e.jsx)("span",Object.assign({css:"horizontal"===s?Qn.rootHorizontal:Qn.rootVertical,className:n,ref:t},i,{children:"number"==typeof a?l(a):a}))}));Wn.displayName="FractionViewDenominator";const Jn={rootHorizontal:i.css`
2014
2012
  `,rootVertical:i.css`
2015
2013
  padding-inline: 0.2em;
2016
2014
  padding-block-end: 0.1em;
@@ -2018,7 +2016,7 @@
2018
2016
  box-sizing: border-box;
2019
2017
  text-align: center;
2020
2018
  border-bottom: solid ${q(1)} currentcolor;
2021
- `},Wn=(0,r.forwardRef)(((o,t)=>{var{className:n,children:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const{transNumber:l}=I("fractionView"),{orientation:s}=(0,r.useContext)(Vn);return(0,e.jsx)("span",Object.assign({css:"horizontal"===s?Qn.rootHorizontal:Qn.rootVertical,className:n,ref:t},i,{children:"number"==typeof a?l(a):a}))}));Wn.displayName="FractionViewNumerator";const Jn={root:i.css`
2019
+ `},Zn=(0,r.forwardRef)(((o,t)=>{var{className:n,children:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className","children"]);const{transNumber:l}=I("fractionView"),{orientation:s}=(0,r.useContext)(Un);return(0,e.jsx)("span",Object.assign({css:"horizontal"===s?Jn.rootHorizontal:Jn.rootVertical,className:n,ref:t},i,{children:"number"==typeof a?l(a):a}))}));Zn.displayName="FractionViewNumerator";const Xn={root:i.css`
2022
2020
  inline-size: 100%;
2023
2021
  block-size: ${$(16)};
2024
2022
  padding-inline: ${$(10)};
@@ -2033,14 +2031,14 @@
2033
2031
  &[data-smartphone="true"] {
2034
2032
  padding-inline: ${$(6)};
2035
2033
  }
2036
- `},Zn=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);const i=xo();return(0,e.jsx)("header",Object.assign({css:Jn.root,className:n,ref:o,"data-smartphone":i},a,{children:t}))}));Zn.displayName="Sidebar";const Xn={root:i.css`
2034
+ `},ea=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);const i=xo();return(0,e.jsx)("header",Object.assign({css:Xn.root,className:n,ref:o,"data-smartphone":i},a,{children:t}))}));ea.displayName="Sidebar";const ra={root:i.css`
2037
2035
  align-self: center;
2038
2036
  flex-grow: 0;
2039
2037
  flex-shrink: 0;
2040
- `},ea=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("h1",Object.assign({css:Xn.root,className:n,ref:o},a,{children:t}))}));ea.displayName="HeaderLeft";const ra={root:i.css`
2038
+ `},oa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("h1",Object.assign({css:ra.root,className:n,ref:o},a,{children:t}))}));oa.displayName="HeaderLeft";const ta={root:i.css`
2041
2039
  column-gap: ${$(4)};
2042
2040
  display: flex;
2043
- `},oa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:ra.root,className:n,ref:o},a,{children:t}))}));oa.displayName="HeaderMenu";const ta=e=>i.css`
2041
+ `},na=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:ta.root,className:n,ref:o},a,{children:t}))}));na.displayName="HeaderMenu";const aa=e=>i.css`
2044
2042
  --qlib-highlight-color: transparent;
2045
2043
  color: ${x("gray",5)};
2046
2044
  cursor: pointer;
@@ -2065,13 +2063,13 @@
2065
2063
  position: absolute;
2066
2064
  content: "";
2067
2065
  }
2068
- `,na=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",href:n,isActive:a=!1,children:i,className:l}=r,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","href","isActive","children","className"]);return(0,e.jsx)("a",Object.assign({css:ta(t),href:n,ref:o,"data-active":a},s,{children:i}))}));na.displayName="HeaderMenuItem";const aa={root:i.css`
2066
+ `,ia=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",href:n,isActive:a=!1,children:i,className:l}=r,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","href","isActive","children","className"]);return(0,e.jsx)("a",Object.assign({css:aa(t),href:n,ref:o,"data-active":a},s,{children:i}))}));ia.displayName="HeaderMenuItem";const la={root:i.css`
2069
2067
  margin-inline-end: ${$("gap")};
2070
2068
  color: var(--qlib-icon-color);
2071
2069
  display: inline;
2072
2070
  flex-grow: 0;
2073
2071
  flex-shrink: 0;
2074
- `},ia=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:aa.root,className:n,ref:o},a,{children:t}))}));ia.displayName="HeaderMenuItemIconContainer";const la=(0,r.createContext)({setOpen:()=>null,listRef:{current:[]},activeIndex:null,getItemProps:()=>({})}),sa=la.Provider;var ca=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o};const da=e=>i.css`
2072
+ `},sa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:la.root,className:n,ref:o},a,{children:t}))}));sa.displayName="HeaderMenuItemIconContainer";const ca=(0,r.createContext)({setOpen:()=>null,listRef:{current:[]},activeIndex:null,getItemProps:()=>({})}),da=ca.Provider;var ba=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o};const pa=e=>i.css`
2075
2073
  --qlib-icon-color: ${x(null!=e?e:"gray",5)};
2076
2074
  padding-block: ${$(2)};
2077
2075
  padding-inline: ${$(2)};
@@ -2084,10 +2082,10 @@
2084
2082
  &:focus {
2085
2083
  background-color: ${x(null!=e?e:"primary",0)};
2086
2084
  }
2087
- `,ba=(i.css`
2085
+ `,ua=(i.css`
2088
2086
  margin-inline-end: ${$("gap")};
2089
2087
  color: var(--qlib-icon-color);
2090
- `,(0,r.forwardRef)(((o,t)=>{var{scheme:n=null,onClick:a,children:i,className:l}=o;const s=ca(o,["scheme","onClick","children","className"]),{index:c}=s,d=ca(s,["index"]),{setOpen:b,listRef:p,activeIndex:u,getItemProps:f}=(0,r.useContext)(la),m=(0,Qe.useMergeRefs)([t,e=>p.current[c]=e]),y=(0,r.useCallback)((e=>{b(!1),null==a||a(e)}),[b,a]);return(0,e.jsx)("button",Object.assign({css:da(n),className:l,ref:m},f({tabIndex:u===c?0:-1,onClick:y}),d,{children:i}))})));ba.displayName="MenuItem";const pa={root:i.css`
2088
+ `,(0,r.forwardRef)(((o,t)=>{var{scheme:n=null,onClick:a,children:i,className:l}=o;const s=ba(o,["scheme","onClick","children","className"]),{index:c}=s,d=ba(s,["index"]),{setOpen:b,listRef:p,activeIndex:u,getItemProps:f}=(0,r.useContext)(ca),m=(0,Qe.useMergeRefs)([t,e=>p.current[c]=e]),y=(0,r.useCallback)((e=>{b(!1),null==a||a(e)}),[b,a]);return(0,e.jsx)("button",Object.assign({css:pa(n),className:l,ref:m},f({tabIndex:u===c?0:-1,onClick:y}),d,{children:i}))})));ua.displayName="MenuItem";const fa={root:i.css`
2091
2089
  inline-size: ${$(48)};
2092
2090
  max-block-size: ${$(60)};
2093
2091
  border-radius: ${$(1)};
@@ -2106,17 +2104,17 @@
2106
2104
  `,inner:i.css`
2107
2105
  display: flex;
2108
2106
  flex-direction: column;
2109
- `},ua=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,isMounted:n,status:a,context:i,style:l,className:s,children:c}=r,d=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","isMounted","status","context","style","className","children"]);return n&&(0,e.jsx)(Qe.FloatingPortal,{children:(0,e.jsx)(Qe.FloatingFocusManager,{context:i,children:(0,e.jsx)("div",Object.assign({css:pa.root,className:s,style:l,ref:o,"data-qlib-status":a},d,{children:(0,e.jsx)("div",{css:pa.inner,children:c})}))})})})),fa=({trigger:o,placement:t="bottom-start",className:n,children:a})=>{const[i,l]=(0,r.useState)(!1),s=(0,r.useRef)([]),[c,d]=(0,r.useState)(null),{refs:b,floatingStyles:p,context:u}=(0,Qe.useFloating)({open:i,onOpenChange:l,placement:t,middleware:[(0,Qe.offset)(2)]}),{isMounted:f,status:m}=(0,Qe.useTransitionStatus)(u,{duration:200}),y=(0,Qe.useClick)(u),g=(0,Qe.useDismiss)(u),h=(0,Qe.useListNavigation)(u,{listRef:s,activeIndex:c,onNavigate:d}),O=(0,Qe.useRole)(u,{role:"menu"}),{getReferenceProps:v,getFloatingProps:x,getItemProps:j}=(0,Qe.useInteractions)([y,g,h,O]),w=(0,r.useMemo)((()=>({setOpen:l,listRef:s,activeIndex:c,getItemProps:j})),[l,s,c,j]);return(0,e.jsxs)(e.Fragment,{children:[null!=o&&(0,r.cloneElement)(o,Object.assign({ref:b.setReference},v())),(0,e.jsx)(ua,Object.assign({className:n,isOpen:i,isMounted:f,status:m,context:u,style:p,ref:b.setFloating},x(),{children:(0,e.jsx)(sa,{value:w,children:ma(a)})}))]})},ma=e=>{let o=-1;return r.Children.map(e,(e=>(0,ke.isElement)(e)?e.type===ba?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};const ya={root:i.css`
2107
+ `},ma=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,isMounted:n,status:a,context:i,style:l,className:s,children:c}=r,d=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","isMounted","status","context","style","className","children"]);return n&&(0,e.jsx)(Qe.FloatingPortal,{children:(0,e.jsx)(Qe.FloatingFocusManager,{context:i,children:(0,e.jsx)("div",Object.assign({css:fa.root,className:s,style:l,ref:o,"data-qlib-status":a},d,{children:(0,e.jsx)("div",{css:fa.inner,children:c})}))})})})),ya=({trigger:o,placement:t="bottom-start",className:n,children:a})=>{const[i,l]=(0,r.useState)(!1),s=(0,r.useRef)([]),[c,d]=(0,r.useState)(null),{refs:b,floatingStyles:p,context:u}=(0,Qe.useFloating)({open:i,onOpenChange:l,placement:t,middleware:[(0,Qe.offset)(2)]}),{isMounted:f,status:m}=(0,Qe.useTransitionStatus)(u,{duration:200}),y=(0,Qe.useClick)(u),g=(0,Qe.useDismiss)(u),h=(0,Qe.useListNavigation)(u,{listRef:s,activeIndex:c,onNavigate:d}),O=(0,Qe.useRole)(u,{role:"menu"}),{getReferenceProps:v,getFloatingProps:x,getItemProps:j}=(0,Qe.useInteractions)([y,g,h,O]),w=(0,r.useMemo)((()=>({setOpen:l,listRef:s,activeIndex:c,getItemProps:j})),[l,s,c,j]);return(0,e.jsxs)(e.Fragment,{children:[null!=o&&(0,r.cloneElement)(o,Object.assign({ref:b.setReference},v())),(0,e.jsx)(ma,Object.assign({className:n,isOpen:i,isMounted:f,status:m,context:u,style:p,ref:b.setFloating},x(),{children:(0,e.jsx)(da,{value:w,children:ga(a)})}))]})},ga=e=>{let o=-1;return r.Children.map(e,(e=>(0,ke.isElement)(e)?e.type===ua?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};const ha={root:i.css`
2110
2108
  margin-inline-end: ${$("gap")};
2111
2109
  color: var(--qlib-icon-color);
2112
2110
  display: inline;
2113
2111
  flex-grow: 0;
2114
2112
  flex-shrink: 0;
2115
- `},ga=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:ya.root,className:n,ref:o},a,{children:t}))}));ga.displayName="MenuItemIconContainer";const ha={root:i.css`
2113
+ `},Oa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:ha.root,className:n,ref:o},a,{children:t}))}));Oa.displayName="MenuItemIconContainer";const va={root:i.css`
2116
2114
  inline-size: 100%;
2117
2115
  margin-block: ${$(1)};
2118
2116
  border-block-start: solid ${q(1)} ${x("gray",1)};
2119
- `},Oa=(0,r.forwardRef)(((r,o)=>{var{scheme:t=null,onClick:n,className:a}=r,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","onClick","className"]);return(0,e.jsx)("div",Object.assign({css:ha.root,className:a,ref:o,role:"separator"},i))}));Oa.displayName="MenuDivider";const va={root:i.css`
2117
+ `},xa=(0,r.forwardRef)(((r,o)=>{var{scheme:t=null,onClick:n,className:a}=r,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","onClick","className"]);return(0,e.jsx)("div",Object.assign({css:va.root,className:a,ref:o,role:"separator"},i))}));xa.displayName="MenuDivider";const ja={root:i.css`
2120
2118
  column-gap: ${$(4)};
2121
2119
  display: flex;
2122
2120
  align-items: center;
@@ -2138,7 +2136,7 @@
2138
2136
  flex-shrink: 1;
2139
2137
  `,small:i.css`
2140
2138
  font-size: 80%;
2141
- `},xa=(0,r.forwardRef)(((o,t)=>{var{page:n,pageCount:a,setPage:i,className:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["page","pageCount","setPage","className"]);const{trans:c,transNumber:d}=I("pagination"),b=a>=2&&n>0,p=n<a-1,u=(0,r.useCallback)((()=>{null==i||i(0)}),[i]),f=(0,r.useCallback)((()=>{null==i||i(a-1)}),[i,a]),m=(0,r.useCallback)((()=>{null==i||i((e=>Math.max(e-1,0)))}),[i]),y=(0,r.useCallback)((()=>{null==i||i((e=>Math.min(e+1,a-1)))}),[i,a]);return(0,e.jsxs)("nav",Object.assign({css:va.root,className:l,ref:t,"aria-label":c("label")},s,{children:[(0,e.jsxs)("div",{css:va.button,children:[(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("first"),isDisabled:!b,onClick:u,children:(0,e.jsx)(gr,{name:"first"})}),(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("previous"),isDisabled:!b,onClick:m,children:(0,e.jsx)(gr,{name:"previous"})})]}),(0,e.jsx)("div",{css:va.center,children:(0,e.jsxs)(_n,{orientation:"horizontal",children:[(0,e.jsx)(Wn,{children:d(n+1)}),(0,e.jsx)(Gn,{children:d(a)})]})}),(0,e.jsxs)("div",{css:va.button,children:[(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("next"),isDisabled:!p,onClick:y,children:(0,e.jsx)(gr,{name:"next"})}),(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("last"),isDisabled:!p,onClick:f,children:(0,e.jsx)(gr,{name:"last"})})]})]}))}));xa.displayName="Pagination";const ja=(0,r.forwardRef)(((o,t)=>{var{className:n}=o,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className"]);const{resolvedPageProps:{isLoading:i,isEmpty:l,page:s,pageCount:c,setPage:d}}=(0,r.useContext)(_o);return i||l?null:(0,e.jsx)(xa,Object.assign({className:n,page:s,pageCount:c,setPage:d,ref:t},a))}));ja.displayName="PaginationAuto";const wa={root:i.css`
2139
+ `},wa=(0,r.forwardRef)(((o,t)=>{var{page:n,pageCount:a,setPage:i,className:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["page","pageCount","setPage","className"]);const{trans:c,transNumber:d}=I("pagination"),b=a>=2&&n>0,p=n<a-1,u=(0,r.useCallback)((()=>{null==i||i(0)}),[i]),f=(0,r.useCallback)((()=>{null==i||i(a-1)}),[i,a]),m=(0,r.useCallback)((()=>{null==i||i((e=>Math.max(e-1,0)))}),[i]),y=(0,r.useCallback)((()=>{null==i||i((e=>Math.min(e+1,a-1)))}),[i,a]);return(0,e.jsxs)("nav",Object.assign({css:ja.root,className:l,ref:t,"aria-label":c("label")},s,{children:[(0,e.jsxs)("div",{css:ja.button,children:[(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("first"),isDisabled:!b,onClick:u,children:(0,e.jsx)(gr,{name:"first"})}),(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("previous"),isDisabled:!b,onClick:m,children:(0,e.jsx)(gr,{name:"previous"})})]}),(0,e.jsx)("div",{css:ja.center,children:(0,e.jsxs)(Gn,{orientation:"horizontal",children:[(0,e.jsx)(Zn,{children:d(n+1)}),(0,e.jsx)(Wn,{children:d(a)})]})}),(0,e.jsxs)("div",{css:ja.button,children:[(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("next"),isDisabled:!p,onClick:y,children:(0,e.jsx)(gr,{name:"next"})}),(0,e.jsx)(Or,{scheme:"gray",variant:"light",label:c("last"),isDisabled:!p,onClick:f,children:(0,e.jsx)(gr,{name:"last"})})]})]}))}));wa.displayName="Pagination";const $a=(0,r.forwardRef)(((o,t)=>{var{className:n}=o,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["className"]);const{resolvedPageProps:{isLoading:i,isEmpty:l,page:s,pageCount:c,setPage:d}}=(0,r.useContext)(_o);return i||l?null:(0,e.jsx)(wa,Object.assign({className:n,page:s,pageCount:c,setPage:d,ref:t},a))}));$a.displayName="PaginationAuto";const qa={root:i.css`
2142
2140
  inline-size: ${1.6}em;
2143
2141
  block-size: ${1.6}em;
2144
2142
  vertical-align: -0.27em;
@@ -2195,26 +2193,26 @@
2195
2193
  stroke: ${x(e,5)};
2196
2194
  }
2197
2195
  }
2198
- `},$a=(0,r.forwardRef)(((r,o)=>{var{rank:t,scheme:n="primary",useMedalColors:a=!0,className:i}=r,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["rank","scheme","useMedalColors","className"]);const{trans:s,transNumber:c}=I("rankView"),d=a?t<=1?"gold":t<=2?"silver":t<=3?"bronze":"normal":"normal";return(0,e.jsx)("span",Object.assign({css:wa.root,className:i,ref:o},l,{children:(0,e.jsxs)("svg",{css:wa.icon(n),viewBox:"0 0 576 512","aria-label":s("label",{rank:t}),"data-qlib-type":d,children:[(0,e.jsx)("path",{d:"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z"}),(0,e.jsx)("text",{x:"50%",y:"62%",fontSize:"320",textAnchor:"middle",dominantBaseline:"central","aria-hidden":!0,children:c(t)}),(0,e.jsx)("text",{x:"50%",y:"62%",fontSize:"320",textAnchor:"middle",dominantBaseline:"central","aria-hidden":!0,children:c(t)})]})}))}));$a.displayName="RankView";const qa=(0,r.createContext)({activeIndex:-1,count:0}),ka=qa.Provider,Na=(0,r.createContext)({index:0}),Pa=Na.Provider;var Sa=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o};const za=e=>i.css`
2196
+ `},ka=(0,r.forwardRef)(((r,o)=>{var{rank:t,scheme:n="primary",useMedalColors:a=!0,className:i}=r,l=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["rank","scheme","useMedalColors","className"]);const{trans:s,transNumber:c}=I("rankView"),d=a?t<=1?"gold":t<=2?"silver":t<=3?"bronze":"normal":"normal";return(0,e.jsx)("span",Object.assign({css:qa.root,className:i,ref:o},l,{children:(0,e.jsxs)("svg",{css:qa.icon(n),viewBox:"0 0 576 512","aria-label":s("label",{rank:t}),"data-qlib-type":d,children:[(0,e.jsx)("path",{d:"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z"}),(0,e.jsx)("text",{x:"50%",y:"62%",fontSize:"320",textAnchor:"middle",dominantBaseline:"central","aria-hidden":!0,children:c(t)}),(0,e.jsx)("text",{x:"50%",y:"62%",fontSize:"320",textAnchor:"middle",dominantBaseline:"central","aria-hidden":!0,children:c(t)})]})}))}));ka.displayName="RankView";const Na=(0,r.createContext)({activeIndex:-1,count:0}),Pa=Na.Provider,Sa=(0,r.createContext)({index:0}),za=Sa.Provider;var Ca=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o};const Ia=e=>i.css`
2199
2197
  --qlib-highlight-color: ${x(e,5)};
2200
2198
  column-gap: ${$(2)};
2201
2199
  display: flex;
2202
2200
  flex-direction: column;
2203
2201
  flex-grow: 0;
2204
2202
  flex-shrink: 0;
2205
- `,Ca=(0,r.forwardRef)(((o,t)=>{var{scheme:n="primary",children:a,className:i}=o;const l=Sa(o,["scheme","children","className"]),{index:s}=l,c=Sa(l,["index"]),d=(0,r.useMemo)((()=>({index:s})),[s]);return(0,e.jsx)("li",Object.assign({css:za(n),className:i,ref:t},c,{children:(0,e.jsx)(Pa,{value:d,children:a})}))}));Ca.displayName="StepperItem";const Ia={root:i.css`
2203
+ `,Ea=(0,r.forwardRef)(((o,t)=>{var{scheme:n="primary",children:a,className:i}=o;const l=Ca(o,["scheme","children","className"]),{index:s}=l,c=Ca(l,["index"]),d=(0,r.useMemo)((()=>({index:s})),[s]);return(0,e.jsx)("li",Object.assign({css:Ia(n),className:i,ref:t},c,{children:(0,e.jsx)(za,{value:d,children:a})}))}));Ea.displayName="StepperItem";const Ra={root:i.css`
2206
2204
  column-gap: ${$(4)};
2207
2205
  row-gap: ${$(4)};
2208
2206
  display: flex;
2209
2207
  flex-direction: row;
2210
2208
  flex-wrap: wrap;
2211
- `},Ea=(0,r.forwardRef)(((o,t)=>{var n,{activeIndex:a=-1,children:i,className:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["activeIndex","children","className"]);const c=Ra(i),d=null!==(n=null==c?void 0:c.length)&&void 0!==n?n:0,b=(0,r.useMemo)((()=>({activeIndex:a,count:d})),[a,d]);return(0,e.jsx)("ol",Object.assign({css:Ia.root,className:l,ref:t},s,{children:(0,e.jsx)(ka,{value:b,children:c})}))})),Ra=e=>{let o=-1;return r.Children.map(e,(e=>(0,ke.isElement)(e)?e.type===Ca?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};Ea.displayName="Stepper";const Ma={root:i.css`
2209
+ `},Ma=(0,r.forwardRef)(((o,t)=>{var n,{activeIndex:a=-1,children:i,className:l}=o,s=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["activeIndex","children","className"]);const c=Da(i),d=null!==(n=null==c?void 0:c.length)&&void 0!==n?n:0,b=(0,r.useMemo)((()=>({activeIndex:a,count:d})),[a,d]);return(0,e.jsx)("ol",Object.assign({css:Ra.root,className:l,ref:t},s,{children:(0,e.jsx)(Pa,{value:b,children:c})}))})),Da=e=>{let o=-1;return r.Children.map(e,(e=>(0,ke.isElement)(e)?e.type===Ea?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};Ma.displayName="Stepper";const La={root:i.css`
2212
2210
  margin-block-start: ${$(2)};
2213
2211
  display: flex;
2214
2212
  flex-direction: column;
2215
2213
  flex-grow: 1;
2216
2214
  flex-shrink: 1;
2217
- `},Da=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Ma.root,className:n,ref:o},a,{children:t}))}));Da.displayName="StepperBody";const La={root:i.css`
2215
+ `},Fa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:La.root,className:n,ref:o},a,{children:t}))}));Fa.displayName="StepperBody";const Ba={root:i.css`
2218
2216
  column-gap: ${$(1)};
2219
2217
  display: flex;
2220
2218
  flex-direction: row;
@@ -2262,10 +2260,10 @@
2262
2260
  &[data-highlight="true"] {
2263
2261
  background-color: var(--qlib-highlight-color);
2264
2262
  }
2265
- `},Fa=(0,r.forwardRef)(((o,t)=>{var{children:n,className:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["children","className"]);const{transNumber:c}=Io("stepper"),{index:d}=(0,r.useContext)(Na),{activeIndex:b,count:p}=(0,r.useContext)(qa),u=d<b?"completed":d===b?"active":"upcoming";return(0,e.jsxs)("div",Object.assign({css:La.root,className:a,ref:t},i,{children:[(0,e.jsx)("div",{css:La.number,"data-status":u,children:d<b?(0,e.jsx)(l.FontAwesomeIcon,{icon:s.faCheck}):null!=n?n:c(d+1)}),(0,e.jsx)("div",{css:La.border,"aria-hidden":!0,"data-visible":d<p-1,"data-highlight":d+1<=b})]}))}));Fa.displayName="StepperNumber";const Ba={root:i.css`
2263
+ `},Aa=(0,r.forwardRef)(((o,t)=>{var{children:n,className:a}=o,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["children","className"]);const{transNumber:c}=Io("stepper"),{index:d}=(0,r.useContext)(Sa),{activeIndex:b,count:p}=(0,r.useContext)(Na),u=d<b?"completed":d===b?"active":"upcoming";return(0,e.jsxs)("div",Object.assign({css:Ba.root,className:a,ref:t},i,{children:[(0,e.jsx)("div",{css:Ba.number,"data-status":u,children:d<b?(0,e.jsx)(l.FontAwesomeIcon,{icon:s.faCheck}):null!=n?n:c(d+1)}),(0,e.jsx)("div",{css:Ba.border,"aria-hidden":!0,"data-visible":d<p-1,"data-highlight":d+1<=b})]}))}));Aa.displayName="StepperNumber";const Ta={root:i.css`
2266
2264
  font-size: ${$(4)};
2267
2265
  font-weight: ${v("bold")};
2268
- `},Aa=(0,r.forwardRef)(((r,o)=>{var{as:t,children:n,className:a}=r,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["as","children","className"]);return(0,e.jsx)(rr,Object.assign({css:Ba.root,className:a,as:t,lineHeight:"normal",ref:o},i,{children:n}))}));Aa.displayName="StepperTitle";const Ta={root:i.css`
2266
+ `},Ha=(0,r.forwardRef)(((r,o)=>{var{as:t,children:n,className:a}=r,i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["as","children","className"]);return(0,e.jsx)(rr,Object.assign({css:Ta.root,className:a,as:t,lineHeight:"normal",ref:o},i,{children:n}))}));Ha.displayName="StepperTitle";const Va={root:i.css`
2269
2267
  inline-size: 100%;
2270
2268
  margin-block-end: ${q(-1)};
2271
2269
  column-gap: ${$(6)};
@@ -2273,7 +2271,7 @@
2273
2271
  background-color: ${x("white")};
2274
2272
  display: flex;
2275
2273
  align-items: flex-end;
2276
- `},Ha=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Ta.root,className:n,ref:o},a,{children:t}))}));Ha.displayName="TabList";const Va=e=>i.css`
2274
+ `},Ya=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Va.root,className:n,ref:o},a,{children:t}))}));Ya.displayName="TabList";const Ua=e=>i.css`
2277
2275
  padding-block-end: calc(${$(3)} + ${q(4)});
2278
2276
  padding-inline: ${$(0)};
2279
2277
  color: ${x("gray",5)};
@@ -2303,12 +2301,12 @@
2303
2301
  font-weight: ${v("bold")};
2304
2302
  color: ${x(e,5)};
2305
2303
  }
2306
- `,Ya=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",isActive:n=!1,href:a,onClick:i,children:l,className:s}=r,c=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","isActive","href","onClick","children","className"]);return null!=a?(0,e.jsx)("a",Object.assign({css:Va(t),className:s,ref:o,href:a,onClick:i,"data-active":n},c,{children:l})):(0,e.jsx)("button",Object.assign({css:Va(t),className:s,ref:o,onClick:i,"data-active":n},c,{children:l}))}));Ya.displayName="Tab";const Ua={root:i.css`
2304
+ `,_a=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",isActive:n=!1,href:a,onClick:i,children:l,className:s}=r,c=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["scheme","isActive","href","onClick","children","className"]);return null!=a?(0,e.jsx)("a",Object.assign({css:Ua(t),className:s,ref:o,href:a,onClick:i,"data-active":n},c,{children:l})):(0,e.jsx)("button",Object.assign({css:Ua(t),className:s,ref:o,onClick:i,"data-active":n},c,{children:l}))}));_a.displayName="Tab";const Ka={root:i.css`
2307
2305
  margin-inline-end: ${$("gap")};
2308
2306
  display: inline;
2309
2307
  flex-grow: 0;
2310
2308
  flex-shrink: 0;
2311
- `},_a=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:Ua.root,className:n,ref:o},a,{children:t}))}));_a.displayName="HeaderMenuItemIconContainer";const Ka=i.keyframes`
2309
+ `},Ga=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("span",Object.assign({css:Ka.root,className:n,ref:o},a,{children:t}))}));Ga.displayName="HeaderMenuItemIconContainer";const Qa=i.keyframes`
2312
2310
  from {
2313
2311
  opacity: 0;
2314
2312
  transform: translate(${$(0)}, ${$(2)});
@@ -2317,7 +2315,7 @@
2317
2315
  opacity: 1;
2318
2316
  transform: translate(${$(0)}, ${$(0)});
2319
2317
  }
2320
- `,Ga=i.keyframes`
2318
+ `,Wa=i.keyframes`
2321
2319
  to {
2322
2320
  opacity: 0;
2323
2321
  transform: translate(${$(0)}, ${$(2)});
@@ -2326,7 +2324,7 @@
2326
2324
  opacity: 1;
2327
2325
  transform: translate(${$(0)}, ${$(0)});
2328
2326
  }
2329
- `,Qa={root:e=>i.css`
2327
+ `,Ja={root:e=>i.css`
2330
2328
  inline-size: 100%;
2331
2329
  border-radius: ${$(1)};
2332
2330
  background-color: ${x("white")};
@@ -2347,10 +2345,10 @@
2347
2345
  content: "";
2348
2346
  }
2349
2347
  &[data-state="open"] {
2350
- animation: ${Ka} 0.2s ease;
2348
+ animation: ${Qa} 0.2s ease;
2351
2349
  }
2352
2350
  &[data-state="closed"] {
2353
- animation: ${Ga} 0.2s ease;
2351
+ animation: ${Wa} 0.2s ease;
2354
2352
  }
2355
2353
  `,icon:e=>i.css`
2356
2354
  margin-inline-start: ${$(3)};
@@ -2368,34 +2366,34 @@
2368
2366
  &:first-of-type {
2369
2367
  margin-inline-start: ${$(3)};
2370
2368
  }
2371
- `},Wa=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,scheme:a="primary",iconNode:i,onOpenSet:l,children:s,className:c}=r,d=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","duration","scheme","iconNode","onOpenSet","children","className"]);return(0,e.jsxs)(so.Root,Object.assign({css:Qa.root(a),className:c,duration:null!=n?n:864e5,open:t,onOpenChange:l,ref:o},d,{children:[null!=i&&(0,e.jsx)("div",{css:Qa.icon(a),children:i}),(0,e.jsx)(so.Description,{css:Qa.container,children:s})]}))}));Wa.displayName="Toast";const Ja={root:i.css`
2369
+ `},Za=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,scheme:a="primary",iconNode:i,onOpenSet:l,children:s,className:c}=r,d=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","duration","scheme","iconNode","onOpenSet","children","className"]);return(0,e.jsxs)(so.Root,Object.assign({css:Ja.root(a),className:c,duration:null!=n?n:864e5,open:t,onOpenChange:l,ref:o},d,{children:[null!=i&&(0,e.jsx)("div",{css:Ja.icon(a),children:i}),(0,e.jsx)(so.Description,{css:Ja.container,children:s})]}))}));Za.displayName="Toast";const Xa={root:i.css`
2372
2370
  row-gap: ${$(2)};
2373
2371
  display: flex;
2374
2372
  flex-direction: column;
2375
- `},Za=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Ja.root,className:n,ref:o},a,{children:t}))}));Za.displayName="ToastBody";const Xa={root:i.css`
2373
+ `},ei=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Xa.root,className:n,ref:o},a,{children:t}))}));ei.displayName="ToastBody";const ri={root:i.css`
2376
2374
  font-size: ${$(4)};
2377
- `},ei=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)(rr,Object.assign({css:Xa.root,className:n,as:"p",lineHeight:"normal",ref:o},a,{children:t}))}));ei.displayName="ToastMessage";const ri={root:i.css`
2375
+ `},oi=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)(rr,Object.assign({css:ri.root,className:n,as:"p",lineHeight:"normal",ref:o},a,{children:t}))}));oi.displayName="ToastMessage";const ti={root:i.css`
2378
2376
  font-size: ${$(3)};
2379
2377
  color: ${x("gray",5)};
2380
- `},oi=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)(rr,Object.assign({css:ri.root,className:n,as:"p",lineHeight:"narrow",ref:o},a,{children:t}))}));oi.displayName="ToastSupplement";const ti=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,intent:a="success",onOpenSet:i,children:l,className:s}=r,c=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","duration","intent","onOpenSet","children","className"]);return(0,e.jsx)(Wa,Object.assign({className:s,isOpen:t,duration:n,scheme:"success"===a?"green":"error"===a?"red":"primary",iconNode:(0,e.jsx)(gr,{name:a}),onOpenSet:i,ref:o},c,{children:(0,e.jsx)(Za,{children:(0,e.jsx)(ei,{children:l})})}))}));function ni(e){return i.css`
2378
+ `},ni=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=r,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["children","className"]);return(0,e.jsx)(rr,Object.assign({css:ti.root,className:n,as:"p",lineHeight:"narrow",ref:o},a,{children:t}))}));ni.displayName="ToastSupplement";const ai=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,intent:a="success",onOpenSet:i,children:l,className:s}=r,c=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["isOpen","duration","intent","onOpenSet","children","className"]);return(0,e.jsx)(Za,Object.assign({className:s,isOpen:t,duration:n,scheme:"success"===a?"green":"error"===a?"red":"primary",iconNode:(0,e.jsx)(gr,{name:a}),onOpenSet:i,ref:o},c,{children:(0,e.jsx)(ei,{children:(0,e.jsx)(oi,{children:l})})}))}));function ii(e){return i.css`
2381
2379
  display: flex;
2382
2380
  flex-direction: column;
2383
- ${(null==e?void 0:e.gap)?i.css`row-gap: ${si(e.gap)};`:""}
2381
+ ${(null==e?void 0:e.gap)?i.css`row-gap: ${di(e.gap)};`:""}
2384
2382
  ${(null==e?void 0:e.align)?i.css`align-items: ${e.align};`:""}
2385
2383
  ${(null==e?void 0:e.justify)?i.css`justify-content: ${e.justify};`:""}
2386
- `}function ai(e){return i.css`
2384
+ `}function li(e){return i.css`
2387
2385
  display: flex;
2388
2386
  flex-direction: row;
2389
- ${(null==e?void 0:e.gap)?i.css`column-gap: ${si(e.gap)};`:""}
2387
+ ${(null==e?void 0:e.gap)?i.css`column-gap: ${di(e.gap)};`:""}
2390
2388
  ${(null==e?void 0:e.align)?i.css`align-items: ${e.align};`:""}
2391
2389
  ${(null==e?void 0:e.justify)?i.css`justify-content: ${e.justify};`:""}
2392
- `}function ii(e){return i.css`
2393
- ${(null==e?void 0:e.top)?i.css`margin-block-start: ${si(e.top)};`:""}
2394
- ${(null==e?void 0:e.bottom)?i.css`margin-block-end: ${si(e.bottom)};`:""}
2395
- ${(null==e?void 0:e.left)?i.css`margin-inline-start: ${si(e.left)};`:""}
2396
- ${(null==e?void 0:e.right)?i.css`margin-inline-end: ${si(e.right)};`:""}
2397
- `}function li(e){return i.css`
2398
- ${(null==e?void 0:e.width)?i.css`inline-size: ${si(e.width)};`:""}
2399
- ${(null==e?void 0:e.height)?i.css`block-size: ${si(e.height)};`:""}
2400
- `}function si(e){return"number"==typeof e?$(e):e}ti.displayName="SimpleToast";const ci=()=>{const{open:e,close:o,setDialogSpec:t}=(0,r.useContext)(no);return(0,r.useCallback)((r=>{const n={element:r(o)};t(n),e()}),[e,o,t])},di=()=>{const e=(0,r.useContext)(Wr);if(void 0===e)throw new Error("Not inside `RadioGroup`");const{value:o}=e;return{value:o}},bi=()=>{const{setToastSpecs:e}=(0,r.useContext)(po);return(0,r.useCallback)((o=>{const t=z()().valueOf().toString(),n={element:(0,r.cloneElement)(o,{key:t,onOpenChange:r=>{r||setTimeout((()=>{e((e=>e.filter((e=>e!==n))))}),200)}})};e((e=>[...e,n]))}),[e])}})();var n=exports;for(var a in t)n[a]=t[a];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
2390
+ `}function si(e){return i.css`
2391
+ ${(null==e?void 0:e.top)?i.css`margin-block-start: ${di(e.top)};`:""}
2392
+ ${(null==e?void 0:e.bottom)?i.css`margin-block-end: ${di(e.bottom)};`:""}
2393
+ ${(null==e?void 0:e.left)?i.css`margin-inline-start: ${di(e.left)};`:""}
2394
+ ${(null==e?void 0:e.right)?i.css`margin-inline-end: ${di(e.right)};`:""}
2395
+ `}function ci(e){return i.css`
2396
+ ${(null==e?void 0:e.width)?i.css`inline-size: ${di(e.width)};`:""}
2397
+ ${(null==e?void 0:e.height)?i.css`block-size: ${di(e.height)};`:""}
2398
+ `}function di(e){return"number"==typeof e?$(e):e}ai.displayName="SimpleToast";const bi=()=>{const{open:e,close:o,setDialogSpec:t}=(0,r.useContext)(no);return(0,r.useCallback)((r=>{const n={element:r(o)};t(n),e()}),[e,o,t])},pi=()=>{const e=(0,r.useContext)(Wr);if(void 0===e)throw new Error("Not inside `RadioGroup`");const{value:o}=e;return{value:o}},ui=()=>{const{setToastSpecs:e}=(0,r.useContext)(po);return(0,r.useCallback)((o=>{const t=z()().valueOf().toString(),n={element:(0,r.cloneElement)(o,{key:t,onOpenChange:r=>{r||setTimeout((()=>{e((e=>e.filter((e=>e!==n))))}),200)}})};e((e=>[...e,n]))}),[e])}})();var n=exports;for(var a in t)n[a]=t[a];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
2401
2399
  //# sourceMappingURL=index.js.map