performance.mark("js-parse-end:1097-f69340b097556378.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["1097"],{36465(e,i,l){l.d(i,{u:()=>o});var t=l(74848),n=l(16522),r=l(34164);let s={diffSquare:"DiffSquares-module__diffSquare__r6Bwa",addition:"DiffSquares-module__addition__wxDmF",deletion:"DiffSquares-module__deletion__Hmhav",neutral:"DiffSquares-module__neutral__lvBhx"};function o(e){let i,l,r=(0,n.c)(4),{squares:s}=e;return r[0]!==s?(i=s.map(d),r[0]=s,r[1]=i):i=r[1],r[2]!==i?(l=(0,t.jsx)("div",{className:"d-flex",children:i}),r[2]=i,r[3]=l):l=r[3],l}function d(e,i){return(0,t.jsx)("div",{"data-testid":`${e} diffstat`,className:(0,r.$)(s.diffSquare,s[e])},i)}o.displayName="DiffSquares"},17252(e,i,l){l.d(i,{z:()=>s});var t=l(74848),n=l(16522),r=l(36465);function s(e){let i,l,s,o,d,a,c,f=(0,n.c)(21),{linesAdded:h,linesDeleted:u,linesChanged:m,hideSquares:x}=e,p=void 0===h?0:h,g=void 0===u?0:u,b=void 0===m?0:m,y=void 0!==x&&x;if(!p&&!g&&!b||0===b)return null;if(f[0]!==p||f[1]!==b||f[2]!==g){var j,_,N;let e,l,t,{greenSquares:n,redSquares:r,graySquares:s}=(j=p,_=g,l=Math.floor(j*(e=(N=b)>5?5/N:1)),{greenSquares:l,redSquares:t=Math.floor(_*e),graySquares:5-l-t});i=[...Array(n).fill("addition"),...Array(r).fill("deletion"),...Array(s).fill("neutral")],f[0]=p,f[1]=b,f[2]=g,f[3]=i}else i=f[3];let D=i;return f[4]!==p?(l=p>0&&(0,t.jsxs)("span",{"aria-hidden":"true",className:"f6 text-bold fgColor-success",children:["+",p.toLocaleString()]}),f[4]=p,f[5]=l):l=f[5],f[6]!==g?(s=g>0&&(0,t.jsxs)("span",{"aria-hidden":"true",className:"f6 text-bold fgColor-danger",children:["-",g.toLocaleString()]}),f[6]=g,f[7]=s):s=f[7],f[8]!==p||f[9]!==g?(o=function({linesAdded:e,linesDeleted:i}){let l="Lines changed: ";return l+`${e} ${1===e?"addition":"additions"} & ${i} ${1===i?"deletion":"deletions"}`}({linesAdded:p,linesDeleted:g}),f[8]=p,f[9]=g,f[10]=o):o=f[10],f[11]!==o?(d=(0,t.jsx)("span",{className:"sr-only",children:o}),f[11]=o,f[12]=d):d=f[12],f[13]!==y||f[14]!==D?(a=!y&&(0,t.jsx)(r.u,{squares:D}),f[13]=y,f[14]=D,f[15]=a):a=f[15],f[16]!==a||f[17]!==l||f[18]!==s||f[19]!==d?(c=(0,t.jsxs)("div",{className:"d-flex flex-items-center gap-1 pl-1",children:[l,s,d,a]}),f[16]=a,f[17]=l,f[18]=s,f[19]=d,f[20]=c):c=f[20],c}s.displayName="DiffStats"},58989(e,i,l){function t(e){return`line-${e}`}function n(e,i,l){return`${e}${"left"===i?"L":"R"}${l}`}function r(e){return"DELETION"===e?"left":"right"}function s(e,i=!1,l=!1){if(l)return"var(--bgColor-attention-muted, var(--color-attention-subtle))";switch(e){case"ADDITION":return i?"var(--diffBlob-additionNum-bgColor, var(--diffBlob-addition-bgColor-num))":"var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line))";case"DELETION":return i?"var(--diffBlob-deletionNum-bgColor, var(--diffBlob-deletion-bgColor-num))":"var(--diffBlob-deletionLine-bgColor, var(--diffBlob-deletion-bgColor-line))";case"HUNK":return i?"var(--diffBlob-hunkNum-bgColor, var(--diffBlob-hunk-bgColor-num))":"var(--diffBlob-hunkLine-bgColor, var(--bgColor-accent-muted))";case"EMPTY":return i?"var(--diffBlob-emptyNum-bgColor, var(--diffBlob-hunk-bgColor-num))":"var(--diffBlob-emptyLine-bgColor, var(--bgColor-accent-muted))";default:return}}function o(e){let i=0;if(e)for(let l of e)i=Math.max(i,l?.left??0,l?.right??0);return Math.max(8*i.toString().length+20,40).toString()}l.d(i,{IQ:()=>n,Sq:()=>t,XU:()=>r,c7:()=>o,gK:()=>s})},24016(e,i,l){l.d(i,{l4:()=>C,P3:()=>x,wj:()=>b,nq:()=>f,Qe:()=>y,uP:()=>h.u,Ah:()=>T,Jg:()=>c,$e:()=>g,zl:()=>u.z});var t=l(74848),n=l(16522),r=l(34164),s=l(16497),o=l(58989);let d=e=>{let i,l,d,a,c,f,h,u,m,x,p=(0,n.c)(34),{dragging:g,isHighlighted:b,isLeftColumn:y,colSpan:j,line:_,lineAnchor:N}=e,D=_.html,C="";if(["ADDITION","DELETION"].includes(_.type)&&["+","-"].includes(D[0])){let e;C=D[0],p[0]!==D?(e=D.slice(1),p[0]=D,p[1]=e):e=p[1],D=e}let v=g&&b,L=y&&"HUNK"!==_.type;p[2]!==v||p[3]!==L?(i=(0,r.$)("diff-text-cell",{"border-left color-border-accent-emphasis":v,"border-right":L}),p[2]=v,p[3]=L,p[4]=i):i=p[4],p[5]!==N?(l=N?(0,o.Sq)(N):void 0,p[5]=N,p[6]=l):l=p[6],p[7]!==b||p[8]!==_.type?(d=(0,o.gK)(_.type,!1,b),p[7]=b,p[8]=_.type,p[9]=d):d=p[9],p[10]!==d?(a={backgroundColor:d},p[10]=d,p[11]=a):a=p[11];let T=C,S="ADDITION"===_.type,w="DELETION"===_.type;p[12]!==S||p[13]!==w?(c=(0,r.$)("diff-text syntax-highlighted-line",{addition:S,deletion:w}),p[12]=S,p[13]=w,p[14]=c):c=p[14];let I=e.lineChild,$="HUNK"===_.type;p[15]!==$?(f=(0,r.$)("diff-text-inner",{"color-fg-muted":$}),p[15]=$,p[16]=f):f=p[16];let k="CONTEXT"===_.type?"-7px":void 0;return p[17]!==k?(h={marginLeft:k},p[17]=k,p[18]=h):h=p[18],p[19]!==D||p[20]!==f||p[21]!==h?(u=(0,t.jsx)(s.$6,{className:f,html:D,style:h}),p[19]=D,p[20]=f,p[21]=h,p[22]=u):u=p[22],p[23]!==C||p[24]!==e.lineChild||p[25]!==u||p[26]!==c?(m=(0,t.jsxs)("code",{"data-code-marker":T,className:c,children:[I,u]}),p[23]=C,p[24]=e.lineChild,p[25]=u,p[26]=c,p[27]=m):m=p[27],p[28]!==j||p[29]!==m||p[30]!==i||p[31]!==l||p[32]!==a?(x=(0,t.jsx)("td",{className:i,colSpan:j,id:l,style:a,children:m}),p[28]=j,p[29]=m,p[30]=i,p[31]=l,p[32]=a,p[33]=x):x=p[33],x};d.displayName="DiffText";let a=e=>{let i,l,s,d,a,c,f,h,u,m,x,p,g,b=(0,n.c)(30);b[0]!==e?({ariaLabel:i,children:l,hasExpanderButton:d,lineType:f,colSpan:s,interactiveProps:a,isHighlighted:c,...h}=e,b[0]=e,b[1]=i,b[2]=l,b[3]=s,b[4]=d,b[5]=a,b[6]=c,b[7]=f,b[8]=h):(i=b[1],l=b[2],s=b[3],d=b[4],a=b[5],c=b[6],f=b[7],h=b[8]),b[9]!==l?(u=(0,t.jsx)("code",{className:"pr-2",children:l}),b[9]=l,b[10]=u):u=b[10];let y=u;if(a){let e;b[11]!==i||b[12]!==a||b[13]!==y?(e=(0,t.jsx)("button",{className:"diff-line-number-button",...a,"aria-label":i,children:y}),b[11]=i,b[12]=a,b[13]=y,b[14]=e):e=b[14],y=e}let j=a?void 0:i,_=!!a;b[15]!==d||b[16]!==_?(m=(0,r.$)("diff-line-number",{"has-expander":d,clickable:_}),b[15]=d,b[16]=_,b[17]=m):m=b[17];let N=s||1;return b[18]!==c||b[19]!==f?(x=(0,o.gK)(f,!0,c),b[18]=c,b[19]=f,b[20]=x):x=b[20],b[21]!==x?(p={backgroundColor:x},b[21]=x,b[22]=p):p=b[22],b[23]!==h||b[24]!==j||b[25]!==m||b[26]!==N||b[27]!==p||b[28]!==y?(g=(0,t.jsx)("td",{"aria-label":j,"data-line-number":!0,className:m,colSpan:N,style:p,...h,children:y}),b[23]=h,b[24]=j,b[25]=m,b[26]=N,b[27]=p,b[28]=y,b[29]=g):g=b[29],g};a.displayName="LineNumber";let c=e=>{let i,l,r,s,o=(0,n.c)(28),{dragging:c,isHighlighted:f,isLeftColumn:h,isSplit:u,lineAnchor:m,line:x,lineChild:p,onLineNumberClick:g}=e,b="CONTEXT"===x.type||"INJECTED_CONTEXT"===x.type,y="ADDITION"!==x.type,j=y||!u,_="DELETION"!==x.type,N=_&&!b||!u,D=u&&b?h?x.left:x.right:x.left;return o[0]!==D||o[1]!==f||o[2]!==x.left||o[3]!==x.right||o[4]!==x.type||o[5]!==g||o[6]!==y||o[7]!==j?(i=j&&(0,t.jsx)(a,{ariaLabel:`Line ${y?x.left?.toString():x.right?.toString()}`,lineType:x.type,interactiveProps:g?{onClick:g}:null,isHighlighted:f,children:y&&D}),o[0]=D,o[1]=f,o[2]=x.left,o[3]=x.right,o[4]=x.type,o[5]=g,o[6]=y,o[7]=j,o[8]=i):i=o[8],o[9]!==f||o[10]!==x.left||o[11]!==x.right||o[12]!==x.type||o[13]!==g||o[14]!==_||o[15]!==N?(l=N&&(0,t.jsx)(a,{ariaLabel:`Line ${_?x.right?.toString():x.left?.toString()}`,lineType:x.type,interactiveProps:g?{onClick:g}:null,isHighlighted:f,children:_&&x.right}),o[9]=f,o[10]=x.left,o[11]=x.right,o[12]=x.type,o[13]=g,o[14]=_,o[15]=N,o[16]=l):l=o[16],o[17]!==c||o[18]!==f||o[19]!==h||o[20]!==x||o[21]!==m||o[22]!==p?(r=(0,t.jsx)(d,{dragging:c,isHighlighted:f,isLeftColumn:h,line:x,lineAnchor:m,lineChild:p}),o[17]=c,o[18]=f,o[19]=h,o[20]=x,o[21]=m,o[22]=p,o[23]=r):r=o[23],o[24]!==i||o[25]!==l||o[26]!==r?(s=(0,t.jsxs)(t.Fragment,{children:[i,l,r]}),o[24]=i,o[25]=l,o[26]=r,o[27]=s):s=o[27],s};c.displayName="DiffLinePart";function f(){let e,i,l=(0,n.c)(2);return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("clipPath",{id:"diff-placeholder",children:[(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"67.0175439",x:"0",y:"0"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"100.701754",x:"18.9473684",y:"47.7194983"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"37.8947368",x:"0",y:"71.930126"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"53.3333333",x:"127.017544",y:"48.0703769"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"72.9824561",x:"187.719298",y:"48.0703769"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"140.350877",x:"76.8421053",y:"0"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"140.350877",x:"17.8947368",y:"23.8597491"}),(0,t.jsx)("rect",{height:"11.9298746",rx:"2",width:"173.684211",x:"166.315789",y:"23.8597491"})]}),l[0]=e):e=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("svg",{"aria-hidden":"true",version:"1.1",viewBox:"0 0 340 84",xmlns:"http://www.w3.org/2000/svg",className:"DiffPlaceholder-module__DiffPlaceholderSVG__EwJUb",children:(0,t.jsxs)("defs",{children:[e,(0,t.jsxs)("linearGradient",{id:"animated-diff-gradient",spreadMethod:"reflect",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"0",stopColor:"#eee"}),(0,t.jsx)("stop",{offset:"0.2",stopColor:"#eee"}),(0,t.jsx)("stop",{offset:"0.5",stopColor:"#ddd"}),(0,t.jsx)("stop",{offset:"0.8",stopColor:"#eee"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#eee"}),(0,t.jsx)("animateTransform",{attributeName:"y1",dur:"1s",repeatCount:"3",values:"0%; 100%; 0"}),(0,t.jsx)("animateTransform",{attributeName:"y2",dur:"1s",repeatCount:"3",values:"100%; 200%; 0"})]})]})}),l[1]=i):i=l[1],i}f.displayName="DiffPlaceholder";var h=l(36465),u=l(17252),m=l(38621);function x(e){let i,l,r,s=(0,n.c)(10),{currentLine:o,hunkButton:c,isLeftColumn:f,isSplit:h}=e;if(h&&!f)return null;s[0]!==o.type||s[1]!==c||s[2]!==h?(i=c?(0,t.jsx)(a,{colSpan:h?1:2,hasExpanderButton:!0,lineType:o.type,children:c}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a,{lineType:o.type,children:(0,t.jsx)(m.KebabHorizontalIcon,{})}),!h&&(0,t.jsx)(a,{lineType:o.type,children:(0,t.jsx)(m.KebabHorizontalIcon,{})})]}),s[0]=o.type,s[1]=c,s[2]=h,s[3]=i):i=s[3];let u=h?3:void 0;return s[4]!==o||s[5]!==u?(l=(0,t.jsx)(d,{isHighlighted:!1,isLeftColumn:!0,colSpan:u,line:o}),s[4]=o,s[5]=u,s[6]=l):l=s[6],s[7]!==i||s[8]!==l?(r=(0,t.jsxs)(t.Fragment,{children:[i,l]}),s[7]=i,s[8]=l,s[9]=r):r=s[9],r}function p(){let e,i=(0,n.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"hunk-kebab-icon pr-2 pb-1",children:(0,t.jsx)(m.KebabHorizontalIcon,{})}),i[0]=e):e=i[0],e}function g(e){let i,l,s,o=(0,n.c)(5),{isLeftColumn:d}=e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(a,{lineType:"EMPTY"}),o[0]=i):i=o[0],o[1]!==d?(l=(0,r.$)("empty-diff-line",{"border-right":d}),o[1]=d,o[2]=l):l=o[2],o[3]!==l?(s=(0,t.jsxs)(t.Fragment,{children:[i,(0,t.jsx)("td",{className:l,colSpan:1})]}),o[3]=l,o[4]=s):s=o[4],s}function b(e){let i,l,r,s,o,d,a,c,f=(0,n.c)(15);return f[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("thead",{className:"sr-only",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"col",children:"Original file line number"}),(0,t.jsx)("th",{scope:"col",children:"Original file line"}),(0,t.jsx)("th",{scope:"col",children:"Diff line number"}),(0,t.jsx)("th",{scope:"col",children:"Diff line change"})]})}),f[0]=i):i=f[0],f[1]!==e.lineWidth?(l=(0,t.jsx)("col",{width:e.lineWidth}),f[1]=e.lineWidth,f[2]=l):l=f[2],f[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("col",{}),f[3]=r):r=f[3],f[4]!==e.lineWidth?(s=(0,t.jsx)("col",{width:e.lineWidth}),f[4]=e.lineWidth,f[5]=s):s=f[5],f[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("col",{}),f[6]=o):o=f[6],f[7]!==l||f[8]!==s?(d=(0,t.jsxs)("colgroup",{children:[l,r,s,o]}),f[7]=l,f[8]=s,f[9]=d):d=f[9],f[10]!==e.children?(a=(0,t.jsx)("tbody",{children:e.children}),f[10]=e.children,f[11]=a):a=f[11],f[12]!==d||f[13]!==a?(c=(0,t.jsxs)(t.Fragment,{children:[i,d,a]}),f[12]=d,f[13]=a,f[14]=c):c=f[14],c}function y(e){let i,l,r,s,o,d,a,c,f,h,u=(0,n.c)(24),m=e.showLineNumbers??!0;return u[0]!==m?(i=m&&(0,t.jsx)("th",{scope:"col",children:"Original file line number"}),u[0]=m,u[1]=i):i=u[1],u[2]!==m?(l=m&&(0,t.jsx)("th",{scope:"col",children:"Diff line number"}),u[2]=m,u[3]=l):l=u[3],u[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("th",{scope:"col",children:"Diff line change"}),u[4]=r):r=u[4],u[5]!==i||u[6]!==l?(s=(0,t.jsx)("thead",{className:"sr-only",children:(0,t.jsxs)("tr",{children:[i,l,r]})}),u[5]=i,u[6]=l,u[7]=s):s=u[7],u[8]!==e.lineWidth||u[9]!==m?(o=m&&(0,t.jsx)("col",{width:e.lineWidth}),u[8]=e.lineWidth,u[9]=m,u[10]=o):o=u[10],u[11]!==e.lineWidth||u[12]!==m?(d=m&&(0,t.jsx)("col",{width:e.lineWidth}),u[11]=e.lineWidth,u[12]=m,u[13]=d):d=u[13],u[14]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("col",{width:"100%"}),u[14]=a):a=u[14],u[15]!==o||u[16]!==d?(c=(0,t.jsxs)("colgroup",{children:[o,d,a]}),u[15]=o,u[16]=d,u[17]=c):c=u[17],u[18]!==e.children?(f=(0,t.jsx)("tbody",{children:e.children}),u[18]=e.children,u[19]=f):f=u[19],u[20]!==s||u[21]!==c||u[22]!==f?(h=(0,t.jsxs)(t.Fragment,{children:[s,c,f]}),u[20]=s,u[21]=c,u[22]=f,u[23]=h):h=u[23],h}x.displayName="HunkHeaderDiffLine",p.displayName="HunkKebabIcon",g.displayName="EmptyDiffLine",b.displayName="SplitDiffTable",y.displayName="UnifiedDiffTable";let j="UnifiedDiffLines-module__diffTextInner__TZB4f";function _(e){let i,l,r,s,d=(0,n.c)(9),{line:a,children:c}=e;return d[0]!==a.type?(i=(0,o.gK)(a.type,!0),d[0]=a.type,d[1]=i):i=d[1],d[2]!==i?(l={backgroundColor:i,textAlign:"center"},d[2]=i,d[3]=l):l=d[3],d[4]!==c?(r=(0,t.jsx)("code",{children:c}),d[4]=c,d[5]=r):r=d[5],d[6]!==l||d[7]!==r?(s=(0,t.jsx)("td",{className:"UnifiedDiffLines-module__diffLineNumber__TllLc",style:l,children:r}),d[6]=l,d[7]=r,d[8]=s):s=d[8],s}function N(e){let i,l,o,d,a=(0,n.c)(7),{line:c,showLineNumbers:f}=e,h=f?4:2;a[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(p,{}),a[0]=i):i=a[0],a[1]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.$)(j,"color-fg-muted"),a[1]=l):l=a[1];let u=c.html;return a[2]!==u?(o=(0,t.jsxs)("div",{className:"d-flex flex-row",children:[i,(0,t.jsx)("code",{className:"UnifiedDiffLines-module__diffHunkText__oPQHk",children:(0,t.jsx)(s.$6,{className:l,html:u})})]}),a[2]=u,a[3]=o):o=a[3],a[4]!==h||a[5]!==o?(d=(0,t.jsx)("td",{colSpan:h,className:"UnifiedDiffLines-module__diffHunkCell__C1qoJ",valign:"top",children:o}),a[4]=h,a[5]=o,a[6]=d):d=a[6],d}function D(e){let i,l,d,a=(0,n.c)(18),{line:c,showLineNumbers:f}=e,h="HUNK"===c.type,u="ADDITION"!==c.type,m="DELETION"!==c.type,x="ADDITION"===c.type?"+":"DELETION"===c.type?"-":void 0,p=!!x,g=c.html;if(p&&g[0]===x){let e;a[0]!==g?(e=g.slice(1),a[0]=g,a[1]=e):e=a[1],g=e}return a[2]!==h||a[3]!==c||a[4]!==f?(i=h&&(0,t.jsx)(N,{line:c,showLineNumbers:f}),a[2]=h,a[3]=c,a[4]=f,a[5]=i):i=a[5],a[6]!==h||a[7]!==c||a[8]!==g||a[9]!==x||a[10]!==u||a[11]!==p||a[12]!==f||a[13]!==m?(l=!h&&(0,t.jsxs)(t.Fragment,{children:[f&&(0,t.jsx)(_,{line:c,children:u&&c.left}),f&&(0,t.jsx)(_,{line:c,children:m&&c.right}),(0,t.jsx)("td",{className:"UnifiedDiffLines-module__diffTextCell__We__z",style:{backgroundColor:(0,o.gK)(c.type,!1)},children:(0,t.jsxs)("code",{className:(0,r.$)("ADDITION"===c.type&&"UnifiedDiffLines-module__syntaxHighlightedAdditionLine__kfWBp","DELETION"===c.type&&"UnifiedDiffLines-module__syntaxHighlightedDeletionLine__qMih2"),children:[p&&(0,t.jsx)("span",{className:"UnifiedDiffLines-module__diffTextMarker__qbJh2",children:x}),(0,t.jsx)(s.$6,{className:j,html:g,style:{backgroundColor:(0,o.gK)(c.type,!1)}})]})})]}),a[6]=h,a[7]=c,a[8]=g,a[9]=x,a[10]=u,a[11]=p,a[12]=f,a[13]=m,a[14]=l):l=a[14],a[15]!==i||a[16]!==l?(d=(0,t.jsxs)("tr",{children:[i,l]}),a[15]=i,a[16]=l,a[17]=d):d=a[17],d}function C(e){let i,l,s,o,d,a=(0,n.c)(17),{className:c,lines:f,lineWidth:h,tabSize:u}=e;a[0]!==f?(i=f.some(v),a[0]=f,a[1]=i):i=a[1];let m=i;if(a[2]!==m||a[3]!==f){let e;a[5]!==m?(e=(e,i)=>(0,t.jsx)(D,{line:e,showLineNumbers:m},i),a[5]=m,a[6]=e):e=a[6],l=f.map(e),a[2]=m,a[3]=f,a[4]=l}else l=a[4];let x=l;return a[7]!==c?(s=(0,r.$)("UnifiedDiffLines-module__unifiedDiffLines__U966b",c,"tab-size"),a[7]=c,a[8]=s):s=a[8],a[9]!==x||a[10]!==m||a[11]!==h?(o=(0,t.jsx)(y,{lineWidth:h,showLineNumbers:m,children:x}),a[9]=x,a[10]=m,a[11]=h,a[12]=o):o=a[12],a[13]!==s||a[14]!==o||a[15]!==u?(d=(0,t.jsx)("table",{className:s,"data-tab-size":u,children:o}),a[13]=s,a[14]=o,a[15]=u,a[16]=d):d=a[16],d}function v(e){return null!==e.left||null!==e.right}function L(e){return"LEFT"===e?"-":"RIGHT"===e?"+":""}function T({startDiffSide:e,endDiffSide:i,originalStartLine:l,originalEndLine:t}){return e&&i&&"number"==typeof l&&"number"==typeof t?0===l&&1===t&&e===i?"-1 to +1":e===i&&l===t?`${L(e)}${l}`:`${L(e)}${l} to ${L(i)}${t}`:""}_.displayName="LineNumberCell",N.displayName="HunkCell",D.displayName="UnifiedDiffRow",C.displayName="UnifiedDiffLines"}}]); //# sourceMappingURL=1097-f69340b097556378-4b36cffb39bd7606.js.map