@primer/components 33.0.0-rc.265a717f → 33.0.0-rc.42d465c3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -0
- package/dist/browser.esm.js +2 -2209
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +2 -2209
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionList/Header.js +1 -1
- package/lib/ActionList/Item.js +10 -10
- package/lib/ActionList/List.js +1 -1
- package/lib/ActionList2/Item.js +1 -1
- package/lib/ActionList2/List.js +1 -1
- package/lib/BaseStyles.js +2 -20
- package/lib/BorderBox.js +1 -1
- package/lib/Box.js +1 -1
- package/lib/Breadcrumbs.js +3 -3
- package/lib/Button/Button.js +1 -1
- package/lib/Button/ButtonGroup.js +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Details.js +1 -1
- package/lib/FilteredActionList/FilteredActionList.js +1 -1
- package/lib/Flex.js +1 -1
- package/lib/LabelGroup.js +1 -1
- package/lib/Overlay.js +1 -1
- package/lib/Pagination/Pagination.js +2 -2
- package/lib/Position.js +1 -1
- package/lib/SelectMenu/SelectMenu.js +1 -1
- package/lib/SelectMenu/SelectMenuFilter.js +1 -1
- package/lib/SelectMenu/SelectMenuFooter.js +1 -1
- package/lib/SelectMenu/SelectMenuItem.js +1 -1
- package/lib/SelectMenu/SelectMenuTab.js +1 -1
- package/lib/SelectMenu/SelectMenuTabPanel.js +1 -1
- package/lib/SelectMenu/SelectMenuTabs.js +1 -1
- package/lib/StateLabel.js +1 -1
- package/lib/StyledOcticon.js +1 -1
- package/lib/SubNav.js +3 -3
- package/lib/ThemeProvider.d.ts +1 -0
- package/lib/ThemeProvider.js +17 -4
- package/lib/Timeline.js +4 -4
- package/lib/Token/AvatarToken.js +1 -1
- package/lib/Token/TokenBase.js +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/UnderlineNav.js +2 -2
- package/lib/__tests__/ThemeProvider.test.js +114 -0
- package/lib/stories/ActionList.stories.js +3 -3
- package/lib/stories/ActionList2.stories.js +1 -1
- package/lib/stories/Checkbox.stories.js +2 -2
- package/lib/stories/ThemeProvider.stories.js +1 -5
- package/lib/stories/useFocusTrap.stories.js +1 -11
- package/lib/stories/useFocusZone.stories.js +2 -6
- package/lib-esm/ActionList/Header.js +1 -1
- package/lib-esm/ActionList/Item.js +10 -10
- package/lib-esm/ActionList/List.js +1 -1
- package/lib-esm/ActionList2/Item.js +1 -1
- package/lib-esm/ActionList2/List.js +1 -1
- package/lib-esm/BaseStyles.js +2 -20
- package/lib-esm/BorderBox.js +1 -1
- package/lib-esm/Box.js +1 -1
- package/lib-esm/Breadcrumbs.js +3 -3
- package/lib-esm/Button/Button.js +1 -1
- package/lib-esm/Button/ButtonGroup.js +1 -1
- package/lib-esm/Checkbox.js +1 -1
- package/lib-esm/Details.js +1 -1
- package/lib-esm/FilteredActionList/FilteredActionList.js +1 -1
- package/lib-esm/Flex.js +1 -1
- package/lib-esm/LabelGroup.js +1 -1
- package/lib-esm/Overlay.js +1 -1
- package/lib-esm/Pagination/Pagination.js +2 -2
- package/lib-esm/Position.js +1 -1
- package/lib-esm/SelectMenu/SelectMenu.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuFilter.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuFooter.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuItem.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuTab.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuTabPanel.js +1 -1
- package/lib-esm/SelectMenu/SelectMenuTabs.js +1 -1
- package/lib-esm/StateLabel.js +1 -1
- package/lib-esm/StyledOcticon.js +1 -1
- package/lib-esm/SubNav.js +3 -3
- package/lib-esm/ThemeProvider.d.ts +1 -0
- package/lib-esm/ThemeProvider.js +17 -4
- package/lib-esm/Timeline.js +4 -4
- package/lib-esm/Token/AvatarToken.js +1 -1
- package/lib-esm/Token/TokenBase.js +1 -1
- package/lib-esm/Tooltip.js +1 -1
- package/lib-esm/UnderlineNav.js +2 -2
- package/lib-esm/__tests__/ThemeProvider.test.js +114 -0
- package/lib-esm/stories/ActionList.stories.js +3 -3
- package/lib-esm/stories/ActionList2.stories.js +1 -1
- package/lib-esm/stories/Checkbox.stories.js +2 -2
- package/lib-esm/stories/ThemeProvider.stories.js +1 -5
- package/lib-esm/stories/useFocusTrap.stories.js +1 -11
- package/lib-esm/stories/useFocusZone.stories.js +2 -6
- package/package-lock.json +41 -747
- package/package.json +2 -2
- package/src/ThemeProvider.tsx +22 -5
- package/src/__tests__/ThemeProvider.test.tsx +116 -0
- package/stats.html +1 -1
package/dist/browser.esm.js
CHANGED
@@ -1,2214 +1,7 @@
|
|
1
|
-
import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n,forwardRef as i,useLayoutEffect as l,useContext as d,createContext as s,useReducer as c}from"react";import g,{createGlobalStyle as f,ThemeProvider as u,css as p,ThemeContext as b,keyframes as h}from"styled-components";import m,{createPortal as v}from"react-dom";var x={animation:{easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)"},borderWidths:[0,"1px"],breakpoints:["544px","768px","1012px","1280px"],fonts:{normal:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',mono:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace'},fontSizes:["12px","14px","16px","20px","24px","32px","40px","48px"],fontWeights:{light:300,normal:400,semibold:500,bold:600},lineHeights:{condensedUltra:1,condensed:1.25,default:1.5},radii:["0","3px","6px","100px"],sizes:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},space:["0","4px","8px","16px","24px","32px","40px","48px","64px","80px","96px","112px","128px"],colorSchemes:{light:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#ABF2BC"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"#FFD7D5",lineBg:"#FFEBE9",wordBg:"rgba(255,129,130,0.4)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#2da44e"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#116329",keyword:"#cf222e",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#82071e",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#82071e",carriageReturnText:"#f6f8fa",carriageReturnBg:"#cf222e",stringRegexp:"#116329",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#82071e",markupDeletedBg:"#FFEBE9",markupInsertedText:"#116329",markupInsertedBg:"#dafbe1",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#cf222e",storage:"#cf222e",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#fa4549",donutPending:"#bf8700",donutSuccess:"#2da44e",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#ff8182",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#ff8182",loglineErrorBg:"rgba(164,14,38,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#4ac26b",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#ff8182",redBright:"#ffaba8",green:"#4ac26b",greenBright:"#6fdd8b",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#cf222e",redBright:"#a40e26",green:"#116329",greenBright:"#1a7f37",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#2da44e",border:"rgba(27,31,36,0.15)",hoverBg:"#2c974b",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(137,55%,36%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#2da44e",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#cf222e",hoverText:"#ffffff",hoverBg:"#a40e26",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(356,72%,44%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(207,34,46,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(207,34,46,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(207,34,46,0.1)",icon:"#cf222e",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(255,235,233,0.64)",activeBg:"#FFEBE9",hoverText:"#cf222e"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#1a7f37",emphasis:"#2da44e",muted:"rgba(74,194,107,0.4)",subtle:"#dafbe1"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#cf222e",emphasis:"#cf222e",muted:"rgba(255,129,130,0.4)",subtle:"#FFEBE9"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,45,17,0.2)",focusShadow:"0 0 0 3px rgba(45,164,78,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(76,0,20,0.2)",focusShadow:"0 0 0 3px rgba(164,14,38,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},light_high_contrast:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#1168e3",secondary:"#368cf9"},diffBlob:{addition:{numText:"#24292F",fg:"#ffffff",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#055d20"},deletion:{numText:"#24292F",fg:"#ffffff",numBg:"#FFD7D5",lineBg:"#fff0ee",wordBg:"#a0111f"},hunk:{numBg:"#9cd7ff"},expander:{icon:"#24292F"}},diffstat:{deletionBorder:"rgba(1,4,9,0.8)",additionBorder:"rgba(1,4,9,0.8)",additionBg:"#117f32"},searchKeyword:{hl:"#fcf7be"},prettylights:{syntax:{comment:"#67707A",constant:"#023b95",entity:"#622cbc",storageModifierImport:"#24292F",entityTag:"#024c1a",keyword:"#a0111f",string:"#032563",variable:"#702c00",brackethighlighterUnmatched:"#6e011a",invalidIllegalText:"#FFFFFF",invalidIllegalBg:"#6e011a",carriageReturnText:"#FFFFFF",carriageReturnBg:"#a0111f",stringRegexp:"#024c1a",markupList:"#2e1800",markupHeading:"#023b95",markupItalic:"#24292F",markupBold:"#24292F",markupDeletedText:"#6e011a",markupDeletedBg:"#fff0ee",markupInsertedText:"#024c1a",markupInsertedBg:"#d2fedb",markupChangedText:"#702c00",markupChangedBg:"#ffc67b",markupIgnoredText:"#E7ECF0",markupIgnoredBg:"#023b95",metaDiffRange:"#622cbc",brackethighlighterAngle:"#4F5760",sublimelinterGutterMark:"#88929D",constantOtherReferenceLink:"#032563"}},codemirror:{text:"#24292F",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#67707A",linenumberText:"#24292F",cursor:"#24292F",selectionBg:"#368cf9",activelineBg:"#E7ECF0",matchingbracketText:"#24292F",linesBg:"#ffffff",syntax:{comment:"#24292F",constant:"#023b95",entity:"#622cbc",keyword:"#a0111f",storage:"#a0111f",string:"#032563",support:"#023b95",variable:"#702c00"}},checks:{bg:"#24292F",textPrimary:"#FFFFFF",textSecondary:"#88929D",textLink:"#368cf9",btnIcon:"#ACB6C0",btnHoverIcon:"#FFFFFF",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#E7ECF0",inputPlaceholderText:"#88929D",inputFocusText:"#88929D",inputBg:"#30363D",donutError:"#d5232c",donutPending:"#956400",donutSuccess:"#117f32",donutNeutral:"#ACB6C0",dropdownText:"#ACB6C0",dropdownBg:"#30363D",dropdownBorder:"#3D454E",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#FFFFFF",dropdownHoverBg:"#3D454E",dropdownBtnHoverText:"#FFFFFF",dropdownBtnHoverBg:"#30363D",scrollbarThumbBg:"#4F5760",headerLabelText:"#CED5DC",headerLabelOpenText:"#FFFFFF",headerBorder:"#30363D",headerIcon:"#88929D",lineText:"#CED5DC",lineNumText:"rgba(136,146,157,0.75)",lineTimestampText:"#88929D",lineHoverBg:"#30363D",lineSelectedBg:"rgba(17,104,227,0.15)",lineSelectedNumText:"#368cf9",lineDtFmText:"#24292F",lineDtFmBg:"#744500",gateBg:"rgba(96,55,0,0.15)",gateText:"#CED5DC",gateWaitingText:"#ACB6C0",stepHeaderOpenBg:"#30363D",stepErrorText:"#ee5a5d",stepWarningText:"#b58407",loglineText:"#88929D",loglineNumText:"rgba(136,146,157,0.75)",loglineDebugText:"#a371f7",loglineErrorText:"#CED5DC",loglineErrorNumText:"#ee5a5d",loglineErrorBg:"rgba(134,6,29,0.15)",loglineWarningText:"#CED5DC",loglineWarningNumText:"#b58407",loglineWarningBg:"rgba(96,55,0,0.15)",loglineCommandText:"#368cf9",loglineSectionText:"#26a148",ansi:{black:"#24292F",blackBright:"#30363D",white:"#CED5DC",whiteBright:"#CED5DC",gray:"#88929D",red:"#ee5a5d",redBright:"#ff8e8a",green:"#26a148",greenBright:"#43c663",yellow:"#b58407",yellowBright:"#d5a824",blue:"#368cf9",blueBright:"#67b3fd",magenta:"#a371f7",magentaBright:"#c49bff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292F",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(1,4,9,0.8)",stackFade:"#ACB6C0",stackFadeMore:"#CED5DC"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(172,182,192,0.5)",tapFocusBg:"#9cd7ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292F",logo:"#ffffff"},headerSearch:{bg:"#24292F",border:"#4F5760"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(172,182,192,0.2)"},timeline:{badgeBg:"#E7ECF0"},ansi:{black:"#24292F",blackBright:"#4F5760",white:"#67707A",whiteBright:"#88929D",gray:"#67707A",red:"#a0111f",redBright:"#86061d",green:"#024c1a",greenBright:"#055d20",yellow:"#3f2200",yellowBright:"#4e2c00",blue:"#0349b4",blueBright:"#1168e3",magenta:"#622cbc",magentaBright:"#844ae7",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292F",bg:"#E7ECF0",border:"rgba(1,4,9,0.8)",hoverBg:"#CED5DC",hoverBorder:"rgba(1,4,9,0.8)",activeBg:"#ACB6C0",activeBorder:"rgba(1,4,9,0.8)",selectedBg:"#ACB6C0",focusBg:"#CED5DC",focusBorder:"rgba(1,4,9,0.8)",counterBg:"rgba(1,4,9,0.08)",primary:{text:"#ffffff",bg:"#055d20",border:"#013d14",hoverBg:"#024c1a",hoverBorder:"#013d14",selectedBg:"hsla(139,95%,13%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(1,4,9,0.8)",focusBg:"#013d14",focusBorder:"#013d14",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#023b95",hoverText:"#ffffff",hoverBg:"#0349b4",hoverBorder:"#022f7a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#022f7a",selectedBorder:"#022f7a",disabledText:"rgba(3,73,180,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(3,73,180,0.05)",focusBorder:"#022f7a",counterBg:"rgba(3,73,180,0.1)"},danger:{text:"#86061d",hoverText:"#ffffff",hoverBg:"#a0111f",hoverBorder:"#6e011a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#6e011a",selectedBorder:"#6e011a",disabledText:"rgba(160,17,31,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(160,17,31,0.05)",focusBorder:"#6e011a",counterBg:"rgba(160,17,31,0.1)",icon:"#86061d",hoverIcon:"#ffffff"}},underlinenav:{icon:"#67707A",borderHover:"rgba(172,182,192,0.2)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(206,213,220,0.32)",activeBg:"rgba(206,213,220,0.48)",selectedBg:"rgba(206,213,220,0.24)"},danger:{hoverBg:"rgba(255,240,238,0.64)",activeBg:"#fff0ee",hoverText:"#a0111f"}},fg:{default:"#24292F",muted:"#24292F",subtle:"#67707A",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#ffffff",subtle:"#E7ECF0"},border:{default:"#30363D",muted:"#88929D",subtle:"rgba(1,4,9,0.8)"},neutral:{emphasisPlus:"#24292F",emphasis:"#67707A",muted:"rgba(172,182,192,0.2)",subtle:"#E7ECF0"},accent:{fg:"#0349b4",emphasis:"#0349b4",muted:"#368cf9",subtle:"#dff7ff"},success:{fg:"#055d20",emphasis:"#055d20",muted:"#26a148",subtle:"#d2fedb"},attention:{fg:"#744500",emphasis:"#744500",muted:"#b58407",subtle:"#fcf7be"},severe:{fg:"#873800",emphasis:"#873800",muted:"#dc6d1a",subtle:"#fff2d5"},danger:{fg:"#a0111f",emphasis:"#a0111f",muted:"#ee5a5d",subtle:"#fff0ee"},done:{fg:"#622cbc",emphasis:"#622cbc",muted:"#a371f7",subtle:"#faf0fe"},sponsors:{fg:"#971368",emphasis:"#971368",muted:"#ed4baf",subtle:"#feeff7"},primer:{fg:{disabled:"#88929D"},canvas:{backdrop:"rgba(1,4,9,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#ef5b48",contrast:"rgba(1,4,9,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(61,69,78,0.12)"},btn:{shadow:"0 1px 0 rgba(1,4,9,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(3,73,180,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(3,73,180,0.3)",primary:{shadow:"0 1px 0 rgba(1,4,9,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,35,11,0.2)",focusShadow:"0 0 0 3px rgba(1,61,20,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(2,26,74,0.2)",focusShadow:"0 0 0 3px rgba(2,59,149,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(67,0,17,0.2)",focusShadow:"0 0 0 3px rgba(134,6,29,0.4)"}},shadow:{small:"0 1px 0 rgba(1,4,9,0.04)",medium:"0 3px 6px rgba(136,146,157,0.15)",large:"0 8px 24px rgba(136,146,157,0.2)",extraLarge:"0 12px 28px rgba(136,146,157,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(206,213,220,0.2)",focus:"0 0 0 3px rgba(3,73,180,0.3)"}}}},light_colorblind:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"rgba(53,173,255,0.4)",lineBg:"rgba(192,246,255,0.5)",wordBg:"rgba(53,173,255,0.4)"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"rgba(231,161,0,0.4)",lineBg:"rgba(254,254,72,0.5)",wordBg:"rgba(248,194,0,0.5)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#0088ff"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#054da9",keyword:"#ac5e00",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#6c3900",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#6c3900",carriageReturnText:"#f6f8fa",carriageReturnBg:"#ac5e00",stringRegexp:"#054da9",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#6c3900",markupDeletedBg:"#fefe48",markupInsertedText:"#054da9",markupInsertedBg:"#c0f6ff",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#ac5e00",storage:"#ac5e00",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#d08002",donutPending:"#bf8700",donutSuccess:"#0088ff",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#e7a100",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#e7a100",loglineErrorBg:"rgba(139,70,0,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#35adff",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#e7a100",redBright:"#f8c200",green:"#35adff",greenBright:"#65ccff",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#ac5e00",redBright:"#8b4600",green:"#054da9",greenBright:"#0566d5",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#0088ff",border:"rgba(27,31,36,0.15)",hoverBg:"#0566d5",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(212,95%,41%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#65ccff",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#0088ff",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#ac5e00",hoverText:"#ffffff",hoverBg:"#8b4600",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(33,100%,31%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(172,94,0,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(172,94,0,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(172,94,0,0.1)",icon:"#ac5e00",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(254,254,72,0.64)",activeBg:"#fefe48",hoverText:"#ac5e00"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#0566d5",emphasis:"#0088ff",muted:"rgba(53,173,255,0.4)",subtle:"#c0f6ff"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#ac5e00",emphasis:"#ac5e00",muted:"rgba(231,161,0,0.4)",subtle:"#fefe48"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,31,80,0.2)",focusShadow:"0 0 0 3px rgba(0,136,255,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(47,41,0,0.2)",focusShadow:"0 0 0 3px rgba(139,70,0,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},dark:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(63,185,80,0.3)",lineBg:"rgba(46,160,67,0.15)",wordBg:"rgba(46,160,67,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(248,81,73,0.3)",lineBg:"rgba(248,81,73,0.15)",wordBg:"rgba(248,81,73,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#3fb950"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#7ee787",keyword:"#ff7b72",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#f85149",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#8e1519",carriageReturnText:"#f0f6fc",carriageReturnBg:"#b62324",stringRegexp:"#7ee787",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#ffdcd7",markupDeletedBg:"#67060c",markupInsertedText:"#aff5b4",markupInsertedBg:"#033a16",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#ff7b72",storage:"#ff7b72",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#f85149",donutPending:"#d29922",donutSuccess:"#2ea043",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#f85149",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(248,81,73,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#3fb950",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#238636",border:"rgba(240,246,252,0.1)",hoverBg:"#2ea043",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#238636",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(35,134,54,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#238636",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#f85149",hoverText:"#f0f6fc",hoverBg:"#da3633",hoverBorder:"#f85149",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#b62324",selectedBorder:"#ff7b72",disabledText:"rgba(248,81,73,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(218,54,51,0.05)",focusBorder:"#f85149",counterBg:"rgba(218,54,51,0.1)",icon:"#f85149"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(248,81,73,0.16)",activeBg:"rgba(248,81,73,0.24)",hoverText:"#ff7b72"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#3fb950",emphasis:"#238636",muted:"rgba(46,160,67,0.4)",subtle:"rgba(46,160,67,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#f85149",emphasis:"#da3633",muted:"rgba(248,81,73,0.4)",subtle:"rgba(248,81,73,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(248,81,73,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}},dark_dimmed:{colors:{canvasDefaultTransparent:"rgba(34,39,46,0)",marketingIcon:{primary:"#6cb6ff",secondary:"#316dca"},diffBlob:{addition:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(87,171,90,0.3)",lineBg:"rgba(70,149,74,0.15)",wordBg:"rgba(70,149,74,0.4)"},deletion:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(229,83,75,0.3)",lineBg:"rgba(229,83,75,0.15)",wordBg:"rgba(229,83,75,0.4)"},hunk:{numBg:"rgba(65,132,228,0.4)"},expander:{icon:"#768390"}},diffstat:{deletionBorder:"rgba(205,217,229,0.1)",additionBorder:"rgba(205,217,229,0.1)",additionBg:"#57ab5a"},searchKeyword:{hl:"rgba(198,144,38,0.4)"},prettylights:{syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",storageModifierImport:"#adbac7",entityTag:"#8ddb8c",keyword:"#f47067",string:"#96d0ff",variable:"#f69d50",brackethighlighterUnmatched:"#e5534b",invalidIllegalText:"#cdd9e5",invalidIllegalBg:"#922323",carriageReturnText:"#cdd9e5",carriageReturnBg:"#ad2e2c",stringRegexp:"#8ddb8c",markupList:"#eac55f",markupHeading:"#316dca",markupItalic:"#adbac7",markupBold:"#adbac7",markupDeletedText:"#ffd8d3",markupDeletedBg:"#78191b",markupInsertedText:"#b4f1b4",markupInsertedBg:"#1b4721",markupChangedText:"#ffddb0",markupChangedBg:"#682d0f",markupIgnoredText:"#adbac7",markupIgnoredBg:"#255ab2",metaDiffRange:"#dcbdfb",brackethighlighterAngle:"#768390",sublimelinterGutterMark:"#545d68",constantOtherReferenceLink:"#96d0ff"}},codemirror:{text:"#adbac7",bg:"#22272e",guttersBg:"#22272e",guttermarkerText:"#22272e",guttermarkerSubtleText:"#545d68",linenumberText:"#768390",cursor:"#adbac7",selectionBg:"rgba(65,132,228,0.4)",activelineBg:"rgba(99,110,123,0.1)",matchingbracketText:"#adbac7",linesBg:"#22272e",syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",keyword:"#f47067",storage:"#f47067",string:"#96d0ff",support:"#6cb6ff",variable:"#f69d50"}},checks:{bg:"#1c2128",textPrimary:"#adbac7",textSecondary:"#768390",textLink:"#539bf5",btnIcon:"#768390",btnHoverIcon:"#adbac7",btnHoverBg:"rgba(99,110,123,0.1)",inputText:"#768390",inputPlaceholderText:"#545d68",inputFocusText:"#adbac7",inputBg:"#2d333b",donutError:"#e5534b",donutPending:"#c69026",donutSuccess:"#46954a",donutNeutral:"#768390",dropdownText:"#adbac7",dropdownBg:"#2d333b",dropdownBorder:"#444c56",dropdownShadow:"rgba(28,33,40,0.3)",dropdownHoverText:"#adbac7",dropdownHoverBg:"rgba(99,110,123,0.1)",dropdownBtnHoverText:"#adbac7",dropdownBtnHoverBg:"rgba(99,110,123,0.1)",scrollbarThumbBg:"rgba(99,110,123,0.4)",headerLabelText:"#768390",headerLabelOpenText:"#adbac7",headerBorder:"#373e47",headerIcon:"#768390",lineText:"#768390",lineNumText:"#545d68",lineTimestampText:"#545d68",lineHoverBg:"rgba(99,110,123,0.1)",lineSelectedBg:"rgba(65,132,228,0.15)",lineSelectedNumText:"#539bf5",lineDtFmText:"#cdd9e5",lineDtFmBg:"#966600",gateBg:"rgba(174,124,20,0.15)",gateText:"#768390",gateWaitingText:"#c69026",stepHeaderOpenBg:"#2d333b",stepErrorText:"#e5534b",stepWarningText:"#c69026",loglineText:"#768390",loglineNumText:"#545d68",loglineDebugText:"#986ee2",loglineErrorText:"#768390",loglineErrorNumText:"#545d68",loglineErrorBg:"rgba(229,83,75,0.15)",loglineWarningText:"#768390",loglineWarningNumText:"#c69026",loglineWarningBg:"rgba(174,124,20,0.15)",loglineCommandText:"#539bf5",loglineSectionText:"#57ab5a",ansi:{black:"#22272e",blackBright:"#2d333b",white:"#909dab",whiteBright:"#909dab",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#22272e",sidebarBg:"#2d333b",gradientIn:"#2d333b",gradientOut:"rgba(45,51,59,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(205,217,229,0.1)",border:"rgba(205,217,229,0.1)",stackFade:"#444c56",stackFadeMore:"#373e47"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#545d68",tapHighlight:"rgba(68,76,86,0.5)",tapFocusBg:"#143d79"},header:{text:"rgba(205,217,229,0.7)",bg:"#2d333b",logo:"#cdd9e5"},headerSearch:{bg:"#22272e",border:"#444c56"},sidenav:{selectedBg:"#373e47"},menu:{bgActive:"#2d333b"},input:{disabledBg:"rgba(99,110,123,0)"},timeline:{badgeBg:"#373e47"},ansi:{black:"#545d68",blackBright:"#636e7b",white:"#909dab",whiteBright:"#cdd9e5",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#adbac7",bg:"#373e47",border:"rgba(205,217,229,0.1)",hoverBg:"#444c56",hoverBorder:"#768390",activeBg:"hsla(213,12%,27%,1)",activeBorder:"#636e7b",selectedBg:"#2d333b",focusBg:"#373e47",focusBorder:"#768390",counterBg:"#444c56",primary:{text:"#ffffff",bg:"#347d39",border:"rgba(205,217,229,0.1)",hoverBg:"#46954a",hoverBorder:"rgba(205,217,229,0.1)",selectedBg:"#347d39",disabledText:"rgba(205,217,229,0.5)",disabledBg:"rgba(52,125,57,0.6)",disabledBorder:"rgba(205,217,229,0.1)",focusBg:"#347d39",focusBorder:"rgba(205,217,229,0.1)",icon:"#cdd9e5",counterBg:"rgba(205,217,229,0.2)"},outline:{text:"#539bf5",hoverText:"#539bf5",hoverBg:"#444c56",hoverBorder:"rgba(205,217,229,0.1)",hoverCounterBg:"rgba(205,217,229,0.2)",selectedText:"#cdd9e5",selectedBg:"#1b4b91",selectedBorder:"rgba(205,217,229,0.1)",disabledText:"rgba(83,155,245,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(49,109,202,0.05)",focusBorder:"rgba(205,217,229,0.1)",counterBg:"rgba(49,109,202,0.1)"},danger:{text:"#e5534b",hoverText:"#cdd9e5",hoverBg:"#c93c37",hoverBorder:"#e5534b",hoverIcon:"#cdd9e5",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#ad2e2c",selectedBorder:"#f47067",disabledText:"rgba(229,83,75,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(201,60,55,0.05)",focusBorder:"#e5534b",counterBg:"rgba(201,60,55,0.1)",icon:"#e5534b"}},underlinenav:{icon:"#545d68",borderHover:"rgba(99,110,123,0.4)"},actionListItem:{inlineDivider:"rgba(68,76,86,0.48)",default:{hoverBg:"rgba(144,157,171,0.12)",activeBg:"rgba(144,157,171,0.2)",selectedBg:"rgba(144,157,171,0.08)"},danger:{hoverBg:"rgba(229,83,75,0.16)",activeBg:"rgba(229,83,75,0.24)",hoverText:"#f47067"}},fg:{default:"#adbac7",muted:"#768390",subtle:"#545d68",onEmphasis:"#cdd9e5"},canvas:{default:"#22272e",overlay:"#2d333b",inset:"#1c2128",subtle:"#2d333b"},border:{default:"#444c56",muted:"#373e47",subtle:"rgba(205,217,229,0.1)"},neutral:{emphasisPlus:"#636e7b",emphasis:"#636e7b",muted:"rgba(99,110,123,0.4)",subtle:"rgba(99,110,123,0.1)"},accent:{fg:"#539bf5",emphasis:"#316dca",muted:"rgba(65,132,228,0.4)",subtle:"rgba(65,132,228,0.15)"},success:{fg:"#57ab5a",emphasis:"#347d39",muted:"rgba(70,149,74,0.4)",subtle:"rgba(70,149,74,0.15)"},attention:{fg:"#c69026",emphasis:"#966600",muted:"rgba(174,124,20,0.4)",subtle:"rgba(174,124,20,0.15)"},severe:{fg:"#cc6b2c",emphasis:"#ae5622",muted:"rgba(204,107,44,0.4)",subtle:"rgba(204,107,44,0.15)"},danger:{fg:"#e5534b",emphasis:"#c93c37",muted:"rgba(229,83,75,0.4)",subtle:"rgba(229,83,75,0.15)"},done:{fg:"#986ee2",emphasis:"#8256d0",muted:"rgba(152,110,226,0.4)",subtle:"rgba(152,110,226,0.15)"},sponsors:{fg:"#c96198",emphasis:"#ae4c82",muted:"rgba(201,97,152,0.4)",subtle:"rgba(201,97,152,0.15)"},primer:{fg:{disabled:"#545d68"},canvas:{backdrop:"rgba(28,33,40,0.8)",sticky:"rgba(34,39,46,0.95)"},border:{active:"#EC775C",contrast:"rgba(205,217,229,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #22272e"},overlay:{shadow:"0 0 0 1px #444c56, 0 16px 32px rgba(28,33,40,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(118,131,144,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(28,33,40,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(49,109,202,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(28,33,40,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(205,217,229,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(37,90,178,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(229,83,75,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #1c2128",large:"0 8px 24px #1c2128",extraLarge:"0 12px 48px #1c2128"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #143d79"}}}},dark_high_contrast:{colors:{canvasDefaultTransparent:"rgba(10,12,16,0)",marketingIcon:{primary:"#91cbff",secondary:"#409eff"},diffBlob:{addition:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(38,205,77,0.3)",lineBg:"rgba(9,180,58,0.15)",wordBg:"#09b43a"},deletion:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(255,106,105,0.3)",lineBg:"rgba(255,106,105,0.15)",wordBg:"#ff6a69"},hunk:{numBg:"rgba(64,158,255,0.4)"},expander:{icon:"#0a0c10"}},diffstat:{deletionBorder:"#ffb1af",additionBorder:"#4ae168",additionBg:"#26cd4d"},searchKeyword:{hl:"rgba(240,183,47,0.4)"},prettylights:{syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",storageModifierImport:"#f0f3f6",entityTag:"#72f088",keyword:"#ff9492",string:"#addcff",variable:"#ffb757",brackethighlighterUnmatched:"#ff6a69",invalidIllegalText:"#ffffff",invalidIllegalBg:"#e82a2f",carriageReturnText:"#ffffff",carriageReturnBg:"#ff4445",stringRegexp:"#72f088",markupList:"#fbd669",markupHeading:"#409eff",markupItalic:"#f0f3f6",markupBold:"#f0f3f6",markupDeletedText:"#ffdedb",markupDeletedBg:"#cc1421",markupInsertedText:"#acf7b6",markupInsertedBg:"#007728",markupChangedText:"#ffe1b4",markupChangedBg:"#a74c00",markupIgnoredText:"#f0f3f6",markupIgnoredBg:"#318bf8",metaDiffRange:"#dbb7ff",brackethighlighterAngle:"#bdc4cc",sublimelinterGutterMark:"#7a828e",constantOtherReferenceLink:"#addcff"}},codemirror:{text:"#f0f3f6",bg:"#0a0c10",guttersBg:"#0a0c10",guttermarkerText:"#0a0c10",guttermarkerSubtleText:"#7a828e",linenumberText:"#f0f3f6",cursor:"#f0f3f6",selectionBg:"rgba(64,158,255,0.4)",activelineBg:"rgba(158,167,179,0.1)",matchingbracketText:"#f0f3f6",linesBg:"#0a0c10",syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",keyword:"#ff9492",storage:"#ff9492",string:"#addcff",support:"#91cbff",variable:"#ffb757"}},checks:{bg:"#010409",textPrimary:"#f0f3f6",textSecondary:"#f0f3f6",textLink:"#71b7ff",btnIcon:"#f0f3f6",btnHoverIcon:"#f0f3f6",btnHoverBg:"rgba(158,167,179,0.1)",inputText:"#f0f3f6",inputPlaceholderText:"#7a828e",inputFocusText:"#f0f3f6",inputBg:"#272b33",donutError:"#ff6a69",donutPending:"#f0b72f",donutSuccess:"#09b43a",donutNeutral:"#bdc4cc",dropdownText:"#f0f3f6",dropdownBg:"#272b33",dropdownBorder:"#7a828e",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#f0f3f6",dropdownHoverBg:"rgba(158,167,179,0.1)",dropdownBtnHoverText:"#f0f3f6",dropdownBtnHoverBg:"rgba(158,167,179,0.1)",scrollbarThumbBg:"rgba(158,167,179,0.4)",headerLabelText:"#f0f3f6",headerLabelOpenText:"#f0f3f6",headerBorder:"#7a828e",headerIcon:"#f0f3f6",lineText:"#f0f3f6",lineNumText:"#7a828e",lineTimestampText:"#7a828e",lineHoverBg:"rgba(158,167,179,0.1)",lineSelectedBg:"rgba(64,158,255,0.15)",lineSelectedNumText:"#71b7ff",lineDtFmText:"#0a0c10",lineDtFmBg:"#e09b13",gateBg:"rgba(224,155,19,0.15)",gateText:"#f0f3f6",gateWaitingText:"#f0b72f",stepHeaderOpenBg:"#272b33",stepErrorText:"#ff6a69",stepWarningText:"#f0b72f",loglineText:"#f0f3f6",loglineNumText:"#7a828e",loglineDebugText:"#b780ff",loglineErrorText:"#f0f3f6",loglineErrorNumText:"#7a828e",loglineErrorBg:"rgba(255,106,105,0.15)",loglineWarningText:"#f0f3f6",loglineWarningNumText:"#f0b72f",loglineWarningBg:"rgba(224,155,19,0.15)",loglineCommandText:"#71b7ff",loglineSectionText:"#26cd4d",ansi:{black:"#0a0c10",blackBright:"#272b33",white:"#d9dee3",whiteBright:"#d9dee3",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0a0c10",sidebarBg:"#272b33",gradientIn:"#272b33",gradientOut:"rgba(39,43,51,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(255,255,255,0.1)",border:"rgba(255,255,255,0.9)",stackFade:"#525964",stackFadeMore:"#272b33"},topicTag:{border:"#409eff"},selectMenu:{backdropBorder:"#7a828e",tapHighlight:"rgba(82,89,100,0.5)",tapFocusBg:"#1e60d5"},header:{text:"rgba(255,255,255,0.7)",bg:"#272b33",logo:"#ffffff"},headerSearch:{bg:"#0a0c10",border:"#525964"},sidenav:{selectedBg:"#272b33"},menu:{bgActive:"#272b33"},input:{disabledBg:"rgba(158,167,179,0)"},timeline:{badgeBg:"#272b33"},ansi:{black:"#7a828e",blackBright:"#9ea7b3",white:"#d9dee3",whiteBright:"#ffffff",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#f0f3f6",bg:"#272b33",border:"#7a828e",hoverBg:"#525964",hoverBorder:"#bdc4cc",activeBg:"hsla(217,10%,33%,1)",activeBorder:"#9ea7b3",selectedBg:"rgba(82,89,100,0.9)",focusBg:"#272b33",focusBorder:"#bdc4cc",counterBg:"#525964",primary:{text:"#0a0c10",bg:"#09b43a",border:"#4ae168",hoverBg:"#26cd4d",hoverBorder:"#4ae168",selectedBg:"#09b43a",disabledText:"rgba(10,12,16,0.5)",disabledBg:"rgba(9,180,58,0.6)",disabledBorder:"rgba(74,225,104,0.4)",focusBg:"#09b43a",focusBorder:"#7a828e",icon:"#0a0c10",counterBg:"rgba(1,4,9,0.15)"},outline:{text:"#71b7ff",hoverText:"#71b7ff",hoverBg:"#525964",hoverBorder:"#7a828e",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#2672f3",selectedBorder:"#7a828e",disabledText:"rgba(113,183,255,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(64,158,255,0.05)",focusBorder:"#7a828e",counterBg:"rgba(64,158,255,0.1)"},danger:{text:"#ff6a69",hoverText:"#0a0c10",hoverBg:"#ff6a69",hoverBorder:"#ff6a69",hoverIcon:"#0a0c10",hoverCounterBg:"rgba(1,4,9,0.15)",selectedText:"#ffffff",selectedBg:"#ff4445",selectedBorder:"#ff9492",disabledText:"rgba(255,106,105,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(255,106,105,0.05)",focusBorder:"#ff6a69",counterBg:"rgba(1,4,9,0.15)",icon:"#ff6a69"}},underlinenav:{icon:"#f0f3f6",borderHover:"#bdc4cc"},actionListItem:{inlineDivider:"#7a828e",default:{hoverBg:"rgba(217,222,227,0.12)",activeBg:"rgba(217,222,227,0.24)",selectedBg:"rgba(217,222,227,0.08)"},danger:{hoverBg:"#ff6a69",activeBg:"#ff4445",hoverText:"#0a0c10"}},fg:{default:"#f0f3f6",muted:"#f0f3f6",subtle:"#7a828e",onEmphasis:"#0a0c10"},canvas:{default:"#0a0c10",overlay:"#272b33",inset:"#010409",subtle:"#272b33"},border:{default:"#7a828e",muted:"#7a828e",subtle:"#7a828e"},neutral:{emphasisPlus:"#ffffff",emphasis:"#9ea7b3",muted:"rgba(158,167,179,0.4)",subtle:"rgba(158,167,179,0.1)"},accent:{fg:"#71b7ff",emphasis:"#409eff",muted:"#409eff",subtle:"rgba(64,158,255,0.15)"},success:{fg:"#26cd4d",emphasis:"#09b43a",muted:"#09b43a",subtle:"rgba(9,180,58,0.15)"},attention:{fg:"#f0b72f",emphasis:"#e09b13",muted:"#e09b13",subtle:"rgba(224,155,19,0.15)"},severe:{fg:"#e7811d",emphasis:"#e7811d",muted:"#e7811d",subtle:"rgba(231,129,29,0.15)"},danger:{fg:"#ff6a69",emphasis:"#ff6a69",muted:"#ff6a69",subtle:"rgba(255,106,105,0.15)"},done:{fg:"#b780ff",emphasis:"#b87fff",muted:"#b780ff",subtle:"rgba(183,128,255,0.15)"},sponsors:{fg:"#ef6eb1",emphasis:"#ef6eb1",muted:"#ef6eb1",subtle:"rgba(239,110,177,0.15)"},primer:{fg:{disabled:"#7a828e"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(10,12,16,0.95)"},border:{active:"#FF967D",contrast:"rgba(255,255,255,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0a0c10"},overlay:{shadow:"0 0 0 1px #525964, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(189,196,204,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(64,158,255,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(49,139,248,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(255,106,105,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #1e60d5"}}}},dark_colorblind:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(66,160,255,0.3)",lineBg:"rgba(21,133,253,0.15)",wordBg:"rgba(21,133,253,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(195,128,0,0.3)",lineBg:"rgba(195,128,0,0.15)",wordBg:"rgba(195,128,0,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#42a0ff"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#83d4ff",keyword:"#d69a00",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#c38000",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#633e00",carriageReturnText:"#f0f6fc",carriageReturnBg:"#865401",stringRegexp:"#83d4ff",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#f0ec59",markupDeletedBg:"#452f00",markupInsertedText:"#a0e8ff",markupInsertedBg:"#0a2861",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#d69a00",storage:"#d69a00",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#c38000",donutPending:"#d29922",donutSuccess:"#1585fd",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#c38000",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(195,128,0,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#42a0ff",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#1d69e0",border:"rgba(240,246,252,0.1)",hoverBg:"#1585fd",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#1d69e0",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(29,105,224,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#1d69e0",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#c38000",hoverText:"#f0f6fc",hoverBg:"#a66900",hoverBorder:"#c38000",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#865401",selectedBorder:"#d69a00",disabledText:"rgba(195,128,0,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(166,105,0,0.05)",focusBorder:"#c38000",counterBg:"rgba(166,105,0,0.1)",icon:"#c38000"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(195,128,0,0.16)",activeBg:"rgba(195,128,0,0.24)",hoverText:"#d69a00"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#42a0ff",emphasis:"#1d69e0",muted:"rgba(21,133,253,0.4)",subtle:"rgba(21,133,253,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#c38000",emphasis:"#a66900",muted:"rgba(195,128,0,0.4)",subtle:"rgba(195,128,0,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(195,128,0,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}}}},y=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;function k(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var $=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,a=k(e),n=1;n<arguments.length;n++){for(var i in r=Object(arguments[n]))w.call(r,i)&&(a[i]=r[i]);if(y){o=y(r);for(var l=0;l<o.length;l++)B.call(r,o[l])&&(a[o[l]]=r[o[l]])}}return a},T=function(e,t){var r=$({},e,t);for(var o in e){var a;e[o]&&"object"==typeof t[o]&&$(r,((a={})[o]=$(e[o],t[o]),a))}return r},S={breakpoints:[40,52,64].map((function(e){return e+"em"}))},E=function(e){return"@media screen and (min-width: "+e+")"},C=function(e,t){return z(t,e,e)},z=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},I=function e(t){var r={},o=function(e){var o,a,n={},i=!1,l=e.theme&&e.theme.disableStyledSystemCache;for(var d in e)if(t[d]){var s=t[d],c=e[d],g=z(e.theme,s.scale,s.defaults);if("object"!=typeof c)$(n,s(c,g,e));else{if(r.breakpoints=!l&&r.breakpoints||z(e.theme,"breakpoints",S.breakpoints),Array.isArray(c)){r.media=!l&&r.media||[null].concat(r.breakpoints.map(E)),n=T(n,A(r.media,s,g,c,e));continue}null!==c&&(n=T(n,N(r.breakpoints,s,g,c,e)),i=!0)}}return i&&(o=n,a={},Object.keys(o).sort((function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})})).forEach((function(e){a[e]=o[e]})),n=a),n};o.config=t,o.propNames=Object.keys(t),o.cache=r;var a=Object.keys(t).filter((function(e){return"config"!==e}));return a.length>1&&a.forEach((function(r){var a;o[r]=e(((a={})[r]=t[r],a))})),o},A=function(e,t,r,o,a){var n={};return o.slice(0,e.length).forEach((function(o,i){var l,d=e[i],s=t(o,r,a);d?$(n,((l={})[d]=$({},n[d],s),l)):$(n,s)})),n},N=function(e,t,r,o,a){var n={};for(var i in o){var l=e[i],d=t(o[i],r,a);if(l){var s,c=E(l);$(n,((s={})[c]=$({},n[c],d),s))}else $(n,d)}return n},R=function(e){var t=e.properties,r=e.property,o=e.scale,a=e.transform,n=void 0===a?C:a,i=e.defaultScale;t=t||[r];var l=function(e,r,o){var a={},i=n(e,r,o);if(null!==i)return t.forEach((function(e){a[e]=i})),a};return l.scale=o,l.defaults=i,l},L=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(r){var o=e[r];t[r]=!0!==o?"function"!=typeof o?R(o):o:R({property:r,scale:r})})),I(t)},F=function(){for(var e={},t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];r.forEach((function(t){t&&t.config&&$(e,t.config)}));var a=I(e);return a},D=L({width:{property:"width",scale:"sizes",transform:function(e,t){return z(t,e,!function(e){return"number"==typeof e&&!isNaN(e)}(e)||e>1?e:100*e+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),M={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};M.bg=M.backgroundColor;var O=L(M),P=L({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),H=L({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),W={space:[0,4,8,16,32,64,128,256,512]},_=L({gridGap:{property:"gridGap",scale:"space",defaultScale:W.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:W.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:W.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),j={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};j.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},j.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},j.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},j.borderBottomColor={property:"borderBottomColor",scale:"colors"},j.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},j.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},j.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},j.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},j.borderLeftColor={property:"borderLeftColor",scale:"colors"},j.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},j.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},j.borderRightColor={property:"borderRightColor",scale:"colors"},j.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var U=L(j),K={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};K.bgImage=K.backgroundImage,K.bgSize=K.backgroundSize,K.bgPosition=K.backgroundPosition,K.bgRepeat=K.backgroundRepeat;var V=L(K),G={space:[0,4,8,16,32,64,128,256,512]},q=L({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:G.space},right:{property:"right",scale:"space",defaultScale:G.space},bottom:{property:"bottom",scale:"space",defaultScale:G.space},left:{property:"left",scale:"space",defaultScale:G.space}}),X={space:[0,4,8,16,32,64,128,256,512]},Y=function(e){return"number"==typeof e&&!isNaN(e)},J=function(e,t){if(!Y(e))return z(t,e,e);var r=e<0,o=Math.abs(e),a=z(t,o,o);return Y(a)?a*(r?-1:1):r?"-"+a:a},Z={};Z.margin={margin:{property:"margin",scale:"space",transform:J,defaultScale:X.space},marginTop:{property:"marginTop",scale:"space",transform:J,defaultScale:X.space},marginRight:{property:"marginRight",scale:"space",transform:J,defaultScale:X.space},marginBottom:{property:"marginBottom",scale:"space",transform:J,defaultScale:X.space},marginLeft:{property:"marginLeft",scale:"space",transform:J,defaultScale:X.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:J,defaultScale:X.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:J,defaultScale:X.space}},Z.margin.m=Z.margin.margin,Z.margin.mt=Z.margin.marginTop,Z.margin.mr=Z.margin.marginRight,Z.margin.mb=Z.margin.marginBottom,Z.margin.ml=Z.margin.marginLeft,Z.margin.mx=Z.margin.marginX,Z.margin.my=Z.margin.marginY,Z.padding={padding:{property:"padding",scale:"space",defaultScale:X.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:X.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:X.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:X.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:X.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:X.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:X.space}},Z.padding.p=Z.padding.padding,Z.padding.pt=Z.padding.paddingTop,Z.padding.pr=Z.padding.paddingRight,Z.padding.pb=Z.padding.paddingBottom,Z.padding.pl=Z.padding.paddingLeft,Z.padding.px=Z.padding.paddingX,Z.padding.py=Z.padding.paddingY;var Q=L(Z.margin),ee=L(Z.padding),te=F(Q,ee),re=L({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var ae=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},ne=[40,52,64].map((function(e){return e+"em"})),ie={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},le={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},de={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},se={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},ce=function(e,t){if("number"!=typeof t||t>=0)return ae(e,t,t);var r=Math.abs(t),o=ae(e,r,r);return"string"==typeof o?"-"+o:-1*o},ge=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((function(e,t){var r;return oe({},e,((r={})[t]=ce,r))}),{}),fe=function e(t){return function(r){void 0===r&&(r={});var o=oe({},ie,{},r.theme||r),a={},n=function(e){return function(t){var r={},o=ae(t,"breakpoints",ne),a=[null].concat(o.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var n in e){var i="function"==typeof e[n]?e[n](t):e[n];if(null!=i)if(Array.isArray(i))for(var l=0;l<i.slice(0,a.length).length;l++){var d=a[l];d?(r[d]=r[d]||{},null!=i[l]&&(r[d][n]=i[l])):r[n]=i[l]}else r[n]=i}return r}}("function"==typeof t?t(o):t)(o);for(var i in n){var l=n[i],d="function"==typeof l?l(o):l;if("variant"!==i)if(d&&"object"==typeof d)a[i]=e(d)(o);else{var s=ae(le,i,i),c=ae(se,s),g=ae(o,c,ae(o,s,{})),f=ae(ge,s,ae)(g,d,d);if(de[s])for(var u=de[s],p=0;p<u.length;p++)a[u[p]]=f;else a[s]=f}else a=oe({},a,{},e(ae(o,d))(o))}return a}},ue=function(e){var t,r,o=e.scale,a=e.prop,n=void 0===a?"variant":a,i=e.variants,l=void 0===i?{}:i,d=e.key;(r=Object.keys(l).length?function(e,t,r){return fe(z(t,e,null))(r.theme)}:function(e,t){return z(t,e,null)}).scale=o||d,r.defaults=l;var s=((t={})[n]=r,t);return I(s)},pe=ue({key:"buttons"}),be=ue({key:"textStyles",prop:"textStyle"}),he=ue({key:"colorStyles",prop:"colors"}),me=D.width,ve=D.height,xe=D.minWidth,ye=D.minHeight,we=D.maxWidth,Be=D.maxHeight,ke=D.size,$e=D.verticalAlign,Te=D.display,Se=D.overflow,Ee=D.overflowX,Ce=D.overflowY,ze=O.opacity,Ie=P.fontSize,Ae=P.fontFamily,Ne=P.fontWeight,Re=P.lineHeight,Le=P.textAlign,Fe=P.fontStyle,De=P.letterSpacing,Me=H.alignItems,Oe=H.alignContent,Pe=H.justifyItems,He=H.justifyContent,We=H.flexWrap,_e=H.flexDirection,je=H.flex,Ue=H.flexGrow,Ke=H.flexShrink,Ve=H.flexBasis,Ge=H.justifySelf,qe=H.alignSelf,Xe=H.order,Ye=_.gridGap,Je=_.gridColumnGap,Ze=_.gridRowGap,Qe=_.gridColumn,et=_.gridRow,tt=_.gridAutoFlow,rt=_.gridAutoColumns,ot=_.gridAutoRows,at=_.gridTemplateColumns,nt=_.gridTemplateRows,it=_.gridTemplateAreas,lt=_.gridArea,dt=U.borderWidth,st=U.borderStyle,ct=U.borderColor,gt=U.borderTop,ft=U.borderRight,ut=U.borderBottom,pt=U.borderLeft,bt=U.borderRadius,ht=V.backgroundImage,mt=V.backgroundSize,vt=V.backgroundPosition,xt=V.backgroundRepeat,yt=q.zIndex,wt=q.top,Bt=q.right,kt=q.bottom,$t=q.left,Tt=function(e){var t=e.prop,r=e.cssProperty,o=e.alias,a=e.key,n=e.transformValue,i=e.scale,l=e.properties,d={};return d[t]=R({properties:l,property:r||t,scale:a,defaultScale:i,transform:n}),o&&(d[o]=d[t]),I(d)},St=Object.freeze({__proto__:null,width:me,height:ve,minWidth:xe,minHeight:ye,maxWidth:we,maxHeight:Be,size:ke,verticalAlign:$e,display:Te,overflow:Se,overflowX:Ee,overflowY:Ce,opacity:ze,fontSize:Ie,fontFamily:Ae,fontWeight:Ne,lineHeight:Re,textAlign:Le,fontStyle:Fe,letterSpacing:De,alignItems:Me,alignContent:Oe,justifyItems:Pe,justifyContent:He,flexWrap:We,flexDirection:_e,flex:je,flexGrow:Ue,flexShrink:Ke,flexBasis:Ve,justifySelf:Ge,alignSelf:qe,order:Xe,gridGap:Ye,gridColumnGap:Je,gridRowGap:Ze,gridColumn:Qe,gridRow:et,gridAutoFlow:tt,gridAutoColumns:rt,gridAutoRows:ot,gridTemplateColumns:at,gridTemplateRows:nt,gridTemplateAreas:it,gridArea:lt,borderWidth:dt,borderStyle:st,borderColor:ct,borderTop:gt,borderRight:ft,borderBottom:ut,borderLeft:pt,borderRadius:bt,backgroundImage:ht,backgroundSize:mt,backgroundPosition:vt,backgroundRepeat:xt,zIndex:yt,top:wt,right:Bt,bottom:kt,left:$t,style:Tt,get:z,createParser:I,createStyleFunction:R,compose:F,system:L,margin:Q,padding:ee,space:te,color:O,layout:D,typography:P,flexbox:H,border:U,background:V,position:q,grid:_,shadow:re,boxShadow:re,textShadow:re,variant:ue,buttonStyle:pe,textStyle:be,colorStyle:he,borders:U});const{get:Et,compose:Ct,system:zt}=St,It=e=>{return t=e,void 0===(r=Et(x,e))&&(r=null),function(e){return z(e.theme,t,r)};var t,r},At=Ct(te,O,Te),Nt=Ct(P,zt({whiteSpace:{property:"whiteSpace"}}));function Rt(){return(Rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}Ct(U,re);const Lt=f`
|
2
|
-
* { box-sizing: border-box; }
|
3
|
-
body { margin: 0; }
|
4
|
-
table { border-collapse: collapse; }
|
5
|
-
|
6
|
-
[role="button"]:focus:not(:focus-visible):not(.focus-visible),
|
7
|
-
[role="tabpanel"][tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),
|
8
|
-
button:focus:not(:focus-visible):not(.focus-visible),
|
9
|
-
summary:focus:not(:focus-visible):not(.focus-visible),
|
10
|
-
a:focus:not(:focus-visible):not(.focus-visible) {
|
11
|
-
outline: none;
|
12
|
-
box-shadow: none;
|
13
|
-
}
|
14
|
-
|
15
|
-
[tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),
|
16
|
-
details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
17
|
-
outline: none;
|
18
|
-
}
|
19
|
-
`,Ft=g.div`
|
20
|
-
${Nt};
|
21
|
-
${At};
|
22
|
-
`;function Dt(t){const{children:r,...o}=t;return require("focus-visible"),e.createElement(Ft,Rt({},o,{"data-portal-root":!0}),e.createElement(Lt,null),r)}Dt.displayName="BaseStyles",Dt.defaultProps={color:"fg.default",fontFamily:"normal",lineHeight:"default"};var Mt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Ot}(e)}(e)};var Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Pt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Ht(e,t,r){return e.concat(t).map((function(e){return Pt(e,r)}))}function Wt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function _t(e,t){try{return t in e}catch(e){return!1}}function jt(e,t,r){var o={};return r.isMergeableObject(e)&&Wt(e).forEach((function(t){o[t]=Pt(e[t],r)})),Wt(t).forEach((function(a){(function(e,t){return _t(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(_t(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return Ut;var r=t.customMerge(e);return"function"==typeof r?r:Ut}(a,r)(e[a],t[a],r):o[a]=Pt(t[a],r))})),o}function Ut(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ht,r.isMergeableObject=r.isMergeableObject||Mt,r.cloneUnlessOtherwiseSpecified=Pt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):jt(e,t,r):Pt(t,r)}Ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Ut(e,r,t)}),{})};var Kt=Ut;const Vt=e.createContext({setColorMode:()=>null,setDayScheme:()=>null,setNightScheme:()=>null}),Gt=({children:t,...r})=>{var o,a,n,i,l,d,s,c;const{theme:g,colorMode:f,dayScheme:p,nightScheme:b}=qt(),h=null!==(o=null!==(a=r.theme)&&void 0!==a?a:g)&&void 0!==o?o:x,[m,v]=e.useState(null!==(n=null!==(i=r.colorMode)&&void 0!==i?i:f)&&void 0!==n?n:"day"),[y,w]=e.useState(null!==(l=null!==(d=r.dayScheme)&&void 0!==d?d:p)&&void 0!==l?l:"light"),[B,k]=e.useState(null!==(s=null!==(c=r.nightScheme)&&void 0!==c?c:b)&&void 0!==s?s:"dark"),$=function(e,t){switch(e){case"auto":return t;default:return e}}(m,function(){const[t,r]=e.useState(Yt);return e.useEffect((()=>{var e,t;const o=null===(e=window)||void 0===e||null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)");function a(e){const t=e.matches;r(t?"night":"day")}if(o){if(void 0!==o.addEventListener)return o.addEventListener("change",a),function(){o.removeEventListener("change",a)};if(void 0!==o.addListener)return o.addListener(a),function(){o.removeListener(a)}}}),[]),t}()),T=function(e,t,r){switch(e){case"day":return t;case"night":return r}}($,y,B),S=e.useMemo((()=>function(e,t){if(!e.colorSchemes)return e;if(!e.colorSchemes[t]){console.error(`\`${t}\` scheme not defined in \`theme.colorSchemes\``);const r=Object.keys(e.colorSchemes)[0];return Kt(e,e.colorSchemes[r])}return Kt(e,e.colorSchemes[t])}(h,T)),[h,T]);return e.useEffect((()=>{var e,t;v(null!==(e=null!==(t=r.colorMode)&&void 0!==t?t:f)&&void 0!==e?e:"day")}),[r.colorMode,f]),e.useEffect((()=>{var e,t;w(null!==(e=null!==(t=r.dayScheme)&&void 0!==t?t:p)&&void 0!==e?e:"light")}),[r.dayScheme,p]),e.useEffect((()=>{var e,t;k(null!==(e=null!==(t=r.nightScheme)&&void 0!==t?t:b)&&void 0!==e?e:"dark")}),[r.nightScheme,b]),e.createElement(Vt.Provider,{value:{theme:S,colorScheme:T,colorMode:m,resolvedColorMode:$,dayScheme:y,nightScheme:B,setColorMode:v,setDayScheme:w,setNightScheme:k}},e.createElement(u,{theme:S},t))};function qt(){return e.useContext(Vt)}function Xt(e,t){var r;const{colorScheme:o=""}=qt();return null!==(r=e[o])&&void 0!==r?r:t}function Yt(){var e,t,r;return"undefined"!=typeof window&&null!==(e=(t=window).matchMedia)&&void 0!==e&&null!==(r=e.call(t,"(prefers-color-scheme: dark)"))&&void 0!==r&&r.matches?"night":"day"}Gt.displayName="ThemeProvider";var Jt=Gt;var Zt=e=>fe(e.sx);var Qt=g.div(te,O,P,D,H,_,V,U,q,re,Zt);const er=g(Qt)``;er.defaultProps={borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2};var tr=er;const rr=g(Qt)``;rr.defaultProps={display:"flex"};var or=rr;const ar=g(Qt)``;ar.defaultProps={display:"grid"};var nr=ar;const ir=g(Qt)``;var lr=ir;const dr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"absolute",ref:r}))));dr.displayName="Absolute";const sr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"fixed",ref:r}))));sr.displayName="Fixed";const cr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"relative",ref:r}))));cr.displayName="Relative";const gr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"sticky",ref:r}))));function fr({ref:e,closeOnOutsideClick:n,defaultOpen:i,onClickOutside:l}){const[d,s]=t(i),c=r(null),g=null!=e?e:c,f=o((e=>{const{current:t}=g;e.target.closest("details")!==t&&(l&&l(e),e.defaultPrevented||s(!1))}),[g,s,l]);a((()=>{if(d&&n)return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}),[d,n,f]);const u=e=>{if(!e.defaultPrevented){const t=e.target;s(t.open)}};return{open:d,setOpen:s,getDetailsProps:()=>({onToggle:u,open:d,ref:g})}}function ur(){const e=r(new Set),t=o(((t,r,...o)=>{const a=window.setTimeout(t,r,...o);return e.current.add(a),a}),[]),n=o((t=>{clearTimeout(t),e.current.delete(t)}),[]);return a((()=>()=>{for(const t of e.current)clearTimeout(t)}),[]),{safeSetTimeout:t,safeClearTimeout:n}}gr.defaultProps={top:0,zIndex:1},gr.displayName="Sticky";function pr(e){if(!e.defaultPrevented)for(const t of Object.values(br).reverse())if(true===t(e)||e.defaultPrevented)break}const br={};let hr=0;const mr=({containerRef:e,ignoreClickRefs:t,onClickOutside:r})=>{const i=n((()=>hr++),[]),l=o((o=>{var a;return o instanceof MouseEvent&&o.button>0||(!(null===(a=e.current)||void 0===a||!a.contains(o.target))||(!(!t||!t.some((({current:e})=>null==e?void 0:e.contains(o.target))))||void r(o)))}),[e,t,r]);a((()=>(0===Object.keys(br).length&&document.addEventListener("mousedown",pr,{capture:!0}),function(e,t){br[e]=t}(i,l),()=>{!function(e){delete br[e]}(i),0===Object.keys(br).length&&document.removeEventListener("mousedown",pr,{capture:!0})})),[i,l])};function*vr(e,t={}){var r,o;const a=null!==(r=t.strict)&&void 0!==r&&r,n=null!==(o=t.onlyTabbable)&&void 0!==o&&o?yr:xr,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e instanceof HTMLElement&&n(e,a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let l=null;if(!t.reverse&&n(e,a)&&(yield e),t.reverse){let e=i.lastChild();for(;e;)l=e,e=i.lastChild()}else l=i.firstChild();for(;l instanceof HTMLElement;)yield l,l=t.reverse?i.previousNode():i.nextNode();t.reverse&&n(e,a)&&(yield e)}function xr(e,t=!1){const r=["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled,o=e.hidden,a=e instanceof HTMLInputElement&&"hidden"===e.type;if(r||o||a)return!1;if(t){const t=0===e.offsetWidth||0===e.offsetHeight,r=["hidden","collapse"].includes(getComputedStyle(e).visibility),o=0===e.getClientRects().length;if(t||r||o)return!1}return null!=e.getAttribute("tabindex")||!(e instanceof HTMLAnchorElement&&null==e.getAttribute("href"))&&-1!==e.tabIndex}function yr(e,t=!1){return xr(e,t)&&"-1"!==e.getAttribute("tabindex")}function wr({initialFocusRef:e,returnFocusRef:t,containerRef:r,preventFocusOnOpen:o}){a((()=>{if(o)return;const a=t.current;if(e&&e.current)e.current.focus();else if(r.current){const e=vr(r.current).next().value;null==e||e.focus()}return function(){null==a||a.focus()}}),[e,t,r,o])}const Br=[];function kr(e){if("Escape"===e.key&&!e.defaultPrevented)for(let t=Br.length-1;t>=0&&(Br[t](e),!e.defaultPrevented);--t);}const $r=(e,t=[e])=>{const r=o(e,t);a((()=>(0===Br.length&&document.addEventListener("keydown",kr),Br.push(r),()=>{Br.splice(Br.findIndex((e=>e===r)),1),0===Br.length&&document.removeEventListener("keydown",kr)})),[r])};function Tr(t){const r=e.useRef(null);return null!=t?t:r}const Sr=({overlayRef:e,returnFocusRef:t,initialFocusRef:r,onEscape:o,ignoreClickRefs:a,onClickOutside:n,preventFocusOnOpen:i})=>{const l=Tr(e);return wr({containerRef:l,returnFocusRef:t,initialFocusRef:r,preventFocusOnOpen:i}),mr({containerRef:l,ignoreClickRefs:a,onClickOutside:n}),$r(o),{ref:l}};let Er,Cr=!1;function zr(){}try{const e=Object.create({},{signal:{get(){Cr=!0}}});window.addEventListener("test",zr,e),window.removeEventListener("test",zr,e)}catch(Vd){}function Ir(){Cr||(!function(){if("undefined"==typeof window)return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,o){return"object"==typeof o&&"signal"in o&&o.signal instanceof AbortSignal&&e.call(o.signal,"abort",(()=>{this.removeEventListener(t,r,o)})),e.call(this,t,r,o)}}(),Cr=!0)}function Ar(){return void 0===Er&&(Er=/^mac/i.test(window.navigator.platform)),Er}let Nr,Rr=1e4;function Lr(){return"__primer_id_"+Rr++}Ir(),function(e){e[e.ArrowHorizontal=1]="ArrowHorizontal",e[e.ArrowVertical=2]="ArrowVertical",e[e.JK=4]="JK",e[e.HL=8]="HL",e[e.HomeAndEnd=16]="HomeAndEnd",e[e.PageUpDown=256]="PageUpDown",e[e.WS=32]="WS",e[e.AD=64]="AD",e[e.Tab=128]="Tab",e[e.ArrowAll=e.ArrowHorizontal|e.ArrowVertical]="ArrowAll",e[e.HJKL=e.HL|e.JK]="HJKL",e[e.WASD=e.WS|e.AD]="WASD",e[e.All=e.ArrowAll|e.HJKL|e.HomeAndEnd|e.PageUpDown|e.WASD|e.Tab]="All"}(Nr||(Nr={}));const Fr={ArrowLeft:Nr.ArrowHorizontal,ArrowDown:Nr.ArrowVertical,ArrowUp:Nr.ArrowVertical,ArrowRight:Nr.ArrowHorizontal,h:Nr.HL,j:Nr.JK,k:Nr.JK,l:Nr.HL,a:Nr.AD,s:Nr.WS,w:Nr.WS,d:Nr.AD,Tab:Nr.Tab,Home:Nr.HomeAndEnd,End:Nr.HomeAndEnd,PageUp:Nr.PageUpDown,PageDown:Nr.PageUpDown},Dr={ArrowLeft:"previous",ArrowDown:"next",ArrowUp:"previous",ArrowRight:"next",h:"previous",j:"next",k:"previous",l:"next",a:"previous",s:"next",w:"previous",d:"next",Tab:"next",Home:"start",End:"end",PageUp:"start",PageDown:"end"};function Mr(e){const t=Dr[e.key];if("Tab"===e.key&&e.shiftKey)return"previous";const r=Ar();if(r&&e.metaKey||!r&&e.ctrlKey){if("ArrowLeft"===e.key||"ArrowUp"===e.key)return"start";if("ArrowRight"===e.key||"ArrowDown"===e.key)return"end"}return t}function Or(e,t){var r,o,a,n;const i=[],l=new WeakMap,d=null!==(r=null==t?void 0:t.bindKeys)&&void 0!==r?r:(null!=t&&t.getNextFocusable?Nr.ArrowAll:Nr.ArrowVertical)|Nr.HomeAndEnd,s=null!==(o=null==t?void 0:t.focusOutBehavior)&&void 0!==o?o:"stop",c=null!==(a=null==t?void 0:t.focusInStrategy)&&void 0!==a?a:"previous",g=null==t?void 0:t.activeDescendantControl,f=null==t?void 0:t.onActiveDescendantChanged;let u;function p(){return i[0]}function b(e,t=!1){const r=u;u=e,g?e&&document.activeElement===g?h(r,e,t):m():(r&&r!==e&&l.has(r)&&r.setAttribute("tabindex","-1"),null==e||e.setAttribute("tabindex","0"))}function h(t,r,o=!1){r.id||r.setAttribute("id",Lr()),t&&t!==r&&t.removeAttribute("data-is-active-descendant"),g&&(o||g.getAttribute("aria-activedescendant")!==r.id)&&(g.setAttribute("aria-activedescendant",r.id),e.setAttribute("data-has-active-descendant",r.id),r.setAttribute("data-is-active-descendant",o?"activated-directly":"activated-indirectly"),null==f||f(r,t,o))}function m(t=u){"first"===c&&(u=void 0),null==g||g.removeAttribute("aria-activedescendant"),e.removeAttribute("data-has-active-descendant"),null==t||t.removeAttribute("data-is-active-descendant"),null==f||f(void 0,t,!1)}function v(...e){const r=e.filter((e=>{var r,o;return null===(r=null==t||null===(o=t.focusableElementFilter)||void 0===o?void 0:o.call(t,e))||void 0===r||r}));if(0===r.length)return;const o=i.findIndex((e=>(e.compareDocumentPosition(r[0])&Node.DOCUMENT_POSITION_PRECEDING)>0));i.splice(-1===o?i.length:o,0,...r);for(const e of r)l.has(e)||l.set(e,e.getAttribute("tabindex")),e.setAttribute("tabindex","-1");u||b(p())}function x(...e){for(const t of e){const e=i.indexOf(t);e>=0&&i.splice(e,1);const r=l.get(t);if(void 0!==r&&(null===r?t.removeAttribute("tabindex"):t.setAttribute("tabindex",r),l.delete(t)),t===u){b(p())}}}v(...vr(e)),b(p());new MutationObserver((e=>{for(const t of e)for(const e of t.removedNodes)e instanceof HTMLElement&&x(...vr(e));for(const t of e)for(const e of t.addedNodes)e instanceof HTMLElement&&v(...vr(e))})).observe(e,{subtree:!0,childList:!0});const y=new AbortController,w=null!==(n=null==t?void 0:t.abortSignal)&&void 0!==n?n:y.signal;let B;w.addEventListener("abort",(()=>{x(...i)})),e.addEventListener("mousedown",(e=>{e.target instanceof HTMLElement&&e.target!==document.activeElement&&(B=i.indexOf(e.target))}),{signal:w}),g?(e.addEventListener("focusin",(e=>{e.target instanceof HTMLElement&&i.includes(e.target)&&(g.focus(),b(e.target))})),e.addEventListener("mousemove",(({target:e})=>{if(!(e instanceof Node))return;const t=i.find((t=>t.contains(e)));t&&b(t)}),{signal:w,capture:!0}),g.addEventListener("focusin",(()=>{u?h(void 0,u):b(p())})),g.addEventListener("focusout",(()=>{m()}))):e.addEventListener("focusin",(t=>{if(t.target instanceof HTMLElement)if(void 0!==B)B>=0&&i[B]!==u&&b(i[B]),B=void 0;else if("previous"===c)b(t.target);else if("closest"===c||"first"===c){if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e="previous"===$?i.length-1:0,t=i[e];return void(null==t||t.focus())}b(t.target)}else if("function"==typeof c)if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e=c(t.relatedTarget);if((e?i.indexOf(e):-1)>=0&&e instanceof HTMLElement)return void e.focus();console.warn("Element requested is not a known focusable element.")}else b(t.target);$=void 0}),{signal:w});const k=null!=g?g:e;let $;return"closest"===c&&document.addEventListener("keydown",(e=>{"Tab"===e.key&&($=Mr(e))}),{signal:w,capture:!0}),k.addEventListener("keydown",(r=>{if(r.key in Dr){const a=Fr[r.key];if(!r.defaultPrevented&&(a&d)>0&&!function(e,t){const r=e.key,o=[...r].length,a=t instanceof HTMLInputElement&&"text"===t.type||t instanceof HTMLTextAreaElement;if(a&&(1===o||"Home"===r||"End"===r))return!0;if(t instanceof HTMLSelectElement){if(1===o)return!0;if("ArrowDown"===r&&Ar()&&!e.metaKey)return!0;if("ArrowDown"===r&&!Ar()&&e.altKey)return!0}if(t instanceof HTMLTextAreaElement&&("PageUp"===r||"PageDown"===r))return!0;if(a){const e=t,o=0===e.selectionStart&&0===e.selectionEnd,a=e.selectionStart===e.value.length&&e.selectionEnd===e.value.length;if("ArrowLeft"===r&&!o)return!0;if("ArrowRight"===r&&!a)return!0;if(e instanceof HTMLTextAreaElement){if("ArrowUp"===r&&!o)return!0;if("ArrowDown"===r&&!a)return!0}}return!1}(r,document.activeElement)){const a=Mr(r);let n;var o;if(null!=t&&t.getNextFocusable)n=t.getNextFocusable(a,null!==(o=document.activeElement)&&void 0!==o?o:void 0,r);if(!n){const t=function(){if(!u)return 0;const t=i.indexOf(u);return-1!==t?t:u===e?-1:0}();let o=t;"previous"===a?o-=1:"start"===a?o=0:"next"===a?o+=1:o=i.length-1,o<0&&(o="wrap"===s&&"Tab"!==r.key?i.length-1:0),o>=i.length&&(o="wrap"===s&&"Tab"!==r.key?0:i.length-1),t!==o&&(n=i[o])}g?b(n||u,!0):n&&($=a,n.focus()),("Tab"!==r.key||n)&&r.preventDefault()}}}),{signal:w}),y}var Pr=p(["position:relative;display:inline-block;padding:6px 16px;font-family:inherit;font-weight:",";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:",";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"],It("fontWeights.bold"),It("radii.2"));const Hr=ue({variants:{small:{p:"4px 12px",fontSize:0},medium:{fontSize:1},large:{fontSize:2,p:"10px 20px"}}}),Wr=g.button.attrs((({disabled:e,onClick:t})=>({onClick:e?void 0:t})))`
|
23
|
-
${Pr}
|
24
|
-
${Hr}
|
25
|
-
`;Wr.defaultProps={variant:"medium"};var _r=Wr;var jr=g(_r)`
|
26
|
-
color: ${It("colors.btn.text")};
|
27
|
-
background-color: ${It("colors.btn.bg")};
|
28
|
-
border: 1px solid ${It("colors.btn.border")};
|
29
|
-
box-shadow: ${It("shadows.btn.shadow")}, ${It("shadows.btn.insetShadow")}};
|
30
|
-
|
31
|
-
&:hover {
|
32
|
-
background-color: ${It("colors.btn.hoverBg")};
|
33
|
-
border-color: ${It("colors.btn.hoverBorder")};
|
34
|
-
}
|
35
|
-
|
36
|
-
// focus must come before :active so that the active box shadow overrides
|
37
|
-
&:focus {
|
38
|
-
border-color: ${It("colors.btn.focusBorder")};
|
39
|
-
box-shadow: ${It("shadows.btn.focusShadow")};
|
40
|
-
}
|
41
|
-
|
42
|
-
&:active {
|
43
|
-
background-color: ${It("colors.btn.selectedBg")};
|
44
|
-
box-shadow: ${It("shadows.btn.shadowActive")};
|
45
|
-
}
|
46
|
-
|
47
|
-
&:disabled {
|
48
|
-
color: ${It("colors.primer.fg.disabled")};
|
49
|
-
background-color: ${It("colors.btn.bg")};
|
50
|
-
border-color: ${It("colors.btn.border")};
|
51
|
-
}
|
52
|
-
|
53
|
-
${Zt};
|
54
|
-
`;var Ur=g(_r)`
|
55
|
-
color: ${It("colors.btn.danger.text")};
|
56
|
-
border: 1px solid ${It("colors.btn.border")};
|
57
|
-
background-color: ${It("colors.btn.bg")};
|
58
|
-
box-shadow: ${It("shadows.btn.shadow")};
|
59
|
-
|
60
|
-
&:hover {
|
61
|
-
color: ${It("colors.btn.danger.hoverText")};
|
62
|
-
background-color: ${It("colors.btn.danger.hoverBg")};
|
63
|
-
border-color: ${It("colors.btn.danger.hoverBorder")};
|
64
|
-
box-shadow: ${It("shadows.btn.danger.hoverShadow")};
|
65
|
-
}
|
66
|
-
// focus must come before :active so that the active box shadow overrides
|
67
|
-
&:focus {
|
68
|
-
border-color: ${It("colors.btn.danger.focusBorder")};
|
69
|
-
box-shadow: ${It("shadows.btn.danger.focusShadow")};
|
70
|
-
}
|
71
|
-
|
72
|
-
&:active {
|
73
|
-
color: ${It("colors.btn.danger.selectedText")};
|
74
|
-
background-color: ${It("colors.btn.danger.selectedBg")};
|
75
|
-
box-shadow: ${It("shadows.btn.danger.selectedShadow")};
|
76
|
-
border-color: ${It("colors.btn.danger.selectedBorder")};
|
77
|
-
}
|
78
|
-
|
79
|
-
&:disabled {
|
80
|
-
color: ${It("colors.btn.danger.disabledText")};
|
81
|
-
background-color: ${It("colors.btn.danger.disabledBg")};
|
82
|
-
border-color: ${It("colors.btn.danger.disabledBorder")};
|
83
|
-
}
|
84
|
-
|
85
|
-
${Zt};
|
86
|
-
`;const Kr=g(Qt)`
|
87
|
-
vertical-align: middle;
|
88
|
-
|
89
|
-
&& > * {
|
90
|
-
position: relative;
|
91
|
-
border-right-width: 0;
|
92
|
-
border-radius: 0;
|
93
|
-
|
94
|
-
:first-child {
|
95
|
-
border-top-left-radius: ${It("radii.2")};
|
96
|
-
border-bottom-left-radius: ${It("radii.2")};
|
97
|
-
margin-right: 0;
|
98
|
-
}
|
99
|
-
|
100
|
-
:not(:first-child) {
|
101
|
-
margin-left: 0;
|
102
|
-
margin-right: 0;
|
103
|
-
}
|
104
|
-
|
105
|
-
:last-child {
|
106
|
-
border-right-width: 1px;
|
107
|
-
border-top-right-radius: ${It("radii.2")};
|
108
|
-
border-bottom-right-radius: ${It("radii.2")};
|
109
|
-
}
|
110
|
-
|
111
|
-
:focus,
|
112
|
-
:active,
|
113
|
-
:hover {
|
114
|
-
border-right-width: 1px;
|
115
|
-
+ * {
|
116
|
-
border-left-width: 0;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
:focus,
|
121
|
-
:active {
|
122
|
-
z-index: 1;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
${Zt};
|
127
|
-
`;Kr.defaultProps={display:"inline-block"};var Vr=Kr;var Gr=g(_r)`
|
128
|
-
color: ${It("colors.btn.outline.text")};
|
129
|
-
border: 1px solid ${It("colors.btn.border")};
|
130
|
-
background-color: ${It("colors.btn.bg")};
|
131
|
-
box-shadow: ${It("shadows.btn.shadow")};
|
132
|
-
|
133
|
-
&:hover {
|
134
|
-
color: ${It("colors.btn.outline.hoverText")};
|
135
|
-
background-color: ${It("colors.btn.outline.hoverBg")};
|
136
|
-
border-color: ${It("colors.btn.outline.hoverBorder")};
|
137
|
-
box-shadow: ${It("shadows.btn.outline.hoverShadow")};
|
138
|
-
}
|
139
|
-
// focus must come before :active so that the active box shadow overrides
|
140
|
-
&:focus {
|
141
|
-
border-color: ${It("colors.btn.outline.focusBorder")};
|
142
|
-
box-shadow: ${It("shadows.btn.outline.focusShadow")};
|
143
|
-
}
|
144
|
-
|
145
|
-
&:active {
|
146
|
-
color: ${It("colors.btn.outline.selectedText")};
|
147
|
-
background-color: ${It("colors.btn.outline.selectedBg")};
|
148
|
-
box-shadow: ${It("shadows.btn.outline.selectedShadow")};
|
149
|
-
border-color: ${It("colors.btn.outline.selectedBorder")};
|
150
|
-
}
|
151
|
-
|
152
|
-
&:disabled {
|
153
|
-
color: ${It("colors.btn.outline.disabledText")};
|
154
|
-
background-color: ${It("colors.btn.outline.disabledBg")};
|
155
|
-
border-color: ${It("colors.btn.border")};
|
156
|
-
}
|
157
|
-
|
158
|
-
${Zt};
|
159
|
-
`;var qr=g(_r)`
|
160
|
-
color: ${It("colors.btn.primary.text")};
|
161
|
-
border: 1px solid ${It("colors.btn.primary.border")};
|
162
|
-
background-color: ${It("colors.btn.primary.bg")};
|
163
|
-
box-shadow: ${It("shadows.btn.primary.shadow")};
|
164
|
-
|
165
|
-
&:hover {
|
166
|
-
color: ${It("colors.btn.primary.hoverText")};
|
167
|
-
background-color: ${It("colors.btn.primary.hoverBg")};
|
168
|
-
border-color: ${It("colors.btn.primary.hoverBorder")};
|
169
|
-
box-shadow: ${It("shadows.btn.primary.hoverShadow")};
|
170
|
-
}
|
171
|
-
// focus must come before :active so that the active box shadow overrides
|
172
|
-
&:focus {
|
173
|
-
border-color: ${It("colors.btn.primary.focusBorder")};
|
174
|
-
box-shadow: ${It("shadows.btn.primary.focusShadow")};
|
175
|
-
}
|
176
|
-
|
177
|
-
&:active {
|
178
|
-
background-color: ${It("colors.btn.primary.selectedBg")};
|
179
|
-
box-shadow: ${It("shadows.btn.primary.selectedShadow")};
|
180
|
-
}
|
181
|
-
|
182
|
-
&:disabled {
|
183
|
-
color: ${It("colors.btn.primary.disabledText")};
|
184
|
-
background-color: ${It("colors.btn.primary.disabledBg")};
|
185
|
-
border-color: ${It("colors.btn.primary.disabledBorder")};
|
186
|
-
}
|
187
|
-
|
188
|
-
${Zt};
|
189
|
-
`;var Xr=g(_r)`
|
190
|
-
color: ${It("colors.accent.fg")};
|
191
|
-
background-color: transparent;
|
192
|
-
border: 0;
|
193
|
-
border-radius: ${It("radii.2")};
|
194
|
-
box-shadow: none;
|
195
|
-
|
196
|
-
&:disabled {
|
197
|
-
color: ${It("colors.primer.fg.disabled")};
|
198
|
-
}
|
199
|
-
&:focus {
|
200
|
-
box-shadow: ${It("shadows.btn.focusShadow")};
|
201
|
-
}
|
202
|
-
&:hover {
|
203
|
-
background-color: ${It("colors.btn.hoverBg")};
|
204
|
-
}
|
205
|
-
&:active {
|
206
|
-
background-color: ${It("colors.btn.selectedBg")};
|
207
|
-
}
|
208
|
-
|
209
|
-
${Zt}
|
210
|
-
`;var Yr=g.summary`
|
211
|
-
display: inline-block;
|
212
|
-
padding: 0;
|
213
|
-
font-size: ${It("fontSizes.1")};
|
214
|
-
color: ${It("colors.fg.muted")};
|
215
|
-
text-decoration: none;
|
216
|
-
white-space: nowrap;
|
217
|
-
cursor: pointer;
|
218
|
-
user-select: none;
|
219
|
-
background-color: transparent;
|
220
|
-
border: 0;
|
221
|
-
appearance: none; // Corrects inability to style clickable input types in iOS.
|
222
|
-
|
223
|
-
&:hover {
|
224
|
-
text-decoration: underline;
|
225
|
-
}
|
226
|
-
|
227
|
-
&:disabled {
|
228
|
-
&,
|
229
|
-
&:hover {
|
230
|
-
color: ${It("colors.primer.fg.disabled")};
|
231
|
-
cursor: default;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
|
235
|
-
&:after {
|
236
|
-
display: inline-block;
|
237
|
-
margin-left: ${It("space.1")};
|
238
|
-
width: 0;
|
239
|
-
height: 0;
|
240
|
-
vertical-align: -2px;
|
241
|
-
content: '';
|
242
|
-
border: 4px solid transparent;
|
243
|
-
border-top-color: currentcolor;
|
244
|
-
}
|
245
|
-
${Zt};
|
246
|
-
`,Jr={small:16,medium:32,large:64};function Zr(e){var t=e["aria-label"],r=e.className,o=e.fill,a=void 0===o?"currentColor":o,n=e.size,i=e.verticalAlign,l=e.svgDataByHeight,d=Jr[n]||n,s=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(l),d),c=l[s].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+c+" "+s,width:d*(c/s),height:d,fill:a,style:{display:"inline-block",userSelect:"none",verticalAlign:i,overflow:"visible"},dangerouslySetInnerHTML:{__html:l[s].path}}}var Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function eo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"></path>'}}})))}function to(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 110-.005v.004zm.45 1.9a2.25 2.25 0 10-1.95.218v5.256a2.25 2.25 0 101.5 0V7.123A5.735 5.735 0 009.25 9h1.378a2.251 2.251 0 100-1.5H9.25a4.25 4.25 0 01-3.8-2.346zM12.75 9a.75.75 0 100-1.5.75.75 0 000 1.5zm-8.5 4.5a.75.75 0 100-1.5.75.75 0 000 1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.75 21a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 19.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM5.75 6.5a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 4.75a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM18.25 15a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM15 13.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0z"></path><path fill-rule="evenodd" d="M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 015 7.25h1.5z"></path><path fill-rule="evenodd" d="M5.75 16.75A.75.75 0 006.5 16V8A.75.75 0 005 8v8c0 .414.336.75.75.75z"></path>'}}})))}function ro(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M4.75 3a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 4.75a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zM4.75 17.5a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm17.75-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM16 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0z"></path><path fill-rule="evenodd" d="M4.75 7.25A.75.75 0 015.5 8v8A.75.75 0 014 16V8a.75.75 0 01.75-.75zm8.655-5.53a.75.75 0 010 1.06L12.185 4h4.065A3.75 3.75 0 0120 7.75v8.75a.75.75 0 01-1.5 0V7.75a2.25 2.25 0 00-2.25-2.25h-4.064l1.22 1.22a.75.75 0 01-1.061 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 011.06 0z"></path>'}}})))}function oo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"></path><path fill-rule="evenodd" d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-1.5 0a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"></path>'},24:{width:24,path:'<path d="M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function ao(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M6.749.097a8.054 8.054 0 012.502 0 .75.75 0 11-.233 1.482 6.554 6.554 0 00-2.036 0A.75.75 0 016.749.097zM4.345 1.693A.75.75 0 014.18 2.74a6.542 6.542 0 00-1.44 1.44.75.75 0 01-1.212-.883 8.042 8.042 0 011.769-1.77.75.75 0 011.048.166zm7.31 0a.75.75 0 011.048-.165 8.04 8.04 0 011.77 1.769.75.75 0 11-1.214.883 6.542 6.542 0 00-1.439-1.44.75.75 0 01-.165-1.047zM.955 6.125a.75.75 0 01.624.857 6.554 6.554 0 000 2.036.75.75 0 01-1.482.233 8.054 8.054 0 010-2.502.75.75 0 01.858-.624zm14.09 0a.75.75 0 01.858.624 8.057 8.057 0 010 2.502.75.75 0 01-1.482-.233 6.55 6.55 0 000-2.036.75.75 0 01.624-.857zm-13.352 5.53a.75.75 0 011.048.165 6.542 6.542 0 001.439 1.44.75.75 0 01-.883 1.212 8.04 8.04 0 01-1.77-1.769.75.75 0 01.166-1.048zm12.614 0a.75.75 0 01.165 1.048 8.038 8.038 0 01-1.769 1.77.75.75 0 11-.883-1.214 6.543 6.543 0 001.44-1.439.75.75 0 011.047-.165zm-8.182 3.39a.75.75 0 01.857-.624 6.55 6.55 0 002.036 0 .75.75 0 01.233 1.482 8.057 8.057 0 01-2.502 0 .75.75 0 01-.624-.858z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M10.157 1.154a11.07 11.07 0 013.686 0 .75.75 0 01-.25 1.479 9.568 9.568 0 00-3.186 0 .75.75 0 01-.25-1.48zM6.68 3.205a.75.75 0 01-.177 1.046A9.558 9.558 0 004.25 6.503a.75.75 0 01-1.223-.87 11.058 11.058 0 012.606-2.605.75.75 0 011.046.177zm10.64 0a.75.75 0 011.046-.177 11.058 11.058 0 012.605 2.606.75.75 0 11-1.222.869 9.558 9.558 0 00-2.252-2.252.75.75 0 01-.177-1.046zM2.018 9.543a.75.75 0 01.615.864 9.568 9.568 0 000 3.186.75.75 0 01-1.48.25 11.07 11.07 0 010-3.686.75.75 0 01.865-.614zm19.964 0a.75.75 0 01.864.614 11.066 11.066 0 010 3.686.75.75 0 01-1.479-.25 9.56 9.56 0 000-3.186.75.75 0 01.615-.864zM3.205 17.32a.75.75 0 011.046.177 9.558 9.558 0 002.252 2.252.75.75 0 11-.87 1.223 11.058 11.058 0 01-2.605-2.606.75.75 0 01.177-1.046zm17.59 0a.75.75 0 01.176 1.046 11.057 11.057 0 01-2.605 2.605.75.75 0 11-.869-1.222 9.558 9.558 0 002.252-2.252.75.75 0 011.046-.177zM9.543 21.982a.75.75 0 01.864-.615 9.56 9.56 0 003.186 0 .75.75 0 01.25 1.48 11.066 11.066 0 01-3.686 0 .75.75 0 01-.614-.865z"></path>'}}})))}function no(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M8 9.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path><path fill-rule="evenodd" d="M8 0a8 8 0 100 16A8 8 0 008 0zM1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0zM12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm0 13a2 2 0 100-4 2 2 0 000 4z"></path>'}}})))}function io(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M11.75 4.5a.75.75 0 01.75.75V11h5.75a.75.75 0 010 1.5H12.5v5.75a.75.75 0 01-1.5 0V12.5H5.25a.75.75 0 010-1.5H11V5.25a.75.75 0 01.75-.75z"></path>'}}})))}function lo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zM6.92 6.085c.081-.16.19-.299.34-.398.145-.097.371-.187.74-.187.28 0 .553.087.738.225A.613.613 0 019 6.25c0 .177-.04.264-.077.318a.956.956 0 01-.277.245c-.076.051-.158.1-.258.161l-.007.004a7.728 7.728 0 00-.313.195 2.416 2.416 0 00-.692.661.75.75 0 001.248.832.956.956 0 01.276-.245 6.3 6.3 0 01.26-.16l.006-.004c.093-.057.204-.123.313-.195.222-.149.487-.355.692-.662.214-.32.329-.702.329-1.15 0-.76-.36-1.348-.863-1.725A2.76 2.76 0 008 4c-.631 0-1.155.16-1.572.438-.413.276-.68.638-.849.977a.75.75 0 101.342.67z"></path>'},24:{width:24,path:'<path d="M10.97 8.265a1.45 1.45 0 00-.487.57.75.75 0 01-1.341-.67c.2-.402.513-.826.997-1.148C10.627 6.69 11.244 6.5 12 6.5c.658 0 1.369.195 1.934.619a2.45 2.45 0 011.004 2.006c0 1.033-.513 1.72-1.027 2.215-.19.183-.399.358-.579.508l-.147.123a4.329 4.329 0 00-.435.409v1.37a.75.75 0 11-1.5 0v-1.473c0-.237.067-.504.247-.736.22-.28.486-.517.718-.714l.183-.153.001-.001c.172-.143.324-.27.47-.412.368-.355.569-.676.569-1.136a.953.953 0 00-.404-.806C12.766 8.118 12.384 8 12 8c-.494 0-.814.121-1.03.265zM13 17a1 1 0 11-2 0 1 1 0 012 0z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function so(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>'},24:{width:24,path:'<path d="M11.646 15.146L5.854 9.354a.5.5 0 01.353-.854h11.586a.5.5 0 01.353.854l-5.793 5.792a.5.5 0 01-.707 0z"></path>'}}})))}function co(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path>'}}})))}eo.defaultProps={className:"octicon octicon-check",size:16,verticalAlign:"text-bottom"},to.defaultProps={className:"octicon octicon-git-merge",size:16,verticalAlign:"text-bottom"},ro.defaultProps={className:"octicon octicon-git-pull-request",size:16,verticalAlign:"text-bottom"},oo.defaultProps={className:"octicon octicon-issue-closed",size:16,verticalAlign:"text-bottom"},ao.defaultProps={className:"octicon octicon-issue-draft",size:16,verticalAlign:"text-bottom"},no.defaultProps={className:"octicon octicon-issue-opened",size:16,verticalAlign:"text-bottom"},io.defaultProps={className:"octicon octicon-plus",size:16,verticalAlign:"text-bottom"},lo.defaultProps={className:"octicon octicon-question",size:16,verticalAlign:"text-bottom"},so.defaultProps={className:"octicon octicon-triangle-down",size:16,verticalAlign:"text-bottom"},co.defaultProps={className:"octicon octicon-x",size:16,verticalAlign:"text-bottom"};const go=g.button`
|
247
|
-
border: none;
|
248
|
-
padding: 0;
|
249
|
-
background: transparent;
|
250
|
-
outline: none;
|
251
|
-
cursor: pointer;
|
252
|
-
border-radius: ${It("radii.2")};
|
253
|
-
color: ${It("colors.fg.muted")};
|
254
|
-
|
255
|
-
&:focus {
|
256
|
-
box-shadow: ${It("shadows.btn.focusShadow")};
|
257
|
-
}
|
258
|
-
|
259
|
-
&:hover {
|
260
|
-
color: ${It("colors.accent.fg")};
|
261
|
-
}
|
262
|
-
${Zt};
|
263
|
-
`;var fo=i(((t,r)=>e.createElement(go,Rt({ref:r,"aria-label":"Close"},t),e.createElement(co,null))));const uo={"outside-top":["outside-bottom","outside-right","outside-left","outside-bottom"],"outside-bottom":["outside-top","outside-right","outside-left","outside-bottom"],"outside-left":["outside-right","outside-bottom","outside-top","outside-bottom"],"outside-right":["outside-left","outside-bottom","outside-top","outside-bottom"]};function po(e,t,r={}){const o=function(e){let t=e.parentNode;for(;null!==t;){if(t instanceof HTMLElement&&"static"!==getComputedStyle(t).position)return t;t=t.parentNode}return document.body}(e),a=function(e){let t=e;for(;null!==t&&t!==document.body;){if("visible"!==getComputedStyle(t).overflow)break;t=t.parentNode}const r=t!==document.body&&t instanceof HTMLElement?t:document.body,o=r.getBoundingClientRect(),a=getComputedStyle(r),[n,i,l,d]=[a.borderTopWidth,a.borderLeftWidth,a.borderRightWidth,a.borderBottomWidth].map((e=>parseInt(e,10)||0));return{top:o.top+n,left:o.left+i,width:o.width-l-i,height:Math.max(o.height-n-d,r===document.body?window.innerHeight:-1/0)}}(o),n=getComputedStyle(o),i=o.getBoundingClientRect(),[l,d]=[n.borderTopWidth,n.borderLeftWidth].map((e=>parseInt(e,10)||0));return function(e,t,r,o,{side:a,align:n,allowOutOfBounds:i,anchorOffset:l,alignmentOffset:d}){const s={top:e.top-t.top,left:e.left-t.left,width:e.width,height:e.height};let c=yo(r,o,a,n,l,d),g=a;if(c.top-=t.top,c.left-=t.left,!i){const i=uo[a];let f=0;if(i){let e=a;for(;f<i.length&&wo(e,c,s,r);){const a=i[f++];e=a,c=yo(r,o,a,n,l,d),c.top-=t.top,c.left-=t.left,g=a}}c.top<s.top&&(c.top=s.top),c.left<s.left&&(c.left=s.left),c.left+r.width>e.width+s.left&&(c.left=e.width+s.left-r.width),i&&f<i.length&&c.top+r.height>e.height+s.top&&(c.top=e.height+s.top-r.height)}return{...c,anchorSide:g}}(a,{top:i.top+l,left:i.left+d},e.getBoundingClientRect(),t instanceof Element?t.getBoundingClientRect():t,function(e={}){var t,r,o,a,n;const i=null!==(t=e.side)&&void 0!==t?t:bo,l=null!==(r=e.align)&&void 0!==r?r:ho;return{side:i,align:l,anchorOffset:null!==(o=e.anchorOffset)&&void 0!==o?o:"inside-center"===i?0:mo,alignmentOffset:null!==(a=e.alignmentOffset)&&void 0!==a?a:"center"!==l&&i.startsWith("inside")?vo:0,allowOutOfBounds:null!==(n=e.allowOutOfBounds)&&void 0!==n?n:xo}}(r))}const bo="outside-bottom",ho="start",mo=4,vo=4,xo=!1;function yo(e,t,r,o,a,n){const i=t.left+t.width,l=t.top+t.height;let d=-1,s=-1;return"outside-top"===r?d=t.top-a-e.height:"outside-bottom"===r?d=l+a:"outside-left"===r?s=t.left-a-e.width:"outside-right"===r&&(s=i+a),"outside-top"!==r&&"outside-bottom"!==r||(s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n),"outside-left"!==r&&"outside-right"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),"inside-top"===r?d=t.top+a:"inside-bottom"===r?d=l-a-e.height:"inside-left"===r?s=t.left+a:"inside-right"===r?s=i-a-e.width:"inside-center"===r&&(s=(i+t.left)/2-e.width/2+a),"inside-top"===r||"inside-bottom"===r?s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n:"inside-left"!==r&&"inside-right"!==r&&"inside-center"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),{top:d,left:s}}function wo(e,t,r,o){return"outside-top"===e||"outside-bottom"===e?t.top<r.top||t.top+o.height>r.height+r.top:t.left<r.left||t.left+o.width>r.width+r.left}var Bo="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l:a;function ko(t,r=[]){const o=Tr(null==t?void 0:t.floatingElementRef),a=Tr(null==t?void 0:t.anchorElementRef),[n,i]=e.useState(void 0),l=e.useCallback((()=>{o.current instanceof Element&&a.current instanceof Element?i(po(o.current,a.current,t)):i(void 0)}),[o,a,...r]);var d;return Bo(l,[l]),Bo((()=>{const e=new window.ResizeObserver((()=>d()));return e.observe(document.documentElement),()=>{e.disconnect()}}),[d=l]),{floatingElementRef:o,anchorElementRef:a,position:n}}Ir();const $o=[];let To;function So(e,t=!1){return vr(e,{reverse:t,strict:!0,onlyTabbable:!0}).next().value}function Eo(e,t,r){const o=new AbortController,a=null!=r?r:o.signal;let n;function i(r){if(r instanceof HTMLElement&&document.contains(e)){if(e.contains(r))return void(n=r);if(n&&yr(n)&&e.contains(n))return void n.focus();if(t&&e.contains(t))return void t.focus();{const t=null===e.getAttribute("tabindex");return t&&e.setAttribute("tabindex","-1"),e.focus(),void(t&&e.addEventListener("blur",(()=>e.removeAttribute("tabindex")),{once:!0}))}}}e.setAttribute("data-focus-trap","active");const l=function(e){const t=new AbortController;return e.addEventListener("abort",(()=>{t.abort()})),t}(a);if(e.addEventListener("keydown",(t=>{if("Tab"!==t.key||t.defaultPrevented)return;const{target:r}=t,o=So(e),a=So(e,!0);r===o&&t.shiftKey?(t.preventDefault(),null==a||a.focus()):r!==a||t.shiftKey||(t.preventDefault(),null==o||o.focus())}),{signal:l.signal}),To){const e=To;To.container.setAttribute("data-focus-trap","suspended"),To.controller.abort(),$o.push(e)}l.signal.addEventListener("abort",(()=>{To=void 0})),a.addEventListener("abort",(()=>{e.removeAttribute("data-focus-trap");const t=$o.findIndex((t=>t.container===e));t>=0&&$o.splice(t,1),function(){const e=$o.pop();e&&Eo(e.container,e.initialFocus,e.originalSignal)}()})),document.addEventListener("focus",(e=>{i(e.target)}),{signal:l.signal,capture:!0}),i(document.activeElement),To={container:e,controller:l,initialFocus:t,originalSignal:a};const d=$o.findIndex((t=>t.container===e));if(d>=0&&$o.splice(d,1),!r)return o}function Co(t,r=[]){const o=Tr(null==t?void 0:t.containerRef),a=Tr(null==t?void 0:t.initialFocusRef),n=null==t?void 0:t.disabled,i=e.useRef(),l=e.useRef(null);function d(){var e;null===(e=i.current)||void 0===e||e.abort(),null!=t&&t.restoreFocusOnCleanUp&&l.current instanceof HTMLElement&&(l.current.focus(),l.current=null)}return l.current||null!=t&&t.disabled||(l.current=document.activeElement),e.useEffect((()=>{if(o.current instanceof HTMLElement){var e;if(!n)return i.current=Eo(o.current,null!==(e=a.current)&&void 0!==e?e:void 0),()=>{d()};d()}}),[o,a,n,...r]),{containerRef:o,initialFocusRef:a}}function zo({icon:t,...r}){return e.createElement(t,r)}zo.displayName="Octicon";const Io=g(zo)`
|
264
|
-
${Zt}
|
265
|
-
`;Io.defaultProps={size:16};var Ao=Io;function No(t={},r=[]){const o=Tr(t.containerRef),n=!!t.activeDescendantFocus,i=Tr("boolean"!=typeof t.activeDescendantFocus&&t.activeDescendantFocus?t.activeDescendantFocus:void 0),l=t.disabled,d=e.useRef();return a((()=>{if(o.current instanceof HTMLElement&&(!n||i.current instanceof HTMLElement)){if(!l){var e;const r={...t,activeDescendantControl:null!==(e=i.current)&&void 0!==e?e:void 0};return d.current=Or(o.current,r),()=>{var e;null===(e=d.current)||void 0===e||e.abort()}}var r;null===(r=d.current)||void 0===r||r.abort()}}),[l,...r]),{containerRef:o,activeDescendantControlRef:i}}const Ro={};function Lo(){const e=Ro.__default__;if(!e||!document.body.contains(e)){let e=document.getElementById("__primerPortalRoot__");if(!(e instanceof Element)){e=document.createElement("div"),e.setAttribute("id","__primerPortalRoot__"),e.style.position="absolute",e.style.top="0",e.style.left="0";const t=document.querySelector("[data-portal-root]");t?t.appendChild(e):document.body.appendChild(e)}!function(e,t="__default__"){Ro[t]=e}(e)}}var Fo=({children:t,onMount:r,containerName:o})=>{const a=document.createElement("div");a.style.position="relative",a.style.zIndex="1";const n=e.useRef(a);return Bo((()=>{let e=o;void 0===e&&(e="__default__",Lo());const t=Ro[e];if(!t)throw new Error(`Portal container '${o}' is not yet registered. Container must be registered with registerPortal before use.`);const a=n.current;return t.appendChild(a),null==r||r(),()=>{t.removeChild(a)}}),[n]),v(t,n.current)};function Do(...e){const t=r(null);return Bo((()=>{function r(t=null){for(const r of e){if(!r)return;"function"==typeof r?r(t):r.current=t}}return r(t.current),()=>{r(t.current)}}),[...e,t.current]),t}const Mo={prefix:String(Math.round(1e10*Math.random())),current:0},Oo=e.createContext(Mo);function Po(t){let r=d(Oo),o=n((()=>({prefix:r===Mo?"":r.prefix+"-"+ ++r.current,current:0})),[r]);return e.createElement(Oo.Provider,{value:o},t.children)}let Ho=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function Wo(e){let t=d(Oo);return t!==Mo||Ho||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),n((()=>e||"react-aria"+t.prefix+"-"+ ++t.current),[e])}const _o=g("div")`
|
266
|
-
position: fixed;
|
267
|
-
top: 0;
|
268
|
-
left: 0;
|
269
|
-
bottom: 0;
|
270
|
-
right: 0;
|
271
|
-
display: flex;
|
272
|
-
align-items: center;
|
273
|
-
justify-content: center;
|
274
|
-
background-color: rgba(0, 0, 0, 0.4);
|
275
|
-
animation: dialog-backdrop-appear ${"200ms"} ${It("animation.easeOutCubic")};
|
276
|
-
|
277
|
-
@keyframes dialog-backdrop-appear {
|
278
|
-
0% {
|
279
|
-
opacity: 0;
|
280
|
-
}
|
281
|
-
100% {
|
282
|
-
opacity: 1;
|
283
|
-
}
|
284
|
-
}
|
285
|
-
`,jo={small:"480px",large:"640px",auto:"auto"},Uo={small:"296px",medium:"320px",large:"480px",xlarge:"640px"},Ko=g.div`
|
286
|
-
display: flex;
|
287
|
-
flex-direction: column;
|
288
|
-
background-color: ${It("colors.canvas.overlay")};
|
289
|
-
box-shadow: ${It("shadows.overlay.shadow")};
|
290
|
-
min-width: 296px;
|
291
|
-
max-width: calc(100vw - 64px);
|
292
|
-
max-height: calc(100vh - 64px);
|
293
|
-
width: ${e=>{var t;return Uo[null!==(t=e.width)&&void 0!==t?t:"xlarge"]}};
|
294
|
-
height: ${e=>{var t;return jo[null!==(t=e.height)&&void 0!==t?t:"auto"]}};
|
295
|
-
border-radius: 12px;
|
296
|
-
opacity: 1;
|
297
|
-
animation: overlay--dialog-appear ${"200ms"} ${It("animation.easeOutCubic")};
|
298
|
-
|
299
|
-
@keyframes overlay--dialog-appear {
|
300
|
-
0% {
|
301
|
-
opacity: 0;
|
302
|
-
transform: scale(0.5);
|
303
|
-
}
|
304
|
-
100% {
|
305
|
-
opacity: 1;
|
306
|
-
transform: scale(1);
|
307
|
-
}
|
308
|
-
}
|
309
|
-
|
310
|
-
${Zt};
|
311
|
-
`,Vo=({dialogLabelId:t,title:r,subtitle:a,dialogDescriptionId:n,onClose:i})=>{const l=o((()=>{i("close-button")}),[i]);return e.createElement(aa.Header,null,e.createElement(Qt,{display:"flex"},e.createElement(Qt,{display:"flex",px:2,py:"6px",flexDirection:"column",flexGrow:1},e.createElement(aa.Title,{id:t},null!=r?r:"Dialog"),a&&e.createElement(aa.Subtitle,{id:n},a)),e.createElement(aa.CloseButton,{onClose:l})))};Vo.displayName="DefaultHeader";const Go=({children:t})=>e.createElement(aa.Body,null,t);Go.displayName="DefaultBody";const qo=({footerButtons:t})=>{const{containerRef:r}=No({bindKeys:Nr.ArrowHorizontal|Nr.Tab,focusInStrategy:"closest"});return t?e.createElement(aa.Footer,{ref:r},e.createElement(aa.Buttons,{buttons:t})):null},Xo=e.forwardRef(((t,o)=>{const{title:a="Dialog",subtitle:n="",renderHeader:i,renderBody:l,renderFooter:d,onClose:s,role:c="dialog",width:g="xlarge",height:f="auto",footerButtons:u=[]}=t,p=Wo(),b=Wo(),h=r(null);for(const e of u)e.autoFocus&&(e.ref=h);const m={...t,title:a,subtitle:n,role:c,dialogLabelId:p,dialogDescriptionId:b},v=r(null),x=Do(v,o),y=r(null);Co({containerRef:v,restoreFocusOnCleanUp:!0,initialFocusRef:h}),$r((e=>{s("escape"),e.preventDefault()}),[s]);const w=(null!=i?i:Vo)(m),B=(null!=l?l:Go)(m),k=(null!=d?d:qo)(m);return e.createElement(e.Fragment,null,e.createElement(Fo,null,e.createElement(_o,{ref:y},e.createElement(Ko,{width:g,height:f,ref:x,role:c,"aria-labelledby":p,"aria-describedby":b},w,B,k))))}));Xo.displayName="Dialog";const Yo=g.div.attrs({as:"header"})`
|
312
|
-
box-shadow: 0 1px 0 ${It("colors.border.default")};
|
313
|
-
padding: ${It("space.2")};
|
314
|
-
z-index: 1;
|
315
|
-
flex-shrink: 0;
|
316
|
-
`,Jo=g.div`
|
317
|
-
font-size: ${It("fontSizes.1")};
|
318
|
-
font-weight: ${It("fontWeights.bold")};
|
319
|
-
|
320
|
-
${Zt};
|
321
|
-
`,Zo=g.div`
|
322
|
-
font-size: ${It("fontSizes.0")};
|
323
|
-
margin-top: ${It("space.1")};
|
324
|
-
color: ${It("colors.fg.muted")};
|
325
|
-
|
326
|
-
${Zt};
|
327
|
-
`,Qo=g.div`
|
328
|
-
flex-grow: 1;
|
329
|
-
overflow: auto;
|
330
|
-
padding: ${It("space.3")};
|
331
|
-
|
332
|
-
${Zt};
|
333
|
-
`,ea=g.div.attrs({as:"footer"})`
|
334
|
-
box-shadow: 0 -1px 0 ${It("colors.border.default")};
|
335
|
-
padding: ${It("space.3")};
|
336
|
-
display: flex;
|
337
|
-
flex-flow: wrap;
|
338
|
-
justify-content: flex-end;
|
339
|
-
z-index: 1;
|
340
|
-
flex-shrink: 0;
|
341
|
-
|
342
|
-
button {
|
343
|
-
margin-left: ${It("space.1")};
|
344
|
-
&:first-child {
|
345
|
-
margin-left: 0;
|
346
|
-
}
|
347
|
-
}
|
348
|
-
|
349
|
-
${Zt};
|
350
|
-
`,ta={normal:jr,primary:qr,danger:Ur},ra=g(jr)`
|
351
|
-
border-radius: 4px;
|
352
|
-
background: transparent;
|
353
|
-
border: 0;
|
354
|
-
vertical-align: middle;
|
355
|
-
color: ${It("colors.fg.muted")};
|
356
|
-
padding: ${It("space.2")};
|
357
|
-
align-self: flex-start;
|
358
|
-
line-height: normal;
|
359
|
-
box-shadow: none;
|
360
|
-
`,oa=({onClose:t})=>e.createElement(ra,{"aria-label":"Close",onClick:t},e.createElement(Ao,{icon:co}));oa.displayName="CloseButton";const aa=Object.assign(Xo,{Header:Yo,Title:Jo,Subtitle:Zo,Body:Qo,Footer:ea,Buttons:({buttons:r})=>{var o;const n=Tr(null===(o=r.find((e=>e.autoFocus)))||void 0===o?void 0:o.ref);let i=0;const[l,d]=t(0);return a((()=>{var e;1===l?null===(e=n.current)||void 0===e||e.focus():d(l+1)}),[n,l]),e.createElement(e.Fragment,null,r.map(((t,r)=>{const{content:o,buttonType:a="normal",autoFocus:l=!1,...d}=t,s=ta[a];return e.createElement(s,Rt({key:r},d,{variant:a,ref:l&&0===i?(i++,n):null}),o)})))},CloseButton:oa}),na=g.header`
|
361
|
-
padding: ${It("space.2")};
|
362
|
-
display: flex;
|
363
|
-
flex-direction: row;
|
364
|
-
`,ia=g(Qt)`
|
365
|
-
font-size: ${It("fontSizes.3")};
|
366
|
-
font-weight: ${It("fontWeights.bold")};
|
367
|
-
padding: 6px ${It("space.2")};
|
368
|
-
flex-grow: 1;
|
369
|
-
`,la=({title:t,onClose:r,dialogLabelId:a})=>{const n=o((()=>{r("close-button")}),[r]);return e.createElement(na,null,e.createElement(ia,{id:a},t),e.createElement(aa.CloseButton,{onClose:n}))};la.displayName="ConfirmationHeader";const da=g(Qt)`
|
370
|
-
font-size: ${It("fontSizes.1")};
|
371
|
-
padding: 0 ${It("space.3")} ${It("space.3")} ${It("space.3")};
|
372
|
-
color: ${It("colors.fg.muted")};
|
373
|
-
flex-grow: 1;
|
374
|
-
`,sa=({children:t})=>e.createElement(da,null,t);sa.displayName="ConfirmationBody";const ca=g(Qt)`
|
375
|
-
display: grid;
|
376
|
-
grid-auto-flow: column;
|
377
|
-
grid-auto-columns: max-content;
|
378
|
-
grid-gap: ${It("space.2")};
|
379
|
-
align-items: end;
|
380
|
-
justify-content: end;
|
381
|
-
padding: ${It("space.1")} ${It("space.3")} ${It("space.3")};
|
382
|
-
`,ga=({footerButtons:t})=>{const{containerRef:r}=No({bindKeys:Nr.ArrowHorizontal|Nr.Tab,focusInStrategy:"closest"});return e.createElement(ca,{ref:r},e.createElement(aa.Buttons,{buttons:null!=t?t:[]}))};ga.displayName="ConfirmationFooter";const fa=t=>{const{onClose:r,title:a,cancelButtonContent:n="Cancel",confirmButtonContent:i="OK",confirmButtonType:l="normal",children:d}=t,s=[{content:n,onClick:o((()=>{r("cancel")}),[r])},{content:i,buttonType:l,onClick:o((()=>{r("confirm")}),[r]),autoFocus:!0}];return e.createElement(aa,{onClose:r,title:a,footerButtons:s,role:"alertdialog",width:"medium",renderHeader:la,renderBody:sa,renderFooter:ga},d)};function ua(){const{theme:t,colorMode:r,dayScheme:a,nightScheme:n}=qt();return o((o=>async function(t,r){const{content:o,...a}=r;return new Promise((r=>{const n=document.createElement("div");m.render(e.createElement(Gt,t,e.createElement(fa,Rt({},a,{onClose:e=>{m.unmountComponentAtNode(n),r("confirm"===e)}}),o)),n)}))}({theme:t,colorMode:r,dayScheme:a,nightScheme:n},o)),[t,r,a,n])}fa.displayName="ConfirmationDialog";const pa=g.div`
|
383
|
-
{
|
384
|
-
/* 6px vertical padding + 20px line height = 32px total height
|
385
|
-
*
|
386
|
-
* TODO: When rem-based spacing on a 4px scale lands, replace
|
387
|
-
* hardcoded '6px' with 'calc((${It("space.s32")} - ${It("space.20")}) / 2)'.
|
388
|
-
*/
|
389
|
-
}
|
390
|
-
padding: 6px ${It("space.3")};
|
391
|
-
font-size: ${It("fontSizes.0")};
|
392
|
-
font-weight: ${It("fontWeights.bold")};
|
393
|
-
color: ${It("colors.fg.muted")};
|
394
|
-
|
395
|
-
${({variant:e})=>"filled"===e&&p(["background:",";margin:"," 0;border-top:1px solid ",";border-bottom:1px solid ",";&:first-child{margin-top:0;}"],It("colors.canvas.subtle"),It("space.2"),It("colors.neutral.muted"),It("colors.neutral.muted"))}
|
396
|
-
|
397
|
-
${Zt}
|
398
|
-
`;function ba({variant:t="subtle",title:r,auxiliaryText:o,children:a,...n}){return e.createElement(pa,Rt({role:"heading",variant:t},n),r,o&&e.createElement("span",null,o))}ba.displayName="Header";const ha=g.div`
|
399
|
-
${Zt}
|
400
|
-
`;function ma({header:t,items:r,...o}){return e.createElement(ha,o,t&&e.createElement(ba,t),r)}ma.displayName="Group";const va=g.div`
|
401
|
-
display: ${e=>e.inline?"inline-block":"inherit"};
|
402
|
-
overflow: hidden;
|
403
|
-
text-overflow: ellipsis;
|
404
|
-
vertical-align: ${e=>e.inline?"top":"initial"};
|
405
|
-
white-space: nowrap;
|
406
|
-
${we}
|
407
|
-
${e=>e.expandable?"&:hover { max-width: 10000px; }":""}
|
408
|
-
${Zt};
|
409
|
-
`;va.defaultProps={expandable:!1,inline:!1,maxWidth:125};var xa=va;const ya=g.div`
|
410
|
-
height: 1px;
|
411
|
-
background: ${It("colors.border.muted")};
|
412
|
-
margin-top: calc(${It("space.2")} - 1px);
|
413
|
-
margin-bottom: ${It("space.2")};
|
414
|
-
`;function wa(){return e.createElement(ya,null)}wa.displayName="Divider",wa.renderItem=wa;const Ba=(e="default",t)=>{if(t)return{color:It("colors.primer.fg.disabled"),iconColor:It("colors.primer.fg.disabled"),annotationColor:It("colors.primer.fg.disabled"),hoverCursor:"default"};switch(e){case"danger":return{color:It("colors.danger.fg"),iconColor:It("colors.danger.fg"),annotationColor:It("colors.fg.muted"),hoverCursor:"pointer",hoverBg:It("colors.actionListItem.danger.hoverBg"),focusBg:It("colors.actionListItem.danger.activeBg"),hoverText:It("colors.actionListItem.danger.hoverText")};default:return{color:It("colors.fg.default"),iconColor:It("colors.fg.muted"),annotationColor:It("colors.fg.muted"),hoverCursor:"pointer",hoverBg:It("colors.actionListItem.default.hoverBg"),focusBg:It("colors.actionListItem.default.activeBg")}}},ka=g.div`
|
415
|
-
display: flex;
|
416
|
-
min-width: 0;
|
417
|
-
|
418
|
-
/* Required for dividers */
|
419
|
-
position: relative;
|
420
|
-
flex-grow: 1;
|
421
|
-
`,$a=g.div`
|
422
|
-
align-items: baseline;
|
423
|
-
display: flex;
|
424
|
-
min-width: 0;
|
425
|
-
flex-direction: var(--main-content-flex-direction);
|
426
|
-
flex-grow: 1;
|
427
|
-
`,Ta=g.div`
|
428
|
-
/* 6px vertical padding + 20px line height = 32px total height
|
429
|
-
*
|
430
|
-
* TODO: When rem-based spacing on a 4px scale lands, replace
|
431
|
-
* hardcoded '6px' with 'calc((${It("space.s32")} - ${It("space.20")}) / 2)'.
|
432
|
-
*/
|
433
|
-
padding: 6px ${It("space.2")};
|
434
|
-
display: flex;
|
435
|
-
border-radius: ${It("radii.2")};
|
436
|
-
color: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).color};
|
437
|
-
// 2 frames on a 60hz monitor
|
438
|
-
transition: background 33.333ms linear;
|
439
|
-
text-decoration: none;
|
440
|
-
|
441
|
-
@media (hover: hover) and (pointer: fine) {
|
442
|
-
:hover {
|
443
|
-
// allow override in case another item in the list is active/focused
|
444
|
-
background: var(
|
445
|
-
--item-hover-bg-override,
|
446
|
-
${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverBg}
|
447
|
-
);
|
448
|
-
color: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverText};
|
449
|
-
cursor: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverCursor};
|
450
|
-
}
|
451
|
-
}
|
452
|
-
|
453
|
-
// Item dividers
|
454
|
-
:not(:first-of-type):not(${ya} + &):not(${pa} + &) {
|
455
|
-
margin-top: ${({showDivider:e})=>e?"1px":"0"};
|
456
|
-
|
457
|
-
${ka}::before {
|
458
|
-
content: ' ';
|
459
|
-
display: block;
|
460
|
-
position: absolute;
|
461
|
-
width: 100%;
|
462
|
-
top: -7px;
|
463
|
-
// NB: This 'get' won’t execute if it’s moved into the arrow function below.
|
464
|
-
border: 0 solid ${It("colors.border.muted")};
|
465
|
-
border-top-width: ${({showDivider:e})=>e?"1px":"0"};
|
466
|
-
}
|
467
|
-
}
|
468
|
-
|
469
|
-
// Item dividers should not be visible:
|
470
|
-
// - above Hovered
|
471
|
-
&:hover ${ka}::before,
|
472
|
-
// - below Hovered
|
473
|
-
// '*' instead of '&' because '&' maps to separate class names depending on 'variant'
|
474
|
-
:hover + * ${ka}::before {
|
475
|
-
// allow override in case another item in the list is active/focused
|
476
|
-
border-color: var(--item-hover-divider-border-color-override, transparent) !important;
|
477
|
-
}
|
478
|
-
|
479
|
-
// - above Focused
|
480
|
-
&:focus ${ka}::before,
|
481
|
-
// - below Focused
|
482
|
-
// '*' instead of '&' because '&' maps to separate class names depending on 'variant'
|
483
|
-
:focus + * ${ka}::before,
|
484
|
-
// - above Active Descendent
|
485
|
-
&[${"data-is-active-descendant"}] ${ka}::before,
|
486
|
-
// - below Active Descendent
|
487
|
-
[${"data-is-active-descendant"}] + & ${ka}::before {
|
488
|
-
// '!important' because all the ':not's above give higher specificity
|
489
|
-
border-color: transparent !important;
|
490
|
-
}
|
491
|
-
|
492
|
-
// Active Descendant
|
493
|
-
&[${"data-is-active-descendant"}='${"activated-directly"}'] {
|
494
|
-
background: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg};
|
495
|
-
}
|
496
|
-
&[${"data-is-active-descendant"}='${"activated-indirectly"}'] {
|
497
|
-
background: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverBg};
|
498
|
-
}
|
499
|
-
|
500
|
-
&:focus {
|
501
|
-
background: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg};
|
502
|
-
outline: none;
|
503
|
-
}
|
504
|
-
|
505
|
-
&:active {
|
506
|
-
background: ${({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg};
|
507
|
-
}
|
508
|
-
|
509
|
-
${Zt}
|
510
|
-
`,Sa=g.span``,Ea=g.div`
|
511
|
-
// Match visual height to adjacent text line height.
|
512
|
-
// TODO: When rem-based spacing on a 4px scale lands, replace
|
513
|
-
// hardcoded '20px' with '${It("space.s20")}'.
|
514
|
-
height: 20px;
|
515
|
-
width: ${It("space.3")};
|
516
|
-
margin-right: ${It("space.2")};
|
517
|
-
display: flex;
|
518
|
-
justify-content: center;
|
519
|
-
align-items: center;
|
520
|
-
flex-shrink: 0;
|
521
|
-
`,Ca=g(Ea)`
|
522
|
-
svg {
|
523
|
-
fill: ${({variant:e,disabled:t})=>Ba(e,t).iconColor};
|
524
|
-
font-size: ${It("fontSizes.0")};
|
525
|
-
}
|
526
|
-
`,za=g(Ca)`
|
527
|
-
display: flex;
|
528
|
-
flex-direction: column;
|
529
|
-
justify-content: center;
|
530
|
-
`,Ia=g(Ca)`
|
531
|
-
color: ${({variant:e,disabled:t})=>Ba(e,t).annotationColor}};
|
532
|
-
margin-left: ${It("space.2")};
|
533
|
-
margin-right: 0;
|
534
|
-
width: auto;
|
535
|
-
div:nth-child(2) {
|
536
|
-
margin-left: ${It("space.2")};
|
537
|
-
}
|
538
|
-
`,Aa=g.span`
|
539
|
-
color: ${It("colors.fg.muted")};
|
540
|
-
font-size: ${It("fontSizes.0")};
|
541
|
-
// TODO: When rem-based spacing on a 4px scale lands, replace
|
542
|
-
// hardcoded '16px' with '${It("lh-12")}'.
|
543
|
-
line-height: 16px;
|
544
|
-
margin-left: var(--description-container-margin-left);
|
545
|
-
min-width: 0;
|
546
|
-
flex-grow: 1;
|
547
|
-
flex-basis: var(--description-container-flex-basis);
|
548
|
-
`,Na=g.svg`
|
549
|
-
rect {
|
550
|
-
fill: ${({selected:e})=>It(e?"colors.accent.fg":"colors.canvas.default")};
|
551
|
-
stroke: ${({selected:e})=>It(e?"colors.accent.fg":"colors.border.default")};
|
552
|
-
shape-rendering: auto; // this is a workaround to override global style in github/github, see primer/react#1666
|
553
|
-
}
|
554
|
-
path {
|
555
|
-
fill: ${It("colors.fg.onEmphasis")};
|
556
|
-
boxshadow: ${It("shadow.small")};
|
557
|
-
opacity: ${({selected:e})=>e?1:0};
|
558
|
-
}
|
559
|
-
`,Ra=e.forwardRef(((t,r)=>{const{as:a,text:n,description:i,descriptionVariant:l="inline",selected:d,selectionVariant:s,leadingVisual:c,trailingIcon:g,trailingVisual:f,trailingText:u,variant:p="default",showDivider:b,disabled:h,onAction:m,onKeyPress:v,children:x,onClick:y,id:w,...B}=t,k=Wo(),$=Wo(),T=o((e=>{h||(null==v||v(e),!e.defaultPrevented&&[" ","Enter"].includes(e.key)&&(null==m||m(t,e)))}),[m,h,t,v]),S=o((e=>{h||(null==y||y(e),e.defaultPrevented||null==m||m(t,e))}),[m,h,t,y]),{theme:E}=qt();return e.createElement(Ta,Rt({ref:r,as:a,tabIndex:h?void 0:-1,variant:p,showDivider:b,"aria-selected":d,"aria-labelledby":n?k:void 0,"aria-describedby":i?$:void 0},B,{"data-id":w,onKeyPress:T,onClick:S}),!!d===d&&e.createElement(Ea,null,"multiple"===s?e.createElement(e.Fragment,null,e.createElement(Na,{selected:d,width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e.createElement("rect",{x:"2",y:"2",width:"12",height:"12",rx:"4"}),e.createElement("path",{fillRule:"evenodd",strokeWidth:"0",d:"M4.03231 8.69862C3.84775 8.20646 4.49385 7.77554 4.95539 7.77554C5.41693 7.77554 6.80154 9.85246 6.80154 9.85246C6.80154 9.85246 10.2631 4.314 10.4938 4.08323C10.7246 3.85246 11.8785 4.08323 11.4169 5.00631C11.0081 5.82388 7.26308 11.4678 7.26308 11.4678C7.26308 11.4678 6.80154 12.1602 6.34 11.4678C5.87846 10.7755 4.21687 9.19077 4.03231 8.69862Z"}))):d&&e.createElement(eo,{fill:null==E?void 0:E.colors.fg.default})),c&&e.createElement(za,{variant:p,disabled:h},e.createElement(c,null)),e.createElement(ka,null,e.createElement($a,{style:{"--main-content-flex-direction":"inline"===l?"row":"column"}},x,n?e.createElement(Sa,{id:k},n):null,i?e.createElement(Aa,{id:$,style:{"--description-container-margin-left":"inline"===l?It("space.2")(E):0,"--description-container-flex-basis":"inline"===l?0:"auto"}},"block"===l?i:e.createElement(xa,{title:i,inline:!0,maxWidth:"100%"},i)):null),f?e.createElement(Ia,{variant:p,disabled:h},"function"==typeof f?e.createElement(f,null):f):g||u?e.createElement(Ia,{variant:p,disabled:h},u,g&&e.createElement(g,null)):null))}));Ra.displayName="ActionList.Item";const La=g.div`
|
560
|
-
font-size: ${It("fontSizes.1")};
|
561
|
-
/* 14px font-size * 1.428571429 = 20px line height
|
562
|
-
*
|
563
|
-
* TODO: When rem-based spacing on a 4px scale lands, replace
|
564
|
-
* hardcoded '20px'
|
565
|
-
*/
|
566
|
-
line-height: 20px;
|
567
|
-
|
568
|
-
&[${"data-has-active-descendant"}], &:focus-within {
|
569
|
-
--item-hover-bg-override: none;
|
570
|
-
--item-hover-divider-border-color-override: ${It("colors.border.muted")};
|
571
|
-
}
|
572
|
-
`;const Fa=e.forwardRef(((t,r)=>{const{firstGroupStyle:o,lastGroupStyle:a,headerStyle:n,itemStyle:i}=function(e="inset"){switch(e){case"full":return{headerStyle:{paddingX:It("space.2")},itemStyle:{borderRadius:0}};default:return{firstGroupStyle:{marginTop:It("space.2")},lastGroupStyle:{marginBottom:It("space.2")},itemStyle:{marginX:It("space.2")}}}}(t.variant),l=(r,o,a)=>{var n,l,d;const s="renderItem"in r&&r.renderItem||t.renderItem||Ra,c=null!==(n=null!==(l="key"in r?r.key:void 0)&&void 0!==l?l:null===(d=r.id)||void 0===d?void 0:d.toString())&&void 0!==n?n:a.toString();return e.createElement(s,Rt({showDivider:t.showItemDividers,selectionVariant:t.selectionVariant},r,{key:c,sx:{...i,...r.sx},item:o}))};let d=[];if(function(e){return"groupMetadata"in e}(t)){const e=t.groupMetadata.reduce(((e,t)=>e.set(t.groupId,t)),new Map);for(const r of t.items){var s,c,g;const t=e.get(r.groupId),o=null!==(s=null==t||null===(c=t.items)||void 0===c?void 0:c.length)&&void 0!==s?s:0;e.set(r.groupId,{...t,items:[...null!==(g=null==t?void 0:t.items)&&void 0!==g?g:[],l({showDivider:null==t?void 0:t.showItemDividers,...t&&"renderItem"in t&&{renderItem:t.renderItem},...r},r,o)]})}d=[...e.values()]}else d=[{items:t.items.map(((e,t)=>l(e,e,t))),groupId:"0"}];return e.createElement(La,Rt({},t,{ref:r}),d.map((({header:r,...i},l)=>{const s="filled"===(null==r?void 0:r.variant),c=l>0&&!s;return e.createElement(e.Fragment,{key:i.groupId},c?e.createElement(wa,{key:`${i.groupId}-divider`}):null,(r=>{var o;const a=(null!==(o="renderGroup"in r&&r.renderGroup)&&void 0!==o?o:t.renderGroup)||ma;return e.createElement(a,Rt({},r,{key:r.groupId}))})({sx:{...0===l&&o,...l===d.length-1&&a,...l>0&&!c&&{mt:2}},...r&&{header:{...r,sx:{...n,...r.sx}}},...i}))})))}));Fa.displayName="ActionList";const Da=Object.assign(Fa,{Group:ma,Item:Ra,Divider:wa}),Ma={xsmall:"192px",small:"256px",medium:"320px",large:"432px",xlarge:"600px",auto:"auto",initial:"auto"},Oa={small:"256px",medium:"320px",large:"480px",xlarge:"640px",xxlarge:"960px",auto:"auto"};const Pa=g.div`
|
573
|
-
background-color: ${It("colors.canvas.overlay")};
|
574
|
-
box-shadow: ${It("shadows.overlay.shadow")};
|
575
|
-
position: absolute;
|
576
|
-
min-width: 192px;
|
577
|
-
max-width: 640px;
|
578
|
-
height: ${e=>Ma[e.height||"auto"]};
|
579
|
-
max-height: ${e=>e.maxHeight&&Ma[e.maxHeight]};
|
580
|
-
width: ${e=>Oa[e.width||"auto"]};
|
581
|
-
border-radius: 12px;
|
582
|
-
overflow: hidden;
|
583
|
-
animation: overlay-appear ${200}ms ${It("animation.easeOutCubic")};
|
584
|
-
|
585
|
-
@keyframes overlay-appear {
|
586
|
-
0% {
|
587
|
-
opacity: 0;
|
588
|
-
}
|
589
|
-
100% {
|
590
|
-
opacity: 1;
|
591
|
-
}
|
592
|
-
}
|
593
|
-
visibility: var(--styled-overlay-visibility);
|
594
|
-
:focus {
|
595
|
-
outline: none;
|
596
|
-
}
|
597
|
-
${Zt};
|
598
|
-
`,Ha=e.forwardRef((({onClickOutside:t,role:o="none",initialFocusRef:n,returnFocusRef:i,ignoreClickRefs:l,onEscape:d,visibility:s="visible",height:c,top:g,left:f,anchorSide:u,portalContainerName:p,preventFocusOnOpen:b,...h},m)=>{const v=r(null),x=Do(v,m),{theme:y}=qt(),w=parseInt(It("space.2")(y).replace("px","")),B=It("animation.easeOutCubic")(y);return Sr({overlayRef:v,returnFocusRef:i,onEscape:d,ignoreClickRefs:l,onClickOutside:t,initialFocusRef:n,preventFocusOnOpen:b}),a((()=>{var e;"initial"===c&&null!==(e=x.current)&&void 0!==e&&e.clientHeight&&(x.current.style.height=`${x.current.clientHeight}px`)}),[c,x]),Bo((()=>{var e;const{x:t,y:r}=function(e){return null!=e&&e.endsWith("bottom")?{x:0,y:-1}:null!=e&&e.endsWith("top")?{x:0,y:1}:null!=e&&e.endsWith("right")?{x:-1,y:0}:null!=e&&e.endsWith("left")?{x:1,y:0}:{x:0,y:0}}(u);(t||r)&&null!==(e=v.current)&&void 0!==e&&e.animate&&"hidden"!==s&&v.current.animate({transform:[`translate(${w*t}px, ${w*r}px)`,"translate(0, 0)"]},{duration:200,easing:B})}),[u,w,B,s]),e.createElement(Fo,{containerName:p},e.createElement(Pa,Rt({height:c,role:o},h,{ref:x,style:{top:`${g||0}px`,left:`${f||0}px`,"--styled-overlay-visibility":s}})))}));Ha.defaultProps={height:"auto",width:"auto"};var Wa=Ha;const _a=({renderAnchor:n,anchorRef:i,children:l,open:d,onOpen:s,onClose:c,height:g,width:f,overlayProps:u,focusTrapSettings:p,focusZoneSettings:b,side:h,align:m})=>{const v=Tr(i),[x,y]=function(){const[e,a]=t(null),n=r(null);n.current=e;const i=o((e=>{n.current=e,a(e)}),[n]);return[n,i]}(),w=Wo(),B=o((()=>null==c?void 0:c("click-outside")),[c]),k=o((()=>null==c?void 0:c("escape")),[c]),$=o((e=>{e.defaultPrevented||!d&&["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(null==s||s("anchor-key-press"),e.preventDefault())}),[d,s]),T=o((e=>{e.defaultPrevented||0!==e.button||(d?null==c||c("anchor-click"):null==s||s("anchor-click"))}),[d,s,c]),{position:S}=ko({anchorElementRef:v,floatingElementRef:x,side:h,align:m},[x.current]);return a((()=>{!d&&x.current&&y(null)}),[d,x,y]),No({containerRef:x,disabled:!d||!S,...b}),Co({containerRef:x,disabled:!d||!S,...p}),e.createElement(e.Fragment,null,n&&n({ref:v,id:w,"aria-labelledby":w,"aria-haspopup":"true",tabIndex:0,onClick:T,onKeyDown:$}),d?e.createElement(Wa,Rt({returnFocusRef:v,onClickOutside:B,ignoreClickRefs:[v],onEscape:k,ref:y,role:"none",visibility:S?"visible":"hidden",height:g,width:f,top:(null==S?void 0:S.top)||0,left:(null==S?void 0:S.left)||0,anchorSide:null==S?void 0:S.anchorSide},u),l):null)};function ja(e,r,a){const[n,i]=t(a);return[null!=e?e:n,o((e=>{i(e),r&&r(e)}),[r])]}_a.displayName="AnchoredOverlay",_a.defaultProps={side:"outside-bottom",align:"start"};const Ua=t=>e.createElement(Ra,Rt({role:"menuitem"},t));Ua.displayName="ActionMenuItem",Ua.displayName="ActionMenu.Item";const Ka=({anchorContent:t,renderAnchor:r=(t=>e.createElement(jr,t)),anchorRef:a,onAction:i,open:l,setOpen:d,overlayProps:s,items:c,...g})=>{const[f,u]=ja(l,d,!1),p=Tr(a),b=o((()=>u(!0)),[u]),h=o((()=>u(!1)),[u]),m=n((()=>null===r?null:e=>r({"aria-label":"menu",children:t,...e})),[t,r]),v=n((()=>c.map((e=>({...e,role:"menuitem",onAction:(t,r)=>{var o;const a=null!==(o=e.onAction)&&void 0!==o?o:i;null==a||a(t,r),r.defaultPrevented||h()}})))),[c,i,h]);return e.createElement(_a,{renderAnchor:m,anchorRef:p,open:f,onOpen:b,onClose:h,overlayProps:s},e.createElement(Fa,Rt({},g,{role:"menu",items:v})))};Ka.displayName="ActionMenuBase",Ka.displayName="ActionMenu";const Va=Object.assign(Ka,{Divider:wa,Item:Ua}),Ga=s(null);var qa,Xa={exports:{}};
|
1
|
+
import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n,forwardRef as i,useLayoutEffect as l,useContext as d,createContext as s,useReducer as c}from"react";import g,{createGlobalStyle as f,ThemeProvider as p,css as u,ThemeContext as b,keyframes as m}from"styled-components";import h,{createPortal as v}from"react-dom";var x={animation:{easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)"},borderWidths:[0,"1px"],breakpoints:["544px","768px","1012px","1280px"],fonts:{normal:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',mono:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace'},fontSizes:["12px","14px","16px","20px","24px","32px","40px","48px"],fontWeights:{light:300,normal:400,semibold:500,bold:600},lineHeights:{condensedUltra:1,condensed:1.25,default:1.5},radii:["0","3px","6px","100px"],sizes:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},space:["0","4px","8px","16px","24px","32px","40px","48px","64px","80px","96px","112px","128px"],colorSchemes:{light:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#ABF2BC"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"#FFD7D5",lineBg:"#FFEBE9",wordBg:"rgba(255,129,130,0.4)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#2da44e"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#116329",keyword:"#cf222e",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#82071e",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#82071e",carriageReturnText:"#f6f8fa",carriageReturnBg:"#cf222e",stringRegexp:"#116329",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#82071e",markupDeletedBg:"#FFEBE9",markupInsertedText:"#116329",markupInsertedBg:"#dafbe1",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#cf222e",storage:"#cf222e",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#fa4549",donutPending:"#bf8700",donutSuccess:"#2da44e",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#ff8182",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#ff8182",loglineErrorBg:"rgba(164,14,38,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#4ac26b",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#ff8182",redBright:"#ffaba8",green:"#4ac26b",greenBright:"#6fdd8b",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#cf222e",redBright:"#a40e26",green:"#116329",greenBright:"#1a7f37",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#2da44e",border:"rgba(27,31,36,0.15)",hoverBg:"#2c974b",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(137,55%,36%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#2da44e",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#cf222e",hoverText:"#ffffff",hoverBg:"#a40e26",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(356,72%,44%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(207,34,46,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(207,34,46,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(207,34,46,0.1)",icon:"#cf222e",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(255,235,233,0.64)",activeBg:"#FFEBE9",hoverText:"#cf222e"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#1a7f37",emphasis:"#2da44e",muted:"rgba(74,194,107,0.4)",subtle:"#dafbe1"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#cf222e",emphasis:"#cf222e",muted:"rgba(255,129,130,0.4)",subtle:"#FFEBE9"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,45,17,0.2)",focusShadow:"0 0 0 3px rgba(45,164,78,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(76,0,20,0.2)",focusShadow:"0 0 0 3px rgba(164,14,38,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},light_high_contrast:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#1168e3",secondary:"#368cf9"},diffBlob:{addition:{numText:"#24292F",fg:"#ffffff",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#055d20"},deletion:{numText:"#24292F",fg:"#ffffff",numBg:"#FFD7D5",lineBg:"#fff0ee",wordBg:"#a0111f"},hunk:{numBg:"#9cd7ff"},expander:{icon:"#24292F"}},diffstat:{deletionBorder:"rgba(1,4,9,0.8)",additionBorder:"rgba(1,4,9,0.8)",additionBg:"#117f32"},searchKeyword:{hl:"#fcf7be"},prettylights:{syntax:{comment:"#67707A",constant:"#023b95",entity:"#622cbc",storageModifierImport:"#24292F",entityTag:"#024c1a",keyword:"#a0111f",string:"#032563",variable:"#702c00",brackethighlighterUnmatched:"#6e011a",invalidIllegalText:"#FFFFFF",invalidIllegalBg:"#6e011a",carriageReturnText:"#FFFFFF",carriageReturnBg:"#a0111f",stringRegexp:"#024c1a",markupList:"#2e1800",markupHeading:"#023b95",markupItalic:"#24292F",markupBold:"#24292F",markupDeletedText:"#6e011a",markupDeletedBg:"#fff0ee",markupInsertedText:"#024c1a",markupInsertedBg:"#d2fedb",markupChangedText:"#702c00",markupChangedBg:"#ffc67b",markupIgnoredText:"#E7ECF0",markupIgnoredBg:"#023b95",metaDiffRange:"#622cbc",brackethighlighterAngle:"#4F5760",sublimelinterGutterMark:"#88929D",constantOtherReferenceLink:"#032563"}},codemirror:{text:"#24292F",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#67707A",linenumberText:"#24292F",cursor:"#24292F",selectionBg:"#368cf9",activelineBg:"#E7ECF0",matchingbracketText:"#24292F",linesBg:"#ffffff",syntax:{comment:"#24292F",constant:"#023b95",entity:"#622cbc",keyword:"#a0111f",storage:"#a0111f",string:"#032563",support:"#023b95",variable:"#702c00"}},checks:{bg:"#24292F",textPrimary:"#FFFFFF",textSecondary:"#88929D",textLink:"#368cf9",btnIcon:"#ACB6C0",btnHoverIcon:"#FFFFFF",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#E7ECF0",inputPlaceholderText:"#88929D",inputFocusText:"#88929D",inputBg:"#30363D",donutError:"#d5232c",donutPending:"#956400",donutSuccess:"#117f32",donutNeutral:"#ACB6C0",dropdownText:"#ACB6C0",dropdownBg:"#30363D",dropdownBorder:"#3D454E",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#FFFFFF",dropdownHoverBg:"#3D454E",dropdownBtnHoverText:"#FFFFFF",dropdownBtnHoverBg:"#30363D",scrollbarThumbBg:"#4F5760",headerLabelText:"#CED5DC",headerLabelOpenText:"#FFFFFF",headerBorder:"#30363D",headerIcon:"#88929D",lineText:"#CED5DC",lineNumText:"rgba(136,146,157,0.75)",lineTimestampText:"#88929D",lineHoverBg:"#30363D",lineSelectedBg:"rgba(17,104,227,0.15)",lineSelectedNumText:"#368cf9",lineDtFmText:"#24292F",lineDtFmBg:"#744500",gateBg:"rgba(96,55,0,0.15)",gateText:"#CED5DC",gateWaitingText:"#ACB6C0",stepHeaderOpenBg:"#30363D",stepErrorText:"#ee5a5d",stepWarningText:"#b58407",loglineText:"#88929D",loglineNumText:"rgba(136,146,157,0.75)",loglineDebugText:"#a371f7",loglineErrorText:"#CED5DC",loglineErrorNumText:"#ee5a5d",loglineErrorBg:"rgba(134,6,29,0.15)",loglineWarningText:"#CED5DC",loglineWarningNumText:"#b58407",loglineWarningBg:"rgba(96,55,0,0.15)",loglineCommandText:"#368cf9",loglineSectionText:"#26a148",ansi:{black:"#24292F",blackBright:"#30363D",white:"#CED5DC",whiteBright:"#CED5DC",gray:"#88929D",red:"#ee5a5d",redBright:"#ff8e8a",green:"#26a148",greenBright:"#43c663",yellow:"#b58407",yellowBright:"#d5a824",blue:"#368cf9",blueBright:"#67b3fd",magenta:"#a371f7",magentaBright:"#c49bff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292F",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(1,4,9,0.8)",stackFade:"#ACB6C0",stackFadeMore:"#CED5DC"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(172,182,192,0.5)",tapFocusBg:"#9cd7ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292F",logo:"#ffffff"},headerSearch:{bg:"#24292F",border:"#4F5760"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(172,182,192,0.2)"},timeline:{badgeBg:"#E7ECF0"},ansi:{black:"#24292F",blackBright:"#4F5760",white:"#67707A",whiteBright:"#88929D",gray:"#67707A",red:"#a0111f",redBright:"#86061d",green:"#024c1a",greenBright:"#055d20",yellow:"#3f2200",yellowBright:"#4e2c00",blue:"#0349b4",blueBright:"#1168e3",magenta:"#622cbc",magentaBright:"#844ae7",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292F",bg:"#E7ECF0",border:"rgba(1,4,9,0.8)",hoverBg:"#CED5DC",hoverBorder:"rgba(1,4,9,0.8)",activeBg:"#ACB6C0",activeBorder:"rgba(1,4,9,0.8)",selectedBg:"#ACB6C0",focusBg:"#CED5DC",focusBorder:"rgba(1,4,9,0.8)",counterBg:"rgba(1,4,9,0.08)",primary:{text:"#ffffff",bg:"#055d20",border:"#013d14",hoverBg:"#024c1a",hoverBorder:"#013d14",selectedBg:"hsla(139,95%,13%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(1,4,9,0.8)",focusBg:"#013d14",focusBorder:"#013d14",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#023b95",hoverText:"#ffffff",hoverBg:"#0349b4",hoverBorder:"#022f7a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#022f7a",selectedBorder:"#022f7a",disabledText:"rgba(3,73,180,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(3,73,180,0.05)",focusBorder:"#022f7a",counterBg:"rgba(3,73,180,0.1)"},danger:{text:"#86061d",hoverText:"#ffffff",hoverBg:"#a0111f",hoverBorder:"#6e011a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#6e011a",selectedBorder:"#6e011a",disabledText:"rgba(160,17,31,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(160,17,31,0.05)",focusBorder:"#6e011a",counterBg:"rgba(160,17,31,0.1)",icon:"#86061d",hoverIcon:"#ffffff"}},underlinenav:{icon:"#67707A",borderHover:"rgba(172,182,192,0.2)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(206,213,220,0.32)",activeBg:"rgba(206,213,220,0.48)",selectedBg:"rgba(206,213,220,0.24)"},danger:{hoverBg:"rgba(255,240,238,0.64)",activeBg:"#fff0ee",hoverText:"#a0111f"}},fg:{default:"#24292F",muted:"#24292F",subtle:"#67707A",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#ffffff",subtle:"#E7ECF0"},border:{default:"#30363D",muted:"#88929D",subtle:"rgba(1,4,9,0.8)"},neutral:{emphasisPlus:"#24292F",emphasis:"#67707A",muted:"rgba(172,182,192,0.2)",subtle:"#E7ECF0"},accent:{fg:"#0349b4",emphasis:"#0349b4",muted:"#368cf9",subtle:"#dff7ff"},success:{fg:"#055d20",emphasis:"#055d20",muted:"#26a148",subtle:"#d2fedb"},attention:{fg:"#744500",emphasis:"#744500",muted:"#b58407",subtle:"#fcf7be"},severe:{fg:"#873800",emphasis:"#873800",muted:"#dc6d1a",subtle:"#fff2d5"},danger:{fg:"#a0111f",emphasis:"#a0111f",muted:"#ee5a5d",subtle:"#fff0ee"},done:{fg:"#622cbc",emphasis:"#622cbc",muted:"#a371f7",subtle:"#faf0fe"},sponsors:{fg:"#971368",emphasis:"#971368",muted:"#ed4baf",subtle:"#feeff7"},primer:{fg:{disabled:"#88929D"},canvas:{backdrop:"rgba(1,4,9,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#ef5b48",contrast:"rgba(1,4,9,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(61,69,78,0.12)"},btn:{shadow:"0 1px 0 rgba(1,4,9,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(3,73,180,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(3,73,180,0.3)",primary:{shadow:"0 1px 0 rgba(1,4,9,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,35,11,0.2)",focusShadow:"0 0 0 3px rgba(1,61,20,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(2,26,74,0.2)",focusShadow:"0 0 0 3px rgba(2,59,149,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(67,0,17,0.2)",focusShadow:"0 0 0 3px rgba(134,6,29,0.4)"}},shadow:{small:"0 1px 0 rgba(1,4,9,0.04)",medium:"0 3px 6px rgba(136,146,157,0.15)",large:"0 8px 24px rgba(136,146,157,0.2)",extraLarge:"0 12px 28px rgba(136,146,157,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(206,213,220,0.2)",focus:"0 0 0 3px rgba(3,73,180,0.3)"}}}},light_colorblind:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"rgba(53,173,255,0.4)",lineBg:"rgba(192,246,255,0.5)",wordBg:"rgba(53,173,255,0.4)"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"rgba(231,161,0,0.4)",lineBg:"rgba(254,254,72,0.5)",wordBg:"rgba(248,194,0,0.5)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#0088ff"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#054da9",keyword:"#ac5e00",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#6c3900",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#6c3900",carriageReturnText:"#f6f8fa",carriageReturnBg:"#ac5e00",stringRegexp:"#054da9",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#6c3900",markupDeletedBg:"#fefe48",markupInsertedText:"#054da9",markupInsertedBg:"#c0f6ff",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#ac5e00",storage:"#ac5e00",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#d08002",donutPending:"#bf8700",donutSuccess:"#0088ff",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#e7a100",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#e7a100",loglineErrorBg:"rgba(139,70,0,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#35adff",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#e7a100",redBright:"#f8c200",green:"#35adff",greenBright:"#65ccff",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#ac5e00",redBright:"#8b4600",green:"#054da9",greenBright:"#0566d5",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#0088ff",border:"rgba(27,31,36,0.15)",hoverBg:"#0566d5",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(212,95%,41%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#65ccff",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#0088ff",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#ac5e00",hoverText:"#ffffff",hoverBg:"#8b4600",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(33,100%,31%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(172,94,0,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(172,94,0,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(172,94,0,0.1)",icon:"#ac5e00",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(254,254,72,0.64)",activeBg:"#fefe48",hoverText:"#ac5e00"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#0566d5",emphasis:"#0088ff",muted:"rgba(53,173,255,0.4)",subtle:"#c0f6ff"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#ac5e00",emphasis:"#ac5e00",muted:"rgba(231,161,0,0.4)",subtle:"#fefe48"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,31,80,0.2)",focusShadow:"0 0 0 3px rgba(0,136,255,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(47,41,0,0.2)",focusShadow:"0 0 0 3px rgba(139,70,0,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},dark:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(63,185,80,0.3)",lineBg:"rgba(46,160,67,0.15)",wordBg:"rgba(46,160,67,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(248,81,73,0.3)",lineBg:"rgba(248,81,73,0.15)",wordBg:"rgba(248,81,73,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#3fb950"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#7ee787",keyword:"#ff7b72",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#f85149",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#8e1519",carriageReturnText:"#f0f6fc",carriageReturnBg:"#b62324",stringRegexp:"#7ee787",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#ffdcd7",markupDeletedBg:"#67060c",markupInsertedText:"#aff5b4",markupInsertedBg:"#033a16",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#ff7b72",storage:"#ff7b72",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#f85149",donutPending:"#d29922",donutSuccess:"#2ea043",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#f85149",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(248,81,73,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#3fb950",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#238636",border:"rgba(240,246,252,0.1)",hoverBg:"#2ea043",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#238636",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(35,134,54,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#238636",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#f85149",hoverText:"#f0f6fc",hoverBg:"#da3633",hoverBorder:"#f85149",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#b62324",selectedBorder:"#ff7b72",disabledText:"rgba(248,81,73,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(218,54,51,0.05)",focusBorder:"#f85149",counterBg:"rgba(218,54,51,0.1)",icon:"#f85149"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(248,81,73,0.16)",activeBg:"rgba(248,81,73,0.24)",hoverText:"#ff7b72"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#3fb950",emphasis:"#238636",muted:"rgba(46,160,67,0.4)",subtle:"rgba(46,160,67,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#f85149",emphasis:"#da3633",muted:"rgba(248,81,73,0.4)",subtle:"rgba(248,81,73,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(248,81,73,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}},dark_dimmed:{colors:{canvasDefaultTransparent:"rgba(34,39,46,0)",marketingIcon:{primary:"#6cb6ff",secondary:"#316dca"},diffBlob:{addition:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(87,171,90,0.3)",lineBg:"rgba(70,149,74,0.15)",wordBg:"rgba(70,149,74,0.4)"},deletion:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(229,83,75,0.3)",lineBg:"rgba(229,83,75,0.15)",wordBg:"rgba(229,83,75,0.4)"},hunk:{numBg:"rgba(65,132,228,0.4)"},expander:{icon:"#768390"}},diffstat:{deletionBorder:"rgba(205,217,229,0.1)",additionBorder:"rgba(205,217,229,0.1)",additionBg:"#57ab5a"},searchKeyword:{hl:"rgba(198,144,38,0.4)"},prettylights:{syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",storageModifierImport:"#adbac7",entityTag:"#8ddb8c",keyword:"#f47067",string:"#96d0ff",variable:"#f69d50",brackethighlighterUnmatched:"#e5534b",invalidIllegalText:"#cdd9e5",invalidIllegalBg:"#922323",carriageReturnText:"#cdd9e5",carriageReturnBg:"#ad2e2c",stringRegexp:"#8ddb8c",markupList:"#eac55f",markupHeading:"#316dca",markupItalic:"#adbac7",markupBold:"#adbac7",markupDeletedText:"#ffd8d3",markupDeletedBg:"#78191b",markupInsertedText:"#b4f1b4",markupInsertedBg:"#1b4721",markupChangedText:"#ffddb0",markupChangedBg:"#682d0f",markupIgnoredText:"#adbac7",markupIgnoredBg:"#255ab2",metaDiffRange:"#dcbdfb",brackethighlighterAngle:"#768390",sublimelinterGutterMark:"#545d68",constantOtherReferenceLink:"#96d0ff"}},codemirror:{text:"#adbac7",bg:"#22272e",guttersBg:"#22272e",guttermarkerText:"#22272e",guttermarkerSubtleText:"#545d68",linenumberText:"#768390",cursor:"#adbac7",selectionBg:"rgba(65,132,228,0.4)",activelineBg:"rgba(99,110,123,0.1)",matchingbracketText:"#adbac7",linesBg:"#22272e",syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",keyword:"#f47067",storage:"#f47067",string:"#96d0ff",support:"#6cb6ff",variable:"#f69d50"}},checks:{bg:"#1c2128",textPrimary:"#adbac7",textSecondary:"#768390",textLink:"#539bf5",btnIcon:"#768390",btnHoverIcon:"#adbac7",btnHoverBg:"rgba(99,110,123,0.1)",inputText:"#768390",inputPlaceholderText:"#545d68",inputFocusText:"#adbac7",inputBg:"#2d333b",donutError:"#e5534b",donutPending:"#c69026",donutSuccess:"#46954a",donutNeutral:"#768390",dropdownText:"#adbac7",dropdownBg:"#2d333b",dropdownBorder:"#444c56",dropdownShadow:"rgba(28,33,40,0.3)",dropdownHoverText:"#adbac7",dropdownHoverBg:"rgba(99,110,123,0.1)",dropdownBtnHoverText:"#adbac7",dropdownBtnHoverBg:"rgba(99,110,123,0.1)",scrollbarThumbBg:"rgba(99,110,123,0.4)",headerLabelText:"#768390",headerLabelOpenText:"#adbac7",headerBorder:"#373e47",headerIcon:"#768390",lineText:"#768390",lineNumText:"#545d68",lineTimestampText:"#545d68",lineHoverBg:"rgba(99,110,123,0.1)",lineSelectedBg:"rgba(65,132,228,0.15)",lineSelectedNumText:"#539bf5",lineDtFmText:"#cdd9e5",lineDtFmBg:"#966600",gateBg:"rgba(174,124,20,0.15)",gateText:"#768390",gateWaitingText:"#c69026",stepHeaderOpenBg:"#2d333b",stepErrorText:"#e5534b",stepWarningText:"#c69026",loglineText:"#768390",loglineNumText:"#545d68",loglineDebugText:"#986ee2",loglineErrorText:"#768390",loglineErrorNumText:"#545d68",loglineErrorBg:"rgba(229,83,75,0.15)",loglineWarningText:"#768390",loglineWarningNumText:"#c69026",loglineWarningBg:"rgba(174,124,20,0.15)",loglineCommandText:"#539bf5",loglineSectionText:"#57ab5a",ansi:{black:"#22272e",blackBright:"#2d333b",white:"#909dab",whiteBright:"#909dab",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#22272e",sidebarBg:"#2d333b",gradientIn:"#2d333b",gradientOut:"rgba(45,51,59,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(205,217,229,0.1)",border:"rgba(205,217,229,0.1)",stackFade:"#444c56",stackFadeMore:"#373e47"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#545d68",tapHighlight:"rgba(68,76,86,0.5)",tapFocusBg:"#143d79"},header:{text:"rgba(205,217,229,0.7)",bg:"#2d333b",logo:"#cdd9e5"},headerSearch:{bg:"#22272e",border:"#444c56"},sidenav:{selectedBg:"#373e47"},menu:{bgActive:"#2d333b"},input:{disabledBg:"rgba(99,110,123,0)"},timeline:{badgeBg:"#373e47"},ansi:{black:"#545d68",blackBright:"#636e7b",white:"#909dab",whiteBright:"#cdd9e5",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#adbac7",bg:"#373e47",border:"rgba(205,217,229,0.1)",hoverBg:"#444c56",hoverBorder:"#768390",activeBg:"hsla(213,12%,27%,1)",activeBorder:"#636e7b",selectedBg:"#2d333b",focusBg:"#373e47",focusBorder:"#768390",counterBg:"#444c56",primary:{text:"#ffffff",bg:"#347d39",border:"rgba(205,217,229,0.1)",hoverBg:"#46954a",hoverBorder:"rgba(205,217,229,0.1)",selectedBg:"#347d39",disabledText:"rgba(205,217,229,0.5)",disabledBg:"rgba(52,125,57,0.6)",disabledBorder:"rgba(205,217,229,0.1)",focusBg:"#347d39",focusBorder:"rgba(205,217,229,0.1)",icon:"#cdd9e5",counterBg:"rgba(205,217,229,0.2)"},outline:{text:"#539bf5",hoverText:"#539bf5",hoverBg:"#444c56",hoverBorder:"rgba(205,217,229,0.1)",hoverCounterBg:"rgba(205,217,229,0.2)",selectedText:"#cdd9e5",selectedBg:"#1b4b91",selectedBorder:"rgba(205,217,229,0.1)",disabledText:"rgba(83,155,245,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(49,109,202,0.05)",focusBorder:"rgba(205,217,229,0.1)",counterBg:"rgba(49,109,202,0.1)"},danger:{text:"#e5534b",hoverText:"#cdd9e5",hoverBg:"#c93c37",hoverBorder:"#e5534b",hoverIcon:"#cdd9e5",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#ad2e2c",selectedBorder:"#f47067",disabledText:"rgba(229,83,75,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(201,60,55,0.05)",focusBorder:"#e5534b",counterBg:"rgba(201,60,55,0.1)",icon:"#e5534b"}},underlinenav:{icon:"#545d68",borderHover:"rgba(99,110,123,0.4)"},actionListItem:{inlineDivider:"rgba(68,76,86,0.48)",default:{hoverBg:"rgba(144,157,171,0.12)",activeBg:"rgba(144,157,171,0.2)",selectedBg:"rgba(144,157,171,0.08)"},danger:{hoverBg:"rgba(229,83,75,0.16)",activeBg:"rgba(229,83,75,0.24)",hoverText:"#f47067"}},fg:{default:"#adbac7",muted:"#768390",subtle:"#545d68",onEmphasis:"#cdd9e5"},canvas:{default:"#22272e",overlay:"#2d333b",inset:"#1c2128",subtle:"#2d333b"},border:{default:"#444c56",muted:"#373e47",subtle:"rgba(205,217,229,0.1)"},neutral:{emphasisPlus:"#636e7b",emphasis:"#636e7b",muted:"rgba(99,110,123,0.4)",subtle:"rgba(99,110,123,0.1)"},accent:{fg:"#539bf5",emphasis:"#316dca",muted:"rgba(65,132,228,0.4)",subtle:"rgba(65,132,228,0.15)"},success:{fg:"#57ab5a",emphasis:"#347d39",muted:"rgba(70,149,74,0.4)",subtle:"rgba(70,149,74,0.15)"},attention:{fg:"#c69026",emphasis:"#966600",muted:"rgba(174,124,20,0.4)",subtle:"rgba(174,124,20,0.15)"},severe:{fg:"#cc6b2c",emphasis:"#ae5622",muted:"rgba(204,107,44,0.4)",subtle:"rgba(204,107,44,0.15)"},danger:{fg:"#e5534b",emphasis:"#c93c37",muted:"rgba(229,83,75,0.4)",subtle:"rgba(229,83,75,0.15)"},done:{fg:"#986ee2",emphasis:"#8256d0",muted:"rgba(152,110,226,0.4)",subtle:"rgba(152,110,226,0.15)"},sponsors:{fg:"#c96198",emphasis:"#ae4c82",muted:"rgba(201,97,152,0.4)",subtle:"rgba(201,97,152,0.15)"},primer:{fg:{disabled:"#545d68"},canvas:{backdrop:"rgba(28,33,40,0.8)",sticky:"rgba(34,39,46,0.95)"},border:{active:"#EC775C",contrast:"rgba(205,217,229,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #22272e"},overlay:{shadow:"0 0 0 1px #444c56, 0 16px 32px rgba(28,33,40,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(118,131,144,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(28,33,40,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(49,109,202,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(28,33,40,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(205,217,229,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(37,90,178,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(229,83,75,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #1c2128",large:"0 8px 24px #1c2128",extraLarge:"0 12px 48px #1c2128"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #143d79"}}}},dark_high_contrast:{colors:{canvasDefaultTransparent:"rgba(10,12,16,0)",marketingIcon:{primary:"#91cbff",secondary:"#409eff"},diffBlob:{addition:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(38,205,77,0.3)",lineBg:"rgba(9,180,58,0.15)",wordBg:"#09b43a"},deletion:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(255,106,105,0.3)",lineBg:"rgba(255,106,105,0.15)",wordBg:"#ff6a69"},hunk:{numBg:"rgba(64,158,255,0.4)"},expander:{icon:"#0a0c10"}},diffstat:{deletionBorder:"#ffb1af",additionBorder:"#4ae168",additionBg:"#26cd4d"},searchKeyword:{hl:"rgba(240,183,47,0.4)"},prettylights:{syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",storageModifierImport:"#f0f3f6",entityTag:"#72f088",keyword:"#ff9492",string:"#addcff",variable:"#ffb757",brackethighlighterUnmatched:"#ff6a69",invalidIllegalText:"#ffffff",invalidIllegalBg:"#e82a2f",carriageReturnText:"#ffffff",carriageReturnBg:"#ff4445",stringRegexp:"#72f088",markupList:"#fbd669",markupHeading:"#409eff",markupItalic:"#f0f3f6",markupBold:"#f0f3f6",markupDeletedText:"#ffdedb",markupDeletedBg:"#cc1421",markupInsertedText:"#acf7b6",markupInsertedBg:"#007728",markupChangedText:"#ffe1b4",markupChangedBg:"#a74c00",markupIgnoredText:"#f0f3f6",markupIgnoredBg:"#318bf8",metaDiffRange:"#dbb7ff",brackethighlighterAngle:"#bdc4cc",sublimelinterGutterMark:"#7a828e",constantOtherReferenceLink:"#addcff"}},codemirror:{text:"#f0f3f6",bg:"#0a0c10",guttersBg:"#0a0c10",guttermarkerText:"#0a0c10",guttermarkerSubtleText:"#7a828e",linenumberText:"#f0f3f6",cursor:"#f0f3f6",selectionBg:"rgba(64,158,255,0.4)",activelineBg:"rgba(158,167,179,0.1)",matchingbracketText:"#f0f3f6",linesBg:"#0a0c10",syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",keyword:"#ff9492",storage:"#ff9492",string:"#addcff",support:"#91cbff",variable:"#ffb757"}},checks:{bg:"#010409",textPrimary:"#f0f3f6",textSecondary:"#f0f3f6",textLink:"#71b7ff",btnIcon:"#f0f3f6",btnHoverIcon:"#f0f3f6",btnHoverBg:"rgba(158,167,179,0.1)",inputText:"#f0f3f6",inputPlaceholderText:"#7a828e",inputFocusText:"#f0f3f6",inputBg:"#272b33",donutError:"#ff6a69",donutPending:"#f0b72f",donutSuccess:"#09b43a",donutNeutral:"#bdc4cc",dropdownText:"#f0f3f6",dropdownBg:"#272b33",dropdownBorder:"#7a828e",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#f0f3f6",dropdownHoverBg:"rgba(158,167,179,0.1)",dropdownBtnHoverText:"#f0f3f6",dropdownBtnHoverBg:"rgba(158,167,179,0.1)",scrollbarThumbBg:"rgba(158,167,179,0.4)",headerLabelText:"#f0f3f6",headerLabelOpenText:"#f0f3f6",headerBorder:"#7a828e",headerIcon:"#f0f3f6",lineText:"#f0f3f6",lineNumText:"#7a828e",lineTimestampText:"#7a828e",lineHoverBg:"rgba(158,167,179,0.1)",lineSelectedBg:"rgba(64,158,255,0.15)",lineSelectedNumText:"#71b7ff",lineDtFmText:"#0a0c10",lineDtFmBg:"#e09b13",gateBg:"rgba(224,155,19,0.15)",gateText:"#f0f3f6",gateWaitingText:"#f0b72f",stepHeaderOpenBg:"#272b33",stepErrorText:"#ff6a69",stepWarningText:"#f0b72f",loglineText:"#f0f3f6",loglineNumText:"#7a828e",loglineDebugText:"#b780ff",loglineErrorText:"#f0f3f6",loglineErrorNumText:"#7a828e",loglineErrorBg:"rgba(255,106,105,0.15)",loglineWarningText:"#f0f3f6",loglineWarningNumText:"#f0b72f",loglineWarningBg:"rgba(224,155,19,0.15)",loglineCommandText:"#71b7ff",loglineSectionText:"#26cd4d",ansi:{black:"#0a0c10",blackBright:"#272b33",white:"#d9dee3",whiteBright:"#d9dee3",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0a0c10",sidebarBg:"#272b33",gradientIn:"#272b33",gradientOut:"rgba(39,43,51,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(255,255,255,0.1)",border:"rgba(255,255,255,0.9)",stackFade:"#525964",stackFadeMore:"#272b33"},topicTag:{border:"#409eff"},selectMenu:{backdropBorder:"#7a828e",tapHighlight:"rgba(82,89,100,0.5)",tapFocusBg:"#1e60d5"},header:{text:"rgba(255,255,255,0.7)",bg:"#272b33",logo:"#ffffff"},headerSearch:{bg:"#0a0c10",border:"#525964"},sidenav:{selectedBg:"#272b33"},menu:{bgActive:"#272b33"},input:{disabledBg:"rgba(158,167,179,0)"},timeline:{badgeBg:"#272b33"},ansi:{black:"#7a828e",blackBright:"#9ea7b3",white:"#d9dee3",whiteBright:"#ffffff",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#f0f3f6",bg:"#272b33",border:"#7a828e",hoverBg:"#525964",hoverBorder:"#bdc4cc",activeBg:"hsla(217,10%,33%,1)",activeBorder:"#9ea7b3",selectedBg:"rgba(82,89,100,0.9)",focusBg:"#272b33",focusBorder:"#bdc4cc",counterBg:"#525964",primary:{text:"#0a0c10",bg:"#09b43a",border:"#4ae168",hoverBg:"#26cd4d",hoverBorder:"#4ae168",selectedBg:"#09b43a",disabledText:"rgba(10,12,16,0.5)",disabledBg:"rgba(9,180,58,0.6)",disabledBorder:"rgba(74,225,104,0.4)",focusBg:"#09b43a",focusBorder:"#7a828e",icon:"#0a0c10",counterBg:"rgba(1,4,9,0.15)"},outline:{text:"#71b7ff",hoverText:"#71b7ff",hoverBg:"#525964",hoverBorder:"#7a828e",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#2672f3",selectedBorder:"#7a828e",disabledText:"rgba(113,183,255,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(64,158,255,0.05)",focusBorder:"#7a828e",counterBg:"rgba(64,158,255,0.1)"},danger:{text:"#ff6a69",hoverText:"#0a0c10",hoverBg:"#ff6a69",hoverBorder:"#ff6a69",hoverIcon:"#0a0c10",hoverCounterBg:"rgba(1,4,9,0.15)",selectedText:"#ffffff",selectedBg:"#ff4445",selectedBorder:"#ff9492",disabledText:"rgba(255,106,105,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(255,106,105,0.05)",focusBorder:"#ff6a69",counterBg:"rgba(1,4,9,0.15)",icon:"#ff6a69"}},underlinenav:{icon:"#f0f3f6",borderHover:"#bdc4cc"},actionListItem:{inlineDivider:"#7a828e",default:{hoverBg:"rgba(217,222,227,0.12)",activeBg:"rgba(217,222,227,0.24)",selectedBg:"rgba(217,222,227,0.08)"},danger:{hoverBg:"#ff6a69",activeBg:"#ff4445",hoverText:"#0a0c10"}},fg:{default:"#f0f3f6",muted:"#f0f3f6",subtle:"#7a828e",onEmphasis:"#0a0c10"},canvas:{default:"#0a0c10",overlay:"#272b33",inset:"#010409",subtle:"#272b33"},border:{default:"#7a828e",muted:"#7a828e",subtle:"#7a828e"},neutral:{emphasisPlus:"#ffffff",emphasis:"#9ea7b3",muted:"rgba(158,167,179,0.4)",subtle:"rgba(158,167,179,0.1)"},accent:{fg:"#71b7ff",emphasis:"#409eff",muted:"#409eff",subtle:"rgba(64,158,255,0.15)"},success:{fg:"#26cd4d",emphasis:"#09b43a",muted:"#09b43a",subtle:"rgba(9,180,58,0.15)"},attention:{fg:"#f0b72f",emphasis:"#e09b13",muted:"#e09b13",subtle:"rgba(224,155,19,0.15)"},severe:{fg:"#e7811d",emphasis:"#e7811d",muted:"#e7811d",subtle:"rgba(231,129,29,0.15)"},danger:{fg:"#ff6a69",emphasis:"#ff6a69",muted:"#ff6a69",subtle:"rgba(255,106,105,0.15)"},done:{fg:"#b780ff",emphasis:"#b87fff",muted:"#b780ff",subtle:"rgba(183,128,255,0.15)"},sponsors:{fg:"#ef6eb1",emphasis:"#ef6eb1",muted:"#ef6eb1",subtle:"rgba(239,110,177,0.15)"},primer:{fg:{disabled:"#7a828e"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(10,12,16,0.95)"},border:{active:"#FF967D",contrast:"rgba(255,255,255,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0a0c10"},overlay:{shadow:"0 0 0 1px #525964, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(189,196,204,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(64,158,255,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(49,139,248,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(255,106,105,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #1e60d5"}}}},dark_colorblind:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(66,160,255,0.3)",lineBg:"rgba(21,133,253,0.15)",wordBg:"rgba(21,133,253,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(195,128,0,0.3)",lineBg:"rgba(195,128,0,0.15)",wordBg:"rgba(195,128,0,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#42a0ff"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#83d4ff",keyword:"#d69a00",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#c38000",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#633e00",carriageReturnText:"#f0f6fc",carriageReturnBg:"#865401",stringRegexp:"#83d4ff",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#f0ec59",markupDeletedBg:"#452f00",markupInsertedText:"#a0e8ff",markupInsertedBg:"#0a2861",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#d69a00",storage:"#d69a00",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#c38000",donutPending:"#d29922",donutSuccess:"#1585fd",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#c38000",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(195,128,0,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#42a0ff",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#1d69e0",border:"rgba(240,246,252,0.1)",hoverBg:"#1585fd",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#1d69e0",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(29,105,224,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#1d69e0",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#c38000",hoverText:"#f0f6fc",hoverBg:"#a66900",hoverBorder:"#c38000",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#865401",selectedBorder:"#d69a00",disabledText:"rgba(195,128,0,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(166,105,0,0.05)",focusBorder:"#c38000",counterBg:"rgba(166,105,0,0.1)",icon:"#c38000"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(195,128,0,0.16)",activeBg:"rgba(195,128,0,0.24)",hoverText:"#d69a00"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#42a0ff",emphasis:"#1d69e0",muted:"rgba(21,133,253,0.4)",subtle:"rgba(21,133,253,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#c38000",emphasis:"#a66900",muted:"rgba(195,128,0,0.4)",subtle:"rgba(195,128,0,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(195,128,0,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}}}},y=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;function k(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var T=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,a=k(e),n=1;n<arguments.length;n++){for(var i in r=Object(arguments[n]))w.call(r,i)&&(a[i]=r[i]);if(y){o=y(r);for(var l=0;l<o.length;l++)B.call(r,o[l])&&(a[o[l]]=r[o[l]])}}return a},S=function(e,t){var r=T({},e,t);for(var o in e){var a;e[o]&&"object"==typeof t[o]&&T(r,((a={})[o]=T(e[o],t[o]),a))}return r},C={breakpoints:[40,52,64].map((function(e){return e+"em"}))},E=function(e){return"@media screen and (min-width: "+e+")"},I=function(e,t){return N(t,e,e)},N=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},z=function e(t){var r={},o=function(e){var o,a,n={},i=!1,l=e.theme&&e.theme.disableStyledSystemCache;for(var d in e)if(t[d]){var s=t[d],c=e[d],g=N(e.theme,s.scale,s.defaults);if("object"!=typeof c)T(n,s(c,g,e));else{if(r.breakpoints=!l&&r.breakpoints||N(e.theme,"breakpoints",C.breakpoints),Array.isArray(c)){r.media=!l&&r.media||[null].concat(r.breakpoints.map(E)),n=S(n,_(r.media,s,g,c,e));continue}null!==c&&(n=S(n,A(r.breakpoints,s,g,c,e)),i=!0)}}return i&&(o=n,a={},Object.keys(o).sort((function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})})).forEach((function(e){a[e]=o[e]})),n=a),n};o.config=t,o.propNames=Object.keys(t),o.cache=r;var a=Object.keys(t).filter((function(e){return"config"!==e}));return a.length>1&&a.forEach((function(r){var a;o[r]=e(((a={})[r]=t[r],a))})),o},_=function(e,t,r,o,a){var n={};return o.slice(0,e.length).forEach((function(o,i){var l,d=e[i],s=t(o,r,a);d?T(n,((l={})[d]=T({},n[d],s),l)):T(n,s)})),n},A=function(e,t,r,o,a){var n={};for(var i in o){var l=e[i],d=t(o[i],r,a);if(l){var s,c=E(l);T(n,((s={})[c]=T({},n[c],d),s))}else T(n,d)}return n},L=function(e){var t=e.properties,r=e.property,o=e.scale,a=e.transform,n=void 0===a?I:a,i=e.defaultScale;t=t||[r];var l=function(e,r,o){var a={},i=n(e,r,o);if(null!==i)return t.forEach((function(e){a[e]=i})),a};return l.scale=o,l.defaults=i,l},R=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(r){var o=e[r];t[r]=!0!==o?"function"!=typeof o?L(o):o:L({property:r,scale:r})})),z(t)},D=function(){for(var e={},t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];r.forEach((function(t){t&&t.config&&T(e,t.config)}));var a=z(e);return a},F=R({width:{property:"width",scale:"sizes",transform:function(e,t){return N(t,e,!function(e){return"number"==typeof e&&!isNaN(e)}(e)||e>1?e:100*e+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),M={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};M.bg=M.backgroundColor;var P=R(M),H=R({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),O=R({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),j={space:[0,4,8,16,32,64,128,256,512]},W=R({gridGap:{property:"gridGap",scale:"space",defaultScale:j.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:j.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:j.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),$={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};$.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},$.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},$.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},$.borderBottomColor={property:"borderBottomColor",scale:"colors"},$.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},$.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},$.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},$.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},$.borderLeftColor={property:"borderLeftColor",scale:"colors"},$.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},$.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},$.borderRightColor={property:"borderRightColor",scale:"colors"},$.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var U=R($),q={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};q.bgImage=q.backgroundImage,q.bgSize=q.backgroundSize,q.bgPosition=q.backgroundPosition,q.bgRepeat=q.backgroundRepeat;var G=R(q),V={space:[0,4,8,16,32,64,128,256,512]},K=R({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:V.space},right:{property:"right",scale:"space",defaultScale:V.space},bottom:{property:"bottom",scale:"space",defaultScale:V.space},left:{property:"left",scale:"space",defaultScale:V.space}}),X={space:[0,4,8,16,32,64,128,256,512]},Y=function(e){return"number"==typeof e&&!isNaN(e)},J=function(e,t){if(!Y(e))return N(t,e,e);var r=e<0,o=Math.abs(e),a=N(t,o,o);return Y(a)?a*(r?-1:1):r?"-"+a:a},Z={};Z.margin={margin:{property:"margin",scale:"space",transform:J,defaultScale:X.space},marginTop:{property:"marginTop",scale:"space",transform:J,defaultScale:X.space},marginRight:{property:"marginRight",scale:"space",transform:J,defaultScale:X.space},marginBottom:{property:"marginBottom",scale:"space",transform:J,defaultScale:X.space},marginLeft:{property:"marginLeft",scale:"space",transform:J,defaultScale:X.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:J,defaultScale:X.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:J,defaultScale:X.space}},Z.margin.m=Z.margin.margin,Z.margin.mt=Z.margin.marginTop,Z.margin.mr=Z.margin.marginRight,Z.margin.mb=Z.margin.marginBottom,Z.margin.ml=Z.margin.marginLeft,Z.margin.mx=Z.margin.marginX,Z.margin.my=Z.margin.marginY,Z.padding={padding:{property:"padding",scale:"space",defaultScale:X.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:X.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:X.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:X.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:X.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:X.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:X.space}},Z.padding.p=Z.padding.padding,Z.padding.pt=Z.padding.paddingTop,Z.padding.pr=Z.padding.paddingRight,Z.padding.pb=Z.padding.paddingBottom,Z.padding.pl=Z.padding.paddingLeft,Z.padding.px=Z.padding.paddingX,Z.padding.py=Z.padding.paddingY;var Q=R(Z.margin),ee=R(Z.padding),te=D(Q,ee),re=R({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var ae=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},ne=[40,52,64].map((function(e){return e+"em"})),ie={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},le={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},de={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},se={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},ce=function(e,t){if("number"!=typeof t||t>=0)return ae(e,t,t);var r=Math.abs(t),o=ae(e,r,r);return"string"==typeof o?"-"+o:-1*o},ge=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((function(e,t){var r;return oe({},e,((r={})[t]=ce,r))}),{}),fe=function e(t){return function(r){void 0===r&&(r={});var o=oe({},ie,{},r.theme||r),a={},n=function(e){return function(t){var r={},o=ae(t,"breakpoints",ne),a=[null].concat(o.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var n in e){var i="function"==typeof e[n]?e[n](t):e[n];if(null!=i)if(Array.isArray(i))for(var l=0;l<i.slice(0,a.length).length;l++){var d=a[l];d?(r[d]=r[d]||{},null!=i[l]&&(r[d][n]=i[l])):r[n]=i[l]}else r[n]=i}return r}}("function"==typeof t?t(o):t)(o);for(var i in n){var l=n[i],d="function"==typeof l?l(o):l;if("variant"!==i)if(d&&"object"==typeof d)a[i]=e(d)(o);else{var s=ae(le,i,i),c=ae(se,s),g=ae(o,c,ae(o,s,{})),f=ae(ge,s,ae)(g,d,d);if(de[s])for(var p=de[s],u=0;u<p.length;u++)a[p[u]]=f;else a[s]=f}else a=oe({},a,{},e(ae(o,d))(o))}return a}},pe=function(e){var t,r,o=e.scale,a=e.prop,n=void 0===a?"variant":a,i=e.variants,l=void 0===i?{}:i,d=e.key;(r=Object.keys(l).length?function(e,t,r){return fe(N(t,e,null))(r.theme)}:function(e,t){return N(t,e,null)}).scale=o||d,r.defaults=l;var s=((t={})[n]=r,t);return z(s)},ue=pe({key:"buttons"}),be=pe({key:"textStyles",prop:"textStyle"}),me=pe({key:"colorStyles",prop:"colors"}),he=F.width,ve=F.height,xe=F.minWidth,ye=F.minHeight,we=F.maxWidth,Be=F.maxHeight,ke=F.size,Te=F.verticalAlign,Se=F.display,Ce=F.overflow,Ee=F.overflowX,Ie=F.overflowY,Ne=P.opacity,ze=H.fontSize,_e=H.fontFamily,Ae=H.fontWeight,Le=H.lineHeight,Re=H.textAlign,De=H.fontStyle,Fe=H.letterSpacing,Me=O.alignItems,Pe=O.alignContent,He=O.justifyItems,Oe=O.justifyContent,je=O.flexWrap,We=O.flexDirection,$e=O.flex,Ue=O.flexGrow,qe=O.flexShrink,Ge=O.flexBasis,Ve=O.justifySelf,Ke=O.alignSelf,Xe=O.order,Ye=W.gridGap,Je=W.gridColumnGap,Ze=W.gridRowGap,Qe=W.gridColumn,et=W.gridRow,tt=W.gridAutoFlow,rt=W.gridAutoColumns,ot=W.gridAutoRows,at=W.gridTemplateColumns,nt=W.gridTemplateRows,it=W.gridTemplateAreas,lt=W.gridArea,dt=U.borderWidth,st=U.borderStyle,ct=U.borderColor,gt=U.borderTop,ft=U.borderRight,pt=U.borderBottom,ut=U.borderLeft,bt=U.borderRadius,mt=G.backgroundImage,ht=G.backgroundSize,vt=G.backgroundPosition,xt=G.backgroundRepeat,yt=K.zIndex,wt=K.top,Bt=K.right,kt=K.bottom,Tt=K.left,St=function(e){var t=e.prop,r=e.cssProperty,o=e.alias,a=e.key,n=e.transformValue,i=e.scale,l=e.properties,d={};return d[t]=L({properties:l,property:r||t,scale:a,defaultScale:i,transform:n}),o&&(d[o]=d[t]),z(d)},Ct=Object.freeze({__proto__:null,width:he,height:ve,minWidth:xe,minHeight:ye,maxWidth:we,maxHeight:Be,size:ke,verticalAlign:Te,display:Se,overflow:Ce,overflowX:Ee,overflowY:Ie,opacity:Ne,fontSize:ze,fontFamily:_e,fontWeight:Ae,lineHeight:Le,textAlign:Re,fontStyle:De,letterSpacing:Fe,alignItems:Me,alignContent:Pe,justifyItems:He,justifyContent:Oe,flexWrap:je,flexDirection:We,flex:$e,flexGrow:Ue,flexShrink:qe,flexBasis:Ge,justifySelf:Ve,alignSelf:Ke,order:Xe,gridGap:Ye,gridColumnGap:Je,gridRowGap:Ze,gridColumn:Qe,gridRow:et,gridAutoFlow:tt,gridAutoColumns:rt,gridAutoRows:ot,gridTemplateColumns:at,gridTemplateRows:nt,gridTemplateAreas:it,gridArea:lt,borderWidth:dt,borderStyle:st,borderColor:ct,borderTop:gt,borderRight:ft,borderBottom:pt,borderLeft:ut,borderRadius:bt,backgroundImage:mt,backgroundSize:ht,backgroundPosition:vt,backgroundRepeat:xt,zIndex:yt,top:wt,right:Bt,bottom:kt,left:Tt,style:St,get:N,createParser:z,createStyleFunction:L,compose:D,system:R,margin:Q,padding:ee,space:te,color:P,layout:F,typography:H,flexbox:O,border:U,background:G,position:K,grid:W,shadow:re,boxShadow:re,textShadow:re,variant:pe,buttonStyle:ue,textStyle:be,colorStyle:me,borders:U});const{get:Et,compose:It,system:Nt}=Ct,zt=e=>{return t=e,void 0===(r=Et(x,e))&&(r=null),function(e){return N(e.theme,t,r)};var t,r},_t=It(te,P,Se),At=It(H,Nt({whiteSpace:{property:"whiteSpace"}}));function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}It(U,re);const Rt=f(['*{box-sizing:border-box;}body{margin:0;}table{border-collapse:collapse;}[role="button"]:focus:not(:focus-visible):not(.focus-visible),[role="tabpanel"][tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),button:focus:not(:focus-visible):not(.focus-visible),summary:focus:not(:focus-visible):not(.focus-visible),a:focus:not(:focus-visible):not(.focus-visible){outline:none;box-shadow:none;}[tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),details-dialog:focus:not(:focus-visible):not(.focus-visible){outline:none;}']),Dt=g.div.withConfig({displayName:"BaseStyles__Base",componentId:"sc-qvuaww-0"})(["",";",";"],At,_t);function Ft(t){const{children:r,...o}=t;return require("focus-visible"),e.createElement(Dt,Lt({},o,{"data-portal-root":!0}),e.createElement(Rt,null),r)}Ft.displayName="BaseStyles",Ft.defaultProps={color:"fg.default",fontFamily:"normal",lineHeight:"default"};var Mt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Pt}(e)}(e)};var Pt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ht(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Ot(e,t,r){return e.concat(t).map((function(e){return Ht(e,r)}))}function jt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Wt(e,t){try{return t in e}catch(e){return!1}}function $t(e,t,r){var o={};return r.isMergeableObject(e)&&jt(e).forEach((function(t){o[t]=Ht(e[t],r)})),jt(t).forEach((function(a){(function(e,t){return Wt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(Wt(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return Ut;var r=t.customMerge(e);return"function"==typeof r?r:Ut}(a,r)(e[a],t[a],r):o[a]=Ht(t[a],r))})),o}function Ut(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ot,r.isMergeableObject=r.isMergeableObject||Mt,r.cloneUnlessOtherwiseSpecified=Ht;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):$t(e,t,r):Ht(t,r)}Ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Ut(e,r,t)}),{})};var qt=Ut;const Gt=e.createContext({setColorMode:()=>null,setDayScheme:()=>null,setNightScheme:()=>null}),Vt=({children:t,...r})=>{var o,a,n,i,l,d,s,c;const{theme:g,colorMode:f,dayScheme:u,nightScheme:b}=Kt(),m=null!==(o=null!==(a=r.theme)&&void 0!==a?a:g)&&void 0!==o?o:x,[h,v]=e.useState(null!==(n=null!==(i=r.colorMode)&&void 0!==i?i:f)&&void 0!==n?n:"day"),[y,w]=e.useState(null!==(l=null!==(d=r.dayScheme)&&void 0!==d?d:u)&&void 0!==l?l:"light"),[B,k]=e.useState(null!==(s=null!==(c=r.nightScheme)&&void 0!==c?c:b)&&void 0!==s?s:"dark"),T=function(e,t){switch(e){case"auto":return t;default:return e}}(h,function(){const[t,r]=e.useState(Yt);return e.useEffect((()=>{var e,t;const o=null===(e=window)||void 0===e||null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)");function a(e){const t=e.matches;r(t?"night":"day")}if(o){if(void 0!==o.addEventListener)return o.addEventListener("change",a),function(){o.removeEventListener("change",a)};if(void 0!==o.addListener)return o.addListener(a),function(){o.removeListener(a)}}}),[]),t}()),S=function(e,t,r){switch(e){case"day":return t;case"night":return r}}(T,y,B),{resolvedTheme:C,resolvedColorScheme:E}=e.useMemo((()=>function(e,t){if(!e.colorSchemes)return{resolvedTheme:e,resolvedColorScheme:void 0};if(!e.colorSchemes[t]){console.error(`\`${t}\` scheme not defined in \`theme.colorSchemes\``);const r=Object.keys(e.colorSchemes)[0];return{resolvedTheme:qt(e,e.colorSchemes[r]),resolvedColorScheme:r}}return{resolvedTheme:qt(e,e.colorSchemes[t]),resolvedColorScheme:t}}(m,S)),[m,S]);return e.useEffect((()=>{var e,t;v(null!==(e=null!==(t=r.colorMode)&&void 0!==t?t:f)&&void 0!==e?e:"day")}),[r.colorMode,f]),e.useEffect((()=>{var e,t;w(null!==(e=null!==(t=r.dayScheme)&&void 0!==t?t:u)&&void 0!==e?e:"light")}),[r.dayScheme,u]),e.useEffect((()=>{var e,t;k(null!==(e=null!==(t=r.nightScheme)&&void 0!==t?t:b)&&void 0!==e?e:"dark")}),[r.nightScheme,b]),e.createElement(Gt.Provider,{value:{theme:C,colorScheme:S,colorMode:h,resolvedColorMode:T,resolvedColorScheme:E,dayScheme:y,nightScheme:B,setColorMode:v,setDayScheme:w,setNightScheme:k}},e.createElement(p,{theme:C},t))};function Kt(){return e.useContext(Gt)}function Xt(e,t){var r;const{colorScheme:o=""}=Kt();return null!==(r=e[o])&&void 0!==r?r:t}function Yt(){var e,t,r;return"undefined"!=typeof window&&null!==(e=(t=window).matchMedia)&&void 0!==e&&null!==(r=e.call(t,"(prefers-color-scheme: dark)"))&&void 0!==r&&r.matches?"night":"day"}Vt.displayName="ThemeProvider";var Jt=Vt;var Zt=e=>fe(e.sx);var Qt=g.div.withConfig({displayName:"Box",componentId:"sc-nv15kw-0"})(te,P,H,F,O,W,G,U,K,re,Zt);const er=g(Qt).withConfig({displayName:"BorderBox",componentId:"sc-oreju5-0"})([""]);er.defaultProps={borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2};var tr=er;const rr=g(Qt).withConfig({displayName:"Flex",componentId:"sc-arghxi-0"})([""]);rr.defaultProps={display:"flex"};var or=rr;const ar=g(Qt).withConfig({displayName:"Grid",componentId:"sc-1i6s5ye-0"})([""]);ar.defaultProps={display:"grid"};var nr=ar;const ir=g(Qt).withConfig({displayName:"Position",componentId:"sc-fla1y3-0"})([""]);var lr=ir;const dr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"absolute",ref:r}))));dr.displayName="Absolute";const sr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"fixed",ref:r}))));sr.displayName="Fixed";const cr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"relative",ref:r}))));cr.displayName="Relative";const gr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"sticky",ref:r}))));function fr({ref:e,closeOnOutsideClick:n,defaultOpen:i,onClickOutside:l}){const[d,s]=t(i),c=r(null),g=null!=e?e:c,f=o((e=>{const{current:t}=g;e.target.closest("details")!==t&&(l&&l(e),e.defaultPrevented||s(!1))}),[g,s,l]);a((()=>{if(d&&n)return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}),[d,n,f]);const p=e=>{if(!e.defaultPrevented){const t=e.target;s(t.open)}};return{open:d,setOpen:s,getDetailsProps:()=>({onToggle:p,open:d,ref:g})}}function pr(){const e=r(new Set),t=o(((t,r,...o)=>{const a=window.setTimeout(t,r,...o);return e.current.add(a),a}),[]),n=o((t=>{clearTimeout(t),e.current.delete(t)}),[]);return a((()=>()=>{for(const t of e.current)clearTimeout(t)}),[]),{safeSetTimeout:t,safeClearTimeout:n}}gr.defaultProps={top:0,zIndex:1},gr.displayName="Sticky";function ur(e){if(!e.defaultPrevented)for(const t of Object.values(br).reverse())if(true===t(e)||e.defaultPrevented)break}const br={};let mr=0;const hr=({containerRef:e,ignoreClickRefs:t,onClickOutside:r})=>{const i=n((()=>mr++),[]),l=o((o=>{var a;return o instanceof MouseEvent&&o.button>0||(!(null===(a=e.current)||void 0===a||!a.contains(o.target))||(!(!t||!t.some((({current:e})=>null==e?void 0:e.contains(o.target))))||void r(o)))}),[e,t,r]);a((()=>(0===Object.keys(br).length&&document.addEventListener("mousedown",ur,{capture:!0}),function(e,t){br[e]=t}(i,l),()=>{!function(e){delete br[e]}(i),0===Object.keys(br).length&&document.removeEventListener("mousedown",ur,{capture:!0})})),[i,l])};function*vr(e,t={}){var r,o;const a=null!==(r=t.strict)&&void 0!==r&&r,n=null!==(o=t.onlyTabbable)&&void 0!==o&&o?yr:xr,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e instanceof HTMLElement&&n(e,a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let l=null;if(!t.reverse&&n(e,a)&&(yield e),t.reverse){let e=i.lastChild();for(;e;)l=e,e=i.lastChild()}else l=i.firstChild();for(;l instanceof HTMLElement;)yield l,l=t.reverse?i.previousNode():i.nextNode();t.reverse&&n(e,a)&&(yield e)}function xr(e,t=!1){const r=["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled,o=e.hidden,a=e instanceof HTMLInputElement&&"hidden"===e.type;if(r||o||a)return!1;if(t){const t=0===e.offsetWidth||0===e.offsetHeight,r=["hidden","collapse"].includes(getComputedStyle(e).visibility),o=0===e.getClientRects().length;if(t||r||o)return!1}return null!=e.getAttribute("tabindex")||!(e instanceof HTMLAnchorElement&&null==e.getAttribute("href"))&&-1!==e.tabIndex}function yr(e,t=!1){return xr(e,t)&&"-1"!==e.getAttribute("tabindex")}function wr({initialFocusRef:e,returnFocusRef:t,containerRef:r,preventFocusOnOpen:o}){a((()=>{if(o)return;const a=t.current;if(e&&e.current)e.current.focus();else if(r.current){const e=vr(r.current).next().value;null==e||e.focus()}return function(){null==a||a.focus()}}),[e,t,r,o])}const Br=[];function kr(e){if("Escape"===e.key&&!e.defaultPrevented)for(let t=Br.length-1;t>=0&&(Br[t](e),!e.defaultPrevented);--t);}const Tr=(e,t=[e])=>{const r=o(e,t);a((()=>(0===Br.length&&document.addEventListener("keydown",kr),Br.push(r),()=>{Br.splice(Br.findIndex((e=>e===r)),1),0===Br.length&&document.removeEventListener("keydown",kr)})),[r])};function Sr(t){const r=e.useRef(null);return null!=t?t:r}const Cr=({overlayRef:e,returnFocusRef:t,initialFocusRef:r,onEscape:o,ignoreClickRefs:a,onClickOutside:n,preventFocusOnOpen:i})=>{const l=Sr(e);return wr({containerRef:l,returnFocusRef:t,initialFocusRef:r,preventFocusOnOpen:i}),hr({containerRef:l,ignoreClickRefs:a,onClickOutside:n}),Tr(o),{ref:l}};let Er,Ir=!1;function Nr(){}try{const e=Object.create({},{signal:{get(){Ir=!0}}});window.addEventListener("test",Nr,e),window.removeEventListener("test",Nr,e)}catch(Gd){}function zr(){Ir||(!function(){if("undefined"==typeof window)return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,o){return"object"==typeof o&&"signal"in o&&o.signal instanceof AbortSignal&&e.call(o.signal,"abort",(()=>{this.removeEventListener(t,r,o)})),e.call(this,t,r,o)}}(),Ir=!0)}function _r(){return void 0===Er&&(Er=/^mac/i.test(window.navigator.platform)),Er}let Ar,Lr=1e4;function Rr(){return"__primer_id_"+Lr++}zr(),function(e){e[e.ArrowHorizontal=1]="ArrowHorizontal",e[e.ArrowVertical=2]="ArrowVertical",e[e.JK=4]="JK",e[e.HL=8]="HL",e[e.HomeAndEnd=16]="HomeAndEnd",e[e.PageUpDown=256]="PageUpDown",e[e.WS=32]="WS",e[e.AD=64]="AD",e[e.Tab=128]="Tab",e[e.ArrowAll=e.ArrowHorizontal|e.ArrowVertical]="ArrowAll",e[e.HJKL=e.HL|e.JK]="HJKL",e[e.WASD=e.WS|e.AD]="WASD",e[e.All=e.ArrowAll|e.HJKL|e.HomeAndEnd|e.PageUpDown|e.WASD|e.Tab]="All"}(Ar||(Ar={}));const Dr={ArrowLeft:Ar.ArrowHorizontal,ArrowDown:Ar.ArrowVertical,ArrowUp:Ar.ArrowVertical,ArrowRight:Ar.ArrowHorizontal,h:Ar.HL,j:Ar.JK,k:Ar.JK,l:Ar.HL,a:Ar.AD,s:Ar.WS,w:Ar.WS,d:Ar.AD,Tab:Ar.Tab,Home:Ar.HomeAndEnd,End:Ar.HomeAndEnd,PageUp:Ar.PageUpDown,PageDown:Ar.PageUpDown},Fr={ArrowLeft:"previous",ArrowDown:"next",ArrowUp:"previous",ArrowRight:"next",h:"previous",j:"next",k:"previous",l:"next",a:"previous",s:"next",w:"previous",d:"next",Tab:"next",Home:"start",End:"end",PageUp:"start",PageDown:"end"};function Mr(e){const t=Fr[e.key];if("Tab"===e.key&&e.shiftKey)return"previous";const r=_r();if(r&&e.metaKey||!r&&e.ctrlKey){if("ArrowLeft"===e.key||"ArrowUp"===e.key)return"start";if("ArrowRight"===e.key||"ArrowDown"===e.key)return"end"}return t}function Pr(e,t){var r,o,a,n;const i=[],l=new WeakMap,d=null!==(r=null==t?void 0:t.bindKeys)&&void 0!==r?r:(null!=t&&t.getNextFocusable?Ar.ArrowAll:Ar.ArrowVertical)|Ar.HomeAndEnd,s=null!==(o=null==t?void 0:t.focusOutBehavior)&&void 0!==o?o:"stop",c=null!==(a=null==t?void 0:t.focusInStrategy)&&void 0!==a?a:"previous",g=null==t?void 0:t.activeDescendantControl,f=null==t?void 0:t.onActiveDescendantChanged;let p;function u(){return i[0]}function b(e,t=!1){const r=p;p=e,g?e&&document.activeElement===g?m(r,e,t):h():(r&&r!==e&&l.has(r)&&r.setAttribute("tabindex","-1"),null==e||e.setAttribute("tabindex","0"))}function m(t,r,o=!1){r.id||r.setAttribute("id",Rr()),t&&t!==r&&t.removeAttribute("data-is-active-descendant"),g&&(o||g.getAttribute("aria-activedescendant")!==r.id)&&(g.setAttribute("aria-activedescendant",r.id),e.setAttribute("data-has-active-descendant",r.id),r.setAttribute("data-is-active-descendant",o?"activated-directly":"activated-indirectly"),null==f||f(r,t,o))}function h(t=p){"first"===c&&(p=void 0),null==g||g.removeAttribute("aria-activedescendant"),e.removeAttribute("data-has-active-descendant"),null==t||t.removeAttribute("data-is-active-descendant"),null==f||f(void 0,t,!1)}function v(...e){const r=e.filter((e=>{var r,o;return null===(r=null==t||null===(o=t.focusableElementFilter)||void 0===o?void 0:o.call(t,e))||void 0===r||r}));if(0===r.length)return;const o=i.findIndex((e=>(e.compareDocumentPosition(r[0])&Node.DOCUMENT_POSITION_PRECEDING)>0));i.splice(-1===o?i.length:o,0,...r);for(const e of r)l.has(e)||l.set(e,e.getAttribute("tabindex")),e.setAttribute("tabindex","-1");p||b(u())}function x(...e){for(const t of e){const e=i.indexOf(t);e>=0&&i.splice(e,1);const r=l.get(t);if(void 0!==r&&(null===r?t.removeAttribute("tabindex"):t.setAttribute("tabindex",r),l.delete(t)),t===p){b(u())}}}v(...vr(e)),b(u());new MutationObserver((e=>{for(const t of e)for(const e of t.removedNodes)e instanceof HTMLElement&&x(...vr(e));for(const t of e)for(const e of t.addedNodes)e instanceof HTMLElement&&v(...vr(e))})).observe(e,{subtree:!0,childList:!0});const y=new AbortController,w=null!==(n=null==t?void 0:t.abortSignal)&&void 0!==n?n:y.signal;let B;w.addEventListener("abort",(()=>{x(...i)})),e.addEventListener("mousedown",(e=>{e.target instanceof HTMLElement&&e.target!==document.activeElement&&(B=i.indexOf(e.target))}),{signal:w}),g?(e.addEventListener("focusin",(e=>{e.target instanceof HTMLElement&&i.includes(e.target)&&(g.focus(),b(e.target))})),e.addEventListener("mousemove",(({target:e})=>{if(!(e instanceof Node))return;const t=i.find((t=>t.contains(e)));t&&b(t)}),{signal:w,capture:!0}),g.addEventListener("focusin",(()=>{p?m(void 0,p):b(u())})),g.addEventListener("focusout",(()=>{h()}))):e.addEventListener("focusin",(t=>{if(t.target instanceof HTMLElement)if(void 0!==B)B>=0&&i[B]!==p&&b(i[B]),B=void 0;else if("previous"===c)b(t.target);else if("closest"===c||"first"===c){if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e="previous"===T?i.length-1:0,t=i[e];return void(null==t||t.focus())}b(t.target)}else if("function"==typeof c)if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e=c(t.relatedTarget);if((e?i.indexOf(e):-1)>=0&&e instanceof HTMLElement)return void e.focus();console.warn("Element requested is not a known focusable element.")}else b(t.target);T=void 0}),{signal:w});const k=null!=g?g:e;let T;return"closest"===c&&document.addEventListener("keydown",(e=>{"Tab"===e.key&&(T=Mr(e))}),{signal:w,capture:!0}),k.addEventListener("keydown",(r=>{if(r.key in Fr){const a=Dr[r.key];if(!r.defaultPrevented&&(a&d)>0&&!function(e,t){const r=e.key,o=[...r].length,a=t instanceof HTMLInputElement&&"text"===t.type||t instanceof HTMLTextAreaElement;if(a&&(1===o||"Home"===r||"End"===r))return!0;if(t instanceof HTMLSelectElement){if(1===o)return!0;if("ArrowDown"===r&&_r()&&!e.metaKey)return!0;if("ArrowDown"===r&&!_r()&&e.altKey)return!0}if(t instanceof HTMLTextAreaElement&&("PageUp"===r||"PageDown"===r))return!0;if(a){const e=t,o=0===e.selectionStart&&0===e.selectionEnd,a=e.selectionStart===e.value.length&&e.selectionEnd===e.value.length;if("ArrowLeft"===r&&!o)return!0;if("ArrowRight"===r&&!a)return!0;if(e instanceof HTMLTextAreaElement){if("ArrowUp"===r&&!o)return!0;if("ArrowDown"===r&&!a)return!0}}return!1}(r,document.activeElement)){const a=Mr(r);let n;var o;if(null!=t&&t.getNextFocusable)n=t.getNextFocusable(a,null!==(o=document.activeElement)&&void 0!==o?o:void 0,r);if(!n){const t=function(){if(!p)return 0;const t=i.indexOf(p);return-1!==t?t:p===e?-1:0}();let o=t;"previous"===a?o-=1:"start"===a?o=0:"next"===a?o+=1:o=i.length-1,o<0&&(o="wrap"===s&&"Tab"!==r.key?i.length-1:0),o>=i.length&&(o="wrap"===s&&"Tab"!==r.key?0:i.length-1),t!==o&&(n=i[o])}g?b(n||p,!0):n&&(T=a,n.focus()),("Tab"!==r.key||n)&&r.preventDefault()}}}),{signal:w}),y}var Hr=u(["position:relative;display:inline-block;padding:6px 16px;font-family:inherit;font-weight:",";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:",";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"],zt("fontWeights.bold"),zt("radii.2"));const Or=pe({variants:{small:{p:"4px 12px",fontSize:0},medium:{fontSize:1},large:{fontSize:2,p:"10px 20px"}}}),jr=g.button.attrs((({disabled:e,onClick:t})=>({onClick:e?void 0:t}))).withConfig({displayName:"ButtonBase",componentId:"sc-181ps9o-0"})([""," ",""],Hr,Or);jr.defaultProps={variant:"medium"};var Wr=jr;var $r=g(Wr).withConfig({displayName:"Button",componentId:"sc-xjtz72-0"})(["color:",";background-color:",";border:1px solid ",";box-shadow:",",","};&:hover{background-color:",";border-color:",";}&:focus{border-color:",";box-shadow:",";}&:active{background-color:",";box-shadow:",";}&:disabled{color:",";background-color:",";border-color:",";}",";"],zt("colors.btn.text"),zt("colors.btn.bg"),zt("colors.btn.border"),zt("shadows.btn.shadow"),zt("shadows.btn.insetShadow"),zt("colors.btn.hoverBg"),zt("colors.btn.hoverBorder"),zt("colors.btn.focusBorder"),zt("shadows.btn.focusShadow"),zt("colors.btn.selectedBg"),zt("shadows.btn.shadowActive"),zt("colors.primer.fg.disabled"),zt("colors.btn.bg"),zt("colors.btn.border"),Zt);var Ur=g(Wr).withConfig({displayName:"ButtonDanger",componentId:"sc-13blgmk-0"})(["color:",";border:1px solid ",";background-color:",";box-shadow:",";&:hover{color:",";background-color:",";border-color:",";box-shadow:",";}&:focus{border-color:",";box-shadow:",";}&:active{color:",";background-color:",";box-shadow:",";border-color:",";}&:disabled{color:",";background-color:",";border-color:",";}",";"],zt("colors.btn.danger.text"),zt("colors.btn.border"),zt("colors.btn.bg"),zt("shadows.btn.shadow"),zt("colors.btn.danger.hoverText"),zt("colors.btn.danger.hoverBg"),zt("colors.btn.danger.hoverBorder"),zt("shadows.btn.danger.hoverShadow"),zt("colors.btn.danger.focusBorder"),zt("shadows.btn.danger.focusShadow"),zt("colors.btn.danger.selectedText"),zt("colors.btn.danger.selectedBg"),zt("shadows.btn.danger.selectedShadow"),zt("colors.btn.danger.selectedBorder"),zt("colors.btn.danger.disabledText"),zt("colors.btn.danger.disabledBg"),zt("colors.btn.danger.disabledBorder"),Zt);const qr=g(Qt).withConfig({displayName:"ButtonGroup",componentId:"sc-peei04-0"})(["vertical-align:middle;&& > *{position:relative;border-right-width:0;border-radius:0;:first-child{border-top-left-radius:",";border-bottom-left-radius:",";margin-right:0;}:not(:first-child){margin-left:0;margin-right:0;}:last-child{border-right-width:1px;border-top-right-radius:",";border-bottom-right-radius:",";}:focus,:active,:hover{border-right-width:1px;+ *{border-left-width:0;}}:focus,:active{z-index:1;}}",";"],zt("radii.2"),zt("radii.2"),zt("radii.2"),zt("radii.2"),Zt);qr.defaultProps={display:"inline-block"};var Gr=qr;var Vr=g(Wr).withConfig({displayName:"ButtonOutline",componentId:"sc-15gta9l-0"})(["color:",";border:1px solid ",";background-color:",";box-shadow:",";&:hover{color:",";background-color:",";border-color:",";box-shadow:",";}&:focus{border-color:",";box-shadow:",";}&:active{color:",";background-color:",";box-shadow:",";border-color:",";}&:disabled{color:",";background-color:",";border-color:",";}",";"],zt("colors.btn.outline.text"),zt("colors.btn.border"),zt("colors.btn.bg"),zt("shadows.btn.shadow"),zt("colors.btn.outline.hoverText"),zt("colors.btn.outline.hoverBg"),zt("colors.btn.outline.hoverBorder"),zt("shadows.btn.outline.hoverShadow"),zt("colors.btn.outline.focusBorder"),zt("shadows.btn.outline.focusShadow"),zt("colors.btn.outline.selectedText"),zt("colors.btn.outline.selectedBg"),zt("shadows.btn.outline.selectedShadow"),zt("colors.btn.outline.selectedBorder"),zt("colors.btn.outline.disabledText"),zt("colors.btn.outline.disabledBg"),zt("colors.btn.border"),Zt);var Kr=g(Wr).withConfig({displayName:"ButtonPrimary",componentId:"sc-1050ge1-0"})(["color:",";border:1px solid ",";background-color:",";box-shadow:",";&:hover{color:",";background-color:",";border-color:",";box-shadow:",";}&:focus{border-color:",";box-shadow:",";}&:active{background-color:",";box-shadow:",";}&:disabled{color:",";background-color:",";border-color:",";}",";"],zt("colors.btn.primary.text"),zt("colors.btn.primary.border"),zt("colors.btn.primary.bg"),zt("shadows.btn.primary.shadow"),zt("colors.btn.primary.hoverText"),zt("colors.btn.primary.hoverBg"),zt("colors.btn.primary.hoverBorder"),zt("shadows.btn.primary.hoverShadow"),zt("colors.btn.primary.focusBorder"),zt("shadows.btn.primary.focusShadow"),zt("colors.btn.primary.selectedBg"),zt("shadows.btn.primary.selectedShadow"),zt("colors.btn.primary.disabledText"),zt("colors.btn.primary.disabledBg"),zt("colors.btn.primary.disabledBorder"),Zt);var Xr=g(Wr).withConfig({displayName:"ButtonInvisible",componentId:"sc-1195tpn-0"})(["color:",";background-color:transparent;border:0;border-radius:",";box-shadow:none;&:disabled{color:",";}&:focus{box-shadow:",";}&:hover{background-color:",";}&:active{background-color:",";}",""],zt("colors.accent.fg"),zt("radii.2"),zt("colors.primer.fg.disabled"),zt("shadows.btn.focusShadow"),zt("colors.btn.hoverBg"),zt("colors.btn.selectedBg"),Zt);var Yr=g.summary.withConfig({displayName:"ButtonTableList",componentId:"sc-1m4q8ia-0"})(["display:inline-block;padding:0;font-size:",";color:",";text-decoration:none;white-space:nowrap;cursor:pointer;user-select:none;background-color:transparent;border:0;appearance:none;&:hover{text-decoration:underline;}&:disabled{&,&:hover{color:",";cursor:default;}}&:after{display:inline-block;margin-left:",";width:0;height:0;vertical-align:-2px;content:'';border:4px solid transparent;border-top-color:currentcolor;}",";"],zt("fontSizes.1"),zt("colors.fg.muted"),zt("colors.primer.fg.disabled"),zt("space.1"),Zt),Jr={small:16,medium:32,large:64};function Zr(e){var t=e["aria-label"],r=e.className,o=e.fill,a=void 0===o?"currentColor":o,n=e.size,i=e.verticalAlign,l=e.svgDataByHeight,d=Jr[n]||n,s=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(l),d),c=l[s].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+c+" "+s,width:d*(c/s),height:d,fill:a,style:{display:"inline-block",userSelect:"none",verticalAlign:i,overflow:"visible"},dangerouslySetInnerHTML:{__html:l[s].path}}}var Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function eo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"></path>'}}})))}function to(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 110-.005v.004zm.45 1.9a2.25 2.25 0 10-1.95.218v5.256a2.25 2.25 0 101.5 0V7.123A5.735 5.735 0 009.25 9h1.378a2.251 2.251 0 100-1.5H9.25a4.25 4.25 0 01-3.8-2.346zM12.75 9a.75.75 0 100-1.5.75.75 0 000 1.5zm-8.5 4.5a.75.75 0 100-1.5.75.75 0 000 1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.75 21a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 19.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM5.75 6.5a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 4.75a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM18.25 15a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM15 13.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0z"></path><path fill-rule="evenodd" d="M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 015 7.25h1.5z"></path><path fill-rule="evenodd" d="M5.75 16.75A.75.75 0 006.5 16V8A.75.75 0 005 8v8c0 .414.336.75.75.75z"></path>'}}})))}function ro(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M4.75 3a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 4.75a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zM4.75 17.5a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm17.75-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM16 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0z"></path><path fill-rule="evenodd" d="M4.75 7.25A.75.75 0 015.5 8v8A.75.75 0 014 16V8a.75.75 0 01.75-.75zm8.655-5.53a.75.75 0 010 1.06L12.185 4h4.065A3.75 3.75 0 0120 7.75v8.75a.75.75 0 01-1.5 0V7.75a2.25 2.25 0 00-2.25-2.25h-4.064l1.22 1.22a.75.75 0 01-1.061 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 011.06 0z"></path>'}}})))}function oo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"></path><path fill-rule="evenodd" d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-1.5 0a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"></path>'},24:{width:24,path:'<path d="M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function ao(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M6.749.097a8.054 8.054 0 012.502 0 .75.75 0 11-.233 1.482 6.554 6.554 0 00-2.036 0A.75.75 0 016.749.097zM4.345 1.693A.75.75 0 014.18 2.74a6.542 6.542 0 00-1.44 1.44.75.75 0 01-1.212-.883 8.042 8.042 0 011.769-1.77.75.75 0 011.048.166zm7.31 0a.75.75 0 011.048-.165 8.04 8.04 0 011.77 1.769.75.75 0 11-1.214.883 6.542 6.542 0 00-1.439-1.44.75.75 0 01-.165-1.047zM.955 6.125a.75.75 0 01.624.857 6.554 6.554 0 000 2.036.75.75 0 01-1.482.233 8.054 8.054 0 010-2.502.75.75 0 01.858-.624zm14.09 0a.75.75 0 01.858.624 8.057 8.057 0 010 2.502.75.75 0 01-1.482-.233 6.55 6.55 0 000-2.036.75.75 0 01.624-.857zm-13.352 5.53a.75.75 0 011.048.165 6.542 6.542 0 001.439 1.44.75.75 0 01-.883 1.212 8.04 8.04 0 01-1.77-1.769.75.75 0 01.166-1.048zm12.614 0a.75.75 0 01.165 1.048 8.038 8.038 0 01-1.769 1.77.75.75 0 11-.883-1.214 6.543 6.543 0 001.44-1.439.75.75 0 011.047-.165zm-8.182 3.39a.75.75 0 01.857-.624 6.55 6.55 0 002.036 0 .75.75 0 01.233 1.482 8.057 8.057 0 01-2.502 0 .75.75 0 01-.624-.858z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M10.157 1.154a11.07 11.07 0 013.686 0 .75.75 0 01-.25 1.479 9.568 9.568 0 00-3.186 0 .75.75 0 01-.25-1.48zM6.68 3.205a.75.75 0 01-.177 1.046A9.558 9.558 0 004.25 6.503a.75.75 0 01-1.223-.87 11.058 11.058 0 012.606-2.605.75.75 0 011.046.177zm10.64 0a.75.75 0 011.046-.177 11.058 11.058 0 012.605 2.606.75.75 0 11-1.222.869 9.558 9.558 0 00-2.252-2.252.75.75 0 01-.177-1.046zM2.018 9.543a.75.75 0 01.615.864 9.568 9.568 0 000 3.186.75.75 0 01-1.48.25 11.07 11.07 0 010-3.686.75.75 0 01.865-.614zm19.964 0a.75.75 0 01.864.614 11.066 11.066 0 010 3.686.75.75 0 01-1.479-.25 9.56 9.56 0 000-3.186.75.75 0 01.615-.864zM3.205 17.32a.75.75 0 011.046.177 9.558 9.558 0 002.252 2.252.75.75 0 11-.87 1.223 11.058 11.058 0 01-2.605-2.606.75.75 0 01.177-1.046zm17.59 0a.75.75 0 01.176 1.046 11.057 11.057 0 01-2.605 2.605.75.75 0 11-.869-1.222 9.558 9.558 0 002.252-2.252.75.75 0 011.046-.177zM9.543 21.982a.75.75 0 01.864-.615 9.56 9.56 0 003.186 0 .75.75 0 01.25 1.48 11.066 11.066 0 01-3.686 0 .75.75 0 01-.614-.865z"></path>'}}})))}function no(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M8 9.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path><path fill-rule="evenodd" d="M8 0a8 8 0 100 16A8 8 0 008 0zM1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0zM12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm0 13a2 2 0 100-4 2 2 0 000 4z"></path>'}}})))}function io(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M11.75 4.5a.75.75 0 01.75.75V11h5.75a.75.75 0 010 1.5H12.5v5.75a.75.75 0 01-1.5 0V12.5H5.25a.75.75 0 010-1.5H11V5.25a.75.75 0 01.75-.75z"></path>'}}})))}function lo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zM6.92 6.085c.081-.16.19-.299.34-.398.145-.097.371-.187.74-.187.28 0 .553.087.738.225A.613.613 0 019 6.25c0 .177-.04.264-.077.318a.956.956 0 01-.277.245c-.076.051-.158.1-.258.161l-.007.004a7.728 7.728 0 00-.313.195 2.416 2.416 0 00-.692.661.75.75 0 001.248.832.956.956 0 01.276-.245 6.3 6.3 0 01.26-.16l.006-.004c.093-.057.204-.123.313-.195.222-.149.487-.355.692-.662.214-.32.329-.702.329-1.15 0-.76-.36-1.348-.863-1.725A2.76 2.76 0 008 4c-.631 0-1.155.16-1.572.438-.413.276-.68.638-.849.977a.75.75 0 101.342.67z"></path>'},24:{width:24,path:'<path d="M10.97 8.265a1.45 1.45 0 00-.487.57.75.75 0 01-1.341-.67c.2-.402.513-.826.997-1.148C10.627 6.69 11.244 6.5 12 6.5c.658 0 1.369.195 1.934.619a2.45 2.45 0 011.004 2.006c0 1.033-.513 1.72-1.027 2.215-.19.183-.399.358-.579.508l-.147.123a4.329 4.329 0 00-.435.409v1.37a.75.75 0 11-1.5 0v-1.473c0-.237.067-.504.247-.736.22-.28.486-.517.718-.714l.183-.153.001-.001c.172-.143.324-.27.47-.412.368-.355.569-.676.569-1.136a.953.953 0 00-.404-.806C12.766 8.118 12.384 8 12 8c-.494 0-.814.121-1.03.265zM13 17a1 1 0 11-2 0 1 1 0 012 0z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function so(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>'},24:{width:24,path:'<path d="M11.646 15.146L5.854 9.354a.5.5 0 01.353-.854h11.586a.5.5 0 01.353.854l-5.793 5.792a.5.5 0 01-.707 0z"></path>'}}})))}function co(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path>'}}})))}eo.defaultProps={className:"octicon octicon-check",size:16,verticalAlign:"text-bottom"},to.defaultProps={className:"octicon octicon-git-merge",size:16,verticalAlign:"text-bottom"},ro.defaultProps={className:"octicon octicon-git-pull-request",size:16,verticalAlign:"text-bottom"},oo.defaultProps={className:"octicon octicon-issue-closed",size:16,verticalAlign:"text-bottom"},ao.defaultProps={className:"octicon octicon-issue-draft",size:16,verticalAlign:"text-bottom"},no.defaultProps={className:"octicon octicon-issue-opened",size:16,verticalAlign:"text-bottom"},io.defaultProps={className:"octicon octicon-plus",size:16,verticalAlign:"text-bottom"},lo.defaultProps={className:"octicon octicon-question",size:16,verticalAlign:"text-bottom"},so.defaultProps={className:"octicon octicon-triangle-down",size:16,verticalAlign:"text-bottom"},co.defaultProps={className:"octicon octicon-x",size:16,verticalAlign:"text-bottom"};const go=g.button.withConfig({displayName:"ButtonClose__StyledButton",componentId:"sc-13mzqph-0"})(["border:none;padding:0;background:transparent;outline:none;cursor:pointer;border-radius:",";color:",";&:focus{box-shadow:",";}&:hover{color:",";}",";"],zt("radii.2"),zt("colors.fg.muted"),zt("shadows.btn.focusShadow"),zt("colors.accent.fg"),Zt);var fo=i(((t,r)=>e.createElement(go,Lt({ref:r,"aria-label":"Close"},t),e.createElement(co,null))));const po={"outside-top":["outside-bottom","outside-right","outside-left","outside-bottom"],"outside-bottom":["outside-top","outside-right","outside-left","outside-bottom"],"outside-left":["outside-right","outside-bottom","outside-top","outside-bottom"],"outside-right":["outside-left","outside-bottom","outside-top","outside-bottom"]};function uo(e,t,r={}){const o=function(e){let t=e.parentNode;for(;null!==t;){if(t instanceof HTMLElement&&"static"!==getComputedStyle(t).position)return t;t=t.parentNode}return document.body}(e),a=function(e){let t=e;for(;null!==t&&t!==document.body;){if("visible"!==getComputedStyle(t).overflow)break;t=t.parentNode}const r=t!==document.body&&t instanceof HTMLElement?t:document.body,o=r.getBoundingClientRect(),a=getComputedStyle(r),[n,i,l,d]=[a.borderTopWidth,a.borderLeftWidth,a.borderRightWidth,a.borderBottomWidth].map((e=>parseInt(e,10)||0));return{top:o.top+n,left:o.left+i,width:o.width-l-i,height:Math.max(o.height-n-d,r===document.body?window.innerHeight:-1/0)}}(o),n=getComputedStyle(o),i=o.getBoundingClientRect(),[l,d]=[n.borderTopWidth,n.borderLeftWidth].map((e=>parseInt(e,10)||0));return function(e,t,r,o,{side:a,align:n,allowOutOfBounds:i,anchorOffset:l,alignmentOffset:d}){const s={top:e.top-t.top,left:e.left-t.left,width:e.width,height:e.height};let c=yo(r,o,a,n,l,d),g=a;if(c.top-=t.top,c.left-=t.left,!i){const i=po[a];let f=0;if(i){let e=a;for(;f<i.length&&wo(e,c,s,r);){const a=i[f++];e=a,c=yo(r,o,a,n,l,d),c.top-=t.top,c.left-=t.left,g=a}}c.top<s.top&&(c.top=s.top),c.left<s.left&&(c.left=s.left),c.left+r.width>e.width+s.left&&(c.left=e.width+s.left-r.width),i&&f<i.length&&c.top+r.height>e.height+s.top&&(c.top=e.height+s.top-r.height)}return{...c,anchorSide:g}}(a,{top:i.top+l,left:i.left+d},e.getBoundingClientRect(),t instanceof Element?t.getBoundingClientRect():t,function(e={}){var t,r,o,a,n;const i=null!==(t=e.side)&&void 0!==t?t:bo,l=null!==(r=e.align)&&void 0!==r?r:mo;return{side:i,align:l,anchorOffset:null!==(o=e.anchorOffset)&&void 0!==o?o:"inside-center"===i?0:ho,alignmentOffset:null!==(a=e.alignmentOffset)&&void 0!==a?a:"center"!==l&&i.startsWith("inside")?vo:0,allowOutOfBounds:null!==(n=e.allowOutOfBounds)&&void 0!==n?n:xo}}(r))}const bo="outside-bottom",mo="start",ho=4,vo=4,xo=!1;function yo(e,t,r,o,a,n){const i=t.left+t.width,l=t.top+t.height;let d=-1,s=-1;return"outside-top"===r?d=t.top-a-e.height:"outside-bottom"===r?d=l+a:"outside-left"===r?s=t.left-a-e.width:"outside-right"===r&&(s=i+a),"outside-top"!==r&&"outside-bottom"!==r||(s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n),"outside-left"!==r&&"outside-right"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),"inside-top"===r?d=t.top+a:"inside-bottom"===r?d=l-a-e.height:"inside-left"===r?s=t.left+a:"inside-right"===r?s=i-a-e.width:"inside-center"===r&&(s=(i+t.left)/2-e.width/2+a),"inside-top"===r||"inside-bottom"===r?s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n:"inside-left"!==r&&"inside-right"!==r&&"inside-center"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),{top:d,left:s}}function wo(e,t,r,o){return"outside-top"===e||"outside-bottom"===e?t.top<r.top||t.top+o.height>r.height+r.top:t.left<r.left||t.left+o.width>r.width+r.left}var Bo="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l:a;function ko(t,r=[]){const o=Sr(null==t?void 0:t.floatingElementRef),a=Sr(null==t?void 0:t.anchorElementRef),[n,i]=e.useState(void 0),l=e.useCallback((()=>{o.current instanceof Element&&a.current instanceof Element?i(uo(o.current,a.current,t)):i(void 0)}),[o,a,...r]);var d;return Bo(l,[l]),Bo((()=>{const e=new window.ResizeObserver((()=>d()));return e.observe(document.documentElement),()=>{e.disconnect()}}),[d=l]),{floatingElementRef:o,anchorElementRef:a,position:n}}zr();const To=[];let So;function Co(e,t=!1){return vr(e,{reverse:t,strict:!0,onlyTabbable:!0}).next().value}function Eo(e,t,r){const o=new AbortController,a=null!=r?r:o.signal;let n;function i(r){if(r instanceof HTMLElement&&document.contains(e)){if(e.contains(r))return void(n=r);if(n&&yr(n)&&e.contains(n))return void n.focus();if(t&&e.contains(t))return void t.focus();{const t=null===e.getAttribute("tabindex");return t&&e.setAttribute("tabindex","-1"),e.focus(),void(t&&e.addEventListener("blur",(()=>e.removeAttribute("tabindex")),{once:!0}))}}}e.setAttribute("data-focus-trap","active");const l=function(e){const t=new AbortController;return e.addEventListener("abort",(()=>{t.abort()})),t}(a);if(e.addEventListener("keydown",(t=>{if("Tab"!==t.key||t.defaultPrevented)return;const{target:r}=t,o=Co(e),a=Co(e,!0);r===o&&t.shiftKey?(t.preventDefault(),null==a||a.focus()):r!==a||t.shiftKey||(t.preventDefault(),null==o||o.focus())}),{signal:l.signal}),So){const e=So;So.container.setAttribute("data-focus-trap","suspended"),So.controller.abort(),To.push(e)}l.signal.addEventListener("abort",(()=>{So=void 0})),a.addEventListener("abort",(()=>{e.removeAttribute("data-focus-trap");const t=To.findIndex((t=>t.container===e));t>=0&&To.splice(t,1),function(){const e=To.pop();e&&Eo(e.container,e.initialFocus,e.originalSignal)}()})),document.addEventListener("focus",(e=>{i(e.target)}),{signal:l.signal,capture:!0}),i(document.activeElement),So={container:e,controller:l,initialFocus:t,originalSignal:a};const d=To.findIndex((t=>t.container===e));if(d>=0&&To.splice(d,1),!r)return o}function Io(t,r=[]){const o=Sr(null==t?void 0:t.containerRef),a=Sr(null==t?void 0:t.initialFocusRef),n=null==t?void 0:t.disabled,i=e.useRef(),l=e.useRef(null);function d(){var e;null===(e=i.current)||void 0===e||e.abort(),null!=t&&t.restoreFocusOnCleanUp&&l.current instanceof HTMLElement&&(l.current.focus(),l.current=null)}return l.current||null!=t&&t.disabled||(l.current=document.activeElement),e.useEffect((()=>{if(o.current instanceof HTMLElement){var e;if(!n)return i.current=Eo(o.current,null!==(e=a.current)&&void 0!==e?e:void 0),()=>{d()};d()}}),[o,a,n,...r]),{containerRef:o,initialFocusRef:a}}function No({icon:t,...r}){return e.createElement(t,r)}No.displayName="Octicon";const zo=g(No).withConfig({displayName:"StyledOcticon",componentId:"sc-uhnt7w-0"})(["",""],Zt);zo.defaultProps={size:16};var _o=zo;function Ao(t={},r=[]){const o=Sr(t.containerRef),n=!!t.activeDescendantFocus,i=Sr("boolean"!=typeof t.activeDescendantFocus&&t.activeDescendantFocus?t.activeDescendantFocus:void 0),l=t.disabled,d=e.useRef();return a((()=>{if(o.current instanceof HTMLElement&&(!n||i.current instanceof HTMLElement)){if(!l){var e;const r={...t,activeDescendantControl:null!==(e=i.current)&&void 0!==e?e:void 0};return d.current=Pr(o.current,r),()=>{var e;null===(e=d.current)||void 0===e||e.abort()}}var r;null===(r=d.current)||void 0===r||r.abort()}}),[l,...r]),{containerRef:o,activeDescendantControlRef:i}}const Lo={};function Ro(){const e=Lo.__default__;if(!e||!document.body.contains(e)){let e=document.getElementById("__primerPortalRoot__");if(!(e instanceof Element)){e=document.createElement("div"),e.setAttribute("id","__primerPortalRoot__"),e.style.position="absolute",e.style.top="0",e.style.left="0";const t=document.querySelector("[data-portal-root]");t?t.appendChild(e):document.body.appendChild(e)}!function(e,t="__default__"){Lo[t]=e}(e)}}var Do=({children:t,onMount:r,containerName:o})=>{const a=document.createElement("div");a.style.position="relative",a.style.zIndex="1";const n=e.useRef(a);return Bo((()=>{let e=o;void 0===e&&(e="__default__",Ro());const t=Lo[e];if(!t)throw new Error(`Portal container '${o}' is not yet registered. Container must be registered with registerPortal before use.`);const a=n.current;return t.appendChild(a),null==r||r(),()=>{t.removeChild(a)}}),[n]),v(t,n.current)};function Fo(...e){const t=r(null);return Bo((()=>{function r(t=null){for(const r of e){if(!r)return;"function"==typeof r?r(t):r.current=t}}return r(t.current),()=>{r(t.current)}}),[...e,t.current]),t}const Mo={prefix:String(Math.round(1e10*Math.random())),current:0},Po=e.createContext(Mo);function Ho(t){let r=d(Po),o=n((()=>({prefix:r===Mo?"":r.prefix+"-"+ ++r.current,current:0})),[r]);return e.createElement(Po.Provider,{value:o},t.children)}let Oo=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function jo(e){let t=d(Po);return t!==Mo||Oo||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),n((()=>e||"react-aria"+t.prefix+"-"+ ++t.current),[e])}const Wo=g("div").withConfig({displayName:"Dialog__Backdrop",componentId:"sc-11pkgky-0"})(["position:fixed;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,0.4);animation:dialog-backdrop-appear "," ",";@keyframes dialog-backdrop-appear{0%{opacity:0;}100%{opacity:1;}}"],"200ms",zt("animation.easeOutCubic")),$o={small:"480px",large:"640px",auto:"auto"},Uo={small:"296px",medium:"320px",large:"480px",xlarge:"640px"},qo=g.div.withConfig({displayName:"Dialog__StyledDialog",componentId:"sc-11pkgky-1"})(["display:flex;flex-direction:column;background-color:",";box-shadow:",";min-width:296px;max-width:calc(100vw - 64px);max-height:calc(100vh - 64px);width:",";height:",";border-radius:12px;opacity:1;animation:overlay--dialog-appear "," ",";@keyframes overlay--dialog-appear{0%{opacity:0;transform:scale(0.5);}100%{opacity:1;transform:scale(1);}}",";"],zt("colors.canvas.overlay"),zt("shadows.overlay.shadow"),(e=>{var t;return Uo[null!==(t=e.width)&&void 0!==t?t:"xlarge"]}),(e=>{var t;return $o[null!==(t=e.height)&&void 0!==t?t:"auto"]}),"200ms",zt("animation.easeOutCubic"),Zt),Go=({dialogLabelId:t,title:r,subtitle:a,dialogDescriptionId:n,onClose:i})=>{const l=o((()=>{i("close-button")}),[i]);return e.createElement(aa.Header,null,e.createElement(Qt,{display:"flex"},e.createElement(Qt,{display:"flex",px:2,py:"6px",flexDirection:"column",flexGrow:1},e.createElement(aa.Title,{id:t},null!=r?r:"Dialog"),a&&e.createElement(aa.Subtitle,{id:n},a)),e.createElement(aa.CloseButton,{onClose:l})))};Go.displayName="DefaultHeader";const Vo=({children:t})=>e.createElement(aa.Body,null,t);Vo.displayName="DefaultBody";const Ko=({footerButtons:t})=>{const{containerRef:r}=Ao({bindKeys:Ar.ArrowHorizontal|Ar.Tab,focusInStrategy:"closest"});return t?e.createElement(aa.Footer,{ref:r},e.createElement(aa.Buttons,{buttons:t})):null},Xo=e.forwardRef(((t,o)=>{const{title:a="Dialog",subtitle:n="",renderHeader:i,renderBody:l,renderFooter:d,onClose:s,role:c="dialog",width:g="xlarge",height:f="auto",footerButtons:p=[]}=t,u=jo(),b=jo(),m=r(null);for(const e of p)e.autoFocus&&(e.ref=m);const h={...t,title:a,subtitle:n,role:c,dialogLabelId:u,dialogDescriptionId:b},v=r(null),x=Fo(v,o),y=r(null);Io({containerRef:v,restoreFocusOnCleanUp:!0,initialFocusRef:m}),Tr((e=>{s("escape"),e.preventDefault()}),[s]);const w=(null!=i?i:Go)(h),B=(null!=l?l:Vo)(h),k=(null!=d?d:Ko)(h);return e.createElement(e.Fragment,null,e.createElement(Do,null,e.createElement(Wo,{ref:y},e.createElement(qo,{width:g,height:f,ref:x,role:c,"aria-labelledby":u,"aria-describedby":b},w,B,k))))}));Xo.displayName="Dialog";const Yo=g.div.attrs({as:"header"}).withConfig({displayName:"Dialog__Header",componentId:"sc-11pkgky-2"})(["box-shadow:0 1px 0 ",";padding:",";z-index:1;flex-shrink:0;"],zt("colors.border.default"),zt("space.2")),Jo=g.div.withConfig({displayName:"Dialog__Title",componentId:"sc-11pkgky-3"})(["font-size:",";font-weight:",";",";"],zt("fontSizes.1"),zt("fontWeights.bold"),Zt),Zo=g.div.withConfig({displayName:"Dialog__Subtitle",componentId:"sc-11pkgky-4"})(["font-size:",";margin-top:",";color:",";",";"],zt("fontSizes.0"),zt("space.1"),zt("colors.fg.muted"),Zt),Qo=g.div.withConfig({displayName:"Dialog__Body",componentId:"sc-11pkgky-5"})(["flex-grow:1;overflow:auto;padding:",";",";"],zt("space.3"),Zt),ea=g.div.attrs({as:"footer"}).withConfig({displayName:"Dialog__Footer",componentId:"sc-11pkgky-6"})(["box-shadow:0 -1px 0 ",";padding:",";display:flex;flex-flow:wrap;justify-content:flex-end;z-index:1;flex-shrink:0;button{margin-left:",";&:first-child{margin-left:0;}}",";"],zt("colors.border.default"),zt("space.3"),zt("space.1"),Zt),ta={normal:$r,primary:Kr,danger:Ur},ra=g($r).withConfig({displayName:"Dialog__DialogCloseButton",componentId:"sc-11pkgky-7"})(["border-radius:4px;background:transparent;border:0;vertical-align:middle;color:",";padding:",";align-self:flex-start;line-height:normal;box-shadow:none;"],zt("colors.fg.muted"),zt("space.2")),oa=({onClose:t})=>e.createElement(ra,{"aria-label":"Close",onClick:t},e.createElement(_o,{icon:co}));oa.displayName="CloseButton";const aa=Object.assign(Xo,{Header:Yo,Title:Jo,Subtitle:Zo,Body:Qo,Footer:ea,Buttons:({buttons:r})=>{var o;const n=Sr(null===(o=r.find((e=>e.autoFocus)))||void 0===o?void 0:o.ref);let i=0;const[l,d]=t(0);return a((()=>{var e;1===l?null===(e=n.current)||void 0===e||e.focus():d(l+1)}),[n,l]),e.createElement(e.Fragment,null,r.map(((t,r)=>{const{content:o,buttonType:a="normal",autoFocus:l=!1,...d}=t,s=ta[a];return e.createElement(s,Lt({key:r},d,{variant:a,ref:l&&0===i?(i++,n):null}),o)})))},CloseButton:oa}),na=g.header.withConfig({displayName:"ConfirmationDialog__StyledConfirmationHeader",componentId:"sc-1ub32x2-0"})(["padding:",";display:flex;flex-direction:row;"],zt("space.2")),ia=g(Qt).withConfig({displayName:"ConfirmationDialog__StyledTitle",componentId:"sc-1ub32x2-1"})(["font-size:",";font-weight:",";padding:6px ",";flex-grow:1;"],zt("fontSizes.3"),zt("fontWeights.bold"),zt("space.2")),la=({title:t,onClose:r,dialogLabelId:a})=>{const n=o((()=>{r("close-button")}),[r]);return e.createElement(na,null,e.createElement(ia,{id:a},t),e.createElement(aa.CloseButton,{onClose:n}))};la.displayName="ConfirmationHeader";const da=g(Qt).withConfig({displayName:"ConfirmationDialog__StyledConfirmationBody",componentId:"sc-1ub32x2-2"})(["font-size:",";padding:0 "," "," ",";color:",";flex-grow:1;"],zt("fontSizes.1"),zt("space.3"),zt("space.3"),zt("space.3"),zt("colors.fg.muted")),sa=({children:t})=>e.createElement(da,null,t);sa.displayName="ConfirmationBody";const ca=g(Qt).withConfig({displayName:"ConfirmationDialog__StyledConfirmationFooter",componentId:"sc-1ub32x2-3"})(["display:grid;grid-auto-flow:column;grid-auto-columns:max-content;grid-gap:",";align-items:end;justify-content:end;padding:"," "," ",";"],zt("space.2"),zt("space.1"),zt("space.3"),zt("space.3")),ga=({footerButtons:t})=>{const{containerRef:r}=Ao({bindKeys:Ar.ArrowHorizontal|Ar.Tab,focusInStrategy:"closest"});return e.createElement(ca,{ref:r},e.createElement(aa.Buttons,{buttons:null!=t?t:[]}))};ga.displayName="ConfirmationFooter";const fa=t=>{const{onClose:r,title:a,cancelButtonContent:n="Cancel",confirmButtonContent:i="OK",confirmButtonType:l="normal",children:d}=t,s=[{content:n,onClick:o((()=>{r("cancel")}),[r])},{content:i,buttonType:l,onClick:o((()=>{r("confirm")}),[r]),autoFocus:!0}];return e.createElement(aa,{onClose:r,title:a,footerButtons:s,role:"alertdialog",width:"medium",renderHeader:la,renderBody:sa,renderFooter:ga},d)};function pa(){const{theme:t,colorMode:r,dayScheme:a,nightScheme:n}=Kt();return o((o=>async function(t,r){const{content:o,...a}=r;return new Promise((r=>{const n=document.createElement("div");h.render(e.createElement(Vt,t,e.createElement(fa,Lt({},a,{onClose:e=>{h.unmountComponentAtNode(n),r("confirm"===e)}}),o)),n)}))}({theme:t,colorMode:r,dayScheme:a,nightScheme:n},o)),[t,r,a,n])}fa.displayName="ConfirmationDialog";const ua=g.div.withConfig({displayName:"Header__StyledHeader",componentId:"sc-qmofje-0"})(["{}padding:6px ",";font-size:",";font-weight:",";color:",";"," ",""],zt("space.3"),zt("fontSizes.0"),zt("fontWeights.bold"),zt("colors.fg.muted"),(({variant:e})=>"filled"===e&&u(["background:",";margin:"," 0;border-top:1px solid ",";border-bottom:1px solid ",";&:first-child{margin-top:0;}"],zt("colors.canvas.subtle"),zt("space.2"),zt("colors.neutral.muted"),zt("colors.neutral.muted"))),Zt);function ba({variant:t="subtle",title:r,auxiliaryText:o,children:a,...n}){return e.createElement(ua,Lt({role:"heading",variant:t},n),r,o&&e.createElement("span",null,o))}ba.displayName="Header";const ma=g.div.withConfig({displayName:"Group__StyledGroup",componentId:"sc-10w5bj9-0"})(["",""],Zt);function ha({header:t,items:r,...o}){return e.createElement(ma,o,t&&e.createElement(ba,t),r)}ha.displayName="Group";const va=g.div.withConfig({displayName:"Truncate",componentId:"sc-1074h1l-0"})(["display:",";overflow:hidden;text-overflow:ellipsis;vertical-align:",";white-space:nowrap;"," "," ",";"],(e=>e.inline?"inline-block":"inherit"),(e=>e.inline?"top":"initial"),we,(e=>e.expandable?"&:hover { max-width: 10000px; }":""),Zt);va.defaultProps={expandable:!1,inline:!1,maxWidth:125};var xa=va;const ya=g.div.withConfig({displayName:"Divider__StyledDivider",componentId:"sc-42656i-0"})(["height:1px;background:",";margin-top:calc("," - 1px);margin-bottom:",";"],zt("colors.border.muted"),zt("space.2"),zt("space.2"));function wa(){return e.createElement(ya,null)}wa.displayName="Divider",wa.renderItem=wa;const Ba=(e="default",t)=>{if(t)return{color:zt("colors.primer.fg.disabled"),iconColor:zt("colors.primer.fg.disabled"),annotationColor:zt("colors.primer.fg.disabled"),hoverCursor:"default"};switch(e){case"danger":return{color:zt("colors.danger.fg"),iconColor:zt("colors.danger.fg"),annotationColor:zt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:zt("colors.actionListItem.danger.hoverBg"),focusBg:zt("colors.actionListItem.danger.activeBg"),hoverText:zt("colors.actionListItem.danger.hoverText")};default:return{color:zt("colors.fg.default"),iconColor:zt("colors.fg.muted"),annotationColor:zt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:zt("colors.actionListItem.default.hoverBg"),focusBg:zt("colors.actionListItem.default.activeBg")}}},ka=g.div.withConfig({displayName:"Item__DividedContent",componentId:"sc-jqpvy8-0"})(["display:flex;min-width:0;position:relative;flex-grow:1;"]),Ta=g.div.withConfig({displayName:"Item__MainContent",componentId:"sc-jqpvy8-1"})(["align-items:baseline;display:flex;min-width:0;flex-direction:var(--main-content-flex-direction);flex-grow:1;"]),Sa=g.div.withConfig({displayName:"Item__StyledItem",componentId:"sc-jqpvy8-2"})(["padding:6px ",";display:flex;border-radius:",";color:",";transition:background 33.333ms linear;text-decoration:none;@media (hover:hover) and (pointer:fine){:hover{background:var( --item-hover-bg-override,"," );color:",";cursor:",";}}:not(:first-of-type):not("," + &):not("," + &){margin-top:",";","::before{content:' ';display:block;position:absolute;width:100%;top:-7px;border:0 solid ",";border-top-width:",";}}&:hover ","::before,:hover + * ","::before{border-color:var(--item-hover-divider-border-color-override,transparent) !important;}&:focus ","::before,:focus + * ","::before,&[","] ","::before,[","] + & ","::before{border-color:transparent !important;}&[","='","']{background:",";}&[","='","']{background:",";}&:focus{background:",";outline:none;}&:active{background:",";}",""],zt("space.2"),zt("radii.2"),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).color),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverBg),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverText),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverCursor),ya,ua,(({showDivider:e})=>e?"1px":"0"),ka,zt("colors.border.muted"),(({showDivider:e})=>e?"1px":"0"),ka,ka,ka,ka,"data-is-active-descendant",ka,"data-is-active-descendant",ka,"data-is-active-descendant","activated-directly",(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg),"data-is-active-descendant","activated-indirectly",(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).hoverBg),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg),(({variant:e,item:t})=>Ba(e,null==t?void 0:t.disabled).focusBg),Zt),Ca=g.span.withConfig({displayName:"Item__TextContainer",componentId:"sc-jqpvy8-3"})([""]),Ea=g.div.withConfig({displayName:"Item__BaseVisualContainer",componentId:"sc-jqpvy8-4"})(["height:20px;width:",";margin-right:",";display:flex;justify-content:center;align-items:center;flex-shrink:0;"],zt("space.3"),zt("space.2")),Ia=g(Ea).withConfig({displayName:"Item__ColoredVisualContainer",componentId:"sc-jqpvy8-5"})(["svg{fill:",";font-size:",";}"],(({variant:e,disabled:t})=>Ba(e,t).iconColor),zt("fontSizes.0")),Na=g(Ia).withConfig({displayName:"Item__LeadingVisualContainer",componentId:"sc-jqpvy8-6"})(["display:flex;flex-direction:column;justify-content:center;"]),za=g(Ia).withConfig({displayName:"Item__TrailingContent",componentId:"sc-jqpvy8-7"})(["color:","};margin-left:",";margin-right:0;width:auto;div:nth-child(2){margin-left:",";}"],(({variant:e,disabled:t})=>Ba(e,t).annotationColor),zt("space.2"),zt("space.2")),_a=g.span.withConfig({displayName:"Item__DescriptionContainer",componentId:"sc-jqpvy8-8"})(["color:",";font-size:",";line-height:16px;margin-left:var(--description-container-margin-left);min-width:0;flex-grow:1;flex-basis:var(--description-container-flex-basis);"],zt("colors.fg.muted"),zt("fontSizes.0")),Aa=g.svg.withConfig({displayName:"Item__MultiSelectIcon",componentId:"sc-jqpvy8-9"})(["rect{fill:",";stroke:",";shape-rendering:auto;}path{fill:",";boxshadow:",";opacity:",";}"],(({selected:e})=>zt(e?"colors.accent.fg":"colors.canvas.default")),(({selected:e})=>zt(e?"colors.accent.fg":"colors.border.default")),zt("colors.fg.onEmphasis"),zt("shadow.small"),(({selected:e})=>e?1:0)),La=e.forwardRef(((t,r)=>{const{as:a,text:n,description:i,descriptionVariant:l="inline",selected:d,selectionVariant:s,leadingVisual:c,trailingIcon:g,trailingVisual:f,trailingText:p,variant:u="default",showDivider:b,disabled:m,onAction:h,onKeyPress:v,children:x,onClick:y,id:w,...B}=t,k=jo(),T=jo(),S=o((e=>{m||(null==v||v(e),!e.defaultPrevented&&[" ","Enter"].includes(e.key)&&(null==h||h(t,e)))}),[h,m,t,v]),C=o((e=>{m||(null==y||y(e),e.defaultPrevented||null==h||h(t,e))}),[h,m,t,y]),{theme:E}=Kt();return e.createElement(Sa,Lt({ref:r,as:a,tabIndex:m?void 0:-1,variant:u,showDivider:b,"aria-selected":d,"aria-labelledby":n?k:void 0,"aria-describedby":i?T:void 0},B,{"data-id":w,onKeyPress:S,onClick:C}),!!d===d&&e.createElement(Ea,null,"multiple"===s?e.createElement(e.Fragment,null,e.createElement(Aa,{selected:d,width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e.createElement("rect",{x:"2",y:"2",width:"12",height:"12",rx:"4"}),e.createElement("path",{fillRule:"evenodd",strokeWidth:"0",d:"M4.03231 8.69862C3.84775 8.20646 4.49385 7.77554 4.95539 7.77554C5.41693 7.77554 6.80154 9.85246 6.80154 9.85246C6.80154 9.85246 10.2631 4.314 10.4938 4.08323C10.7246 3.85246 11.8785 4.08323 11.4169 5.00631C11.0081 5.82388 7.26308 11.4678 7.26308 11.4678C7.26308 11.4678 6.80154 12.1602 6.34 11.4678C5.87846 10.7755 4.21687 9.19077 4.03231 8.69862Z"}))):d&&e.createElement(eo,{fill:null==E?void 0:E.colors.fg.default})),c&&e.createElement(Na,{variant:u,disabled:m},e.createElement(c,null)),e.createElement(ka,null,e.createElement(Ta,{style:{"--main-content-flex-direction":"inline"===l?"row":"column"}},x,n?e.createElement(Ca,{id:k},n):null,i?e.createElement(_a,{id:T,style:{"--description-container-margin-left":"inline"===l?zt("space.2")(E):0,"--description-container-flex-basis":"inline"===l?0:"auto"}},"block"===l?i:e.createElement(xa,{title:i,inline:!0,maxWidth:"100%"},i)):null),f?e.createElement(za,{variant:u,disabled:m},"function"==typeof f?e.createElement(f,null):f):g||p?e.createElement(za,{variant:u,disabled:m},p,g&&e.createElement(g,null)):null))}));La.displayName="ActionList.Item";const Ra=g.div.withConfig({displayName:"List__StyledList",componentId:"sc-yr2k7d-0"})(["font-size:",";line-height:20px;&[","],&:focus-within{--item-hover-bg-override:none;--item-hover-divider-border-color-override:",";}"],zt("fontSizes.1"),"data-has-active-descendant",zt("colors.border.muted"));const Da=e.forwardRef(((t,r)=>{const{firstGroupStyle:o,lastGroupStyle:a,headerStyle:n,itemStyle:i}=function(e="inset"){switch(e){case"full":return{headerStyle:{paddingX:zt("space.2")},itemStyle:{borderRadius:0}};default:return{firstGroupStyle:{marginTop:zt("space.2")},lastGroupStyle:{marginBottom:zt("space.2")},itemStyle:{marginX:zt("space.2")}}}}(t.variant),l=(r,o,a)=>{var n,l,d;const s="renderItem"in r&&r.renderItem||t.renderItem||La,c=null!==(n=null!==(l="key"in r?r.key:void 0)&&void 0!==l?l:null===(d=r.id)||void 0===d?void 0:d.toString())&&void 0!==n?n:a.toString();return e.createElement(s,Lt({showDivider:t.showItemDividers,selectionVariant:t.selectionVariant},r,{key:c,sx:{...i,...r.sx},item:o}))};let d=[];if(function(e){return"groupMetadata"in e}(t)){const e=t.groupMetadata.reduce(((e,t)=>e.set(t.groupId,t)),new Map);for(const r of t.items){var s,c,g;const t=e.get(r.groupId),o=null!==(s=null==t||null===(c=t.items)||void 0===c?void 0:c.length)&&void 0!==s?s:0;e.set(r.groupId,{...t,items:[...null!==(g=null==t?void 0:t.items)&&void 0!==g?g:[],l({showDivider:null==t?void 0:t.showItemDividers,...t&&"renderItem"in t&&{renderItem:t.renderItem},...r},r,o)]})}d=[...e.values()]}else d=[{items:t.items.map(((e,t)=>l(e,e,t))),groupId:"0"}];return e.createElement(Ra,Lt({},t,{ref:r}),d.map((({header:r,...i},l)=>{const s="filled"===(null==r?void 0:r.variant),c=l>0&&!s;return e.createElement(e.Fragment,{key:i.groupId},c?e.createElement(wa,{key:`${i.groupId}-divider`}):null,(r=>{var o;const a=(null!==(o="renderGroup"in r&&r.renderGroup)&&void 0!==o?o:t.renderGroup)||ha;return e.createElement(a,Lt({},r,{key:r.groupId}))})({sx:{...0===l&&o,...l===d.length-1&&a,...l>0&&!c&&{mt:2}},...r&&{header:{...r,sx:{...n,...r.sx}}},...i}))})))}));Da.displayName="ActionList";const Fa=Object.assign(Da,{Group:ha,Item:La,Divider:wa}),Ma={xsmall:"192px",small:"256px",medium:"320px",large:"432px",xlarge:"600px",auto:"auto",initial:"auto"},Pa={small:"256px",medium:"320px",large:"480px",xlarge:"640px",xxlarge:"960px",auto:"auto"};const Ha=g.div.withConfig({displayName:"Overlay__StyledOverlay",componentId:"sc-jhwkzw-0"})(["background-color:",";box-shadow:",";position:absolute;min-width:192px;max-width:640px;height:",";max-height:",";width:",";border-radius:12px;overflow:hidden;animation:overlay-appear ","ms ",";@keyframes overlay-appear{0%{opacity:0;}100%{opacity:1;}}visibility:var(--styled-overlay-visibility);:focus{outline:none;}",";"],zt("colors.canvas.overlay"),zt("shadows.overlay.shadow"),(e=>Ma[e.height||"auto"]),(e=>e.maxHeight&&Ma[e.maxHeight]),(e=>Pa[e.width||"auto"]),200,zt("animation.easeOutCubic"),Zt),Oa=e.forwardRef((({onClickOutside:t,role:o="none",initialFocusRef:n,returnFocusRef:i,ignoreClickRefs:l,onEscape:d,visibility:s="visible",height:c,top:g,left:f,anchorSide:p,portalContainerName:u,preventFocusOnOpen:b,...m},h)=>{const v=r(null),x=Fo(v,h),{theme:y}=Kt(),w=parseInt(zt("space.2")(y).replace("px","")),B=zt("animation.easeOutCubic")(y);return Cr({overlayRef:v,returnFocusRef:i,onEscape:d,ignoreClickRefs:l,onClickOutside:t,initialFocusRef:n,preventFocusOnOpen:b}),a((()=>{var e;"initial"===c&&null!==(e=x.current)&&void 0!==e&&e.clientHeight&&(x.current.style.height=`${x.current.clientHeight}px`)}),[c,x]),Bo((()=>{var e;const{x:t,y:r}=function(e){return null!=e&&e.endsWith("bottom")?{x:0,y:-1}:null!=e&&e.endsWith("top")?{x:0,y:1}:null!=e&&e.endsWith("right")?{x:-1,y:0}:null!=e&&e.endsWith("left")?{x:1,y:0}:{x:0,y:0}}(p);(t||r)&&null!==(e=v.current)&&void 0!==e&&e.animate&&"hidden"!==s&&v.current.animate({transform:[`translate(${w*t}px, ${w*r}px)`,"translate(0, 0)"]},{duration:200,easing:B})}),[p,w,B,s]),e.createElement(Do,{containerName:u},e.createElement(Ha,Lt({height:c,role:o},m,{ref:x,style:{top:`${g||0}px`,left:`${f||0}px`,"--styled-overlay-visibility":s}})))}));Oa.defaultProps={height:"auto",width:"auto"};var ja=Oa;const Wa=({renderAnchor:n,anchorRef:i,children:l,open:d,onOpen:s,onClose:c,height:g,width:f,overlayProps:p,focusTrapSettings:u,focusZoneSettings:b,side:m,align:h})=>{const v=Sr(i),[x,y]=function(){const[e,a]=t(null),n=r(null);n.current=e;const i=o((e=>{n.current=e,a(e)}),[n]);return[n,i]}(),w=jo(),B=o((()=>null==c?void 0:c("click-outside")),[c]),k=o((()=>null==c?void 0:c("escape")),[c]),T=o((e=>{e.defaultPrevented||!d&&["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(null==s||s("anchor-key-press"),e.preventDefault())}),[d,s]),S=o((e=>{e.defaultPrevented||0!==e.button||(d?null==c||c("anchor-click"):null==s||s("anchor-click"))}),[d,s,c]),{position:C}=ko({anchorElementRef:v,floatingElementRef:x,side:m,align:h},[x.current]);return a((()=>{!d&&x.current&&y(null)}),[d,x,y]),Ao({containerRef:x,disabled:!d||!C,...b}),Io({containerRef:x,disabled:!d||!C,...u}),e.createElement(e.Fragment,null,n&&n({ref:v,id:w,"aria-labelledby":w,"aria-haspopup":"true",tabIndex:0,onClick:S,onKeyDown:T}),d?e.createElement(ja,Lt({returnFocusRef:v,onClickOutside:B,ignoreClickRefs:[v],onEscape:k,ref:y,role:"none",visibility:C?"visible":"hidden",height:g,width:f,top:(null==C?void 0:C.top)||0,left:(null==C?void 0:C.left)||0,anchorSide:null==C?void 0:C.anchorSide},p),l):null)};function $a(e,r,a){const[n,i]=t(a);return[null!=e?e:n,o((e=>{i(e),r&&r(e)}),[r])]}Wa.displayName="AnchoredOverlay",Wa.defaultProps={side:"outside-bottom",align:"start"};const Ua=t=>e.createElement(La,Lt({role:"menuitem"},t));Ua.displayName="ActionMenuItem",Ua.displayName="ActionMenu.Item";const qa=({anchorContent:t,renderAnchor:r=(t=>e.createElement($r,t)),anchorRef:a,onAction:i,open:l,setOpen:d,overlayProps:s,items:c,...g})=>{const[f,p]=$a(l,d,!1),u=Sr(a),b=o((()=>p(!0)),[p]),m=o((()=>p(!1)),[p]),h=n((()=>null===r?null:e=>r({"aria-label":"menu",children:t,...e})),[t,r]),v=n((()=>c.map((e=>({...e,role:"menuitem",onAction:(t,r)=>{var o;const a=null!==(o=e.onAction)&&void 0!==o?o:i;null==a||a(t,r),r.defaultPrevented||m()}})))),[c,i,m]);return e.createElement(Wa,{renderAnchor:h,anchorRef:u,open:f,onOpen:b,onClose:m,overlayProps:s},e.createElement(Da,Lt({},g,{role:"menu",items:v})))};qa.displayName="ActionMenuBase",qa.displayName="ActionMenu";const Ga=Object.assign(qa,{Divider:wa,Item:Ua}),Va=s(null);var Ka,Xa={exports:{}};
|
599
2
|
/*!
|
600
3
|
Copyright (c) 2018 Jed Watson.
|
601
4
|
Licensed under the MIT License (MIT), see
|
602
5
|
http://jedwatson.github.io/classnames
|
603
|
-
*/qa=Xa,function(){var e={}.hasOwnProperty;function t(){for(var r=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var n=typeof a;if("string"===n||"number"===n)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var l in a)e.call(a,l)&&a[l]&&r.push(l);else r.push(a.toString())}}return r.join(" ")}qa.exports?(t.default=t,qa.exports=t):window.classNames=t}();var Ya=Xa.exports;var Ja=g.input`
|
604
|
-
border: 0;
|
605
|
-
font-size: inherit;
|
606
|
-
font-family: inherit;
|
607
|
-
background-color: transparent;
|
608
|
-
-webkit-appearance: none;
|
609
|
-
color: inherit;
|
610
|
-
width: 100%;
|
611
|
-
&:focus {
|
612
|
-
outline: 0;
|
613
|
-
}
|
614
|
-
|
615
|
-
${Zt};
|
616
|
-
`;const Za=ue({variants:{small:{minHeight:"28px",px:2,py:"3px",fontSize:0,lineHeight:"20px"},large:{px:2,py:"10px",fontSize:3}}});var Qa=g.span`
|
617
|
-
display: inline-flex;
|
618
|
-
align-items: stretch;
|
619
|
-
min-height: 34px;
|
620
|
-
font-size: ${It("fontSizes.1")};
|
621
|
-
line-height: 20px;
|
622
|
-
color: ${It("colors.fg.default")};
|
623
|
-
vertical-align: middle;
|
624
|
-
background-repeat: no-repeat; // Repeat and position set for form states (success, error, etc)
|
625
|
-
background-position: right 8px center; // For form validation. This keeps images 8px from right and centered vertically.
|
626
|
-
border: 1px solid ${It("colors.border.default")};
|
627
|
-
border-radius: ${It("radii.2")};
|
628
|
-
outline: none;
|
629
|
-
box-shadow: ${It("shadows.primer.shadow.inset")};
|
630
|
-
cursor: text;
|
631
|
-
|
632
|
-
${e=>e.hasIcon?p(["padding:0;"]):p(["padding:6px 12px;"])}
|
633
|
-
|
634
|
-
.TextInput-icon {
|
635
|
-
align-self: center;
|
636
|
-
color: ${It("colors.fg.muted")};
|
637
|
-
margin: 0 ${It("space.2")};
|
638
|
-
flex-shrink: 0;
|
639
|
-
}
|
640
|
-
|
641
|
-
&:focus-within {
|
642
|
-
border-color: ${It("colors.accent.emphasis")};
|
643
|
-
box-shadow: ${It("shadows.primer.shadow.focus")};
|
644
|
-
}
|
645
|
-
|
646
|
-
${e=>e.contrast&&p(["background-color:",";"],It("colors.canvas.inset"))}
|
647
|
-
|
648
|
-
${e=>e.disabled&&p(["color:",";background-color:",";border-color:",";"],It("colors.primer.fg.disabled"),It("colors.input.disabledBg"),It("colors.border.default"))}
|
649
|
-
|
650
|
-
${e=>e.block&&p(["display:block;width:100%;"])}
|
651
|
-
|
652
|
-
${e=>e.block&&e.hasIcon&&p(["display:flex;"])}
|
653
|
-
|
654
|
-
// Ensures inputs don't zoom on mobile but are body-font size on desktop
|
655
|
-
@media (min-width: ${It("breakpoints.1")}) {
|
656
|
-
font-size: ${It("fontSizes.1")};
|
657
|
-
}
|
658
|
-
${me}
|
659
|
-
${xe}
|
660
|
-
${we}
|
661
|
-
${Za}
|
662
|
-
${Zt};
|
663
|
-
`;const en=e.forwardRef((({icon:t,block:r,className:o,contrast:a,disabled:n,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g,...f},u)=>{const p=Ya(o,"TextInput-wrapper");return e.createElement(Qa,{block:r,className:p,contrast:a,disabled:n,hasIcon:!!t,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g},t&&e.createElement(t,{className:"TextInput-icon"}),e.createElement(Ja,Rt({ref:u,disabled:n},f)))}));en.defaultProps={type:"text"},en.displayName="TextInput";var tn=en;const rn=e.forwardRef((({as:r=tn,onFocus:n,onBlur:i,onChange:l,onKeyDown:s,onKeyUp:c,onKeyPress:g,value:f,...u},p)=>{const b=d(Ga);if(null===b)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:h,autocompleteSuggestion:m="",id:v,inputRef:x,inputValue:y="",isMenuDirectlyActivated:w,setInputValue:B,setShowMenu:k,showMenu:$}=b,T=Do(x,p),[S,E]=t(!0),C=o((e=>{n&&n(e),k(!0)}),[n,k]),z=o((e=>{i&&i(e),setTimeout((()=>{document.activeElement!==T.current&&k(!1)}),0)}),[i,k,T]),I=o((e=>{l&&l(e),B(e.currentTarget.value),$||k(!0)}),[l,B,k,$]),A=o((e=>{var t;s&&s(e),"Backspace"===e.key&&E(!1),"Escape"===e.key&&null!==(t=x.current)&&void 0!==t&&t.value&&(B(""),x.current.value="")}),[x,B,E,s]),N=o((e=>{c&&c(e),"Backspace"===e.key&&E(!0)}),[E,c]),R=o((e=>{if(g&&g(e),$&&"Enter"===e.key&&h.current){e.preventDefault(),e.nativeEvent.stopImmediatePropagation();const t=new KeyboardEvent(e.type,e.nativeEvent);h.current.dispatchEvent(t)}}),[h,$,g]);return a((()=>{x.current&&(m||(x.current.value=y),S&&m&&(y||w)&&(x.current.value=m,0===m.toLowerCase().indexOf(y.toLowerCase())&&x.current.setSelectionRange(y.length,m.length)))}),[m,y,x,w]),a((()=>{f&&B(f.toString())}),[f,B]),e.createElement(r,Rt({onFocus:C,onBlur:z,onChange:I,onKeyDown:A,onKeyPress:R,onKeyUp:N,ref:T,"aria-controls":`${v}-listbox`,"aria-autocomplete":"both",role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${v}-listbox`,autocomplete:"off"},u))}));rn.displayName="AutocompleteInput";var on=rn;const an=(e,t,r="vertical",o=8,a=0,n="smooth")=>{const i="vertical"===r?"top":"left",l="vertical"===r?"bottom":"right",d="vertical"===r?"scrollTop":"scrollLeft",{[i]:s,[l]:c}=e.getBoundingClientRect(),{[i]:g,[l]:f}=t.getBoundingClientRect(),u=c>f-o;if(s<g+a){const e=s-g+t[d];t.scrollTo({behavior:n,[i]:e-a})}else if(u){const e=c-f+t[d];t.scrollTo({behavior:n,[i]:e+o})}};function nn(o){const i=d(Ga);if(null===i)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:l,id:s,inputRef:c,inputValue:g="",scrollContainerRef:f,setAutocompleteSuggestion:u,setShowMenu:p,setInputValue:b,setIsMenuDirectlyActivated:h,setSelectedItemLength:m,showMenu:v}=i,{items:x,selectedItemIds:y,sortOnCloseFn:w,emptyStateText:B,addNewItem:k,loading:$,selectionVariant:T,filterFn:S,"aria-labelledby":E,onOpenChange:C,onSelectedChange:z,customScrollContainerRef:I}=o,A=r(null),[N,R]=t(),[L,F]=t(x.map((({id:e})=>e))),D=n((()=>x.map((e=>({...e,role:"option",id:e.id,selected:"multiple"===T?y.includes(e.id):void 0,onAction:e=>{const t=y.filter((t=>t!==e.id)),r=y.includes(e.id)?t:[...t,e.id];var o,a;((z||(o=b,function(e){const{text:t=""}=Array.isArray(e)?e.slice(-1)[0]:e;o(t)}))(r.map((e=>function(e,t){return t.find((t=>t.id===e))}(e,x)))),"multiple"===T)?(b(""),u("")):(p(!1),null===(a=c.current)||void 0===a||a.setSelectionRange(c.current.value.length,c.current.value.length))}})))),[x,y,c,z,T,u,b,p]),M=n((()=>L.reduce(((e,t,r)=>(e[t]=r,e)),{})),[L]),O=n((()=>{return D.filter(S||(e=g,function(t,r){var o;return Boolean(null===(o=t.text)||void 0===o?void 0:o.toLowerCase().startsWith(e.toLowerCase()))})).sort(((e,t)=>M[e.id]-M[t.id]));var e}),[D,M,S,g]),P=n((()=>[...O,...k?[{...k,leadingVisual:()=>e.createElement(io,null),onAction:e=>{k.handleAddItem({...e,id:e.id||Lr(),leadingVisual:void 0}),"multiple"===T&&(b(""),u(""))}}]:[]]),[O,k,u,T,b]);return No({containerRef:A,focusOutBehavior:"wrap",focusableElementFilter:e=>!(e instanceof HTMLInputElement),activeDescendantFocus:c,onActiveDescendantChanged:(e,t,r)=>{if(l.current=e||null,e){const t=D.find((t=>t.id.toString()===e.getAttribute("data-id")));R(t),h(r)}e&&I&&I.current&&r?an(e,I.current):e&&f.current&&r&&an(e,f.current)}},[$]),a((()=>{var e;null!=N&&null!==(e=N.text)&&void 0!==e&&e.startsWith(g)&&!y.includes(N.id)?u(N.text):u("")}),[N,g,y,u]),a((()=>{const e=[...L].sort(w||(t=e=>((e,t)=>t.includes(e))(e,y),(e,r)=>t(e)===t(r)?0:t(e)?-1:1));var t;const r=e.length===L.length&&e.every(((e,t)=>e===L[t]));!1!==v||r||F(e),C&&C(Boolean(v))}),[v,C,y,w,L]),a((()=>{y.length&&m(y.length)}),[y,m]),e.createElement(Qt,{sx:v?{}:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},$?e.createElement(Qt,{p:3,display:"flex",justifyContent:"center"},e.createElement($l,null)):e.createElement("div",{ref:A},P.length?e.createElement(Da,{selectionVariant:"multiple",items:P,role:"listbox",id:`${s}-listbox`,"aria-labelledby":E}):e.createElement(Qt,{p:3},B)))}function ln({menuAnchorRef:t,overlayProps:r,children:a}){const n=d(Ga);if(null===n)throw new Error("AutocompleteContext returned null values");const{inputRef:i,scrollContainerRef:l,selectedItemLength:s,setShowMenu:c,showMenu:g=!1}=n,{floatingElementRef:f,position:u}=ko({side:"outside-bottom",align:"start",anchorElementRef:t||i},[g,s]),p=Do(l,f),b=o((()=>{c(!1)}),[c]);return"undefined"==typeof window?null:e.createElement(Wa,Rt({returnFocusRef:i,preventFocusOnOpen:!0,onClickOutside:b,onEscape:b,ref:p,top:null==u?void 0:u.top,left:null==u?void 0:u.left,visibility:g?"visible":"hidden",sx:{overflow:"auto"}},r),a)}nn.displayName="AutocompleteMenu",nn.defaultProps={emptyStateText:"No selectable options",selectionVariant:"single"},nn.displayName="AutocompleteMenu",ln.displayName="AutocompleteOverlay",ln.displayName="AutocompleteOverlay";const dn={inputValue:"",showMenu:!1,isMenuDirectlyActivated:!1,autocompleteSuggestion:"",selectedItemLength:0},sn=(e,t)=>{const{type:r,payload:o}=t;switch(r){case"inputValue":return{...e,inputValue:o};case"showMenu":return{...e,showMenu:o};case"isMenuDirectlyActivated":return{...e,isMenuDirectlyActivated:o};case"autocompleteSuggestion":return{...e,autocompleteSuggestion:o};case"selectedItemLength":return{...e,selectedItemLength:o};default:return e}},cn=({children:t,id:a})=>{const n=r(null),i=r(null),l=r(null),[d,s]=c(sn,dn),{inputValue:g,showMenu:f,autocompleteSuggestion:u,isMenuDirectlyActivated:p,selectedItemLength:b}=d,h=o((e=>{s({type:"inputValue",payload:e})}),[]),m=o((e=>{s({type:"showMenu",payload:e})}),[]),v=o((e=>{s({type:"autocompleteSuggestion",payload:e})}),[]),x=o((e=>{s({type:"isMenuDirectlyActivated",payload:e})}),[]),y=o((e=>{s({type:"selectedItemLength",payload:e})}),[]),w=Wo(a);return e.createElement(Ga.Provider,{value:{activeDescendantRef:n,autocompleteSuggestion:u,id:w,inputRef:l,inputValue:g,isMenuDirectlyActivated:p,scrollContainerRef:i,selectedItemLength:b,setAutocompleteSuggestion:v,setInputValue:h,setIsMenuDirectlyActivated:x,setShowMenu:m,setSelectedItemLength:y,showMenu:f}},t)};cn.displayName="Autocomplete";var gn=Object.assign(cn,{Input:on,Menu:nn,Overlay:ln});const fn=g.img.attrs((e=>({height:e.size,width:e.size})))`
|
664
|
-
display: inline-block;
|
665
|
-
overflow: hidden; // Ensure page layout in Firefox should images fail to load
|
666
|
-
line-height: ${It("lineHeights.condensedUltra")};
|
667
|
-
vertical-align: middle;
|
668
|
-
border-radius: ${e=>function({size:e,square:t}){return t?e&&e<=24?"4px":"6px":"50%"}(e)};
|
669
|
-
${Zt}
|
670
|
-
`;fn.defaultProps={size:20,alt:"",square:!1};var un=fn;const pn=g(un)`
|
671
|
-
position: absolute;
|
672
|
-
right: -15%;
|
673
|
-
bottom: -9%;
|
674
|
-
box-shadow: ${It("shadows.avatar.childShadow")};
|
675
|
-
`,bn=({children:t,...r})=>{const o=e.Children.map(t,((t,r)=>e.isValidElement(t)?0===r?e.cloneElement(t,{size:40}):e.createElement(pn,Rt({bg:"canvas.default"},t.props,{size:20})):t));return e.createElement(Qt,Rt({position:"relative",display:"inline-flex"},r),o)};bn.displayName="AvatarPair",bn.displayName="AvatarPair";var hn=bn;const mn=g.span`
|
676
|
-
display: flex;
|
677
|
-
position: relative;
|
678
|
-
height: 20px;
|
679
|
-
min-width: ${e=>1===e.count?"20px":2===e.count?"30px":"38px"};
|
680
|
-
|
681
|
-
.pc-AvatarItem {
|
682
|
-
flex-shrink: 0;
|
683
|
-
height: 20px;
|
684
|
-
width: 20px;
|
685
|
-
box-shadow: 0 0 0 1px ${It("colors.canvas.default")};
|
686
|
-
margin-left: -11px;
|
687
|
-
position: relative;
|
688
|
-
overflow: hidden;
|
689
|
-
transition: margin 0.2s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
|
690
|
-
box-shadow 0.1s ease-in-out;
|
691
|
-
|
692
|
-
&:first-child {
|
693
|
-
margin-left: 0;
|
694
|
-
}
|
695
|
-
&:nth-child(n + 4) {
|
696
|
-
display: none;
|
697
|
-
}
|
698
|
-
}
|
699
|
-
|
700
|
-
&.pc-AvatarStack--two {
|
701
|
-
min-width: 30px;
|
702
|
-
.pc-AvatarItem {
|
703
|
-
&:nth-child(n + 3) {
|
704
|
-
display: none;
|
705
|
-
}
|
706
|
-
}
|
707
|
-
}
|
708
|
-
|
709
|
-
&.pc-AvatarStack--three-plus {
|
710
|
-
min-width: 38px;
|
711
|
-
.pc-AvatarItem {
|
712
|
-
&:nth-child(3) {
|
713
|
-
opacity: ${55}%;
|
714
|
-
margin-left: -17px;
|
715
|
-
}
|
716
|
-
&:nth-child(4) {
|
717
|
-
opacity: ${40}%;
|
718
|
-
margin-left: -17px;
|
719
|
-
}
|
720
|
-
&:nth-child(5) {
|
721
|
-
opacity: ${25}%;
|
722
|
-
margin-left: -17px;
|
723
|
-
}
|
724
|
-
&:nth-child(n + 4) {
|
725
|
-
display: block;
|
726
|
-
}
|
727
|
-
&:nth-child(n + 6) {
|
728
|
-
opacity: 0;
|
729
|
-
visibility: hidden;
|
730
|
-
}
|
731
|
-
}
|
732
|
-
}
|
733
|
-
|
734
|
-
&.pc-AvatarStack--right {
|
735
|
-
justify-content: flex-end;
|
736
|
-
.pc-AvatarItem {
|
737
|
-
margin-left: 0 !important;
|
738
|
-
margin-right: -11px;
|
739
|
-
|
740
|
-
&:first-child {
|
741
|
-
margin-right: 0;
|
742
|
-
}
|
743
|
-
}
|
744
|
-
|
745
|
-
.pc-AvatarStackBody {
|
746
|
-
flex-direction: row-reverse;
|
747
|
-
|
748
|
-
&:hover {
|
749
|
-
.pc-AvatarItem {
|
750
|
-
margin-right: ${It("space.1")}!important;
|
751
|
-
margin-left: 0 !important;
|
752
|
-
|
753
|
-
&:first-child {
|
754
|
-
margin-right: 0 !important;
|
755
|
-
}
|
756
|
-
}
|
757
|
-
}
|
758
|
-
}
|
759
|
-
}
|
760
|
-
|
761
|
-
&.pc-AvatarStack--three-plus.pc-AvatarStack--right {
|
762
|
-
.pc-AvatarItem {
|
763
|
-
&:nth-child(3) {
|
764
|
-
margin-right: -17px;
|
765
|
-
}
|
766
|
-
&:nth-child(4) {
|
767
|
-
margin-right: -17px;
|
768
|
-
}
|
769
|
-
&:nth-child(5) {
|
770
|
-
margin-right: -17px;
|
771
|
-
}
|
772
|
-
}
|
773
|
-
}
|
774
|
-
|
775
|
-
.pc-AvatarStackBody:hover {
|
776
|
-
width: auto;
|
777
|
-
|
778
|
-
.pc-AvatarItem {
|
779
|
-
margin-left: ${It("space.1")};
|
780
|
-
opacity: 100%;
|
781
|
-
visibility: visible;
|
782
|
-
box-shadow: 0 0 0 4px ${It("colors.canvas.default")};
|
783
|
-
&:first-child {
|
784
|
-
margin-left: 0;
|
785
|
-
}
|
786
|
-
}
|
787
|
-
}
|
788
|
-
|
789
|
-
${Zt};
|
790
|
-
`,vn=({children:t,alignRight:r,sx:o})=>{const a=e.Children.count(t),n=Ya({"pc-AvatarStack--two":2===a,"pc-AvatarStack--three-plus":a>2,"pc-AvatarStack--right":r});return e.createElement(mn,{count:a,className:n,sx:o},e.createElement(Qt,{position:"absolute",display:"flex",width:"38px",className:"pc-AvatarStackBody"},(t=>e.Children.map(t,((t,r)=>e.isValidElement(t)?e.cloneElement(t,{className:Ya(t.props.className,"pc-AvatarItem"),sx:{zIndex:10-r,...t.props.sx}}):t)))(t)))};vn.displayName="AvatarStack";var xn=vn;var yn=g.a`
|
791
|
-
display: inline-block;
|
792
|
-
padding: 2px 6px;
|
793
|
-
font-size: ${It("fontSizes.0")};
|
794
|
-
font-family: ${It("fonts.mono")};
|
795
|
-
color: ${It("colors.fg.muted")};
|
796
|
-
background-color: ${It("colors.accent.subtle")};
|
797
|
-
border-radius: ${It("radii.2")};
|
798
|
-
|
799
|
-
${Zt};
|
800
|
-
`;const wn=g.li`
|
801
|
-
display: inline-block;
|
802
|
-
white-space: nowrap;
|
803
|
-
list-style: none;
|
804
|
-
&::after {
|
805
|
-
padding-right: 0.5em;
|
806
|
-
padding-left: 0.5em;
|
807
|
-
color: ${It("colors.fg.muted")};
|
808
|
-
font-size: ${It("fontSizes.1")};
|
809
|
-
content: '/';
|
810
|
-
}
|
811
|
-
&:first-child {
|
812
|
-
margin-left: 0;
|
813
|
-
}
|
814
|
-
&:last-child {
|
815
|
-
&::after {
|
816
|
-
content: none;
|
817
|
-
}
|
818
|
-
}
|
819
|
-
`,Bn=g.nav`
|
820
|
-
display: flex;
|
821
|
-
justify-content: space-between;
|
822
|
-
${Zt};
|
823
|
-
`;function kn({className:t,children:r,sx:o}){const a=e.Children.map(r,(t=>e.createElement(wn,null,t)));return e.createElement(Bn,{className:t,"aria-label":"Breadcrumbs",sx:o},e.createElement(Qt,{as:"ol",my:0,pl:0},a))}kn.displayName="Breadcrumbs";const $n=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya(e.selected&&"selected",e.className),"aria-current":e.selected?"page":null})))`
|
824
|
-
color: ${It("colors.accent.fg")};
|
825
|
-
display: inline-block;
|
826
|
-
font-size: ${It("fontSizes.1")};
|
827
|
-
text-decoration: none;
|
828
|
-
&:hover {
|
829
|
-
text-decoration: underline;
|
830
|
-
}
|
831
|
-
&.selected {
|
832
|
-
color: ${It("colors.fg.default")};
|
833
|
-
pointer-events: none;
|
834
|
-
}
|
835
|
-
${Zt};
|
836
|
-
`;kn.displayName="Breadcrumbs",$n.displayName="Breadcrumbs.Item";var Tn=Object.assign(kn,{Item:$n});const Sn=Object.assign(kn,{Item:$n}),En=(e="default",t)=>({default:{color:"btn.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}, ${null==t?void 0:t.shadows.btn.insetShadow}`,"&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.shadowActive}`},"&:disabled":{color:"primer.fg.disabled",backgroundColor:"btn.disabledBg"}},primary:{color:"btn.primary.text",backgroundColor:"btn.primary.bg",borderColor:"border.subtle",boxShadow:`${null==t?void 0:t.shadows.btn.primary.shadow}`,"&:hover:not([disabled])":{color:"btn.primary.hoverText",backgroundColor:"btn.primary.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.primary.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.primary.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.primary.selectedShadow}`},"&:disabled":{color:"btn.primary.disabledText",backgroundColor:"btn.primary.disabledBg"},'[data-component="ButtonCounter"]':{backgroundColor:"btn.primary.counterBg",color:"btn.primary.text"}},danger:{color:"btn.danger.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover:not([disabled])":{color:"btn.danger.hoverText",backgroundColor:"btn.danger.hoverBg",borderColor:"btn.danger.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.hoverCounterBg",color:"btn.danger.hoverText"}},"&:focus:not([disabled])":{borderColor:"btn.danger.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.focusShadow}`},"&:active:not([disabled])":{color:"btn.danger.selectedText",backgroundColor:"btn.danger.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.danger.selectedShadow}`,borderColor:"btn.danger.selectedBorder"},"&:disabled":{color:"btn.danger.disabledText",backgroundColor:"btn.danger.disabledBg",borderColor:"btn.danger.disabledBorder",'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.disabledCounterBg"}},'[data-component="ButtonCounter"]':{color:"btn.danger.text",backgroundColor:"btn.danger.counterBg"}},invisible:{color:"accent.fg",backgroundColor:"transparent",border:"0",boxShadow:"none","&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg"},"&:disabled":{color:"primer.fg.disabled"}},outline:{color:"btn.outline.text",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover":{color:"btn.outline.hoverText",backgroundColor:"btn.outline.hoverBg",borderColor:"outline.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.hoverCounterBg",color:"btn.outline.hoverText"}},"&:focus":{borderColor:"btn.outline.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.focusShadow}`},"&:active:not([disabled])":{color:"btn.outline.selectedText",backgroundColor:"btn.outline.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.outline.selectedShadow}`,borderColor:"btn.outline.selectedBorder"},"&:disabled":{color:"btn.outline.disabledText",backgroundColor:"btn.outline.disabledBg",borderColor:"btn.border",'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.disabledCounterBg"}},'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.counterBg",color:"btn.outline.text"}}}[e]),Cn=(e="medium",t="default",r)=>{let o,a,n;switch(e){case"small":o=3,a=12,n=0;break;case"large":o=9,a=20,n=2;break;case"medium":default:o=5,a=16,n=1}return r&&(a=o+2),"invisible"===t&&(o+=1),{paddingY:`${o}px`,paddingX:`${a}px`,fontSize:n,'[data-component="ButtonCounter"]':{fontSize:n}}},zn=g.button(Zt),In=i((({children:t,sx:r={},...o},a)=>{const{icon:n,leadingIcon:i,trailingIcon:l,variant:d="default",size:s="medium"}=o,c=!!n,{theme:g}=qt(),f={borderRadius:"2",border:"1px solid",borderColor:null==g?void 0:g.colors.btn.border,display:"grid",gridTemplateAreas:'"leadingIcon text trailingIcon"',fontWeight:"bold",lineHeight:"20px",whiteSpace:"nowrap",verticalAlign:"middle",cursor:"pointer",appearance:"none",userSelect:"none",textDecoration:"none",textAlign:"center","& > :not(:last-child)":{mr:"2"},"&:focus":{outline:"none"},"&:disabled":{cursor:"default"},"&:disabled svg":{opacity:"0.6"},'[data-component="leadingIcon"]':{gridArea:"leadingIcon"},'[data-component="text"]':{gridArea:"text"},'[data-component="trailingIcon"]':{gridArea:"trailingIcon"}},u={display:"inline-block"},p=Kt.all([f,Cn(s,d,c),En(d,g),r]);return e.createElement(zn,Rt({sx:p,ref:a},o),i&&e.createElement(Qt,{as:"span","data-component":"leadingIcon",sx:u,"aria-hidden":!c},e.createElement(i,null)),e.createElement("span",{"data-component":"text",hidden:!!n},t),n&&e.createElement(Qt,{"data-component":"icon-only",as:"span",sx:{display:"inline-block"},"aria-hidden":!c},e.createElement(n,null)),l&&e.createElement(Qt,{as:"span","data-component":"trailingIcon",sx:{...u,ml:2},"aria-hidden":!c},e.createElement(l,null)))}));In.displayName="Button",Object.assign(In,{});var An=g.span`
|
837
|
-
display: inline-block;
|
838
|
-
padding: 2px 5px;
|
839
|
-
font-size: ${It("fontSizes.0")};
|
840
|
-
font-weight: ${It("fontWeights.bold")};
|
841
|
-
line-height: ${It("lineHeights.condensedUltra")};
|
842
|
-
border-radius: 20px;
|
843
|
-
${({scheme:e,...t})=>({color:"secondary"===e?It("colors.fg.default")(t):"primary"===e?It("colors.fg.onEmphasis")(t):It("colors.fg.default")(t)})};
|
844
|
-
${({scheme:e,...t})=>({backgroundColor:"secondary"===e?It("colors.neutral.muted")(t):"primary"===e?It("colors.neutral.emphasis")(t):It("colors.neutral.muted")(t)})};
|
845
|
-
|
846
|
-
&:empty {
|
847
|
-
display: none;
|
848
|
-
}
|
849
|
-
|
850
|
-
${Zt};
|
851
|
-
`;const Nn=({children:t,sx:r={},...o})=>e.createElement(An,Rt({"data-component":"ButtonCounter",sx:{ml:2,...r}},o),t);Nn.displayName="Counter";const Rn=Object.assign(In,{Counter:Nn}),Ln={top:"Bottom",right:"Left",bottom:"Top",left:"Right"},Fn={top:"Left",right:"Top",bottom:"Left",left:"Top"};function Dn(e,t,r){const o=Ln[e].toLowerCase(),a=Fn[e].toLowerCase();return{[o]:"100%",[t||a]:t?r:"50%"}}const Mn=Tt({prop:"bg",key:"colors"}),On=Tt({prop:"borderColor",key:"colors"}),Pn=Tt({prop:"borderWidth",key:"borderWidths",scale:[0,1]});function Hn(t){var r;const o=e.useContext(b),a={...t,theme:null!==(r=t.theme)&&void 0!==r?r:o},{bg:n}=Mn(a),{borderColor:i}=On(a),{borderWidth:l}=Pn(a),{size:d=8,location:s="bottom"}=t,[c,g]=function(e){const[t,r]=e.split("-");return[t,r]}(s),f=Fn[c],u=[-d,0],p=[0,d],h=[d,0],m=`M${u}L${p}L${h}L${u}Z`,v=`M${u}L${p}L${h}`,x={top:`translate(${[d,2*d]}) rotate(180)`,right:`translate(${[0,d]}) rotate(-90)`,bottom:`translate(${[d,0]})`,left:`translate(${[2*d,d]}) rotate(90)`}[c];return e.createElement("svg",{width:2*d,height:2*d,style:{pointerEvents:"none",position:"absolute",...Dn(c,g,d),[`margin${f}`]:g?null:-d}},e.createElement("g",{transform:x},e.createElement("path",{d:m,fill:n}),e.createElement("path",{d:v,fill:"none",stroke:i,strokeWidth:l})))}Hn.displayName="Caret",Hn.locations=["top","top-left","top-right","right","right-top","right-bottom","bottom","bottom-left","bottom-right","left","left-top","left-bottom"],Hn.defaultProps={bg:"canvas.default",borderColor:"border.default",borderWidth:1};const Wn={small:56,medium:96,large:128},_n=g.div`
|
852
|
-
display: ${e=>e.inline?"inline-flex":"flex"};
|
853
|
-
align-items: center;
|
854
|
-
justify-content: center;
|
855
|
-
background-color: ${It("colors.canvas.default")};
|
856
|
-
border-radius: 50%;
|
857
|
-
box-shadow: ${It("shadows.shadow.medium")};
|
858
|
-
${({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:Wn[t];return{width:r,height:r}}};
|
859
|
-
${Zt};
|
860
|
-
`,jn=g(Ao)`
|
861
|
-
height: auto;
|
862
|
-
max-width: 60%;
|
863
|
-
max-height: 55%;
|
864
|
-
`;_n.defaultProps={inline:!1},jn.displayName="CircleBadge.Icon";var Un=Object.assign(_n,{Icon:jn});function Kn(t){const{size:r,as:o}=t,{icon:a,bg:n,...i}=t;return e.createElement(Qt,{as:o,bg:n,overflow:"hidden",borderWidth:0,size:r,borderRadius:"50%",borderStyle:"solid",borderColor:"border.default"},e.createElement(Qt,Rt({display:"flex"},i,{alignItems:"center",justifyContent:"center"}),e.createElement(a,{size:r})))}Kn.displayName="CircleOcticon",Kn.defaultProps={...Qt.defaultProps,size:32};const Vn=g.details`
|
865
|
-
& > summary {
|
866
|
-
list-style: none;
|
867
|
-
}
|
868
|
-
& > summary::-webkit-details-marker {
|
869
|
-
display: none;
|
870
|
-
}
|
871
|
-
|
872
|
-
${Zt};
|
873
|
-
`;Vn.displayName="Details";var Gn=Vn;const qn=()=>null;function Xn(e){const t=e;return t.tabIndex>=0&&!t.disabled&&function(e){return!e.hidden&&(!e.type||"hidden"!==e.type)&&(e.offsetWidth>0||e.offsetHeight>0)}(t)}var Yn=g.span`
|
874
|
-
${Nt};
|
875
|
-
${At};
|
876
|
-
${Zt};
|
877
|
-
`;const Jn=()=>null,Zn=g.div`
|
878
|
-
box-shadow: ${It("shadows.shadow.large")};
|
879
|
-
border-radius: ${It("radii.2")};
|
880
|
-
position: fixed;
|
881
|
-
top: 0;
|
882
|
-
left: 50%;
|
883
|
-
transform: translateX(-50%);
|
884
|
-
max-height: 80vh;
|
885
|
-
z-index: 999;
|
886
|
-
margin: 10vh auto;
|
887
|
-
background-color: ${It("colors.canvas.default")};
|
888
|
-
width: ${e=>e.narrow?"320px":e.wide?"640px":"440px"};
|
889
|
-
outline: none;
|
890
|
-
|
891
|
-
@media screen and (max-width: 750px) {
|
892
|
-
width: 100vw;
|
893
|
-
margin: 0;
|
894
|
-
border-radius: 0;
|
895
|
-
height: 100vh;
|
896
|
-
}
|
897
|
-
|
898
|
-
${Zt};
|
899
|
-
`,Qn=g(Qt)`
|
900
|
-
border-radius: ${It("radii.2")} ${It("radii.2")} 0px 0px;
|
901
|
-
border-bottom: 1px solid ${It("colors.border.default")};
|
902
|
-
display: flex;
|
903
|
-
|
904
|
-
@media screen and (max-width: 750px) {
|
905
|
-
border-radius: 0px;
|
906
|
-
}
|
907
|
-
|
908
|
-
${Zt};
|
909
|
-
`;function ei({theme:t,children:r,backgroundColor:o="gray.1",...a}){return e.Children.toArray(r).every((e=>"string"==typeof e))&&(r=e.createElement(Yn,{theme:t,color:"fg.default",fontSize:1,fontWeight:"bold",fontFamily:"sans-serif"},r)),e.createElement(Qn,Rt({theme:t,p:3,backgroundColor:o},a),r)}ei.displayName="DialogHeader";const ti=g.span`
|
910
|
-
&:before {
|
911
|
-
position: fixed;
|
912
|
-
top: 0;
|
913
|
-
right: 0;
|
914
|
-
bottom: 0;
|
915
|
-
left: 0;
|
916
|
-
display: block;
|
917
|
-
cursor: default;
|
918
|
-
content: ' ';
|
919
|
-
background: transparent;
|
920
|
-
z-index: 99;
|
921
|
-
background: ${It("colors.primer.canvas.backdrop")};
|
922
|
-
}
|
923
|
-
`,ri=i((({children:t,onDismiss:n=Jn,isOpen:i,initialFocusRef:l,returnFocusRef:d,...s},c)=>{const g=r(null),f=Do(c),u=r(null),p=()=>{n(),d&&d.current&&d.current.focus()},{getDialogProps:b}=function({modalRef:e,overlayRef:t,isOpen:r,onDismiss:n=qn,initialFocusRef:i,closeButtonRef:l}){const d=o((r=>{e.current&&t.current&&!e.current.contains(r.target)&&t.current.contains(r.target)&&n()}),[n,e,t]);a((()=>{if(r)return document.addEventListener("click",d),()=>{document.removeEventListener("click",d)}}),[r,d]),a((()=>{r&&(i&&i.current?i.current.focus():l&&l.current&&l.current.focus())}),[r,i,l]);const s=o(((t,r)=>{if(e.current){const o=Array.from(e.current.querySelectorAll("*")).filter(Xn);if(0===o.length)return;t.preventDefault();const a=document.activeElement;if(!a)return;const n=o.indexOf(a)+r,i=1===r?0:o.length-1;return o[n]||o[i]}}),[e]),c=o((e=>{const t=e.shiftKey?-1:1,r=s(e,t);r&&r.focus()}),[s]),g=o((e=>{switch(e.key){case"Tab":c(e);break;case"Escape":n(),e.stopPropagation()}}),[c,n]);return{getDialogProps:()=>({onKeyDown:g})}}({modalRef:f,onDismiss:p,isOpen:i,initialFocusRef:l,closeButtonRef:u,returnFocusRef:d,overlayRef:g});return i?e.createElement(e.Fragment,null,e.createElement(ti,{ref:g}),e.createElement(Zn,Rt({tabIndex:-1,ref:f,role:"dialog","aria-modal":"true"},s,b()),e.createElement(fo,{ref:u,onClick:p,sx:{position:"absolute",top:"16px",right:"16px"}}),t)):null}));ei.defaultProps={backgroundColor:"canvas.subtle"},ei.propTypes={...Qt.propTypes},ei.displayName="Dialog.Header",ri.displayName="Dialog";var oi=Object.assign(ri,{Header:ei});var ai=(e,t)=>({w:`\n top: 0;\n right: 100%;\n left: auto;\n width: auto;\n margin-top: 0;\n margin-right: 10px;\n\n &::before {\n top: 10px;\n right: -16px;\n left: auto;\n border-color: transparent;\n border-left-color: ${It("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n right: -14px;\n left: auto;\n border-color: transparent;\n border-left-color: ${It("colors.border.default")(e)};\n }\n `,e:`\n top: 0;\n left: 100%;\n width: auto;\n margin-top: 0;\n margin-left: 10px;\n\n &::before {\n top: 10px;\n left: -16px;\n border-color: transparent;\n border-right-color: ${It("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n left: -14px;\n border-color: transparent;\n border-right-color: ${It("colors.border.default")(e)};\n }\n `,ne:`\n top: auto;\n bottom: 100%;\n left: 0;\n margin-bottom: 3px;\n\n &::before,\n &::after {\n top: auto;\n right: auto;\n }\n\n &::before {\n bottom: -8px;\n left: 9px;\n border-top: 8px solid ${It("colors.border.default")(e)};\n border-bottom: 0;\n border-left: 8px solid transparent;\n }\n\n &::after {\n bottom: -7px;\n left: 10px;\n border-top: 7px solid ${It("colors.border.default")(e)};\n border-right: 7px solid transparent;\n border-bottom: 0;\n border-left: 7px solid transparent;\n }\n `,s:"\n right: 50%;\n left: auto;\n transform: translateX(50%);\n\n &::before {\n top: -16px;\n right: 50%;\n transform: translateX(50%);\n }\n\n &::after {\n top: -14px;\n right: 50%;\n transform: translateX(50%);\n }\n ",sw:"\n right: 0;\n left: auto;\n\n &::before {\n top: -16px;\n right: 9px;\n left: auto;\n }\n\n &::after {\n top: -14px;\n right: 10px;\n left: auto;\n }\n ",se:"\n &::before {\n top: -16px;\n left: 9px;\n }\n\n &::after {\n top: -14px;\n left: 10px;\n }\n "}[t]);const ni=g(Gn)`
|
924
|
-
position: relative;
|
925
|
-
display: inline-block;
|
926
|
-
`,ii=({children:t,className:r,...o})=>{const{getDetailsProps:a}=fr({closeOnOutsideClick:!0});return e.createElement(ni,Rt({className:r},a(),o),t)};ii.displayName="Dropdown";const li=({children:t,...r})=>e.createElement(jr,Rt({as:"summary","aria-haspopup":"true"},r),t,e.createElement(di,null));li.displayName="DropdownButton";const di=g.div`
|
927
|
-
border: 4px solid transparent;
|
928
|
-
margin-left: 12px;
|
929
|
-
border-top-color: currentcolor;
|
930
|
-
border-bottom-width: 0;
|
931
|
-
content: '';
|
932
|
-
display: inline-block;
|
933
|
-
height: 0;
|
934
|
-
vertical-align: middle;
|
935
|
-
width: 0;
|
936
|
-
${Zt};
|
937
|
-
`,si=g.ul`
|
938
|
-
background-clip: padding-box;
|
939
|
-
background-color: ${It("colors.canvas.overlay")};
|
940
|
-
border: 1px solid ${It("colors.border.default")};
|
941
|
-
border-radius: ${It("radii.2")};
|
942
|
-
box-shadow: ${It("shadows.shadow.large")};
|
943
|
-
left: 0;
|
944
|
-
list-style: none;
|
945
|
-
margin-top: 2px;
|
946
|
-
padding: 5px 0 5px 0 !important; //TODO: fix this override on our markdown styles
|
947
|
-
position: absolute;
|
948
|
-
top: 100%;
|
949
|
-
width: 160px;
|
950
|
-
z-index: 100;
|
951
|
-
|
952
|
-
&::before {
|
953
|
-
position: absolute;
|
954
|
-
display: inline-block;
|
955
|
-
content: '';
|
956
|
-
}
|
957
|
-
|
958
|
-
&::after {
|
959
|
-
position: absolute;
|
960
|
-
display: inline-block;
|
961
|
-
content: '';
|
962
|
-
}
|
963
|
-
|
964
|
-
&::before {
|
965
|
-
border: 8px solid transparent;
|
966
|
-
border-bottom-color: ${It("colors.canvas.overlay")};
|
967
|
-
}
|
968
|
-
|
969
|
-
&::after {
|
970
|
-
border: 7px solid transparent;
|
971
|
-
border-bottom-color: ${It("colors.canvas.overlay")};
|
972
|
-
}
|
973
|
-
|
974
|
-
// stylelint-disable-next-line selector-max-type
|
975
|
-
> ul {
|
976
|
-
list-style: none;
|
977
|
-
}
|
978
|
-
${e=>e.direction?ai(e.theme,e.direction):""};
|
979
|
-
${Zt};
|
980
|
-
`,ci=g.li`
|
981
|
-
display: block;
|
982
|
-
padding: ${It("space.1")} 10px ${It("space.1")} 15px;
|
983
|
-
overflow: hidden;
|
984
|
-
color: ${It("colors.fg.default")};
|
985
|
-
text-overflow: ellipsis;
|
986
|
-
white-space: nowrap;
|
987
|
-
a {
|
988
|
-
color: ${It("colors.fg.default")};
|
989
|
-
text-decoration: none;
|
990
|
-
display: block;
|
991
|
-
overflow: hidden;
|
992
|
-
color: ${It("colors.fg.default")};
|
993
|
-
text-overflow: ellipsis;
|
994
|
-
white-space: nowrap;
|
995
|
-
}
|
996
|
-
|
997
|
-
&:focus,
|
998
|
-
a:focus {
|
999
|
-
color: ${It("colors.fg.onEmphasis")};
|
1000
|
-
text-decoration: none;
|
1001
|
-
background-color: ${It("colors.accent.emphasis")};
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
&:hover,
|
1005
|
-
&:hover a {
|
1006
|
-
color: ${It("colors.fg.onEmphasis")};
|
1007
|
-
text-decoration: none;
|
1008
|
-
background-color: ${It("colors.accent.emphasis")};
|
1009
|
-
outline: none;
|
1010
|
-
}
|
1011
|
-
${Zt};
|
1012
|
-
`;si.defaultProps={direction:"sw"},si.displayName="Dropdown.Menu",ci.displayName="Dropdown.Item",li.defaultProps=jr.defaultProps,li.displayName="Dropdown.Button",di.displayName="Dropdown.Caret",ii.defaultProps=Gn.defaultProps;var gi=Object.assign(ii,{Caret:di,Menu:si,Item:ci,Button:li});const fi=e.forwardRef((({children:t,...r},o)=>e.createElement(jr,Rt({ref:o,type:"button"},r),t,e.createElement(Ao,{icon:so,sx:{ml:1}}))));function ui({renderAnchor:t=(t=>e.createElement(fi,t)),anchorRef:r,placeholder:a,selectedItem:i,onChange:l,overlayProps:d,items:s,open:c,onOpenChange:g,...f}){const[u,p]=ja(c,g,!1),b=o((()=>p(!0)),[p]),h=o((()=>p(!1)),[p]),m=Tr(r),v=n((()=>null===t?null:e=>{var r;return t({...e,children:null!==(r=null==i?void 0:i.text)&&void 0!==r?r:a})}),[a,t,null==i?void 0:i.text]),x=n((()=>s.map((e=>({...e,role:"option",selected:e===i,onAction:(t,r)=>{var o;null===(o=e.onAction)||void 0===o||o.call(e,t,r),r.defaultPrevented||(h(),null==l||l(e===i?void 0:e))}})))),[s,l,h,i]);return e.createElement(_a,{renderAnchor:v,anchorRef:m,open:u,onOpen:b,onClose:h,overlayProps:d},e.createElement(Fa,Rt({},f,{role:"listbox",items:x})))}ui.displayName="DropdownMenu",ui.displayName="DropdownMenu";var pi=g.div`
|
1013
|
-
display: flex;
|
1014
|
-
align-items: stretch;
|
1015
|
-
|
1016
|
-
summary {
|
1017
|
-
border-radius: 0;
|
1018
|
-
border-top-left-radius: ${It("radii.2")};
|
1019
|
-
border-bottom-left-radius: ${It("radii.2")};
|
1020
|
-
border-right: 0;
|
1021
|
-
}
|
1022
|
-
.TextInput-wrapper {
|
1023
|
-
border-radius: 0;
|
1024
|
-
border-top-right-radius: ${It("radii.2")};
|
1025
|
-
border-bottom-right-radius: ${It("radii.2")};
|
1026
|
-
z-index: 1; // Allows the focus outline to show on top of the dropdown.
|
1027
|
-
}
|
1028
|
-
|
1029
|
-
${Zt}
|
1030
|
-
`;const bi=g.ul`
|
1031
|
-
list-style-type: none;
|
1032
|
-
margin: 0;
|
1033
|
-
padding: 0;
|
1034
|
-
${Zt};
|
1035
|
-
`,hi=({children:t,...r})=>{const o=e.Children.map(t,(t=>e.createElement("li",null,t)));return e.createElement(bi,r,o)};hi.displayName="FilterList";const mi=g.a`
|
1036
|
-
position: relative;
|
1037
|
-
display: block;
|
1038
|
-
padding: ${e=>e.small?`${It("space.1")(e)} 10px`:`${It("space.2")(e)} 11px`};
|
1039
|
-
margin: ${e=>e.small?"0 0 2px":"0 0 5px 0"};
|
1040
|
-
overflow: hidden;
|
1041
|
-
font-size: ${It("fontSizes.1")};
|
1042
|
-
color: ${e=>e.selected?It("colors.fg.onEmphasis"):It("colors.fg.muted")};
|
1043
|
-
background-color: ${e=>e.selected?It("colors.accent.emphasis"):""}!important;
|
1044
|
-
text-decoration: none;
|
1045
|
-
text-overflow: ellipsis;
|
1046
|
-
white-space: nowrap;
|
1047
|
-
cursor: pointer;
|
1048
|
-
border-radius: ${It("radii.1")};
|
1049
|
-
&:hover {
|
1050
|
-
text-decoration: none;
|
1051
|
-
background-color: ${It("colors.canvas.subtle")};
|
1052
|
-
}
|
1053
|
-
&:active {
|
1054
|
-
color: ${It("colors.fg.onEmphasis")};
|
1055
|
-
background-color: ${It("colors.accent.emphasis")};
|
1056
|
-
}
|
1057
|
-
.count {
|
1058
|
-
float: right;
|
1059
|
-
font-weight: ${It("fontWeights.bold")};
|
1060
|
-
}
|
1061
|
-
${Zt};
|
1062
|
-
`;function vi({children:t,count:r,...o}){return e.createElement(mi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}vi.displayName="FilterListItem",vi.displayName="FilterList.Item";var xi=Object.assign(hi,{Item:vi});const yi=ue({variants:{default:{color:"fg.default",backgroundColor:"accent.subtle",borderColor:"accent.muted",svg:{color:"accent.fg"}},success:{color:"fg.default",backgroundColor:"success.subtle",borderColor:"success.muted",svg:{color:"success.fg"}},danger:{color:"fg.default",backgroundColor:"danger.subtle",borderColor:"danger.muted",svg:{color:"danger.fg"}},warning:{color:"fg.default",backgroundColor:"attention.subtle",borderColor:"attention.muted",svg:{color:"attention.fg"}}}}),wi=g.div`
|
1063
|
-
position: relative;
|
1064
|
-
color: ${It("colors.fg.default")};
|
1065
|
-
padding: ${It("space.3")};
|
1066
|
-
border-style: solid;
|
1067
|
-
border-width: ${e=>e.full?"1px 0px":"1px"};
|
1068
|
-
border-radius: ${e=>e.full?"0":It("radii.2")};
|
1069
|
-
margin-top: ${e=>e.full?"-1px":"0"};
|
1070
|
-
|
1071
|
-
p:last-child {
|
1072
|
-
margin-bottom: 0;
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
svg {
|
1076
|
-
margin-right: ${It("space.2")};
|
1077
|
-
}
|
1078
|
-
|
1079
|
-
${yi};
|
1080
|
-
${Zt};
|
1081
|
-
`;wi.defaultProps={variant:"default"};var Bi=wi;const ki=g.div`
|
1082
|
-
margin: ${It("space.3")} 0;
|
1083
|
-
font-weight: ${It("fontWeights.normal")};
|
1084
|
-
${Zt};
|
1085
|
-
`,$i=g.label`
|
1086
|
-
display: block;
|
1087
|
-
margin: 0 0 ${It("space.2")};
|
1088
|
-
font-size: ${It("fontSizes.1")};
|
1089
|
-
font-weight: ${It("fontWeights.bold")};
|
1090
|
-
${Zt};
|
1091
|
-
`;$i.displayName="FormGroup.Label";var Ti=Object.assign(ki,{Label:$i});const Si=g.div`
|
1092
|
-
z-index: 32;
|
1093
|
-
display: flex;
|
1094
|
-
padding: ${It("space.3")};
|
1095
|
-
font-size: ${It("fontSizes.1")};
|
1096
|
-
line-height: ${It("lineHeights.default")};
|
1097
|
-
color: ${It("colors.header.text")};
|
1098
|
-
background-color: ${It("colors.header.bg")};
|
1099
|
-
align-items: center;
|
1100
|
-
flex-wrap: nowrap;
|
1101
|
-
|
1102
|
-
${Zt};
|
1103
|
-
`,Ei=g.div`
|
1104
|
-
display: flex;
|
1105
|
-
margin-right: ${It("space.3")};
|
1106
|
-
align-self: stretch;
|
1107
|
-
align-items: center;
|
1108
|
-
flex-wrap: nowrap;
|
1109
|
-
|
1110
|
-
${({full:e})=>e&&p(["flex:auto;"])};
|
1111
|
-
|
1112
|
-
${Zt};
|
1113
|
-
`;Ei.displayName="Header.Item";const Ci=g.a.attrs((({to:e})=>"string"==typeof e?{"aria-current":"page"}:{}))`
|
1114
|
-
font-weight: ${It("fontWeights.bold")};
|
1115
|
-
color: ${It("colors.header.logo")};
|
1116
|
-
white-space: nowrap;
|
1117
|
-
cursor: pointer;
|
1118
|
-
text-decoration: none;
|
1119
|
-
display: flex;
|
1120
|
-
align-items: center;
|
1121
|
-
|
1122
|
-
&:hover,
|
1123
|
-
&:focus {
|
1124
|
-
color: ${It("colors.header.text")};
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
${Zt};
|
1128
|
-
`;Ci.displayName="Header.Link";var zi=Object.assign(Si,{Link:Ci,Item:Ei});var Ii=g.h2`
|
1129
|
-
font-weight: ${It("fontWeights.bold")};
|
1130
|
-
font-size: ${It("fontSizes.5")};
|
1131
|
-
margin: 0;
|
1132
|
-
${Zt};
|
1133
|
-
`;var Ai=g.span`
|
1134
|
-
& * {
|
1135
|
-
margin-right: ${It("space.1")};
|
1136
|
-
}
|
1137
|
-
& *:last-child {
|
1138
|
-
margin-right: 0;
|
1139
|
-
}
|
1140
|
-
${Zt};
|
1141
|
-
`;const Ni=p(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],It("colors.fg.muted"),It("borderWidths.1"),It("colors.border.default"),ct),Ri=ue({variants:{small:{fontSize:0,lineHeight:"16px",padding:"0px 8px"},medium:{fontSize:0,lineHeight:"20px",padding:"0 8px"},large:{fontSize:0,lineHeight:"24px",padding:"0 12px"},xl:{fontSize:1,lineHeight:"16px",padding:"8px 12px"}}}),Li=g.span`
|
1142
|
-
display: inline-block;
|
1143
|
-
font-weight: ${It("fontWeights.semibold")};
|
1144
|
-
color: ${It("colors.fg.onEmphasis")};
|
1145
|
-
border-radius: ${It("radii.3")};
|
1146
|
-
background-color: ${It("colors.neutral.emphasis")};
|
1147
|
-
|
1148
|
-
&:hover {
|
1149
|
-
text-decoration: none;
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
${Ri}
|
1153
|
-
${e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""}
|
1154
|
-
${e=>e.outline?Ni:""} // must be last to override other values
|
1155
|
-
${Zt}
|
1156
|
-
`;Li.defaultProps={variant:"medium"};var Fi=Li;const Di=L({hoverColor:{property:"color",scale:"colors"}});var Mi=g.a`
|
1157
|
-
color: ${e=>e.muted?It("colors.fg.muted")(e):It("colors.accent.fg")(e)};
|
1158
|
-
text-decoration: ${e=>e.underline?"underline":"none"};
|
1159
|
-
&:hover {
|
1160
|
-
text-decoration: ${e=>e.muted?"none":"underline"};
|
1161
|
-
${e=>e.hoverColor?Di:e.muted?`color: ${It("colors.accent.fg")(e)}`:""};
|
1162
|
-
}
|
1163
|
-
&:is(button) {
|
1164
|
-
display: inline-block;
|
1165
|
-
padding: 0;
|
1166
|
-
font-size: inherit;
|
1167
|
-
white-space: nowrap;
|
1168
|
-
cursor: pointer;
|
1169
|
-
user-select: none;
|
1170
|
-
background-color: transparent;
|
1171
|
-
border: 0;
|
1172
|
-
appearance: none;
|
1173
|
-
}
|
1174
|
-
${Zt};
|
1175
|
-
`;var Oi=g.div`
|
1176
|
-
position: relative;
|
1177
|
-
padding-top: ${It("space.4")};
|
1178
|
-
padding-bottom: ${It("space.4")};
|
1179
|
-
margin-bottom: ${It("space.4")};
|
1180
|
-
border-bottom: 1px solid ${It("colors.border.default")};
|
1181
|
-
${Zt};
|
1182
|
-
`;const Pi=g.a`
|
1183
|
-
display: inline-block;
|
1184
|
-
min-width: 32px;
|
1185
|
-
padding: 5px 10px;
|
1186
|
-
font-style: normal;
|
1187
|
-
line-height: 20px;
|
1188
|
-
color: ${It("colors.fg.default")};
|
1189
|
-
text-align: center;
|
1190
|
-
white-space: nowrap;
|
1191
|
-
vertical-align: middle;
|
1192
|
-
cursor: pointer;
|
1193
|
-
user-select: none;
|
1194
|
-
text-decoration: none;
|
1195
|
-
|
1196
|
-
margin-right: ${It("space.1")};
|
1197
|
-
|
1198
|
-
&:last-child {
|
1199
|
-
margin-right: 0;
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
border: ${It("borderWidths.1")} solid transparent;
|
1203
|
-
border-radius: ${It("radii.2")};
|
1204
|
-
transition: border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
|
1205
|
-
|
1206
|
-
&:hover,
|
1207
|
-
&:focus {
|
1208
|
-
text-decoration: none;
|
1209
|
-
border-color: ${It("colors.border.default")};
|
1210
|
-
outline: 0;
|
1211
|
-
transition-duration: 0.1s;
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
&:active {
|
1215
|
-
border-color: ${It("colors.border.muted")};
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
&[rel='prev'],
|
1219
|
-
&[rel='next'] {
|
1220
|
-
color: ${It("colors.accent.fg")};
|
1221
|
-
}
|
1222
|
-
|
1223
|
-
&[aria-current],
|
1224
|
-
&[aria-current]:hover {
|
1225
|
-
color: ${It("colors.fg.onEmphasis")};
|
1226
|
-
background-color: ${It("colors.accent.emphasis")};
|
1227
|
-
border-color: transparent;
|
1228
|
-
}
|
1229
|
-
|
1230
|
-
&[aria-disabled],
|
1231
|
-
&[aria-disabled]:hover {
|
1232
|
-
color: ${It("colors.primer.fg.disabled")}; // check
|
1233
|
-
cursor: default;
|
1234
|
-
border-color: transparent;
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
@supports (clip-path: polygon(50% 0, 100% 50%, 50% 100%)) {
|
1238
|
-
&[rel='prev']::before,
|
1239
|
-
&[rel='next']::after {
|
1240
|
-
display: inline-block;
|
1241
|
-
width: 16px;
|
1242
|
-
height: 16px;
|
1243
|
-
vertical-align: text-bottom;
|
1244
|
-
content: '';
|
1245
|
-
background-color: currentColor;
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
// chevron-left
|
1249
|
-
&[rel='prev']::before {
|
1250
|
-
margin-right: ${It("space.1")};
|
1251
|
-
clip-path: polygon(
|
1252
|
-
9.8px 12.8px,
|
1253
|
-
8.7px 12.8px,
|
1254
|
-
4.5px 8.5px,
|
1255
|
-
4.5px 7.5px,
|
1256
|
-
8.7px 3.2px,
|
1257
|
-
9.8px 4.3px,
|
1258
|
-
6.1px 8px,
|
1259
|
-
9.8px 11.7px,
|
1260
|
-
9.8px 12.8px
|
1261
|
-
);
|
1262
|
-
}
|
1263
|
-
|
1264
|
-
// chevron-right
|
1265
|
-
&[rel='next']::after {
|
1266
|
-
margin-left: ${It("space.1")};
|
1267
|
-
clip-path: polygon(
|
1268
|
-
6.2px 3.2px,
|
1269
|
-
7.3px 3.2px,
|
1270
|
-
11.5px 7.5px,
|
1271
|
-
11.5px 8.5px,
|
1272
|
-
7.3px 12.8px,
|
1273
|
-
6.2px 11.7px,
|
1274
|
-
9.9px 8px,
|
1275
|
-
6.2px 4.3px,
|
1276
|
-
6.2px 3.2px
|
1277
|
-
);
|
1278
|
-
}
|
1279
|
-
}
|
1280
|
-
`;function Hi({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d}){const s=e.useCallback((e=>t=>a(t,e)),[a]),c=e.useMemo((()=>function(e,t,r,o,a){const n=[];if(r){const r=[],i=t=>{t>=1&&t<=e&&r.push(t)};let l=t-a,d=t+a;if(l<1&&d>e)l=1,d=e;else if(l<1)for(;l<1;)l++,d++;else if(d>e)for(;d>e;)l--,d--;for(let t=1;t<=o;t++){const r=t,o=e-(t-1);r>=l?d++:i(r),o<=d?l--:i(o)}for(let e=l;e<=d;e++)i(e);const s=r.slice().sort(((e,t)=>e-t)).filter(((e,t,r)=>!t||e!==r[t-1]));for(let e=0;e<s.length;e++){const r=s[e],o=r===t;0===e?(1!==r&&n.push({type:"BREAK",num:1}),n.push({type:"NUM",num:r,selected:o})):(1==r-s[e-1]||n.push({type:"BREAK",num:r-1}),n.push({type:"NUM",num:r,selected:o}))}const c=n[n.length-1];"NUM"===c.type&&c.num!==e&&n.push({type:"BREAK",num:e})}const i={type:"NEXT",num:t+1,disabled:t===e};return[{type:"PREV",num:t-1,disabled:1===t},...n,i]}(r,o,!!l,i,d)),[r,o,l,i,d]);return e.useMemo((()=>c.map((r=>{const{props:o,key:a,content:i}=function(e,t,r){const o={};let a="",n="";switch(e.type){case"PREV":n="page-prev",a="Previous",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"prev",href:t(e.num),"aria-label":"Previous Page",onClick:r});break;case"NEXT":n="page-next",a="Next",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"next",href:t(e.num),"aria-label":"Next Page",onClick:r});break;case"NUM":n=`page-${e.num}`,a=String(e.num),e.selected?Object.assign(o,{as:"em","aria-current":"page"}):Object.assign(o,{href:t(e.num),"aria-label":`Page ${e.num}`,onClick:r});break;case"BREAK":n=`page-${e.num}-break`,a="…",Object.assign(o,{as:"span","aria-disabled":!0})}return{props:o,key:n,content:a}}(r,n,s(r.num));return e.createElement(Pi,Rt({},o,{key:a,theme:t}),i)}))),[c,n,s,t])}const Wi=g.nav`
|
1281
|
-
margin-top: 20px;
|
1282
|
-
margin-bottom: 15px;
|
1283
|
-
text-align: center;
|
1284
|
-
${Zt};
|
1285
|
-
`;function _i({theme:t,pageCount:r,currentPage:o,onPageChange:a=Ui,hrefBuilder:n=ji,marginPageCount:i=1,showPages:l=!0,surroundingPageCount:d=2,...s}){const c=Hi({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d});return e.createElement(Wi,Rt({"aria-label":"Pagination"},s,{theme:t}),e.createElement(Qt,{display:"inline-block",theme:t},c))}function ji(e){return`#${e}`}function Ui(){}function Ki(t){const{bg:r,border:o,borderColor:a,theme:n}=t,{caret:i,children:l,...d}=t,s={bg:r,borderColor:a,borderWidth:o,location:i,theme:n};return e.createElement(tr,Rt({sx:{position:"relative"}},d),l,e.createElement(Hn,s))}_i.displayName="Pagination",_i.defaultProps={hrefBuilder:ji,marginPageCount:1,onPageChange:Ui,showPages:!0,surroundingPageCount:2},Ki.displayName="PointerBox";const Vi=g.div.attrs((({className:e,caret:t})=>({className:Ya(e,`caret-pos--${t}`)})))`
|
1286
|
-
position: ${e=>e.relative?"relative":"absolute"};
|
1287
|
-
z-index: 100;
|
1288
|
-
display: ${e=>e.open?"block":"none"};
|
1289
|
-
${Zt};
|
1290
|
-
`,Gi=g.div`
|
1291
|
-
border: 1px solid ${It("colors.border.default")};
|
1292
|
-
border-radius: ${It("radii.2")};
|
1293
|
-
position: relative;
|
1294
|
-
width: 232px;
|
1295
|
-
margin-right: auto;
|
1296
|
-
margin-left: auto;
|
1297
|
-
padding: ${It("space.4")};
|
1298
|
-
background-color: ${It("colors.canvas.overlay")};
|
1299
|
-
|
1300
|
-
// Carets
|
1301
|
-
&::before,
|
1302
|
-
&::after {
|
1303
|
-
position: absolute;
|
1304
|
-
left: 50%;
|
1305
|
-
display: inline-block;
|
1306
|
-
content: '';
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
&::before {
|
1310
|
-
top: -${It("space.3")};
|
1311
|
-
margin-left: -9px;
|
1312
|
-
border: ${It("space.2")} solid transparent; // TODO: solid?
|
1313
|
-
border-bottom-color: ${It("colors.border.default")};
|
1314
|
-
}
|
1315
|
-
|
1316
|
-
&::after {
|
1317
|
-
top: -14px;
|
1318
|
-
margin-left: -${It("space.2")};
|
1319
|
-
border: 7px solid transparent; // todo: solid
|
1320
|
-
border-bottom-color: ${It("colors.canvas.overlay")};
|
1321
|
-
}
|
1322
|
-
|
1323
|
-
// Bottom-oriented carets
|
1324
|
-
${Vi}.caret-pos--bottom & ,
|
1325
|
-
${Vi}.caret-pos--bottom-right & ,
|
1326
|
-
${Vi}.caret-pos--bottom-left & {
|
1327
|
-
&::before,
|
1328
|
-
&::after {
|
1329
|
-
top: auto;
|
1330
|
-
border-bottom-color: transparent;
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
&::before {
|
1334
|
-
bottom: -${It("space.3")};
|
1335
|
-
border-top-color: ${It("colors.border.default")};
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
&::after {
|
1339
|
-
bottom: -14px;
|
1340
|
-
// stylelint-disable-next-line primer/borders
|
1341
|
-
border-top-color: ${It("colors.canvas.overlay")};
|
1342
|
-
}
|
1343
|
-
}
|
1344
|
-
|
1345
|
-
// Top & Bottom: Right-oriented carets
|
1346
|
-
${Vi}.caret-pos--top-right & ,
|
1347
|
-
${Vi}.caret-pos--bottom-right & {
|
1348
|
-
right: -9px;
|
1349
|
-
margin-right: 0;
|
1350
|
-
|
1351
|
-
&::before,
|
1352
|
-
&::after {
|
1353
|
-
left: auto;
|
1354
|
-
margin-left: 0;
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
&::before {
|
1358
|
-
right: 20px;
|
1359
|
-
}
|
1360
|
-
|
1361
|
-
&::after {
|
1362
|
-
right: 21px;
|
1363
|
-
}
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
// Top & Bottom: Left-oriented carets
|
1367
|
-
${Vi}.caret-pos--top-left & ,
|
1368
|
-
${Vi}.caret-pos--bottom-left & {
|
1369
|
-
left: -9px;
|
1370
|
-
margin-left: 0;
|
1371
|
-
|
1372
|
-
&::before,
|
1373
|
-
&::after {
|
1374
|
-
left: ${It("space.4")};
|
1375
|
-
margin-left: 0;
|
1376
|
-
}
|
1377
|
-
|
1378
|
-
&::after {
|
1379
|
-
left: calc(${It("space.4")} + 1px);
|
1380
|
-
}
|
1381
|
-
}
|
1382
|
-
|
1383
|
-
// Right- & Left-oriented carets
|
1384
|
-
${Vi}.caret-pos--right & ,
|
1385
|
-
${Vi}.caret-pos--right-top & ,
|
1386
|
-
${Vi}.caret-pos--right-bottom & ,
|
1387
|
-
${Vi}.caret-pos--left & ,
|
1388
|
-
${Vi}.caret-pos--left-top & ,
|
1389
|
-
${Vi}.caret-pos--left-bottom & {
|
1390
|
-
&::before,
|
1391
|
-
&::after {
|
1392
|
-
top: 50%;
|
1393
|
-
left: auto;
|
1394
|
-
margin-left: 0;
|
1395
|
-
border-bottom-color: transparent;
|
1396
|
-
}
|
1397
|
-
|
1398
|
-
&::before {
|
1399
|
-
// stylelint-disable-next-line primer/spacing
|
1400
|
-
margin-top: calc((${It("space.2")} + 1px) * -1);
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
&::after {
|
1404
|
-
margin-top: -${It("space.2")};
|
1405
|
-
}
|
1406
|
-
}
|
1407
|
-
|
1408
|
-
// Right-oriented carets
|
1409
|
-
${Vi}.caret-pos--right & ,
|
1410
|
-
${Vi}.caret-pos--right-top & ,
|
1411
|
-
${Vi}.caret-pos--right-bottom & {
|
1412
|
-
&::before {
|
1413
|
-
right: -${It("space.3")};
|
1414
|
-
border-left-color: ${It("colors.border.default")};
|
1415
|
-
}
|
1416
|
-
|
1417
|
-
&::after {
|
1418
|
-
right: -14px;
|
1419
|
-
// stylelint-disable-next-line primer/borders
|
1420
|
-
border-left-color: ${It("colors.canvas.overlay")};
|
1421
|
-
}
|
1422
|
-
}
|
1423
|
-
|
1424
|
-
// Left-oriented carets
|
1425
|
-
${Vi}.caret-pos--left & ,
|
1426
|
-
${Vi}.caret-pos--left-top & ,
|
1427
|
-
${Vi}.caret-pos--left-bottom & {
|
1428
|
-
&::before {
|
1429
|
-
left: -${It("space.3")};
|
1430
|
-
border-right-color: ${It("colors.border.default")};
|
1431
|
-
}
|
1432
|
-
|
1433
|
-
&::after {
|
1434
|
-
left: -14px;
|
1435
|
-
// stylelint-disable-next-line primer/borders
|
1436
|
-
border-right-color: ${It("colors.canvas.overlay")};
|
1437
|
-
}
|
1438
|
-
}
|
1439
|
-
|
1440
|
-
// Right & Left: Top-oriented carets
|
1441
|
-
${Vi}.caret-pos--right-top & ,
|
1442
|
-
${Vi}.caret-pos--left-top & {
|
1443
|
-
&::before,
|
1444
|
-
&::after {
|
1445
|
-
top: ${It("space.4")};
|
1446
|
-
}
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
// Right & Left: Bottom-oriented carets
|
1450
|
-
${Vi}.caret-pos--right-bottom & ,
|
1451
|
-
${Vi}.caret-pos--left-bottom & {
|
1452
|
-
&::before,
|
1453
|
-
&::after {
|
1454
|
-
top: auto;
|
1455
|
-
}
|
1456
|
-
|
1457
|
-
&::before {
|
1458
|
-
bottom: ${It("space.3")};
|
1459
|
-
}
|
1460
|
-
|
1461
|
-
&::after {
|
1462
|
-
bottom: calc(${It("space.3")} + 1px);
|
1463
|
-
}
|
1464
|
-
}
|
1465
|
-
|
1466
|
-
${Zt};
|
1467
|
-
`;Vi.defaultProps={caret:"top"},Gi.displayName="Popover.Content";var qi=Object.assign(Vi,{Content:Gi});const Xi=g.span`
|
1468
|
-
width: ${e=>e.progress?`${e.progress}%`:0};
|
1469
|
-
|
1470
|
-
${Zt};
|
1471
|
-
`,Yi={small:"5px",large:"10px",default:"8px"},Ji=g.span`
|
1472
|
-
display: ${e=>e.inline?"inline-flex":"flex"};
|
1473
|
-
overflow: hidden;
|
1474
|
-
background-color: ${It("colors.border.default")};
|
1475
|
-
border-radius: ${It("radii.1")};
|
1476
|
-
height: ${e=>Yi[e.barSize||"default"]};
|
1477
|
-
|
1478
|
-
${me}
|
1479
|
-
${Zt};
|
1480
|
-
`;function Zi({progress:t,bg:r,...o}){return e.createElement(Ji,o,e.createElement(Xi,{progress:t,sx:{bg:r}}))}function Qi(e,t,r){const n=o((o=>{const a=()=>{r(!0)},n=t=>{const r=Array.from(e.current.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled]):not([aria-disabled="true"])')),o=document.activeElement,a=r.indexOf(o),n=t?r[a+1]:r[a-1],i=t?r[0]:r[r.length-1];return n||i};if(!(o instanceof KeyboardEvent))return;const i=o.target instanceof Element&&"SUMMARY"===o.target.tagName;switch(o.key){case"Escape":t&&((()=>{r(!1);const t=e.current.querySelector("summary");t&&t.focus()})(),o.preventDefault(),o.stopPropagation());break;case"ArrowDown":{i&&!t&&a();const e=n(!0);e&&e.focus(),o.preventDefault()}break;case"ArrowUp":{i&&!t&&a();const e=n(!1);e&&e.focus(),o.preventDefault()}break;case" ":case"Enter":{const t=document.activeElement;t&&(e=>{const t=e.getAttribute("role");return"menuitem"===t||"menuitemcheckbox"===t||"menuitemradio"===t})(t)&&t.closest("details")===e&&(o.preventDefault(),o.stopPropagation(),t.click())}}}),[e,t,r]);a((()=>{const t=e.current;if(t)return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}}),[e,n])}Zi.displayName="ProgressBar",Zi.defaultProps={bg:"success.emphasis",barSize:"default"};const el=s({}),tl=p(["padding:"," ",";margin:0;font-size:",";font-weight:",";color:",";background-color:",";border-bottom:"," solid ",";"],It("space.1"),It("space.3"),It("fontSizes.0"),It("fontWeights.bold"),It("colors.fg.muted"),It("colors.canvas.subtle"),It("borderWidths.1"),It("colors.border.muted")),rl=g.div`
|
1481
|
-
${tl}
|
1482
|
-
${Zt};
|
1483
|
-
`;rl.displayName="SelectMenu.Divider";var ol=rl;const al=g.form`
|
1484
|
-
padding: ${It("space.3")};
|
1485
|
-
margin: 0;
|
1486
|
-
border-bottom: ${It("borderWidths.1")} solid ${It("colors.border.muted")};
|
1487
|
-
background-color: ${It("colors.canvas.overlay")};
|
1488
|
-
|
1489
|
-
@media (min-width: ${It("breakpoints.0")}) {
|
1490
|
-
padding: ${It("space.2")};
|
1491
|
-
}
|
1492
|
-
|
1493
|
-
${Zt};
|
1494
|
-
`,nl=i((({theme:t,value:o,sx:n,...i},l)=>{const s=r(null),c=null!=l?l:s,{open:g}=d(el);return a((()=>{var e;g&&(null===(e=s.current)||void 0===e||e.focus())}),[g]),e.createElement(al,{theme:t,sx:n},e.createElement(tn,Rt({theme:t,ref:c,width:"100%",block:!0,value:o,contrast:!0},i)))}));nl.displayName="SelectMenu.Filter";var il=nl;const ll=p(["margin-top:-1px;padding:"," ",";font-size:",";color:",";text-align:center;border-top:"," solid ",";@media (min-width:","){padding:"," ",";}"],It("space.2"),It("space.3"),It("fontSizes.0"),It("colors.fg.muted"),It("borderWidths.1"),It("colors.border.muted"),It("breakpoints.0"),It("space.1"),It("space.2")),dl=g.footer`
|
1495
|
-
${ll}
|
1496
|
-
${Zt};
|
1497
|
-
`;dl.displayName="SelectMenu.Footer";var sl=dl;const cl=g.h3`
|
1498
|
-
color: ${It("colors.fg.default")};
|
1499
|
-
flex: auto;
|
1500
|
-
font-size: ${It("fontSizes.1")};
|
1501
|
-
font-weight: ${It("fontWeights.bold")};
|
1502
|
-
margin: 0;
|
1503
|
-
|
1504
|
-
@media (min-width: ${It("breakpoints.0")}) {
|
1505
|
-
font-size: inherit;
|
1506
|
-
}
|
1507
|
-
`,gl=g.header`
|
1508
|
-
display: flex;
|
1509
|
-
flex: none; // fixes header from getting squeezed in Safari iOS
|
1510
|
-
padding: ${It("space.3")};
|
1511
|
-
border-bottom: ${It("borderWidths")} solid ${It("colors.border.muted")};
|
1512
|
-
|
1513
|
-
@media (min-width: ${It("breakpoints.0")}) {
|
1514
|
-
padding-top: ${It("space.2")};
|
1515
|
-
padding-bottom: ${It("space.2")};
|
1516
|
-
}
|
1517
|
-
|
1518
|
-
${Zt};
|
1519
|
-
`,fl=({children:t,theme:r,...o})=>e.createElement(gl,Rt({theme:r},o),e.createElement(cl,{theme:r},t));fl.displayName="SelectMenuHeader",fl.displayName="SelectMenu.Header";var ul=fl;const pl=p(["display:flex;align-items:center;padding:",";overflow:hidden;text-align:left;cursor:pointer;background-color:",";border:0;border-bottom:"," solid ",";color:",";text-decoration:none;font-size:",";font-family:inherit;width:100%;&:hover{text-decoration:none;}&:focus{outline:none;}&[hidden]{display:none !important;}@media (min-width:","){padding-top:",";padding-bottom:",";}.SelectMenu-icon{width:",";margin-right:",";flex-shrink:0;}.SelectMenu-selected-icon{visibility:hidden;transition:transform 0.12s cubic-bezier(0.5,0.1,1,0.5),visibility 0s 0.12s linear;transform:scale(0);}&[aria-checked='true']{font-weight:500;color:",";.SelectMenu-selected-icon{visibility:visible;transition:transform 0.12s cubic-bezier(0,0,0.2,1),visibility 0s linear;transform:scale(1);}}@media (hover:hover){&:hover,&:active,&:focus{background-color:",";}}@media (hover:none){&:focus,&:active{background-color:",";}-webkit-tap-highlight-color:",";}"],It("space.3"),It("colors.canvas.overlay"),It("borderWidths.1"),It("colors.border.muted"),It("colors.fg.muted"),It("fontSizes.0"),It("breakpoints.0"),It("space.2"),It("space.2"),It("space.3"),It("space.2"),It("colors.fg.default"),It("colors.neutral.subtle"),It("colors.canvas.subtle"),It("colors.selectMenu.tapHighlight")),bl=g.a.attrs((()=>({role:"menuitemcheckbox"})))`
|
1520
|
-
${pl}
|
1521
|
-
${Zt};
|
1522
|
-
`,hl=i((({children:t,selected:o,theme:a,onClick:n,...i},l)=>{const s=d(el),c=r(null),g=null!=l?l:c;return e.createElement(bl,Rt({ref:g},i,{theme:a,onClick:e=>{var t;(n&&n(e),e.defaultPrevented)||(null===(t=s.setOpen)||void 0===t||t.call(s,!1))},"aria-checked":o}),e.createElement(Ao,{theme:a,className:"SelectMenu-icon SelectMenu-selected-icon",icon:eo}),t)}));hl.defaultProps={selected:!1},hl.displayName="SelectMenu.Item";var ml=hl;const vl=p(["position:relative;padding:0;margin:0;flex:auto;overflow-x:hidden;overflow-y:auto;background-color:",";-webkit-overflow-scrolling:touch;@media (hover:hover){.SelectMenuTab:focus{background-color:",";}.SelectMenuTab:not([aria-checked='true']):hover{color:",";background-color:",";}.SelectMenuTab:not([aria-checked='true']):active{color:",";background-color:",";}}"],It("colors.canvas.overlay"),It("colors.selectMenu.tapFocusBg"),It("colors.fg.default"),It("colors.canvas.subtle"),It("colors.fg.default"),It("colors.canvas.subtle")),xl=g.div`
|
1523
|
-
${vl}
|
1524
|
-
${Zt};
|
1525
|
-
`;xl.displayName="SelectMenu.List";var yl=xl;const wl={small:"16px",medium:"32px",large:"64px"};function Bl({size:t="medium",...r}){const o=wl[t];return e.createElement("svg",Rt({height:o,width:o,viewBox:"0 0 16 16",fill:"none"},r),e.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.25",strokeWidth:"2",vectorEffect:"non-scaling-stroke"}),e.createElement("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",vectorEffect:"non-scaling-stroke"}))}Bl.displayName="Spinner";const kl=g(Bl)`
|
1526
|
-
@keyframes rotate-keyframes {
|
1527
|
-
100% {
|
1528
|
-
transform: rotate(360deg);
|
1529
|
-
}
|
1530
|
-
}
|
1531
|
-
|
1532
|
-
animation: rotate-keyframes 1s linear infinite;
|
1533
|
-
|
1534
|
-
${Zt}
|
1535
|
-
`;kl.displayName="Spinner";var $l=kl;const Tl=g.div`
|
1536
|
-
padding: ${It("space.6")} ${It("space.4")};
|
1537
|
-
text-align: center;
|
1538
|
-
background-color: ${It("colors.canvas.overlay")};
|
1539
|
-
${Zt}
|
1540
|
-
`,Sl=t=>e.createElement(Tl,t,e.createElement($l,null));Sl.displayName="SelectMenuLoadingAnimation";var El=Sl;const Cl=h(["0%{opacity:0;transform:scale(0.9);}"]),zl=p(["position:relative;z-index:99;display:flex;",";max-height:",";margin:auto 0;",";overflow:hidden;pointer-events:auto;flex-direction:column;background-color:",";border-radius:",";box-shadow:",";animation:"," 0.12s cubic-bezier(0,0.1,0.1,1) backwards;@media (min-width:","){height:auto;max-height:350px;margin:"," 0 "," 0;font-size:",";border:"," solid ",";border-radius:",";box-shadow:",";}"],(e=>e.filter?"height: 80%":""),(e=>e.filter?"none":"66%"),(e=>e.filter?"margin-top: 0":""),It("colors.canvas.overlay"),It("radii.2"),It("shadows.shadow.small"),Cl,It("breakpoints.0"),It("space.1"),It("space.3"),It("fontSizes.0"),It("borderWidths.1"),It("colors.border.default"),It("radii.2"),It("shadows.shadow.small")),Il=p(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;display:flex;padding:",";pointer-events:none;flex-direction:column;&::before{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:'';background-color:",";@media (min-width:","){display:none;}}@media (min-width:","){position:absolute;top:auto;right:",";bottom:auto;left:auto;padding:0;}"],It("space.3"),It("colors.primer.canvas.backdrop"),It("breakpoints.0"),It("breakpoints.0"),(e=>"right"===e.align?"0":"auto")),Al=g.div`
|
1541
|
-
${zl}
|
1542
|
-
${me}
|
1543
|
-
`,Nl=g.div`
|
1544
|
-
${Il}
|
1545
|
-
${Zt};
|
1546
|
-
`,Rl=e.forwardRef((({children:t,theme:r,width:o,...a},n)=>e.createElement(Nl,Rt({theme:r},a,{role:"menu",ref:n}),e.createElement(Al,{theme:r,width:o},t))));Rl.defaultProps={align:"left",width:"300px"},Rl.displayName="SelectMenu.Modal";var Ll=Rl;const Fl=p(["flex:1;padding:"," ",";font-size:",";font-weight:500;color:",";text-align:center;background-color:transparent;border:0;box-shadow:inset 0 -1px 0 ",";@media (min-width:","){flex:none;padding:"," ",";border:"," solid transparent;border-bottom-width:0;border-top-left-radius:",";border-top-right-radius:",";}&[aria-selected='true']{z-index:1;color:",";background-color:",";box-shadow:0 0 0 1px ",";@media (min-width:","){border-color:",";box-shadow:none;}}&:focus{background-color:",";}"],It("space.2"),It("space.3"),It("fontSizes.0"),It("colors.fg.muted"),It("colors.border.muted"),It("breakpoints.0"),It("space.1"),It("space.3"),It("borderWidths.1"),It("radii.2"),It("radii.2"),It("colors.text-primary"),It("colors.canvas.overlay"),It("colors.border.muted"),It("breakpoints.0"),It("colors.border.muted"),It("colors.neutral.subtle")),Dl=g.button`
|
1547
|
-
${Fl}
|
1548
|
-
${Zt};
|
1549
|
-
`,Ml=({tabName:t="",index:r,className:o,onClick:n,...i})=>{const l=d(el);a((()=>{var e;l.selectedTab||0!==r||(null===(e=l.setSelectedTab)||void 0===e||e.call(l,t))}),[r,l,t]);const s=l.selectedTab===t;return e.createElement(Dl,Rt({role:"tab",className:Ya("SelectMenuTab",o),"aria-selected":s,onClick:e=>{var r;(n&&n(e),e.defaultPrevented)||(null===(r=l.setSelectedTab)||void 0===r||r.call(l,t))}},i),t)};Ml.displayName="SelectMenuTab",Ml.displayName="SelectMenu.Tab";var Ol=Ml;const Pl=g.div`
|
1550
|
-
border-top: ${It("borderWidths.1")} solid ${It("colors.border.muted")};
|
1551
|
-
${Zt};
|
1552
|
-
`,Hl=({tabName:t,className:r,children:o,...a})=>{const n=d(el);return e.createElement(Pl,Rt({role:"tabpanel",className:r,hidden:n.selectedTab!==t},a),e.createElement(yl,null,o))};Hl.displayName="TabPanel",Hl.displayName="SelectMenu.TabPanel";var Wl=Hl;const _l=p(["display:flex;flex-shrink:0;margin-bottom:-1px;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;&::-webkit-scrollbar{display:none;}@media (min-width:","){padding:0 ",";margin-top:",";}"],It("breakpoints.0"),It("space.2"),It("space.3")),jl=g.div`
|
1553
|
-
${_l}
|
1554
|
-
${Zt};
|
1555
|
-
`,Ul=({children:t,...r})=>e.createElement(jl,Rt({role:"tablist"},r),t);Ul.displayName="SelectMenuTabs",Ul.displayName="SelectMenu.Tabs";var Kl=Ul;const Vl=g.details`
|
1556
|
-
${"\n // Remove marker added by the display: list-item browser default\n > summary {\n list-style: none;\n }\n // Remove marker added by details polyfill\n > summary::before {\n display: none;\n }\n // Remove marker added by Chrome\n > summary::-webkit-details-marker {\n display: none;\n }\n"}
|
1557
|
-
${Zt};
|
1558
|
-
`,Gl=e.forwardRef((({children:n,initialTab:i="",as:l,...d},s)=>{const c=r(null),g=null!=s?s:c,[f,u]=t(i),[p,b]=t(!1),h={selectedTab:f,setSelectedTab:u,setOpen:b,open:p,initialTab:i},m=o((e=>{"current"in g&&g.current&&!g.current.contains(e.target)&&(e.defaultPrevented||b(!1))}),[g,b]);return a((()=>{if(p)return document.addEventListener("click",m),()=>{document.removeEventListener("click",m)}}),[p,m]),Qi(g,p,b),e.createElement(el.Provider,{value:h},e.createElement(Vl,Rt({ref:g},d,{open:p,onToggle:function(e){b(e.target.open)}}),n))}));Gl.displayName="SelectMenu";var ql=Object.assign(Gl,{MenuContext:el,List:yl,Divider:ol,Filter:il,Footer:sl,Item:ml,Modal:Ll,Tabs:Kl,Tab:Ol,TabPanel:Wl,Header:ul,LoadingAnimation:El});function Xl({variant:t,className:r,bordered:o,children:a,"aria-label":n}){const i=Ya(r,`variant-${"lightweight"===t?"lightweight":"normal"}`);return e.createElement(Qt,{borderWidth:o?"1px":0,borderStyle:"solid",borderColor:"border.default",borderRadius:2,as:"nav",className:i,"aria-label":n},a)}Xl.displayName="SideNavBase";const Yl=g(Xl)`
|
1559
|
-
background-color: ${It("colors.canvas.subtle")};
|
1560
|
-
|
1561
|
-
${e=>e.bordered&&p(["& > &{border-left:0;border-right:0;border-bottom:0;}"])}
|
1562
|
-
|
1563
|
-
${Zt};
|
1564
|
-
`,Jl=p(["background-color:",";outline:none;text-decoration:none;"],It("colors.neutral.subtle")),Zl=p(["color:",";text-decoration:none;outline:none;"],It("colors.fg.default")),Ql=g(Mi).attrs((e=>"string"==typeof e.to||e.selected?{"aria-current":"page"}:{}))`
|
1565
|
-
position: relative;
|
1566
|
-
display: block;
|
1567
|
-
${e=>"full"===e.variant&&p(["display:flex;align-items:center;justify-content:space-between;"])}
|
1568
|
-
width: 100%;
|
1569
|
-
text-align: left;
|
1570
|
-
font-size: ${It("fontSizes.1")};
|
1571
|
-
|
1572
|
-
& > ${Yl} {
|
1573
|
-
border-bottom: none;
|
1574
|
-
}
|
1575
|
-
|
1576
|
-
${Yl}.variant-normal > & {
|
1577
|
-
color: ${It("colors.fg.default")};
|
1578
|
-
padding: ${It("space.3")};
|
1579
|
-
border: 0;
|
1580
|
-
border-top: ${It("borderWidths.1")} solid ${It("colors.border.muted")};
|
1581
|
-
|
1582
|
-
&:first-child {
|
1583
|
-
border-top: 0;
|
1584
|
-
border-top-right-radius: ${It("radii.2")};
|
1585
|
-
border-top-left-radius: ${It("radii.2")};
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
&:last-child {
|
1589
|
-
border-bottom-right-radius: ${It("radii.2")};
|
1590
|
-
border-bottom-left-radius: ${It("radii.2")};
|
1591
|
-
}
|
1592
|
-
|
1593
|
-
// Bar on the left
|
1594
|
-
&::before {
|
1595
|
-
position: absolute;
|
1596
|
-
top: 0;
|
1597
|
-
bottom: 0;
|
1598
|
-
left: 0;
|
1599
|
-
z-index: 1;
|
1600
|
-
width: 3px;
|
1601
|
-
pointer-events: none;
|
1602
|
-
content: '';
|
1603
|
-
}
|
1604
|
-
|
1605
|
-
&:hover {
|
1606
|
-
${Jl}
|
1607
|
-
}
|
1608
|
-
|
1609
|
-
&:focus {
|
1610
|
-
${Jl}
|
1611
|
-
box-shadow: ${It("shadows.primer.shadow.focus")};
|
1612
|
-
z-index: 1;
|
1613
|
-
}
|
1614
|
-
|
1615
|
-
&[aria-current='page'],
|
1616
|
-
&[aria-selected='true'] {
|
1617
|
-
background-color: ${It("colors.sidenav.selectedBg")};
|
1618
|
-
|
1619
|
-
// Bar on the left
|
1620
|
-
&::before {
|
1621
|
-
background-color: ${It("colors.primer.border.active")};
|
1622
|
-
}
|
1623
|
-
}
|
1624
|
-
}
|
1625
|
-
|
1626
|
-
${Yl}.variant-lightweight > & {
|
1627
|
-
padding: ${It("space.1")} 0;
|
1628
|
-
color: ${It("colors.accent.fg")};
|
1629
|
-
|
1630
|
-
&:hover {
|
1631
|
-
${Zl}
|
1632
|
-
}
|
1633
|
-
|
1634
|
-
&:focus {
|
1635
|
-
${Zl}
|
1636
|
-
box-shadow: ${It("shadows.primer.shadow.focus")};
|
1637
|
-
z-index: 1;
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
&[aria-current='page'],
|
1641
|
-
&[aria-selected='true'] {
|
1642
|
-
color: ${It("colors.fg.default")};
|
1643
|
-
font-weight: ${It("fontWeights.semibold")};
|
1644
|
-
}
|
1645
|
-
}
|
1646
|
-
|
1647
|
-
${Zt};
|
1648
|
-
`;Yl.defaultProps={variant:"normal"},Ql.defaultProps={variant:"normal"},Ql.displayName="SideNav.Link";var ed=Object.assign(Yl,{Link:Ql});const td={issueOpened:no,pullOpened:ro,issueClosed:oo,pullClosed:ro,pullMerged:to,draft:ro,issueDraft:ao},rd=ue({prop:"status",variants:{issueClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullMerged:{backgroundColor:"done.emphasis",color:"fg.onEmphasis"},issueOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},pullOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},draft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"},issueDraft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"}}}),od=ue({prop:"variant",variants:{small:{paddingX:2,paddingY:1,fontSize:0},normal:{paddingX:"12px",paddingY:2,fontSize:1}}}),ad=g.span`
|
1649
|
-
display: inline-flex;
|
1650
|
-
align-items: center;
|
1651
|
-
font-weight: ${It("fontWeights.bold")};
|
1652
|
-
line-height: 16px;
|
1653
|
-
color: ${It("colors.canvas.default")};
|
1654
|
-
text-align: center;
|
1655
|
-
border-radius: ${It("radii.3")};
|
1656
|
-
${rd};
|
1657
|
-
${od};
|
1658
|
-
${Zt};
|
1659
|
-
`;function nd({children:t,status:r,variant:o,...a}){const n="small"===o?{width:"1em"}:{};return e.createElement(ad,Rt({},a,{variant:o,status:r}),r&&e.createElement(Ao,Rt({},n,{icon:td[r]||lo,sx:{mr:1}})),t)}nd.displayName="StateLabel",nd.defaultProps={variant:"normal"};const id=g.nav`
|
1660
|
-
display: flex;
|
1661
|
-
justify-content: space-between;
|
1662
|
-
|
1663
|
-
.SubNav-body {
|
1664
|
-
display: flex;
|
1665
|
-
margin-bottom: -1px;
|
1666
|
-
|
1667
|
-
> * {
|
1668
|
-
margin-left: ${It("space.2")};
|
1669
|
-
}
|
1670
|
-
|
1671
|
-
> *:first-child {
|
1672
|
-
margin-left: 0;
|
1673
|
-
}
|
1674
|
-
}
|
1675
|
-
|
1676
|
-
.SubNav-actions {
|
1677
|
-
align-self: center;
|
1678
|
-
}
|
1679
|
-
|
1680
|
-
${Zt};
|
1681
|
-
`;function ld({actions:t,className:r,children:o,label:a,...n}){const i=Ya(r,"SubNav");return e.createElement(id,Rt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}ld.displayName="SubNav";const dd=g.div`
|
1682
|
-
display: flex;
|
1683
|
-
${Zt};
|
1684
|
-
`,sd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("SubNav-item",e.selected&&"selected",e.className)})))`
|
1685
|
-
padding-left: ${It("space.3")};
|
1686
|
-
padding-right: ${It("space.3")};
|
1687
|
-
font-weight: ${It("fontWeights.semibold")};
|
1688
|
-
font-size: ${It("fontSizes.1")};
|
1689
|
-
line-height: 20px; //custom value for SubNav
|
1690
|
-
min-height: 34px; //custom value for SubNav
|
1691
|
-
color: ${It("colors.fg.default")};
|
1692
|
-
text-align: center;
|
1693
|
-
text-decoration: none;
|
1694
|
-
border-top: 1px solid ${It("colors.border.default")};
|
1695
|
-
border-bottom: 1px solid ${It("colors.border.default")};
|
1696
|
-
border-right: 1px solid ${It("colors.border.default")};
|
1697
|
-
display: flex;
|
1698
|
-
align-items: center;
|
1699
|
-
|
1700
|
-
&:first-of-type {
|
1701
|
-
border-top-left-radius: ${It("radii.2")};
|
1702
|
-
border-bottom-left-radius: ${It("radii.2")};
|
1703
|
-
border-left: 1px solid ${It("colors.border.default")};
|
1704
|
-
}
|
1705
|
-
|
1706
|
-
&:last-of-type {
|
1707
|
-
border-top-right-radius: ${It("radii.2")};
|
1708
|
-
border-bottom-right-radius: ${It("radii.2")};
|
1709
|
-
}
|
1710
|
-
|
1711
|
-
&:hover,
|
1712
|
-
&:focus {
|
1713
|
-
text-decoration: none;
|
1714
|
-
background-color: ${It("colors.canvas.subtle")};
|
1715
|
-
transition: 0.2s ease;
|
1716
|
-
|
1717
|
-
.SubNav-octicon {
|
1718
|
-
color: ${It("colors.fg.muted")};
|
1719
|
-
}
|
1720
|
-
}
|
1721
|
-
|
1722
|
-
&.selected {
|
1723
|
-
color: ${It("colors.fg.onEmphasis")};
|
1724
|
-
background-color: ${It("colors.accent.emphasis")};
|
1725
|
-
border-color: ${It("colors.accent.emphasis")};
|
1726
|
-
.SubNav-octicon {
|
1727
|
-
color: ${It("colors.fg.onEmphasis")};
|
1728
|
-
}
|
1729
|
-
}
|
1730
|
-
|
1731
|
-
${Zt};
|
1732
|
-
`;sd.displayName="SubNav.Link",dd.displayName="SubNav.Links";var cd=Object.assign(ld,{Link:sd,Links:dd});const gd=g.div`
|
1733
|
-
margin-top: 0;
|
1734
|
-
border-bottom: 1px solid ${It("colors.border.default")};
|
1735
|
-
${Zt}
|
1736
|
-
`,fd=g.nav`
|
1737
|
-
display: flex;
|
1738
|
-
margin-bottom: -1px;
|
1739
|
-
overflow: auto;
|
1740
|
-
`;function ud({children:t,"aria-label":r,...o}){return e.createElement(gd,o,e.createElement(fd,{"aria-label":r},t))}ud.displayName="TabNav";const pd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("TabNav-item",e.selected&&"selected",e.className)})))`
|
1741
|
-
padding: 8px 12px;
|
1742
|
-
font-size: ${It("fontSizes.1")};
|
1743
|
-
line-height: 20px;
|
1744
|
-
color: ${It("colors.fg.default")};
|
1745
|
-
text-decoration: none;
|
1746
|
-
background-color: transparent;
|
1747
|
-
border: 1px solid transparent;
|
1748
|
-
border-bottom: 0;
|
1749
|
-
|
1750
|
-
&:hover,
|
1751
|
-
&:focus {
|
1752
|
-
color: ${It("colors.fg.default")};
|
1753
|
-
text-decoration: none;
|
1754
|
-
}
|
1755
|
-
|
1756
|
-
&.selected {
|
1757
|
-
color: ${It("colors.fg.default")};
|
1758
|
-
border-color: ${It("colors.border.default")};
|
1759
|
-
border-top-right-radius: ${It("radii.2")};
|
1760
|
-
border-top-left-radius: ${It("radii.2")};
|
1761
|
-
background-color: ${It("colors.canvas.default")};
|
1762
|
-
}
|
1763
|
-
|
1764
|
-
${Zt};
|
1765
|
-
`;pd.displayName="TabNav.Link";var bd=Object.assign(ud,{Link:pd}),hd=F(te,P,O,D,H,U,V,q,_,re,pe,be,he),md=new RegExp("^("+hd.propNames.join("|")+")$");const vd={small:"16px",medium:"20px",large:"24px",extralarge:"32px"},xd=({as:e="span",onClick:t,onFocus:r,tabIndex:o=-1})=>Boolean(r||t||o>-1||["a","button"].includes(e)),yd=ue({prop:"size",variants:{small:{fontSize:0,height:vd.small,lineHeight:vd.small,paddingLeft:1,paddingRight:1,paddingTop:0,paddingBottom:0},medium:{fontSize:0,height:vd.medium,lineHeight:vd.medium,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},large:{fontSize:0,height:vd.large,lineHeight:vd.large,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},extralarge:{fontSize:1,height:vd.extralarge,lineHeight:vd.extralarge,paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0}}}),wd=g.span.attrs((({text:e,onRemove:t,onKeyDown:r})=>({onKeyDown:e=>{r&&r(e),"Backspace"!==e.key&&"Delete"!==e.key||!t||t()},"aria-label":t?`${e}, press backspace or delete to remove`:void 0})))`
|
1766
|
-
align-items: center;
|
1767
|
-
border-radius: 999px;
|
1768
|
-
cursor: ${e=>xd(e)?"pointer":"auto"};
|
1769
|
-
display: inline-flex;
|
1770
|
-
font-weight: ${It("fontWeights.bold")};
|
1771
|
-
font-family: inherit;
|
1772
|
-
text-decoration: none;
|
1773
|
-
white-space: nowrap;
|
1774
|
-
${yd}
|
1775
|
-
${Zt}
|
1776
|
-
`;wd.defaultProps={as:"span",size:"medium"};var Bd=wd;const kd=ue({prop:"size",variants:{small:{height:vd.small,width:vd.small},medium:{height:vd.medium,width:vd.medium},large:{height:vd.large,width:vd.large},extralarge:{height:vd.extralarge,width:vd.extralarge}}}),$d=e=>.75*parseInt(vd[e||"medium"],10),Td=g.span`
|
1777
|
-
background-color: transparent;
|
1778
|
-
font-family: inherit;
|
1779
|
-
color: currentColor;
|
1780
|
-
cursor: pointer;
|
1781
|
-
display: inline-flex;
|
1782
|
-
justify-content: center;
|
1783
|
-
align-items: center;
|
1784
|
-
user-select: none;
|
1785
|
-
appearance: none;
|
1786
|
-
text-decoration: none;
|
1787
|
-
padding: 0;
|
1788
|
-
transform: ${e=>`translate(${e.borderOffset}px, -${e.borderOffset}px)`};
|
1789
|
-
align-self: baseline;
|
1790
|
-
border: 0;
|
1791
|
-
border-radius: 999px;
|
1792
|
-
|
1793
|
-
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-left:",";"],It("space.2"));default:return p(["margin-left:",";"],It("space.1"))}}}
|
1794
|
-
|
1795
|
-
&:hover,
|
1796
|
-
&:focus {
|
1797
|
-
// TODO: choose a better functional color variable for this
|
1798
|
-
background-color: ${It("colors.neutral.muted")};
|
1799
|
-
}
|
1800
|
-
|
1801
|
-
&:active {
|
1802
|
-
// TODO: choose a better functional color variable for this
|
1803
|
-
background-color: ${It("colors.neutral.subtle")};
|
1804
|
-
}
|
1805
|
-
|
1806
|
-
${kd}
|
1807
|
-
${Zt}
|
1808
|
-
`,Sd=({"aria-label":t,isParentInteractive:r,size:o,...a})=>(delete a.children,e.createElement(Td,Rt({as:r?"span":"button",tabIndex:r?-1:void 0,"aria-label":r?t:"Remove token",size:o},a),e.createElement(co,{size:$d(o)})));Sd.displayName="RemoveTokenButton",Sd.defaultProps={size:"medium"};var Ed=Sd;var Cd=g("span")`
|
1809
|
-
flex-grow: 1;
|
1810
|
-
min-width: 0;
|
1811
|
-
overflow: hidden;
|
1812
|
-
text-overflow: ellipsis;
|
1813
|
-
white-space: nowrap;
|
1814
|
-
|
1815
|
-
// reset button styles, make the cursor a pointer, and add line-height
|
1816
|
-
background: transparent;
|
1817
|
-
border: none;
|
1818
|
-
color: inherit;
|
1819
|
-
font: inherit;
|
1820
|
-
margin: 0;
|
1821
|
-
overflow: visible;
|
1822
|
-
padding: 0;
|
1823
|
-
width: auto;
|
1824
|
-
-webkit-font-smoothing: inherit;
|
1825
|
-
-moz-osx-font-smoothing: inherit;
|
1826
|
-
-webkit-appearance: none;
|
1827
|
-
line-height: 1;
|
1828
|
-
|
1829
|
-
// reset anchor styles
|
1830
|
-
color: currentColor;
|
1831
|
-
text-decoration: none;
|
1832
|
-
|
1833
|
-
// Position psuedo-element above text content, but below the
|
1834
|
-
// remove button.
|
1835
|
-
// This ensures the <a> or <button> receives the click no
|
1836
|
-
// matter where on the token the user clicks.
|
1837
|
-
&:is(a, button, [tabIndex='0']) {
|
1838
|
-
cursor: pointer;
|
1839
|
-
|
1840
|
-
&:after {
|
1841
|
-
content: '';
|
1842
|
-
position: absolute;
|
1843
|
-
left: 0;
|
1844
|
-
top: 0;
|
1845
|
-
right: 0;
|
1846
|
-
bottom: 0;
|
1847
|
-
}
|
1848
|
-
}
|
1849
|
-
`;const zd=g(Bd)`
|
1850
|
-
background-color: ${It("colors.neutral.subtle")};
|
1851
|
-
border-color: ${e=>e.isSelected?It("colors.fg.default"):It("colors.border.subtle")};
|
1852
|
-
border-style: solid;
|
1853
|
-
border-width: ${1}px;
|
1854
|
-
color: ${e=>e.isSelected?It("colors.fg.default"):It("colors.fg.muted")};
|
1855
|
-
max-width: 100%;
|
1856
|
-
padding-right: ${e=>e.hideRemoveButton?void 0:0};
|
1857
|
-
position: relative;
|
1858
|
-
${Zt}
|
1859
|
-
|
1860
|
-
${e=>{if(e.isTokenInteractive)return p(["&:hover{background-color:",";box-shadow:",";color:",";}"],It("colors.neutral.muted"),It("colors.shadow.medium"),It("colors.fg.default"))}}
|
1861
|
-
`,Id=g("span")`
|
1862
|
-
flex-shrink: 0;
|
1863
|
-
line-height: 0;
|
1864
|
-
|
1865
|
-
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-right:",";"],It("space.2"));default:return p(["margin-right:",";"],It("space.1"))}}}
|
1866
|
-
`,Ad=i(((t,r)=>{const{as:o,onRemove:a,id:n,leadingVisual:i,text:l,size:d,hideRemoveButton:s,href:c,onClick:g,...f}=t,u=xd(t)&&Boolean(a)&&!s,p={as:o,href:c,onClick:g};return e.createElement(zd,Rt({onRemove:a,hideRemoveButton:s||!a,id:null==n?void 0:n.toString(),text:l,size:d,isTokenInteractive:xd(t)},u?{}:p,f,{ref:r}),i?e.createElement(Id,{size:d},e.createElement(i,null)):null,e.createElement(Cd,u?p:{},l),!s&&a?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),a&&a()},size:d,isParentInteractive:xd(t),"aria-hidden":u?"true":"false",sx:u?{position:"relative",zIndex:"1"}:{}}):null)}));Ad.displayName="Token",Ad.defaultProps={size:"medium"};var Nd=Ad;const Rd={small:0,medium:1,large:1,extralarge:2};function Ld({icon:o,contrast:a,className:n,block:i,disabled:l,theme:d,sx:s,tokens:c,onTokenRemove:g,tokenComponent:f,preventTokenWrapping:u,size:p,hideTokenRemoveButtons:b,maxHeight:h,width:m,minWidth:v,maxWidth:x,variant:y,visibleTokenCount:w,...B},k){const{onBlur:$,onFocus:T,onKeyDown:S,...E}=function(e){var t={};for(var r in e)md.test(r)||(t[r]=e[r]);return t}(B),C=Tr(k),z=Do(r(null),C),[I,A]=t(),[N,R]=t(Boolean(w)),{containerRef:L}=No({focusOutBehavior:"wrap",bindKeys:Nr.ArrowHorizontal|Nr.HomeAndEnd,focusableElementFilter:e=>!e.getAttributeNames().includes("aria-hidden"),getNextFocusable:e=>{var t;if(!I&&0!==I)return;let r=I+1;return"next"===e&&(r+=1),"previous"===e&&(r-=1),r>c.length||r<1?z.current||void 0:null===(t=L.current)||void 0===t?void 0:t.children[r]}},[I]),F=e=>{g(e),setTimeout((()=>{var e,t;const r=null===(e=L.current)||void 0===e?void 0:e.children[I||0],o=r&&xr(r)?r:Array.from((null===(t=L.current)||void 0===t?void 0:t.children)||[]).find((e=>xr(e)));var a;o?o.focus():null===(a=C.current)||void 0===a||a.focus()}),0)},D=()=>{A(void 0),setTimeout((()=>{var e;null!==(e=L.current)&&void 0!==e&&e.contains(document.activeElement)||!w||R(!0)}),0)},M=e=>{var t;"Escape"===e.key&&(null===(t=C.current)||void 0===t||t.focus())},O=e=>{e.stopPropagation()},P=N?c.slice(0,w):c;return e.createElement(Qa,{block:i,className:n,contrast:a,disabled:l,hasIcon:!!o,theme:d,width:m,minWidth:v,maxWidth:x,variant:y,onClick:()=>{var e;null===(e=z.current)||void 0===e||e.focus()},sx:{...i?{display:"flex",width:"100%"}:{},...h?{maxHeight:h,overflow:"auto"}:{},...u?{overflow:"auto"}:{},...s}},e.createElement(Qt,{ref:L,display:"flex",sx:{alignItems:"center",flexWrap:u?"nowrap":"wrap",marginLeft:"-0.25rem",marginBottom:"-0.25rem",flexGrow:1,"> *":{flexShrink:0,marginLeft:"0.25rem",marginBottom:"0.25rem"}}},e.createElement(Qt,{sx:{order:1,flexGrow:1}},o&&e.createElement(o,{className:"TextInput-icon"}),e.createElement(Ja,Rt({ref:z,disabled:l,onFocus:e=>{T&&T(e),A(void 0),w&&R(!1)},onBlur:e=>{$&&$(e),setTimeout((()=>{var e;null!==(e=L.current)&&void 0!==e&&e.contains(document.activeElement)||!w||R(!0)}),0)},onKeyDown:e=>{var t;if(S&&S(e),null!==(t=C.current)&&void 0!==t&&t.value)return;const r=c[c.length-1];"Backspace"===e.key&&r&&(F(r.id),C.current&&(C.current.value=`${r.text} `),setTimeout((()=>{var e;null===(e=C.current)||void 0===e||e.select()}),0))},type:"text",sx:{height:"100%"}},E))),f?P.map((({id:t,...r},o)=>{return e.createElement(f,Rt({key:t,onFocus:(a=o,()=>{A(a)}),onBlur:D,onKeyUp:M,onClick:O,isSelected:I===o,onRemove:()=>{F(t)},hideRemoveButton:b,size:p,tabIndex:0},r));var a})):null,N?e.createElement(Yn,{color:"fg.muted",fontSize:p&&Rd[p]},"+",c.length-P.length):null))}Ld.displayName="TextInputWithTokensInnerComponent";const Fd=e.forwardRef(Ld);Fd.defaultProps={tokenComponent:Nd,size:"extralarge",hideTokenRemoveButtons:!1,preventTokenWrapping:!1},Fd.displayName="TextInputWithTokens";var Dd=Fd;const Md=g.div`
|
1867
|
-
display: flex;
|
1868
|
-
flex-direction: column;
|
1869
|
-
${e=>e.clipSidebar&&p([".Timeline-Item:first-child{padding-top:0;}.Timeline-Item:last-child{padding-bottom:0;}"])}
|
1870
|
-
|
1871
|
-
${Zt};
|
1872
|
-
`,Od=g.div.attrs((e=>({className:Ya("Timeline-Item",e.className)})))`
|
1873
|
-
display: flex;
|
1874
|
-
position: relative;
|
1875
|
-
padding: ${It("space.3")} 0;
|
1876
|
-
margin-left: ${It("space.3")};
|
1877
|
-
|
1878
|
-
&::before {
|
1879
|
-
position: absolute;
|
1880
|
-
top: 0;
|
1881
|
-
bottom: 0;
|
1882
|
-
left: 0;
|
1883
|
-
display: block;
|
1884
|
-
width: 2px;
|
1885
|
-
content: '';
|
1886
|
-
background-color: ${It("colors.border.muted")};
|
1887
|
-
}
|
1888
|
-
|
1889
|
-
${e=>e.condensed&&p(["padding-top:",";padding-bottom:0;&:last-child{padding-bottom:",";}.TimelineItem-Badge{height:16px;margin-top:",";margin-bottom:",";color:",";background-color:",";border:0;}"],It("space.1"),It("space.3"),It("space.2"),It("space.2"),It("colors.fg.muted"),It("colors.canvas.default"))}
|
1890
|
-
|
1891
|
-
${Zt};
|
1892
|
-
`,Pd=t=>e.createElement(Qt,{position:"relative",zIndex:1},e.createElement(Qt,{display:"flex",className:"TimelineItem-Badge",flexShrink:0,borderRadius:"50%",borderWidth:"2px",borderStyle:"solid",borderColor:"canvas.default",overflow:"hidden",color:"fg.muted",bg:"timeline.badgeBg",width:"32px",height:"32px",mr:2,ml:"-15px",alignItems:"center",justifyContent:"center",sx:t.sx},t.children));Pd.displayName="TimelineBadge";const Hd=g.div`
|
1893
|
-
min-width: 0;
|
1894
|
-
max-width: 100%;
|
1895
|
-
margin-top: ${It("space.1")};
|
1896
|
-
color: ${It("colors.fg.muted")};
|
1897
|
-
flex: auto;
|
1898
|
-
font-size: ${It("fontSizes.1")};
|
1899
|
-
${Zt};
|
1900
|
-
`,Wd=g.div`
|
1901
|
-
position: relative
|
1902
|
-
z-index: 1;
|
1903
|
-
height: 24px;
|
1904
|
-
margin: 0;
|
1905
|
-
margin-bottom: -${It("space.3")};
|
1906
|
-
margin-left: 0;
|
1907
|
-
background-color: ${It("colors.canvas.default")};
|
1908
|
-
border: 0;
|
1909
|
-
border-top: ${It("space.1")} solid ${It("colors.border.default")};
|
1910
|
-
${Zt};
|
1911
|
-
`;Od.displayName="Timeline.Item",Pd.displayName="Timeline.Badge",Hd.displayName="Timeline.Body",Wd.displayName="Timeline.Break";var _d=Object.assign(Md,{Item:Od,Badge:Pd,Body:Hd,Break:Wd});function jd(e,t,r){return Math.min(Math.max(e,r),t)}class Ud extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function Kd(e){if("string"!=typeof e)throw new Ud(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Qd.test(e)?function(e){const t=e.toLowerCase().trim(),r=Gd[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Ud(e);return`#${r}`}(e):e;const r=Xd.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(qd(e,2),16))),parseInt(qd(e[3]||"f",2),16)/255]}const o=Yd.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=Jd.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const n=Zd.exec(t);if(n){const[t,r,o,a]=Array.from(n).slice(1).map(parseFloat);if(jd(0,100,r)!==r)throw new Ud(e);if(jd(0,100,o)!==o)throw new Ud(e);return[...ts(t,r,o),a||1]}throw new Ud(e)}const Vd=e=>parseInt(e.replace(/_/g,""),36),Gd="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=Vd(t.substring(0,3)),o=Vd(t.substring(3)).toString(16);let a="";for(let e=0;e<6-o.length;e++)a+="0";return e[r]=`${a}${o}`,e}),{}),qd=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Xd=new RegExp(`^#${qd("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Yd=new RegExp(`^#${qd("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Jd=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${qd(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Zd=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Qd=/^[a-z]+$/i,es=e=>Math.round(255*e),ts=(e,t,r)=>{let o=r/100;if(0===t)return[o,o,o].map(es);const a=(e%360+360)%360/60,n=(1-Math.abs(2*o-1))*(t/100),i=n*(1-Math.abs(a%2-1));let l=0,d=0,s=0;a>=0&&a<1?(l=n,d=i):a>=1&&a<2?(l=i,d=n):a>=2&&a<3?(d=n,s=i):a>=3&&a<4?(d=i,s=n):a>=4&&a<5?(l=i,s=n):a>=5&&a<6&&(l=n,s=i);const c=o-n/2;return[l+c,d+c,s+c].map(es)};const rs={"--lightness-threshold":"0.453","--border-threshold":"0.96","--border-alpha":"max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1))",background:"rgb(var(--label-r), var(--label-g), var(--label-b))",color:"hsl(0, 0%, calc(var(--lightness-switch) * 100%))",borderWidth:1,borderStyle:"solid",borderColor:"hsla(var(--label-h),calc(var(--label-s) * 1%),calc((var(--label-l) - 25) * 1%),var(--border-alpha))"},os={"--lightness-threshold":"0.6","--background-alpha":"0.18","--border-alpha":"0.3","--lighten-by":"calc(((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * var(--lightness-switch))",borderWidth:1,borderStyle:"solid",background:"rgba(var(--label-r), var(--label-g), var(--label-b), var(--background-alpha))",color:"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))",borderColor:"hsla(var(--label-h), calc(var(--label-s) * 1%),calc((var(--label-l) + var(--lighten-by)) * 1%),var(--border-alpha))"},as=i(((t,r)=>{const{as:o,fillColor:a="#999",onRemove:i,id:l,isSelected:d,text:s,size:c,hideRemoveButton:g,href:f,onClick:u,...p}=t,b={as:o,href:f,onClick:u},{colorScheme:h}=qt(),m=xd(t)&&Boolean(i)&&!g,v=n((()=>{const[e,t,r]=Kd(a),[o,n,l]=function(e){const[t,r,o,a]=Kd(e).map(((e,t)=>3===t?e:e/255)),n=Math.max(t,r,o),i=Math.min(t,r,o),l=(n+i)/2;if(n===i)return[0,0,l,a];const d=n-i;return[60*(t===n?(r-o)/d+(r<o?6:0):r===n?(o-t)/d+2:(t-r)/d+4),l>.5?d/(2-n-i):d/(n+i),l,a]}(a);return{"--label-r":String(e),"--label-g":String(t),"--label-b":String(r),"--label-h":String(Math.round(o)),"--label-s":String(Math.round(100*n)),"--label-l":String(Math.round(100*l)),"--perceived-lightness":"calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255)","--lightness-switch":"max(0, min(calc((var(--perceived-lightness) - var(--lightness-threshold)) * -1000), 1))",paddingRight:g||!i?void 0:0,position:"relative",..."light"===h?rs:os,...d?{background:"light"===h?"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 5) * 1%))":os.background,":focus":{outline:"none"},":after":{content:'""',position:"absolute",zIndex:1,top:"-2px",right:"-2px",bottom:"-2px",left:"-2px",display:"block",pointerEvents:"none",boxShadow:"0 0 0 2px "+("light"===h?"rgb(var(--label-r), var(--label-g), var(--label-b))":"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))"),borderRadius:"999px"}}:{}}}),[h,a,d,g,i]);return e.createElement(Bd,Rt({onRemove:i,id:null==l?void 0:l.toString(),isSelected:d,text:s,size:c,sx:v},m?{}:b,p,{ref:r}),e.createElement(Cd,m?b:{},s),!g&&i?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),i&&i()},size:c,"aria-hidden":m?"true":"false",isParentInteractive:xd(t),sx:m?{position:"relative",zIndex:"1"}:{}}):null)}));as.defaultProps={fillColor:"#999",size:"medium"},as.displayName="IssueLabelToken";var ns=as;const is=g.span`
|
1912
|
-
// 'space.1' is used because to match space from the left of the token to the left of the avatar
|
1913
|
-
// '* 2' is done to account for the top and bottom
|
1914
|
-
--spacing: calc(${It("space.1")} * 2);
|
1915
|
-
|
1916
|
-
display: block;
|
1917
|
-
height: ${e=>`calc(${vd[e.avatarSize]} - var(--spacing))`};
|
1918
|
-
width: ${e=>`calc(${vd[e.avatarSize]} - var(--spacing))`};
|
1919
|
-
`,ls=i((({avatarSrc:t,id:r,size:o,...a},n)=>e.createElement(Nd,Rt({leadingVisual:()=>e.createElement(is,{avatarSize:o||"medium"},e.createElement(un,{src:t,size:parseInt(vd[o||"medium"],10),sx:{width:"100%",height:"100%"}})),size:o,id:null==r?void 0:r.toString(),sx:{paddingLeft:It("space.1")}},a,{ref:n}))));ls.defaultProps={size:"medium"},ls.displayName="AvatarToken";var ds=ls;const ss=g.span`
|
1920
|
-
position: relative;
|
1921
|
-
|
1922
|
-
&::before {
|
1923
|
-
position: absolute;
|
1924
|
-
z-index: 1000001;
|
1925
|
-
display: none;
|
1926
|
-
width: 0px;
|
1927
|
-
height: 0px;
|
1928
|
-
color: ${It("colors.neutral.emphasisPlus")};
|
1929
|
-
pointer-events: none;
|
1930
|
-
content: '';
|
1931
|
-
border: 6px solid transparent;
|
1932
|
-
opacity: 0;
|
1933
|
-
}
|
1934
|
-
|
1935
|
-
&::after {
|
1936
|
-
position: absolute;
|
1937
|
-
z-index: 1000000;
|
1938
|
-
display: none;
|
1939
|
-
padding: 0.5em 0.75em;
|
1940
|
-
font: normal normal 11px/1.5 ${It("fonts.normal")};
|
1941
|
-
-webkit-font-smoothing: subpixel-antialiased;
|
1942
|
-
color: ${It("colors.fg.onEmphasis")};
|
1943
|
-
text-align: center;
|
1944
|
-
text-decoration: none;
|
1945
|
-
text-shadow: none;
|
1946
|
-
text-transform: none;
|
1947
|
-
letter-spacing: normal;
|
1948
|
-
word-wrap: break-word;
|
1949
|
-
white-space: pre;
|
1950
|
-
pointer-events: none;
|
1951
|
-
content: attr(aria-label);
|
1952
|
-
background: ${It("colors.neutral.emphasisPlus")};
|
1953
|
-
border-radius: ${It("radii.1")};
|
1954
|
-
opacity: 0;
|
1955
|
-
}
|
1956
|
-
|
1957
|
-
// delay animation for tooltip
|
1958
|
-
@keyframes tooltip-appear {
|
1959
|
-
from {
|
1960
|
-
opacity: 0;
|
1961
|
-
}
|
1962
|
-
|
1963
|
-
to {
|
1964
|
-
opacity: 1;
|
1965
|
-
}
|
1966
|
-
}
|
1967
|
-
|
1968
|
-
&:hover,
|
1969
|
-
&:active,
|
1970
|
-
&:focus {
|
1971
|
-
&::before,
|
1972
|
-
&::after {
|
1973
|
-
display: inline-block;
|
1974
|
-
text-decoration: none;
|
1975
|
-
animation-name: tooltip-appear;
|
1976
|
-
animation-duration: 0.1s;
|
1977
|
-
animation-fill-mode: forwards;
|
1978
|
-
animation-timing-function: ease-in;
|
1979
|
-
animation-delay: 0.4s;
|
1980
|
-
}
|
1981
|
-
}
|
1982
|
-
|
1983
|
-
&.tooltipped-no-delay:hover,
|
1984
|
-
&.tooltipped-no-delay:active,
|
1985
|
-
&.tooltipped-no-delay:focus {
|
1986
|
-
&::before,
|
1987
|
-
&::after {
|
1988
|
-
animation-delay: 0s;
|
1989
|
-
}
|
1990
|
-
}
|
1991
|
-
|
1992
|
-
&.tooltipped-multiline:hover,
|
1993
|
-
&.tooltipped-multiline:active,
|
1994
|
-
&.tooltipped-multiline:focus {
|
1995
|
-
&::after {
|
1996
|
-
display: table-cell;
|
1997
|
-
}
|
1998
|
-
}
|
1999
|
-
|
2000
|
-
// Tooltipped south
|
2001
|
-
&.tooltipped-s,
|
2002
|
-
&.tooltipped-se,
|
2003
|
-
&.tooltipped-sw {
|
2004
|
-
&::after {
|
2005
|
-
top: 100%;
|
2006
|
-
right: 50%;
|
2007
|
-
margin-top: 6px;
|
2008
|
-
}
|
2009
|
-
|
2010
|
-
&::before {
|
2011
|
-
top: auto;
|
2012
|
-
right: 50%;
|
2013
|
-
bottom: -7px;
|
2014
|
-
margin-right: -6px;
|
2015
|
-
border-bottom-color: ${It("colors.neutral.emphasisPlus")};
|
2016
|
-
}
|
2017
|
-
}
|
2018
|
-
|
2019
|
-
&.tooltipped-se {
|
2020
|
-
&::after {
|
2021
|
-
right: auto;
|
2022
|
-
left: 50%;
|
2023
|
-
margin-left: -${It("space.3")};
|
2024
|
-
}
|
2025
|
-
}
|
2026
|
-
|
2027
|
-
&.tooltipped-sw::after {
|
2028
|
-
margin-right: -${It("space.3")};
|
2029
|
-
}
|
2030
|
-
|
2031
|
-
// Tooltips above the object
|
2032
|
-
&.tooltipped-n,
|
2033
|
-
&.tooltipped-ne,
|
2034
|
-
&.tooltipped-nw {
|
2035
|
-
&::after {
|
2036
|
-
right: 50%;
|
2037
|
-
bottom: 100%;
|
2038
|
-
margin-bottom: 6px;
|
2039
|
-
}
|
2040
|
-
|
2041
|
-
&::before {
|
2042
|
-
top: -7px;
|
2043
|
-
right: 50%;
|
2044
|
-
bottom: auto;
|
2045
|
-
margin-right: -6px;
|
2046
|
-
border-top-color: ${It("colors.neutral.emphasisPlus")};
|
2047
|
-
}
|
2048
|
-
}
|
2049
|
-
|
2050
|
-
&.tooltipped-ne {
|
2051
|
-
&::after {
|
2052
|
-
right: auto;
|
2053
|
-
left: 50%;
|
2054
|
-
margin-left: -${It("space.3")};
|
2055
|
-
}
|
2056
|
-
}
|
2057
|
-
|
2058
|
-
&.tooltipped-nw::after {
|
2059
|
-
margin-right: -${It("space.3")};
|
2060
|
-
}
|
2061
|
-
|
2062
|
-
// Move the tooltip body to the center of the object.
|
2063
|
-
&.tooltipped-s::after,
|
2064
|
-
&.tooltipped-n::after {
|
2065
|
-
transform: translateX(50%);
|
2066
|
-
}
|
2067
|
-
|
2068
|
-
// Tooltipped to the left
|
2069
|
-
&.tooltipped-w {
|
2070
|
-
&::after {
|
2071
|
-
right: 100%;
|
2072
|
-
bottom: 50%;
|
2073
|
-
margin-right: 6px;
|
2074
|
-
transform: translateY(50%);
|
2075
|
-
}
|
2076
|
-
|
2077
|
-
&::before {
|
2078
|
-
top: 50%;
|
2079
|
-
bottom: 50%;
|
2080
|
-
left: -7px;
|
2081
|
-
margin-top: -6px;
|
2082
|
-
border-left-color: ${It("colors.neutral.emphasisPlus")};
|
2083
|
-
}
|
2084
|
-
}
|
2085
|
-
|
2086
|
-
// tooltipped to the right
|
2087
|
-
&.tooltipped-e {
|
2088
|
-
&::after {
|
2089
|
-
bottom: 50%;
|
2090
|
-
left: 100%;
|
2091
|
-
margin-left: 6px;
|
2092
|
-
transform: translateY(50%);
|
2093
|
-
}
|
2094
|
-
|
2095
|
-
&::before {
|
2096
|
-
top: 50%;
|
2097
|
-
right: -7px;
|
2098
|
-
bottom: 50%;
|
2099
|
-
margin-top: -6px;
|
2100
|
-
border-right-color: ${It("colors.neutral.emphasisPlus")};
|
2101
|
-
}
|
2102
|
-
}
|
2103
|
-
|
2104
|
-
&.tooltipped-multiline {
|
2105
|
-
&::after {
|
2106
|
-
width: max-content;
|
2107
|
-
max-width: 250px;
|
2108
|
-
word-wrap: break-word;
|
2109
|
-
white-space: pre-line;
|
2110
|
-
border-collapse: separate;
|
2111
|
-
}
|
2112
|
-
|
2113
|
-
&.tooltipped-s::after,
|
2114
|
-
&.tooltipped-n::after {
|
2115
|
-
right: auto;
|
2116
|
-
left: 50%;
|
2117
|
-
transform: translateX(-50%);
|
2118
|
-
}
|
2119
|
-
|
2120
|
-
&.tooltipped-w::after,
|
2121
|
-
&.tooltipped-e::after {
|
2122
|
-
right: 100%;
|
2123
|
-
}
|
2124
|
-
}
|
2125
|
-
|
2126
|
-
&.tooltipped-align-right-2::after {
|
2127
|
-
right: 0;
|
2128
|
-
margin-right: 0;
|
2129
|
-
}
|
2130
|
-
|
2131
|
-
&.tooltipped-align-right-2::before {
|
2132
|
-
right: 15px;
|
2133
|
-
}
|
2134
|
-
|
2135
|
-
&.tooltipped-align-left-2::after {
|
2136
|
-
left: 0;
|
2137
|
-
margin-left: 0;
|
2138
|
-
}
|
2139
|
-
|
2140
|
-
&.tooltipped-align-left-2::before {
|
2141
|
-
left: 10px;
|
2142
|
-
}
|
2143
|
-
|
2144
|
-
${Zt};
|
2145
|
-
`;function cs({direction:t="n",children:r,className:o,text:a,noDelay:n,align:i,wrap:l,...d}){const s=Ya(o,`tooltipped-${t}`,i&&`tooltipped-align-${i}-2`,n&&"tooltipped-no-delay",l&&"tooltipped-multiline");return e.createElement(ss,Rt({role:"tooltip","aria-label":a},d,{className:s}),r)}cs.displayName="Tooltip",cs.alignments=["left","right"],cs.directions=["n","ne","e","se","s","sw","w","nw"];const gs=g.nav`
|
2146
|
-
display: flex;
|
2147
|
-
justify-content: space-between;
|
2148
|
-
border-bottom: 1px solid ${It("colors.border.muted")};
|
2149
|
-
&.UnderlineNav--right {
|
2150
|
-
justify-content: flex-end;
|
2151
|
-
|
2152
|
-
.UnderlineNav-item {
|
2153
|
-
margin-right: 0;
|
2154
|
-
margin-left: ${It("space.3")};
|
2155
|
-
}
|
2156
|
-
|
2157
|
-
.UnderlineNav-actions {
|
2158
|
-
flex: 1 1 auto;
|
2159
|
-
}
|
2160
|
-
}
|
2161
|
-
&.UnderlineNav--full {
|
2162
|
-
display: block;
|
2163
|
-
}
|
2164
|
-
|
2165
|
-
.UnderlineNav-body {
|
2166
|
-
display: flex;
|
2167
|
-
margin-bottom: -1px;
|
2168
|
-
}
|
2169
|
-
|
2170
|
-
.UnderlineNav-actions {
|
2171
|
-
align-self: center;
|
2172
|
-
}
|
2173
|
-
|
2174
|
-
${Zt};
|
2175
|
-
`;function fs({actions:t,className:r,align:o,children:a,full:n,label:i,theme:l,...d}){const s=Ya(r,"UnderlineNav",o&&`UnderlineNav--${o}`,n&&"UnderlineNav--full");return e.createElement(gs,Rt({className:s,"aria-label":i,theme:l},d),e.createElement("div",{className:"UnderlineNav-body"},a),t&&e.createElement("div",{className:"UnderlineNav-actions"},t))}fs.displayName="UnderlineNav";const us=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("UnderlineNav-item",e.selected&&"selected",e.className)})))`
|
2176
|
-
padding: ${It("space.3")} ${It("space.2")};
|
2177
|
-
margin-right: ${It("space.3")};
|
2178
|
-
font-size: ${It("fontSizes.1")};
|
2179
|
-
line-height: ${It("lineHeights.default")};
|
2180
|
-
color: ${It("colors.fg.default")};
|
2181
|
-
text-align: center;
|
2182
|
-
border-bottom: 2px solid transparent;
|
2183
|
-
text-decoration: none;
|
2184
|
-
|
2185
|
-
&:hover,
|
2186
|
-
&:focus {
|
2187
|
-
color: ${It("colors.fg.default")};
|
2188
|
-
text-decoration: none;
|
2189
|
-
border-bottom-color: ${It("colors.neutral.muted")};
|
2190
|
-
transition: 0.2s ease;
|
2191
|
-
|
2192
|
-
.UnderlineNav-octicon {
|
2193
|
-
color: ${It("colors.fg.muted")};
|
2194
|
-
}
|
2195
|
-
}
|
2196
|
-
|
2197
|
-
&.selected {
|
2198
|
-
color: ${It("colors.fg.default")};
|
2199
|
-
border-bottom-color: ${It("colors.primer.border.active")};
|
2200
|
-
|
2201
|
-
.UnderlineNav-octicon {
|
2202
|
-
color: ${It("colors.fg.default")};
|
2203
|
-
}
|
2204
|
-
}
|
2205
|
-
|
2206
|
-
${Zt};
|
2207
|
-
`;us.displayName="UnderlineNav.Link";var ps=Object.assign(fs,{Link:us});const bs=g.input`
|
2208
|
-
cursor: pointer;
|
2209
|
-
|
2210
|
-
${e=>e.disabled&&"cursor: not-allowed;"}
|
2211
|
-
|
2212
|
-
${Zt}
|
2213
|
-
`,hs=e.forwardRef((({checked:t,indeterminate:r,disabled:o,sx:a,required:n,validationStatus:i,...d},s)=>{const c=Tr(s);return l((()=>{c.current&&(c.current.indeterminate=r||!1)}),[r,t,c]),e.createElement(bs,Rt({type:"checkbox",disabled:o,"aria-disabled":o?"true":"false",ref:s||c,checked:!r&&t,"aria-checked":r?"mixed":t?"true":"false",sx:a,required:n,"aria-required":n?"true":"false","aria-invalid":"error"===i?"true":"false"},d))}));hs.displayName="Checkbox";var ms=hs;export{dr as Absolute,Da as ActionList,Va as ActionMenu,gn as Autocomplete,un as Avatar,hn as AvatarPair,xn as AvatarStack,ds as AvatarToken,Dt as BaseStyles,tr as BorderBox,Qt as Box,yn as BranchName,Sn as Breadcrumb,Tn as Breadcrumbs,jr as Button,fo as ButtonClose,Ur as ButtonDanger,Vr as ButtonGroup,Xr as ButtonInvisible,Gr as ButtonOutline,qr as ButtonPrimary,Yr as ButtonTableList,Hn as Caret,ms as Checkbox,Un as CircleBadge,Kn as CircleOcticon,fa as ConfirmationDialog,An as CounterLabel,Gn as Details,oi as Dialog,gi as Dropdown,fi as DropdownButton,ui as DropdownMenu,xi as FilterList,pi as FilteredSearch,sr as Fixed,Bi as Flash,or as Flex,Ti as FormGroup,nr as Grid,zi as Header,Ii as Heading,ns as IssueLabelToken,Fi as Label,Ai as LabelGroup,Mi as Link,Rn as NewButton,Wa as Overlay,Oi as Pagehead,_i as Pagination,Ki as PointerBox,qi as Popover,lr as Position,Zi as ProgressBar,cr as Relative,Po as SSRProvider,ql as SelectMenu,ed as SideNav,$l as Spinner,nd as StateLabel,gr as Sticky,Ao as StyledOcticon,cd as SubNav,bd as TabNav,Yn as Text,tn as TextInput,Dd as TextInputWithTokens,Jt as ThemeProvider,_d as Timeline,Nd as Token,cs as Tooltip,xa as Truncate,ps as UnderlineNav,x as theme,It as themeGet,Xt as useColorSchemeVar,ua as useConfirm,fr as useDetails,$r as useOnEscapePress,mr as useOnOutsideClick,wr as useOpenAndCloseFocus,Sr as useOverlay,Wo as useSSRSafeId,ur as useSafeTimeout,qt as useTheme};
|
6
|
+
*/Ka=Xa,function(){var e={}.hasOwnProperty;function t(){for(var r=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var n=typeof a;if("string"===n||"number"===n)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var l in a)e.call(a,l)&&a[l]&&r.push(l);else r.push(a.toString())}}return r.join(" ")}Ka.exports?(t.default=t,Ka.exports=t):window.classNames=t}();var Ya=Xa.exports;var Ja=g.input.withConfig({displayName:"_UnstyledTextInput__UnstyledTextInput",componentId:"sc-1jgl33s-0"})(["border:0;font-size:inherit;font-family:inherit;background-color:transparent;-webkit-appearance:none;color:inherit;width:100%;&:focus{outline:0;}",";"],Zt);const Za=pe({variants:{small:{minHeight:"28px",px:2,py:"3px",fontSize:0,lineHeight:"20px"},large:{px:2,py:"10px",fontSize:3}}});var Qa=g.span.withConfig({displayName:"_TextInputWrapper__TextInputWrapper",componentId:"sc-5vfcis-0"})(["display:inline-flex;align-items:stretch;min-height:34px;font-size:",";line-height:20px;color:",";vertical-align:middle;background-repeat:no-repeat;background-position:right 8px center;border:1px solid ",";border-radius:",";outline:none;box-shadow:",";cursor:text;"," .TextInput-icon{align-self:center;color:",";margin:0 ",";flex-shrink:0;}&:focus-within{border-color:",";box-shadow:",";}"," "," "," "," @media (min-width:","){font-size:",";}"," "," "," "," ",";"],zt("fontSizes.1"),zt("colors.fg.default"),zt("colors.border.default"),zt("radii.2"),zt("shadows.primer.shadow.inset"),(e=>e.hasIcon?u(["padding:0;"]):u(["padding:6px 12px;"])),zt("colors.fg.muted"),zt("space.2"),zt("colors.accent.emphasis"),zt("shadows.primer.shadow.focus"),(e=>e.contrast&&u(["background-color:",";"],zt("colors.canvas.inset"))),(e=>e.disabled&&u(["color:",";background-color:",";border-color:",";"],zt("colors.primer.fg.disabled"),zt("colors.input.disabledBg"),zt("colors.border.default"))),(e=>e.block&&u(["display:block;width:100%;"])),(e=>e.block&&e.hasIcon&&u(["display:flex;"])),zt("breakpoints.1"),zt("fontSizes.1"),he,xe,we,Za,Zt);const en=e.forwardRef((({icon:t,block:r,className:o,contrast:a,disabled:n,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g,...f},p)=>{const u=Ya(o,"TextInput-wrapper");return e.createElement(Qa,{block:r,className:u,contrast:a,disabled:n,hasIcon:!!t,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g},t&&e.createElement(t,{className:"TextInput-icon"}),e.createElement(Ja,Lt({ref:p,disabled:n},f)))}));en.defaultProps={type:"text"},en.displayName="TextInput";var tn=en;const rn=e.forwardRef((({as:r=tn,onFocus:n,onBlur:i,onChange:l,onKeyDown:s,onKeyUp:c,onKeyPress:g,value:f,...p},u)=>{const b=d(Va);if(null===b)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:m,autocompleteSuggestion:h="",id:v,inputRef:x,inputValue:y="",isMenuDirectlyActivated:w,setInputValue:B,setShowMenu:k,showMenu:T}=b,S=Fo(x,u),[C,E]=t(!0),I=o((e=>{n&&n(e),k(!0)}),[n,k]),N=o((e=>{i&&i(e),setTimeout((()=>{document.activeElement!==S.current&&k(!1)}),0)}),[i,k,S]),z=o((e=>{l&&l(e),B(e.currentTarget.value),T||k(!0)}),[l,B,k,T]),_=o((e=>{var t;s&&s(e),"Backspace"===e.key&&E(!1),"Escape"===e.key&&null!==(t=x.current)&&void 0!==t&&t.value&&(B(""),x.current.value="")}),[x,B,E,s]),A=o((e=>{c&&c(e),"Backspace"===e.key&&E(!0)}),[E,c]),L=o((e=>{if(g&&g(e),T&&"Enter"===e.key&&m.current){e.preventDefault(),e.nativeEvent.stopImmediatePropagation();const t=new KeyboardEvent(e.type,e.nativeEvent);m.current.dispatchEvent(t)}}),[m,T,g]);return a((()=>{x.current&&(h||(x.current.value=y),C&&h&&(y||w)&&(x.current.value=h,0===h.toLowerCase().indexOf(y.toLowerCase())&&x.current.setSelectionRange(y.length,h.length)))}),[h,y,x,w]),a((()=>{f&&B(f.toString())}),[f,B]),e.createElement(r,Lt({onFocus:I,onBlur:N,onChange:z,onKeyDown:_,onKeyPress:L,onKeyUp:A,ref:S,"aria-controls":`${v}-listbox`,"aria-autocomplete":"both",role:"combobox","aria-expanded":T,"aria-haspopup":"listbox","aria-owns":`${v}-listbox`,autocomplete:"off"},p))}));rn.displayName="AutocompleteInput";var on=rn;const an=(e,t,r="vertical",o=8,a=0,n="smooth")=>{const i="vertical"===r?"top":"left",l="vertical"===r?"bottom":"right",d="vertical"===r?"scrollTop":"scrollLeft",{[i]:s,[l]:c}=e.getBoundingClientRect(),{[i]:g,[l]:f}=t.getBoundingClientRect(),p=c>f-o;if(s<g+a){const e=s-g+t[d];t.scrollTo({behavior:n,[i]:e-a})}else if(p){const e=c-f+t[d];t.scrollTo({behavior:n,[i]:e+o})}};function nn(o){const i=d(Va);if(null===i)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:l,id:s,inputRef:c,inputValue:g="",scrollContainerRef:f,setAutocompleteSuggestion:p,setShowMenu:u,setInputValue:b,setIsMenuDirectlyActivated:m,setSelectedItemLength:h,showMenu:v}=i,{items:x,selectedItemIds:y,sortOnCloseFn:w,emptyStateText:B,addNewItem:k,loading:T,selectionVariant:S,filterFn:C,"aria-labelledby":E,onOpenChange:I,onSelectedChange:N,customScrollContainerRef:z}=o,_=r(null),[A,L]=t(),[R,D]=t(x.map((({id:e})=>e))),F=n((()=>x.map((e=>({...e,role:"option",id:e.id,selected:"multiple"===S?y.includes(e.id):void 0,onAction:e=>{const t=y.filter((t=>t!==e.id)),r=y.includes(e.id)?t:[...t,e.id];var o,a;((N||(o=b,function(e){const{text:t=""}=Array.isArray(e)?e.slice(-1)[0]:e;o(t)}))(r.map((e=>function(e,t){return t.find((t=>t.id===e))}(e,x)))),"multiple"===S)?(b(""),p("")):(u(!1),null===(a=c.current)||void 0===a||a.setSelectionRange(c.current.value.length,c.current.value.length))}})))),[x,y,c,N,S,p,b,u]),M=n((()=>R.reduce(((e,t,r)=>(e[t]=r,e)),{})),[R]),P=n((()=>{return F.filter(C||(e=g,function(t,r){var o;return Boolean(null===(o=t.text)||void 0===o?void 0:o.toLowerCase().startsWith(e.toLowerCase()))})).sort(((e,t)=>M[e.id]-M[t.id]));var e}),[F,M,C,g]),H=n((()=>[...P,...k?[{...k,leadingVisual:()=>e.createElement(io,null),onAction:e=>{k.handleAddItem({...e,id:e.id||Rr(),leadingVisual:void 0}),"multiple"===S&&(b(""),p(""))}}]:[]]),[P,k,p,S,b]);return Ao({containerRef:_,focusOutBehavior:"wrap",focusableElementFilter:e=>!(e instanceof HTMLInputElement),activeDescendantFocus:c,onActiveDescendantChanged:(e,t,r)=>{if(l.current=e||null,e){const t=F.find((t=>t.id.toString()===e.getAttribute("data-id")));L(t),m(r)}e&&z&&z.current&&r?an(e,z.current):e&&f.current&&r&&an(e,f.current)}},[T]),a((()=>{var e;null!=A&&null!==(e=A.text)&&void 0!==e&&e.startsWith(g)&&!y.includes(A.id)?p(A.text):p("")}),[A,g,y,p]),a((()=>{const e=[...R].sort(w||(t=e=>((e,t)=>t.includes(e))(e,y),(e,r)=>t(e)===t(r)?0:t(e)?-1:1));var t;const r=e.length===R.length&&e.every(((e,t)=>e===R[t]));!1!==v||r||D(e),I&&I(Boolean(v))}),[v,I,y,w,R]),a((()=>{y.length&&h(y.length)}),[y,h]),e.createElement(Qt,{sx:v?{}:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},T?e.createElement(Qt,{p:3,display:"flex",justifyContent:"center"},e.createElement(Tl,null)):e.createElement("div",{ref:_},H.length?e.createElement(Fa,{selectionVariant:"multiple",items:H,role:"listbox",id:`${s}-listbox`,"aria-labelledby":E}):e.createElement(Qt,{p:3},B)))}function ln({menuAnchorRef:t,overlayProps:r,children:a}){const n=d(Va);if(null===n)throw new Error("AutocompleteContext returned null values");const{inputRef:i,scrollContainerRef:l,selectedItemLength:s,setShowMenu:c,showMenu:g=!1}=n,{floatingElementRef:f,position:p}=ko({side:"outside-bottom",align:"start",anchorElementRef:t||i},[g,s]),u=Fo(l,f),b=o((()=>{c(!1)}),[c]);return"undefined"==typeof window?null:e.createElement(ja,Lt({returnFocusRef:i,preventFocusOnOpen:!0,onClickOutside:b,onEscape:b,ref:u,top:null==p?void 0:p.top,left:null==p?void 0:p.left,visibility:g?"visible":"hidden",sx:{overflow:"auto"}},r),a)}nn.displayName="AutocompleteMenu",nn.defaultProps={emptyStateText:"No selectable options",selectionVariant:"single"},nn.displayName="AutocompleteMenu",ln.displayName="AutocompleteOverlay",ln.displayName="AutocompleteOverlay";const dn={inputValue:"",showMenu:!1,isMenuDirectlyActivated:!1,autocompleteSuggestion:"",selectedItemLength:0},sn=(e,t)=>{const{type:r,payload:o}=t;switch(r){case"inputValue":return{...e,inputValue:o};case"showMenu":return{...e,showMenu:o};case"isMenuDirectlyActivated":return{...e,isMenuDirectlyActivated:o};case"autocompleteSuggestion":return{...e,autocompleteSuggestion:o};case"selectedItemLength":return{...e,selectedItemLength:o};default:return e}},cn=({children:t,id:a})=>{const n=r(null),i=r(null),l=r(null),[d,s]=c(sn,dn),{inputValue:g,showMenu:f,autocompleteSuggestion:p,isMenuDirectlyActivated:u,selectedItemLength:b}=d,m=o((e=>{s({type:"inputValue",payload:e})}),[]),h=o((e=>{s({type:"showMenu",payload:e})}),[]),v=o((e=>{s({type:"autocompleteSuggestion",payload:e})}),[]),x=o((e=>{s({type:"isMenuDirectlyActivated",payload:e})}),[]),y=o((e=>{s({type:"selectedItemLength",payload:e})}),[]),w=jo(a);return e.createElement(Va.Provider,{value:{activeDescendantRef:n,autocompleteSuggestion:p,id:w,inputRef:l,inputValue:g,isMenuDirectlyActivated:u,scrollContainerRef:i,selectedItemLength:b,setAutocompleteSuggestion:v,setInputValue:m,setIsMenuDirectlyActivated:x,setShowMenu:h,setSelectedItemLength:y,showMenu:f}},t)};cn.displayName="Autocomplete";var gn=Object.assign(cn,{Input:on,Menu:nn,Overlay:ln});const fn=g.img.attrs((e=>({height:e.size,width:e.size}))).withConfig({displayName:"Avatar",componentId:"sc-1waaaky-0"})(["display:inline-block;overflow:hidden;line-height:",";vertical-align:middle;border-radius:",";",""],zt("lineHeights.condensedUltra"),(e=>function({size:e,square:t}){return t?e&&e<=24?"4px":"6px":"50%"}(e)),Zt);fn.defaultProps={size:20,alt:"",square:!1};var pn=fn;const un=g(pn).withConfig({displayName:"AvatarPair__ChildAvatar",componentId:"sc-1jbk273-0"})(["position:absolute;right:-15%;bottom:-9%;box-shadow:",";"],zt("shadows.avatar.childShadow")),bn=({children:t,...r})=>{const o=e.Children.map(t,((t,r)=>e.isValidElement(t)?0===r?e.cloneElement(t,{size:40}):e.createElement(un,Lt({bg:"canvas.default"},t.props,{size:20})):t));return e.createElement(Qt,Lt({position:"relative",display:"inline-flex"},r),o)};bn.displayName="AvatarPair",bn.displayName="AvatarPair";var mn=bn;const hn=g.span.withConfig({displayName:"AvatarStack__AvatarStackWrapper",componentId:"sc-1qgzd2v-0"})(["display:flex;position:relative;height:20px;min-width:",";.pc-AvatarItem{flex-shrink:0;height:20px;width:20px;box-shadow:0 0 0 1px ",";margin-left:-11px;position:relative;overflow:hidden;transition:margin 0.2s ease-in-out,opacity 0.2s ease-in-out,visibility 0.2s ease-in-out,box-shadow 0.1s ease-in-out;&:first-child{margin-left:0;}&:nth-child(n + 4){display:none;}}&.pc-AvatarStack--two{min-width:30px;.pc-AvatarItem{&:nth-child(n + 3){display:none;}}}&.pc-AvatarStack--three-plus{min-width:38px;.pc-AvatarItem{&:nth-child(3){opacity:","%;margin-left:-17px;}&:nth-child(4){opacity:","%;margin-left:-17px;}&:nth-child(5){opacity:","%;margin-left:-17px;}&:nth-child(n + 4){display:block;}&:nth-child(n + 6){opacity:0;visibility:hidden;}}}&.pc-AvatarStack--right{justify-content:flex-end;.pc-AvatarItem{margin-left:0 !important;margin-right:-11px;&:first-child{margin-right:0;}}.pc-AvatarStackBody{flex-direction:row-reverse;&:hover{.pc-AvatarItem{margin-right:","!important;margin-left:0 !important;&:first-child{margin-right:0 !important;}}}}}&.pc-AvatarStack--three-plus.pc-AvatarStack--right{.pc-AvatarItem{&:nth-child(3){margin-right:-17px;}&:nth-child(4){margin-right:-17px;}&:nth-child(5){margin-right:-17px;}}}.pc-AvatarStackBody:hover{width:auto;.pc-AvatarItem{margin-left:",";opacity:100%;visibility:visible;box-shadow:0 0 0 4px ",";&:first-child{margin-left:0;}}}",";"],(e=>1===e.count?"20px":2===e.count?"30px":"38px"),zt("colors.canvas.default"),55,40,25,zt("space.1"),zt("space.1"),zt("colors.canvas.default"),Zt),vn=({children:t,alignRight:r,sx:o})=>{const a=e.Children.count(t),n=Ya({"pc-AvatarStack--two":2===a,"pc-AvatarStack--three-plus":a>2,"pc-AvatarStack--right":r});return e.createElement(hn,{count:a,className:n,sx:o},e.createElement(Qt,{position:"absolute",display:"flex",width:"38px",className:"pc-AvatarStackBody"},(t=>e.Children.map(t,((t,r)=>e.isValidElement(t)?e.cloneElement(t,{className:Ya(t.props.className,"pc-AvatarItem"),sx:{zIndex:10-r,...t.props.sx}}):t)))(t)))};vn.displayName="AvatarStack";var xn=vn;var yn=g.a.withConfig({displayName:"BranchName",componentId:"sc-167ouzm-0"})(["display:inline-block;padding:2px 6px;font-size:",";font-family:",";color:",";background-color:",";border-radius:",";",";"],zt("fontSizes.0"),zt("fonts.mono"),zt("colors.fg.muted"),zt("colors.accent.subtle"),zt("radii.2"),Zt);const wn=g.li.withConfig({displayName:"Breadcrumbs__Wrapper",componentId:"sc-hwwoo0-0"})(["display:inline-block;white-space:nowrap;list-style:none;&::after{padding-right:0.5em;padding-left:0.5em;color:",";font-size:",";content:'/';}&:first-child{margin-left:0;}&:last-child{&::after{content:none;}}"],zt("colors.fg.muted"),zt("fontSizes.1")),Bn=g.nav.withConfig({displayName:"Breadcrumbs__BreadcrumbsBase",componentId:"sc-hwwoo0-1"})(["display:flex;justify-content:space-between;",";"],Zt);function kn({className:t,children:r,sx:o}){const a=e.Children.map(r,(t=>e.createElement(wn,null,t)));return e.createElement(Bn,{className:t,"aria-label":"Breadcrumbs",sx:o},e.createElement(Qt,{as:"ol",my:0,pl:0},a))}kn.displayName="Breadcrumbs";const Tn=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya(e.selected&&"selected",e.className),"aria-current":e.selected?"page":null}))).withConfig({displayName:"Breadcrumbs__BreadcrumbsItem",componentId:"sc-hwwoo0-2"})(["color:",";display:inline-block;font-size:",";text-decoration:none;&:hover{text-decoration:underline;}&.selected{color:",";pointer-events:none;}",";"],zt("colors.accent.fg"),zt("fontSizes.1"),zt("colors.fg.default"),Zt);kn.displayName="Breadcrumbs",Tn.displayName="Breadcrumbs.Item";var Sn=Object.assign(kn,{Item:Tn});const Cn=Object.assign(kn,{Item:Tn}),En=(e="default",t)=>({default:{color:"btn.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}, ${null==t?void 0:t.shadows.btn.insetShadow}`,"&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.shadowActive}`},"&:disabled":{color:"primer.fg.disabled",backgroundColor:"btn.disabledBg"}},primary:{color:"btn.primary.text",backgroundColor:"btn.primary.bg",borderColor:"border.subtle",boxShadow:`${null==t?void 0:t.shadows.btn.primary.shadow}`,"&:hover:not([disabled])":{color:"btn.primary.hoverText",backgroundColor:"btn.primary.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.primary.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.primary.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.primary.selectedShadow}`},"&:disabled":{color:"btn.primary.disabledText",backgroundColor:"btn.primary.disabledBg"},'[data-component="ButtonCounter"]':{backgroundColor:"btn.primary.counterBg",color:"btn.primary.text"}},danger:{color:"btn.danger.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover:not([disabled])":{color:"btn.danger.hoverText",backgroundColor:"btn.danger.hoverBg",borderColor:"btn.danger.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.hoverCounterBg",color:"btn.danger.hoverText"}},"&:focus:not([disabled])":{borderColor:"btn.danger.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.focusShadow}`},"&:active:not([disabled])":{color:"btn.danger.selectedText",backgroundColor:"btn.danger.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.danger.selectedShadow}`,borderColor:"btn.danger.selectedBorder"},"&:disabled":{color:"btn.danger.disabledText",backgroundColor:"btn.danger.disabledBg",borderColor:"btn.danger.disabledBorder",'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.disabledCounterBg"}},'[data-component="ButtonCounter"]':{color:"btn.danger.text",backgroundColor:"btn.danger.counterBg"}},invisible:{color:"accent.fg",backgroundColor:"transparent",border:"0",boxShadow:"none","&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg"},"&:disabled":{color:"primer.fg.disabled"}},outline:{color:"btn.outline.text",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover":{color:"btn.outline.hoverText",backgroundColor:"btn.outline.hoverBg",borderColor:"outline.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.hoverCounterBg",color:"btn.outline.hoverText"}},"&:focus":{borderColor:"btn.outline.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.focusShadow}`},"&:active:not([disabled])":{color:"btn.outline.selectedText",backgroundColor:"btn.outline.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.outline.selectedShadow}`,borderColor:"btn.outline.selectedBorder"},"&:disabled":{color:"btn.outline.disabledText",backgroundColor:"btn.outline.disabledBg",borderColor:"btn.border",'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.disabledCounterBg"}},'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.counterBg",color:"btn.outline.text"}}}[e]),In=(e="medium",t="default",r)=>{let o,a,n;switch(e){case"small":o=3,a=12,n=0;break;case"large":o=9,a=20,n=2;break;case"medium":default:o=5,a=16,n=1}return r&&(a=o+2),"invisible"===t&&(o+=1),{paddingY:`${o}px`,paddingX:`${a}px`,fontSize:n,'[data-component="ButtonCounter"]':{fontSize:n}}},Nn=g.button.withConfig({displayName:"button__ButtonBase",componentId:"sc-15k5iqk-0"})(Zt),zn=i((({children:t,sx:r={},...o},a)=>{const{icon:n,leadingIcon:i,trailingIcon:l,variant:d="default",size:s="medium"}=o,c=!!n,{theme:g}=Kt(),f={borderRadius:"2",border:"1px solid",borderColor:null==g?void 0:g.colors.btn.border,display:"grid",gridTemplateAreas:'"leadingIcon text trailingIcon"',fontWeight:"bold",lineHeight:"20px",whiteSpace:"nowrap",verticalAlign:"middle",cursor:"pointer",appearance:"none",userSelect:"none",textDecoration:"none",textAlign:"center","& > :not(:last-child)":{mr:"2"},"&:focus":{outline:"none"},"&:disabled":{cursor:"default"},"&:disabled svg":{opacity:"0.6"},'[data-component="leadingIcon"]':{gridArea:"leadingIcon"},'[data-component="text"]':{gridArea:"text"},'[data-component="trailingIcon"]':{gridArea:"trailingIcon"}},p={display:"inline-block"},u=qt.all([f,In(s,d,c),En(d,g),r]);return e.createElement(Nn,Lt({sx:u,ref:a},o),i&&e.createElement(Qt,{as:"span","data-component":"leadingIcon",sx:p,"aria-hidden":!c},e.createElement(i,null)),e.createElement("span",{"data-component":"text",hidden:!!n},t),n&&e.createElement(Qt,{"data-component":"icon-only",as:"span",sx:{display:"inline-block"},"aria-hidden":!c},e.createElement(n,null)),l&&e.createElement(Qt,{as:"span","data-component":"trailingIcon",sx:{...p,ml:2},"aria-hidden":!c},e.createElement(l,null)))}));zn.displayName="Button",Object.assign(zn,{});var _n=g.span.withConfig({displayName:"CounterLabel",componentId:"sc-1ubx52d-0"})(["display:inline-block;padding:2px 5px;font-size:",";font-weight:",";line-height:",";border-radius:20px;",";",";&:empty{display:none;}",";"],zt("fontSizes.0"),zt("fontWeights.bold"),zt("lineHeights.condensedUltra"),(({scheme:e,...t})=>({color:"secondary"===e?zt("colors.fg.default")(t):"primary"===e?zt("colors.fg.onEmphasis")(t):zt("colors.fg.default")(t)})),(({scheme:e,...t})=>({backgroundColor:"secondary"===e?zt("colors.neutral.muted")(t):"primary"===e?zt("colors.neutral.emphasis")(t):zt("colors.neutral.muted")(t)})),Zt);const An=({children:t,sx:r={},...o})=>e.createElement(_n,Lt({"data-component":"ButtonCounter",sx:{ml:2,...r}},o),t);An.displayName="Counter";const Ln=Object.assign(zn,{Counter:An}),Rn={top:"Bottom",right:"Left",bottom:"Top",left:"Right"},Dn={top:"Left",right:"Top",bottom:"Left",left:"Top"};function Fn(e,t,r){const o=Rn[e].toLowerCase(),a=Dn[e].toLowerCase();return{[o]:"100%",[t||a]:t?r:"50%"}}const Mn=St({prop:"bg",key:"colors"}),Pn=St({prop:"borderColor",key:"colors"}),Hn=St({prop:"borderWidth",key:"borderWidths",scale:[0,1]});function On(t){var r;const o=e.useContext(b),a={...t,theme:null!==(r=t.theme)&&void 0!==r?r:o},{bg:n}=Mn(a),{borderColor:i}=Pn(a),{borderWidth:l}=Hn(a),{size:d=8,location:s="bottom"}=t,[c,g]=function(e){const[t,r]=e.split("-");return[t,r]}(s),f=Dn[c],p=[-d,0],u=[0,d],m=[d,0],h=`M${p}L${u}L${m}L${p}Z`,v=`M${p}L${u}L${m}`,x={top:`translate(${[d,2*d]}) rotate(180)`,right:`translate(${[0,d]}) rotate(-90)`,bottom:`translate(${[d,0]})`,left:`translate(${[2*d,d]}) rotate(90)`}[c];return e.createElement("svg",{width:2*d,height:2*d,style:{pointerEvents:"none",position:"absolute",...Fn(c,g,d),[`margin${f}`]:g?null:-d}},e.createElement("g",{transform:x},e.createElement("path",{d:h,fill:n}),e.createElement("path",{d:v,fill:"none",stroke:i,strokeWidth:l})))}On.displayName="Caret",On.locations=["top","top-left","top-right","right","right-top","right-bottom","bottom","bottom-left","bottom-right","left","left-top","left-bottom"],On.defaultProps={bg:"canvas.default",borderColor:"border.default",borderWidth:1};const jn={small:56,medium:96,large:128},Wn=g.div.withConfig({displayName:"CircleBadge",componentId:"sc-1lho816-0"})(["display:",";align-items:center;justify-content:center;background-color:",";border-radius:50%;box-shadow:",";",";",";"],(e=>e.inline?"inline-flex":"flex"),zt("colors.canvas.default"),zt("shadows.shadow.medium"),(({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:jn[t];return{width:r,height:r}}),Zt),$n=g(_o).withConfig({displayName:"CircleBadge__CircleBadgeIcon",componentId:"sc-1lho816-1"})(["height:auto;max-width:60%;max-height:55%;"]);Wn.defaultProps={inline:!1},$n.displayName="CircleBadge.Icon";var Un=Object.assign(Wn,{Icon:$n});function qn(t){const{size:r,as:o}=t,{icon:a,bg:n,...i}=t;return e.createElement(Qt,{as:o,bg:n,overflow:"hidden",borderWidth:0,size:r,borderRadius:"50%",borderStyle:"solid",borderColor:"border.default"},e.createElement(Qt,Lt({display:"flex"},i,{alignItems:"center",justifyContent:"center"}),e.createElement(a,{size:r})))}qn.displayName="CircleOcticon",qn.defaultProps={...Qt.defaultProps,size:32};const Gn=g.details.withConfig({displayName:"Details",componentId:"sc-ssy9qz-0"})(["& > summary{list-style:none;}& > summary::-webkit-details-marker{display:none;}",";"],Zt);Gn.displayName="Details";var Vn=Gn;const Kn=()=>null;function Xn(e){const t=e;return t.tabIndex>=0&&!t.disabled&&function(e){return!e.hidden&&(!e.type||"hidden"!==e.type)&&(e.offsetWidth>0||e.offsetHeight>0)}(t)}var Yn=g.span.withConfig({displayName:"Text",componentId:"sc-1s3uzov-0"})(["",";",";",";"],At,_t,Zt);const Jn=()=>null,Zn=g.div.withConfig({displayName:"Dialog__DialogBase",componentId:"sc-1vcjhsg-0"})(["box-shadow:",";border-radius:",";position:fixed;top:0;left:50%;transform:translateX(-50%);max-height:80vh;z-index:999;margin:10vh auto;background-color:",";width:",";outline:none;@media screen and (max-width:750px){width:100vw;margin:0;border-radius:0;height:100vh;}",";"],zt("shadows.shadow.large"),zt("radii.2"),zt("colors.canvas.default"),(e=>e.narrow?"320px":e.wide?"640px":"440px"),Zt),Qn=g(Qt).withConfig({displayName:"Dialog__DialogHeaderBase",componentId:"sc-1vcjhsg-1"})(["border-radius:"," "," 0px 0px;border-bottom:1px solid ",";display:flex;@media screen and (max-width:750px){border-radius:0px;}",";"],zt("radii.2"),zt("radii.2"),zt("colors.border.default"),Zt);function ei({theme:t,children:r,backgroundColor:o="gray.1",...a}){return e.Children.toArray(r).every((e=>"string"==typeof e))&&(r=e.createElement(Yn,{theme:t,color:"fg.default",fontSize:1,fontWeight:"bold",fontFamily:"sans-serif"},r)),e.createElement(Qn,Lt({theme:t,p:3,backgroundColor:o},a),r)}ei.displayName="DialogHeader";const ti=g.span.withConfig({displayName:"Dialog__Overlay",componentId:"sc-1vcjhsg-2"})(["&:before{position:fixed;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:' ';background:transparent;z-index:99;background:",";}"],zt("colors.primer.canvas.backdrop")),ri=i((({children:t,onDismiss:n=Jn,isOpen:i,initialFocusRef:l,returnFocusRef:d,...s},c)=>{const g=r(null),f=Fo(c),p=r(null),u=()=>{n(),d&&d.current&&d.current.focus()},{getDialogProps:b}=function({modalRef:e,overlayRef:t,isOpen:r,onDismiss:n=Kn,initialFocusRef:i,closeButtonRef:l}){const d=o((r=>{e.current&&t.current&&!e.current.contains(r.target)&&t.current.contains(r.target)&&n()}),[n,e,t]);a((()=>{if(r)return document.addEventListener("click",d),()=>{document.removeEventListener("click",d)}}),[r,d]),a((()=>{r&&(i&&i.current?i.current.focus():l&&l.current&&l.current.focus())}),[r,i,l]);const s=o(((t,r)=>{if(e.current){const o=Array.from(e.current.querySelectorAll("*")).filter(Xn);if(0===o.length)return;t.preventDefault();const a=document.activeElement;if(!a)return;const n=o.indexOf(a)+r,i=1===r?0:o.length-1;return o[n]||o[i]}}),[e]),c=o((e=>{const t=e.shiftKey?-1:1,r=s(e,t);r&&r.focus()}),[s]),g=o((e=>{switch(e.key){case"Tab":c(e);break;case"Escape":n(),e.stopPropagation()}}),[c,n]);return{getDialogProps:()=>({onKeyDown:g})}}({modalRef:f,onDismiss:u,isOpen:i,initialFocusRef:l,closeButtonRef:p,returnFocusRef:d,overlayRef:g});return i?e.createElement(e.Fragment,null,e.createElement(ti,{ref:g}),e.createElement(Zn,Lt({tabIndex:-1,ref:f,role:"dialog","aria-modal":"true"},s,b()),e.createElement(fo,{ref:p,onClick:u,sx:{position:"absolute",top:"16px",right:"16px"}}),t)):null}));ei.defaultProps={backgroundColor:"canvas.subtle"},ei.propTypes={...Qt.propTypes},ei.displayName="Dialog.Header",ri.displayName="Dialog";var oi=Object.assign(ri,{Header:ei});var ai=(e,t)=>({w:`\n top: 0;\n right: 100%;\n left: auto;\n width: auto;\n margin-top: 0;\n margin-right: 10px;\n\n &::before {\n top: 10px;\n right: -16px;\n left: auto;\n border-color: transparent;\n border-left-color: ${zt("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n right: -14px;\n left: auto;\n border-color: transparent;\n border-left-color: ${zt("colors.border.default")(e)};\n }\n `,e:`\n top: 0;\n left: 100%;\n width: auto;\n margin-top: 0;\n margin-left: 10px;\n\n &::before {\n top: 10px;\n left: -16px;\n border-color: transparent;\n border-right-color: ${zt("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n left: -14px;\n border-color: transparent;\n border-right-color: ${zt("colors.border.default")(e)};\n }\n `,ne:`\n top: auto;\n bottom: 100%;\n left: 0;\n margin-bottom: 3px;\n\n &::before,\n &::after {\n top: auto;\n right: auto;\n }\n\n &::before {\n bottom: -8px;\n left: 9px;\n border-top: 8px solid ${zt("colors.border.default")(e)};\n border-bottom: 0;\n border-left: 8px solid transparent;\n }\n\n &::after {\n bottom: -7px;\n left: 10px;\n border-top: 7px solid ${zt("colors.border.default")(e)};\n border-right: 7px solid transparent;\n border-bottom: 0;\n border-left: 7px solid transparent;\n }\n `,s:"\n right: 50%;\n left: auto;\n transform: translateX(50%);\n\n &::before {\n top: -16px;\n right: 50%;\n transform: translateX(50%);\n }\n\n &::after {\n top: -14px;\n right: 50%;\n transform: translateX(50%);\n }\n ",sw:"\n right: 0;\n left: auto;\n\n &::before {\n top: -16px;\n right: 9px;\n left: auto;\n }\n\n &::after {\n top: -14px;\n right: 10px;\n left: auto;\n }\n ",se:"\n &::before {\n top: -16px;\n left: 9px;\n }\n\n &::after {\n top: -14px;\n left: 10px;\n }\n "}[t]);const ni=g(Vn).withConfig({displayName:"Dropdown__StyledDetails",componentId:"sc-16yoecj-0"})(["position:relative;display:inline-block;"]),ii=({children:t,className:r,...o})=>{const{getDetailsProps:a}=fr({closeOnOutsideClick:!0});return e.createElement(ni,Lt({className:r},a(),o),t)};ii.displayName="Dropdown";const li=({children:t,...r})=>e.createElement($r,Lt({as:"summary","aria-haspopup":"true"},r),t,e.createElement(di,null));li.displayName="DropdownButton";const di=g.div.withConfig({displayName:"Dropdown__DropdownCaret",componentId:"sc-16yoecj-1"})(["border:4px solid transparent;margin-left:12px;border-top-color:currentcolor;border-bottom-width:0;content:'';display:inline-block;height:0;vertical-align:middle;width:0;",";"],Zt),si=g.ul.withConfig({displayName:"Dropdown__DropdownMenu",componentId:"sc-16yoecj-2"})(["background-clip:padding-box;background-color:",";border:1px solid ",";border-radius:",";box-shadow:",";left:0;list-style:none;margin-top:2px;padding:5px 0 5px 0 !important;position:absolute;top:100%;width:160px;z-index:100;&::before{position:absolute;display:inline-block;content:'';}&::after{position:absolute;display:inline-block;content:'';}&::before{border:8px solid transparent;border-bottom-color:",";}&::after{border:7px solid transparent;border-bottom-color:",";}> ul{list-style:none;}",";",";"],zt("colors.canvas.overlay"),zt("colors.border.default"),zt("radii.2"),zt("shadows.shadow.large"),zt("colors.canvas.overlay"),zt("colors.canvas.overlay"),(e=>e.direction?ai(e.theme,e.direction):""),Zt),ci=g.li.withConfig({displayName:"Dropdown__DropdownItem",componentId:"sc-16yoecj-3"})(["display:block;padding:"," 10px "," 15px;overflow:hidden;color:",";text-overflow:ellipsis;white-space:nowrap;a{color:",";text-decoration:none;display:block;overflow:hidden;color:",";text-overflow:ellipsis;white-space:nowrap;}&:focus,a:focus{color:",";text-decoration:none;background-color:",";}&:hover,&:hover a{color:",";text-decoration:none;background-color:",";outline:none;}",";"],zt("space.1"),zt("space.1"),zt("colors.fg.default"),zt("colors.fg.default"),zt("colors.fg.default"),zt("colors.fg.onEmphasis"),zt("colors.accent.emphasis"),zt("colors.fg.onEmphasis"),zt("colors.accent.emphasis"),Zt);si.defaultProps={direction:"sw"},si.displayName="Dropdown.Menu",ci.displayName="Dropdown.Item",li.defaultProps=$r.defaultProps,li.displayName="Dropdown.Button",di.displayName="Dropdown.Caret",ii.defaultProps=Vn.defaultProps;var gi=Object.assign(ii,{Caret:di,Menu:si,Item:ci,Button:li});const fi=e.forwardRef((({children:t,...r},o)=>e.createElement($r,Lt({ref:o,type:"button"},r),t,e.createElement(_o,{icon:so,sx:{ml:1}}))));function pi({renderAnchor:t=(t=>e.createElement(fi,t)),anchorRef:r,placeholder:a,selectedItem:i,onChange:l,overlayProps:d,items:s,open:c,onOpenChange:g,...f}){const[p,u]=$a(c,g,!1),b=o((()=>u(!0)),[u]),m=o((()=>u(!1)),[u]),h=Sr(r),v=n((()=>null===t?null:e=>{var r;return t({...e,children:null!==(r=null==i?void 0:i.text)&&void 0!==r?r:a})}),[a,t,null==i?void 0:i.text]),x=n((()=>s.map((e=>({...e,role:"option",selected:e===i,onAction:(t,r)=>{var o;null===(o=e.onAction)||void 0===o||o.call(e,t,r),r.defaultPrevented||(m(),null==l||l(e===i?void 0:e))}})))),[s,l,m,i]);return e.createElement(Wa,{renderAnchor:v,anchorRef:h,open:p,onOpen:b,onClose:m,overlayProps:d},e.createElement(Da,Lt({},f,{role:"listbox",items:x})))}pi.displayName="DropdownMenu",pi.displayName="DropdownMenu";var ui=g.div.withConfig({displayName:"FilteredSearch",componentId:"sc-15qfedq-0"})(["display:flex;align-items:stretch;summary{border-radius:0;border-top-left-radius:",";border-bottom-left-radius:",";border-right:0;}.TextInput-wrapper{border-radius:0;border-top-right-radius:",";border-bottom-right-radius:",";z-index:1;}",""],zt("radii.2"),zt("radii.2"),zt("radii.2"),zt("radii.2"),Zt);const bi=g.ul.withConfig({displayName:"FilterList__FilterListBase",componentId:"sc-1l4pxmz-0"})(["list-style-type:none;margin:0;padding:0;",";"],Zt),mi=({children:t,...r})=>{const o=e.Children.map(t,(t=>e.createElement("li",null,t)));return e.createElement(bi,r,o)};mi.displayName="FilterList";const hi=g.a.withConfig({displayName:"FilterList__FilterListItemBase",componentId:"sc-1l4pxmz-1"})(["position:relative;display:block;padding:",";margin:",";overflow:hidden;font-size:",";color:",";background-color:","!important;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:",";&:hover{text-decoration:none;background-color:",";}&:active{color:",";background-color:",";}.count{float:right;font-weight:",";}",";"],(e=>e.small?`${zt("space.1")(e)} 10px`:`${zt("space.2")(e)} 11px`),(e=>e.small?"0 0 2px":"0 0 5px 0"),zt("fontSizes.1"),(e=>e.selected?zt("colors.fg.onEmphasis"):zt("colors.fg.muted")),(e=>e.selected?zt("colors.accent.emphasis"):""),zt("radii.1"),zt("colors.canvas.subtle"),zt("colors.fg.onEmphasis"),zt("colors.accent.emphasis"),zt("fontWeights.bold"),Zt);function vi({children:t,count:r,...o}){return e.createElement(hi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}vi.displayName="FilterListItem",vi.displayName="FilterList.Item";var xi=Object.assign(mi,{Item:vi});const yi=pe({variants:{default:{color:"fg.default",backgroundColor:"accent.subtle",borderColor:"accent.muted",svg:{color:"accent.fg"}},success:{color:"fg.default",backgroundColor:"success.subtle",borderColor:"success.muted",svg:{color:"success.fg"}},danger:{color:"fg.default",backgroundColor:"danger.subtle",borderColor:"danger.muted",svg:{color:"danger.fg"}},warning:{color:"fg.default",backgroundColor:"attention.subtle",borderColor:"attention.muted",svg:{color:"attention.fg"}}}}),wi=g.div.withConfig({displayName:"Flash",componentId:"sc-4y90bn-0"})(["position:relative;color:",";padding:",";border-style:solid;border-width:",";border-radius:",";margin-top:",";p:last-child{margin-bottom:0;}svg{margin-right:",";}",";",";"],zt("colors.fg.default"),zt("space.3"),(e=>e.full?"1px 0px":"1px"),(e=>e.full?"0":zt("radii.2")),(e=>e.full?"-1px":"0"),zt("space.2"),yi,Zt);wi.defaultProps={variant:"default"};var Bi=wi;const ki=g.div.withConfig({displayName:"FormGroup",componentId:"sc-14z6yax-0"})(["margin:"," 0;font-weight:",";",";"],zt("space.3"),zt("fontWeights.normal"),Zt),Ti=g.label.withConfig({displayName:"FormGroup__FormGroupLabel",componentId:"sc-14z6yax-1"})(["display:block;margin:0 0 ",";font-size:",";font-weight:",";",";"],zt("space.2"),zt("fontSizes.1"),zt("fontWeights.bold"),Zt);Ti.displayName="FormGroup.Label";var Si=Object.assign(ki,{Label:Ti});const Ci=g.div.withConfig({displayName:"Header",componentId:"sc-217i47-0"})(["z-index:32;display:flex;padding:",";font-size:",";line-height:",";color:",";background-color:",";align-items:center;flex-wrap:nowrap;",";"],zt("space.3"),zt("fontSizes.1"),zt("lineHeights.default"),zt("colors.header.text"),zt("colors.header.bg"),Zt),Ei=g.div.withConfig({displayName:"Header__HeaderItem",componentId:"sc-217i47-1"})(["display:flex;margin-right:",";align-self:stretch;align-items:center;flex-wrap:nowrap;",";",";"],zt("space.3"),(({full:e})=>e&&u(["flex:auto;"])),Zt);Ei.displayName="Header.Item";const Ii=g.a.attrs((({to:e})=>"string"==typeof e?{"aria-current":"page"}:{})).withConfig({displayName:"Header__HeaderLink",componentId:"sc-217i47-2"})(["font-weight:",";color:",";white-space:nowrap;cursor:pointer;text-decoration:none;display:flex;align-items:center;&:hover,&:focus{color:",";}",";"],zt("fontWeights.bold"),zt("colors.header.logo"),zt("colors.header.text"),Zt);Ii.displayName="Header.Link";var Ni=Object.assign(Ci,{Link:Ii,Item:Ei});var zi=g.h2.withConfig({displayName:"Heading",componentId:"sc-1cjoo9h-0"})(["font-weight:",";font-size:",";margin:0;",";"],zt("fontWeights.bold"),zt("fontSizes.5"),Zt);var _i=g.span.withConfig({displayName:"LabelGroup",componentId:"sc-k6k3qa-0"})(["& *{margin-right:",";}& *:last-child{margin-right:0;}",";"],zt("space.1"),Zt);const Ai=u(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],zt("colors.fg.muted"),zt("borderWidths.1"),zt("colors.border.default"),ct),Li=pe({variants:{small:{fontSize:0,lineHeight:"16px",padding:"0px 8px"},medium:{fontSize:0,lineHeight:"20px",padding:"0 8px"},large:{fontSize:0,lineHeight:"24px",padding:"0 12px"},xl:{fontSize:1,lineHeight:"16px",padding:"8px 12px"}}}),Ri=g.span.withConfig({displayName:"Label",componentId:"sc-1t3ykp0-0"})(["display:inline-block;font-weight:",";color:",";border-radius:",";background-color:",";&:hover{text-decoration:none;}"," "," "," ",""],zt("fontWeights.semibold"),zt("colors.fg.onEmphasis"),zt("radii.3"),zt("colors.neutral.emphasis"),Li,(e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""),(e=>e.outline?Ai:""),Zt);Ri.defaultProps={variant:"medium"};var Di=Ri;const Fi=R({hoverColor:{property:"color",scale:"colors"}});var Mi=g.a.withConfig({displayName:"Link",componentId:"sc-1brdqhf-0"})(["color:",";text-decoration:",";&:hover{text-decoration:",";",";}&:is(button){display:inline-block;padding:0;font-size:inherit;white-space:nowrap;cursor:pointer;user-select:none;background-color:transparent;border:0;appearance:none;}",";"],(e=>e.muted?zt("colors.fg.muted")(e):zt("colors.accent.fg")(e)),(e=>e.underline?"underline":"none"),(e=>e.muted?"none":"underline"),(e=>e.hoverColor?Fi:e.muted?`color: ${zt("colors.accent.fg")(e)}`:""),Zt);var Pi=g.div.withConfig({displayName:"Pagehead",componentId:"sc-1ntn78e-0"})(["position:relative;padding-top:",";padding-bottom:",";margin-bottom:",";border-bottom:1px solid ",";",";"],zt("space.4"),zt("space.4"),zt("space.4"),zt("colors.border.default"),Zt);const Hi=g.a.withConfig({displayName:"Pagination__Page",componentId:"sc-b80nss-0"})(["display:inline-block;min-width:32px;padding:5px 10px;font-style:normal;line-height:20px;color:",";text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;text-decoration:none;margin-right:",";&:last-child{margin-right:0;}border:"," solid transparent;border-radius:",";transition:border-color 0.2s cubic-bezier(0.3,0,0.5,1);&:hover,&:focus{text-decoration:none;border-color:",";outline:0;transition-duration:0.1s;}&:active{border-color:",";}&[rel='prev'],&[rel='next']{color:",";}&[aria-current],&[aria-current]:hover{color:",";background-color:",";border-color:transparent;}&[aria-disabled],&[aria-disabled]:hover{color:",";cursor:default;border-color:transparent;}@supports (clip-path:polygon(50% 0,100% 50%,50% 100%)){&[rel='prev']::before,&[rel='next']::after{display:inline-block;width:16px;height:16px;vertical-align:text-bottom;content:'';background-color:currentColor;}&[rel='prev']::before{margin-right:",";clip-path:polygon( 9.8px 12.8px,8.7px 12.8px,4.5px 8.5px,4.5px 7.5px,8.7px 3.2px,9.8px 4.3px,6.1px 8px,9.8px 11.7px,9.8px 12.8px );}&[rel='next']::after{margin-left:",";clip-path:polygon( 6.2px 3.2px,7.3px 3.2px,11.5px 7.5px,11.5px 8.5px,7.3px 12.8px,6.2px 11.7px,9.9px 8px,6.2px 4.3px,6.2px 3.2px );}}"],zt("colors.fg.default"),zt("space.1"),zt("borderWidths.1"),zt("radii.2"),zt("colors.border.default"),zt("colors.border.muted"),zt("colors.accent.fg"),zt("colors.fg.onEmphasis"),zt("colors.accent.emphasis"),zt("colors.primer.fg.disabled"),zt("space.1"),zt("space.1"));function Oi({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d}){const s=e.useCallback((e=>t=>a(t,e)),[a]),c=e.useMemo((()=>function(e,t,r,o,a){const n=[];if(r){const r=[],i=t=>{t>=1&&t<=e&&r.push(t)};let l=t-a,d=t+a;if(l<1&&d>e)l=1,d=e;else if(l<1)for(;l<1;)l++,d++;else if(d>e)for(;d>e;)l--,d--;for(let t=1;t<=o;t++){const r=t,o=e-(t-1);r>=l?d++:i(r),o<=d?l--:i(o)}for(let e=l;e<=d;e++)i(e);const s=r.slice().sort(((e,t)=>e-t)).filter(((e,t,r)=>!t||e!==r[t-1]));for(let e=0;e<s.length;e++){const r=s[e],o=r===t;0===e?(1!==r&&n.push({type:"BREAK",num:1}),n.push({type:"NUM",num:r,selected:o})):(1==r-s[e-1]||n.push({type:"BREAK",num:r-1}),n.push({type:"NUM",num:r,selected:o}))}const c=n[n.length-1];"NUM"===c.type&&c.num!==e&&n.push({type:"BREAK",num:e})}const i={type:"NEXT",num:t+1,disabled:t===e};return[{type:"PREV",num:t-1,disabled:1===t},...n,i]}(r,o,!!l,i,d)),[r,o,l,i,d]);return e.useMemo((()=>c.map((r=>{const{props:o,key:a,content:i}=function(e,t,r){const o={};let a="",n="";switch(e.type){case"PREV":n="page-prev",a="Previous",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"prev",href:t(e.num),"aria-label":"Previous Page",onClick:r});break;case"NEXT":n="page-next",a="Next",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"next",href:t(e.num),"aria-label":"Next Page",onClick:r});break;case"NUM":n=`page-${e.num}`,a=String(e.num),e.selected?Object.assign(o,{as:"em","aria-current":"page"}):Object.assign(o,{href:t(e.num),"aria-label":`Page ${e.num}`,onClick:r});break;case"BREAK":n=`page-${e.num}-break`,a="…",Object.assign(o,{as:"span","aria-disabled":!0})}return{props:o,key:n,content:a}}(r,n,s(r.num));return e.createElement(Hi,Lt({},o,{key:a,theme:t}),i)}))),[c,n,s,t])}const ji=g.nav.withConfig({displayName:"Pagination__PaginationContainer",componentId:"sc-b80nss-1"})(["margin-top:20px;margin-bottom:15px;text-align:center;",";"],Zt);function Wi({theme:t,pageCount:r,currentPage:o,onPageChange:a=Ui,hrefBuilder:n=$i,marginPageCount:i=1,showPages:l=!0,surroundingPageCount:d=2,...s}){const c=Oi({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d});return e.createElement(ji,Lt({"aria-label":"Pagination"},s,{theme:t}),e.createElement(Qt,{display:"inline-block",theme:t},c))}function $i(e){return`#${e}`}function Ui(){}function qi(t){const{bg:r,border:o,borderColor:a,theme:n}=t,{caret:i,children:l,...d}=t,s={bg:r,borderColor:a,borderWidth:o,location:i,theme:n};return e.createElement(tr,Lt({sx:{position:"relative"}},d),l,e.createElement(On,s))}Wi.displayName="Pagination",Wi.defaultProps={hrefBuilder:$i,marginPageCount:1,onPageChange:Ui,showPages:!0,surroundingPageCount:2},qi.displayName="PointerBox";const Gi=g.div.attrs((({className:e,caret:t})=>({className:Ya(e,`caret-pos--${t}`)}))).withConfig({displayName:"Popover",componentId:"sc-1nxygy2-0"})(["position:",";z-index:100;display:",";",";"],(e=>e.relative?"relative":"absolute"),(e=>e.open?"block":"none"),Zt),Vi=g.div.withConfig({displayName:"Popover__PopoverContent",componentId:"sc-1nxygy2-1"})(["border:1px solid ",";border-radius:",";position:relative;width:232px;margin-right:auto;margin-left:auto;padding:",";background-color:",";&::before,&::after{position:absolute;left:50%;display:inline-block;content:'';}&::before{top:-",";margin-left:-9px;border:"," solid transparent;border-bottom-color:",";}&::after{top:-14px;margin-left:-",";border:7px solid transparent;border-bottom-color:",";}",".caret-pos--bottom &,",".caret-pos--bottom-right &,",".caret-pos--bottom-left &{&::before,&::after{top:auto;border-bottom-color:transparent;}&::before{bottom:-",";border-top-color:",";}&::after{bottom:-14px;border-top-color:",";}}",".caret-pos--top-right &,",".caret-pos--bottom-right &{right:-9px;margin-right:0;&::before,&::after{left:auto;margin-left:0;}&::before{right:20px;}&::after{right:21px;}}",".caret-pos--top-left &,",".caret-pos--bottom-left &{left:-9px;margin-left:0;&::before,&::after{left:",";margin-left:0;}&::after{left:calc("," + 1px);}}",".caret-pos--right &,",".caret-pos--right-top &,",".caret-pos--right-bottom &,",".caret-pos--left &,",".caret-pos--left-top &,",".caret-pos--left-bottom &{&::before,&::after{top:50%;left:auto;margin-left:0;border-bottom-color:transparent;}&::before{margin-top:calc(("," + 1px) * -1);}&::after{margin-top:-",";}}",".caret-pos--right &,",".caret-pos--right-top &,",".caret-pos--right-bottom &{&::before{right:-",";border-left-color:",";}&::after{right:-14px;border-left-color:",";}}",".caret-pos--left &,",".caret-pos--left-top &,",".caret-pos--left-bottom &{&::before{left:-",";border-right-color:",";}&::after{left:-14px;border-right-color:",";}}",".caret-pos--right-top &,",".caret-pos--left-top &{&::before,&::after{top:",";}}",".caret-pos--right-bottom &,",".caret-pos--left-bottom &{&::before,&::after{top:auto;}&::before{bottom:",";}&::after{bottom:calc("," + 1px);}}",";"],zt("colors.border.default"),zt("radii.2"),zt("space.4"),zt("colors.canvas.overlay"),zt("space.3"),zt("space.2"),zt("colors.border.default"),zt("space.2"),zt("colors.canvas.overlay"),Gi,Gi,Gi,zt("space.3"),zt("colors.border.default"),zt("colors.canvas.overlay"),Gi,Gi,Gi,Gi,zt("space.4"),zt("space.4"),Gi,Gi,Gi,Gi,Gi,Gi,zt("space.2"),zt("space.2"),Gi,Gi,Gi,zt("space.3"),zt("colors.border.default"),zt("colors.canvas.overlay"),Gi,Gi,Gi,zt("space.3"),zt("colors.border.default"),zt("colors.canvas.overlay"),Gi,Gi,zt("space.4"),Gi,Gi,zt("space.3"),zt("space.3"),Zt);Gi.defaultProps={caret:"top"},Vi.displayName="Popover.Content";var Ki=Object.assign(Gi,{Content:Vi});const Xi=g.span.withConfig({displayName:"ProgressBar__Bar",componentId:"sc-1tiva13-0"})(["width:",";",";"],(e=>e.progress?`${e.progress}%`:0),Zt),Yi={small:"5px",large:"10px",default:"8px"},Ji=g.span.withConfig({displayName:"ProgressBar__ProgressContainer",componentId:"sc-1tiva13-1"})(["display:",";overflow:hidden;background-color:",";border-radius:",";height:",";"," ",";"],(e=>e.inline?"inline-flex":"flex"),zt("colors.border.default"),zt("radii.1"),(e=>Yi[e.barSize||"default"]),he,Zt);function Zi({progress:t,bg:r,...o}){return e.createElement(Ji,o,e.createElement(Xi,{progress:t,sx:{bg:r}}))}function Qi(e,t,r){const n=o((o=>{const a=()=>{r(!0)},n=t=>{const r=Array.from(e.current.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled]):not([aria-disabled="true"])')),o=document.activeElement,a=r.indexOf(o),n=t?r[a+1]:r[a-1],i=t?r[0]:r[r.length-1];return n||i};if(!(o instanceof KeyboardEvent))return;const i=o.target instanceof Element&&"SUMMARY"===o.target.tagName;switch(o.key){case"Escape":t&&((()=>{r(!1);const t=e.current.querySelector("summary");t&&t.focus()})(),o.preventDefault(),o.stopPropagation());break;case"ArrowDown":{i&&!t&&a();const e=n(!0);e&&e.focus(),o.preventDefault()}break;case"ArrowUp":{i&&!t&&a();const e=n(!1);e&&e.focus(),o.preventDefault()}break;case" ":case"Enter":{const t=document.activeElement;t&&(e=>{const t=e.getAttribute("role");return"menuitem"===t||"menuitemcheckbox"===t||"menuitemradio"===t})(t)&&t.closest("details")===e&&(o.preventDefault(),o.stopPropagation(),t.click())}}}),[e,t,r]);a((()=>{const t=e.current;if(t)return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}}),[e,n])}Zi.displayName="ProgressBar",Zi.defaultProps={bg:"success.emphasis",barSize:"default"};const el=s({}),tl=u(["padding:"," ",";margin:0;font-size:",";font-weight:",";color:",";background-color:",";border-bottom:"," solid ",";"],zt("space.1"),zt("space.3"),zt("fontSizes.0"),zt("fontWeights.bold"),zt("colors.fg.muted"),zt("colors.canvas.subtle"),zt("borderWidths.1"),zt("colors.border.muted")),rl=g.div.withConfig({displayName:"SelectMenuDivider",componentId:"sc-2p0bwt-0"})([""," ",";"],tl,Zt);rl.displayName="SelectMenu.Divider";var ol=rl;const al=g.form.withConfig({displayName:"SelectMenuFilter__StyledForm",componentId:"sc-s7ktlh-0"})(["padding:",";margin:0;border-bottom:"," solid ",";background-color:",";@media (min-width:","){padding:",";}",";"],zt("space.3"),zt("borderWidths.1"),zt("colors.border.muted"),zt("colors.canvas.overlay"),zt("breakpoints.0"),zt("space.2"),Zt),nl=i((({theme:t,value:o,sx:n,...i},l)=>{const s=r(null),c=null!=l?l:s,{open:g}=d(el);return a((()=>{var e;g&&(null===(e=s.current)||void 0===e||e.focus())}),[g]),e.createElement(al,{theme:t,sx:n},e.createElement(tn,Lt({theme:t,ref:c,width:"100%",block:!0,value:o,contrast:!0},i)))}));nl.displayName="SelectMenu.Filter";var il=nl;const ll=u(["margin-top:-1px;padding:"," ",";font-size:",";color:",";text-align:center;border-top:"," solid ",";@media (min-width:","){padding:"," ",";}"],zt("space.2"),zt("space.3"),zt("fontSizes.0"),zt("colors.fg.muted"),zt("borderWidths.1"),zt("colors.border.muted"),zt("breakpoints.0"),zt("space.1"),zt("space.2")),dl=g.footer.withConfig({displayName:"SelectMenuFooter",componentId:"sc-rkvco1-0"})([""," ",";"],ll,Zt);dl.displayName="SelectMenu.Footer";var sl=dl;const cl=g.h3.withConfig({displayName:"SelectMenuHeader__SelectMenuTitle",componentId:"sc-1pwppzc-0"})(["color:",";flex:auto;font-size:",";font-weight:",";margin:0;@media (min-width:","){font-size:inherit;}"],zt("colors.fg.default"),zt("fontSizes.1"),zt("fontWeights.bold"),zt("breakpoints.0")),gl=g.header.withConfig({displayName:"SelectMenuHeader__StyledHeader",componentId:"sc-1pwppzc-1"})(["display:flex;flex:none;padding:",";border-bottom:"," solid ",";@media (min-width:","){padding-top:",";padding-bottom:",";}",";"],zt("space.3"),zt("borderWidths"),zt("colors.border.muted"),zt("breakpoints.0"),zt("space.2"),zt("space.2"),Zt),fl=({children:t,theme:r,...o})=>e.createElement(gl,Lt({theme:r},o),e.createElement(cl,{theme:r},t));fl.displayName="SelectMenuHeader",fl.displayName="SelectMenu.Header";var pl=fl;const ul=u(["display:flex;align-items:center;padding:",";overflow:hidden;text-align:left;cursor:pointer;background-color:",";border:0;border-bottom:"," solid ",";color:",";text-decoration:none;font-size:",";font-family:inherit;width:100%;&:hover{text-decoration:none;}&:focus{outline:none;}&[hidden]{display:none !important;}@media (min-width:","){padding-top:",";padding-bottom:",";}.SelectMenu-icon{width:",";margin-right:",";flex-shrink:0;}.SelectMenu-selected-icon{visibility:hidden;transition:transform 0.12s cubic-bezier(0.5,0.1,1,0.5),visibility 0s 0.12s linear;transform:scale(0);}&[aria-checked='true']{font-weight:500;color:",";.SelectMenu-selected-icon{visibility:visible;transition:transform 0.12s cubic-bezier(0,0,0.2,1),visibility 0s linear;transform:scale(1);}}@media (hover:hover){&:hover,&:active,&:focus{background-color:",";}}@media (hover:none){&:focus,&:active{background-color:",";}-webkit-tap-highlight-color:",";}"],zt("space.3"),zt("colors.canvas.overlay"),zt("borderWidths.1"),zt("colors.border.muted"),zt("colors.fg.muted"),zt("fontSizes.0"),zt("breakpoints.0"),zt("space.2"),zt("space.2"),zt("space.3"),zt("space.2"),zt("colors.fg.default"),zt("colors.neutral.subtle"),zt("colors.canvas.subtle"),zt("colors.selectMenu.tapHighlight")),bl=g.a.attrs((()=>({role:"menuitemcheckbox"}))).withConfig({displayName:"SelectMenuItem__StyledItem",componentId:"sc-gjymba-0"})([""," ",";"],ul,Zt),ml=i((({children:t,selected:o,theme:a,onClick:n,...i},l)=>{const s=d(el),c=r(null),g=null!=l?l:c;return e.createElement(bl,Lt({ref:g},i,{theme:a,onClick:e=>{var t;(n&&n(e),e.defaultPrevented)||(null===(t=s.setOpen)||void 0===t||t.call(s,!1))},"aria-checked":o}),e.createElement(_o,{theme:a,className:"SelectMenu-icon SelectMenu-selected-icon",icon:eo}),t)}));ml.defaultProps={selected:!1},ml.displayName="SelectMenu.Item";var hl=ml;const vl=u(["position:relative;padding:0;margin:0;flex:auto;overflow-x:hidden;overflow-y:auto;background-color:",";-webkit-overflow-scrolling:touch;@media (hover:hover){.SelectMenuTab:focus{background-color:",";}.SelectMenuTab:not([aria-checked='true']):hover{color:",";background-color:",";}.SelectMenuTab:not([aria-checked='true']):active{color:",";background-color:",";}}"],zt("colors.canvas.overlay"),zt("colors.selectMenu.tapFocusBg"),zt("colors.fg.default"),zt("colors.canvas.subtle"),zt("colors.fg.default"),zt("colors.canvas.subtle")),xl=g.div.withConfig({displayName:"SelectMenuList",componentId:"sc-1opbpf6-0"})([""," ",";"],vl,Zt);xl.displayName="SelectMenu.List";var yl=xl;const wl={small:"16px",medium:"32px",large:"64px"};function Bl({size:t="medium",...r}){const o=wl[t];return e.createElement("svg",Lt({height:o,width:o,viewBox:"0 0 16 16",fill:"none"},r),e.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.25",strokeWidth:"2",vectorEffect:"non-scaling-stroke"}),e.createElement("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",vectorEffect:"non-scaling-stroke"}))}Bl.displayName="Spinner";const kl=g(Bl).withConfig({displayName:"Spinner__StyledSpinner",componentId:"sc-14tspit-0"})(["@keyframes rotate-keyframes{100%{transform:rotate(360deg);}}animation:rotate-keyframes 1s linear infinite;",""],Zt);kl.displayName="Spinner";var Tl=kl;const Sl=g.div.withConfig({displayName:"SelectMenuLoadingAnimation__Animation",componentId:"sc-17k54td-0"})(["padding:"," ",";text-align:center;background-color:",";",""],zt("space.6"),zt("space.4"),zt("colors.canvas.overlay"),Zt),Cl=t=>e.createElement(Sl,t,e.createElement(Tl,null));Cl.displayName="SelectMenuLoadingAnimation";var El=Cl;const Il=m(["0%{opacity:0;transform:scale(0.9);}"]),Nl=u(["position:relative;z-index:99;display:flex;",";max-height:",";margin:auto 0;",";overflow:hidden;pointer-events:auto;flex-direction:column;background-color:",";border-radius:",";box-shadow:",";animation:"," 0.12s cubic-bezier(0,0.1,0.1,1) backwards;@media (min-width:","){height:auto;max-height:350px;margin:"," 0 "," 0;font-size:",";border:"," solid ",";border-radius:",";box-shadow:",";}"],(e=>e.filter?"height: 80%":""),(e=>e.filter?"none":"66%"),(e=>e.filter?"margin-top: 0":""),zt("colors.canvas.overlay"),zt("radii.2"),zt("shadows.shadow.small"),Il,zt("breakpoints.0"),zt("space.1"),zt("space.3"),zt("fontSizes.0"),zt("borderWidths.1"),zt("colors.border.default"),zt("radii.2"),zt("shadows.shadow.small")),zl=u(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;display:flex;padding:",";pointer-events:none;flex-direction:column;&::before{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:'';background-color:",";@media (min-width:","){display:none;}}@media (min-width:","){position:absolute;top:auto;right:",";bottom:auto;left:auto;padding:0;}"],zt("space.3"),zt("colors.primer.canvas.backdrop"),zt("breakpoints.0"),zt("breakpoints.0"),(e=>"right"===e.align?"0":"auto")),_l=g.div.withConfig({displayName:"SelectMenuModal__Modal",componentId:"sc-1m5qo55-0"})([""," ",""],Nl,he),Al=g.div.withConfig({displayName:"SelectMenuModal__ModalWrapper",componentId:"sc-1m5qo55-1"})([""," ",";"],zl,Zt),Ll=e.forwardRef((({children:t,theme:r,width:o,...a},n)=>e.createElement(Al,Lt({theme:r},a,{role:"menu",ref:n}),e.createElement(_l,{theme:r,width:o},t))));Ll.defaultProps={align:"left",width:"300px"},Ll.displayName="SelectMenu.Modal";var Rl=Ll;const Dl=u(["flex:1;padding:"," ",";font-size:",";font-weight:500;color:",";text-align:center;background-color:transparent;border:0;box-shadow:inset 0 -1px 0 ",";@media (min-width:","){flex:none;padding:"," ",";border:"," solid transparent;border-bottom-width:0;border-top-left-radius:",";border-top-right-radius:",";}&[aria-selected='true']{z-index:1;color:",";background-color:",";box-shadow:0 0 0 1px ",";@media (min-width:","){border-color:",";box-shadow:none;}}&:focus{background-color:",";}"],zt("space.2"),zt("space.3"),zt("fontSizes.0"),zt("colors.fg.muted"),zt("colors.border.muted"),zt("breakpoints.0"),zt("space.1"),zt("space.3"),zt("borderWidths.1"),zt("radii.2"),zt("radii.2"),zt("colors.text-primary"),zt("colors.canvas.overlay"),zt("colors.border.muted"),zt("breakpoints.0"),zt("colors.border.muted"),zt("colors.neutral.subtle")),Fl=g.button.withConfig({displayName:"SelectMenuTab__StyledTab",componentId:"sc-ga32sz-0"})([""," ",";"],Dl,Zt),Ml=({tabName:t="",index:r,className:o,onClick:n,...i})=>{const l=d(el);a((()=>{var e;l.selectedTab||0!==r||(null===(e=l.setSelectedTab)||void 0===e||e.call(l,t))}),[r,l,t]);const s=l.selectedTab===t;return e.createElement(Fl,Lt({role:"tab",className:Ya("SelectMenuTab",o),"aria-selected":s,onClick:e=>{var r;(n&&n(e),e.defaultPrevented)||(null===(r=l.setSelectedTab)||void 0===r||r.call(l,t))}},i),t)};Ml.displayName="SelectMenuTab",Ml.displayName="SelectMenu.Tab";var Pl=Ml;const Hl=g.div.withConfig({displayName:"SelectMenuTabPanel__TabPanelBase",componentId:"sc-ck0ipe-0"})(["border-top:"," solid ",";",";"],zt("borderWidths.1"),zt("colors.border.muted"),Zt),Ol=({tabName:t,className:r,children:o,...a})=>{const n=d(el);return e.createElement(Hl,Lt({role:"tabpanel",className:r,hidden:n.selectedTab!==t},a),e.createElement(yl,null,o))};Ol.displayName="TabPanel",Ol.displayName="SelectMenu.TabPanel";var jl=Ol;const Wl=u(["display:flex;flex-shrink:0;margin-bottom:-1px;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;&::-webkit-scrollbar{display:none;}@media (min-width:","){padding:0 ",";margin-top:",";}"],zt("breakpoints.0"),zt("space.2"),zt("space.3")),$l=g.div.withConfig({displayName:"SelectMenuTabs__SelectMenuTabsBase",componentId:"sc-kgg21o-0"})([""," ",";"],Wl,Zt),Ul=({children:t,...r})=>e.createElement($l,Lt({role:"tablist"},r),t);Ul.displayName="SelectMenuTabs",Ul.displayName="SelectMenu.Tabs";var ql=Ul;const Gl=g.details.withConfig({displayName:"SelectMenu__StyledSelectMenu",componentId:"sc-i7h45b-0"})([""," ",";"],"\n // Remove marker added by the display: list-item browser default\n > summary {\n list-style: none;\n }\n // Remove marker added by details polyfill\n > summary::before {\n display: none;\n }\n // Remove marker added by Chrome\n > summary::-webkit-details-marker {\n display: none;\n }\n",Zt),Vl=e.forwardRef((({children:n,initialTab:i="",as:l,...d},s)=>{const c=r(null),g=null!=s?s:c,[f,p]=t(i),[u,b]=t(!1),m={selectedTab:f,setSelectedTab:p,setOpen:b,open:u,initialTab:i},h=o((e=>{"current"in g&&g.current&&!g.current.contains(e.target)&&(e.defaultPrevented||b(!1))}),[g,b]);return a((()=>{if(u)return document.addEventListener("click",h),()=>{document.removeEventListener("click",h)}}),[u,h]),Qi(g,u,b),e.createElement(el.Provider,{value:m},e.createElement(Gl,Lt({ref:g},d,{open:u,onToggle:function(e){b(e.target.open)}}),n))}));Vl.displayName="SelectMenu";var Kl=Object.assign(Vl,{MenuContext:el,List:yl,Divider:ol,Filter:il,Footer:sl,Item:hl,Modal:Rl,Tabs:ql,Tab:Pl,TabPanel:jl,Header:pl,LoadingAnimation:El});function Xl({variant:t,className:r,bordered:o,children:a,"aria-label":n}){const i=Ya(r,`variant-${"lightweight"===t?"lightweight":"normal"}`);return e.createElement(Qt,{borderWidth:o?"1px":0,borderStyle:"solid",borderColor:"border.default",borderRadius:2,as:"nav",className:i,"aria-label":n},a)}Xl.displayName="SideNavBase";const Yl=g(Xl).withConfig({displayName:"SideNav",componentId:"sc-15k667c-0"})(["background-color:",";"," ",";"],zt("colors.canvas.subtle"),(e=>e.bordered&&u(["& > &{border-left:0;border-right:0;border-bottom:0;}"])),Zt),Jl=u(["background-color:",";outline:none;text-decoration:none;"],zt("colors.neutral.subtle")),Zl=u(["color:",";text-decoration:none;outline:none;"],zt("colors.fg.default")),Ql=g(Mi).attrs((e=>"string"==typeof e.to||e.selected?{"aria-current":"page"}:{})).withConfig({displayName:"SideNav__SideNavLink",componentId:"sc-15k667c-1"})(["position:relative;display:block;"," width:100%;text-align:left;font-size:",";& > ","{border-bottom:none;}",".variant-normal > &{color:",";padding:",";border:0;border-top:"," solid ",";&:first-child{border-top:0;border-top-right-radius:",";border-top-left-radius:",";}&:last-child{border-bottom-right-radius:",";border-bottom-left-radius:",";}&::before{position:absolute;top:0;bottom:0;left:0;z-index:1;width:3px;pointer-events:none;content:'';}&:hover{","}&:focus{"," box-shadow:",";z-index:1;}&[aria-current='page'],&[aria-selected='true']{background-color:",";&::before{background-color:",";}}}",".variant-lightweight > &{padding:"," 0;color:",";&:hover{","}&:focus{"," box-shadow:",";z-index:1;}&[aria-current='page'],&[aria-selected='true']{color:",";font-weight:",";}}",";"],(e=>"full"===e.variant&&u(["display:flex;align-items:center;justify-content:space-between;"])),zt("fontSizes.1"),Yl,Yl,zt("colors.fg.default"),zt("space.3"),zt("borderWidths.1"),zt("colors.border.muted"),zt("radii.2"),zt("radii.2"),zt("radii.2"),zt("radii.2"),Jl,Jl,zt("shadows.primer.shadow.focus"),zt("colors.sidenav.selectedBg"),zt("colors.primer.border.active"),Yl,zt("space.1"),zt("colors.accent.fg"),Zl,Zl,zt("shadows.primer.shadow.focus"),zt("colors.fg.default"),zt("fontWeights.semibold"),Zt);Yl.defaultProps={variant:"normal"},Ql.defaultProps={variant:"normal"},Ql.displayName="SideNav.Link";var ed=Object.assign(Yl,{Link:Ql});const td={issueOpened:no,pullOpened:ro,issueClosed:oo,pullClosed:ro,pullMerged:to,draft:ro,issueDraft:ao},rd=pe({prop:"status",variants:{issueClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullMerged:{backgroundColor:"done.emphasis",color:"fg.onEmphasis"},issueOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},pullOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},draft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"},issueDraft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"}}}),od=pe({prop:"variant",variants:{small:{paddingX:2,paddingY:1,fontSize:0},normal:{paddingX:"12px",paddingY:2,fontSize:1}}}),ad=g.span.withConfig({displayName:"StateLabel__StateLabelBase",componentId:"sc-k4pd9e-0"})(["display:inline-flex;align-items:center;font-weight:",";line-height:16px;color:",";text-align:center;border-radius:",";",";",";",";"],zt("fontWeights.bold"),zt("colors.canvas.default"),zt("radii.3"),rd,od,Zt);function nd({children:t,status:r,variant:o,...a}){const n="small"===o?{width:"1em"}:{};return e.createElement(ad,Lt({},a,{variant:o,status:r}),r&&e.createElement(_o,Lt({},n,{icon:td[r]||lo,sx:{mr:1}})),t)}nd.displayName="StateLabel",nd.defaultProps={variant:"normal"};const id=g.nav.withConfig({displayName:"SubNav__SubNavBase",componentId:"sc-f7w0xa-0"})(["display:flex;justify-content:space-between;.SubNav-body{display:flex;margin-bottom:-1px;> *{margin-left:",";}> *:first-child{margin-left:0;}}.SubNav-actions{align-self:center;}",";"],zt("space.2"),Zt);function ld({actions:t,className:r,children:o,label:a,...n}){const i=Ya(r,"SubNav");return e.createElement(id,Lt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}ld.displayName="SubNav";const dd=g.div.withConfig({displayName:"SubNav__SubNavLinks",componentId:"sc-f7w0xa-1"})(["display:flex;",";"],Zt),sd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("SubNav-item",e.selected&&"selected",e.className)}))).withConfig({displayName:"SubNav__SubNavLink",componentId:"sc-f7w0xa-2"})(["padding-left:",";padding-right:",";font-weight:",";font-size:",";line-height:20px;min-height:34px;color:",";text-align:center;text-decoration:none;border-top:1px solid ",";border-bottom:1px solid ",";border-right:1px solid ",";display:flex;align-items:center;&:first-of-type{border-top-left-radius:",";border-bottom-left-radius:",";border-left:1px solid ",";}&:last-of-type{border-top-right-radius:",";border-bottom-right-radius:",";}&:hover,&:focus{text-decoration:none;background-color:",";transition:0.2s ease;.SubNav-octicon{color:",";}}&.selected{color:",";background-color:",";border-color:",";.SubNav-octicon{color:",";}}",";"],zt("space.3"),zt("space.3"),zt("fontWeights.semibold"),zt("fontSizes.1"),zt("colors.fg.default"),zt("colors.border.default"),zt("colors.border.default"),zt("colors.border.default"),zt("radii.2"),zt("radii.2"),zt("colors.border.default"),zt("radii.2"),zt("radii.2"),zt("colors.canvas.subtle"),zt("colors.fg.muted"),zt("colors.fg.onEmphasis"),zt("colors.accent.emphasis"),zt("colors.accent.emphasis"),zt("colors.fg.onEmphasis"),Zt);sd.displayName="SubNav.Link",dd.displayName="SubNav.Links";var cd=Object.assign(ld,{Link:sd,Links:dd});const gd=g.div.withConfig({displayName:"TabNav__TabNavBase",componentId:"sc-1xod0ow-0"})(["margin-top:0;border-bottom:1px solid ",";",""],zt("colors.border.default"),Zt),fd=g.nav.withConfig({displayName:"TabNav__TabNavBody",componentId:"sc-1xod0ow-1"})(["display:flex;margin-bottom:-1px;overflow:auto;"]);function pd({children:t,"aria-label":r,...o}){return e.createElement(gd,o,e.createElement(fd,{"aria-label":r},t))}pd.displayName="TabNav";const ud=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("TabNav-item",e.selected&&"selected",e.className)}))).withConfig({displayName:"TabNav__TabNavLink",componentId:"sc-1xod0ow-2"})(["padding:8px 12px;font-size:",";line-height:20px;color:",";text-decoration:none;background-color:transparent;border:1px solid transparent;border-bottom:0;&:hover,&:focus{color:",";text-decoration:none;}&.selected{color:",";border-color:",";border-top-right-radius:",";border-top-left-radius:",";background-color:",";}",";"],zt("fontSizes.1"),zt("colors.fg.default"),zt("colors.fg.default"),zt("colors.fg.default"),zt("colors.border.default"),zt("radii.2"),zt("radii.2"),zt("colors.canvas.default"),Zt);ud.displayName="TabNav.Link";var bd=Object.assign(pd,{Link:ud}),md=D(te,H,P,F,O,U,G,K,W,re,ue,be,me),hd=new RegExp("^("+md.propNames.join("|")+")$");const vd={small:"16px",medium:"20px",large:"24px",extralarge:"32px"},xd=({as:e="span",onClick:t,onFocus:r,tabIndex:o=-1})=>Boolean(r||t||o>-1||["a","button"].includes(e)),yd=pe({prop:"size",variants:{small:{fontSize:0,height:vd.small,lineHeight:vd.small,paddingLeft:1,paddingRight:1,paddingTop:0,paddingBottom:0},medium:{fontSize:0,height:vd.medium,lineHeight:vd.medium,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},large:{fontSize:0,height:vd.large,lineHeight:vd.large,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},extralarge:{fontSize:1,height:vd.extralarge,lineHeight:vd.extralarge,paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0}}}),wd=g.span.attrs((({text:e,onRemove:t,onKeyDown:r})=>({onKeyDown:e=>{r&&r(e),"Backspace"!==e.key&&"Delete"!==e.key||!t||t()},"aria-label":t?`${e}, press backspace or delete to remove`:void 0}))).withConfig({displayName:"TokenBase",componentId:"sc-opajvp-0"})(["align-items:center;border-radius:999px;cursor:",";display:inline-flex;font-weight:",";font-family:inherit;text-decoration:none;white-space:nowrap;"," ",""],(e=>xd(e)?"pointer":"auto"),zt("fontWeights.bold"),yd,Zt);wd.defaultProps={as:"span",size:"medium"};var Bd=wd;const kd=pe({prop:"size",variants:{small:{height:vd.small,width:vd.small},medium:{height:vd.medium,width:vd.medium},large:{height:vd.large,width:vd.large},extralarge:{height:vd.extralarge,width:vd.extralarge}}}),Td=e=>.75*parseInt(vd[e||"medium"],10),Sd=g.span.withConfig({displayName:"_RemoveTokenButton__StyledTokenButton",componentId:"sc-14lvcw1-0"})(["background-color:transparent;font-family:inherit;color:currentColor;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;user-select:none;appearance:none;text-decoration:none;padding:0;transform:",";align-self:baseline;border:0;border-radius:999px;"," &:hover,&:focus{background-color:",";}&:active{background-color:",";}"," ",""],(e=>`translate(${e.borderOffset}px, -${e.borderOffset}px)`),(e=>{switch(e.size){case"large":case"extralarge":return u(["margin-left:",";"],zt("space.2"));default:return u(["margin-left:",";"],zt("space.1"))}}),zt("colors.neutral.muted"),zt("colors.neutral.subtle"),kd,Zt),Cd=({"aria-label":t,isParentInteractive:r,size:o,...a})=>(delete a.children,e.createElement(Sd,Lt({as:r?"span":"button",tabIndex:r?-1:void 0,"aria-label":r?t:"Remove token",size:o},a),e.createElement(co,{size:Td(o)})));Cd.displayName="RemoveTokenButton",Cd.defaultProps={size:"medium"};var Ed=Cd;var Id=g("span").withConfig({displayName:"_TokenTextContainer__TokenTextContainer",componentId:"sc-4t2bev-0"})(["flex-grow:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:none;color:inherit;font:inherit;margin:0;overflow:visible;padding:0;width:auto;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;line-height:1;color:currentColor;text-decoration:none;&:is(a,button,[tabIndex='0']){cursor:pointer;&:after{content:'';position:absolute;left:0;top:0;right:0;bottom:0;}}"]);const Nd=g(Bd).withConfig({displayName:"Token__DefaultTokenStyled",componentId:"sc-1dg52pw-0"})(["background-color:",";border-color:",";border-style:solid;border-width:","px;color:",";max-width:100%;padding-right:",";position:relative;"," ",""],zt("colors.neutral.subtle"),(e=>e.isSelected?zt("colors.fg.default"):zt("colors.border.subtle")),1,(e=>e.isSelected?zt("colors.fg.default"):zt("colors.fg.muted")),(e=>e.hideRemoveButton?void 0:0),Zt,(e=>{if(e.isTokenInteractive)return u(["&:hover{background-color:",";box-shadow:",";color:",";}"],zt("colors.neutral.muted"),zt("colors.shadow.medium"),zt("colors.fg.default"))})),zd=g("span").withConfig({displayName:"Token__LeadingVisualContainer",componentId:"sc-1dg52pw-1"})(["flex-shrink:0;line-height:0;",""],(e=>{switch(e.size){case"large":case"extralarge":return u(["margin-right:",";"],zt("space.2"));default:return u(["margin-right:",";"],zt("space.1"))}})),_d=i(((t,r)=>{const{as:o,onRemove:a,id:n,leadingVisual:i,text:l,size:d,hideRemoveButton:s,href:c,onClick:g,...f}=t,p=xd(t)&&Boolean(a)&&!s,u={as:o,href:c,onClick:g};return e.createElement(Nd,Lt({onRemove:a,hideRemoveButton:s||!a,id:null==n?void 0:n.toString(),text:l,size:d,isTokenInteractive:xd(t)},p?{}:u,f,{ref:r}),i?e.createElement(zd,{size:d},e.createElement(i,null)):null,e.createElement(Id,p?u:{},l),!s&&a?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),a&&a()},size:d,isParentInteractive:xd(t),"aria-hidden":p?"true":"false",sx:p?{position:"relative",zIndex:"1"}:{}}):null)}));_d.displayName="Token",_d.defaultProps={size:"medium"};var Ad=_d;const Ld={small:0,medium:1,large:1,extralarge:2};function Rd({icon:o,contrast:a,className:n,block:i,disabled:l,theme:d,sx:s,tokens:c,onTokenRemove:g,tokenComponent:f,preventTokenWrapping:p,size:u,hideTokenRemoveButtons:b,maxHeight:m,width:h,minWidth:v,maxWidth:x,variant:y,visibleTokenCount:w,...B},k){const{onBlur:T,onFocus:S,onKeyDown:C,...E}=function(e){var t={};for(var r in e)hd.test(r)||(t[r]=e[r]);return t}(B),I=Sr(k),N=Fo(r(null),I),[z,_]=t(),[A,L]=t(Boolean(w)),{containerRef:R}=Ao({focusOutBehavior:"wrap",bindKeys:Ar.ArrowHorizontal|Ar.HomeAndEnd,focusableElementFilter:e=>!e.getAttributeNames().includes("aria-hidden"),getNextFocusable:e=>{var t;if(!z&&0!==z)return;let r=z+1;return"next"===e&&(r+=1),"previous"===e&&(r-=1),r>c.length||r<1?N.current||void 0:null===(t=R.current)||void 0===t?void 0:t.children[r]}},[z]),D=e=>{g(e),setTimeout((()=>{var e,t;const r=null===(e=R.current)||void 0===e?void 0:e.children[z||0],o=r&&xr(r)?r:Array.from((null===(t=R.current)||void 0===t?void 0:t.children)||[]).find((e=>xr(e)));var a;o?o.focus():null===(a=I.current)||void 0===a||a.focus()}),0)},F=()=>{_(void 0),setTimeout((()=>{var e;null!==(e=R.current)&&void 0!==e&&e.contains(document.activeElement)||!w||L(!0)}),0)},M=e=>{var t;"Escape"===e.key&&(null===(t=I.current)||void 0===t||t.focus())},P=e=>{e.stopPropagation()},H=A?c.slice(0,w):c;return e.createElement(Qa,{block:i,className:n,contrast:a,disabled:l,hasIcon:!!o,theme:d,width:h,minWidth:v,maxWidth:x,variant:y,onClick:()=>{var e;null===(e=N.current)||void 0===e||e.focus()},sx:{...i?{display:"flex",width:"100%"}:{},...m?{maxHeight:m,overflow:"auto"}:{},...p?{overflow:"auto"}:{},...s}},e.createElement(Qt,{ref:R,display:"flex",sx:{alignItems:"center",flexWrap:p?"nowrap":"wrap",marginLeft:"-0.25rem",marginBottom:"-0.25rem",flexGrow:1,"> *":{flexShrink:0,marginLeft:"0.25rem",marginBottom:"0.25rem"}}},e.createElement(Qt,{sx:{order:1,flexGrow:1}},o&&e.createElement(o,{className:"TextInput-icon"}),e.createElement(Ja,Lt({ref:N,disabled:l,onFocus:e=>{S&&S(e),_(void 0),w&&L(!1)},onBlur:e=>{T&&T(e),setTimeout((()=>{var e;null!==(e=R.current)&&void 0!==e&&e.contains(document.activeElement)||!w||L(!0)}),0)},onKeyDown:e=>{var t;if(C&&C(e),null!==(t=I.current)&&void 0!==t&&t.value)return;const r=c[c.length-1];"Backspace"===e.key&&r&&(D(r.id),I.current&&(I.current.value=`${r.text} `),setTimeout((()=>{var e;null===(e=I.current)||void 0===e||e.select()}),0))},type:"text",sx:{height:"100%"}},E))),f?H.map((({id:t,...r},o)=>{return e.createElement(f,Lt({key:t,onFocus:(a=o,()=>{_(a)}),onBlur:F,onKeyUp:M,onClick:P,isSelected:z===o,onRemove:()=>{D(t)},hideRemoveButton:b,size:u,tabIndex:0},r));var a})):null,A?e.createElement(Yn,{color:"fg.muted",fontSize:u&&Ld[u]},"+",c.length-H.length):null))}Rd.displayName="TextInputWithTokensInnerComponent";const Dd=e.forwardRef(Rd);Dd.defaultProps={tokenComponent:Ad,size:"extralarge",hideTokenRemoveButtons:!1,preventTokenWrapping:!1},Dd.displayName="TextInputWithTokens";var Fd=Dd;const Md=g.div.withConfig({displayName:"Timeline",componentId:"sc-c4dq2e-0"})(["display:flex;flex-direction:column;"," ",";"],(e=>e.clipSidebar&&u([".Timeline-Item:first-child{padding-top:0;}.Timeline-Item:last-child{padding-bottom:0;}"])),Zt),Pd=g.div.attrs((e=>({className:Ya("Timeline-Item",e.className)}))).withConfig({displayName:"Timeline__TimelineItem",componentId:"sc-c4dq2e-1"})(["display:flex;position:relative;padding:"," 0;margin-left:",";&::before{position:absolute;top:0;bottom:0;left:0;display:block;width:2px;content:'';background-color:",";}"," ",";"],zt("space.3"),zt("space.3"),zt("colors.border.muted"),(e=>e.condensed&&u(["padding-top:",";padding-bottom:0;&:last-child{padding-bottom:",";}.TimelineItem-Badge{height:16px;margin-top:",";margin-bottom:",";color:",";background-color:",";border:0;}"],zt("space.1"),zt("space.3"),zt("space.2"),zt("space.2"),zt("colors.fg.muted"),zt("colors.canvas.default"))),Zt),Hd=t=>e.createElement(Qt,{position:"relative",zIndex:1},e.createElement(Qt,{display:"flex",className:"TimelineItem-Badge",flexShrink:0,borderRadius:"50%",borderWidth:"2px",borderStyle:"solid",borderColor:"canvas.default",overflow:"hidden",color:"fg.muted",bg:"timeline.badgeBg",width:"32px",height:"32px",mr:2,ml:"-15px",alignItems:"center",justifyContent:"center",sx:t.sx},t.children));Hd.displayName="TimelineBadge";const Od=g.div.withConfig({displayName:"Timeline__TimelineBody",componentId:"sc-c4dq2e-2"})(["min-width:0;max-width:100%;margin-top:",";color:",";flex:auto;font-size:",";",";"],zt("space.1"),zt("colors.fg.muted"),zt("fontSizes.1"),Zt),jd=g.div.withConfig({displayName:"Timeline__TimelineBreak",componentId:"sc-c4dq2e-3"})(["position:relative z-index:1;height:24px;margin:0;margin-bottom:-",";margin-left:0;background-color:",";border:0;border-top:"," solid ",";",";"],zt("space.3"),zt("colors.canvas.default"),zt("space.1"),zt("colors.border.default"),Zt);Pd.displayName="Timeline.Item",Hd.displayName="Timeline.Badge",Od.displayName="Timeline.Body",jd.displayName="Timeline.Break";var Wd=Object.assign(Md,{Item:Pd,Badge:Hd,Body:Od,Break:jd});function $d(e,t,r){return Math.min(Math.max(e,r),t)}class Ud extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function qd(e){if("string"!=typeof e)throw new Ud(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Qd.test(e)?function(e){const t=e.toLowerCase().trim(),r=Vd[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Ud(e);return`#${r}`}(e):e;const r=Xd.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(Kd(e,2),16))),parseInt(Kd(e[3]||"f",2),16)/255]}const o=Yd.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=Jd.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const n=Zd.exec(t);if(n){const[t,r,o,a]=Array.from(n).slice(1).map(parseFloat);if($d(0,100,r)!==r)throw new Ud(e);if($d(0,100,o)!==o)throw new Ud(e);return[...ts(t,r,o),a||1]}throw new Ud(e)}const Gd=e=>parseInt(e.replace(/_/g,""),36),Vd="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=Gd(t.substring(0,3)),o=Gd(t.substring(3)).toString(16);let a="";for(let e=0;e<6-o.length;e++)a+="0";return e[r]=`${a}${o}`,e}),{}),Kd=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Xd=new RegExp(`^#${Kd("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Yd=new RegExp(`^#${Kd("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Jd=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Kd(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Zd=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Qd=/^[a-z]+$/i,es=e=>Math.round(255*e),ts=(e,t,r)=>{let o=r/100;if(0===t)return[o,o,o].map(es);const a=(e%360+360)%360/60,n=(1-Math.abs(2*o-1))*(t/100),i=n*(1-Math.abs(a%2-1));let l=0,d=0,s=0;a>=0&&a<1?(l=n,d=i):a>=1&&a<2?(l=i,d=n):a>=2&&a<3?(d=n,s=i):a>=3&&a<4?(d=i,s=n):a>=4&&a<5?(l=i,s=n):a>=5&&a<6&&(l=n,s=i);const c=o-n/2;return[l+c,d+c,s+c].map(es)};const rs={"--lightness-threshold":"0.453","--border-threshold":"0.96","--border-alpha":"max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1))",background:"rgb(var(--label-r), var(--label-g), var(--label-b))",color:"hsl(0, 0%, calc(var(--lightness-switch) * 100%))",borderWidth:1,borderStyle:"solid",borderColor:"hsla(var(--label-h),calc(var(--label-s) * 1%),calc((var(--label-l) - 25) * 1%),var(--border-alpha))"},os={"--lightness-threshold":"0.6","--background-alpha":"0.18","--border-alpha":"0.3","--lighten-by":"calc(((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * var(--lightness-switch))",borderWidth:1,borderStyle:"solid",background:"rgba(var(--label-r), var(--label-g), var(--label-b), var(--background-alpha))",color:"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))",borderColor:"hsla(var(--label-h), calc(var(--label-s) * 1%),calc((var(--label-l) + var(--lighten-by)) * 1%),var(--border-alpha))"},as=i(((t,r)=>{const{as:o,fillColor:a="#999",onRemove:i,id:l,isSelected:d,text:s,size:c,hideRemoveButton:g,href:f,onClick:p,...u}=t,b={as:o,href:f,onClick:p},{colorScheme:m}=Kt(),h=xd(t)&&Boolean(i)&&!g,v=n((()=>{const[e,t,r]=qd(a),[o,n,l]=function(e){const[t,r,o,a]=qd(e).map(((e,t)=>3===t?e:e/255)),n=Math.max(t,r,o),i=Math.min(t,r,o),l=(n+i)/2;if(n===i)return[0,0,l,a];const d=n-i;return[60*(t===n?(r-o)/d+(r<o?6:0):r===n?(o-t)/d+2:(t-r)/d+4),l>.5?d/(2-n-i):d/(n+i),l,a]}(a);return{"--label-r":String(e),"--label-g":String(t),"--label-b":String(r),"--label-h":String(Math.round(o)),"--label-s":String(Math.round(100*n)),"--label-l":String(Math.round(100*l)),"--perceived-lightness":"calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255)","--lightness-switch":"max(0, min(calc((var(--perceived-lightness) - var(--lightness-threshold)) * -1000), 1))",paddingRight:g||!i?void 0:0,position:"relative",..."light"===m?rs:os,...d?{background:"light"===m?"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 5) * 1%))":os.background,":focus":{outline:"none"},":after":{content:'""',position:"absolute",zIndex:1,top:"-2px",right:"-2px",bottom:"-2px",left:"-2px",display:"block",pointerEvents:"none",boxShadow:"0 0 0 2px "+("light"===m?"rgb(var(--label-r), var(--label-g), var(--label-b))":"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))"),borderRadius:"999px"}}:{}}}),[m,a,d,g,i]);return e.createElement(Bd,Lt({onRemove:i,id:null==l?void 0:l.toString(),isSelected:d,text:s,size:c,sx:v},h?{}:b,u,{ref:r}),e.createElement(Id,h?b:{},s),!g&&i?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),i&&i()},size:c,"aria-hidden":h?"true":"false",isParentInteractive:xd(t),sx:h?{position:"relative",zIndex:"1"}:{}}):null)}));as.defaultProps={fillColor:"#999",size:"medium"},as.displayName="IssueLabelToken";var ns=as;const is=g.span.withConfig({displayName:"AvatarToken__AvatarContainer",componentId:"sc-ubyudc-0"})(["--spacing:calc("," * 2);display:block;height:",";width:",";"],zt("space.1"),(e=>`calc(${vd[e.avatarSize]} - var(--spacing))`),(e=>`calc(${vd[e.avatarSize]} - var(--spacing))`)),ls=i((({avatarSrc:t,id:r,size:o,...a},n)=>e.createElement(Ad,Lt({leadingVisual:()=>e.createElement(is,{avatarSize:o||"medium"},e.createElement(pn,{src:t,size:parseInt(vd[o||"medium"],10),sx:{width:"100%",height:"100%"}})),size:o,id:null==r?void 0:r.toString(),sx:{paddingLeft:zt("space.1")}},a,{ref:n}))));ls.defaultProps={size:"medium"},ls.displayName="AvatarToken";var ds=ls;const ss=g.span.withConfig({displayName:"Tooltip__TooltipBase",componentId:"sc-kp39nc-0"})(["position:relative;&::before{position:absolute;z-index:1000001;display:none;width:0px;height:0px;color:",";pointer-events:none;content:'';border:6px solid transparent;opacity:0;}&::after{position:absolute;z-index:1000000;display:none;padding:0.5em 0.75em;font:normal normal 11px/1.5 ",";-webkit-font-smoothing:subpixel-antialiased;color:",";text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:",";border-radius:",";opacity:0;}@keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}&:hover,&:active,&:focus{&::before,&::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s;}}&.tooltipped-no-delay:hover,&.tooltipped-no-delay:active,&.tooltipped-no-delay:focus{&::before,&::after{animation-delay:0s;}}&.tooltipped-multiline:hover,&.tooltipped-multiline:active,&.tooltipped-multiline:focus{&::after{display:table-cell;}}&.tooltipped-s,&.tooltipped-se,&.tooltipped-sw{&::after{top:100%;right:50%;margin-top:6px;}&::before{top:auto;right:50%;bottom:-7px;margin-right:-6px;border-bottom-color:",";}}&.tooltipped-se{&::after{right:auto;left:50%;margin-left:-",";}}&.tooltipped-sw::after{margin-right:-",";}&.tooltipped-n,&.tooltipped-ne,&.tooltipped-nw{&::after{right:50%;bottom:100%;margin-bottom:6px;}&::before{top:-7px;right:50%;bottom:auto;margin-right:-6px;border-top-color:",";}}&.tooltipped-ne{&::after{right:auto;left:50%;margin-left:-",";}}&.tooltipped-nw::after{margin-right:-",";}&.tooltipped-s::after,&.tooltipped-n::after{transform:translateX(50%);}&.tooltipped-w{&::after{right:100%;bottom:50%;margin-right:6px;transform:translateY(50%);}&::before{top:50%;bottom:50%;left:-7px;margin-top:-6px;border-left-color:",";}}&.tooltipped-e{&::after{bottom:50%;left:100%;margin-left:6px;transform:translateY(50%);}&::before{top:50%;right:-7px;bottom:50%;margin-top:-6px;border-right-color:",";}}&.tooltipped-multiline{&::after{width:max-content;max-width:250px;word-wrap:break-word;white-space:pre-line;border-collapse:separate;}&.tooltipped-s::after,&.tooltipped-n::after{right:auto;left:50%;transform:translateX(-50%);}&.tooltipped-w::after,&.tooltipped-e::after{right:100%;}}&.tooltipped-align-right-2::after{right:0;margin-right:0;}&.tooltipped-align-right-2::before{right:15px;}&.tooltipped-align-left-2::after{left:0;margin-left:0;}&.tooltipped-align-left-2::before{left:10px;}",";"],zt("colors.neutral.emphasisPlus"),zt("fonts.normal"),zt("colors.fg.onEmphasis"),zt("colors.neutral.emphasisPlus"),zt("radii.1"),zt("colors.neutral.emphasisPlus"),zt("space.3"),zt("space.3"),zt("colors.neutral.emphasisPlus"),zt("space.3"),zt("space.3"),zt("colors.neutral.emphasisPlus"),zt("colors.neutral.emphasisPlus"),Zt);function cs({direction:t="n",children:r,className:o,text:a,noDelay:n,align:i,wrap:l,...d}){const s=Ya(o,`tooltipped-${t}`,i&&`tooltipped-align-${i}-2`,n&&"tooltipped-no-delay",l&&"tooltipped-multiline");return e.createElement(ss,Lt({role:"tooltip","aria-label":a},d,{className:s}),r)}cs.displayName="Tooltip",cs.alignments=["left","right"],cs.directions=["n","ne","e","se","s","sw","w","nw"];const gs=g.nav.withConfig({displayName:"UnderlineNav__UnderlineNavBase",componentId:"sc-zrnxqt-0"})(["display:flex;justify-content:space-between;border-bottom:1px solid ",";&.UnderlineNav--right{justify-content:flex-end;.UnderlineNav-item{margin-right:0;margin-left:",";}.UnderlineNav-actions{flex:1 1 auto;}}&.UnderlineNav--full{display:block;}.UnderlineNav-body{display:flex;margin-bottom:-1px;}.UnderlineNav-actions{align-self:center;}",";"],zt("colors.border.muted"),zt("space.3"),Zt);function fs({actions:t,className:r,align:o,children:a,full:n,label:i,theme:l,...d}){const s=Ya(r,"UnderlineNav",o&&`UnderlineNav--${o}`,n&&"UnderlineNav--full");return e.createElement(gs,Lt({className:s,"aria-label":i,theme:l},d),e.createElement("div",{className:"UnderlineNav-body"},a),t&&e.createElement("div",{className:"UnderlineNav-actions"},t))}fs.displayName="UnderlineNav";const ps=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("UnderlineNav-item",e.selected&&"selected",e.className)}))).withConfig({displayName:"UnderlineNav__UnderlineNavLink",componentId:"sc-zrnxqt-1"})(["padding:"," ",";margin-right:",";font-size:",";line-height:",";color:",";text-align:center;border-bottom:2px solid transparent;text-decoration:none;&:hover,&:focus{color:",";text-decoration:none;border-bottom-color:",";transition:0.2s ease;.UnderlineNav-octicon{color:",";}}&.selected{color:",";border-bottom-color:",";.UnderlineNav-octicon{color:",";}}",";"],zt("space.3"),zt("space.2"),zt("space.3"),zt("fontSizes.1"),zt("lineHeights.default"),zt("colors.fg.default"),zt("colors.fg.default"),zt("colors.neutral.muted"),zt("colors.fg.muted"),zt("colors.fg.default"),zt("colors.primer.border.active"),zt("colors.fg.default"),Zt);ps.displayName="UnderlineNav.Link";var us=Object.assign(fs,{Link:ps});const bs=g.input.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-i51804-0"})(["cursor:pointer;"," ",""],(e=>e.disabled&&"cursor: not-allowed;"),Zt),ms=e.forwardRef((({checked:t,indeterminate:r,disabled:o,sx:a,required:n,validationStatus:i,...d},s)=>{const c=Sr(s);return l((()=>{c.current&&(c.current.indeterminate=r||!1)}),[r,t,c]),e.createElement(bs,Lt({type:"checkbox",disabled:o,"aria-disabled":o?"true":"false",ref:s||c,checked:!r&&t,"aria-checked":r?"mixed":t?"true":"false",sx:a,required:n,"aria-required":n?"true":"false","aria-invalid":"error"===i?"true":"false"},d))}));ms.displayName="Checkbox";var hs=ms;export{dr as Absolute,Fa as ActionList,Ga as ActionMenu,gn as Autocomplete,pn as Avatar,mn as AvatarPair,xn as AvatarStack,ds as AvatarToken,Ft as BaseStyles,tr as BorderBox,Qt as Box,yn as BranchName,Cn as Breadcrumb,Sn as Breadcrumbs,$r as Button,fo as ButtonClose,Ur as ButtonDanger,Gr as ButtonGroup,Xr as ButtonInvisible,Vr as ButtonOutline,Kr as ButtonPrimary,Yr as ButtonTableList,On as Caret,hs as Checkbox,Un as CircleBadge,qn as CircleOcticon,fa as ConfirmationDialog,_n as CounterLabel,Vn as Details,oi as Dialog,gi as Dropdown,fi as DropdownButton,pi as DropdownMenu,xi as FilterList,ui as FilteredSearch,sr as Fixed,Bi as Flash,or as Flex,Si as FormGroup,nr as Grid,Ni as Header,zi as Heading,ns as IssueLabelToken,Di as Label,_i as LabelGroup,Mi as Link,Ln as NewButton,ja as Overlay,Pi as Pagehead,Wi as Pagination,qi as PointerBox,Ki as Popover,lr as Position,Zi as ProgressBar,cr as Relative,Ho as SSRProvider,Kl as SelectMenu,ed as SideNav,Tl as Spinner,nd as StateLabel,gr as Sticky,_o as StyledOcticon,cd as SubNav,bd as TabNav,Yn as Text,tn as TextInput,Fd as TextInputWithTokens,Jt as ThemeProvider,Wd as Timeline,Ad as Token,cs as Tooltip,xa as Truncate,us as UnderlineNav,x as theme,zt as themeGet,Xt as useColorSchemeVar,pa as useConfirm,fr as useDetails,Tr as useOnEscapePress,hr as useOnOutsideClick,wr as useOpenAndCloseFocus,Cr as useOverlay,jo as useSSRSafeId,pr as useSafeTimeout,Kt as useTheme};
|
2214
7
|
//# sourceMappingURL=browser.esm.js.map
|