forked from community/community
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path3977-ac4101a5fa3974b9.js.download
More file actions
1 lines (1 loc) · 24.9 KB
/
Copy path3977-ac4101a5fa3974b9.js.download
File metadata and controls
1 lines (1 loc) · 24.9 KB
1
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3977],{15238:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},17713:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(14232),a=n(67904),i=n(57596),o=n(3135),l=n(6529),s=n(10816),u=n(23713),c=n(509),d=n(74537),f=n(47459),h=n(79362),p=n(49665);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let g=a.Ay.div.withConfig({displayName:"LabelGroup__StyledLabelGroupContainer",componentId:"sc-6tqg8q-0"})(["display:flex;flex-wrap:nowrap;gap:",";line-height:1;max-width:100%;overflow:hidden;&[data-overflow='inline']{flex-wrap:wrap;}",";"],(0,l.Jt)("space.1"),p.A),v=a.Ay.div.withConfig({displayName:"LabelGroup__ItemWrapper",componentId:"sc-6tqg8q-1"})(["display:flex;align-items:center;min-height:28px;&.ItemWrapper--hidden{order:9999;pointer-events:none;visibility:hidden;}"]),b=(e,t,n)=>{var r;return n+e.right-((null==(r=t.current)?void 0:r.getBoundingClientRect().left)||0)},y=({collapseButtonRef:e,collapseInlineExpandedChildren:t,expandButtonRef:n,hiddenItemIds:a,isOverflowShown:i,showAllTokensInline:o,totalLength:l})=>i?r.createElement(f.Q,{ref:e,onClick:t,size:"small",variant:"invisible"},"Show less"):a.length?r.createElement(f.Q,{ref:n,variant:"invisible",size:"small",onClick:o},r.createElement(s.A,null,"Show all ",l),r.createElement("span",{"aria-hidden":"true"},"+",a.length)):null,x=({children:e,closeOverflowOverlay:t,expandButtonRef:n,hiddenItemIds:a,isOverflowShown:o,openOverflowOverlay:l,overlayPaddingPx:h,overlayWidth:p,totalLength:g})=>a.length?r.createElement(u.T,{open:o,onOpen:l,onClose:t,width:"auto",height:"auto",align:"start",side:"inside-right",anchorRef:n,anchorOffset:-1*h,alignmentOffset:-1*h,renderAnchor:e=>r.createElement(f.Q,m({variant:"invisible",size:"small"},e,{ref:n}),r.createElement(s.A,null,"Show all ",g),r.createElement("span",{"aria-hidden":"true"},"+",a.length)),focusZoneSettings:{disabled:!0}},r.createElement(c.A,{alignItems:"flex-start",display:"flex",width:p,padding:`${h}px`},r.createElement(c.A,{display:"flex",flexWrap:"wrap",sx:{gap:1}},e),r.createElement(d.K,{onClick:t,icon:i.XIcon,"aria-label":"Close",variant:"invisible",sx:{flexShrink:0}}))):null,w=({children:e,visibleChildCount:t,overflowStyle:n="overlay",sx:a})=>{let i=r.useRef(null),s=r.useRef(null),u=r.useRef(void 0),[c,d]=r.useState({}),[f,p]=r.useState(!1),[m,w]=r.useState({width:0,right:0,height:0,x:0,y:0,top:0,left:0,bottom:0,toJSON:()=>void 0}),{theme:C}=(0,h.DP)(),$=parseInt((0,l.Jt)("space.2")(C),10),k=Object.keys(c).filter(e=>!c[e]),E=k.length&&"overlay"===n?b(m,i,$):void 0,S=r.useCallback(e=>{if(null!==e){let t=e.getBoundingClientRect();(t.width!==m.width||t.right!==m.right)&&w(t),S.current=e}},[m]),O=r.useCallback(e=>{var t;let n=(null==(t=i.current)?void 0:t.children)||[],r={};for(let t of n){let n=t.getAttribute("data-index");n&&(r[n]=parseInt(n,10)<e)}d(r)},[]),A=r.useCallback(()=>p(!0),[p]),I=r.useCallback(()=>{p(!1)},[p]),M=r.useCallback(()=>{p(!1),t&&"number"==typeof t&&O(t),setTimeout(()=>{var e;null==(e=S.current)||e.focus()},10)},[S,O,t]),D=r.useCallback(()=>{d({}),p(!0)},[d,p]);return r.useEffect(()=>{if(t&&!f)if("auto"===t){let t=new IntersectionObserver(e=>{let t={};for(let n of e){let e=n.target.getAttribute("data-index");e&&(t[e]=n.isIntersecting)}d(e=>({...e,...t}))},{root:i.current,rootMargin:`0px -${m.width}px 0px 0px`,threshold:1});for(let n of(null==(e=i.current)?void 0:e.children)||[]){var e;n.getAttribute("data-index")&&t.observe(n)}return()=>t.disconnect()}else O(t)},[m,t,O,f]),r.useEffect(()=>{"overlay"!==n&&k.length&&(u.current=parseInt(k[0],10))},[k,n,f]),r.useEffect(()=>{if("overlay"===n)return;let e=document.querySelector(`[data-index="${u.current}"]`),t=e?(0,o.Z0)(e):null;if(f)if(t)t.focus();else{var r;null==(r=s.current)||r.focus()}},[n,f]),t?r.createElement(g,{ref:i,"data-overflow":"inline"===n&&f?"inline":void 0,sx:a},r.Children.map(e,(e,t)=>r.createElement(v,{"data-index":t,className:k.includes(t.toString())?"ItemWrapper--hidden":void 0},e)),"inline"===n?r.createElement(y,{collapseButtonRef:s,collapseInlineExpandedChildren:M,expandButtonRef:S,hiddenItemIds:k,isOverflowShown:f,showAllTokensInline:D,totalLength:r.Children.toArray(e).length}):r.createElement(x,{closeOverflowOverlay:I,expandButtonRef:S,hiddenItemIds:k,isOverflowShown:f,openOverflowOverlay:A,overlayPaddingPx:$,overlayWidth:E,totalLength:r.Children.toArray(e).length},e)):r.createElement(g,{"data-overflow":"inline",sx:a},e)};w.displayName="LabelGroup"},20627:(e,t,n)=>{"use strict";n.d(t,{O:()=>Y});var r=n(14232),a=n(509),i=n(49665);let o=(0,r.createContext)({theme:{},setChildrenWidth:()=>null,setNoIconChildrenWidth:()=>null,loadingCounters:!1,iconsVisible:!0});var l=n(55160),s=n(79362),u=n(10816),c=n(93813);let d=e=>({display:"inline-block",borderLeft:"1px solid",width:"1px",borderLeftColor:`${null==e?void 0:e.colors.border.muted}`,marginRight:1,height:"24px"}),f={margin:0,border:0,background:"transparent",fontWeight:"normal",boxShadow:"none",paddingY:1,paddingX:2,'& > span[data-component="trailingVisual"]':{marginLeft:0}},h={"& > span":{display:"none"},textDecoration:"none"},p={position:"absolute",zIndex:1,top:"90%",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)",borderRadius:"12px",backgroundColor:"canvas.overlay",listStyle:"none",minWidth:"192px",maxWidth:"640px",right:"0"},m=(e,t)=>{if(e&&t){let{left:n}=(0,c.uG)(e,t,{align:"start",side:"outside-bottom"}),{right:r,...a}=p;return{...a,left:n}}return p};var g=n(97225),v=n(67904),b=n(88079),y=n(49231),x=n(6529);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let C=v.Ay.div.withConfig({displayName:"UnderlineTabbedInterface__StyledUnderlineWrapper",componentId:"sc-4ilrg0-0"})(["display:flex;padding-inline:var(--stack-padding-normal,",");justify-content:flex-start;align-items:center;min-height:var(--control-xlarge-size,48px);box-shadow:inset 0px -1px var(--borderColor-muted,",");",";"],(0,x.Jt)("space.3"),(0,x.Jt)("colors.border.muted"),i.A),$=v.Ay.ul.withConfig({displayName:"UnderlineTabbedInterface__StyledUnderlineItemList",componentId:"sc-4ilrg0-1"})(["display:flex;list-style:none;white-space:nowrap;padding:0;margin:0;align-items:center;gap:","px;position:relative;"],8),k=v.Ay.div.withConfig({displayName:"UnderlineTabbedInterface__StyledUnderlineItem",componentId:"sc-4ilrg0-2"})(["appearance:none;background-color:transparent;border:0;cursor:pointer;font:inherit;position:relative;display:inline-flex;color:",";text-align:center;text-decoration:none;line-height:var(--text-body-lineHeight-medium,1.4285);border-radius:var(--borderRadius-medium,",");font-size:var(--text-body-size-medium,",");padding-inline:var(--control-medium-paddingInline-condensed,",");padding-block:var(--control-medium-paddingBlock,6px);align-items:center;@media (hover:hover){&:hover{background-color:var(--bgColor-neutral-muted,",");transition:background 0.12s ease-out;text-decoration:none;}}&:focus:{outline:2px solid transparent;box-shadow:inset 0 0 0 2px var(--fgColor-accent,",");&:not(:focus-visible){box-shadow:none;}}&:focus-visible{outline:2px solid transparent;box-shadow:inset 0 0 0 2px var(--fgColor-accent,",");}[data-content]::before{content:attr(data-content);display:block;height:0;font-weight:var(--base-text-weight-semibold,",");visibility:hidden;white-space:nowrap;}[data-component='icon']{color:var(--fgColor-muted,",");align-items:center;display:inline-flex;margin-inline-end:var(--control-medium-gap,",");}[data-component='counter']{margin-inline-start:var(--control-medium-gap,",");display:flex;align-items:center;}&::after{position:absolute;right:50%;bottom:calc(50% - calc(var(--control-xlarge-size,48px) / 2 + 1px));width:100%;height:2px;content:'';background-color:transparent;border-radius:0;transform:translate(50%,-50%);}&[aria-current]:not([aria-current='false']),&[aria-selected='true']{[data-component='text']{font-weight:var(--base-text-weight-semibold,",");}&::after{background-color:var(--underlineNav-borderColor-active,var(--color-primer-border-active,#fd8c73));}}@media (forced-colors:active){&[aria-current]:not([aria-current='false']),&[aria-selected='true']{::after{background-color:LinkText;}}}",";"],(0,x.Jt)("colors.fg.default"),(0,x.Jt)("radii.2"),(0,x.Jt)("fontSizes.1"),(0,x.Jt)("space.2"),(0,x.Jt)("colors.neutral.subtle"),(0,x.Jt)("colors.accent.fg"),(0,x.Jt)("colors.accent.fg"),(0,x.Jt)("fontWeights.semibold"),(0,x.Jt)("colors.fg.muted"),(0,x.Jt)("space.2"),(0,x.Jt)("space.2"),(0,x.Jt)("fontWeights.semibold"),i.A),E=(0,v.i7)(["from{opacity:1;}to{opacity:0.2;}"]),S=v.Ay.span.withConfig({displayName:"UnderlineTabbedInterface__LoadingCounter",componentId:"sc-4ilrg0-3"})(["animation:"," 1.2s ease-in-out infinite alternate;background-color:var(--bgColor-neutral-muted,",");border-color:var(--borderColor-default,",");width:1.5rem;height:1rem;display:inline-block;border-radius:20px;"],E,(0,x.Jt)("colors.neutral.subtle"),(0,x.Jt)("colors.border.default")),O=(0,r.forwardRef)(({as:e="a",children:t,counter:n,icon:a,iconsVisible:i,loadingCounters:o,sx:l=y.E,...s},u)=>r.createElement(k,w({ref:u,as:e,sx:l},s),i&&a&&r.createElement("span",{"data-component":"icon"},(0,g.isElement)(a)?a:r.createElement(a,null)),t&&r.createElement("span",{"data-component":"text","data-content":t},t),o?r.createElement("span",{"data-component":"counter"},r.createElement(S,null)):void 0!==n&&r.createElement("span",{"data-component":"counter"},r.createElement(b.A,null,n))));var A=n(47459),I=n(57596),M=n(13455),D=n(41470),_=n(98787),R=n(98602);function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}v.Ay.ul.withConfig({displayName:"UnderlineNav__NavigationList",componentId:"sc-1jfr31k-0"})(["",";"],i.A);let L=v.Ay.li.withConfig({displayName:"UnderlineNav__MoreMenuListItem",componentId:"sc-1jfr31k-1"})(["display:flex;align-items:center;height:","px;"],45),J=(e,t,n,r,a,i)=>{let o=!0;0===r.length&&i({items:n,menuItems:[]},o);let l=T(r,e),s=T(a,e),u=T(a,e,t||86),c=[],d=[];if(n.length<=l)c.push(...n);else if(n.length<=s)o=!1,c.push(...n);else{o=!1;let e=1==n.length-u?u-1:u;for(let[t,r]of n.entries())if(t<e)c.push(r);else{let t=r.props["aria-current"];if(t&&"false"!==t&&e>0){let t=e-1,n=c.splice(t,1,r)[0];d.push(n)}else d.push(r)}}i({items:c,menuItems:d},o)},W=e=>r.Children.toArray(e).filter(e=>r.isValidElement(e)),T=(e,t,n=0)=>{let r=t-n,a=e.length,i=0;for(let[t,n]of e.entries())if((i=i+n.width+8)>r){a=t;break}return a},j=(0,r.forwardRef)(({as:e="nav","aria-label":t,sx:n=y.E,loadingCounters:i=!1,children:c},g)=>{var v;let x=(0,r.useRef)(null),w=null!=g?g:x,k=(0,r.useRef)(null),E=(0,r.useRef)(null),O=(0,r.useRef)(null),T=r.useRef(null),j=(0,_.B)(),{theme:P}=(0,s.DP)(),[z,U]=(0,r.useState)(!1),[Y,B]=(0,r.useState)(!0),[H,V]=(0,r.useState)([]),[q,F]=(0,r.useState)([]),Z=W(c),[G,Q]=(0,r.useState)({items:Z,menuItems:[]}),X=G.items.map(e=>{var t;return null!=(t=Z.find(t=>t.key===e.key))?t:e}),K=G.menuItems.map(e=>{var t;return null!=(t=Z.find(t=>t.key===e.key))?t:e}),ee=0===G.items.length;function et(e){var t,n;return null!=(t=null==(n=q.find(t=>t.text===e))?void 0:n.width)?t:0}let en=(e,t,n,r)=>{var a,i;let o=function(e,t){let n=0,r=0;for(let[a,i]of[...G.items].reverse().entries())if(e<(n+=et(i.props.children))+t){r=a;break}return r}(et(e.props.children),w.current.getBoundingClientRect().width-(null!=(a=null==(i=k.current)?void 0:i.getBoundingClientRect().width)?a:0)),l=G.items.length-1-o,s=[...[...G.items].slice(0,l),e],u=[...G.items].slice(l),c=[...K];c.splice(t,1,...u),r({items:s,menuItems:c},!1)},er=(0,r.useCallback)((e,t)=>{Q(e),B(t)},[]),ea=(0,r.useCallback)(e=>{V(t=>[...t,e])},[]),ei=(0,r.useCallback)(e=>{F(t=>[...t,e])},[]),eo=r.useCallback(()=>{U(!1)},[U]),el=r.useCallback(()=>{var e;null==(e=O.current)||e.focus()},[]),es=(0,r.useCallback)(e=>{e.defaultPrevented||0!==e.button||U(e=>!e)},[]);return(0,M.P)(e=>{z&&(e.preventDefault(),eo(),el())},[z]),(0,D.g)({onClickOutside:eo,containerRef:T,ignoreClickRefs:[O]}),(0,l.w)(e=>{var t,n;let r=e[0].contentRect.width,a=null!=(t=null==(n=E.current)?void 0:n.getBoundingClientRect().width)?t:0;0!==r&&J(r,a,Z,H,q,er)},w),r.createElement(o.Provider,{value:{theme:P,setChildrenWidth:ea,setNoIconChildrenWidth:ei,loadingCounters:i,iconsVisible:Y}},t&&r.createElement(u.A,{as:"h2"},`${t} navigation`),r.createElement(C,{as:e,"aria-label":t,ref:w,sx:n},r.createElement($,{ref:k,role:"list"},X,K.length>0&&r.createElement(L,{ref:E},!ee&&r.createElement(a.A,{sx:d(P)}),r.createElement(A.Q,{ref:O,sx:f,"aria-controls":j,"aria-expanded":z,onClick:es,trailingAction:I.TriangleDownIcon},r.createElement(a.A,{as:"span"},ee?r.createElement(r.Fragment,null,r.createElement(u.A,{as:"span"},`${t}`,"\xa0"),"Menu"):r.createElement(r.Fragment,null,"More",r.createElement(u.A,{as:"span"},"\xa0",`${t} items`)))),r.createElement(R.l,{selectionVariant:"single",ref:T,id:j,sx:null!=(v=k.current)&&v.clientWidth&&k.current.clientWidth>=192?p:m(T.current,k.current),style:{display:z?"block":"none"}},K.map((e,t)=>{let{children:n,counter:o,"aria-current":l,onSelect:s,...u}=e.props;if(l&&"false"!==l){let n=new MouseEvent("click");ee||en(e,t,n,er)}return r.createElement(R.l.LinkItem,N({key:n,sx:h,onClick:n=>{ee||en(e,t,n,er),eo(),el(),"function"==typeof s&&s(n)}},u),r.createElement(a.A,{as:"span",sx:{display:"flex",alignItems:"center",justifyContent:"space-between"}},n,i?r.createElement(S,null):void 0!==o&&r.createElement(a.A,{as:"span","data-component":"counter"},r.createElement(b.A,null,o))))}))))))});j.displayName="UnderlineNav";var P=n(74357);function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let U=(0,r.forwardRef)(({sx:e=y.E,as:t="a",href:n="#",children:i,counter:l,onSelect:s,"aria-current":u,icon:c,...d},f)=>{let h=(0,r.useRef)(null),p=null!=f?f:h,{setChildrenWidth:m,setNoIconChildrenWidth:g,loadingCounters:v,iconsVisible:b}=(0,r.useContext)(o);(0,P.A)(()=>{if(p.current){let e=p.current.getBoundingClientRect(),t=Array.from(p.current.children).find(e=>"icon"===e.getAttribute("data-component")),n=Array.from(p.current.children).find(e=>"text"===e.getAttribute("data-component")).textContent,r=t?t.getBoundingClientRect().width+Number(getComputedStyle(t).marginRight.slice(0,-2))+Number(getComputedStyle(t).marginLeft.slice(0,-2)):0;m({text:n,width:e.width}),g({text:n,width:e.width-r})}},[p,m,g]);let x=r.useCallback(e=>{" "!==e.key&&"Enter"!==e.key||e.defaultPrevented||"function"!=typeof s||s(e)},[s]),w=r.useCallback(e=>{e.defaultPrevented||"function"!=typeof s||s(e)},[s]);return r.createElement(a.A,{as:"li",sx:{display:"flex",flexDirection:"column",alignItems:"center"}},r.createElement(O,z({ref:p,as:t,href:n,"aria-current":u,onKeyDown:x,onClick:w,counter:l,icon:c,loadingCounters:v,iconsVisible:b,sx:e},d),i))});U.displayName="UnderlineNavItem";let Y=Object.assign(j,{Item:U})},32261:(e,t,n)=>{e.exports=n(15238)({"&":"&","<":"<",">":">",'"':""","'":"'"})},32757:(e,t,n)=>{var r=n(32261),a=n(12438),i=/[&<>"']/g,o=RegExp(i.source);e.exports=function(e){return(e=a(e))&&o.test(e)?e.replace(i,r):e}},56557:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",a="week",i="month",o="quarter",l="year",s="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof x||!(!e||!e[m])},v=function e(t,n,r){var a;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(a=i),n&&(p[i]=n,a=i);var o=t.split("-");if(!a&&o.length>1)return e(o[0])}else{var l=t.name;p[l]=t,a=l}return!r&&a&&(h=a),a||!r&&h},b=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},y={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),a=t.clone().add(r,i),o=n-a<0,l=t.clone().add(r+(o?-1:1),i);return+(-(r+(n-a)/(o?a-l:l-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:i,y:l,w:a,d:"day",D:s,h:r,m:n,s:t,ms:e,Q:o})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=v,y.i=g,y.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var a=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return y},h.isValid=function(){return this.$d.toString()!==u},h.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return b(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<b(e)},h.$g=function(e,t,n){return y.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,o){var u=this,c=!!y.u(o)||o,d=y.p(e),f=function(e,t){var n=y.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},h=function(e,t){return y.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,m=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case l:return c?f(1,0):f(31,11);case i:return c?f(1,m):f(0,m+1);case a:var b=this.$locale().weekStart||0,x=(p<b?p+7:p)-b;return f(c?g-x:g+(6-x),m);case"day":case s:return h(v+"Hours",0);case r:return h(v+"Minutes",1);case n:return h(v+"Seconds",2);case t:return h(v+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(a,o){var u,c=y.p(a),d="set"+(this.$u?"UTC":""),f=((u={}).day=d+"Date",u[s]=d+"Date",u[i]=d+"Month",u[l]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],h="day"===c?this.$D+(o-this.$W):o;if(c===i||c===l){var p=this.clone().set(s,1);p.$d[f](h),p.init(),this.$d=p.set(s,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[y.p(e)]()},h.add=function(e,o){var s,u=this;e=Number(e);var c=y.p(o),d=function(t){var n=b(u);return y.w(n.date(n.date()+Math.round(t*e)),u)};if(c===i)return this.set(i,this.$M+e);if(c===l)return this.set(l,this.$y+e);if("day"===c)return d(1);if(c===a)return d(7);var f=((s={})[n]=6e4,s[r]=36e5,s[t]=1e3,s)[c]||1,h=this.$d.getTime()+e*f;return y.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",a=y.z(this),i=this.$H,o=this.$m,l=this.$M,s=n.weekdays,c=n.months,f=n.meridiem,h=function(e,n,a,i){return e&&(e[n]||e(t,r))||a[n].slice(0,i)},p=function(e){return y.s(i%12||12,e,"0")},m=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return l+1;case"MM":return y.s(l+1,2,"0");case"MMM":return h(n.monthsShort,l,c,3);case"MMMM":return h(c,l);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,s,2);case"ddd":return h(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(i,o,!0);case"A":return m(i,o,!1);case"m":return String(o);case"mm":return y.s(o,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,s,u){var c,d=this,f=y.p(s),h=b(e),p=(h.utcOffset()-this.utcOffset())*6e4,m=this-h,g=function(){return y.m(d,h)};switch(f){case l:c=g()/12;break;case i:c=g();break;case o:c=g()/3;break;case a:c=(m-p)/6048e5;break;case"day":c=(m-p)/864e5;break;case r:c=m/36e5;break;case n:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:y.a(c)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return y.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),w=x.prototype;return b.prototype=w,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",i],["$y",l],["$D",s]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,x,b),e.$i=!0),b},b.locale=v,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=p[h],b.Ls=p,b.p={},b}()},67017:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(14232),a=n(67904),i=n(23968),o=n(6529),l=n(49665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let u=a.Ay.span.withConfig({displayName:"Label__StyledLabel",componentId:"sc-1dgcne-0"})(["align-items:center;background-color:transparent;border-width:1px;border-radius:999px;border-style:solid;display:inline-flex;font-weight:",";font-size:",";line-height:1;white-space:nowrap;",";",";",";"],(0,o.Jt)("fontWeights.bold"),(0,o.Jt)("fontSizes.0"),(0,i.Ox)({variants:{default:{borderColor:"border.default"},primary:{borderColor:"fg.default"},secondary:{borderColor:"border.muted",color:"fg.muted"},accent:{borderColor:"accent.emphasis",color:"accent.fg"},success:{borderColor:"success.emphasis",color:"success.fg"},attention:{borderColor:"attention.emphasis",color:"attention.fg"},severe:{borderColor:"severe.emphasis",color:"severe.fg"},danger:{borderColor:"danger.emphasis",color:"danger.fg"},done:{borderColor:"done.emphasis",color:"done.fg"},sponsors:{borderColor:"sponsors.emphasis",color:"sponsors.fg"}}}),(0,i.Ox)({prop:"size",variants:{small:{height:"20px",padding:"0 7px"},large:{height:"24px",padding:"0 10px"}}}),l.A),c=r.forwardRef(function({as:e,size:t="small",variant:n="default",...a},i){return r.createElement(u,s({as:e,size:t,variant:n,ref:i},a))})},87851:(e,t,n)=>{"use strict";function r(e,t){return function(e,t){var n=e;if(!n)return Promise.resolve(t());var r=n.ownerDocument.documentElement,a=function(e){for(var t=[];e;){var n=e.getBoundingClientRect(),r=n.top,a=n.left;t.push({element:e,top:r,left:a}),e=e.parentElement}return t}(n);return Promise.resolve(t()).then(function(e){var t=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(r.contains(n.element))return n}}(a);if(t){n=t.element;var i=t.top,o=t.left,l=n.getBoundingClientRect(),s=l.top,u=l.left;!function(e,t,n){var r=e.ownerDocument,a=r.defaultView;function i(e){return e.offsetParent?{top:e.scrollTop,left:e.scrollLeft}:{top:a.pageYOffset,left:a.pageXOffset}}function o(e){var t=e;if(t.offsetParent&&t!==r.body){for(;t!==r.body;){if(!t.parentElement)return;t=t.parentElement;var n=a.getComputedStyle(t),i=n.position,o=n.overflowY,l=n.overflowX;if("fixed"===i||"auto"===o||"auto"===l||"scroll"===o||"scroll"===l)break}return t}}for(var l=o(e),s=0,u=0;l;){var c=function(e,t,n){if(0===t&&0===n)return[0,0];var o=i(e),l=o.top+n,s=o.left+t;e===r||e===a||e===r.documentElement||e===r.body?r.defaultView.scrollTo(s,l):(e.scrollTop=l,e.scrollLeft=s);var u=i(e);return[u.left-o.left,u.top-o.top]}(l,t-s,n-u);if(s+=c[0],u+=c[1],s===t&&u===n)break;l=o(l)}}(n,u-o,s-i)}return e})}(function(e){if(e.activeElement!==e.body)return e.activeElement;var t=e.querySelectorAll(":hover"),n=t.length;if(n)return t[n-1]}(e),t)}n.d(t,{JR:()=>r})}}]);