@baton8/general-components 3.1.0-alpha.5 → 3.1.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.
@@ -47,6 +47,8 @@ export * from "./modules/menu";
47
47
  export * from "./modules/pagination";
48
48
  export * from "./modules/popover";
49
49
  export * from "./modules/rankView";
50
+ export * from "./modules/simpleCard";
51
+ export * from "./modules/simpleCardList";
50
52
  export * from "./modules/stepper";
51
53
  export * from "./modules/tabList";
52
54
  export * from "./modules/toast";
@@ -0,0 +1,3 @@
1
+ export * from "./simpleCard";
2
+ export * from "./simpleCardBody";
3
+ export * from "./simpleCardButton";
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { Card } from "../../../components/modules/card/card";
3
+ type Props = ComponentProps<typeof Card>;
4
+ export declare const SimpleCard: FunctionComponent<Props>;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { CardBody } from "../../../components/modules/card/cardBody";
3
+ type Props = {
4
+ hasButton?: boolean;
5
+ } & ComponentProps<typeof CardBody>;
6
+ export declare const SimpleCardBody: FunctionComponent<Props>;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { CardButton } from "../../../components/modules/card/cardButton";
3
+ type Props = ComponentProps<typeof CardButton>;
4
+ export declare const SimpleCardButton: FunctionComponent<Props>;
5
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./simpleCardListAuto";
2
+ export * from "./simpleCardListBodyAuto";
3
+ export * from "./simpleCardListFooterAuto";
4
+ export * from "./simpleCardListHeader";
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { CardListAuto } from "../../../components/modules/cardList/cardListAuto";
3
+ type Props = ComponentProps<typeof CardListAuto>;
4
+ export declare const SimpleCardListAuto: FunctionComponent<Props>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { CardListBodyAuto } from "../../../components/modules/cardList/cardListBodyAuto";
3
+ type Props = ComponentProps<typeof CardListBodyAuto>;
4
+ export declare const SimpleCardListBodyAuto: FunctionComponent<Props>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, FunctionComponent } from "react";
2
+ import { CardListFooterAuto } from "../../../components/modules/cardList/cardListFooterAuto";
3
+ type Props = ComponentProps<typeof CardListFooterAuto>;
4
+ export declare const SimpleCardListFooterAuto: FunctionComponent<Props>;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ import { FunctionComponent, ReactNode } from "react";
2
+ type Props = {
3
+ children: ReactNode;
4
+ };
5
+ export declare const SimpleCardListHeader: FunctionComponent<Props>;
6
+ export {};
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 i=r[t]={exports:{}};return e[t](i,i.exports,o),i.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:()=>co,AsyncSelect:()=>de,AsyncSelectOption:()=>ue,Avatar:()=>ye,AvatarFallbackIcon:()=>Oe,AvatarFallbackLetter:()=>we,Badge:()=>qe,BadgeIconContainer:()=>Ne,BarMeter:()=>De,BarMeterValue:()=>Fe,BarMeterValueIconContainer:()=>Ae,BarProgress:()=>Te,BulkOperationButton:()=>xt,BulkOperationContainer:()=>Ot,Button:()=>Ge,ButtonIconContainer:()=>Qe,Card:()=>qt,CardBody:()=>St,CardButton:()=>zt,CardButtonList:()=>Et,CardButtonListColumn:()=>Mt,CardControlContainer:()=>Ft,CardGrip:()=>At,CardHeadnote:()=>Nt,CardList:()=>Yt,CardListAuto:()=>an,CardListBody:()=>_t,CardListBodyAuto:()=>ln,CardListEmpty:()=>Kt,CardListFooter:()=>Wt,CardListFooterAuto:()=>sn,CardListHeader:()=>Zt,CardListHeaderLeft:()=>en,CardListHeaderRight:()=>on,CardListLoading:()=>nn,CardTitle:()=>Tt,CheckableContainer:()=>Je,CheckableLabel:()=>Xe,Checkbox:()=>or,ContentHeader:()=>dn,ContentTitle:()=>pn,ControlContainer:()=>nr,ControlErrorMessage:()=>sr,ControlGroup:()=>fr,ControlHelper:()=>dr,ControlLabel:()=>pr,CountIndicator:()=>fn,Dialog:()=>hn,DialogBody:()=>vn,DialogButton:()=>xn,DialogCloseButton:()=>wn,DialogFooter:()=>qn,DialogHeader:()=>Nn,DialogTitle:()=>Sn,Divider:()=>yr,Drawer:()=>En,DrawerBody:()=>Mn,DrawerButton:()=>Rn,DrawerCaption:()=>Fn,DrawerCloseButton:()=>An,DrawerFooter:()=>Tn,DrawerHeader:()=>Yn,DrawerHeaderLeft:()=>_n,DrawerHeaderRight:()=>Kn,DrawerTitle:()=>Wn,FileInput:()=>Or,Footnote:()=>ei,FootnoteIconContainer:()=>oi,FootnoteList:()=>ni,FootnoteListRow:()=>ai,FractionView:()=>di,FractionViewDenominator:()=>pi,FractionViewNumerator:()=>fi,GeneralIcon:()=>gr,Header:()=>yi,HeaderLeft:()=>hi,HeaderMenu:()=>vi,HeaderMenuItem:()=>ji,HeaderMenuItemIconContainer:()=>$i,Heading:()=>jr,Icon:()=>$r,IconButton:()=>kr,Input:()=>Ir,InputLeftAddon:()=>Pr,InputRightAddon:()=>Cr,LEVELED_COLOR_SCHEMES:()=>u,Link:()=>Lr,LinkIconContainer:()=>Br,LoadingIcon:()=>Hr,Menu:()=>Ii,MenuDivider:()=>Fi,MenuItem:()=>Si,MenuItemIconContainer:()=>Ri,Modal:()=>_r,MultiLineText:()=>ar,NumberInput:()=>Wr,NumberInputLeftAddon:()=>Kr,PageSizeSelect:()=>Xo,PageSizeSelectAuto:()=>tt,Pagination:()=>Ai,PaginationAuto:()=>Hi,PasswordInput:()=>oo,PasswordInputLeftAddon:()=>Zr,PasswordInputRightAddon:()=>eo,Popover:()=>Vi,Radio:()=>ao,RadioGroup:()=>lo,RankView:()=>Ui,Root:()=>Yo,SecondaryHeading:()=>_o,Select:()=>Ko,SelectOption:()=>Wo,SelectOptionIconContainer:()=>Zo,SimpleToast:()=>$a,SingleLineText:()=>Re,SortOrderSelect:()=>nt,Stepper:()=>ea,StepperBody:()=>ta,StepperItem:()=>Zi,StepperNumber:()=>ia,StepperTitle:()=>la,Switch:()=>lt,Tab:()=>ba,TabIconContainer:()=>ua,TabList:()=>ca,Tag:()=>ct,TagIconContainer:()=>bt,TagList:()=>ut,Textarea:()=>mt,Toast:()=>ga,ToastBody:()=>Oa,ToastMessage:()=>xa,ToastSupplement:()=>wa,UNLEVELED_COLOR_SCHEMES:()=>f,VisuallyHidden:()=>gt,alpha:()=>j,borderWidth:()=>q,boxShadow:()=>k,color:()=>x,createColorDefinition:()=>m,createTrans:()=>Bo,dimension:()=>Pa,fixedLineHeight:()=>C,flexHorizontal:()=>ka,flexVertical:()=>qa,fontFamily:()=>O,fontWeight:()=>v,intlSubject:()=>Io,lineHeight:()=>S,localeSubject:()=>Eo,margin:()=>Na,mergeLocalizationMessages:()=>$o,resolveResponsiveValue:()=>ko,size:()=>$,toResponsiveValue:()=>qo,useBehaviorSubject:()=>Co,useDialog:()=>Ca,useIntl:()=>Do,useLocale:()=>Mo,useRadioGroup:()=>za,useResponsiveValue:()=>Po,useSetLocale:()=>Ro,useSmartphone:()=>No,useSubject:()=>So,useToast:()=>Ia,useTrans:()=>Lo,useTranslation:()=>Fo,whenDesktop:()=>P,whenSmartphone:()=>N});const e=require("@emotion/react/jsx-runtime"),r=require("react"),n=require("react-select/async");var i=o.n(n);const a=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 a.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 i=r[t]={exports:{}};return e[t](i,i.exports,o),i.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:()=>co,AsyncSelect:()=>de,AsyncSelectOption:()=>ue,Avatar:()=>ye,AvatarFallbackIcon:()=>Oe,AvatarFallbackLetter:()=>we,Badge:()=>qe,BadgeIconContainer:()=>Ne,BarMeter:()=>De,BarMeterValue:()=>Fe,BarMeterValueIconContainer:()=>Ae,BarProgress:()=>Te,BulkOperationButton:()=>xt,BulkOperationContainer:()=>Ot,Button:()=>Ge,ButtonIconContainer:()=>Qe,Card:()=>qt,CardBody:()=>St,CardButton:()=>zt,CardButtonList:()=>Et,CardButtonListColumn:()=>Mt,CardControlContainer:()=>Ft,CardGrip:()=>At,CardHeadnote:()=>Nt,CardList:()=>Yt,CardListAuto:()=>an,CardListBody:()=>_t,CardListBodyAuto:()=>ln,CardListEmpty:()=>Kt,CardListFooter:()=>Wt,CardListFooterAuto:()=>sn,CardListHeader:()=>Zt,CardListHeaderLeft:()=>en,CardListHeaderRight:()=>on,CardListLoading:()=>nn,CardTitle:()=>Tt,CheckableContainer:()=>Je,CheckableLabel:()=>Xe,Checkbox:()=>or,ContentHeader:()=>dn,ContentTitle:()=>pn,ControlContainer:()=>nr,ControlErrorMessage:()=>sr,ControlGroup:()=>fr,ControlHelper:()=>dr,ControlLabel:()=>pr,CountIndicator:()=>fn,Dialog:()=>hn,DialogBody:()=>vn,DialogButton:()=>xn,DialogCloseButton:()=>wn,DialogFooter:()=>qn,DialogHeader:()=>Nn,DialogTitle:()=>Sn,Divider:()=>yr,Drawer:()=>En,DrawerBody:()=>Mn,DrawerButton:()=>Rn,DrawerCaption:()=>Fn,DrawerCloseButton:()=>An,DrawerFooter:()=>Tn,DrawerHeader:()=>Yn,DrawerHeaderLeft:()=>_n,DrawerHeaderRight:()=>Kn,DrawerTitle:()=>Wn,FileInput:()=>Or,Footnote:()=>ei,FootnoteIconContainer:()=>oi,FootnoteList:()=>ni,FootnoteListRow:()=>ai,FractionView:()=>di,FractionViewDenominator:()=>pi,FractionViewNumerator:()=>fi,GeneralIcon:()=>gr,Header:()=>yi,HeaderLeft:()=>hi,HeaderMenu:()=>vi,HeaderMenuItem:()=>ji,HeaderMenuItemIconContainer:()=>$i,Heading:()=>jr,Icon:()=>$r,IconButton:()=>kr,Input:()=>Ir,InputLeftAddon:()=>Pr,InputRightAddon:()=>Cr,LEVELED_COLOR_SCHEMES:()=>u,Link:()=>Lr,LinkIconContainer:()=>Br,LoadingIcon:()=>Hr,Menu:()=>Ii,MenuDivider:()=>Fi,MenuItem:()=>Si,MenuItemIconContainer:()=>Ri,Modal:()=>_r,MultiLineText:()=>ar,NumberInput:()=>Wr,NumberInputLeftAddon:()=>Kr,PageSizeSelect:()=>Xo,PageSizeSelectAuto:()=>tt,Pagination:()=>Ai,PaginationAuto:()=>Hi,PasswordInput:()=>oo,PasswordInputLeftAddon:()=>Zr,PasswordInputRightAddon:()=>eo,Popover:()=>Vi,Radio:()=>ao,RadioGroup:()=>lo,RankView:()=>Ui,Root:()=>Yo,SecondaryHeading:()=>_o,Select:()=>Ko,SelectOption:()=>Wo,SelectOptionIconContainer:()=>Zo,SimpleCard:()=>Gi,SimpleCardBody:()=>Qi,SimpleCardButton:()=>Ji,SimpleCardListAuto:()=>Xi,SimpleCardListBodyAuto:()=>ra,SimpleCardListFooterAuto:()=>ta,SimpleCardListHeader:()=>ia,SimpleToast:()=>Fa,SingleLineText:()=>Re,SortOrderSelect:()=>nt,Stepper:()=>fa,StepperBody:()=>ga,StepperItem:()=>pa,StepperNumber:()=>Oa,StepperTitle:()=>xa,Switch:()=>lt,Tab:()=>qa,TabIconContainer:()=>Na,TabList:()=>wa,Tag:()=>ct,TagIconContainer:()=>bt,TagList:()=>ut,Textarea:()=>mt,Toast:()=>za,ToastBody:()=>Ea,ToastMessage:()=>Ma,ToastSupplement:()=>La,UNLEVELED_COLOR_SCHEMES:()=>f,VisuallyHidden:()=>gt,alpha:()=>j,borderWidth:()=>q,boxShadow:()=>k,color:()=>x,createColorDefinition:()=>m,createTrans:()=>Bo,dimension:()=>Ta,fixedLineHeight:()=>C,flexHorizontal:()=>Aa,flexVertical:()=>Ba,fontFamily:()=>O,fontWeight:()=>v,intlSubject:()=>Io,lineHeight:()=>S,localeSubject:()=>Eo,margin:()=>Ha,mergeLocalizationMessages:()=>$o,resolveResponsiveValue:()=>ko,size:()=>$,toResponsiveValue:()=>qo,useBehaviorSubject:()=>Co,useDialog:()=>Ya,useIntl:()=>Do,useLocale:()=>Mo,useRadioGroup:()=>Ua,useResponsiveValue:()=>Po,useSetLocale:()=>Ro,useSmartphone:()=>No,useSubject:()=>So,useToast:()=>_a,useTrans:()=>Lo,useTranslation:()=>Fo,whenDesktop:()=>P,whenSmartphone:()=>N});const e=require("@emotion/react/jsx-runtime"),r=require("react"),n=require("react-select/async");var i=o.n(n);const a=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 a.css`
2
2
  :root {
3
3
  ${r.join("\n")}
4
4
  }
@@ -620,7 +620,7 @@
620
620
  }
621
621
  `,inner:e=>a.css`
622
622
  &[data-qlib-max-line="true"] {
623
- padding-block: var(--qlib-additional-margin);
623
+ margin-block: var(--qlib-additional-margin);
624
624
  display: -webkit-box;
625
625
  -webkit-box-orient: vertical;
626
626
  -webkit-line-clamp: ${e};
@@ -2342,7 +2342,74 @@
2342
2342
  stroke: ${x(e,5)};
2343
2343
  }
2344
2344
  }
2345
- `},Ui=(0,r.forwardRef)(((r,o)=>{var{rank:t,scheme:n="primary",useMedalColors:i=!0,className:a}=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}=D("rankView"),d=i?t<=1?"gold":t<=2?"silver":t<=3?"bronze":"normal":"normal";return(0,e.jsx)("span",Object.assign({css:Yi.root,className:a,ref:o},l,{children:(0,e.jsxs)("svg",{css:Yi.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)})]})}))}));Ui.displayName="RankView";const _i=(0,r.createContext)({activeIndex:-1,count:0}),Gi=_i.Provider,Ki=(0,r.createContext)({index:0}),Qi=Ki.Provider;var Wi=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 Ji={root:e=>a.css`
2345
+ `},Ui=(0,r.forwardRef)(((r,o)=>{var{rank:t,scheme:n="primary",useMedalColors:i=!0,className:a}=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}=D("rankView"),d=i?t<=1?"gold":t<=2?"silver":t<=3?"bronze":"normal":"normal";return(0,e.jsx)("span",Object.assign({css:Yi.root,className:a,ref:o},l,{children:(0,e.jsxs)("svg",{css:Yi.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)})]})}))}));Ui.displayName="RankView";const _i={root:a.css`
2346
+ min-block-size: initial;
2347
+ display: grid;
2348
+ grid-column: 1 / -1;
2349
+ grid-template-columns: subgrid;
2350
+ --qlib-border-start-end-radius: ${$(1)};
2351
+ --qlib-border-end-end-radius: ${$(1)};
2352
+ &:not(:nth-of-type(1)) {
2353
+ border-start-start-radius: ${$(0)};
2354
+ border-start-end-radius: ${$(0)};
2355
+ --qlib-border-start-end-radius: ${$(0)};
2356
+ }
2357
+ &:not(:nth-last-of-type(1)) {
2358
+ border-block-end: none !important;
2359
+ border-end-start-radius: ${$(0)};
2360
+ border-end-end-radius: ${$(0)};
2361
+ --qlib-border-end-end-radius: ${$(0)};
2362
+ }
2363
+ [data-qlib-hover="true"] +& {
2364
+ border-block-start: solid ${q(1)} ${x("primary",1)};
2365
+ }
2366
+ `},Gi=r=>{var{children:o}=r,t=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"]);return(0,e.jsx)(qt,Object.assign({css:_i.root},t,{children:o}))};const Ki={root:a.css`
2367
+ padding-inline: ${$(0)};
2368
+ display: grid;
2369
+ grid-template-columns: subgrid;
2370
+ &[data-qlib-has-button="true"] {
2371
+ grid-column: 1 / -2;
2372
+ }
2373
+ &[data-qlib-has-button="false"] {
2374
+ grid-column: 1 / -1;
2375
+ }
2376
+ & >* {
2377
+ padding-inline: ${$(3)};
2378
+ display: flex;
2379
+ flex-direction: column;
2380
+ align-items: flex-start;
2381
+ justify-content: center;
2382
+ }
2383
+ & >:not(:first-child) {
2384
+ border-inline-start: solid ${q(1)} ${x("gray",1)};
2385
+ }
2386
+ `},Qi=r=>{var{hasButton:o=!1,children:t}=r,n=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,["hasButton","children"]);return(0,e.jsx)(St,Object.assign({css:Ki.root,"data-qlib-has-button":o},n,{children:t}))};const Wi={root:a.css`
2387
+ &:last-of-type {
2388
+ border-start-end-radius: var(--qlib-border-start-end-radius);
2389
+ border-end-end-radius: var(--qlib-border-end-end-radius);
2390
+ }
2391
+ `},Ji=r=>{var{children:o}=r,t=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"]);return(0,e.jsx)(zt,Object.assign({css:Wi.root},t,{children:o}))};const Zi={root:a.css`
2392
+ display: grid;
2393
+ `},Xi=r=>{var{children:o}=r,t=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"]);return(0,e.jsx)(an,Object.assign({css:Zi.root},t,{children:o}))};const ea={root:a.css`
2394
+ row-gap: ${$(0)};
2395
+ column-gap: initial;
2396
+ display: grid;
2397
+ grid-column: 1 / -1;
2398
+ grid-template-columns: subgrid;
2399
+ `},ra=r=>{var{children:o}=r,t=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"]);return(0,e.jsx)(ln,Object.assign({css:ea.root},t,{children:o}))};const oa={root:a.css`
2400
+ grid-column: 1 / -1;
2401
+ `},ta=r=>{var{children:o}=r,t=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"]);return(0,e.jsx)(sn,Object.assign({css:oa.root},t,{children:o}))},na={root:a.css`
2402
+ margin-block-end: ${$(-1)};
2403
+ font-size: ${$(3)};
2404
+ color: ${x("gray",5)};
2405
+ display: grid;
2406
+ grid-column: 1 / -1;
2407
+ grid-template-columns: subgrid;
2408
+ align-items: flex-end;
2409
+ & >* {
2410
+ padding-inline: ${$(3)};
2411
+ }
2412
+ `},ia=({children:r})=>(0,e.jsx)("div",{css:na.root,children:r}),aa=(0,r.createContext)({activeIndex:-1,count:0}),la=aa.Provider,sa=(0,r.createContext)({index:0}),ca=sa.Provider;var da=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 ba={root:e=>a.css`
2346
2413
  --qlib-highlight-color: ${x(e,5)};
2347
2414
  list-style: none;
2348
2415
  flex-grow: 0;
@@ -2356,19 +2423,19 @@
2356
2423
  &[data-clickable="true"] {
2357
2424
  cursor: pointer;
2358
2425
  }
2359
- `},Zi=(0,r.forwardRef)(((o,t)=>{var{scheme:n="primary",href:i,onClick:a,children:l,className:s}=o;const c=Wi(o,["scheme","href","onClick","children","className"]),{index:d}=c,b=Wi(c,["index"]),p=(0,r.useMemo)((()=>({index:d})),[d]);return(0,e.jsx)("li",Object.assign({css:Ji.root(n),className:s,ref:t},b,{children:(0,e.jsx)(Qi,{value:p,children:null!=i?(0,e.jsx)("a",{css:Ji.inner,href:i,onClick:a,"data-clickable":!0,children:l}):null!=a?(0,e.jsx)("button",{css:Ji.inner,onClick:a,"data-clickable":!0,children:l}):(0,e.jsx)("div",{css:Ji.inner,children:l})})}))}));Zi.displayName="StepperItem";const Xi={root:a.css`
2426
+ `},pa=(0,r.forwardRef)(((o,t)=>{var{scheme:n="primary",href:i,onClick:a,children:l,className:s}=o;const c=da(o,["scheme","href","onClick","children","className"]),{index:d}=c,b=da(c,["index"]),p=(0,r.useMemo)((()=>({index:d})),[d]);return(0,e.jsx)("li",Object.assign({css:ba.root(n),className:s,ref:t},b,{children:(0,e.jsx)(ca,{value:p,children:null!=i?(0,e.jsx)("a",{css:ba.inner,href:i,onClick:a,"data-clickable":!0,children:l}):null!=a?(0,e.jsx)("button",{css:ba.inner,onClick:a,"data-clickable":!0,children:l}):(0,e.jsx)("div",{css:ba.inner,children:l})})}))}));pa.displayName="StepperItem";const ua={root:a.css`
2360
2427
  column-gap: ${$(4)};
2361
2428
  row-gap: ${$(4)};
2362
2429
  display: flex;
2363
2430
  flex-direction: row;
2364
2431
  flex-wrap: wrap;
2365
- `},ea=(0,r.forwardRef)(((o,t)=>{var n,{activeIndex:i=-1,children:a,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(a),d=null!==(n=null==c?void 0:c.length)&&void 0!==n?n:0,b=(0,r.useMemo)((()=>({activeIndex:i,count:d})),[i,d]);return(0,e.jsx)("ol",Object.assign({css:Xi.root,className:l,ref:t},s,{children:(0,e.jsx)(Gi,{value:b,children:c})}))})),ra=e=>{let o=-1;return r.Children.map(e,(e=>(0,Pe.isElement)(e)?e.type===Zi?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};ea.displayName="Stepper";const oa={root:a.css`
2432
+ `},fa=(0,r.forwardRef)(((o,t)=>{var n,{activeIndex:i=-1,children:a,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=ma(a),d=null!==(n=null==c?void 0:c.length)&&void 0!==n?n:0,b=(0,r.useMemo)((()=>({activeIndex:i,count:d})),[i,d]);return(0,e.jsx)("ol",Object.assign({css:ua.root,className:l,ref:t},s,{children:(0,e.jsx)(la,{value:b,children:c})}))})),ma=e=>{let o=-1;return r.Children.map(e,(e=>(0,Pe.isElement)(e)?e.type===pa?(o++,(0,r.cloneElement)(e,{index:o})):e:void 0))};fa.displayName="Stepper";const ya={root:a.css`
2366
2433
  margin-block-start: ${$(2)};
2367
2434
  display: flex;
2368
2435
  flex-direction: column;
2369
2436
  flex-grow: 1;
2370
2437
  flex-shrink: 1;
2371
- `},ta=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:oa.root,className:n,ref:o},i,{children:t}))}));ta.displayName="StepperBody";const na={root:a.css`
2438
+ `},ga=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:ya.root,className:n,ref:o},i,{children:t}))}));ga.displayName="StepperBody";const ha={root:a.css`
2372
2439
  column-gap: ${$(1)};
2373
2440
  display: flex;
2374
2441
  flex-direction: row;
@@ -2416,17 +2483,17 @@
2416
2483
  &[data-highlight="true"] {
2417
2484
  background-color: var(--qlib-highlight-color);
2418
2485
  }
2419
- `},ia=(0,r.forwardRef)(((o,t)=>{var{children:n,className:i}=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,["children","className"]);const{transNumber:c}=Fo("stepper"),{index:d}=(0,r.useContext)(Ki),{activeIndex:b,count:p}=(0,r.useContext)(_i),u=d<b?"completed":d===b?"active":"upcoming";return(0,e.jsxs)("div",Object.assign({css:na.root,className:i,ref:t},a,{children:[(0,e.jsx)("div",{css:na.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:na.border,"aria-hidden":!0,"data-visible":d<p-1,"data-highlight":d+1<=b})]}))}));ia.displayName="StepperNumber";const aa={root:a.css`
2486
+ `},Oa=(0,r.forwardRef)(((o,t)=>{var{children:n,className:i}=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,["children","className"]);const{transNumber:c}=Fo("stepper"),{index:d}=(0,r.useContext)(sa),{activeIndex:b,count:p}=(0,r.useContext)(aa),u=d<b?"completed":d===b?"active":"upcoming";return(0,e.jsxs)("div",Object.assign({css:ha.root,className:i,ref:t},a,{children:[(0,e.jsx)("div",{css:ha.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:ha.border,"aria-hidden":!0,"data-visible":d<p-1,"data-highlight":d+1<=b})]}))}));Oa.displayName="StepperNumber";const va={root:a.css`
2420
2487
  font-size: ${$(4)};
2421
2488
  font-weight: ${v("bold")};
2422
- `},la=(0,r.forwardRef)(((r,o)=>{var{as:t,children:n,className:i}=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,["as","children","className"]);return(0,e.jsx)(ar,Object.assign({css:aa.root,className:i,as:t,lineHeight:"normal",ref:o},a,{children:n}))}));la.displayName="StepperTitle";const sa={root:a.css`
2489
+ `},xa=(0,r.forwardRef)(((r,o)=>{var{as:t,children:n,className:i}=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,["as","children","className"]);return(0,e.jsx)(ar,Object.assign({css:va.root,className:i,as:t,lineHeight:"normal",ref:o},a,{children:n}))}));xa.displayName="StepperTitle";const ja={root:a.css`
2423
2490
  inline-size: 100%;
2424
2491
  margin-block-end: ${q(-1)};
2425
2492
  column-gap: ${$(6)};
2426
2493
  border-block-end: solid ${q(1)} ${x("gray",1)};
2427
2494
  display: flex;
2428
2495
  align-items: flex-end;
2429
- `},ca=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:sa.root,className:n,ref:o},i,{children:t}))}));ca.displayName="TabList";const da=e=>a.css`
2496
+ `},wa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:ja.root,className:n,ref:o},i,{children:t}))}));wa.displayName="TabList";const $a=e=>a.css`
2430
2497
  padding-block-end: calc(${$(3)} + ${q(4)});
2431
2498
  padding-inline: ${$(0)};
2432
2499
  color: ${x("gray",5)};
@@ -2459,12 +2526,12 @@
2459
2526
  &[data-qlib-disabled="true"] {
2460
2527
  opacity: 0.5;
2461
2528
  }
2462
- `,ba=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",isDisabled:n=!1,isActive:i=!1,href:a,onClick: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,["scheme","isDisabled","isActive","href","onClick","children","className"]);return null!=a?(0,e.jsx)("a",Object.assign({css:da(t),className:c,ref:o,href:n?void 0:a,role:n?"link":void 0,onClick:l,"data-qlib-disabled":n,"data-qlib-active":i,"aria-disabled":n},d,{children:s})):(0,e.jsx)("button",Object.assign({css:da(t),className:c,ref:o,disabled:n,onClick:l,"data-qlib-disabled":n,"data-qlib-active":i},d,{children:s}))}));ba.displayName="Tab";const pa={root:a.css`
2529
+ `,qa=(0,r.forwardRef)(((r,o)=>{var{scheme:t="primary",isDisabled:n=!1,isActive:i=!1,href:a,onClick: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,["scheme","isDisabled","isActive","href","onClick","children","className"]);return null!=a?(0,e.jsx)("a",Object.assign({css:$a(t),className:c,ref:o,href:n?void 0:a,role:n?"link":void 0,onClick:l,"data-qlib-disabled":n,"data-qlib-active":i,"aria-disabled":n},d,{children:s})):(0,e.jsx)("button",Object.assign({css:$a(t),className:c,ref:o,disabled:n,onClick:l,"data-qlib-disabled":n,"data-qlib-active":i},d,{children:s}))}));qa.displayName="Tab";const ka={root:a.css`
2463
2530
  margin-inline-end: ${$("gap")};
2464
2531
  display: inline;
2465
2532
  flex-grow: 0;
2466
2533
  flex-shrink: 0;
2467
- `},ua=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("span",Object.assign({css:pa.root,className:n,ref:o},i,{children:t}))}));ua.displayName="HeaderMenuItemIconContainer";const fa=a.keyframes`
2534
+ `},Na=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("span",Object.assign({css:ka.root,className:n,ref:o},i,{children:t}))}));Na.displayName="HeaderMenuItemIconContainer";const Pa=a.keyframes`
2468
2535
  from {
2469
2536
  opacity: 0;
2470
2537
  transform: translate(${$(0)}, ${$(2)});
@@ -2473,7 +2540,7 @@
2473
2540
  opacity: 1;
2474
2541
  transform: translate(${$(0)}, ${$(0)});
2475
2542
  }
2476
- `,ma=a.keyframes`
2543
+ `,Sa=a.keyframes`
2477
2544
  to {
2478
2545
  opacity: 0;
2479
2546
  transform: translate(${$(0)}, ${$(2)});
@@ -2482,7 +2549,7 @@
2482
2549
  opacity: 1;
2483
2550
  transform: translate(${$(0)}, ${$(0)});
2484
2551
  }
2485
- `,ya={root:e=>a.css`
2552
+ `,Ca={root:e=>a.css`
2486
2553
  inline-size: 100%;
2487
2554
  border-radius: ${$(1)};
2488
2555
  background-color: ${x("white")};
@@ -2503,10 +2570,10 @@
2503
2570
  content: "";
2504
2571
  }
2505
2572
  &[data-state="open"] {
2506
- animation: ${fa} 0.2s ease;
2573
+ animation: ${Pa} 0.2s ease;
2507
2574
  }
2508
2575
  &[data-state="closed"] {
2509
- animation: ${ma} 0.2s ease;
2576
+ animation: ${Sa} 0.2s ease;
2510
2577
  }
2511
2578
  `,icon:e=>a.css`
2512
2579
  margin-inline-start: ${$(3)};
@@ -2524,34 +2591,34 @@
2524
2591
  &:first-of-type {
2525
2592
  margin-inline-start: ${$(3)};
2526
2593
  }
2527
- `},ga=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,scheme:i="primary",iconNode:a,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)(yo.Root,Object.assign({css:ya.root(i),className:c,duration:null!=n?n:864e5,open:t,onOpenChange:l,ref:o},d,{children:[null!=a&&(0,e.jsx)("div",{css:ya.icon(i),children:a}),(0,e.jsx)(yo.Description,{css:ya.container,children:s})]}))}));ga.displayName="Toast";const ha={root:a.css`
2594
+ `},za=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,scheme:i="primary",iconNode:a,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)(yo.Root,Object.assign({css:Ca.root(i),className:c,duration:null!=n?n:864e5,open:t,onOpenChange:l,ref:o},d,{children:[null!=a&&(0,e.jsx)("div",{css:Ca.icon(i),children:a}),(0,e.jsx)(yo.Description,{css:Ca.container,children:s})]}))}));za.displayName="Toast";const Ia={root:a.css`
2528
2595
  row-gap: ${$(2)};
2529
2596
  display: flex;
2530
2597
  flex-direction: column;
2531
- `},Oa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:ha.root,className:n,ref:o},i,{children:t}))}));Oa.displayName="ToastBody";const va={root:a.css`
2598
+ `},Ea=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)("div",Object.assign({css:Ia.root,className:n,ref:o},i,{children:t}))}));Ea.displayName="ToastBody";const Da={root:a.css`
2532
2599
  font-size: ${$(4)};
2533
- `},xa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)(ar,Object.assign({css:va.root,className:n,as:"p",lineHeight:"normal",ref:o},i,{children:t}))}));xa.displayName="ToastMessage";const ja={root:a.css`
2600
+ `},Ma=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)(ar,Object.assign({css:Da.root,className:n,as:"p",lineHeight:"normal",ref:o},i,{children:t}))}));Ma.displayName="ToastMessage";const Ra={root:a.css`
2534
2601
  font-size: ${$(3)};
2535
2602
  color: ${x("gray",5)};
2536
- `},wa=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)(ar,Object.assign({css:ja.root,className:n,as:"p",lineHeight:"narrow",ref:o},i,{children:t}))}));wa.displayName="ToastSupplement";const $a=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,intent:i="success",onOpenSet:a,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)(ga,Object.assign({className:s,isOpen:t,duration:n,scheme:"success"===i?"green":"error"===i?"red":"primary",iconNode:(0,e.jsx)($r,{name:i}),onOpenSet:a,ref:o},c,{children:(0,e.jsx)(Oa,{children:(0,e.jsx)(xa,{children:l})})}))}));function qa(e){return a.css`
2603
+ `},La=(0,r.forwardRef)(((r,o)=>{var{children:t,className:n}=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,["children","className"]);return(0,e.jsx)(ar,Object.assign({css:Ra.root,className:n,as:"p",lineHeight:"narrow",ref:o},i,{children:t}))}));La.displayName="ToastSupplement";const Fa=(0,r.forwardRef)(((r,o)=>{var{isOpen:t,duration:n=5e3,intent:i="success",onOpenSet:a,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"===i?"green":"error"===i?"red":"primary",iconNode:(0,e.jsx)($r,{name:i}),onOpenSet:a,ref:o},c,{children:(0,e.jsx)(Ea,{children:(0,e.jsx)(Ma,{children:l})})}))}));function Ba(e){return a.css`
2537
2604
  display: flex;
2538
2605
  flex-direction: column;
2539
- ${(null==e?void 0:e.gap)?a.css`row-gap: ${Sa(e.gap)};`:""}
2606
+ ${(null==e?void 0:e.gap)?a.css`row-gap: ${Va(e.gap)};`:""}
2540
2607
  ${(null==e?void 0:e.align)?a.css`align-items: ${e.align};`:""}
2541
2608
  ${(null==e?void 0:e.justify)?a.css`justify-content: ${e.justify};`:""}
2542
- `}function ka(e){return a.css`
2609
+ `}function Aa(e){return a.css`
2543
2610
  display: flex;
2544
2611
  flex-direction: row;
2545
- ${(null==e?void 0:e.gap)?a.css`column-gap: ${Sa(e.gap)};`:""}
2612
+ ${(null==e?void 0:e.gap)?a.css`column-gap: ${Va(e.gap)};`:""}
2546
2613
  ${(null==e?void 0:e.align)?a.css`align-items: ${e.align};`:""}
2547
2614
  ${(null==e?void 0:e.justify)?a.css`justify-content: ${e.justify};`:""}
2548
- `}function Na(e){return a.css`
2549
- ${(null==e?void 0:e.top)?a.css`margin-block-start: ${Sa(e.top)};`:""}
2550
- ${(null==e?void 0:e.bottom)?a.css`margin-block-end: ${Sa(e.bottom)};`:""}
2551
- ${(null==e?void 0:e.left)?a.css`margin-inline-start: ${Sa(e.left)};`:""}
2552
- ${(null==e?void 0:e.right)?a.css`margin-inline-end: ${Sa(e.right)};`:""}
2553
- `}function Pa(e){return a.css`
2554
- ${(null==e?void 0:e.width)?a.css`inline-size: ${Sa(e.width)};`:""}
2555
- ${(null==e?void 0:e.height)?a.css`block-size: ${Sa(e.height)};`:""}
2556
- `}function Sa(e){return"number"==typeof e?$(e):e}$a.displayName="SimpleToast";const Ca=()=>{const{open:e,close:o,setDialogSpec:t}=(0,r.useContext)(po);return(0,r.useCallback)((r=>{return n=void 0,i=void 0,l=function*(){const n={element:r(o)};t(n),yield e()},new((a=void 0)||(a=Promise))((function(e,r){function o(e){try{s(l.next(e))}catch(e){r(e)}}function t(e){try{s(l.throw(e))}catch(e){r(e)}}function s(r){var n;r.done?e(r.value):(n=r.value,n instanceof a?n:new a((function(e){e(n)}))).then(o,t)}s((l=l.apply(n,i||[])).next())}));var n,i,a,l}),[e,o,t])},za=()=>{const e=(0,r.useContext)(to);if(void 0===e)throw new Error("Not inside `RadioGroup`");const{value:o}=e;return{value:o}},Ia=()=>{const{setToastSpecs:e}=(0,r.useContext)(Oo);return(0,r.useCallback)((o=>{const t=I()().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 i in t)n[i]=t[i];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
2615
+ `}function Ha(e){return a.css`
2616
+ ${(null==e?void 0:e.top)?a.css`margin-block-start: ${Va(e.top)};`:""}
2617
+ ${(null==e?void 0:e.bottom)?a.css`margin-block-end: ${Va(e.bottom)};`:""}
2618
+ ${(null==e?void 0:e.left)?a.css`margin-inline-start: ${Va(e.left)};`:""}
2619
+ ${(null==e?void 0:e.right)?a.css`margin-inline-end: ${Va(e.right)};`:""}
2620
+ `}function Ta(e){return a.css`
2621
+ ${(null==e?void 0:e.width)?a.css`inline-size: ${Va(e.width)};`:""}
2622
+ ${(null==e?void 0:e.height)?a.css`block-size: ${Va(e.height)};`:""}
2623
+ `}function Va(e){return"number"==typeof e?$(e):e}Fa.displayName="SimpleToast";const Ya=()=>{const{open:e,close:o,setDialogSpec:t}=(0,r.useContext)(po);return(0,r.useCallback)((r=>{return n=void 0,i=void 0,l=function*(){const n={element:r(o)};t(n),yield e()},new((a=void 0)||(a=Promise))((function(e,r){function o(e){try{s(l.next(e))}catch(e){r(e)}}function t(e){try{s(l.throw(e))}catch(e){r(e)}}function s(r){var n;r.done?e(r.value):(n=r.value,n instanceof a?n:new a((function(e){e(n)}))).then(o,t)}s((l=l.apply(n,i||[])).next())}));var n,i,a,l}),[e,o,t])},Ua=()=>{const e=(0,r.useContext)(to);if(void 0===e)throw new Error("Not inside `RadioGroup`");const{value:o}=e;return{value:o}},_a=()=>{const{setToastSpecs:e}=(0,r.useContext)(Oo);return(0,r.useCallback)((o=>{const t=I()().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 i in t)n[i]=t[i];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
2557
2624
  //# sourceMappingURL=index.js.map