1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[914],{20914:function(e,r,n){n.d(r,{Z:function(){return Z}});var t=n(57437),l=n(46387),o=n(33320),i=n(13807),a=n(2265),u=n(2069),s=n(67116);function d(e){let{checked:r=!1,onToggle:n,size:l=18}=e;return(0,t.jsx)(u.Z,{component:"button",type:"button",onClick:n,role:"checkbox","aria-checked":r,sx:{width:l,height:l,p:0,borderRadius:"6px",border:"1.5px solid",borderColor:r?"var(--lv-brand)":"var(--lv-border-default)",backgroundColor:r?"var(--lv-brand)":"var(--lv-bg-elevated)",boxShadow:r?"0 0 0 1px var(--lv-brand-border) inset":"none",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:"pointer",transition:"background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease","&:hover":{backgroundColor:r?"var(--lv-brand)":"var(--lv-bg-hover)",borderColor:r?"var(--lv-brand)":"var(--lv-border-strong)"},"&:focus-visible":{outline:"2px solid var(--lv-brand)",outlineOffset:"2px"}},children:r&&(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M20 6L9 17l-5-5",stroke:"var(--lv-text-inverse)",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})})}function c(e){var r,n,o,i,a,c,v,f,x,h,g,p,b,m,y;let{row:w,imgSrc:k,title:j,checked:R=!1,onToggle:S,showCheckbox:C=!0,onImageMouseEnter:Z,onImageMouseLeave:I,titleClassName:E="",avatarSize:B=80,headerGap:P=1,childrenBelow:z=!1,headerMeta:M,headerTrailing:F,validationPill:L,applicabilityBadge:T,children:W}=e,Q=null!=k?k:(null==w?void 0:null===(r=w.primaryImage)||void 0===r?void 0:r.srcFull)||(null==w?void 0:w.primaryImage)||(null==w?void 0:null===(i=w.catalog)||void 0===i?void 0:null===(o=i.images)||void 0===o?void 0:null===(n=o[0])||void 0===n?void 0:n.srcFull)||(null==w?void 0:null===(v=w.catalog)||void 0===v?void 0:null===(c=v.images)||void 0===c?void 0:null===(a=c[0])||void 0===a?void 0:a.srcMedium)||(null==w?void 0:null===(h=w.catalog)||void 0===h?void 0:null===(x=h.images)||void 0===x?void 0:null===(f=x[0])||void 0===f?void 0:f.src)||(null==w?void 0:null===(b=w.catalog)||void 0===b?void 0:null===(p=b.images)||void 0===p?void 0:null===(g=p[0])||void 0===g?void 0:g.url_570xN)||(null==w?void 0:null===(y=w.images)||void 0===y?void 0:null===(m=y[0])||void 0===m?void 0:m.url_fullxfull)||null,K=z?null:W,_=(0,t.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",gap:P},children:[C&&(0,t.jsx)(d,{checked:R,onToggle:S}),(0,t.jsx)(s.Z,{alt:"Listing",src:Q,sx:{width:B,height:B,borderRadius:"8px",flexShrink:0,backgroundColor:"var(--lv-bg-card)",border:"1px solid var(--lv-border-default)"},onMouseEnter:Z?e=>Z(e,Q):void 0,onMouseLeave:I}),(0,t.jsxs)(u.Z,{sx:{flex:1,minWidth:0},children:[(null!=j||null!=T)&&(0,t.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:K?.75:0},children:[null!=j&&(0,t.jsx)(l.Z,{className:"text-xs font-semibold ".concat(E).trim(),sx:{flex:1,color:"var(--lv-text-primary)"},children:j}),M,T,L,F]}),K]})]});return z?(0,t.jsxs)(u.Z,{sx:{display:"flex",flexDirection:"column"},children:[_,W]}):_}var v=n(38398);let f={cover:{width:150,height:150,objectFit:"cover",display:"block"},contain:{maxWidth:150,maxHeight:150,objectFit:"contain",display:"block"}};function x(e){let{anchorEl:r,imageUrl:n,onClose:l,fit:o="cover"}=e;return r&&n?(0,t.jsx)(v.ZP,{open:!!r,anchorEl:r,onClose:l,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},disableRestoreFocus:!0,sx:{pointerEvents:"none"},children:(0,t.jsx)("img",{src:n,alt:"Preview",style:f[o]||f.cover})}):null}var h=n(44299),g=n(60241);let p=new Map;function b(e){return e&&"function"==typeof e.querySelectorAll?Array.from(e.querySelectorAll('a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])')).filter(e=>"true"!==e.getAttribute("aria-hidden")):[]}function m(e){let{ariaAttributes:r,index:n,style:l,rows:o,renderRowCard:i,focus:u}=e,s=(0,a.useRef)(null),d=o[n],c=null==d?null:String((0,g.XQ)(d));return((0,a.useLayoutEffect)(()=>
1{if(null==c)return;let e=s.current;return u.onRowMounted(c,e),()=>u.onRowRecycling(c,e)},[c,u]),null==d)?null:(0,t.jsx)("div",{ref:s,...r,"data-bulk-row-id":c,"data-testid":"bulk-windowed-row",tabIndex:-1,className:"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lv-focus",onFocus:e=>u.onRowFocus(c,e.target,s.current),style:{...l,paddingBottom:16},children:i(d)})}function y(e){var r;let{editorKey:n,rows:l,rowsEpoch:o,renderRowCard:i,chromeSignature:u=""}=e,s=(0,a.useRef)(null),d=(0,a.useRef)(null),[c,v]=(0,a.useState)(null),f=l.length,x=(0,a.useRef)(l);x.current=l;let y=(0,a.useRef)(n);y.current=n;let w=(0,a.useRef)(o);w.current=o;let{focus:k,parkedRowKey:j,clearParked:R}=function(e){let r=(0,a.useRef)(null),n=(0,a.useRef)(null),[t,l]=(0,a.useState)(null),o=(0,a.useCallback)(()=>{n.current=null,l(e=>null==e?e:null)},[]),i=(0,a.useCallback)((e,n,t)=>{let l=b(t).indexOf(n),i=r.current;r.current={rowKey:e,target:n,controlIndex:l>=0?l:(null==i?void 0:i.rowKey)===e?i.controlIndex:0},o()},[o]),u=(0,a.useCallback)((t,o)=>{if(!o||"undefined"==typeof document)return;let i=document.activeElement;if(!i||i===document.body)return;let a=r.current,u=(null==a?void 0:a.rowKey)===t&&a.target===i;if(!o.contains(i)&&!u)return;n.current={rowKey:t,controlIndex:(null==a?void 0:a.rowKey)===t?a.controlIndex:0},l(t);let s=e.current;s&&(s.removeAttribute("aria-hidden"),s.focus())},[e]),s=(0,a.useCallback)((e,r)=>{var t,o;let i=n.current;if(!i||i.rowKey!==e||!r)return;n.current=null;let a=b(r);(null!==(o=null!==(t=a[i.controlIndex])&&void 0!==t?t:a[0])&&void 0!==o?o:r).focus(),l(r=>r===e?null:r)},[]);return{focus:(0,a.useMemo)(()=>({onRowFocus:i,onRowMounted:s,onRowRecycling:u}),[i,s,u]),parkedRowKey:t,clearParked:o}}(d),S=null!=j,[C,Z]=(0,a.useState)(640),I=null!==(r=null==c?void 0:c.element)&&void 0!==r?r:null;(0,a.useLayoutEffect)(()=>{var e,r,n;let t=()=>{let e=null!=I?I:s.current;if(!e)return;let{top:r}=e.getBoundingClientRect(),n=Math.max(320,Math.round(window.innerHeight-r-24));Z(e=>e===n?e:n)};t(),window.addEventListener("resize",t);let l=null;if("undefined"!=typeof ResizeObserver){l=new ResizeObserver(t),s.current&&l.observe(s.current);let e=null===(n=s.current)||void 0===n?void 0:n.parentElement;e&&l.observe(e)}let o=null===(r=s.current)||void 0===r?void 0:null===(e=r.closest)||void 0===e?void 0:e.call(r,"[data-page-scroll-container]");return o&&o.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("resize",t),null==l||l.disconnect(),null==o||o.removeEventListener("scroll",t)}},[u,S,I,f]);let E=function(e,r,n){let t=(0,a.useRef)(null),l=t.current;if(null===l)return t.current={rows:e,editorKey:r,epoch:n,generation:0},0;if(l.rows===e&&l.editorKey===r&&l.epoch===n)return l.generation;let o=l.editorKey!==r||l.epoch!==n||!function(e,r){if(e===r)return!0;if(!e||!r||r.length<e.length)return!1;for(let n=0;n<e.length;n+=1){let t=e[n],l=r[n];if(t!==l&&String((0,g.XQ)(t))!==String((0,g.XQ)(l)))return!1}return!0}(l.rows,e)?l.generation+1:l.generation;return t.current={rows:e,editorKey:r,epoch:n,generation:o},o}(l,n,o),B=(0,h.I9)({defaultRowHeight:148,key:"".concat(null!=n?n:"","|").concat(E)}),P=(0,a.useRef)(null),z=(0,a.useCallback)(e=>{let r=x.current[e.startIndex];null!=r&&(P.current=String((0,g.XQ)(r)))},[]),M=(0,a.useRef)(!1);(0,a.useLayoutEffect)(()=>{M.current=!1,P.current=null},[n,o]),(0,a.useEffect)(()=>{if(M.current||!(null==c?void 0:c.element))return;M.current=!0;let e=function(e,r){let n=e?p.get(e):null;return n?n.epoch!==r?(p.delete(e),null):n.rowId:null}(n,o);if(null==e)return;let r=l.findIndex(r=>String((0,g.XQ)(r))===e);r<0||c.scrollToRow({index:r,align:"start"})},[n,c,o,l]),(0,a.useEffect)(()=>()=>{if(null!=P.current){var e,r,n;e=y.current,r=w.current,n=P.current,e&&null!=n&&p.set(e,{epoch:r,rowId:String(n)})}},[]);let F=(0,a.useMemo)(()=>null==j?-1:l.findIndex(e=>String((0,g.XQ)(e))===j),[j,l]),L=(0,a.useCallback)(()=>{if(F<0){R();return}null==c||c.scrollToRow({index:F,align:"center"})},[R,c,F]),T=(0,a.useCallback)(e=>{var r;let n=e.relatedTarget;n&&(null===(r=s.current)||void 0===r?void 0:r.contains(n))||R()},[R]),W=(0,a.useMemo)(()=>({rows:l,renderRowCard:i,focus:k}),[l,i,k]);return(0,t.jsxs)("div",{ref:s,children:[(0,t.jsx)("button",{type:"button",ref:d,tabIndex:-1,"data-testid":"editor-shell-focus-sentinel","data-parked":S?"true":"false","aria-hidden":S?void 0:"true","aria-label":"Return to the listing you were editing",onClick:L,onBlur:T,className:S?"mb-2 flex w-full items-center justify-between gap-2 rounded-lv-md border border-lv-selected-border bg-lv-selected-light px-3 py-2 text-left text-lv-body text-lv-text-primary shadow-lv-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lv-focus":"sr-only",children:S?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:["Listing ",F>=0?F+1:"?"," of ",f," ","scrolled out of view."]}),(0,t.jsx)("span",{className:"text-lv-caption text-lv-text-secondary",children:"Press Enter to go back to it"})]}):null}),(0,t.jsx)(h.aV,{listRef:v,"aria-label":"Selected listings","data-testid":"editor-shell-windowed-list",rowComponent:m,rowCount:f,rowHeight:B,rowProps:W,overscanCount:4,onRowsRendered:z,defaultHeight:C,style:{height:C,flexGrow:0,flexShrink:0}})]})}var w=n(98923),k=n(17716),j=n(70745),R=n(89682);let S={tags:"tags",materials:"materials",listingDetails:"coreDetails",shipping:"shippingProfile",policy:"returnPolicy",price:"priceQuantitySku",quantity:"priceQuantitySku",sku:"priceQuantitySku"},C=e=>{if(!e)return null!=e?e:"";let r=document.createElement("textarea");return r.innerHTML=e,r.value};function Z(e){let{editorKey:r,globalControls:n,headerContent:u,renderRow:s,showSearch:d=!0,showImagePreview:v=!0,imagePreviewFit:f,emptyMessage:h="No listings found.",getRowCardProps:g,getRowSx:p,searchAdornment:b,searchBelow:m,rowsFilter:Z,getRowIssue:I}=e,{filtered:E,rows:B,isSelected:P,toggleRow:z,search:M,setSearch:F,validationById:L,rowsEpoch:T,hydrationStatus:W,tombstoneCount:Q}=(0,k.rn)(),{previewImage:K,anchorEl:_,showPreview:H,hidePreview:N}=function(){let[e,r]=(0,a.useState)(null),[n,t]=(0,a.useState)(null);return{previewImage:e,anchorEl:n,showPreview:(0,a.useCallback)((e,n)=>{t(e.currentTarget),r(n)},[]),hidePreview:(0,a.useCallback)(()=>{t(null),r(null)},[])}}();(0,w.Z)(r);let O={showPreview:H,hidePreview:N},X=S[r],A=e=>{var r,n;return I?I(e):X?(0,j.bw)((0,R.X)(null==L?void 0:null===(n=L[(0,k.XQ)(e)])||void 0===n?void 0:null===(r=n.errors)||void 0===r?void 0:r[X])):null},D=Z?Z(E):E,G=D.filter(e=>A(e)).length,q=e=>{let r=(0,k.XQ)(e),n=P(r),l=()=>z(r),i=g?g(e):{},a=p?p(e):{},u=A(e),d=(null==u?void 0:u.severity)==="error"?{bgcolor:"var(--lv-error-surface)",borderColor:"var(--lv-error-border)"}:null;return(0,t.jsx)(o.Z,{bordered:!0,shadow:"sm",sx:{...a,...d},children:(0,t.jsx)(c,{row:e,title:C(e.title),checked:n,onToggle:l,validationPill:u?(0,t.jsx)(j.ZP,{severity:u.severity,label:u.message}):null,onImageMouseEnter:v?(e,r)=>H(e,r):void 0,onImageMouseLeave:v?N:void 0,...i,children:s(e,{isChecked:n,onToggle:l,imagePreview:O})})},r)},V=D.length>
150,J="".concat(null!=W?W:"","|").concat(null!=Q?Q:0,"|").concat(G>0?1:0);return(0,t.jsxs)("div",{className:"flex flex-col gap-4 p-4 flex-1",children:[n&&(0,t.jsx)(o.Z,{shadow:"sm",sx:{bgcolor:"var(--lv-bg-elevated)"},children:n}),u,d&&(0,t.jsxs)(o.Z,{shadow:"sm",children:[(0,t.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[(0,t.jsx)(i.Z,{value:M,onChange:F,placeholder:"Search listings...",fullWidth:!0,size:"sm"}),b]}),(0,t.jsxs)(l.Z,{variant:"body2",fontWeight:600,sx:{mt:1},children:["Editing ",E.length," listing",1===E.length?"":"s"]}),G>0&&(0,t.jsxs)(l.Z,{variant:"body2",sx:{mt:.5,fontWeight:600,color:"var(--lv-error-strong)"},children:[G," of ",D.length," need attention"]}),m]}),0===E.length&&null!=h&&(0,t.jsx)(l.Z,{variant:"body2",sx:{color:"text.secondary",px:1},children:h}),V?(0,t.jsx)(y,{editorKey:r,rows:D,rowsEpoch:T,renderRowCard:q,chromeSignature:J}):D.map(e=>q(e)),v&&(0,t.jsx)(x,{anchorEl:_,imageUrl:K,onClose:N,fit:f})]})}},98923:function(e,r,n){n.d(r,{Z:function(){return o}});var t=n(2265),l=n(17716);function o(e){let{reportEditorError:r,editorErrors:n}=(0,l.rn)(),o=!!(null==n?void 0:n[e]),i=(0,t.useCallback)(n=>{r(e,n)},[e,r]);return(0,t.useEffect)(()=>()=>{r(e,!1)},[e,r]),{reportError:i,hasError:o}}},67136:function(e,r,n){n.d(r,{Z:function(){return s}});var t=n(57437),l=n(2069),o=n(46387),i=n(53588),a=n(77543),u=n(99316);function s(e){let{id:r,value:n="",onChange:s,onBlur:d,placeholder:c="",multiline:v=!1,rows:f,minRows:x,fullWidth:h=!1,disabled:g=!1,sx:p={},size:b="md",label:m,helperText:y,metaBadge:w,error:k=!1,warning:j=!1,startAdornment:R,endAdornment:S,actionSlot:C,previewParts:Z,previewRenderer:I,type:E="text",inputProps:B={},inputRef:P,borderless:z=!1}=e,{onBlur:M,...F}=B,L=a.W1[b]||a.W1.md,T=k?a.oR.errorBorder:j?a.oR.warningBorder:null,W=k?a.oR.errorStrong:j?a.oR.warningStrong:null;return(0,t.jsxs)(l.Z,{sx:{width:h?"100%":"auto"},children:[m&&(0,t.jsx)(o.Z,{component:"label",sx:{display:"block",...a.cp.fieldLabel,color:W||a.oR.textPrimary,mb:.5},children:m}),(0,t.jsxs)(l.Z,{sx:{position:"relative",bgcolor:z?"transparent":a.oR.bgInput,borderRadius:z?0:a.PY.md,border:z?"none":"1px solid",borderColor:z?"transparent":T||a.oR.borderDefault,px:"".concat(L.px,"px"),py:"".concat(L.py,"px"),width:h?"100%":"auto",minWidth:h?void 0:140,display:"flex",alignItems:v?"flex-start":"center",gap:1,opacity:g?.6:1,transition:"border-color 150ms ease-in-out, box-shadow 150ms ease-in-out","&:focus-within":{borderColor:z?"transparent":T||"transparent",boxShadow:z?"none":"0 0 0 2px ".concat(a.oR.focusRing)},"@media (prefers-reduced-motion: reduce)":{transition:"none"},fontSize:L.fontSize,...p},children:[R&&(0,t.jsx)(l.Z,{sx:{display:"flex",alignItems:"center",color:a.oR.textSecondary,flexShrink:0},children:R}),Z&&Z.length>0&&Z.some(e=>e.highlightType)?(0,t.jsx)(l.Z,{sx:{flex:1,fontSize:L.fontSize,color:a.oR.textPrimary,lineHeight:v?1.5:"".concat(L.height-2*L.py-2,"px"),minHeight:v?"".concat((f||3)*L.fontSize*1.5,"px"):"".concat(L.height-2*L.py-2,"px"),whiteSpace:v?"pre-wrap":"pre",overflow:"hidden",wordBreak:v?"break-word":void 0,textOverflow:v?void 0:"ellipsis"},children:Z.map((e,r)=>I?I(e,r):(0,u.Kb)(e,r))}):(0,t.jsx)(i.ZP,{id:r,inputRef:P,value:n,onChange:e=>null==s?void 0:s(e.target.value),onBlur:M||d,placeholder:c,multiline:v,rows:v?f||(x?void 0:3):void 0,minRows:v?x:void 0,disabled:g,type:E,fullWidth:!0,sx:{..."date"===E&&{colorScheme:"light",".dark &":{colorScheme:"dark"}},fontSize:L.fontSize,color:a.oR.textPrimary,"& .MuiInputBase-input":{p:0,height:v?"auto":"".concat(L.height-2*L.py-2,"px"),"&::placeholder":{color:a.oR.textTertiary,opacity:1}},"& .MuiInputBase-inputMultiline":{p:0},"& textarea":{"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:a.oR.borderStrong,borderRadius:3},scrollbarWidth:"thin",scrollbarColor:"".concat(a.oR.borderStrong," transparent")}},inputProps:F}),S&&(0,t.jsx)(l.Z,{sx:{display:"flex",alignItems:"center",color:a.oR.textSecondary,flexShrink:0},children:S}),C&&(0,t.jsx)(l.Z,{sx:{position:"absolute",bottom:6,right:6,display:"flex",alignItems:"center",gap:"2px",zIndex:1},children:C})]}),(y||w)&&(0,t.jsxs)(l.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:1,mt:.5,px:.5},children:[y?(0,t.jsx)(o.Z,{sx:{...a.cp.helper,color:W||a.oR.textSecondary},children:y}):(0,t.jsx)("span",{}),w&&(0,t.jsx)(l.Z,{sx:{ml:"auto",display:"inline-flex"},children:w})]})]})}},13807:function(e,r,n){n.d(r,{Z:function(){return s}});var t=n(57437),l=n(2265),o=n(95576),i=n(73247),a=n(32489),u=n(67136);function s(e){let{value:r="",onChange:n,placeholder:s="Search...",size:d="md",onClear:c,onEnter:v,debounceMs:f=0,fullWidth:x=!1,disabled:h=!1,sx:g={}}=e,[p,b]=(0,l.useState)(r),m=(0,l.useRef)(null);(0,l.useEffect)(()=>{b(r)},[r]);let y=(0,l.useCallback)(e=>{b(e),f>0?(clearTimeout(m.current),m.current=setTimeout(()=>null==n?void 0:n(e),f)):null==n||n(e)},[n,f]),w=(0,l.useCallback)(()=>{clearTimeout(m.current),b(""),null==n||n(""),null==c||c()},[n,c]),k=(0,l.useCallback)(e=>{"Escape"===e.key&&p?(e.preventDefault(),w()):"Enter"===e.key&&v&&(e.preventDefault(),v(p))},[p,w,v]);return(0,l.useEffect)(()=>()=>clearTimeout(m.current),[]),(0,t.jsx)(u.Z,{value:p,onChange:y,placeholder:s,size:d,fullWidth:x,disabled:h,sx:g,
1startAdornment:(0,t.jsx)(i.Z,{size:16}),endAdornment:p?(0,t.jsx)(o.Z,{size:"small",onClick:w,sx:{p:.25,color:"inherit","&.Mui-focusVisible":{outline:"2px solid var(--lv-focus-ring)",outlineOffset:"2px"}},"aria-label":"Clear search",children:(0,t.jsx)(a.Z,{size:14})}):null,inputProps:{onKeyDown:k}})}},99316:function(e,r,n){n.d(r,{Kb:function(){return o},nf:function(){return i}});var t=n(57437);n(2265);var l=n(67077);function o(e,r){let n=e.highlightType;return"found_strike"===n?(0,t.jsx)("span",{style:{background:l.BF,color:l.IG,textDecoration:"line-through"},children:e.text},r):"replace_new"===n?(0,t.jsx)("span",{style:{background:l.BF,color:l.Fc,fontWeight:500},children:e.text},r):"space_sep"===n?(0,t.jsx)("span",{style:{background:l.BF,color:"inherit"},children:e.text},r):"found_highlight"===n?(0,t.jsx)("span",{style:{background:l.BF,color:l.IG},children:e.text},r):"add"===n?(0,t.jsx)("span",{style:{background:l.BF,color:l.Fc,fontWeight:500},children:e.text},r):(0,t.jsx)("span",{style:{background:"transparent",color:"inherit"},children:e.text},r)}function i(e){return e?{"& .MuiInputBase-input, & textarea":{color:l.Fc,fontWeight:500,caretColor:"var(--lv-text-primary)"}}:{}}},70745:function(e,r,n){n.d(r,{ZP:function(){return s},bw:function(){return a},cJ:function(){return u}});var t=n(57437),l=n(43792),o=n(77543);let i={error:{border:o.oR.errorBorder,bg:o.oR.errorPillBg,text:o.oR.errorStrong},warning:{border:o.oR.warningBorder,bg:o.oR.warningPillBg,text:o.oR.warningStrong}};function a(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{includeWarnings:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e?e.error?{severity:"error",message:e.helperText||r}:n&&e.warning?{severity:"warning",message:e.helperText||r}:null:null}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.some(e=>(null==e?void 0:e.severity)==="error")?"error":e.some(e=>(null==e?void 0:e.severity)==="warning")?"warning":null}function s(e){let{severity:r="error",label:n,maxWidth:o=220}=e;if(!n)return null;let a=i[r]||i.error;return(0,t.jsx)(l.Z,{title:n,children:(0,t.jsx)("span",{style:{display:"inline-flex",maxWidth:o},children:(0,t.jsx)("span",{role:"error"===r?"alert":void 0,style:{display:"inline-block",maxWidth:o,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",verticalAlign:"middle",borderRadius:"9999px",border:"1px solid ".concat(a.border),backgroundColor:a.bg,color:a.text,fontSize:10,fontWeight:500,letterSpacing:"0.2px",lineHeight:"16px",padding:"2px 8px"},children:n})})})}},67077:function(e,r,n){n.d(r,{BF:function(){return t},Fc:function(){return l},IG:function(){return o}});let t="#d1fae5",l="#059669",o="var(--lv-text-primary)"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.