dren:e,className:r,sx:t={},as:n="div","aria-label":l,role:c},d)=>{let s=(0,b.u)(w),g={display:"grid",gridTemplateColumns:"auto auto auto auto 1fr",gridTemplateAreas:`
      'context-area context-area context-area context-area context-area'
      'leading-action  breadcrumbs title-area trailing-action actions'
      'description description description description description'
      'navigation navigation navigation navigation navigation'
    `,'&:has([data-component="TitleArea"][data-size-variant="large"])':{fontSize:"var(--custom-font-size, var(--text-title-size-large, 2rem))",lineHeight:"var(--custom-line-height, var(--text-title-lineHeight-large, 1.5))",fontWeight:"var(--custom-font-weight, var(--base-text-weight-normal, 400))","--title-line-height":"var(--custom-line-height, var(--text-title-lineHeight-large, 1.5))"},'&:has([data-component="TitleArea"][data-size-variant="medium"])':{fontSize:"var(--custom-font-size, var(--text-title-size-medium, 1.25rem))",lineHeight:"var(--custom-line-height, var(--text-title-lineHeight-medium, 1.6))",fontWeight:"var(--custom-font-weight, var(--base-text-weight-semibold, 600))","--title-line-height":"var(--custom-line-height, var(--text-title-lineHeight-medium, 1.6))"},'&:has([data-component="TitleArea"][data-size-variant="subtitle"])':{fontSize:"var(--custom-font-size, var(--text-title-size-medium, 1.25rem))",lineHeight:"var(--custom-line-height, var(--text-title-lineHeight-medium, 1.6))",fontWeight:"var(--custom-font-weight, var(--base-text-weight-normal, 400))","--title-line-height":"var(--custom-line-height, var(--text-title-lineHeight-medium, 1.6))"},'[data-component="PH_LeadingAction"], [data-component="PH_TrailingAction"],[data-component="PH_Actions"], [data-component="PH_LeadingVisual"], [data-component="PH_TrailingVisual"]':{height:"calc(var(--title-line-height) * 1em)"}},m=(0,v.L)(d);return(0,o.useEffect)(function(){},[e,m]),o.createElement(a.A,{ref:m,as:n,className:(0,u.$)(s&&f.PageHeader,r),sx:s?t:i()(g,t),"aria-label":l,role:c},e)}),E=({children:e,className:r,hidden:t=x,sx:n={}})=>{let l=(0,b.u)(w),c={gridRow:p.ContextArea,gridArea:"context-area",display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:"0.5rem",gap:"0.5rem",...(0,g.Dr)(t,"display",e=>e?"none":"flex"),fontWeight:"initial",lineHeight:"var(--text-body-lineHeight-medium, 1.4285)",fontSize:"var(--text-body-size-medium, 0.875rem)"};return o.createElement(a.A,m({className:(0,u.$)(l&&f.ContextArea,r),sx:l?n:i()(c,n)},H(l,t)),e)};E.displayName="ContextArea";let B=o.forwardRef(({children:e,className:r,sx:t={},href:n,"aria-label":l,as:c="a",hidden:v=x},p)=>{let h=(0,b.u)(w);return o.createElement(o.Fragment,null,o.createElement(s.A,m({ref:p,as:c,"aria-label":l,muted:!0,className:(0,u.$)(h&&f.ParentLink,r),sx:h?t:i()({display:"flex",alignItems:"center",order:y.ParentLink,gap:"0.5rem",...(0,g.Dr)(v,"display",e=>e?"none":"flex")},t)},H(h,v),{href:n}),o.createElement(d.ArrowLeftIcon,null),o.createElement(a.A,null,e)))});B.displayName="ParentLink";let T=({children:e,className:r,sx:t={},hidden:n=x})=>{let l=(0,b.u)(w);return o.createElement(a.A,m({className:(0,u.$)(l&&f.ContextBar,r),sx:l?t:i()({display:"flex",order:y.ContextBar,...(0,g.Dr)(n,"display",e=>e?"none":"flex")},t)},H(l,n)),e)};T.displayName="ContextBar";let A=({children:e,className:r,sx:t={},hidden:n=x})=>{let l=(0,b.u)(w);return o.createElement(a.A,m({className:(0,u.$)(l&&f.ContextAreaActions,r)},H(l,n),{sx:l?t:i()({display:"flex",flexDirection:"row",order:y.ContextAreaActions,alignItems:"center",gap:"0.5rem",flexGrow:"1",justifyContent:"right",...(0,g.Dr)(n,"display",e=>e?"none":"flex")},t)},H(l,n)),e)};A.displayName="ContextAreaActions";let S=o.forwardRef(({children:e,className:r,sx:t={},hidden:l=!1,variant:c="medium"},d)=>{let s=(0,b.u)(w),h=(0,v.L)(d),y=(0,n.tv)(c,"medium");return o.createElement(a.A,m({className:(0,u.$)(s&&f.TitleArea,r),ref:h,"data-component":"TitleArea","data-size-variant":y,sx:s?t:i()({gridRow:p.TitleArea,gridArea:"title-area",display:"flex",gap:"0.5rem",...(0,g.Dr)(l,"display",e=>e?"none":"flex"),flexDirection:"row",alignItems:"flex-start"},t)},H(s,l)),e)});S.displayName="TitleArea";let I=({children:e,className:r,sx:t={},hidden:n=C})=>{let l=(0,b.u)(w),c={},{height:d}=t;return d&&(c["--custom-height"]=d),o.createElement(a.A,m({className:(0,u.$)(l&&f.LeadingAction,r),"data-component":"PH_LeadingAction",sx:l?t:i()({gridRow:p.LeadingAction,gridArea:"leading-action",paddingRight:"0.5rem",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"flex"),alignItems:"center"},t),style:c},H(l,n)),e)};I.displayName="LeadingAction";let N=({children:e,className:r,sx:t={},hidden:n=!1})=>{let l=(0,b.u)(w);return o.createElement(a.A,m({className:(0,u.$)(l&&f.Breadcrumbs,r),"data-component":"PH_Breadcrumbs",sx:l?t:i()({gridRow:p.Breadcrumbs,gridArea:"breadcrumbs",paddingRight:"0.5rem",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"flex"),alignItems:"center",fontWeight:"initial",lineHeight:"var(--text-body-lineHeight-medium, 1.4285)",fontSize:"var(--text-body-size-medium, 0.875rem)"},t)},H(l,n)),e)};N.displayName="Breadcrumbs";let L=({children:e,className:r,sx:t={},hidden:n=!1})=>{let l=(0,b.u)(w),c={},{height:d}=t;return d&&(c["--custom-height"]=d),o.createElement(a.A,m({className:(0,u.$)(l&&f.LeadingVisual,r),"data-component":"PH_LeadingVisual",sx:l?t:i()({display:"flex",order:h.LeadingVisual,...(0,g.Dr)(n,"display",e=>e?"none":"flex"),alignItems:"center"},t),style:c},H(l,n)),e)};L.displayName="LeadingVisual";let _=({children:e,className:r,sx:t={},hidden:a=!1,as:n="h2"})=>{let l=(0,b.u)(w),d={},{fontSize:s,lineHeight:v,fontWeight:p}=t;return s&&(d["--custom-font-size"]=s),v&&(d["--custom-line-height"]=v),p&&(d["--custom-font-weight"]=p),o.createElement(c.A,m({className:(0,u.$)(l&&f.Title,r),"data-component":"PH_Title","data-hidden":a,as:n,style:d,sx:l?t:i()({display:"flex",order:h.Title,...(0,g.Dr)(a,"display",e=>e?"none":"block"),fontSize:"inherit",fontWeight:"inherit"},t)},H(l,a)),e)};_.displayName="Title";let P=({children:e,className:r,sx:t={},hidden:n=!1})=>{let l=(0,b.u)(w),c={},{height:d}=t;return d&&(c["--custom-height"]=d),o.createElement(a.A,m({className:(0,u.$)(l&&f.TrailingVisual,r),"data-component":"PH_TrailingVisual",sx:l?t:i()({display:"flex",order:h.TrailingVisual,...(0,g.Dr)(n,"display",e=>e?"none":"flex"),alignItems:"center"},t),style:c},H(l,n)),e)};P.displayName="TrailingVisual";let O=({children:e,className:r,sx:t={},hidden:n=C})=>{let l=(0,b.u)(w),c={},{height:d}=t;return d&&(c["--custom-height"]=d),o.createElement(a.A,m({className:(0,u.$)(l&&f.TrailingAction,r),"data-component":"PH_TrailingAction",sx:l?t:i()({gridRow:p.TrailingAction,gridArea:"trailing-action",paddingLeft:"0.5rem",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"flex"),alignItems:"center"},t),style:c},H(l,n)),e)};O.displayName="TrailingAction";let M=({children:e,className:r,sx:t={},hidden:n=!1})=>{let l=(0,b.u)(w),c={},{height:d}=t;return d&&(c["--custom-height"]=d),o.createElement(a.A,m({className:(0,u.$)(l&&f.Actions,r),"data-component":"PH_Actions",sx:l?t:i()({gridRow:p.Actions,gridArea:"actions",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"flex"),flexDirection:"row",paddingLeft:"0.5rem",gap:"0.5rem",minWidth:"max-content",justifyContent:"right",alignItems:"center"},t),style:c},H(l,n)),e)};M.displayName="Actions";let j=({children:e,className:r,sx:t={},hidden:n=!1})=>{let l=(0,b.u)(w);return o.createElement(a.A,m({className:(0,u.$)(l&&f.Description,r),sx:l?t:i()({gridRow:p.Description,gridArea:"description",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"flex"),flexDirection:"row",alignItems:"center",paddingTop:"0.5rem",gap:"0.5rem",fontWeight:"initial",lineHeight:"var(--text-body-lineHeight-medium, 1.4285)",fontSize:"var(--text-body-size-medium, 0.875rem)"},t)},H(l,n)),e)};j.displayName="Description";let R=({children:e,className:r,sx:t={},hidden:n=!1,as:l,"aria-label":c,"aria-labelledby":d})=>{let s=(0,b.u)(w);return o.createElement(a.A,m({as:l,"aria-label":"nav"===l?c:void 0,"aria-labelledby":"nav"===l?d:void 0,className:(0,u.$)(s&&f.Navigation,r),sx:s?t:i()({gridRow:p.Navigation,gridArea:"navigation",paddingTop:"0.5rem",display:"flex",...(0,g.Dr)(n,"display",e=>e?"none":"block"),fontWeight:"initial",lineHeight:"var(--text-body-lineHeight-medium, 1.4285)",fontSize:"var(--text-body-size-medium, 0.875rem)"},t)},H(s,n)),e)};function H(e,r){if(!e)return{};if(!(0,n.W8)(r))return{"data-hidden-all":r||void 0};{let e="narrow"in r?{"data-hidden-narrow":r.narrow||void 0}:{},t="regular"in r?{"data-hidden-regular":r.regular||void 0}:{},o="wide"in r?{"data-hidden-wide":r.wide||void 0}:{};return(0,g.Ho)(r)?{"data-hidden-all":r.narrow||void 0}:(0,g.gb)(r)?{...e,...t}:{...e,...t,...o}}}R.displayName="Navigation";let V=Object.assign(k,{ContextArea:E,ParentLink:B,ContextBar:T,TitleArea:S,ContextAreaActions:A,LeadingAction:I,Breadcrumbs:N,LeadingVisual:L,Title:_,TrailingVisual:P,TrailingAction:O,Actions:M,Description:j,Navigation:R});V.displayName="PageHeader"},31655:(e,r,t)=>{t.d(r,{M:()=>K});var o=t(96540),a=t(38267),n=t(20053),l=t(75177),i=t(32947),c=t(64515),d=t(27389),s=t(24021),g=t(14744),v=t.n(g),b=t(7129),u=t(17092),f=t(40094),m=t(45221),p=t(33071);let h=!!b.S&&CSS.supports("-webkit-touch-callout","none"),y=!!b.S&&CSS.supports("max-height","100dvh")&&h;function x(e){return y?`${e}dvh`:`${e}vh`}var C=t(48521),w={PageLayoutRoot:"prc-PageLayout-PageLayoutRoot-1zlEO",PageLayoutWrapper:"prc-PageLayout-PageLayoutWrapper-s2ao4",PageLayoutContent:"prc-PageLayout-PageLayoutContent-jzDMn",HorizontalDivider:"prc-PageLayout-HorizontalDivider-CYLp5",VerticalDivider:"prc-PageLayout-VerticalDivider-4A4Qm",Header:"prc-PageLayout-Header-mQXK1",HeaderContent:"prc-PageLayout-HeaderContent-dVIQb",HeaderHorizontalDivider:"prc-PageLayout-HeaderHorizontalDivider-bofyb",ContentWrapper:"prc-PageLayout-ContentWrapper-b-QRo",Content:"prc-PageLayout-Content--F7-I",PaneWrapper:"prc-PageLayout-PaneWrapper-nGO0U",PaneVerticalDivider:"prc-PageLayout-PaneVerticalDivider-1c9vy",Pane:"prc-PageLayout-Pane-Vl5LI",PaneHorizontalDivider:"prc-PageLayout-PaneHorizontalDivider-4exOb",FooterWrapper:"prc-PageLayout-FooterWrapper-WZwgZ",FooterHorizontalDivider:"prc-PageLayout-FooterHorizontalDivider-sNLmj",FooterContent:"prc-PageLayout-FooterContent-UFWGW"};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(null,arguments)}let E={paneStart:1,content:2,paneEnd:3,footer:4},B={none:0,condensed:3,normal:[3,null,null,4]},T=o.createContext({padding:"normal",rowGap:"normal",columnGap:"normal",paneRef:{current:null}}),A="primer_react_css_modules_staff",S={full:"100%",medium:"768px",large:"1012px",xlarge:"1280px"},I=({containerWidth:e="xlarge",padding:r="normal",rowGap:t="normal",columnGap:a="normal",children:i,sx:c={},className:d,style:g,_slotsConfig:b})=>{let{rootRef:u,enableStickyPane:h,disableStickyPane:y,contentTopRef:E,contentBottomRef:I,stickyPaneHeight:N}=function(){let e=o.useRef(null),[r,t]=o.useState(x(100)),[a,n]=o.useState(0),[l,i,c]=(0,f.Wx)(),[d,s]=(0,f.Wx)(),g=o.useCallback(()=>{let r="",o=(0,p.B)(e.current),n=null==c?void 0:c.target.getBoundingClientRect(),l="number"==typeof a?`${a}px`:a;if(o){let e=o.getBoundingClientRect(),t=n?Math.max(n.top-e.top,0):0;r=`calc(${e.height}px - (max(${t}px, ${l})))`}else{let e=n?Math.max(n.top,0):0;r=`calc(${x(100)} - (max(${e}px, ${l})))`}t(r)},[c,a]),[v,b]=o.useState(!1);return(0,m.A)(()=>{let r=(0,p.B)(e.current);return v&&(i||s)&&(g(),r?r.addEventListener("scroll",g):window.addEventListener("scroll",g),window.addEventListener("resize",g)),()=>{r?r.removeEventListener("scroll",g):window.removeEventListener("scroll",g),window.removeEventListener("resize",g)}},[v,i,s,g]),{rootRef:e,enableStickyPane:function(e){b(!0),n(e)},disableStickyPane:function(){b(!1)},contentTopRef:l,contentBottomRef:d,stickyPaneHeight:r}}(),L=(0,o.useRef)(null),_=(0,C.u)(A),[P,O]=(0,s.H)(i,null!=b?b:{header:M,footer:J}),j=_?{sx:c,className:(0,n.$)(w.PageLayoutRoot,d)}:{sx:v()({padding:B[r]},c),className:d},R=_?{className:w.PageLayoutWrapper,"data-width":e}:{sx:{maxWidth:S[e],marginX:"auto",display:"flex",flexWrap:"wrap"}},H=_?{className:(0,n.$)(w.PageLayoutContent,d)}:{sx:{display:"flex",flex:"1 1 100%",flexWrap:"wrap",maxWidth:"100%"}};return o.createElement(T.Provider,{value:{padding:r,rowGap:t,columnGap:a,enableStickyPane:h,disableStickyPane:y,contentTopRef:E,contentBottomRef:I,paneRef:L}},o.createElement(l.A,k({ref:u,style:{"--sticky-pane-height":N,"--spacing":`var(--spacing-${r})`,...g}},j),o.createElement(l.A,R,P.header,o.createElement(l.A,H,O),P.footer)))};I.displayName="Root",I.displayName="PageLayout";let N={none:{display:"none"},line:{display:"block",height:1,backgroundColor:"border.default"},filled:{display:"block",height:8,backgroundColor:"canvas.inset",boxShadow:e=>`inset 0 -1px 0 0 ${e.colors.border.default}, inset 0 1px 0 0 ${e.colors.border.default}`}},L=({variant:e="none",sx:r={},className:t,position:a,style:i})=>{let{padding:c}=o.useContext(T),s=(0,d.tv)(e,"none"),g=(0,C.u)(A)?{sx:r,className:(0,n.$)(w.HorizontalDivider,t),"data-variant":s,"data-position":a,style:{"--spacing-divider":`var(--spacing-${c})`,...i}}:{sx:e=>v()({marginX:function(e){return Array.isArray(e)?e.map(e=>null===e?null:-e):null===e?null:-e}(B[c]),...N[s],[`@media screen and (min-width: ${e.breakpoints[1]})`]:{marginX:"0 !important"}},r),className:t,style:i};return o.createElement(l.A,g)};L.displayName="HorizontalDivider";let _={none:{display:"none"},line:{display:"block",width:1,backgroundColor:"border.default"},filled:{display:"block",width:8,backgroundColor:"canvas.inset",boxShadow:e=>`inset -1px 0 0 0 ${e.colors.border.default}, inset 1px 0 0 0 ${e.colors.border.default}`}},P=(0,a.DU)(['body[data-page-layout-dragging="true"]{cursor:col-resize;}body[data-page-layout-dragging="true"] *{user-select:none;}']),O=({variant:e="none",draggable:r=!1,onDragStart:t,onDrag:a,onDragEnd:i,onDoubleClick:c,position:s,className:g,style:b,sx:u={}})=>{let[f,m]=o.useState(!1),[p,h]=o.useState(!1),y=(0,d.tv)(e,"none"),x=(0,C.u)(A),k=o.useRef(a),E=o.useRef(i),{paneRef:B}=o.useContext(T),[S,I]=o.useState(0),[N,L]=o.useState(0),[O,M]=o.useState(0);o.useEffect(()=>{if(null!==B.current){let e=getComputedStyle(B.current),r=e.getPropertyValue("--pane-max-width-diff"),t=e.getPropertyValue("--pane-min-width"),o=B.current.getBoundingClientRect().width,a=Number(r.split("px")[0]),n=Number(t.split("px")[0]),l=window.innerWidth;I(n),L(l>a?l-a:l),M(o||0)}},[B,p,f]),o.useEffect(()=>{k.current=a},[a]),o.useEffect(()=>{E.current=i},[i]),o.useEffect(()=>{function e(e){var r;null===(r=k.current)||void 0===r||r.call(k,e.movementX,!1),e.preventDefault()}function r(e){var r;m(!1),null===(r=E.current)||void 0===r||r.call(E),e.preventDefault()}function t(e){var r;let t=0;if(("ArrowLeft"===e.key||"ArrowDown"===e.key)&&O>S)t=-3;else{if("ArrowRight"!==e.key&&"ArrowUp"!==e.key||!(O<N))return;t=3}M(O+t),null===(r=k.current)||void 0===r||r.call(k,t,!0),e.preventDefault()}function o(e){var r;h(!1),null===(r=E.current)||void 0===r||r.call(E),e.preventDefault()}if(f||p){window.addEventListener("mousemove",e),window.addEventListener("keydown",t),window.addEventListener("mouseup",r),window.addEventListener("keyup",o);let a=document.body;null==a||a.setAttribute("data-page-layout-dragging","true")}else{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("keydown",t),window.removeEventListener("keyup",o);let a=document.body;null==a||a.removeAttribute("data-page-layout-dragging")}return()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("keydown",t),window.removeEventListener("keyup",o);let a=document.body;null==a||a.removeAttribute("data-page-layout-dragging")}},[f,p,O,S,N]);let j=x?{sx:u,className:(0,n.$)(w.VerticalDivider,g),"data-variant":y,"data-position":s,style:b}:{sx:v()({height:"100%",position:"relative",..._[y]},u),className:g,style:b};return o.createElement(l.A,j,r?o.createElement(o.Fragment,null,o.createElement(l.A,{sx:{position:"absolute",inset:"0 -2px",cursor:"col-resize",bg:f||p?"accent.fg":"transparent",transitionDelay:"0.1s","&:hover":{bg:f||p?"accent.fg":"neutral.muted"}},role:"slider","aria-label":"Draggable pane splitter","aria-valuemin":S,"aria-valuemax":N,"aria-valuenow":O,"aria-valuetext":`Pane width ${O} pixels`,tabIndex:0,onMouseDown:e=>{0===e.button&&(m(!0),null==t||t())},onKeyDown:e=>{("ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key)&&(h(!0),null==t||t())},onDoubleClick:c}),!x&&o.createElement(P,null)):null)};O.displayName="VerticalDivider";let M=({"aria-label":e,"aria-labelledby":r,padding:t="none",divider:a="none",dividerWhenNarrow:i="inherit",hidden:c=!1,children:s,style:g,sx:b={},className:u})=>{let f=(0,d.W8)(a)||"inherit"===i?a:{regular:a,narrow:i},m=(0,d.tv)(f,"none"),p=(0,d.tv)(c,!1),{rowGap:h}=o.useContext(T),y=(0,C.u)(A),x=y?{sx:b,className:(0,n.$)(w.Header,u),style:{"--spacing":`var(--spacing-${h})`}}:{sx:v()({width:"100%",marginBottom:B[h]},b),className:u},E=y?{className:w.HeaderContent,style:{"--spacing":`var(--spacing-${t})`}}:{sx:{padding:B[t]}},S=y?{className:w.HeaderHorizontalDivider,style:{"--spacing":`var(--spacing-${h})`}}:{sx:{marginTop:B[h]}};return o.createElement(l.A,k({as:"header","aria-label":e,"aria-labelledby":r,hidden:p,style:g},x),o.createElement(l.A,E,s),o.createElement(L,k({variant:m},S)))};M.displayName="Header",M.displayName="PageLayout.Header";let j={full:"100%",medium:"768px",large:"1012px",xlarge:"1280px"},R=({as:e="main","aria-label":r,"aria-labelledby":t,width:a="full",padding:i="none",hidden:c=!1,children:s,sx:g={},className:b,style:u})=>{let f=(0,d.tv)(c,!1),{contentTopRef:m,contentBottomRef:p}=o.useContext(T),h=(0,C.u)(A),y=h?{sx:g,className:(0,n.$)(w.ContentWrapper,b),"data-is-hidden":f}:{sx:v()({display:f?"none":"flex",flexDirection:"column",order:E.content,flexBasis:0,flexGrow:1,flexShrink:1,minWidth:1},g),className:b},x=h?{className:w.Content,"data-width":a,style:{"--spacing":`var(--spacing-${i})`}}:{sx:{width:"100%",maxWidth:j[a],marginX:"auto",flexGrow:1,padding:B[i]}};return o.createElement(l.A,k({as:e,"aria-label":r,"aria-labelledby":t,style:u},y),o.createElement(l.A,{ref:m}),o.createElement(l.A,x,s),o.createElement(l.A,{ref:p}))};R.displayName="Content",R.displayName="PageLayout.Content";let H=e=>void 0!==e.default,V=e=>["small","medium","large"].includes(e),z={start:E.paneStart,end:E.paneEnd},D={small:["100%",null,"240px","256px"],medium:["100%",null,"256px","296px"],large:["100%",null,"256px","320px"]},$={small:256,medium:296,large:320},F={tabIndex:0,role:"region"},W=o.forwardRef(({"aria-label":e,"aria-labelledby":r,position:t="end",positionWhenNarrow:a="inherit",width:s="medium",minWidth:g=256,padding:f="none",resizable:m=!1,widthStorageKey:p="paneWidth",divider:h="none",dividerWhenNarrow:y="inherit",sticky:x=!1,offsetHeader:E=0,hidden:S=!1,children:I,id:N,sx:_={},className:P,style:M},j)=>{let R=(0,C.u)(A),W=(0,d.W8)(t)||"inherit"===a?t:{regular:t,narrow:a},J=(0,d.tv)(W,"end"),K=(0,d.W8)(h)||"inherit"===y?h:{regular:h,narrow:y},G=(0,d.tv)(K,"none"),U=(0,d.tv)(S,!1),{rowGap:q,columnGap:Z,enableStickyPane:X,disableStickyPane:Q,paneRef:Y}=o.useContext(T);o.useEffect(()=>{x?null==X||X(E):null==Q||Q()},[x,X,Q,E]);let ee=e=>V(e)?$[e]:H(e)?Number(e.default.split("px")[0]):0,[er,et]=o.useState(()=>{let e;if(!b.S)return ee(s);try{e=localStorage.getItem(p)}catch(r){e=null}return e&&!isNaN(Number(e))?Number(e):ee(s)}),eo=e=>{et(e);try{localStorage.setItem(p,e.toString())}catch(e){}};(0,c.T)(j,Y);let ea=(0,u.s)(Y),en=(0,i.B)(N),el={};ea&&(r?el["aria-labelledby"]=r:e&&(el["aria-label"]=e));let ei=R?{sx:_,className:(0,n.$)(w.PaneWrapper,P),style:{"--offset-header":"number"==typeof E?`${E}px`:E,"--spacing-row":`var(--spacing-${q})`,"--spacing-column":`var(--spacing-${Z})`,...M},"data-is-hidden":U,"data-position":J,"data-sticky":x||void 0}:{className:P,sx:e=>v()({display:U?"none":"flex",order:z[J],width:"100%",marginX:0,..."end"===J?{flexDirection:"column",marginTop:B[q]}:{flexDirection:"column-reverse",marginBottom:B[q]},[`@media screen and (min-width: ${e.breakpoints[1]})`]:{width:"auto",marginY:"0 !important",...x?{position:"sticky",top:"number"==typeof E?`${E}px`:E,maxHeight:"var(--sticky-pane-height)"}:{},..."end"===J?{flexDirection:"row-reverse",marginLeft:B[Z]}:{flexDirection:"row",marginRight:B[Z]}}},_),style:M},ec=R?{className:w.PaneHorizontalDivider,style:{"--spacing":`var(--spacing-${q})`}}:{sx:{["end"===J?"marginBottom":"marginTop"]:B[q]}},ed=R?{className:w.PaneVerticalDivider,style:{"--spacing":`var(--spacing-${Z})`}}:{sx:{["end"===J?"marginRight":"marginLeft"]:B[Z]}},es=R?{className:w.Pane,"data-resizable":m||void 0,style:{"--spacing":`var(--spacing-${f})`,"--pane-min-width":H(s)?s.min:`${g}px`,"--pane-max-width":H(s)?s.max:"calc(100vw - var(--pane-max-width-diff))","--pane-width-custom":H(s)?s.default:void 0,"--pane-width-size":`var(--pane-width-${V(s)?s:"custom"})`,"--pane-width":`${er}px`}}:{sx:e=>({"--pane-min-width":H(s)?s.min:`${g}px`,"--pane-max-width-diff":"511px","--pane-max-width":H(s)?s.max:"calc(100vw - var(--pane-max-width-diff))",width:m?["100%",null,"clamp(var(--pane-min-width), var(--pane-width), var(--pane-max-width))"]:V(s)?D[s]:s.default,padding:B[f],overflow:[null,null,"auto"],[`@media screen and (min-width: ${e.breakpoints[3]})`]:{"--pane-max-width-diff":"959px"}}),style:{"--pane-width":`${er}px`}};return o.createElement(l.A,ei,o.createElement(L,k({variant:{narrow:G,regular:"none"}},ec,{position:J})),o.createElement(l.A,k({ref:Y},ea?F:{},el,N&&{id:en},es),I),o.createElement(O,k({variant:{narrow:"none",regular:m?"line":G},draggable:m,onDrag:(e,r=!1)=>{eo(er+(r?e:"end"===J?-e:e))},onDragEnd:()=>{var e;let r=null===(e=Y.current)||void 0===e?void 0:e.getBoundingClientRect();r&&eo(r.width)},position:J,onDoubleClick:()=>eo(ee(s))},ed)))});W.displayName="PageLayout.Pane";let J=({"aria-label":e,"aria-labelledby":r,padding:t="none",divider:a="none",dividerWhenNarrow:i="inherit",hidden:c=!1,children:s,sx:g={},className:b,style:u})=>{let f=(0,d.W8)(a)||"inherit"===i?a:{regular:a,narrow:i},m=(0,d.tv)(f,"none"),p=(0,d.tv)(c,!1),{rowGap:h}=o.useContext(T),y=(0,C.u)(A),x=y?{className:(0,n.$)(w.FooterWrapper,b),sx:g,style:{"--spacing":`var(--spacing-${h})`,...u}}:{className:b,sx:v()({order:E.footer,width:"100%",marginTop:B[h]},g),style:u},S=y?{className:w.FooterHorizontalDivider,style:{"--spacing":`var(--spacing-${h})`}}:{sx:{marginBottom:B[h]}},I=y?{className:w.FooterContent,style:{"--spacing":`var(--spacing-${t})`}}:{sx:{padding:B[t]}};return o.createElement(l.A,k({as:"footer","aria-label":e,"aria-labelledby":r,hidden:p},x),o.createElement(L,k({},S,{variant:m})),o.createElement(l.A,I,s))};J.displayName="Footer",J.displayName="PageLayout.Footer";let K=Object.assign(I,{Header:M,Content:R,Pane:W,Footer:J})},75396:(e,r,t)=>{t.d(r,{A:()=>d});var o=t(96540),a=t(20053),n={Pagehead:"prc-Pagehead-Pagehead-Dyaie"},l=t(44683),i=t(75177);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(null,arguments)}let d=({className:e,sx:r=l.E,...t})=>r!==l.E||t.as?o.createElement(i.A,c({sx:r,className:(0,a.$)(n.Pagehead,e)},t)):o.createElement("div",c({className:(0,a.$)(n.Pagehead,e)},t));d.displayName="Pagehead"},49211:(e,r,t)=>{t.d(r,{A:()=>h});var o=t(96540),a=t(38267),n=t(75177),l=t(59299),i=t(44999),c=t(27389),d=t(10822),s=t(48521),g=t(20053),v={Page:"prc-Pagination-Page-yoEQf",PaginationContainer:"prc-Pagination-PaginationContainer-yNDPO",TablePaginationSteps:"prc-Pagination-TablePaginationSteps-RRjtg"};function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(null,arguments)}let u="primer_react_css_modules_staff",f=e=>e&&"boolean"!=typeof e?Object.keys(e).filter(r=>!e[r]):e?[]:Object.keys(c.DX),m=(0,d.Z)(u,"a",a.Ay.a.withConfig({displayName:"Pagination__Page",componentId:"sc-cp45c9-0"})(["display:inline-block;min-width:32px;height:32px;padding:0.5rem calc((2rem - 1.25rem) / 2);font-style:normal;line-height:1;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;}background-color:transparent;border-radius:",";transition:background-color 0.2s cubic-bezier(0.3,0,0.5,1);&:hover,&:focus{text-decoration:none;background-color:",";outline:0;transition-duration:0.1s;}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}&:active{border-color:",";}&[rel='prev'],&[rel='next']{color:",";}&[aria-current],&[aria-current]:hover{color:",";background-color:",";border-color:transparent;}&[aria-current]:focus-visible{outline:2px solid ",";outline-offset:-2px;box-shadow:inset 0 0 0 3px ",";}&[aria-hidden],&[aria-hidden]:hover,&[role='presentation'],&[role='presentation']:hover{color:",";cursor:default;background-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 );}}"],(0,l.Jt)("colors.fg.default"),(0,l.Jt)("space.1"),(0,l.Jt)("radii.2"),(0,l.Jt)("colors.actionListItem.default.hoverBg"),(0,l.Jt)("colors.accent.emphasis"),(0,l.Jt)("colors.border.muted"),(0,l.Jt)("colors.accent.fg"),(0,l.Jt)("colors.fg.onEmphasis"),(0,l.Jt)("colors.accent.emphasis"),(0,l.Jt)("colors.accent.emphasis"),(0,l.Jt)("colors.fg.onEmphasis"),(0,l.Jt)("colors.primer.fg.disabled"),(0,l.Jt)("space.1"),(0,l.Jt)("space.1"))),p=(0,d.Z)(u,"nav",a.Ay.nav.withConfig({displayName:"Pagination__PaginationContainer",componentId:"sc-cp45c9-1"})(["margin-top:20px;margin-bottom:15px;text-align:center;"," ",";"],Object.keys(c.DX).map(e=>`
      @media (${c.DX[e]}) {
        .TablePaginationSteps[data-hidden-viewport-ranges*='${e}'] > *:not(:first-child):not(:last-child) {
          display: none;
        }

        .TablePaginationSteps[data-hidden-viewport-ranges*='${e}'] > *:first-child {
          margin-inline-end: 0;
        }

        .TablePaginationSteps[data-hidden-viewport-ranges*='${e}'] > *:last-child {
          margin-inline-start: 0;
        }
      }
    `).join(""),i.A));function h({theme:e,pageCount:r,currentPage:t,onPageChange:a=x,hrefBuilder:l=y,marginPageCount:i=1,showPages:c=!0,surroundingPageCount:d=2,...h}){let C=function({theme:e,pageCount:r,currentPage:t,onPageChange:a,hrefBuilder:n,marginPageCount:l,showPages:i,surroundingPageCount:c}){let d=o.useCallback(e=>r=>a(r,e),[a]),f=(0,s.u)(u),p=o.useMemo(()=>(function(e,r,t,o,a){let n={type:"PREV",num:r-1,disabled:1===r},l={type:"NEXT",num:r+1,disabled:r===e};if(!t)return[n,l];if(e<=0)return[n,{...l,disabled:!0}];let i=[],c=a+o;if(e<=c+c+3)return m(1,e,!1),[n,...i,l];let d=0,s=0;r-c-1<=1?s=r-c-2:d=r-c-1;let g=0,v=0;e-r-c<=1?v=e-r-c-1:g=e-r-c;let b=d>0,u=g>0;return m(1,o,b),b&&f(o),m(o+d+v+1,e-s-g-o,u),u&&f(e-s-g-o),m(e-o+1,e),[n,...i,l];function f(e){i.push({type:"BREAK",num:e+1})}function m(e,t,o=!1){for(let a=e;a<=t;a++)i.push({type:"NUM",num:a,selected:a===r,precedesBreak:a===t&&o})}})(r,t,!!i,l,c),[r,t,i,l,c]);return o.useMemo(()=>p.map(r=>{let{props:t,key:a,content:l}=function(e,r,t){let o={},a="",n="";switch(e.type){case"PREV":n="page-prev",a="Previous",e.disabled?Object.assign(o,{rel:"prev","aria-hidden":"true","aria-disabled":"true"}):Object.assign(o,{rel:"prev",href:r(e.num),"aria-label":"Previous Page",onClick:t});break;case"NEXT":n="page-next",a="Next",e.disabled?Object.assign(o,{rel:"next","aria-hidden":"true","aria-disabled":"true"}):Object.assign(o,{rel:"next",href:r(e.num),"aria-label":"Next Page",onClick:t});break;case"NUM":n=`page-${e.num}`,a=String(e.num),Object.assign(o,{href:r(e.num),"aria-label":`Page ${e.num}${e.precedesBreak?"...":""}`,onClick:t,"aria-current":e.selected?"page":void 0});break;case"BREAK":n=`page-${e.num}-break`,a="\u2026",Object.assign(o,{as:"span",role:"presentation"})}return{props:o,key:n,content:a}}(r,n,d(r.num));return o.createElement(m,b({},t,{key:a,theme:e,className:(0,g.$)(f&&v.Page)}),l)}),[p,n,d,e,f])}({theme:e,pageCount:r,currentPage:t,onPageChange:a,hrefBuilder:l,marginPageCount:i,showPages:c,surroundingPageCount:d}),w=(0,s.u)(u);return o.createElement(p,b({className:(0,g.$)(w&&v.PaginationContainer),"aria-label":"Pagination"},h,{theme:e}),o.createElement(n.A,{display:"inline-block",theme:e,className:v.TablePaginationSteps,"data-hidden-viewport-ranges":f(c).join(" ")},C))}function y(e){return`#${e}`}function x(){}h.displayName="Pagination"},32226:(e,r,t)=>{t.d(r,{A:()=>f});var o=t(96540),a=t(38267),n=t(75177),l=t(57304);let i={top:"Bottom",right:"Left",bottom:"Top",left:"Right"},c={top:"Left",right:"Top",bottom:"Left",left:"Top"},d=(0,l.iF)({prop:"bg",key:"colors"}),s=(0,l.iF)({prop:"borderColor",key:"colors"}),g=(0,l.iF)({prop:"borderWidth",key:"borderWidths",scale:[0,1]});function v(e){var r;let t=o.useContext(a.Dx),n={...e,bg:e.bg||"canvas.default",borderColor:e.borderColor||"border.default",borderWidth:e.borderWidth||1,theme:null!==(r=e.theme)&&void 0!==r?r:t},{bg:l}=d(n),{borderColor:v}=s(n),{borderWidth:b}=g(n),{size:u=8,location:f="bottom"}=e,[m,p]=function(e){let[r,t]=e.split("-");return[r,t]}(f),h=c[m],y=[-u,0],x=[0,u],C=[u,0],w=`M${y}L${x}L${C}L${y}Z`,k=`M${y}L${x}L${C}`,E={top:`translate(${[u,2*u]}) rotate(180)`,right:`translate(${[0,u]}) rotate(-90)`,bottom:`translate(${[u,0]})`,left:`translate(${[2*u,u]}) rotate(90)`}[m];return o.createElement("svg",{width:2*u,height:2*u,style:{pointerEvents:"none",position:"absolute",...function(e,r,t){let o=i[e].toLowerCase(),a=c[e].toLowerCase();return{[o]:"100%",[r||a]:r?t:"50%"}}(m,p,u),[`margin${h}`]:p?null:-u},role:"presentation"},o.createElement("g",{transform:E},o.createElement("path",{d:w,fill:null==t?void 0:t.colors.canvas.default}),o.createElement("path",{d:w,fill:l}),o.createElement("path",{d:k,fill:"none",stroke:v,strokeWidth:b})))}v.displayName="Caret",v.locations=["top","top-left","top-right","right","right-top","right-bottom","bottom","bottom-left","bottom-right","left","left-top","left-bottom"];var b=t(59299);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(null,arguments)}function f(e){let r=o.useContext(a.Dx),{bg:t,border:l,borderColor:i,theme:c,sx:d}=e,{caret:s,children:g,...f}=e,{bg:m,backgroundColor:p,...h}=d||{},y=c||r,x=t||m||p,C={bg:t||(null==d?void 0:d.bg)||(null==d?void 0:d.backgroundColor),borderColor:i||(null==d?void 0:d.borderColor),borderWidth:l,location:s,theme:y};return o.createElement(n.A,u({},{borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2},f,{sx:{...h,"--custom-bg":(0,b.Jt)(`colors.${x}`)({theme:y}),backgroundImage:x?`linear-gradient(var(--custom-bg), var(--custom-bg)), linear-gradient(${y.colors.canvas.default}, ${y.colors.canvas.default})`:void 0,position:"relative"}}),g,o.createElement(v,C))}f.displayName="PointerBox"},98939:(e,r,t)=>{t.d(r,{A:()=>h});var o=t(20053),a=t(38267),n=t(59299),l=t(44999),i=t(10822),c=t(48521),d={Popover:"prc-Popover-Popover-v1ShS",PopoverContent:"prc-Popover-PopoverContent-nMzFS"},s=t(96540);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(null,arguments)}let v="primer_react_css_modules_ga",b=a.Ay.div.attrs(({className:e,caret:r="top"})=>({className:(0,o.$)(e,`caret-pos--${r}`)})).withConfig({displayName:"Popover__StyledPopover",componentId:"sc-q9r75g-0"})(["position:",";z-index:100;display:",";",";"],e=>e.relative?"relative":"absolute",e=>e.open?"block":"none",l.A),u=(0,i.Z)(v,"div",b),f=s.forwardRef(function({className:e,caret:r="top",open:t,relative:a,...n},l){return(0,c.u)(v)?s.createElement(u,g({},n,{ref:l,"data-open":t?"":void 0,"data-relative":a?"":void 0,"data-caret":r,className:(0,o.$)(e,d.Popover)})):s.createElement(u,g({},n,{className:e,caret:r,open:t,relative:a}))});f.displayName="Popover";let m=(0,i.Z)(v,"div",a.Ay.div.withConfig({displayName:"Popover__StyledPopoverContent",componentId:"sc-q9r75g-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:-1