티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[97174,98540],{1117:(e,t,i)=>{i.d(t,{N:()=>em,$:()=>eu});var n=i(74848),a=i(96540),r=i(68273),o=i(16522),s=i(96760),l=i(78314),c=i(35898),d=i(71315),m=i(38621),u=i(72511),h=i(21373),p=i(57478),f=i(34164),x=i(21935),y=i(83878);let v=”Comment-module__commit-discussion-comments–GlkCu”,w=”Comment-module__discussion-comments-rose–JwtpK”;var g=i(24967),C=i(81945);let j=(0,r.kw)()?()=>{let e,t=(0,o.c)(1);return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,n.jsx)(“div”,{className:”d-flex gap-2″,children:(0,n.jsx)(“div”,{className:”flex-1 border overflow-x-auto rounded-2 borderColor-muted color-shadow-small”,children:(0,n.jsxs)(“div”,{className:”d-flex flex-column gap-2 m-3″,children:[(0,n.jsxs)(“div”,{className:”d-flex flex-items-center gap-2″,children:[(0,n.jsx)(C.O,{variant:”elliptical”,height:”xl”,width:”xl”}),(0,n.jsx)(C.O,{variant:”rounded”,height:”sm”,width:”150px”})]}),[void 0,void 0].map(b),(0,n.jsx)(g.e,{})]})})}),t[0]=e):e=t[0],e}:()=>(0,n.jsx)(“div”,{className:”d-flex gap-2″,children:(0,n.jsx)(“div”,{className:”flex-1 border overflow-x-auto rounded-2 borderColor-muted color-shadow-small”,children:(0,n.jsxs)(“div”,{className:”d-flex flex-column gap-2 m-3″,children:[(0,n.jsxs)(“div”,{className:”d-flex flex-items-center gap-2″,children:[(0,n.jsx)(C.O,{variant:”elliptical”,height:”xl”,width:”xl”}),(0,n.jsx)(C.O,{variant:”rounded”,height:”sm”,width:”150px”})]}),[void 0,void 0].map((e,t)=>(0,n.jsx)(C.O,{variant:”rounded”,height:”sm”,width:”random”},t)),(0,n.jsx)(g.e,{})]})})});try{j.displayName||(j.displayName=”CommentLoading”)}catch{}function b(e,t){return(0,n.jsx)(C.O,{variant:”rounded”,height:”sm”,width:”random”},t)}var N=i(26156),k=i(18559),S=i(23656),I=i(21086),_=i(38829),A=i(26076),L=i(19805),E=i(30617),T=i(49245),M=i(68534),R=i(42118),B=i(81034),$=i(88431);let O=(0,a.forwardRef)(({initialMarkdown:e,onCancel:t,onSave:i,referenceId:r,buttonText:o,commentContent:s},l)=>{let[c,d]=(0,a.useState)(!1),m=(0,a.useRef)(null),u=(0,a.useRef)(void 0),{commentBoxSubject:h}=(0,E.X)(),p=(0,a.useCallback)(()=>{},[]),{markdownBody:f,resetMarkdownBody:x,markdownValidationResult:y,handleMarkdownBodyChanged:v}=(0,B.x)({commentBoxRef:m,markdownComposerRef:l,onChange:p,onCancel:()=>{},referenceId:r,insidePortal:!1});(0,a.useEffect)(()=>{e&&!f&&v(e)},[e]),(0,a.useEffect)(()=>{if(s&&u.current!==s){v(s),u.current=s;let e=window.setTimeout(()=>{m.current&&(m.current?.scrollIntoView(),m.current?.focus())},0);return()=>{window.clearTimeout(e)}}},[s]),(0,$.N)(()=>{if(m&&m.current){let e=window.setTimeout(()=>{m.current?.focus()},0);return()=>{window.clearTimeout(e)}}},[m]);let w=async()=>{d(!0),await i(f,x),d(!1)};return(0,n.jsx)(R.hF,{ref:m,validationResult:y,disabled:c,onChange:e=>{v(e)},onCancel:()=>{v(“”),t?.()},onSave:w,saveButtonText:o,saveButtonTrailingIcon:!1,value:f,teamHovercardsEnabled:!0,fileUploadsEnabled:!0,subject:h})});O.displayName=”CommitCommentEditor”;let P=(0,r.kw)()?function(e){let t,i,r=(0,o.c)(10),{comment:s,commitOid:l,onCancel:c,onUpdate:d}=e,{editComment:m}=(0,E.X)(),u=(0,a.useRef)(null);r[0]!==s||r[1]!==m||r[2]!==d?(t=async e=>{let t=await m(e,s);t.updatedFields&&d({…s,…t.updatedFields})},r[0]=s,r[1]=m,r[2]=d,r[3]=t):t=r[3];let h=t,p=`${l}-${s.id}`;return r[4]!==s.body||r[5]!==l||r[6]!==c||r[7]!==h||r[8]!==p?(i=(0,n.jsx)(O,{commitOid:l,initialMarkdown:s.body,ref:u,onSave:h,onCancel:c,referenceId:p,buttonText:”Update comment”}),r[4]=s.body,r[5]=l,r[6]=c,r[7]=h,r[8]=p,r[9]=i):i=r[9],i}:function({comment:e,commitOid:t,onCancel:i,onUpdate:r}){let{editComment:o}=(0,E.X)(),s=(0,a.useRef)(null),l=async t=>{let i=await o(t,e);i.updatedFields&&r({…e,…i.updatedFields})};return(0,n.jsx)(O,{commitOid:t,initialMarkdown:e.body,ref:s,onSave:l,onCancel:i,referenceId:`${t}-${e.id}`,buttonText:”Update comment”})};try{P.displayName||(P.displayName=”UpdateCommitComment”)}catch{}let D=(0,r.kw)()?function(e){let t,i,a=(0,o.c)(17),{comments:r,commit:s,locked:l,deleteComment:c,updateComment:d,setNewCommentContent:m,repoOwnerGlobalRelayId:u}=e;if(0===r.length)return null;if(a[0]!==r||a[1]!==s||a[2]!==c||a[3]!==l||a[4]!==u||a[5]!==m||a[6]!==d){let e;a[8]!==s||a[9]!==c||a[10]!==l||a[11]!==u||a[12]!==m||a[13]!==d?(e=e=>(0,n.jsx)(F,{comment:e,commit:s,locked:l,deleteComment:c,updateComment:d,setNewCommentContent:m,repoOwnerGlobalRelayId:u},e.id),a[8]=s,a[9]=c,a[10]=l,a[11]=u,a[12]=m,a[13]=d,a[14]=e):e=a[14],t=r.map(e),a[0]=r,a[1]=s,a[2]=c,a[3]=l,a[4]=u,a[5]=m,a[6]=d,a[7]=t}else t=a[7];return a[15]!==t?(i=(0,n.jsx)(“div”,{className:”d-flex flex-column gap-3″,children:t}),a[15]=t,a[16]=i):i=a[16],i}:function({comments:e,commit:t,locked:i,deleteComment:a,updateComment:r,setNewCommentContent:o,repoOwnerGlobalRelayId:s}){return 0===e.length?null:(0,n.jsx)(“div”,{className:”d-flex flex-column gap-3″,children:e.map(e=>(0,n.jsx)(F,{comment:e,commit:t,locked:i,deleteComment:a,updateComment:r,setNewCommentContent:o,repoOwnerGlobalRelayId:s},e.id))})},F=(0,r.kw)()?function(e){let t,i,r,s,c,d,m,u,h,p,f,x=(0,o.c)(46),{comment:y,commit:v,locked:w,deleteComment:C,updateComment:j,setNewCommentContent:b,repoOwnerGlobalRelayId:N}=e,k=(0,l.t)(),[S,I]=(0,a.useState)(!1),[_,R]=(0,a.useState)(y.isHidden),B=(0,a.useRef)(null),{deleteComment:$,hideComment:O,unhideComment:D}=(0,E.X)();x[0]!==y.id||x[1]!==$||x[2]!==C?(t=async()=>{let e=await $(y.id.toString());”canceled”===e||”error”!==e&&”success”===e&&C(y.id)},x[0]=y.id,x[1]=$,x[2]=C,x[3]=t):t=x[3];let F=t;x[4]!==j?(i=e=>{j(e),I(!1)},x[4]=j,x[5]=i):i=x[5];let K=i;x[6]!==y||x[7]!==O||x[8]!==j?(r=async e=>{let t=await O(y.id.toString(),e);”error”!==t&&”success”===t&&(j({…y,isHidden:!0,minimizedReason:e}),R(!0))},x[6]=y,x[7]=O,x[8]=j,x[9]=r):r=x[9];let G=r;x[10]!==y||x[11]!==D||x[12]!==j?(s=async()=>{let e=await D(y.id.toString());”error”!==e&&”success”===e&&(j({…y,isHidden:!1,minimizedReason:null}),R(!1))},x[10]=y,x[11]=D,x[12]=j,x[13]=s):s=x[13];let X=s,W=v.authors.length>0?v.authors[0]?.login:””;x[14]!==y||x[15]!==v||x[16]!==k||x[17]!==N?(c=(0,T.p)(y,v,k,N),x[14]=y,x[15]=v,x[16]=k,x[17]=N,x[18]=c):c=x[18],x[19]!==v.oid?(d=(0,M.F)(v.oid),x[19]=v.oid,x[20]=d):d=x[20],x[21]!==c||x[22]!==d?(m={…c,referenceText:d},x[21]=c,x[22]=d,x[23]=m):m=x[23];let Q=m;x[24]===Symbol.for(“react.memo_cache_sentinel”)?(u=()=>{I(!0)},x[24]=u):u=x[24];let Y=y.viewerCanReadUserContentEdits&&!!y.lastUserContentEdit;return x[25]!==y||x[26]!==W||x[27]!==_||x[28]!==F||x[29]!==G||x[30]!==X||x[31]!==b||x[32]!==Y||x[33]!==Q?(h=(0,n.jsx)(z,{comment:Q,commentAuthorLogin:y.author.login,commentSubjectAuthorLogin:W,commentSubjectType:”commit”,avatarUrl:y.author.avatarUrl,isMinimized:_,editComment:u,onReplySelect:b,onMinimize:R,navigate:V,hideComment:G,unhideComment:X,deleteComment:F,commentRef:B,showEditHistory:Y,commitComment:y}),x[25]=y,x[26]=W,x[27]=_,x[28]=F,x[29]=G,x[30]=X,x[31]=b,x[32]=Y,x[33]=Q,x[34]=h):h=x[34],x[35]!==y||x[36]!==v.oid||x[37]!==S||x[38]!==_||x[39]!==w||x[40]!==K?(p=_?null:S?(0,n.jsx)(“div”,{className:”m-2″,children:(0,n.jsx)(P,{comment:y,commitOid:v.oid,onUpdate:K,onCancel:()=>I(!1)})}):(0,n.jsxs)(“div”,{className:”d-flex flex-column m-3 gap-3″,style:{gap:”12px”},children:[(0,n.jsx)(“div”,{className:”markdown-body”,”data-turbolinks”:”false”,children:(0,n.jsx)(A.G,{disabled:!1,verifiedHTML:y.htmlBody,markdownValue:y.body,onChange:H,onLinkClick:U,teamHovercardsEnabled:!0})}),(0,n.jsx)(a.Suspense,{fallback:(0,n.jsx)(g.e,{}),children:(0,n.jsx)(L.ReactionViewerRelayQueryComponent,{id:y.relayId,subjectLocked:w})})]}),x[35]=y,x[36]=v.oid,x[37]=S,x[38]=_,x[39]=w,x[40]=K,x[41]=p):p=x[41],x[42]!==y.urlFragment||x[43]!==h||x[44]!==p?(f=(0,n.jsxs)(“div”,{className:”border rounded-2″,ref:B,id:y.urlFragment,tabIndex:-1,children:[h,p]}),x[42]=y.urlFragment,x[43]=h,x[44]=p,x[45]=f):f=x[45],f}:function({comment:e,commit:t,locked:i,deleteComment:r,updateComment:o,setNewCommentContent:s,repoOwnerGlobalRelayId:c}){let d=(0,l.t)(),[m,u]=(0,a.useState)(!1),[h,p]=(0,a.useState)(e.isHidden),f=(0,a.useRef)(null),{deleteComment:x,hideComment:y,unhideComment:v}=(0,E.X)(),w=async()=>{let t=await x(e.id.toString());”canceled”===t||”error”!==t&&”success”===t&&r(e.id)},C=async t=>{let i=await y(e.id.toString(),t);”error”!==i&&”success”===i&&(o({…e,isHidden:!0,minimizedReason:t}),p(!0))},j=async()=>{let t=await v(e.id.toString());”error”!==t&&”success”===t&&(o({…e,isHidden:!1,minimizedReason:null}),p(!1))},b=t.authors.length>0?t.authors[0]?.login:””,N={…(0,T.p)(e,t,d,c),referenceText:(0,M.F)(t.oid)};return(0,n.jsxs)(“div”,{className:”border rounded-2″,ref:f,id:e.urlFragment,tabIndex:-1,children:[(0,n.jsx)(z,{comment:N,commentAuthorLogin:e.author.login,commentSubjectAuthorLogin:b,commentSubjectType:”commit”,avatarUrl:e.author.avatarUrl,isMinimized:h,editComment:()=>{u(!0)},onReplySelect:s,onMinimize:p,navigate:()=>{},hideComment:C,unhideComment:j,deleteComment:w,commentRef:f,showEditHistory:e.viewerCanReadUserContentEdits&&!!e.lastUserContentEdit,commitComment:e}),h?null:m?(0,n.jsx)(“div”,{className:”m-2″,children:(0,n.jsx)(P,{comment:e,commitOid:t.oid,onUpdate:e=>{o(e),u(!1)},onCancel:()=>u(!1)})}):(0,n.jsxs)(“div”,{className:”d-flex flex-column m-3 gap-3″,style:{gap:”12px”},children:[(0,n.jsx)(“div”,{className:”markdown-body”,”data-turbolinks”:”false”,children:(0,n.jsx)(A.G,{disabled:!1,verifiedHTML:e.htmlBody,markdownValue:e.body,onChange:()=>{},onLinkClick:()=>{},teamHovercardsEnabled:!0})}),(0,n.jsx)(a.Suspense,{fallback:(0,n.jsx)(g.e,{}),children:(0,n.jsx)(L.ReactionViewerRelayQueryComponent,{id:e.relayId,subjectLocked:i})})]})]})};function U(){}function H(){}function V(){}let z=(0,r.kw)()?function(e){let t,i,r,s,l,c,d=(0,o.c)(15);d[0]!==e?({hideActions:t,…i}=e,d[0]=e,d[1]=t,d[2]=i):(t=d[1],i=d[2]);let m=i.commitComment;if(i.showEditHistory){let e,t;d[3]!==m.relayId?(e=(0,n.jsx)(a.Suspense,{fallback:null,children:(0,n.jsx)(X,{id:m.relayId})}),d[3]=m.relayId,d[4]=e):e=d[4],l=e,d[5]!==i.comment.id?(t=(0,n.jsx)(W,{id:i.comment.id}),d[5]=i.comment.id,d[6]=t):t=d[6],c=t}return d[7]!==t||d[8]!==i?(r=t?void 0:(0,n.jsx)(k.p,{onSuccessfulBlock:K,…i}),d[7]=t,d[8]=i,d[9]=r):r=d[9],d[10]!==l||d[11]!==c||d[12]!==i||d[13]!==r?(s=(0,n.jsx)(N.v,{lastEditedByMessage:c,editHistoryComponent:l,forceInlineAvatar:!0,…i,actions:r}),d[10]=l,d[11]=c,d[12]=i,d[13]=r,d[14]=s):s=d[14],s}:function({hideActions:e,…t}){let i,r,o=t.commitComment;return t.showEditHistory&&(i=(0,n.jsx)(a.Suspense,{fallback:null,children:(0,n.jsx)(X,{id:o.relayId})}),r=(0,n.jsx)(W,{id:t.comment.id})),(0,n.jsx)(N.v,{lastEditedByMessage:r,editHistoryComponent:i,forceInlineAvatar:!0,…t,actions:e?void 0:(0,n.jsx)(k.p,{onSuccessfulBlock:()=>{setTimeout(()=>d.cg?.location.reload(),800)},…t})})};function K(){setTimeout(G,800)}function G(){return d.cg?.location.reload()}let X=(0,r.kw)()?function(e){let t,i,a=(0,o.c)(4),{id:r}=e;a[0]!==r?(t={id:r},a[0]=r,a[1]=t):t=a[1];let s=(0,_.f)(t);return a[2]!==s?(i=s?(0,n.jsx)(S.W,{editHistory:s}):null,a[2]=s,a[3]=i):i=a[3],i}:function({id:e}){let t=(0,_.f)({id:e});return t?(0,n.jsx)(S.W,{editHistory:t}):null},W=(0,r.kw)()?function(e){let t,i,a=(0,o.c)(4),{id:r}=e;a[0]!==r?(t={id:r},a[0]=r,a[1]=t):t=a[1];let s=(0,_.f)(t);return a[2]!==s?(i=s?(0,n.jsx)(I._,{editInformation:s}):null,a[2]=s,a[3]=i):i=a[3],i}:function({id:e}){let t=(0,_.f)({id:e});return t?(0,n.jsx)(I._,{editInformation:t}):null};try{D.displayName||(D.displayName=”ExistingCommitComments”)}catch{}try{F.displayName||(F.displayName=”ExistingCommitComment”)}catch{}try{z.displayName||(z.displayName=”CommitCommentHeader”)}catch{}try{X.displayName||(X.displayName=”CommitCommentHeaderEditHistory”)}catch{}try{W.displayName||(W.displayName=”CommitCommentHeaderLastEditedBy”)}catch{}var Q=i(25407),Y=i(79634),J=i(96379),Z=i(15220);let q=(0,r.kw)()?function(e){let t,i,r,s,c,d,m,h,p,f,x=(0,o.c)(33),{commitOid:y,locked:v,onClose:w}=e,g=(0,l.t)(),{helpUrl:C}=(0,Y.X)(),[j,b]=(0,a.useState)(!1),N=v?”Unlock”:”Lock”,k=v?”lock”:”unlock”;x[0]!==y||x[1]!==w||x[2]!==g?(t=async()=>{(await (0,J.DI)(`${(0,Q.$Qz)({owner:g.ownerLogin,repo:g.name,commitish:y})}/lock`,{method:”PUT”,headers:{Accept:”application/json”}})).ok?w(!0):b(!0)},x[0]=y,x[1]=w,x[2]=g,x[3]=t):t=x[3];let S=t;x[4]!==y||x[5]!==w||x[6]!==g?(i=async()=>{(await (0,J.lS)(`${(0,Q.$Qz)({owner:g.ownerLogin,repo:g.name,commitish:y})}/unlock`,{method:”PUT”,headers:{Accept:”application/json”}})).ok?w(!1):b(!0)},x[4]=y,x[5]=w,x[6]=g,x[7]=i):i=x[7];let I=i;x[8]!==w?(r=()=>w(),x[8]=w,x[9]=r):r=x[9];let _=`${N} conversation on this commit`,A=`${N} conversation`;x[10]===Symbol.for(“react.memo_cache_sentinel”)?(s={width:”100%”},x[10]=s):s=x[10];let L=v?I:S;return x[11]!==A||x[12]!==L?(c=[{content:A,buttonType:”danger”,style:s,onClick:L}],x[11]=A,x[12]=L,x[13]=c):c=x[13],x[14]!==N||x[15]!==j?(d=j&&(0,n.jsxs)(u.A,{className:”mb-2″,variant:”danger”,children:[“There was an error “,N.toLocaleLowerCase(),”ing this conversation. Please try again.”]}),x[14]=N,x[15]=j,x[16]=d):d=x[16],x[17]!==N?(m=(0,n.jsxs)(“p”,{children:[N,”ing the conversation means:”]}),x[17]=N,x[18]=m):m=x[18],x[19]!==C||x[20]!==v||x[21]!==g?(h=(0,n.jsx)(“ul”,{className:”ml-4″,children:v?(0,n.jsxs)(“li”,{children:[(0,n.jsx)(“strong”,{children:”Everyone”}),” will be able to comment on this commit once more.”]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(“li”,{children:[“Other users “,(0,n.jsx)(“strong”,{children:”can\u2019t add new comments”}),” to this commit.”]}),g.isOrgOwned?(0,n.jsxs)(“li”,{children:[“You and other members of teams with”,” “,(0,n.jsx)(“a”,{href:`${C}/get-started/learning-about-github/access-permissions-on-github`,children:”write access”}),” “,”to this repository “,(0,n.jsx)(“strong”,{children:”can still leave comments”}),” that others can see.”]}):(0,n.jsxs)(“li”,{children:[“You and other collaborators”,” “,(0,n.jsx)(“a”,{href:`${C}/get-started/learning-about-github/access-permissions-on-github`,children:”with access”}),” to this repository “,(0,n.jsx)(“strong”,{children:”can still leave comments”}),” that others can see.”]})]})}),x[19]=C,x[20]=v,x[21]=g,x[22]=h):h=x[22],x[23]!==k?(p=(0,n.jsxs)(“p”,{className:”mb-0 mt-2″,children:[“You can always “,k,” this commit again in the future.”]}),x[23]=k,x[24]=p):p=x[24],x[25]!==m||x[26]!==h||x[27]!==p||x[28]!==r||x[29]!==_||x[30]!==c||x[31]!==d?(f=(0,n.jsxs)(Z.l,{onClose:r,width:”large”,title:_,footerButtons:c,children:[d,m,h,p]}),x[25]=m,x[26]=h,x[27]=p,x[28]=r,x[29]=_,x[30]=c,x[31]=d,x[32]=f):f=x[32],f}:function({commitOid:e,locked:t,onClose:i}){let r=(0,l.t)(),{helpUrl:o}=(0,Y.X)(),[s,c]=(0,a.useState)(!1),d=t?”Unlock”:”Lock”,m=async()=>{(await (0,J.DI)(`${(0,Q.$Qz)({owner:r.ownerLogin,repo:r.name,commitish:e})}/lock`,{method:”PUT”,headers:{Accept:”application/json”}})).ok?i(!0):c(!0)},h=async()=>{(await (0,J.lS)(`${(0,Q.$Qz)({owner:r.ownerLogin,repo:r.name,commitish:e})}/unlock`,{method:”PUT”,headers:{Accept:”application/json”}})).ok?i(!1):c(!0)};return(0,n.jsxs)(Z.l,{onClose:()=>i(),width:”large”,title:`${d} conversation on this commit`,footerButtons:[{content:`${d} conversation`,buttonType:”danger”,style:{width:”100%”},onClick:t?h:m}],children:[s&&(0,n.jsxs)(u.A,{className:”mb-2″,variant:”danger”,children:[“There was an error “,d.toLocaleLowerCase(),”ing this conversation. Please try again.”]}),(0,n.jsxs)(“p”,{children:[d,”ing the conversation means:”]}),(0,n.jsx)(“ul”,{className:”ml-4″,children:t?(0,n.jsxs)(“li”,{children:[(0,n.jsx)(“strong”,{children:”Everyone”}),” will be able to comment on this commit once more.”]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(“li”,{children:[“Other users “,(0,n.jsx)(“strong”,{children:”can\u2019t add new comments”}),” to this commit.”]}),r.isOrgOwned?(0,n.jsxs)(“li”,{children:[“You and other members of teams with”,” “,(0,n.jsx)(“a”,{href:`${o}/get-started/learning-about-github/access-permissions-on-github`,children:”write access”}),” “,”to this repository “,(0,n.jsx)(“strong”,{children:”can still leave comments”}),” that others can see.”]}):(0,n.jsxs)(“li”,{children:[“You and other collaborators”,” “,(0,n.jsx)(“a”,{href:`${o}/get-started/learning-about-github/access-permissions-on-github`,children:”with access”}),” to this repository “,(0,n.jsx)(“strong”,{children:”can still leave comments”}),” that others can see.”]})]})}),(0,n.jsxs)(“p”,{className:”mb-0 mt-2″,children:[“You can always “,t?”lock”:”unlock”,” this commit again in the future.”]})]})};try{q.displayName||(q.displayName=”LockConversationDialog”)}catch{}var ee=i(21067),et=i(60912),ei=i(61423),en=i(11738),ea=i(81156),er=i(77430);let eo=(0,r.kw)()?function(e){let t,i,r,s,l,c=(0,o.c)(16),{commitOid:u,onAddComment:h,onExpandCommentEditor:p,newCommentContent:f,canComment:x,locked:y,repoArchived:v,avatarURL:w}=e;c[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,ee.M3)(),c[0]=t):t=c[0];let g=t,{addComment:C}=(0,E.X)(),j=(0,a.useRef)(null);c[1]!==C||c[2]!==h?(i=async(e,t)=>{let i=await C(e);i.comment&&(h(i.comment),t())},c[1]=C,c[2]=h,c[3]=i):i=c[3];let b=i;c[4]===Symbol.for(“react.memo_cache_sentinel”)?(r=g?void 0:(0,n.jsx)(el,{redirectUrl:d.fV?.href}),c[4]=r):r=c[4],c[5]!==y||c[6]!==v?(s=(0,ei.i)(v,y,r,”commit”),c[5]=y,c[6]=v,c[7]=s):s=c[7];let N=s;return c[8]!==w||c[9]!==x||c[10]!==u||c[11]!==f||c[12]!==p||c[13]!==b||c[14]!==N?(l=(0,n.jsx)(“div”,{className:”d-flex flex-column gap-2 pt-3″,children:x?(0,n.jsx)(es,{commitOid:u,commentEditor:j,onExpandEditor:p,onSave:b,newCommentContent:f,avatarURL:w||ea.t.ghostUser.avatarUrl}):(0,n.jsx)(et.P,{icon:m.LockIcon,reason:N})}),c[8]=w,c[9]=x,c[10]=u,c[11]=f,c[12]=p,c[13]=b,c[14]=N,c[15]=l):l=c[15],l}:function({commitOid:e,onAddComment:t,onExpandCommentEditor:i,newCommentContent:r,canComment:o,locked:s,repoArchived:l,avatarURL:c}){let u=(0,ee.M3)(),{addComment:h}=(0,E.X)(),p=(0,a.useRef)(null),f=async(e,i)=>{let n=await h(e);n.comment&&(t(n.comment),i())},x=(0,ei.i)(l,s,u?void 0:(0,n.jsx)(el,{redirectUrl:d.fV?.href}),”commit”);return(0,n.jsx)(“div”,{className:”d-flex flex-column gap-2 pt-3″,children:o?(0,n.jsx)(es,{commitOid:e,commentEditor:p,onExpandEditor:i,onSave:f,newCommentContent:r,avatarURL:c||ea.t.ghostUser.avatarUrl}):(0,n.jsx)(et.P,{icon:m.LockIcon,reason:x})})};function es(e){let[t,i]=(0,a.useState)(()=>void 0!==e.newCommentContent),[r,o]=(0,a.useState)(e.newCommentContent);t||void 0===e.newCommentContent||r===e.newCommentContent||(i(!0),o(e.newCommentContent));let l=”Comment”;return t?(0,n.jsx)(“div”,{id:s.Bq.issueCommentComposer,children:(0,n.jsx)(O,{commitOid:e.commitOid,ref:e.commentEditor,onSave:e.onSave,referenceId:`new-discussion-comment-${e.commitOid}`,commentContent:e.newCommentContent,initialMarkdown:e.newCommentContent,buttonText:l,onCancel:()=>{i(!1)}})}):(0,n.jsxs)(“div”,{id:s.Bq.issueCommentComposer,className:”d-flex flex-items-center border rounded-2 p-2 gap-2 color-bg-subtle”,children:[(0,n.jsx)(er.r,{src:e.avatarURL,size:20}),(0,n.jsx)(en.z,{onClick:()=>{i(!0),e.onExpandEditor?.()},children:l})]})}let el=(0,r.kw)()?function(e){let t,i=(0,o.c)(2),{redirectUrl:a}=e,r=a?`/login?return_to=${a}`:”/login”;return i[0]!==r?(t=(0,n.jsxs)(“span”,{children:[“Please “,(0,n.jsx)(“a”,{href:r,children:”sign in”}),” to comment.”]}),i[0]=r,i[1]=t):t=i[1],t}:function({redirectUrl:e}){return(0,n.jsxs)(“span”,{children:[“Please “,(0,n.jsx)(“a”,{href:e?`/login?return_to=${e}`:”/login”,children:”sign in”}),” to comment.”]})};try{eo.displayName||(eo.displayName=”NewCommitComment”)}catch{}try{es.displayName||(es.displayName=”CompactEditor”)}catch{}try{el.displayName||(el.displayName=”LoggedOutMessage”)}catch{}var ec=i(10925);let ed=(0,a.forwardRef)((0,r.kw)()?(e,t)=>{let i,r,s,c,d,u=(0,o.c)(15),{commitOid:p,subscribed:f}=e,[x,y]=(0,a.useState)(f),[v,w]=(0,a.useState)(!1),g=(0,l.t)(),C=(0,ec.H)(“/notifications/thread”,”post”);i=v?`You’re now ${x?”subscribed”:”unsubscribed”} to this thread.`:x?”You’re receiving notifications because you’re subscribed to this thread.”:”You’re not receiving notifications from this thread.”,u[0]!==p||u[1]!==g.id||u[2]!==x||u[3]!==C?(r=async()=>{let e=new FormData;e.append(“repository_id”,g.id.toString()),e.append(“thread_id”,p),e.append(“thread_class”,”Commit”),e.append(“id”,x?”unsubscribe”:”subscribe”),e.append(“authenticity_token”,C??””),(await (0,J.DI)(“/notifications/thread”,{method:”POST”,body:e})).ok&&(y(!x),w(!0))},u[0]=p,u[1]=g.id,u[2]=x,u[3]=C,u[4]=r):r=u[4];let j=r,b=x?m.BellSlashIcon:m.BellIcon,N=x?”Unsubscribe”:”Subscribe”;return u[5]!==b||u[6]!==N||u[7]!==j?(s=(0,n.jsx)(h.Q,{onClick:j,size:”small”,leadingVisual:b,children:N}),u[5]=b,u[6]=N,u[7]=j,u[8]=s):s=u[8],u[9]!==i?(c=(0,n.jsx)(“p”,{role:”status”,className:”f6 fgColor-muted mb-0″,children:i}),u[9]=i,u[10]=c):c=u[10],u[11]!==t||u[12]!==s||u[13]!==c?(d=(0,n.jsxs)(“div”,{className:”d-flex flex-items-center border rounded-2 p-2 gap-2″,ref:t,children:[s,c]}),u[11]=t,u[12]=s,u[13]=c,u[14]=d):d=u[14],d}:({commitOid:e,subscribed:t},i)=>{let r,[o,s]=(0,a.useState)(t),[c,d]=(0,a.useState)(!1),u=(0,l.t)(),p=(0,ec.H)(“/notifications/thread”,”post”);r=c?`You’re now ${o?”subscribed”:”unsubscribed”} to this thread.`:o?”You’re receiving notifications because you’re subscribed to this thread.”:”You’re not receiving notifications from this thread.”;let f=async()=>{let t=new FormData;t.append(“repository_id”,u.id.toString()),t.append(“thread_id”,e),t.append(“thread_class”,”Commit”),t.append(“id”,o?”unsubscribe”:”subscribe”),t.append(“authenticity_token”,p??””),(await (0,J.DI)(“/notifications/thread”,{method:”POST”,body:t})).ok&&(s(!o),d(!0))};return(0,n.jsxs)(“div”,{className:”d-flex flex-items-center border rounded-2 p-2 gap-2″,ref:i,children:[(0,n.jsx)(h.Q,{onClick:f,size:”small”,leadingVisual:o?m.BellSlashIcon:m.BellIcon,children:o?”Unsubscribe”:”Subscribe”}),(0,n.jsx)(“p”,{role:”status”,className:”f6 fgColor-muted mb-0″,children:r})]})});ed.displayName=”NotificationsFooter”;let em=”comments”,eu=(0,r.kw)()?function(e){let t,i,r=(0,o.c)(3);return r[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,f.$)(“d-flex flex-column gap-2 pt-3”,s.mU.commentsContainer,v),r[0]=t):t=r[0],r[1]!==e?(i=(0,n.jsx)(“div”,{className:t,id:em,children:(0,a.createElement)(eh,{…e,key:e.commit.oid})}),r[1]=e,r[2]=i):i=r[2],i}:function(e){return(0,n.jsx)(“div”,{className:(0,f.$)(“d-flex flex-column gap-2 pt-3”,s.mU.commentsContainer,v),id:em,children:(0,a.createElement)(eh,{…e,key:e.commit.oid})})},eh=(0,r.kw)()?function(e){let t,i,r,s,m,p,f,v,w,g,C,b,N=(0,o.c)(49),{commit:k,commentInfo:S,repoOwnerGlobalRelayId:I}=e,_=(0,l.t)(),A=(0,c.i)(),{retry:L,loadMore:E,canLoadMore:T,addComment:M,deleteComment:R,updateComment:B,count:$,comments:O,subscribed:P,providerState:F}=(0,x.y)(),[U,H]=(0,a.useState)(void 0),[V,z]=(0,a.useState)(S.locked);N[0]!==k.oid||N[1]!==_.id?(t=(0,y.N)(k.oid,_.id),N[0]=k.oid,N[1]=_.id,N[2]=t):t=N[2];let K=t,G=(0,a.useRef)(null);N[3]!==O?(i=()=>{if(d.cg?.location.hash){let e=d.cg.location.hash.slice(1);if(O.find(t=>t.urlFragment===e)){let t=document.getElementById(e);t&&(t.scrollIntoView(),t.focus())}}},r=[O],N[3]=O,N[4]=i,N[5]=r):(i=N[4],r=N[5]),(0,a.useEffect)(i,r),N[6]===Symbol.for(“react.memo_cache_sentinel”)?(s=()=>{setTimeout(()=>G.current?.scrollIntoView({behavior:”smooth”,block:”nearest”}),0)},N[6]=s):s=N[6];let X=s;return N[7]!==$||N[8]!==S.canLock||N[9]!==k.oid||N[10]!==V?(m=(0,n.jsx)(ef,{commitOid:k.oid,commentCount:$,canLock:S.canLock,locked:V,setLocked:z}),N[7]=$,N[8]=S.canLock,N[9]=k.oid,N[10]=V,N[11]=m):m=N[11],N[12]!==F?(p=”loading”===F&&(0,n.jsx)(j,{}),N[12]=F,N[13]=p):p=N[13],N[14]!==F||N[15]!==L?(f=”error”===F&&(0,n.jsxs)(u.A,{className:”d-flex flex-justify-between flex-items-center”,variant:”danger”,children:[(0,n.jsx)(“span”,{children:”Failed to load comments.”}),(0,n.jsx)(h.Q,{onClick:()=>L(),children:”Retry”})]}),N[14]=F,N[15]=L,N[16]=f):f=N[16],N[17]!==T||N[18]!==E||N[19]!==F?(v=”loaded”===F&&T&&(0,n.jsx)(h.Q,{className:”width-full”,onClick:()=>E(),children:”Load more comments”}),N[17]=T,N[18]=E,N[19]=F,N[20]=v):v=N[20],N[21]!==O||N[22]!==k||N[23]!==R||N[24]!==V||N[25]!==I||N[26]!==B?(w=(0,n.jsx)(D,{comments:O,commit:k,locked:V,repoOwnerGlobalRelayId:I,deleteComment:R,updateComment:B,setNewCommentContent:H}),N[21]=O,N[22]=k,N[23]=R,N[24]=V,N[25]=I,N[26]=B,N[27]=w):w=N[27],N[28]!==K?(g=K?(0,n.jsx)(“div”,{className:”text-center”,children:[…Array(38)].map(ep)}):null,N[28]=K,N[29]=g):g=N[29],N[30]!==M||N[31]!==S.canComment||N[32]!==S.repoArchived||N[33]!==O||N[34]!==k.oid||N[35]!==A||N[36]!==V||N[37]!==U||N[38]!==F||N[39]!==P?(C=”loaded”===F||0!==O.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eo,{commitOid:k.oid,onAddComment:M,onExpandCommentEditor:X,newCommentContent:U,canComment:S.canComment,locked:V,repoArchived:S.repoArchived,avatarURL:A?.avatarURL}),A?(0,n.jsx)(ed,{ref:G,commitOid:k.oid,subscribed:P??!1}):null]}):null,N[30]=M,N[31]=S.canComment,N[32]=S.repoArchived,N[33]=O,N[34]=k.oid,N[35]=A,N[36]=V,N[37]=U,N[38]=F,N[39]=P,N[40]=C):C=N[40],N[41]!==g||N[42]!==C||N[43]!==m||N[44]!==p||N[45]!==f||N[46]!==v||N[47]!==w?(b=(0,n.jsxs)(n.Fragment,{children:[m,p,f,v,w,g,C]}),N[41]=g,N[42]=C,N[43]=m,N[44]=p,N[45]=f,N[46]=v,N[47]=w,N[48]=b):b=N[48],b}:function({commit:e,commentInfo:t,repoOwnerGlobalRelayId:i}){let r=(0,l.t)(),o=(0,c.i)(),{retry:s,loadMore:m,canLoadMore:p,addComment:f,deleteComment:v,updateComment:g,count:C,comments:b,subscribed:N,providerState:k}=(0,x.y)(),[S,I]=(0,a.useState)(void 0),[_,A]=(0,a.useState)(t.locked),L=(0,a.useMemo)(()=>(0,y.N)(e.oid,r.id),[e.oid,r.id]),E=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(d.cg?.location.hash){let e=d.cg.location.hash.slice(1);if(b.find(t=>t.urlFragment===e)){let t=document.getElementById(e);t&&(t.scrollIntoView(),t.focus())}}},[b]);let T=(0,a.useCallback)(()=>{setTimeout(()=>E.current?.scrollIntoView({behavior:”smooth”,block:”nearest”}),0)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ef,{commitOid:e.oid,commentCount:C,canLock:t.canLock,locked:_,setLocked:A}),”loading”===k&&(0,n.jsx)(j,{}),”error”===k&&(0,n.jsxs)(u.A,{className:”d-flex flex-justify-between flex-items-center”,variant:”danger”,children:[(0,n.jsx)(“span”,{children:”Failed to load comments.”}),(0,n.jsx)(h.Q,{onClick:()=>s(),children:”Retry”})]}),”loaded”===k&&p&&(0,n.jsx)(h.Q,{className:”width-full”,onClick:()=>m(),children:”Load more comments”}),(0,n.jsx)(D,{comments:b,commit:e,locked:_,repoOwnerGlobalRelayId:i,deleteComment:v,updateComment:g,setNewCommentContent:I}),L?(0,n.jsx)(“div”,{className:”text-center”,children:[…Array(38)].map((e,t)=>(0,n.jsx)(“img”,{alt:”rose”,src:”/images/icons/emoji/rose.png”,className:w},`rose-${t}`))}):null,”loaded”===k||0!==b.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eo,{commitOid:e.oid,onAddComment:f,onExpandCommentEditor:T,newCommentContent:S,canComment:t.canComment,locked:_,repoArchived:t.repoArchived,avatarURL:o?.avatarURL}),o?(0,n.jsx)(ed,{ref:E,commitOid:e.oid,subscribed:N??!1}):null]}):null]})};function ep(e,t){return(0,n.jsx)(“img”,{alt:”rose”,src:”/images/icons/emoji/rose.png”,className:w},`rose-${t}`)}let ef=(0,r.kw)()?function(e){let t,i,r,s,l,c,d=(0,o.c)(17),{commitOid:u,commentCount:f,locked:x,setLocked:y,canLock:v}=e,[w,g]=(0,a.useState)(!1);return d[0]!==f?(t=(0,n.jsxs)(“h2″,{className:”sr-only”,children:[f,” commit comments”]}),d[0]=f,d[1]=t):t=d[1],d[2]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,n.jsx)(“div”,{className:”h4 pr-2″,children:”Comments”}),d[2]=i):i=d[2],d[3]!==f?(r=void 0!==f&&(0,n.jsx)(p.A,{children:f}),d[3]=f,d[4]=r):r=d[4],d[5]!==r?(s=(0,n.jsxs)(“div”,{className:”d-flex flex-items-center”,children:[i,r]}),d[5]=r,d[6]=s):s=d[6],d[7]!==v||d[8]!==u||d[9]!==w||d[10]!==x||d[11]!==y?(l=v&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h.Q,{leadingVisual:x?m.KeyIcon:m.LockIcon,variant:”invisible”,onClick:()=>g(!0),children:[x?”Unlock”:”Lock”,” conversation”]}),w&&(0,n.jsx)(q,{commitOid:u,locked:x,onClose:e=>{g(!1),void 0!==e&&y(e)}})]}),d[7]=v,d[8]=u,d[9]=w,d[10]=x,d[11]=y,d[12]=l):l=d[12],d[13]!==t||d[14]!==s||d[15]!==l?(c=(0,n.jsxs)(“div”,{className:”d-flex flex-items-center flex-justify-between”,children:[t,s,l]}),d[13]=t,d[14]=s,d[15]=l,d[16]=c):c=d[16],c}:function({commitOid:e,commentCount:t,locked:i,setLocked:r,canLock:o}){let[s,l]=(0,a.useState)(!1);return(0,n.jsxs)(“div”,{className:”d-flex flex-items-center flex-justify-between”,children:[(0,n.jsxs)(“h2″,{className:”sr-only”,children:[t,” commit comments”]}),(0,n.jsxs)(“div”,{className:”d-flex flex-items-center”,children:[(0,n.jsx)(“div”,{className:”h4 pr-2″,children:”Comments”}),void 0!==t&&(0,n.jsx)(p.A,{children:t})]}),o&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h.Q,{leadingVisual:i?m.KeyIcon:m.LockIcon,variant:”invisible”,onClick:()=>l(!0),children:[i?”Unlock”:”Lock”,” conversation”]}),s&&(0,n.jsx)(q,{commitOid:e,locked:i,onClose:e=>{l(!1),void 0!==e&&r(e)}})]})]})};try{eu.displayName||(eu.displayName=”DiscussionComments”)}catch{}try{eh.displayName||(eh.displayName=”DiscussionCommentsInternal”)}catch{}try{ef.displayName||(ef.displayName=”DiscussionCommentsHeader”)}catch{}},2970:(e,t,i)=>{i.d(t,{c:()=>b});var n=i(74848),a=i(73189),r=i(34164),o=i(96540),s=i(75986),l=i(18377),c=i(24347),d=i(35220),m=i(9214);let u=(0,o.createContext)({actionsOpen:!1,setActionsOpen:a.l}),h=({children:e})=>{let[t,i]=(0,o.useState)(!1),a=(0,o.useMemo)(()=>({actionsOpen:t,setActionsOpen:i}),[t]);return(0,n.jsx)(u.Provider,{value:a,children:e})};h.displayName=”ListItemActionsProvider”;try{u.displayName||(u.displayName=”ActionsContext”)}catch{}var p=i(29622),f=i(77177),x=i(29731);function y({style:e,className:t,children:i}){return(0,n.jsx)(“div”,{className:(0,r.$)(“MetadataContainer-module__container–nU0s9”,t),style:e,…(0,x.G)(“list-view-item-metadata”),children:i})}try{y.displayName||(y.displayName=”ListItemMetadataContainer”)}catch{}var v=i(49744),w=i(60257),g=i(27603),C=i(74501);let j=(0,o.forwardRef)(({children:e,isActive:t=!1,title:i,metadata:a,secondaryActions:u,style:h,className:x,metadataContainerStyle:j,metadataContainerClassName:b,as:N,…k},S)=>{let{idPrefix:I}=(0,s.If)(),{isSelectable:_}=(0,c.v)(),{variant:A}=(0,d.e)(),{anyItemsWithActionBar:L,hasResizableActionsWithActionBar:E}=(0,l.Z)(),T=(0,o.useId)(),{isSelected:M,onSelect:R}=(0,w.r)(),{status:B}=(0,g.x)(),{title:$,titleAction:O,headingRef:P}=(0,C.J)(),{description:D}=(0,f.L)(),{hasNewActivity:F}=(0,v.I)(),{alignment:U}=(0,p.m)(),H=(0,o.useRef)(null);(0,o.useEffect)(()=>{“function”==typeof S?S(H.current):S&&(S.current=H.current)},[S]),(0,o.useEffect)(()=>{H.current&&t&&document.activeElement?.tagName===”BODY”&&H.current.focus()});let V=(0,o.useCallback)(e=>{switch(e.key){case”Enter”:if(O){let t=document.activeElement,i=H.current===t,n=P.current&&(P.current===t||P.current.contains(t));(i||n)&&O(e)}break;case” “:if(!_||H?.current!==document.activeElement)break;e.preventDefault(),R(!M);break;case”Escape”:H?.current?.focus()}},[O,_,R,M,P]),z=(0,o.useCallback)(()=>{let e=M?”Selected”:””,t=F?”New activity”:””,i=!!u,n=Array.isArray(a)&&a.length>0||a&&!Array.isArray(a),r=””;(n||i)&&(r=”More information available below”);let o=[$,B].filter(e=>e.trim()).join(“: “);try{o=o.replace(/(?e.trim()).join(“. “);return s.endsWith(“.”)?s:`${s}.`},[u,a,M,F,$,B,D]);return(0,n.jsxs)(N||”li”,{ref:H,id:`${I}-list-view-node-${T}`,className:(0,r.$)(“ListItem-module__listItem–k4eMk”,M&&”ListItem-module__selected–WTEJT”,”compact”===A&&”ListItem-module__compact–f4FSR”,”center”===U&&”ListItem-module__centerAligned–PWSgp”,L&&E&&”ListItem-module__hasActionBar–t14sR”,x),tabIndex:-1,”aria-label”:z(),style:h,onKeyDown:V,…k,children:[i,e,Array.isArray(a)&&a.length>0?(0,n.jsx)(y,{style:j,className:b,children:a.map((e,t)=>(0,n.jsx)(o.Fragment,{children:e},t))}):!!(a&&!Array.isArray(a))&&(0,n.jsx)(y,{style:j,className:b,children:a}),u??(L&&(0,n.jsx)(m.L,{}))]})});j.displayName=”ListItemBase”;let b=(0,o.forwardRef)(({children:e,isSelected:t=!1,onSelect:i=a.l,alignment:r,…s},l)=>{let{setSelectedCount:d}=(0,c.v)(),m=(0,o.useRef)(t);m.current=t,(0,o.useEffect)(()=>{d(e=>t?e+1:Math.max(0,e-1))},[t,d]),(0,o.useEffect)(()=>()=>{m.current&&d(e=>Math.max(0,e-1))},[d]);let u=(0,o.useMemo)(()=>({isSelected:t,onSelect:i}),[t,i]);return(0,n.jsx)(h,{children:(0,n.jsx)(C.y,{children:(0,n.jsx)(w.W,{value:u,children:(0,n.jsx)(v.t,{children:(0,n.jsx)(f.O,{children:(0,n.jsx)(g.u,{children:(0,n.jsx)(p.F,{alignment:r,children:(0,n.jsx)(j,{…s,ref:l,children:e})})})})})})})})});b.displayName=”ListItem”},4929:(e,t,i)=>{i.d(t,{V:()=>o});var n=i(74848),a=i(29731),r=i(34164);function o({children:e,alignment:t,variant:i,…o}){return(0,n.jsx)(“div”,{…(0,a.G)(“list-view-item-metadata-item”),…o,className:(0,r.$)(“Metadata-module__metadata–ODMG0″,”primary”===i?”Metadata-module__primary–S8Orc”:”Metadata-module__secondary–1te4w”,”right”===t&&”Metadata-module__alignRight–A1PHa”,o.className),children:e})}try{o.displayName||(o.displayName=”ListItemMetadata”)}catch{}},9214:(e,t,i)=>{i.d(t,{L:()=>c});var n=i(74848),a=i(91230),r=i(29731),o=i(34164),s=i(96540),l=i(18377);let c=({anchorIcon:e,style:t,className:i,label:c=”list item action bar”,…d})=>{let{setAnyItemsWithActionBar:m,setHasResizableActionsWithActionBar:u}=(0,l.Z)();return(0,s.useEffect)(()=>m(!0),[m]),(0,s.useEffect)(()=>{d.actions&&u(!0)},[d.actions,u]),(0,n.jsx)(“div”,{className:(0,o.$)(“ActionBar-module__container–8I2RB”,d.actions&&”ActionBar-module__hasActions–HH0uB”,i),style:t,…(0,r.G)(“list-view-item-action-bar-container”),children:(0,n.jsx)(a.E7,{…d,label:c,variant:”menu”,overflowMenuToggleProps:e?{icon:e}:void 0})})};try{c.displayName||(c.displayName=”ListItemActionBar”)}catch{}},18377:(e,t,i)=>{i.d(t,{Z:()=>l,w:()=>s});var n=i(74848),a=i(73189),r=i(96540);let o=(0,r.createContext)({anyItemsWithActionBar:!1,setAnyItemsWithActionBar:a.l,hasResizableActionsWithActionBar:!1,setHasResizableActionsWithActionBar:a.l}),s=({children:e})=>{let[t,i]=(0,r.useState)(!1),[a,s]=(0,r.useState)(!1),l=(0,r.useMemo)(()=>({anyItemsWithActionBar:t,setAnyItemsWithActionBar:i,hasResizableActionsWithActionBar:a,setHasResizableActionsWithActionBar:s}),[t,a]);return(0,n.jsx)(o.Provider,{value:l,children:e})};s.displayName=”ListViewItemsProvider”;let l=()=>(0,r.useContext)(o);try{o.displayName||(o.displayName=”ItemsContext”)}catch{}},21935:(e,t,i)=>{i.d(t,{c:()=>m,y:()=>u});var n,a=i(74848),r=i(68273),o=i(73189),s=i(25407),l=i(96379),c=i(96540);let d=(0,c.createContext)({comments:[],addComment:o.l,deleteComment:o.l,updateComment:o.l,loadMore:o.l,retry:o.l,canLoadMore:!1,count:0,subscribed:!1,providerState:”initial”});function m({children:e,comments:t=[],commentCount:i=0,canLoadMore:n=!1,subscribed:r=!1,providerState:o=”initial”,repo:m,commitOid:u}){let[h,p]=(0,c.useState)(t),[f,x]=(0,c.useState)(i),[y,v]=(0,c.useState)(n),[w,g]=(0,c.useState)(o),[C,j]=(0,c.useState)(r);(0,c.useEffect)(()=>{x(i),p(t),v(n),j(r),g(o)},[o]);let b=(0,c.useCallback)(async e=>{g(“loading”);let t=await (0,l.Sr)((0,s.Mo3)({owner:m.ownerLogin,repo:m.name,commitOid:u,beforeCommentId:e}));if(t.ok){let i=await t.json();e?p(e=>[…i.comments,…e]):p(i.comments),g(“loaded”),x(i.count),j(i.subscribed),v(i.canLoadMore)}else g(“error”)},[m.ownerLogin,m.name,u]),N=(0,c.useCallback)(()=>{let e=h[0];e&&y&&b(e.id.toString())},[y,h,b]),k=(0,c.useCallback)(e=>{p([…h,e]),x((f??0)+1)},[h,f]),S=(0,c.useCallback)(e=>{p(h.filter(t=>t.id!==e)),x((f??0)-1)},[h,f]),I=(0,c.useCallback)(e=>{p(h.map(t=>t.id===e.id?e:t))},[h]),_=(0,c.useMemo)(()=>({addComment:k,canLoadMore:y,comments:h,count:f,deleteComment:S,loadMore:N,retry:b,subscribed:C,providerState:w,updateComment:I}),[k,y,h,f,S,b,N,w,C,I]);return(0,a.jsx)(d.Provider,{value:_,children:e})}let u=(0,r.kw)()?function(){let e=(0,c.useContext)(d);if(!e)throw Error(“useDiscussionComments must be used within a DiscussionCommentsProvider”);return e}:function(){let e=(0,c.useContext)(d);if(!e)throw Error(“useDiscussionComments must be used within a DiscussionCommentsProvider”);return e};try{d.displayName||(d.displayName=”DiscussionCommentsContext”)}catch{}try{m.displayName||(m.displayName=”DiscussionCommentsProvider”)}catch{}try{(n=DiscussionComments).displayName||(n.displayName=”DiscussionComments”)}catch{}},24347:(e,t,i)=>{i.d(t,{W:()=>d,v:()=>m});var n=i(74848),a=i(73189),r=i(96540),o=i(50205);let s=”list item”,l=”list items”,c=(0,r.createContext)({selectedCount:0,setSelectedCount:a.l,countOnPage:0,isSelectAllChecked:!1,anyItemsSelected:!1,singularUnits:s,pluralUnits:l,isSelectable:o.eX,hasDragHandle:o.os}),d=({children:e,countOnPage:t=0,singularUnits:i=s,pluralUnits:a=l,totalCount:d,selectedCount:m=0,isSelectable:u=o.eX,hasDragHandle:h=o.os}={singularUnits:s,pluralUnits:l,selectedCount:0,countOnPage:0,isSelectable:o.eX,hasDragHandle:o.os})=>{let[p,f]=(0,r.useState)(m);(0,r.useEffect)(()=>f(m),[m]);let x=p>0&&p>=t,y=p>0,v=(0,r.useMemo)(()=>({totalCount:d,countOnPage:t,selectedCount:p,setSelectedCount:f,isSelectAllChecked:x,anyItemsSelected:y,singularUnits:i,pluralUnits:a,isSelectable:u,hasDragHandle:h}),[d,t,p,f,x,y,i,a,u,h]);return(0,n.jsx)(c.Provider,{value:v,children:e})};d.displayName=”ListViewSelectionProvider”;let m=()=>(0,r.useContext)(c);try{c.displayName||(c.displayName=”SelectionContext”)}catch{}},24967:(e,t,i)=>{i.d(t,{e:()=>o});var n=i(74848),a=i(16522),r=i(81945);function o(){let e,t=(0,a.c)(1);return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,n.jsx)(“div”,{className:”d-flex flex-wrap gap-1″,children:(0,n.jsx)(r.O,{variant:”elliptical”,height:”28px”,width:”28px”})}),t[0]=e):e=t[0],e}try{o.displayName||(o.displayName=”ReactionViewerLoading”)}catch{}},27603:(e,t,i)=>{i.d(t,{u:()=>o,x:()=>s});var n=i(74848),a=i(96540);let r=(0,a.createContext)(void 0),o=({children:e})=>{let[t,i]=(0,a.useState)(“”),o=(0,a.useMemo)(()=>({status:t,setStatus:i}),[t]);return(0,n.jsx)(r.Provider,{value:o,children:e})};o.displayName=”ListItemStatusProvider”;let s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useListItemStatus must be used with StatusProvider.”);return e};try{r.displayName||(r.displayName=”StatusContext”)}catch{}},28014:(e,t,i)=>{i.d(t,{B:()=>x,r:()=>m});var n=i(74848),a=i(68273),r=i(16522),o=i(73189),s=i(96540);let l=(0,s.createContext)({comments:[],addComments:o.l,findInlineComment:()=>void 0,findInlineCommentWithRelay:()=>void 0,getCommentCountByPath:()=>0,getThreadDataByPathAndPosition:()=>void 0,updateInlineCommentMapWithNewComment:()=>void 0,getInlineCommentInfoByPathAndPosition:()=>void 0});function c(e){return e.reduce((e,t)=>(e.set(`${t.path}::${t.position}`,t),e),new Map)}function d(e){let t=new Map;for(let i in e)if(e.hasOwnProperty(i)){let n=new Map;for(let t in e[i])e[i].hasOwnProperty(t)&&n.set(Number(t),e[i][Number(t)]);t.set(i,n)}return t}let m=(0,a.kw)()?function(e){let t,i,a,o,m,x,y,v,w,g,C,j,b,N,k,S=(0,r.c)(41),{children:I,initialFiles:_,initialExpandedThreadId:A,initialInlineComments:L}=e;S[0]!==L?(t=()=>L?Object.values(L).flatMap(f):[],S[0]=L,S[1]=t):t=S[1];let[E,T]=(0,s.useState)(t);S[2]!==_?(i=_??[],S[2]=_,S[3]=i):i=S[3];let[M,R]=(0,s.useState)(i);S[4]!==_?(a=()=>_?c(_):new Map,S[4]=_,S[5]=a):a=S[5];let[B,$]=(0,s.useState)(a);S[6]!==L?(o=()=>L?d(L):new Map,S[6]=L,S[7]=o):o=S[7];let[O,P]=(0,s.useState)(o);S[8]!==O?(m=(e,t,i,n)=>{if(n){let n=O.get(e)?.get(t)??[];n=n.concat(i);let a=O.get(e)?.set(t,n);P(O.set(e,a??new Map)??O)}else{let n=O.get(e)?.set(t,i);P(O.set(e,n??new Map)??O)}},S[8]=O,S[9]=m):m=S[9];let D=m;S[10]!==_||S[11]!==L?(x=()=>{R(_??[]),$(_?c(_):new Map),P(L?d(L):new Map),T(L?Object.values(L).flatMap(p):[])},y=[_,L],S[10]=_,S[11]=L,S[12]=x,S[13]=y):(x=S[12],y=S[13]),(0,s.useEffect)(x,y),S[14]!==M||S[15]!==E||S[16]!==D?(v=(e,t,i)=>{let n=e.map(h),a=E.filter(e=>!n.includes(e.id)),r=M.filter(e=>e.path!==t||e.position!==parseInt(i)),o={path:t,position:parseInt(i),count:e.length,threads:[{id:`${t}::${i}`,diffSide:”RIGHT”,commentsData:{totalCount:e.length,comments:e.map(u)}}]};T([…a,…e]),R([…r,o]),$(c([…r,o])),D(t,parseInt(i),e,!1)},S[14]=M,S[15]=E,S[16]=D,S[17]=v):v=S[17];let F=v;S[18]!==E?(w=e=>{if(e)return E.find(t=>t.id===e)},S[18]=E,S[19]=w):w=S[19];let U=w;S[20]!==E?(g=e=>E.find(t=>t.relayId===e),S[20]=E,S[21]=g):g=S[21];let H=g;S[22]!==M?(C=e=>{let t=0;for(let i of M)i.path===e&&(t+=i.count);return t},S[22]=M,S[23]=C):C=S[23];let V=C;S[24]!==B?(j=(e,t)=>B.get(`${e}::${t}`),S[24]=B,S[25]=j):j=S[25];let z=j;S[26]!==O?(b=(e,t)=>O.get(e)?.get(t),S[26]=O,S[27]=b):b=S[27];let K=b;S[28]!==F||S[29]!==E||S[30]!==U||S[31]!==H||S[32]!==V||S[33]!==K||S[34]!==z||S[35]!==A||S[36]!==D?(N={comments:E,addComments:F,findInlineComment:U,findInlineCommentWithRelay:H,getCommentCountByPath:V,getThreadDataByPathAndPosition:z,getInlineCommentInfoByPathAndPosition:K,updateInlineCommentMapWithNewComment:D,initialExpandedThreadId:A},S[28]=F,S[29]=E,S[30]=U,S[31]=H,S[32]=V,S[33]=K,S[34]=z,S[35]=A,S[36]=D,S[37]=N):N=S[37];let G=N;return S[38]!==I||S[39]!==G?(k=(0,n.jsx)(l.Provider,{value:G,children:I}),S[38]=I,S[39]=G,S[40]=k):k=S[40],k}:function({children:e,initialFiles:t,initialExpandedThreadId:i,initialInlineComments:a}){let[r,o]=(0,s.useState)(()=>a?Object.values(a).flatMap(e=>Array.from(Object.values(e).flat())):[]),[m,u]=(0,s.useState)(t??[]),[h,p]=(0,s.useState)(()=>t?c(t):new Map),[f,x]=(0,s.useState)(()=>a?d(a):new Map),y=(0,s.useCallback)((e,t,i,n)=>{if(n){let n=f.get(e)?.get(t)??[];n=n.concat(i);let a=f.get(e)?.set(t,n);x(f.set(e,a??new Map)??f)}else{let n=f.get(e)?.set(t,i);x(f.set(e,n??new Map)??f)}},[f]);(0,s.useEffect)(()=>{u(t??[]),p(t?c(t):new Map),x(a?d(a):new Map),o(a?Object.values(a).flatMap(e=>Array.from(Object.values(e).flat())):[])},[t,a]);let v=(0,s.useCallback)((e,t,i)=>{let n=e.map(e=>e.id),a=r.filter(e=>!n.includes(e.id)),s=m.filter(e=>e.path!==t||e.position!==parseInt(i)),l={path:t,position:parseInt(i),count:e.length,threads:[{id:`${t}::${i}`,diffSide:”RIGHT”,commentsData:{totalCount:e.length,comments:e.map(e=>({id:e.id,author:{avatarUrl:e?.author?.avatarUrl??””,login:e?.author?.login??””,url:””}}))}}]};o([…a,…e]),u([…s,l]),p(c([…s,l])),y(t,parseInt(i),e,!1)},[m,r,y]),w=(0,s.useCallback)(e=>{if(e)return r.find(t=>t.id===e)},[r]),g=(0,s.useCallback)(e=>r.find(t=>t.relayId===e),[r]),C=(0,s.useCallback)(e=>{let t=0;for(let i of m)i.path===e&&(t+=i.count);return t},[m]),j=(0,s.useCallback)((e,t)=>h.get(`${e}::${t}`),[h]),b=(0,s.useCallback)((e,t)=>f.get(e)?.get(t),[f]),N=(0,s.useMemo)(()=>({comments:r,addComments:v,findInlineComment:w,findInlineCommentWithRelay:g,getCommentCountByPath:C,getThreadDataByPathAndPosition:j,getInlineCommentInfoByPathAndPosition:b,updateInlineCommentMapWithNewComment:y,initialExpandedThreadId:i}),[v,r,w,g,C,j,b,y,i]);return(0,n.jsx)(l.Provider,{value:N,children:e})};function u(e){return{id:e.id,author:{avatarUrl:e?.author?.avatarUrl??””,login:e?.author?.login??””,url:””}}}function h(e){return e.id}function p(e){return Array.from(Object.values(e).flat())}function f(e){return Array.from(Object.values(e).flat())}let x=(0,a.kw)()?function(){let e=(0,s.useContext)(l);if(!e)throw Error(“useInlineComments must be used within a InlineCommentsProvider”);return e}:function(){let e=(0,s.useContext)(l);if(!e)throw Error(“useInlineComments must be used within a InlineCommentsProvider”);return e};try{l.displayName||(l.displayName=”InlineCommentsContext”)}catch{}try{m.displayName||(m.displayName=”InlineCommentsProvider”)}catch{}},29622:(e,t,i)=>{i.d(t,{F:()=>o,m:()=>s});var n=i(74848),a=i(96540);let r=(0,a.createContext)({alignment:”top”}),o=({alignment:e,children:t})=>{let i=(0,a.useMemo)(()=>({alignment:e??”top”}),[e]);return(0,n.jsx)(r.Provider,{value:i,children:t})};o.displayName=”ListItemAlignmentProvider”;let s=()=>(0,a.useContext)(r);try{r.displayName||(r.displayName=”AlignmentContext”)}catch{}},30617:(e,t,i)=>{i.d(t,{X:()=>d});var n=i(68273),a=i(16522),r=i(78314),o=i(25407),s=i(76648),l=i(96379),c=i(96540);let d=(0,n.kw)()?function(){let e,t,i,n,c,d,m,u,h,p,f,x=(0,a.c)(30),y=(0,r.t)(),{commit:v}=(0,s.B)();x[0]!==y.ownerLogin?(e=(0,o.QU3)(y.ownerLogin),x[0]=y.ownerLogin,x[1]=e):e=x[1],x[2]!==y.name?(t=(0,o.QU3)(y.name),x[2]=y.name,x[3]=t):t=x[3];let w=`/${e}/${t}/commit_comment`,g=`${w}/create`;x[4]!==v.oid||x[5]!==g?(i=async(e,t,i)=>{let n=new FormData;n.append(“commit_id”,v.oid),n.append(“comment[body]”,e),t&&i&&(n.append(“path”,t),n.append(“position”,i.toString()));let a=await (0,l.DI)(g,{method:”POST”,body:n});return a.ok?{error:null,comment:(await a.json()).comment}:{error:Error(“Failed to add comment”),comment:null}},x[4]=v.oid,x[5]=g,x[6]=i):i=x[6];let C=i;x[7]!==w?(n=async(e,t)=>{let i=new FormData;i.append(“_method”,”put”),i.append(“commit_comment[id]”,t.id.toString()),i.append(“commit_comment[body]”,e),i.append(“commit_comment[bodyVersion]”,t.bodyVersion);let n=await (0,l.DI)(w,{method:”POST”,body:i});if(!n.ok)return{error:Error(“Failed to edit comment”),updatedFields:null};{let e=await n.json();return{error:null,updatedFields:{body:e.source,bodyVersion:e.bodyVersion,htmlBody:e.body}}}},x[7]=w,x[8]=n):n=x[8];let j=n;x[9]!==w?(c=async e=>{let t=new FormData;return(t.append(“_method”,”delete”),t.append(“commit_comment[id]”,e),(await (0,l.DI)(w,{method:”POST”,body:t})).ok)?”success”:”error”},x[9]=w,x[10]=c):c=x[10];let b=c;x[11]!==w?(d=async(e,t)=>{let i=new FormData;return(i.append(“_method”,”put”),i.append(“classifier”,t),(await (0,l.DI)(`${w}/${e}/minimize`,{method:”POST”,body:i,headers:{Accept:”application/json”}})).ok)?”success”:”error”},x[11]=w,x[12]=d):d=x[12];let N=d;x[13]!==w?(m=async e=>{let t=new FormData;return(t.append(“_method”,”put”),(await (0,l.DI)(`${w}/${e}/unminimize`,{method:”POST”,body:t,headers:{Accept:”application/json”}})).ok)?”success”:”error”},x[13]=w,x[14]=m):m=x[14];let k=m,S=`${y.ownerLogin}/${y.name}`;x[15]!==y.id||x[16]!==S?(u={databaseId:y.id,nwo:S,slashCommandsEnabled:!1},x[15]=y.id,x[16]=S,x[17]=u):u=x[17],x[18]!==v.oid?(h={id:v.oid},x[18]=v.oid,x[19]=h):h=x[19],x[20]!==u||x[21]!==h?(p={repository:u,type:”commit”,id:h},x[20]=u,x[21]=h,x[22]=p):p=x[22];let I=p;return x[23]!==C||x[24]!==I||x[25]!==b||x[26]!==j||x[27]!==N||x[28]!==k?(f={addComment:C,commentBoxSubject:I,editComment:j,deleteComment:b,hideComment:N,unhideComment:k},x[23]=C,x[24]=I,x[25]=b,x[26]=j,x[27]=N,x[28]=k,x[29]=f):f=x[29],f}:function(){let e=(0,r.t)(),{commit:t}=(0,s.B)(),i=`/${(0,o.QU3)(e.ownerLogin)}/${(0,o.QU3)(e.name)}/commit_comment`,n=`${i}/create`,a=(0,c.useCallback)(async(e,i,a)=>{let r=new FormData;r.append(“commit_id”,t.oid),r.append(“comment[body]”,e),i&&a&&(r.append(“path”,i),r.append(“position”,a.toString()));let o=await (0,l.DI)(n,{method:”POST”,body:r});return o.ok?{error:null,comment:(await o.json()).comment}:{error:Error(“Failed to add comment”),comment:null}},[t.oid,n]),d=(0,c.useCallback)(async(e,t)=>{let n=new FormData;n.append(“_method”,”put”),n.append(“commit_comment[id]”,t.id.toString()),n.append(“commit_comment[body]”,e),n.append(“commit_comment[bodyVersion]”,t.bodyVersion);let a=await (0,l.DI)(i,{method:”POST”,body:n});if(!a.ok)return{error:Error(“Failed to edit comment”),updatedFields:null};{let e=await a.json();return{error:null,updatedFields:{body:e.source,bodyVersion:e.bodyVersion,htmlBody:e.body}}}},[i]),m=(0,c.useCallback)(async e=>{let t=new FormData;return(t.append(“_method”,”delete”),t.append(“commit_comment[id]”,e),(await (0,l.DI)(i,{method:”POST”,body:t})).ok)?”success”:”error”},[i]),u=(0,c.useCallback)(async(e,t)=>{let n=new FormData;return(n.append(“_method”,”put”),n.append(“classifier”,t),(await (0,l.DI)(`${i}/${e}/minimize`,{method:”POST”,body:n,headers:{Accept:”application/json”}})).ok)?”success”:”error”},[i]),h=(0,c.useCallback)(async e=>{let t=new FormData;return(t.append(“_method”,”put”),(await (0,l.DI)(`${i}/${e}/unminimize`,{method:”POST”,body:t,headers:{Accept:”application/json”}})).ok)?”success”:”error”},[i]),p=(0,c.useMemo)(()=>({repository:{databaseId:e.id,nwo:`${e.ownerLogin}/${e.name}`,slashCommandsEnabled:!1},type:”commit”,id:{id:t.oid}}),[e.id,e.name,e.ownerLogin,t.oid]);return(0,c.useMemo)(()=>({addComment:a,commentBoxSubject:p,editComment:d,deleteComment:m,hideComment:u,unhideComment:h}),[a,m,d,u,h,p])}},34745:(e,t,i)=>{i.d(t,{f:()=>eo});var n=i(74848),a=i(68273),r=i(16522),o=i(44569),s=i(71315),l=i(96459),c=i(5956),d=i(96540),m=i(97174),u=i(76214);let h=”CommitGroup-module__panel–Agk7V”;var p=i(4559),f=i(99896),x=i(2970),y=i(98994),v=i(43617),w=i(4929),g=i(95378),C=i(73017),j=i(30459),b=i(54571),N=i(16790),k=i(4095),S=i(48926),I=i(25407),_=i(66108),A=i(38621),L=i(21373),E=i(26108),T=i(55255),M=i(11196),R=i(68534),B=i(1117);let $=d.memo(P),O=(0,a.kw)();function P(e){return O?function(e){let t,i,a,o,s,l,c=(0,r.c)(18),{repo:d,oid:m}=e;c[0]!==m?(t=(0,R.F)(m),c[0]=m,c[1]=t):t=c[1];let u=`browse-repo-${t}`,{sendAnalyticsEvent:h}=(0,j.s)(),{loggingPrefix:p,loggingPayload:f}=(0,N.xe)(),x=(0,N.eX)();c[2]!==f||c[3]!==p||c[4]!==h||c[5]!==x?(i=()=>{x&&h(`${p}click`,”COMMITS_BROWSE_REPOSITORY_AT_THIS_POINT_CLICKED”,f)},c[2]=f,c[3]=p,c[4]=h,c[5]=x,c[6]=i):i=c[6];let y=i;return c[7]!==m||c[8]!==d?(a=(0,I.IO9)({repo:d,action:”tree”,commitish:m}),c[7]=m,c[8]=d,c[9]=a):a=c[9],c[10]===Symbol.for(“react.memo_cache_sentinel”)?(o=(0,n.jsx)(A.CodeIcon,{}),c[10]=o):o=c[10],c[11]!==u||c[12]!==y||c[13]!==a?(s=(0,n.jsx)(“a”,{“aria-labelledby”:u,href:a,className:”Button Button–iconOnly Button–invisible Button–small”,”data-testid”:”commit-row-browse-repo”,onClick:y,children:o}),c[11]=u,c[12]=y,c[13]=a,c[14]=s):s=c[14],c[15]!==u||c[16]!==s?(l=(0,n.jsx)(T.A,{“aria-label”:”Browse repository at this point”,id:u,direction:”sw”,children:s}),c[15]=u,c[16]=s,c[17]=l):l=c[17],l}(e):function({repo:e,oid:t}){let i=`browse-repo-${(0,R.F)(t)}`,{sendAnalyticsEvent:a}=(0,j.s)(),{loggingPrefix:r,loggingPayload:o}=(0,N.xe)(),s=(0,N.eX)();return(0,n.jsx)(T.A,{“aria-label”:”Browse repository at this point”,id:i,direction:”sw”,children:(0,n.jsx)(“a”,{“aria-labelledby”:i,href:(0,I.IO9)({repo:e,action:”tree”,commitish:t}),className:”Button Button–iconOnly Button–invisible Button–small”,”data-testid”:”commit-row-browse-repo”,onClick:()=>{s&&a(`${r}click`,”COMMITS_BROWSE_REPOSITORY_AT_THIS_POINT_CLICKED”,o)},children:(0,n.jsx)(A.CodeIcon,{})})})}(e)}let D=d.memo(U),F=(0,a.kw)();function U(e){return F?function(e){let t,i,a,o,s,l=(0,r.c)(14),{repo:c,oid:d,path:m}=e;if(!m)return null;l[0]!==d?(t=(0,R.F)(d),l[0]=d,l[1]=t):t=l[1];let u=`view-code-${t}`;return l[2]!==d||l[3]!==m||l[4]!==c.name||l[5]!==c.ownerLogin?(i=(0,I.nD_)({owner:c.ownerLogin,repo:c.name,commitish:d,filePath:m}),l[2]=d,l[3]=m,l[4]=c.name,l[5]=c.ownerLogin,l[6]=i):i=l[6],l[7]===Symbol.for(“react.memo_cache_sentinel”)?(a=(0,n.jsx)(A.FileCodeIcon,{}),l[7]=a):a=l[7],l[8]!==i||l[9]!==u?(o=(0,n.jsx)(“a”,{“aria-labelledby”:u,href:i,className:”Button Button–iconOnly Button–invisible Button–small”,”data-testid”:”commit-row-view-code”,children:a}),l[8]=i,l[9]=u,l[10]=o):o=l[10],l[11]!==o||l[12]!==u?(s=(0,n.jsx)(T.A,{“aria-label”:”View code at this point”,id:u,direction:”sw”,children:o}),l[11]=o,l[12]=u,l[13]=s):s=l[13],s}(e):function({repo:e,oid:t,path:i}){if(!i)return null;let a=`view-code-${(0,R.F)(t)}`;return(0,n.jsx)(T.A,{“aria-label”:”View code at this point”,id:a,direction:”sw”,children:(0,n.jsx)(“a”,{“aria-labelledby”:a,href:(0,I.nD_)({owner:e.ownerLogin,repo:e.name,commitish:t,filePath:i}),className:”Button Button–iconOnly Button–invisible Button–small”,”data-testid”:”commit-row-view-code”,children:(0,n.jsx)(A.FileCodeIcon,{})})})}(e)}let H=(0,a.kw)()?function(e){let t,i,a=(0,r.c)(5),{commitUrl:o,oid:s,softNavToCommit:l}=e;a[0]===Symbol.for(“react.memo_cache_sentinel”)?(t={variant:”invisible”,size:”small”,sx:{fontFamily:”var(–fontStack-monospace)”,color:”fg.muted”}},a[0]=t):t=a[0];let c=t;return a[1]!==o||a[2]!==s||a[3]!==l?(i=(0,n.jsx)(T.A,{“aria-label”:”View commit details”,direction:”s”,children:l?(0,n.jsx)(L.Q,{as:_.N,to:o,…c,children:(0,R.F)(s)}):(0,n.jsx)(“a”,{className:”Button–invisible Button–small Button text-mono”,href:o,…c,children:(0,n.jsx)(“span”,{className:”Button-content”,children:(0,n.jsx)(“span”,{className:”Button-label color-fg-muted”,children:(0,R.F)(s)})})})}),a[1]=o,a[2]=s,a[3]=l,a[4]=i):i=a[4],i}:function({commitUrl:e,oid:t,softNavToCommit:i}){let a={variant:”invisible”,size:”small”,sx:{fontFamily:”var(–fontStack-monospace)”,color:”fg.muted”}};return(0,n.jsx)(T.A,{“aria-label”:”View commit details”,direction:”s”,children:i?(0,n.jsx)(L.Q,{as:_.N,to:e,…a,children:(0,R.F)(t)}):(0,n.jsx)(“a”,{className:”Button–invisible Button–small Button text-mono”,href:e,…a,children:(0,n.jsx)(“span”,{className:”Button-content”,children:(0,n.jsx)(“span”,{className:”Button-label color-fg-muted”,children:(0,R.F)(t)})})})})},V=(0,a.kw)()?function(e){let t,i,a,o,s=(0,r.c)(13),{showDescription:l,setShowDescription:c,oid:d}=e;s[0]!==d?(t=(0,R.F)(d),s[0]=d,s[1]=t):t=s[1];let m=t,u=`show-description-${m}`,h=`${!l?”Show”:”Hide”} description for ${m}`;return s[2]!==c||s[3]!==l?(i=e=>{e.preventDefault(),c(!l)},s[2]=c,s[3]=l,s[4]=i):i=s[4],s[5]!==l||s[6]!==u||s[7]!==i?(a=(0,n.jsx)(E.K,{icon:A.EllipsisIcon,className:”Button Button–iconOnly Button–invisible Button–small ml-1″,”data-testid”:”commit-row-show-description-button”,”aria-labelledby”:u,”aria-pressed”:l,”aria-expanded”:l,onClick:i}),s[5]=l,s[6]=u,s[7]=i,s[8]=a):a=s[8],s[9]!==u||s[10]!==a||s[11]!==h?(o=(0,n.jsx)(M.m,{id:u,text:h,”aria-label”:h,children:a}),s[9]=u,s[10]=a,s[11]=h,s[12]=o):o=s[12],o}:function({showDescription:e,setShowDescription:t,oid:i}){let a=(0,R.F)(i),r=`show-description-${a}`,o=`${!e?”Show”:”Hide”} description for ${a}`;return(0,n.jsx)(M.m,{id:r,text:o,”aria-label”:o,children:(0,n.jsx)(E.K,{icon:A.EllipsisIcon,className:”Button Button–iconOnly Button–invisible Button–small ml-1″,”data-testid”:”commit-row-show-description-button”,”aria-labelledby”:r,”aria-pressed”:e,”aria-expanded”:e,onClick:i=>{i.preventDefault(),t(!e)}})})},z=(0,a.kw)()?function(e){let t,i,a,o,s,l,c=(0,r.c)(17),{count:d,repo:m,oid:u}=e;if(!d)return null;c[0]!==u?(t=(0,R.F)(u),c[0]=u,c[1]=t):t=c[1];let h=`comment-count-${t}`,p=`View ${d} commit comment${d>1?”s”:””}`;c[2]!==u||c[3]!==m.name||c[4]!==m.ownerLogin?(i=(0,I.$Qz)({owner:m.ownerLogin,repo:m.name,commitish:u}),c[2]=u,c[3]=m.name,c[4]=m.ownerLogin,c[5]=i):i=c[5];let f=`${i}#${B.N}`;return c[6]===Symbol.for(“react.memo_cache_sentinel”)?(a=(0,n.jsx)(A.CommentIcon,{}),c[6]=a):a=c[6],c[7]!==d?(o=(0,n.jsxs)(“span”,{className:”Button-content color-fg-muted”,children:[a,(0,n.jsx)(“span”,{className:”Button-label”,children:d})]}),c[7]=d,c[8]=o):o=c[8],c[9]!==h||c[10]!==f||c[11]!==o?(s=(0,n.jsx)(“a”,{“aria-labelledby”:h,href:f,className:”Button Button–invisible Button–small”,”data-testid”:”commit-row-comments”,children:o}),c[9]=h,c[10]=f,c[11]=o,c[12]=s):s=c[12],c[13]!==h||c[14]!==p||c[15]!==s?(l=(0,n.jsx)(T.A,{“aria-label”:p,id:h,direction:”sw”,children:s}),c[13]=h,c[14]=p,c[15]=s,c[16]=l):l=c[16],l}:function({count:e,repo:t,oid:i}){if(!e)return null;let a=`comment-count-${(0,R.F)(i)}`;return(0,n.jsx)(T.A,{“aria-label”:`View ${e} commit comment${e>1?”s”:””}`,id:a,direction:”sw”,children:(0,n.jsx)(“a”,{“aria-labelledby”:a,href:`${(0,I.$Qz)({owner:t.ownerLogin,repo:t.name,commitish:i})}#${B.N}`,className:”Button Button–invisible Button–small”,”data-testid”:”commit-row-comments”,children:(0,n.jsxs)(“span”,{className:”Button-content color-fg-muted”,children:[(0,n.jsx)(A.CommentIcon,{}),(0,n.jsx)(“span”,{className:”Button-label”,children:e})]})})})};try{$.displayName||($.displayName=”BrowseRepositoryAtThisPoint”)}catch{}try{P.displayName||(P.displayName=”WrappedBrowseRepositoryAtThisPoint”)}catch{}try{D.displayName||(D.displayName=”ViewCodeAtThisPoint”)}catch{}try{U.displayName||(U.displayName=”WrappedViewCodeAtThisPoint”)}catch{}try{H.displayName||(H.displayName=”ViewCommitDetails”)}catch{}try{V.displayName||(V.displayName=”ToggleCommitDescription”)}catch{}try{z.displayName||(z.displayName=”CommitCommentCount”)}catch{}var K=i(44185),G=i(81945),X=i(98783),W=i(42257);let Q=(0,a.kw)()?function(e){let t,i,a,o,s=(0,r.c)(13),{deferredData:l}=e,{helpUrl:c}=(0,X.D)(),d=(0,k.xs)();return s[0]!==d?(t=d&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex”,width:”62px”}),s[0]=d,s[1]=t):t=s[1],s[2]!==l||s[3]!==d?(i=!d&&void 0===l&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex”,width:”62px”}),s[2]=l,s[3]=d,s[4]=i):i=s[4],s[5]!==l||s[6]!==c||s[7]!==d?(a=!d&&l&&(0,n.jsx)(K.h,{commitOid:l.oid,hasSignature:!0,verificationStatus:l.verifiedStatus,signature:l.signatureInformation?{helpUrl:c,…l.signatureInformation}:void 0}),s[5]=l,s[6]=c,s[7]=d,s[8]=a):a=s[8],s[9]!==t||s[10]!==i||s[11]!==a?(o=(0,n.jsxs)(n.Fragment,{children:[t,i,a]}),s[9]=t,s[10]=i,s[11]=a,s[12]=o):o=s[12],o}:function({deferredData:e}){let{helpUrl:t}=(0,X.D)(),i=(0,k.xs)();return(0,n.jsxs)(n.Fragment,{children:[i&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex”,width:”62px”}),!i&&void 0===e&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex”,width:”62px”}),!i&&e&&(0,n.jsx)(K.h,{commitOid:e.oid,hasSignature:!0,verificationStatus:e.verifiedStatus,signature:e.signatureInformation?{helpUrl:t,…e.signatureInformation}:void 0})]})};function Y({deferredData:e,oid:t,repository:i}){let a=(0,k.xs)(),r=””;try{r=e?.statusCheckStatus?.short_text?.split(“checks”)[0]?.trim()||””}catch{}return(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex ml-2″,width:”20px”}),!a&&void 0===e&&(0,n.jsx)(G.O,{variant:”rounded”,className:”d-none d-sm-flex ml-2″,width:”20px”}),!a&&e?.statusCheckStatus&&(0,n.jsx)(“div”,{className:”d-none d-sm-flex ml-1″,children:”\xb7″}),(0,n.jsx)(“div”,{className:”d-none d-sm-flex”,children:(0,n.jsx)(W.d,{oid:t,status:e?.statusCheckStatus?.state,descriptionString:r,repo:i})})]})}try{Q.displayName||(Q.displayName=”SignedCommitBadge”)}catch{}try{Y.displayName||(Y.displayName=”CommitChecksStatusBadge”)}catch{}var J=i(43147);let Z=”CommitRow-module__ListItemTitle_0–xTKIC”,q=”CommitRow-module__ListItem_0–Iwpdk”,ee=”CommitRow-module__ListItemMetadata_0–Tnt1n”,et=(0,d.lazy)(()=>i.e(22220).then(i.bind(i,22220)).then(e=>({default:e.CommitActionBar}))),ei=(0,a.kw)()?function(e){let t,i,a,o,s,l,c,m,u,h,I,_,A,L,E,T,M,R,B,O,P,F,U,K=(0,r.c)(82),{commit:G,repo:X,path:W,softNavToCommit:ei}=e,[ea,er]=(0,d.useState)(!1),eo=(0,d.useRef)(null),[es,el]=(0,f.ym)(G.oid,X),[ec,ed]=(0,d.useState)(!1),em=(0,k.NO)(G.oid);K[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[],K[0]=t):t=K[0];let[eu]=(0,b.I)(en,!0,t),{sendAnalyticsEvent:eh}=(0,j.s)(),{loggingPrefix:ep,loggingPayload:ef}=(0,N.xe)(),ex=(0,N.eX)();K[1]!==ef||K[2]!==ep||K[3]!==eh||K[4]!==ex?(i=()=>{ex&&eh(`${ep}click`,”COMMITS_TITLE_CLICKED”,ef)},K[1]=ef,K[2]=ep,K[3]=eh,K[4]=ex,K[5]=i):i=K[5];let ey=i;K[6]!==ea?(a=()=>{ea&&eo.current&&eo.current.textContent&&(0,p.i)(eo.current.textContent)},o=[eo,ea],K[6]=ea,K[7]=a,K[8]=o):(a=K[7],o=K[8]),(0,d.useEffect)(a,o),K[9]!==G.bodyMessageHtml||K[10]!==G.oid||K[11]!==G.shortMessage||K[12]!==G.shortMessageMarkdownLink||K[13]!==G.url||K[14]!==eu||K[15]!==ey||K[16]!==ea?(s=G.shortMessageMarkdownLink&&!eu?(0,n.jsx)(g.kx,{html:G.shortMessageMarkdownLink,onClick:ey,containerClassName:Z,headingClassName:Z,children:G.bodyMessageHtml&&(0,n.jsx)(V,{showDescription:ea,setShowDescription:er,oid:G.oid})}):(0,n.jsx)(g.ao,{value:G.shortMessage,href:G.url,onClick:ey,containerClassName:Z,headingClassName:Z,children:G.bodyMessageHtml&&(0,n.jsx)(V,{showDescription:ea,setShowDescription:er,oid:G.oid})}),K[9]=G.bodyMessageHtml,K[10]=G.oid,K[11]=G.shortMessage,K[12]=G.shortMessageMarkdownLink,K[13]=G.url,K[14]=eu,K[15]=ey,K[16]=ea,K[17]=s):s=K[17];let ev=em?.commentCount??0;return K[18]!==G.oid||K[19]!==X||K[20]!==ev?(l=(0,n.jsx)(w.V,{children:(0,n.jsx)(z,{oid:G.oid,repo:X,count:ev})}),K[18]=G.oid,K[19]=X,K[20]=ev,K[21]=l):l=K[21],K[22]!==em?(c=(0,n.jsx)(w.V,{className:ee,children:(0,n.jsx)(Q,{deferredData:em})}),K[22]=em,K[23]=c):c=K[23],K[24]!==G.oid||K[25]!==G.url||K[26]!==ei?(m=(0,n.jsx)(H,{oid:G.oid,commitUrl:G.url,softNavToCommit:ei}),K[24]=G.oid,K[25]=G.url,K[26]=ei,K[27]=m):m=K[27],K[28]!==G.oid?(u=(0,n.jsx)(J.w,{sha:G.oid}),K[28]=G.oid,K[29]=u):u=K[29],K[30]!==u||K[31]!==m?(h=(0,n.jsxs)(“div”,{className:”d-flex”,children:[m,u]}),K[30]=u,K[31]=m,K[32]=h):h=K[32],K[33]!==G.oid||K[34]!==W||K[35]!==X?(I=(0,n.jsx)(D,{repo:X,oid:G.oid,path:W}),K[33]=G.oid,K[34]=W,K[35]=X,K[36]=I):I=K[36],K[37]!==G.oid||K[38]!==X?(_=(0,n.jsx)($,{repo:X,oid:G.oid}),K[37]=G.oid,K[38]=X,K[39]=_):_=K[39],K[40]!==h||K[41]!==I||K[42]!==_?(A=(0,n.jsxs)(w.V,{className:”d-none d-sm-flex px-0 gap-2″,variant:”primary”,children:[h,I,_]}),K[40]=h,K[41]=I,K[42]=_,K[43]=A):A=K[43],K[44]!==A||K[45]!==l||K[46]!==c?(L=(0,n.jsxs)(n.Fragment,{children:[l,c,A]}),K[44]=A,K[45]=l,K[46]=c,K[47]=L):L=K[47],K[48]!==G||K[49]!==em||K[50]!==el||K[51]!==W||K[52]!==X?(E=(0,n.jsx)(d.Suspense,{children:(0,n.jsx)(et,{commit:G,repo:X,path:W,setDialogOpen:ed,fetchCheckDetails:el,deferredData:em})}),K[48]=G,K[49]=em,K[50]=el,K[51]=W,K[52]=X,K[53]=E):E=K[53],K[54]===Symbol.for(“react.memo_cache_sentinel”)?(T=(0,n.jsx)(“div”,{className:”px-1″}),K[54]=T):T=K[54],K[55]!==G.bodyMessageHtml||K[56]!==ea?(M=ea&&G.bodyMessageHtml&&(0,n.jsx)(y.U,{children:(0,n.jsx)(C.JR,{ref:eo,html:G.bodyMessageHtml,className:”ws-pre-wrap extended-commit-description-container pb-2 text-mono wb-break-word”})}),K[55]=G.bodyMessageHtml,K[56]=ea,K[57]=M):M=K[57],K[58]!==G.oid||K[59]!==em||K[60]!==X?(R=(0,n.jsx)(Y,{repository:X,deferredData:em,oid:G.oid}),K[58]=G.oid,K[59]=em,K[60]=X,K[61]=R):R=K[61],K[62]!==G||K[63]!==X||K[64]!==R?(B=(0,n.jsx)(y.U,{children:(0,n.jsx)(S.j,{commit:G,repo:X,children:R})}),K[62]=G,K[63]=X,K[64]=R,K[65]=B):B=K[65],K[66]!==M||K[67]!==B?(O=(0,n.jsxs)(v.Q,{children:[M,B]}),K[66]=M,K[67]=B,K[68]=O):O=K[68],K[69]!==G.url||K[70]!==L||K[71]!==E||K[72]!==O||K[73]!==s?(P=(0,n.jsxs)(x.c,{“data-testid”:”commit-row-item”,”data-commit-link”:G.url,title:s,metadata:L,secondaryActions:E,className:q,children:[T,O]}),K[69]=G.url,K[70]=L,K[71]=E,K[72]=O,K[73]=s,K[74]=P):P=K[74],K[75]!==em?.statusCheckStatus||K[76]!==es||K[77]!==ec?(F=em?.statusCheckStatus&&ec&&(0,n.jsx)(f.xC,{combinedStatus:es,isOpen:ec,onDismiss:()=>{ed(!1)}}),K[75]=em?.statusCheckStatus,K[76]=es,K[77]=ec,K[78]=F):F=K[78],K[79]!==P||K[80]!==F?(U=(0,n.jsxs)(n.Fragment,{children:[P,F]}),K[79]=P,K[80]=F,K[81]=U):U=K[81],U}:function({commit:e,repo:t,path:i,softNavToCommit:a}){let[r,o]=(0,d.useState)(!1),s=(0,d.useRef)(null),[l,c]=(0,f.ym)(e.oid,t),[m,u]=(0,d.useState)(!1),h=(0,k.NO)(e.oid),[I]=(0,b.I)(()=>!1,!0,[]),{sendAnalyticsEvent:_}=(0,j.s)(),{loggingPrefix:A,loggingPayload:L}=(0,N.xe)(),E=(0,N.eX)(),T=()=>{E&&_(`${A}click`,”COMMITS_TITLE_CLICKED”,L)};return(0,d.useEffect)(()=>{r&&s.current&&s.current.textContent&&(0,p.i)(s.current.textContent)},[s,r]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(x.c,{“data-testid”:”commit-row-item”,”data-commit-link”:e.url,title:e.shortMessageMarkdownLink&&!I?(0,n.jsx)(g.kx,{html:e.shortMessageMarkdownLink,onClick:T,containerClassName:Z,headingClassName:Z,children:e.bodyMessageHtml&&(0,n.jsx)(V,{showDescription:r,setShowDescription:o,oid:e.oid})}):(0,n.jsx)(g.ao,{value:e.shortMessage,href:e.url,onClick:T,containerClassName:Z,headingClassName:Z,children:e.bodyMessageHtml&&(0,n.jsx)(V,{showDescription:r,setShowDescription:o,oid:e.oid})}),metadata:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.V,{children:(0,n.jsx)(z,{oid:e.oid,repo:t,count:h?.commentCount??0})}),(0,n.jsx)(w.V,{className:ee,children:(0,n.jsx)(Q,{deferredData:h})}),(0,n.jsxs)(w.V,{className:”d-none d-sm-flex px-0 gap-2″,variant:”primary”,children:[(0,n.jsxs)(“div”,{className:”d-flex”,children:[(0,n.jsx)(H,{oid:e.oid,commitUrl:e.url,softNavToCommit:a}),(0,n.jsx)(J.w,{sha:e.oid})]}),(0,n.jsx)(D,{repo:t,oid:e.oid,path:i}),(0,n.jsx)($,{repo:t,oid:e.oid})]})]}),secondaryActions:(0,n.jsx)(d.Suspense,{children:(0,n.jsx)(et,{commit:e,repo:t,path:i,setDialogOpen:u,fetchCheckDetails:c,deferredData:h})}),className:q,children:[(0,n.jsx)(“div”,{className:”px-1″}),(0,n.jsxs)(v.Q,{children:[r&&e.bodyMessageHtml&&(0,n.jsx)(y.U,{children:(0,n.jsx)(C.JR,{ref:s,html:e.bodyMessageHtml,className:”ws-pre-wrap extended-commit-description-container pb-2 text-mono wb-break-word”})}),(0,n.jsx)(y.U,{children:(0,n.jsx)(S.j,{commit:e,repo:t,children:(0,n.jsx)(Y,{repository:t,deferredData:h,oid:e.oid})})})]})]}),h?.statusCheckStatus&&m&&(0,n.jsx)(f.xC,{combinedStatus:l,isOpen:m,onDismiss:()=>{u(!1)}})]})};function en(){return!1}try{et.displayName||(et.displayName=”CommitActionBar”)}catch{}try{ei.displayName||(ei.displayName=”CommitRow”)}catch{}var ea=i(89830);let er=(0,a.kw)()?function(e){let t,i,a,o,s=(0,r.c)(20),{commits:l,title:c,shouldClipTimeline:p,repo:f,currentBlobPath:x,softNavToCommit:y}=e,v=void 0===x?””:x,w=(0,d.useId)(),g=p?”top”:”none”,C=`Commits on ${c}`;if(s[0]!==w||s[1]!==C?(t=(0,n.jsx)(ea.s.Heading,{as:”h3″,id:w,title:C,”data-testid”:”commit-group-title”}),s[0]=w,s[1]=C,s[2]=t):t=s[2],s[3]!==l||s[4]!==v||s[5]!==f||s[6]!==y){let e;s[8]!==v||s[9]!==f||s[10]!==y?(e=e=>(0,n.jsx)(ei,{commit:e,repo:f,path:v,softNavToCommit:y},e.oid),s[8]=v,s[9]=f,s[10]=y,s[11]=e):e=s[11],i=l.map(e),s[3]=l,s[4]=v,s[5]=f,s[6]=y,s[7]=i}else i=s[7];return s[12]!==w||s[13]!==i||s[14]!==c?(a=(0,n.jsx)(u.Z,{className:h,children:(0,n.jsx)(m.u,{title:c,titleHeaderTag:”h3″,ariaLabelledBy:w,children:i},c)}),s[12]=w,s[13]=i,s[14]=c,s[15]=a):a=s[15],s[16]!==g||s[17]!==t||s[18]!==a?(o=(0,n.jsxs)(ea.s,{clipTimeline:g,children:[t,a]}),s[16]=g,s[17]=t,s[18]=a,s[19]=o):o=s[19],o}:function({commits:e,title:t,shouldClipTimeline:i,repo:a,currentBlobPath:r=””,softNavToCommit:o}){let s=(0,d.useId)();return(0,n.jsxs)(ea.s,{clipTimeline:i?”top”:”none”,children:[(0,n.jsx)(ea.s.Heading,{as:”h3″,id:s,title:`Commits on ${t}`,”data-testid”:”commit-group-title”}),(0,n.jsx)(u.Z,{className:h,children:(0,n.jsx)(m.u,{title:t,titleHeaderTag:”h3″,ariaLabelledBy:s,children:e.map(e=>(0,n.jsx)(ei,{commit:e,repo:a,path:r,softNavToCommit:o},e.oid))},t)})]})};try{er.displayName||(er.displayName=”CommitGroup”)}catch{}let eo=(0,a.kw)()?function(e){let t,i,a,m,u,h,p,f,x,y=(0,r.c)(31),{leadingContent:v,commitGroups:w,trailingContent:g,deferredCommitData:C,repository:j,currentBlobPath:b,loggingPayload:S,loggingPrefix:I,shouldClipTimeline:_,softNavToCommit:A}=e,L=void 0===C?k.Xx:C,E=void 0===_||_,T=void 0!==A&&A;y[0]!==S||y[1]!==I?(t={loggingPayload:S,loggingPrefix:I},y[0]=S,y[1]=I,y[2]=t):t=y[2];let M=t,R=(0,d.useRef)(0),B=(0,d.useRef)(null),$=(0,d.useRef)(null),O=(0,d.useRef)(!1);y[3]===Symbol.for(“react.memo_cache_sentinel”)?(i=[],y[3]=i):i=y[3];let P=(0,d.useRef)(i),D=(0,l.Z)();if(y[4]!==D){a=n=>{“Enter”===n.key?e(n):”Tab”===n.key?t(n):i(n)};let e=e=>{if(“Enter”===e.key){let t=s.XC?.activeElement?.hasAttribute(“data-commit-link”)?s.XC?.activeElement?.getAttribute(“data-commit-link”):void 0;t&&(e.ctrlKey||e.metaKey?s.cg?.open(t,”_blank”):D(t))}},t=e=>{“Tab”===e.key&&(e.shiftKey?(s.XC?.activeElement?.hasAttribute(“data-commit-link”)&&!O.current&&B.current&&(B.current.focus(),$.current=B.current),O.current=!0):(B.current=$.current,$.current=s.XC?.activeElement??null,O.current=!1))},i=e=>{if(![“j”,”k”,”ArrowDown”,”ArrowUp”].includes(e.key)||!(0,o.zw)()&&(“j”===e.key||”k”===e.key))return;let t=1;for(let e=0;e{let e=setTimeout(()=>{P.current=Array.from(document.querySelectorAll(‘[id*=”-list-view-node-“]’))},0);return()=>clearTimeout(e)},y[6]=m):m=y[6],y[7]!==w?(u=[w],y[7]=w,y[8]=u):u=y[8],(0,d.useEffect)(m,u),y[9]!==w||y[10]!==b||y[11]!==j||y[12]!==E||y[13]!==T){let e;y[15]!==b||y[16]!==j||y[17]!==E||y[18]!==T?(e=(e,t)=>(0,n.jsx)(er,{title:e.title,commits:e.commits,shouldClipTimeline:E&&0===t,currentBlobPath:b,repo:j,softNavToCommit:T},e.title),y[15]=b,y[16]=j,y[17]=E,y[18]=T,y[19]=e):e=y[19],h=w.map(e),y[9]=w,y[10]=b,y[11]=j,y[12]=E,y[13]=T,y[14]=h}else h=y[14];return y[20]!==a||y[21]!==v||y[22]!==h||y[23]!==g?(p=(0,n.jsxs)(c.A,{clipSidebar:!0,onKeyDown:a,children:[v,h,g]}),y[20]=a,y[21]=v,y[22]=h,y[23]=g,y[24]=p):p=y[24],y[25]!==M||y[26]!==p?(f=(0,n.jsx)(N.zq,{loggingInfo:M,children:p}),y[25]=M,y[26]=p,y[27]=f):f=y[27],y[28]!==L||y[29]!==f?(x=(0,n.jsx)(k.M2,{deferredData:L,children:f}),y[28]=L,y[29]=f,y[30]=x):x=y[30],x}:function({leadingContent:e,commitGroups:t,trailingContent:i,deferredCommitData:a=k.Xx,repository:r,currentBlobPath:m,loggingPayload:u,loggingPrefix:h,shouldClipTimeline:p=!0,softNavToCommit:f=!1}){let x=(0,d.useRef)(0),y=(0,d.useRef)(null),v=(0,d.useRef)(null),w=(0,d.useRef)(!1),g=(0,d.useRef)([]),C=(0,l.Z)();return(0,d.useEffect)(()=>{let e=setTimeout(()=>{g.current=Array.from(document.querySelectorAll(‘[id*=”-list-view-node-“]’))},0);return()=>clearTimeout(e)},[t]),(0,n.jsx)(k.M2,{deferredData:a,children:(0,n.jsx)(N.zq,{loggingInfo:{loggingPayload:u,loggingPrefix:h},children:(0,n.jsxs)(c.A,{clipSidebar:!0,onKeyDown:e=>{var t;”Enter”===e.key?(e=>{if(“Enter”===e.key){let t=s.XC?.activeElement?.hasAttribute(“data-commit-link”)?s.XC?.activeElement?.getAttribute(“data-commit-link”):void 0;t&&(e.ctrlKey||e.metaKey?s.cg?.open(t,”_blank”):C(t))}})(e):”Tab”===e.key?”Tab”===(t=e).key&&(t.shiftKey?(s.XC?.activeElement?.hasAttribute(“data-commit-link”)&&!w.current&&y.current&&(y.current.focus(),v.current=y.current),w.current=!0):(y.current=v.current,v.current=s.XC?.activeElement??null,w.current=!1)):(e=>{if(![“j”,”k”,”ArrowDown”,”ArrowUp”].includes(e.key)||!(0,o.zw)()&&(“j”===e.key||”k”===e.key))return;let t=1;for(let e=0;e(0,n.jsx)(er,{title:e.title,commits:e.commits,shouldClipTimeline:p&&0===t,currentBlobPath:m,repo:r,softNavToCommit:f},e.title)),i]})})})};try{eo.displayName||(eo.displayName=”Commits”)}catch{}},35220:(e,t,i)=>{i.d(t,{H:()=>l,e:()=>c});var n=i(74848),a=i(73189),r=i(96540),o=i(50205);let s=(0,r.createContext)(void 0),l=({children:e,variant:t=o.tp,setVariant:i=a.l})=>{let l=(0,r.useMemo)(()=>({variant:t,setVariant:i}),[i,t]);return(0,n.jsx)(s.Provider,{value:l,children:e})};l.displayName=”ListViewVariantProvider”;let c=()=>{let e=(0,r.useContext)(s);if(!e)throw Error(“useListViewVariant must be used with VariantProvider.”);return e};try{s.displayName||(s.displayName=”VariantContext”)}catch{}},35898:(e,t,i)=>{i.d(t,{Q:()=>s,i:()=>l});var n=i(74848),a=i(16522),r=i(96540);let o=r.createContext(void 0);function s(e){let t,i=(0,a.c)(3),{user:r,children:s}=e;return i[0]!==s||i[1]!==r?(t=(0,n.jsxs)(o.Provider,{value:r,children:[” “,s,” “]}),i[0]=s,i[1]=r,i[2]=t):t=i[2],t}function l(){return r.useContext(o)}try{o.displayName||(o.displayName=”CurrentUserContext”)}catch{}try{s.displayName||(s.displayName=”CurrentUserProvider”)}catch{}},49245:(e,t,i)=>{i.d(t,{I:()=>m,p:()=>h});var n=i(68273),a=i(16522),r=i(25407),o=i(71315),s=i(96379),l=i(96540),c=i(28014),d=i(68534);let m=(0,n.kw)()?function(e){let t,i=(0,a.c)(7),{repo:n,commit:o,viewerCanReply:l,repoOwnerGlobalRelayId:d,getInlineCommentInfoByPathAndPosition:m}=e,{addComments:h}=(0,c.B)();return i[0]!==h||i[1]!==o||i[2]!==m||i[3]!==n||i[4]!==d||i[5]!==l?(t=(e,t)=>new Promise(async(i,a)=>{let[c,p]=e.split(“::”);if(!c||!p)return void a(Error(“Invalid threadId”));if(!t){let t=m(c,Number(p));i(t?u(t,o,n,l,e,d):void 0);return}let f=await (0,s.lS)(`${(0,r.MLt)({owner:n.ownerLogin,repo:n.name,commitOid:o.oid,path:c,position:p})}${t?”&isRefetch=true”:””}`);if(f.ok){let t=await f.json();h(t.comments,c,p),i(t.comments?u(t.comments,o,n,l,e,d):void 0)}else a(Error(“Failed to fetch thread”))}),i[0]=h,i[1]=o,i[2]=m,i[3]=n,i[4]=d,i[5]=l,i[6]=t):t=i[6],t}:function({repo:e,commit:t,viewerCanReply:i,repoOwnerGlobalRelayId:n,getInlineCommentInfoByPathAndPosition:a}){let{addComments:o}=(0,c.B)();return(0,l.useCallback)((l,c)=>new Promise(async(d,m)=>{let[h,p]=l.split(“::”);if(!h||!p)return void m(Error(“Invalid threadId”));if(!c){let r=a(h,Number(p));d(r?u(r,t,e,i,l,n):void 0);return}let f=await (0,s.lS)(`${(0,r.MLt)({owner:e.ownerLogin,repo:e.name,commitOid:t.oid,path:h,position:p})}${c?”&isRefetch=true”:””}`);if(f.ok){let a=await f.json();o(a.comments,h,p),d(a.comments?u(a.comments,t,e,i,l,n):void 0)}else m(Error(“Failed to fetch thread”))}),[o,t,a,e,i,n])};function u(e,t,i,n,a,r){return{commentsData:{comments:e.map(e=>h(e,t,i,r))},id:a,viewerCanReply:n}}function h(e,t,i,n){return{publishedAt:void 0,state:””,viewerRelationship:””,id:e.relayId,databaseId:e.id,body:e.body,bodyHTML:e.htmlBody,createdAt:e.createdAt,url:`${o.cg?.location.origin}${(0,r.$Qz)({owner:i.ownerLogin,repo:i.name,commitish:t.oid})}#${e.urlFragment}`,currentDiffResourcePath:`#${e.urlFragment}`,authorAssociation:e.authorAssociation?.toUpperCase(),author:{id:e.author.id,login:e.author.login,avatarUrl:e.author.avatarUrl,url:””},isHidden:e.isHidden,lastUserContentEdit:e.lastUserContentEdit,minimizedReason:e.minimizedReason,subjectType:”commit”,viewerCanMinimize:e.viewerCanMinimize,viewerCanSeeMinimizeButton:e.viewerCanMinimize,viewerCanSeeUnminimizeButton:e.viewerCanMinimize,viewerCanDelete:e.viewerCanDelete,viewerCanUpdate:e.viewerCanUpdate,viewerCanReact:e.viewerCanReact,viewerCanReport:e.viewerCanReport,viewerCanReportToMaintainer:e.viewerCanReportToMaintainer,viewerCanBlockFromOrg:e.viewerCanBlockFromOrg,viewerCanUnblockFromOrg:e.viewerCanUnblockFromOrg,viewerCanUnminimize:e.viewerCanUnminimize??!1,viewerDidAuthor:e.viewerDidAuthor,reactionGroups:e.reactionGroups,reference:{number:void 0,text:(0,d.F)(t.oid),author:{login:t.authors.length>0?t.authors[0]?.login??””:””}},repository:{id:i.id.toString(),isPrivate:i.private,name:i.name,owner:{id:n,login:i.ownerLogin,url:””}}}}},49744:(e,t,i)=>{i.d(t,{I:()=>s,t:()=>o});var n=i(74848),a=i(96540);let r=(0,a.createContext)(void 0),o=({children:e})=>{let[t,i]=(0,a.useState)(!1),o=(0,a.useMemo)(()=>({hasNewActivity:t,setHasNewActivity:i}),[t]);return(0,n.jsx)(r.Provider,{value:o,children:e})};o.displayName=”ListItemNewActivityProvider”;let s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useListItemNewActivity must be used with NewActivityProvider.”);return e};try{r.displayName||(r.displayName=”NewActivityContext”)}catch{}},50205:(e,t,i)=>{i.d(t,{Dy:()=>a,O1:()=>o,QL:()=>d,eX:()=>l,n1:()=>n,os:()=>c,tD:()=>r,tp:()=>s});let n=[“h1″,”h2″,”h3″,”h4″,”h5″,”h6”],a=[“list-view”,”list-view-metadata”,”listitem”],r=”h2″,o={“list-view”:r,”list-view-metadata”:”h3″,listitem:”h3″},s=”default”,l=!1,c=!1,d=”List view”},53687:(e,t,i)=>{i.d(t,{P:()=>s,e:()=>o});var n=i(74848),a=i(96540);let r=(0,a.createContext)({multiPageSelectionAllowed:!1}),o=({children:e,multiPageSelectionAllowed:t=!1})=>{let[i,o]=(0,a.useState)(t),s=(0,a.useMemo)(()=>({multiPageSelectionAllowed:i,setMultiPageSelectionAllowed:o}),[i]);return(0,n.jsx)(r.Provider,{value:s,children:e})};o.displayName=”ListViewMultiPageSelectionProvider”;let s=()=>(0,a.useContext)(r);try{r.displayName||(r.displayName=”MultiPageSelectionContext”)}catch{}},56825:(e,t,i)=>{i.d(t,{m:()=>o});var n=i(96540),a=i(50205),r=i(61015);function o(e){let{titleHeaderTag:t,hasMetadataTitle:i}=(0,r.t)();return(0,n.useMemo)(()=>{let n=a.Dy.findIndex(t=>t===e),r=a.n1.indexOf(t)+(i?n:n-1);return r>a.n1.length-1?”h6″:a.n1[r]||a.O1[e]},[t,i,e])}},57028:(e,t,i)=>{i.d(t,{M:()=>f});var n=i(74848),a=i(68273),r=i(16522),o=i(4559),s=i(40260),l=i(73189),c=i(38621),d=i(99511),m=i(76720),u=i(96540),h=i(76214);let p={timeout:{description:”Try reloading the page, or if the problem persists, view the history locally using this command:”,heading:”Commit history cannot be loaded”,icon:(0,n.jsx)(c.AlertIcon,{size:”medium”,className:”mb-2 fgColor-muted”}),showTextInput:!0},unavailable:{description:”There isn’t any commit history to show here.”,heading:”No commits history”,icon:(0,n.jsx)(c.GitCommitIcon,{size:”medium”}),showTextInput:!1}},f=(0,a.kw)()?function(e){let t,i,a,f,x,y,v,w=(0,r.c)(19),{timeoutMessage:g,unavailableMessage:C}=e,j=p[“”!==g?”timeout”:”unavailable”],b=C??j.description;return w[0]!==j.heading||w[1]!==b||w[2]!==g?(t=()=>{(0,o.i)(`${j.heading}. ${b} ${g}`.trim())},i=[j.heading,b,g],w[0]=j.heading,w[1]=b,w[2]=g,w[3]=t,w[4]=i):(t=w[3],i=w[4]),(0,u.useEffect)(t,i),w[5]!==j.icon?(a=(0,n.jsx)(m.E.Visual,{children:j.icon}),w[5]=j.icon,w[6]=a):a=w[6],w[7]!==j.heading?(f=(0,n.jsx)(m.E.Heading,{children:j.heading}),w[7]=j.heading,w[8]=f):f=w[8],w[9]!==b?(x=(0,n.jsx)(m.E.Description,{children:b}),w[9]=b,w[10]=x):x=w[10],w[11]!==j.showTextInput||w[12]!==g?(y=j.showTextInput&&(0,n.jsx)(d.A,{“aria-label”:”View commit history locally command”,className:”d-flex flex-justify-center mt-2″,monospace:!0,onChange:l.l,readOnly:!0,size:”large”,trailingAction:(0,n.jsx)(d.A.Action,{onClick:()=>(0,s.D)(g),icon:c.CopyIcon,”aria-label”:”Copy to clipboard”,className:”fgColor-muted”}),value:g}),w[11]=j.showTextInput,w[12]=g,w[13]=y):y=w[13],w[14]!==a||w[15]!==f||w[16]!==x||w[17]!==y?(v=(0,n.jsx)(h.Z,{children:(0,n.jsx)(“div”,{“data-hpc”:!0,children:(0,n.jsxs)(m.E,{border:!1,spacious:!0,children:[a,f,x,y]})})}),w[14]=a,w[15]=f,w[16]=x,w[17]=y,w[18]=v):v=w[18],v}:function({timeoutMessage:e,unavailableMessage:t}){let i=p[“”!==e?”timeout”:”unavailable”],a=t??i.description;return(0,u.useEffect)(()=>{(0,o.i)(`${i.heading}. ${a} ${e}`.trim())},[i.heading,a,e]),(0,n.jsx)(h.Z,{children:(0,n.jsx)(“div”,{“data-hpc”:!0,children:(0,n.jsxs)(m.E,{border:!1,spacious:!0,children:[(0,n.jsx)(m.E.Visual,{children:i.icon}),(0,n.jsx)(m.E.Heading,{children:i.heading}),(0,n.jsx)(m.E.Description,{children:a}),i.showTextInput&&(0,n.jsx)(d.A,{“aria-label”:”View commit history locally command”,className:”d-flex flex-justify-center mt-2″,monospace:!0,onChange:l.l,readOnly:!0,size:”large”,trailingAction:(0,n.jsx)(d.A.Action,{onClick:()=>(0,s.D)(e),icon:c.CopyIcon,”aria-label”:”Copy to clipboard”,className:”fgColor-muted”}),value:e})]})})})};try{f.displayName||(f.displayName=”CommitsBlankState”)}catch{}},60257:(e,t,i)=>{i.d(t,{W:()=>c,r:()=>d});var n=i(74848),a=i(4559),r=i(73189),o=i(96540),s=i(74501);let l=(0,o.createContext)({isSelected:!1,onSelect:r.l}),c=({children:e,value:{isSelected:t,onSelect:i}})=>{let{title:r}=(0,s.J)(),c=(0,o.useMemo)(()=>({isSelected:t,onSelect:e=>{(0,a.i)(e?`Selected. ${r}.`:`Unselected. ${r}.`),i(e)}}),[t,i,r]);return(0,n.jsx)(l.Provider,{value:c,children:e})};c.displayName=”ListItemSelectionProvider”;let d=()=>(0,o.useContext)(l);try{l.displayName||(l.displayName=”SelectionContext”)}catch{}},61015:(e,t,i)=>{i.d(t,{t:()=>l,y:()=>s});var n=i(74848),a=i(96540),r=i(50205);let o=(0,a.createContext)(void 0),s=({children:e,title:t,titleHeaderTag:i=r.tD})=>{let[s,l]=(0,a.useState)(!1),c=(0,a.useMemo)(()=>({title:t.trim()||r.QL,titleHeaderTag:i,hasMetadataTitle:s,setHasMetadataTitle:l}),[s,t,i]);return(0,n.jsx)(o.Provider,{value:c,children:e})};s.displayName=”ListViewTitleProvider”;let l=()=>{let e=(0,a.useContext)(o);if(!e)throw Error(“useListViewTitle must be used with TitleProvider.”);return e};try{o.displayName||(o.displayName=”TitleContext”)}catch{}},74501:(e,t,i)=>{i.d(t,{J:()=>s,y:()=>o});var n=i(74848),a=i(96540);let r=(0,a.createContext)(void 0),o=({children:e})=>{let[t,i]=(0,a.useState)(“”),[o,s]=(0,a.useState)(null),l=(0,a.useRef)(null);(0,a.useEffect)(()=>{l?.current?.textContent&&i(l.current.textContent.trim())},[l,i]);let c=(0,a.useMemo)(()=>({title:t,titleAction:o,setTitleAction:s,headingRef:l}),[t,o]);return(0,n.jsx)(r.Provider,{value:c,children:e})};o.displayName=”ListItemTitleProvider”;let s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useListItemTitle must be used with TitleProvider.”);return e};try{r.displayName||(r.displayName=”TitleContext”)}catch{}},75986:(e,t,i)=>{i.d(t,{If:()=>s,JE:()=>o});var n=i(74848),a=i(96540);let r=(0,a.createContext)(void 0),o=({children:e})=>{let t=(0,a.useId)(),i=(0,a.useMemo)(()=>({idPrefix:t}),[t]);return(0,n.jsx)(r.Provider,{value:i,children:e})};o.displayName=”ListViewIdProvider”;let s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useListViewId must be used with IdProvider.”);return e};try{r.displayName||(r.displayName=”IdContext”)}catch{}},76214:(e,t,i)=>{i.d(t,{Z:()=>s});var n=i(74848),a=i(68273),r=i(16522),o=i(34164);let s=(0,a.kw)()?function(e){let t,i,a=(0,r.c)(5),{children:s,className:l}=e,c=void 0===l?””:l;return a[0]!==c?(t=(0,o.$)(“color-bg-default position-relative border rounded-2 color-border-default mt-2 d-flex flex-column”,c),a[0]=c,a[1]=t):t=a[1],a[2]!==s||a[3]!==t?(i=(0,n.jsx)(“div”,{className:t,children:s}),a[2]=s,a[3]=t,a[4]=i):i=a[4],i}:function({children:e,className:t=””}){return(0,n.jsx)(“div”,{className:(0,o.$)(“color-bg-default position-relative border rounded-2 color-border-default mt-2 d-flex flex-column”,t),children:e})};try{s.displayName||(s.displayName=”Panel”)}catch{}},77177:(e,t,i)=>{i.d(t,{L:()=>s,O:()=>o});var n=i(74848),a=i(96540);let r=(0,a.createContext)(void 0),o=({children:e})=>{let[t,i]=(0,a.useState)(“”),o=(0,a.useMemo)(()=>({description:t,setDescription:i}),[t]);return(0,n.jsx)(r.Provider,{value:o,children:e})};o.displayName=”ListItemDescriptionProvider”;let s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useListItemDescription must be used with DescriptionProvider.”);return e};try{r.displayName||(r.displayName=”DescriptionContext”)}catch{}},78314:(e,t,i)=>{i.d(t,{d:()=>s,t:()=>l});var n=i(74848),a=i(16522),r=i(96540);let o=r.createContext({});function s(e){let t,i=(0,a.c)(3),{repository:r,children:s}=e;return i[0]!==s||i[1]!==r?(t=(0,n.jsxs)(o.Provider,{value:r,children:[” “,s,” “]}),i[0]=s,i[1]=r,i[2]=t):t=i[2],t}function l(){return r.useContext(o)}try{o.displayName||(o.displayName=”CurrentRepositoryContext”)}catch{}try{s.displayName||(s.displayName=”CurrentRepositoryProvider”)}catch{}},80293:(e,t,i)=>{i.d(t,{N:()=>a});var n=i(96540);function a(e,{isPropUpdateDisabled:t=!1,isEqual:i=Object.is}={}){let[r,o]=(0,n.useState)(e),[s,l]=(0,n.useState)(e),c=e instanceof Function?e():e;return t||i(s,c)||(l(c),o(c)),[r,o]}},83878:(e,t,i)=>{i.d(t,{N:()=>n});function n(e,t){return”d28fac7f18aeacb00d8ad3460a0a5a901617c2d4″===e&&0xf122a7===t}},89830:(e,t,i)=>{i.d(t,{s:()=>f});var n=i(74848),a=i(68273),r=i(16522),o=i(38621),s=i(5956),l=i(81960),c=i(10095),d=i(34164);let m={timelineRowItem:”TimelineRow-module__timelineRowItem–EN_EF”,timelineRowBadge:”TimelineRow-module__timelineRowBadge–Lyy1u”,bottom:”TimelineRow-module__bottom–UHzX3″,top:”TimelineRow-module__top–l0ZlZ”},u=(0,a.kw)()?()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,n.jsx)(c.A,{icon:o.GitCommitIcon}),t[0]=e):e=t[0],e}:()=>(0,n.jsx)(c.A,{icon:o.GitCommitIcon}),h=(0,a.kw)()?function(e){let t,i,a,o,l,c=(0,r.c)(13),{children:h,leadingVisual:p,clipTimeline:f,className:x}=e,y=void 0===f?”none”:f,v=”none”!==y&&m[y];return c[0]!==x||c[1]!==v?(t=(0,d.$)(x,m.timelineRowItem,v),c[0]=x,c[1]=v,c[2]=t):t=c[2],c[3]!==p?(i=p??(0,n.jsx)(u,{}),c[3]=p,c[4]=i):i=c[4],c[5]!==i?(a=(0,n.jsx)(s.A.Badge,{className:m.timelineRowBadge,children:i}),c[5]=i,c[6]=a):a=c[6],c[7]!==h?(o=(0,n.jsx)(s.A.Body,{className:”mt-0″,children:h}),c[7]=h,c[8]=o):o=c[8],c[9]!==t||c[10]!==a||c[11]!==o?(l=(0,n.jsxs)(s.A.Item,{className:t,children:[a,o]}),c[9]=t,c[10]=a,c[11]=o,c[12]=l):l=c[12],l}:function({children:e,leadingVisual:t,clipTimeline:i=”none”,className:a}){return(0,n.jsxs)(s.A.Item,{className:(0,d.$)(a,m.timelineRowItem,”none”!==i&&m[i]),children:[(0,n.jsx)(s.A.Badge,{className:m.timelineRowBadge,children:t??(0,n.jsx)(u,{})}),(0,n.jsx)(s.A.Body,{className:”mt-0″,children:e})]})},p=(0,a.kw)()?function(e){let t,i,a,o,s=(0,r.c)(8);return s[0]!==e?({title:a,as:t,…i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=a):(t=s[1],i=s[2],a=s[3]),s[4]!==t||s[5]!==i||s[6]!==a?(o=(0,n.jsx)(l.A,{as:t,className:”text-normal f5 py-1″,…i,children:a}),s[4]=t,s[5]=i,s[6]=a,s[7]=o):o=s[7],o}:function({title:e,as:t,…i}){return(0,n.jsx)(l.A,{as:t,className:”text-normal f5 py-1″,…i,children:e})},f=Object.assign(h,{Heading:p});try{u.displayName||(u.displayName=”DefaultLeadingVisual”)}catch{}try{h.displayName||(h.displayName=”TimelineRowComponent”)}catch{}try{p.displayName||(p.displayName=”TimelineRowHeading”)}catch{}try{f.displayName||(f.displayName=”TimelineRow”)}catch{}},91230:(e,t,i)=>{i.d(t,{E7:()=>P});var n=i(74848),a=i(96540);let r=(0,a.createContext)({actions:[],staticMenuActions:[],label:”Actions”,gap:0}),o=({children:e,value:{actions:t=[],staticMenuActions:i,variant:o=”toolbar”,label:s,gap:l}})=>{let c=(0,a.useMemo)(()=>({actions:t,staticMenuActions:i,variant:o,label:s,gap:l}),[t,i,o,s,l]);return(0,n.jsx)(r.Provider,{value:c,children:e})},s=()=>{let e=(0,a.useContext)(r);if(!e)throw Error(“useActionBarContent must be used with ActionBarContentProvider.”);return e};try{r.displayName||(r.displayName=”ActionBarContentContext”)}catch{}try{o.displayName||(o.displayName=”ActionBarContentProvider”)}catch{}let l=(0,a.createContext)({outerContainerRef:(0,a.createRef)(),itemContainerRef:(0,a.createRef)()}),c=({value:{anchorRef:e},children:t})=>{let i=(0,a.useRef)(null),r=(0,a.useRef)(null),o=(0,a.useMemo)(()=>({outerContainerRef:i,itemContainerRef:r,anchorRef:e}),[e]);return(0,n.jsx)(l.Provider,{value:o,children:t})},d=()=>{let e=(0,a.useContext)(l);if(!e)throw Error(“useActionBarRef must be used with ActionBarRefProvider.”);return e};try{l.displayName||(l.displayName=”ActionBarRefContext”)}catch{}try{c.displayName||(c.displayName=”ActionBarRefProvider”)}catch{}var m=i(73189),u=i(80293),h=i(50463),p=i(93330);let f=(e,t)=>{let i=2*(e=>{if(!e)return 0;let t=window.getComputedStyle(e);return t?.columnGap?parseInt(t.columnGap,10):0})(t),n=e.getBoundingClientRect().width,a=window.getComputedStyle(e);return n+(a?.marginLeft?parseInt(a.marginLeft,10):0)+(a?.marginRight?parseInt(a.marginRight,10):0)+i},x=(e,t)=>{let i=y(e,t);if(void 0===i)return;let n=i;return t&&(n-=t.offsetLeft),n},y=(e,t)=>{if(!e)return;let i=e.offsetWidth;return t&&(i-=t.offsetWidth),i},v=(0,a.createContext)({visibleChildEndIndex:0,justifySpaceBetween:!1,recalculateItemSize:m.l}),w=({children:e,value:{actionKeys:t}})=>{let i=t.length,[r,o]=(0,u.N)(i),{outerContainerRef:s,itemContainerRef:l}=d(),[c,m]=(0,a.useState)(),[w,g]=(0,a.useState)(),[C,j]=(0,a.useState)(new Map(t.map(e=>[e,void 0]))),[b,N]=(0,a.useState)(!1),k=(0,a.useMemo)(()=>t.slice(0,r).every(e=>C.has(e)&&”number”==typeof C.get(e)),[t,C,r]),S=(0,a.useCallback)(e=>{let i=t[e];if(i)return C.get(i)},[t,C]),I=(0,a.useCallback)((e,t)=>{let i=l.current;if(!i)return;let n=f(t,i);j(t=>{if(n===t.get(e)||isNaN(n))return t;let i=new Map(Array.from(t.entries()));return i.set(e,n),i})},[l]),_=(0,a.useCallback)(()=>{if(!k)return;let e=s.current,t=l.current,i=y(e,t);if(void 0===i)return;let n=x(e,t);void 0!==n&&i<=n&&o(Math.max(0,r-1))},[k,s,l,o,r]),A=(0,a.useCallback)(()=>{let e=s.current,t=l.current,n=y(e,t);if(void 0===n)return;let a=S(r);if(void 0===a)return;let c=x(e,t);void 0!==c&&n>c+a&&o(Math.min(i,r+1))},[s,l,S,r,o,i]),L=(0,a.useCallback)(()=>{let e=s.current,t=l.current;if(!e||!t)return;let i=e.offsetWidth;i&&(void 0===c||i<=c?_():i>c&&A(),m(i),N(i<=(w??t.offsetWidth)))},[A,_,w,c,s,l]);(0,h.A)(()=>{let e=l.current;if(!e)return;let i=new Map;for(let n of t){let t=e.querySelector(`[data-action-bar-item=”${n}”]`);t&&i.set(n,f(t,e))}j(i)},[t,l]),(0,h.A)(()=>{let e=l.current;e&&g(e.offsetWidth)},[l]),(0,h.A)(()=>{L()},[L]),(0,p.w)(L,s);let E=(0,a.useMemo)(()=>({visibleChildEndIndex:r,justifySpaceBetween:b,recalculateItemSize:I}),[r,b,I]);return(0,n.jsx)(v.Provider,{value:E,children:e})},g=()=>{let e=(0,a.useContext)(v);return e||{justifySpaceBetween:!1,visibleChildEndIndex:0,recalculateItemSize:m.l}};try{v.displayName||(v.displayName=”ActionBarResizeContext”)}catch{}try{w.displayName||(w.displayName=”ActionBarResizeProvider”)}catch{}var C=i(29731),j=i(69676),b=i(45800),N=i(34164),k=i(38621),S=i(94236),I=i(26108),_=i(5524),A=i(12683);let L=k.KebabHorizontalIcon,E=”invisible”,T=({anchorProps:{“aria-label”:e,icon:t=L,variant:i=E,…r}={icon:L,variant:E},open:o,onOpenChange:l})=>{let{anchorRef:c}=d(),{actions:m,staticMenuActions:u,label:h}=s(),{visibleChildEndIndex:p}=g(),f=(0,a.useMemo)(()=>(0,A.h1)(r,{“aria-label”:e?.trim()||`More ${h}`,icon:t,className:”OverflowMenu-module__IconButton_0–cxtvS”,variant:i}),[e,t,h,i,r]),x=(0,a.useMemo)(()=>m?.slice(p),[m,p]),y=x&&x.length>0,v=u&&u.length>0;return y||v?(0,n.jsxs)(S.W,{anchorRef:c,open:o,onOpenChange:l,children:[(0,n.jsx)(S.W.Anchor,{children:(0,n.jsx)(I.K,{…(0,C.G)(“overflow-menu-anchor”),…f})}),(0,n.jsx)(S.W.Overlay,{align:”end”,”data-overflow-menu-overlay”:!0,children:(0,n.jsxs)(_.l,{children:[v&&u.map(e=>(0,n.jsx)(a.Fragment,{children:e.render()},e.key)),x?.map(e=>(0,n.jsx)(a.Fragment,{children:e.render(!0)},e.key))]})})]}):null};try{T.displayName||(T.displayName=”OverflowMenu”)}catch{}let M=({children:e,actionKey:t})=>{let i=(0,a.useRef)(null),{recalculateItemSize:r}=g();return(0,h.A)(()=>{i.current&&r(t,i.current)},[i,r,t]),(0,n.jsx)(“div”,{…(0,C.G)(`action-bar-item-${t}`),”data-action-bar-item”:t,ref:i,className:”VisibleItem-module__Box_0–BsJkb”,children:e})};try{M.displayName||(M.displayName=”VisibleItem”)}catch{}let R=({className:e,style:t})=>{let{itemContainerRef:i}=d(),{actions:a,gap:r}=s(),{visibleChildEndIndex:o}=g(),l=a?.slice(0,o);return(0,n.jsx)(“div”,{…(0,C.G)(“action-bar”),ref:i,className:(0,N.$)(e,”VisibleItems-module__Box_1–LOtDr”),style:{gap:r,…t},children:l?.map(({key:e,render:t})=>(0,n.jsx)(M,{actionKey:e,children:t(!1)},e))})};try{R.displayName||(R.displayName=”VisibleItems”)}catch{}let B=({overflowMenuToggleProps:e,overflowMenuProps:t,children:i,…a})=>{let{outerContainerRef:r}=d(),{label:o,variant:l,gap:c}=s(),{justifySpaceBetween:m}=g();return(0,b.G)({containerRef:r,bindKeys:j.z0.ArrowHorizontal|j.z0.HomeAndEnd,focusOutBehavior:”wrap”,disabled:”toolbar”!==l},[r]),(0,n.jsxs)(“div”,{ref:r,…(0,C.G)(“action-bar-container”),role:”toolbar”===l?”toolbar”:void 0,”aria-label”:”toolbar”===l?o:void 0,style:{gap:c},className:(0,N.$)(“VisibleAndOverflowContainer-module__Box_0–KyT2b”,m&&”VisibleAndOverflowContainer-module__space–fVHr3″),children:[(0,n.jsx)(R,{…a}),i,(0,n.jsx)(T,{anchorProps:e,…t})]})};try{B.displayName||(B.displayName=”VisibleAndOverflowContainer”)}catch{}let $=”normal”,O=({children:e,…t})=>(0,n.jsx)(B,{…t,children:e}),P=({actions:e=[],staticMenuActions:t,overflowMenuToggleProps:i,overflowMenuProps:r,children:s,label:l,variant:d,density:m=$,anchorRef:u,className:h,style:p})=>{let f=(0,a.useMemo)(()=>({actions:e,staticMenuActions:t,variant:d,label:l,gap:”condensed”===m?”var(–base-size-4)”:”spacious”===m?”var(–base-size-16)”:”none”===m?0:”var(–base-size-8)”}),[e,t,d,l,m]),x=(0,a.useMemo)(()=>({actionKeys:e.map(e=>e.key)}),[e]),y=t&&t.length>0,v=e&&e.length>0;if(!v&&!y)return null;let g={overflowMenuToggleProps:i,overflowMenuProps:r,className:h,style:p};return(0,n.jsx)(c,{value:{anchorRef:u},children:(0,n.jsx)(o,{value:f,children:v?(0,n.jsx)(w,{value:x,children:(0,n.jsx)(O,{…g,children:s})}):(0,n.jsx)(O,{…g,children:s})})})};try{O.displayName||(O.displayName=”InternalActionBar”)}catch{}try{P.displayName||(P.displayName=”ActionBar”)}catch{}},95378:(e,t,i)=>{i.d(t,{kx:()=>k,ao:()=>N});var n,a,r=i(74848),o=i(20263),s=i(73017),l=i(29731),c=i(34164),d=i(96540),m=i(56825),u=i(35220),h=i(29622),p=i(87670),f=i(46720),x=i(24347);let y=”Selection-module__centerAligned–HIRyI”,v=”Selection-module__compact–azMKM”;var w=i(60257),g=i(74501);let C=()=>{let{variant:e}=(0,u.e)(),{isSelectable:t,hasDragHandle:i}=(0,x.v)(),{isSelected:n,onSelect:a}=(0,w.r)(),{title:o}=(0,g.J)(),{alignment:s}=(0,h.m)();return t?(0,r.jsxs)(“div”,{className:(0,c.$)(i?”Selection-module__containerWithDragHandle–mLWh4″:”Selection-module__container–OQE4d”,”center”===s&&y),…(0,l.G)(“list-view-item-selection”),children:[i&&(0,r.jsx)(p.BS.DragTrigger,{className:(0,c.$)(“Selection-module__dragTrigger–SM4bZ”,”compact”===e&&v)}),(0,r.jsx)(f.A,{className:(0,c.$)(“Selection-module__checkbox–X3ras”,”compact”===e&&v,”center”===s&&y),checked:n,onChange:()=>a(!n),”aria-label”:`Select: ${o}`,”data-listview-component”:”selection-input”,…(0,l.G)(“list-view-item-selection-input”)})]}):null};try{C.displayName||(C.displayName=”ListItemSelection”)}catch{}let j=”Title-module__compact–eK6hD”;function b({children:e,containerStyle:t,containerClassName:i,headerContainerRef:n,headingStyle:a,headingClassName:o,headingRef:s,leadingBadge:d,trailingBadges:p,header:f}){let{variant:x}=(0,u.e)(),{headingRef:y}=(0,g.J)(),{alignment:v}=(0,h.m)(),w=(0,m.m)(“listitem”);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(“div”,{…(0,l.G)(“list-view-item-title-container”),style:t,className:(0,c.$)(“Title-module__container–XD9YG”,”compact”===x&&j,”center”===v&&”Title-module__centerAligned–J8aYA”,i),ref:n,”data-listview-item-title-container”:!0,children:[(0,r.jsxs)(w,{className:(0,c.$)(“Title-module__heading–s7YnL”,”compact”===x&&j,o),style:a,ref:e=>{if(y&&(y.current=e),s&&”current”in s)try{s.current=e}catch{}},…(0,l.G)(“list-view-item-title”),children:[d,f]}),p&&(0,r.jsx)(“span”,{className:”Title-module__trailingBadgesSpacer–Son9W”}),(0,r.jsx)(“span”,{className:”Title-module__trailingBadgesContainer–mijcn”,children:p}),e]}),(0,r.jsx)(C,{})]})}function N({children:e,value:t,containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:o,headingClassName:s,headingRef:l,leadingBadge:c,trailingBadges:m,anchorRef:u,…h}){let p=(0,d.useRef)(null),f=u||p;return I({anchorRef:f,…h}),(0,r.jsx)(b,{header:h.href||h.onClick?(0,r.jsx)(S,{anchorRef:f,…h,children:(0,r.jsx)(“span”,{children:t})}):(0,r.jsx)(“span”,{children:t}),containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:o,headingClassName:s,headingRef:l,leadingBadge:c,trailingBadges:m,children:e})}function k({children:e,html:t,containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:s,headingClassName:l,headingRef:c,leadingBadge:d,trailingBadges:m,…u}){return I(u),(0,r.jsx)(b,{header:(0,r.jsx)(o.BC,{html:t,…u}),containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:s,headingClassName:l,headingRef:c,leadingBadge:d,trailingBadges:m,children:e})}function S({anchorStyle:e,anchorClassName:t,anchorRef:i,linkProps:n,children:a,…o}){let{as:s=”a”,…m}=n??{},u=(0,d.useRef)(null);return(0,r.jsx)(s,{…(0,l.G)(“listitem-title-link”),style:e,ref:i||u,className:(0,c.$)(“Title-module__anchor–GmXUE”,”Title-module__inline–oM0P7″,t),…o,…m,children:a})}let I=({href:e,onClick:t,anchorRef:i})=>{let{setTitleAction:n,headingRef:a}=(0,g.J)();return(0,d.useEffect)(()=>{(e||t)&&n(()=>t=>{if(e&&(t.metaKey||t.ctrlKey))window.open(e,”_blank”);else if(i?.current)i.current.click();else if(a?.current){let e=a.current.querySelector(“a, button”);e&&e.click()}})},[i,a,e,t,n]),null};try{b.displayName||(b.displayName=”InternalTitle”)}catch{}try{(n=TitleTag).displayName||(n.displayName=”TitleTag”)}catch{}try{N.displayName||(N.displayName=”ListItemTitle”)}catch{}try{k.displayName||(k.displayName=”ListItemSafeHTMLTitle”)}catch{}try{(a=function({children:e,html:t,containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:o,headingClassName:l,headingRef:c,leadingBadge:d,trailingBadges:m,…u}){return I(u),(0,r.jsx)(b,{header:(0,r.jsx)(s.JR,{html:t,…u}),containerStyle:i,containerClassName:n,headerContainerRef:a,headingStyle:o,headingClassName:l,headingRef:c,leadingBadge:d,trailingBadges:m,children:e})}).displayName||(a.displayName=”ListItemUnsafeHTMLTitle”)}catch{}try{S.displayName||(S.displayName=”HeadingLink”)}catch{}},97174:(e,t,i)=>{i.d(t,{u:()=>S});var n=i(74848),a=i(73189),r=i(29731),o=i(88431),s=i(80293),l=i(81960),c=i(34164),d=i(96540),m=i(50205),u=i(44569),h=i(69676),p=i(11937),f=i(45800);function x(e,t){let i=e,n=e.closest(“[role=list] li”);n&&(i=n);let a=i.closest(“[role=list]”);if(!a)return;let r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,e=>{if(!(e instanceof HTMLElement)||!e.id.includes(“list-view-node”))return NodeFilter.FILTER_SKIP;let t=e.parentElement;for(;t&&t!==a;){if(t.id.includes(“list-view-node”))return NodeFilter.FILTER_SKIP;t=t.parentElement}return NodeFilter.FILTER_ACCEPT}),o=r.firstChild(),s=0;for(;o!==i&&(o=r.nextNode(),!(++s>500)););let l=”next”===t?r.nextNode():r.previousNode();for(;l instanceof HTMLElement&&l.parentElement?.closest(“[role=list] li[aria-expanded=false]”);)l=”next”===t?r.nextNode():r.previousNode();return l instanceof HTMLElement?l:void 0}function y(e){let t=e.closest(“[role=list]”),i=t?.querySelector(“[role=list] li”);return i instanceof HTMLElement?i:void 0}function v(e){let t=e.closest(“[role=list]”),i=t?.querySelectorAll(“[role=list] li”);if(!i||i.length<1)return;let n=i[i.length-1];if(n instanceof HTMLElement)return n}function w(e,t){let i=[...(0,p.K1)(document.documentElement,{strict:!0,onlyTabbable:!0})],n=i.indexOf(e);return"next"===t?i[n+1]:i[n-1]}var g=i(75986),C=i(18377),j=i(53687),b=i(24347),N=i(61015),k=i(35220);let S=({children:e,hasDragHandle:t,isSelectable:i,onVariantChange:r=a.l,pluralUnits:o,selectedCount:l=0,singularUnits:c,title:u,titleHeaderTag:h,totalCount:p,variant:f=m.tp,...x})=>{let[y,v]=(0,s.N)(f);(0,d.useEffect)(()=>{r?.(y)},[r,y]);let w=(0,d.useMemo)(()=>d.Children.toArray(e).length,[e]);return(0,n.jsx)(g.JE,{children:(0,n.jsx)(N.y,{title:u,titleHeaderTag:h,children:(0,n.jsx)(k.H,{variant:y,setVariant:v,children:(0,n.jsx)(b.W,{countOnPage:w,selectedCount:l,totalCount:p,singularUnits:c,pluralUnits:o,isSelectable:i,hasDragHandle:t,children:(0,n.jsx)(j.e,{children:(0,n.jsx)(C.w,{children:(0,n.jsx)(I,{…x,children:e})})})})})})})},I=({ariaLabelledBy:e,as:t,children:i,className:a,itemsListClassName:s,itemsListStyle:m,listRef:C,metadata:j,role:b,strictFocusZone:S,…I})=>{let{idPrefix:_}=(0,g.If)(),{title:A,titleHeaderTag:L}=(0,N.t)(),{variant:E}=(0,k.e)(),{containerRef:T}=function(e=!0){let t=void 0===e||e,i=h.z0.ArrowVertical|h.z0.HomeAndEnd|h.z0.PageUpDown|h.z0.Tab,n=(0,u.zw)()?i|h.z0.JK:i,{containerRef:a}=(0,f.G)({strict:t,bindKeys:n,focusInStrategy:()=>{if(!a.current)return;let e=a.current.querySelector(‘[tabindex=”0″]’);return e?.closest(“[role=list] li”)||e},focusableElementFilter:e=>”list”!==e.getAttribute(“role”),getNextFocusable:(e,i,n)=>{if(i instanceof HTMLElement){if(“Tab”===n.key||”Tab”===n.code){if(n.shiftKey&&i.id.includes(“list-view-node”))return w(i,”previous”);let e=i.closest(“[role=list] li”);if(!e)return;let a=[…(0,p.K1)(e,{strict:t})],r=a.findIndex(e=>e.parentElement?.getAttribute(“data-listview-component”)===”trailing-badge”),o=a.findIndex(e=>”selection-input”===e.getAttribute(“data-listview-component”));r>=0&&o>=0&&(a.splice(r,0,a[o]),a.splice(o+1,1));let s=a.indexOf(n.target);return s!==a.length-1||n.shiftKey?s>0?n.shiftKey?a[s-1]:a[s+1]:void 0:w(i,”next”)}if(“previous”===e)return x(i,e)||y(i);if(“next”===e)return x(i,e)||v(i);if(“start”===e)return y(i);if(“end”===e)return v(i)}}});return{containerRef:a}}(S),[M,R]=(0,d.useState)(!0);(0,d.useEffect)(()=>{C&&(C.current=T.current)},[T,C]),(0,o.N)(()=>{T.current&&R(Array.from(T.current.querySelectorAll(“li”)).some(e=>{let t=e.parentElement;for(;t&&t!==T.current;){if(“UL”===t.tagName||”OL”===t.tagName)return!1;t=t.parentElement}return!0}))},[T,i]);let B=e??`${_}-list-view-container-title`;return(0,n.jsxs)(“div”,{id:`${_}-list-view-container`,className:(0,c.$)(“ListView-module__container–rxCWy”,a),children:[!e&&(0,n.jsx)(l.A,{className:”sr-only”,as:L,id:B,…(0,r.G)(“list-view-title”),children:A}),j,(0,n.jsx)(t||(M?”ul”:”div”),{className:(0,c.$)(“ListView-module__ul–A_8jF”,s),style:m,ref:T,”aria-labelledby”:M?B:void 0,tabIndex:-1,role:b??M?”list”:void 0,”data-listview-component”:”items-list”,”data-density”:E,…(0,r.G)(“list-view-items”),…I,children:i})]})};try{S.displayName||(S.displayName=”ListView”)}catch{}try{I.displayName||(I.displayName=”ListViewContainer”)}catch{}},98783:(e,t,i)=>{i.d(t,{D:()=>r});var n=i(68273),a=i(79634);let r=(0,n.kw)()?function(){return(0,a.X)()}:function(){return(0,a.X)()}}}]); //# sourceMappingURL=98540-f9326b0182f3.js.map