1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[94328,78819,31806],{78819:function(e,t,i){i.r(t),i.d(t,{CardMolecule:function(){return s},outerContainer:function(){return d}});var a=i(85893),r=i(80603),o=i(16783),n=i(58549);const s=i(67294).memo(({children:e,style:t={}})=>(0,a.jsx)("div",{className:(0,r.iv)([d,t]),children:e}));t.default=s;const d=r.iv` 2 border: 0.4px solid rgba(0, 0, 0, 0.15); 3 box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25); 4 -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25); 5 -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25); 6 background-color: ${o.O.white}; 7 border-radius: ${n.D.s16}; 8`},61997:function(e,t,i){i.r(t),i.d(t,{FilterButton:function(){return E},default:function(){return B},inputSearchIcon:function(){return q}});var a=i(85893),r=i(80603),o=i(58549),n=i(57635),s=i(59610),d=i(5152),l=i.n(d),c=i(46647),p=i(11163),h=i(67294),u=i(2664),f=i(1314),m=i(50923),x=i(19900);const g=l()(()=>i.e(69668).then(i.bind(i,62209)),{loadableGenerated:{webpack:()=>[62209]},ssr:!1}),b=({el:e,subcat:t,marked:i,categoryChecked:o,categoryId:d,boldText:l})=>{const{0:c,1:p}=(0,h.useState)(i||o),f=(0,u.useDispatch)();let{selectedFilter:b}=(0,u.useSelector)(({shopService:e})=>e),w=b.find(e=>"category"==e.title)?.category||[],y=b.find(e=>"subcategory"==e.title)?.subcategory||[],C=b.find(e=>"subCatWithCatids"===e.title);return(0,h.useEffect)(()=>{p(t&&null!=t?o:w.includes(e.id))},[o,w.length]),(0,a.jsxs)("label",{className:(0,r.iv)([n.At,v]),style:{padding:"12px 7px 12px 9px"},children:[(0,a.jsxs)(m.default,{fs:"14px",fw:c||(t?(()=>{if(!C||!d)return!1;const t=(C.subCatWithCatids||[]).find(t=>t[d]?.includes(e.id));return t?.[d]?.includes(e.id)})():w.includes(e.id))?600:400,color:l?"#000000":"rgba(0, 0, 0, 0.50)",style:x.singleLineTextEllipsis,children:[e.name," ",e.count>0&&`(${e.count})`]}),(0,a.jsx)(g,{checked:c||(t?(()=>{if(!C||!d)return!1;const t=(C.subCatWithCatids||[]).find(t=>t[d]?.includes(e.id));return t?.[d]?.includes(e.id)})():w.includes(e.id)),onClick:i=>{i.stopPropagation();let a=b||[];C||(C={subCatWithCatids:[],title:"subCatWithCatids"},a.push(C));let r=C.subCatWithCatids||[];const n=r.find(t=>t[d]?.includes(e.id));if(t){if(n?.[d]?.includes(e.id)){if(p(!1),y=y.filter(t=>e.id!=t),o&&(w=w.filter(e=>e!=d)),d){const t=r.findIndex(e=>e[d]);if(-1!==t){const i=r[t][d].filter(t=>t!==e.id);i.length>0?r[t]={[d]:i}:r.splice(t,1)}}}else if(y.push(e.id),p(!0),d){let t=!1;r=r.map(i=>i[d]&&(t=!0,!i[d].includes(e.id))?{[d]:[...i[d],e.id]}:i),t||r.push({[d]:[e.id]})}a=a.map(e=>("subcategory"==e.title&&(e.subcategory=y),"category"==e.title&&(e.category=w),"subCatWithCatids"==e.title&&(e.subCatWithCatids=r),e))}else w.includes(e.id)?(p(!1),w=w.filter(t=>e.id!=t)):(w.push(e.id),p(!0)),a=a.map(e=>("category"==e.title&&(e.category=w),e));f((0,s.Jh)(a))}})]},e.id)},v=r.iv` 9 .ant-checkbox-inner { 10 border-color: #4287f5 !important; 11 } 12`;var w=i(16783),y=i(94447);const C=y.Z.Panel;var j=({children:e,title:t,subTitle:i,jsxTitle:r=!1,up:o,defaultKey:s,active:d})=>(0,a.jsx)("div",{className:k,children:(0,a.jsx)(y.Z,{defaultActiveKey:[s],ghost:!0,expandIconPosition:"end",bordered:!0,accordion:!0,expandIcon:e=>(0,a.jsx)("img",{src:e.isActive?"/images/pdpCollapseNotActive.svg":"/images/pdpCollapseActive.svg",width:7,height:8,alt:"Smytten up arrow"}),children:(0,a.jsx)(C,{header:r?t:(0,a.jsxs)("div",{className:n.kC,children:[d&&(0,a.jsx)("div",{style:{width:"5px",height:"5px",backgroundColor:"#4287f5",borderRadius:"50%",marginLeft:"-7px",marginRight:"2px"}}),(0,a.jsx)(m.default,{fs:"14px",fw:d?600:400,children:t})]}),children:e},"1")})});r.iv` 13 margin: ${o.D.s3} ${o.D.zero}; 14`;const k=r.iv` 15 border-bottom: 0.5px solid rgba(0, 0, 0, 0.1); 16 .ant-collapse-content { 17 /* border-top: ${o.D.sHalf} solid ${w.O.gray80} !important; */ 18 } 19 .ant-collapse-header { 20 padding: 10px !important; 21 } 22 p { 23 word-wrap: break-word; 24 } 25 26 .ant-collapse-content-box { 27 padding-top: 0px !important; 28 } 29`;var N=i(92424);const S=l()(()=>Promise.all([i.e(22449),i.e(59140),i.e(62740),i.e(94176)]).then(i.bind(i,62740)),{loadableGenerated:{webpack:()=>[62740]},ssr:!1}),W=l()(()=>
29Promise.all([i.e(22449),i.e(87682),i.e(35569)]).then(i.bind(i,87682)),{loadableGenerated:{webpack:()=>[87682]},ssr:!1}),A=l()(()=>i.e(69668).then(i.bind(i,62209)),{loadableGenerated:{webpack:()=>[62209]},ssr:!1}),E=({page:e,setApplyFilter:t,applyFilter:i,filterActive:d,commonBrandPage:l})=>{const{0:x,1:g}=(0,h.useState)(!1),{0:b,1:v}=(0,h.useState)("Gender"),w=((0,p.useRouter)(),(0,u.useDispatch)()),[y]=c.Z.useForm(),C=c.Z.useWatch("name",y);let{shopProductListingData:j,selectedFilter:k,shopL3ProductListingData:A}=(0,u.useSelector)(({shopService:e})=>e);const{0:E,1:B}=(0,h.useState)({data:[]}),{0:D,1:F}=(0,h.useState)("shopCollection"==e?A:j),P=(0,h.useRef)(null);(0,h.useEffect)(()=>{F("shopCollection"==e?A:j)},[A?.filters,j?.filters]),(0,h.useEffect)(()=>{D?.filters?.length>0&&(B(D?.filters[0]),v(D?.filters[0].title)),D?.filters?.length>0&&k.length<1&&D.filters.forEach(e=>{let t=e.title.toLowerCase()||"none",i={};i[t]=[],i={...i,title:t},k.push(i),w((0,s.Jh)([...k,{sort:[],title:"sort"},{subcategory:[],title:"subcategory"},{subCatWithCatids:[],title:"subCatWithCatids"}]))})},[D?.filters?.length]);const V=(0,h.useMemo)(()=>D?.filters?.find(e=>"brand"==e.title.toLowerCase())||{},[D?.filters?.length]);return(0,h.useEffect)(()=>{(C||""==C)&&B({...E,data:V.data.filter(e=>e.name.toLowerCase().includes(C.toLowerCase()||""))})},[C]),(0,a.jsxs)("div",{className:O,children:[(0,a.jsxs)("div",{className:(0,r.iv)([n.kC]),onClick:()=>{g(!0)},children:[(0,a.jsxs)("div",{className:(0,r.iv)([n.kC,{position:"relative",height:"28px"}]),children:[d&&(0,a.jsx)("div",{style:{width:"8px",height:"8px",borderRadius:"50%",backgroundColor:"#489cff",position:"absolute",top:"0px",right:"-2px"}}),(0,a.jsx)("img",{src:"/images/filterIcon.png",width:24,height:24,alt:"smytten Trials icon",loading:"lazy"})]}),"superStore"!=e&&(0,a.jsx)(m.default,{style:{marginLeft:"5px"},children:"Filter"})]}),(0,a.jsx)(S,{destroyOnClose:!0,className:H,open:x,footer:!1,closable:!1,zIndex:6e3,style:{top:0,margin:0,padding:0,left:0,right:0,height:"100%",overflow:"hidden",width:"100vw"},bodyStyle:{height:"100%",overflow:"hidden",width:"100vw"},maskStyle:{height:"100%",overflow:"hidden",width:"100vw"},wrapClassName:M,width:"100vw",centered:!1,maskClosable:!1,children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:T,children:(0,a.jsxs)("div",{className:n.kC,onClick:()=>g(!1),children:[(0,a.jsx)(m.default,{color:"#000",fs:o.D.s16,fw:500,children:"<-"}),(0,a.jsx)(m.default,{color:"#000",fs:o.D.s14,fw:500,style:{marginLeft:"8px"},children:"Filter"})]})}),(0,a.jsxs)("div",{className:n.bW,children:[(0,a.jsx)("div",{className:G,children:D?.filters?.map(e=>(0,a.jsx)("div",{className:b==e.title?I:z,onClick:()=>{v(e.title),B(e)},children:(0,a.jsxs)(m.default,{fs:"14px",color:b==e.title?"#fff":"#000",fw:L(k,e.title)?600:400,children:[e.title,L(k,e.title)]})},e.title))}),(0,a.jsx)("div",{className:J,children:(()=>{let e=E.type;return"Category"==E.title?(0,a.jsx)($,{data:E.data}):1==e?(0,a.jsxs)("div",{children:["brand"==E?.title?.toLowerCase()&&(0,a.jsx)("div",{className:_,children:(0,a.jsx)(c.Z,{initialValues:{remember:!0},autoComplete:"off",layout:"vertical",form:y,children:(0,a.jsx)(c.Z.Item,{name:"name",children:(0,a.jsx)(W,{style:{height:"40px",outline:"none"},placeholder:"Search in brand",prefix:q,suffix:C?(0,a.jsx)("div",{onClick:()=>y.setFieldsValue({name:""}),children:(0,a.jsx)("img",{src:"/images/cross_.svg",alt:"Picture of the author",width:o.D.s16,height:o.D.s16,loading:"lazy"})}):null})})})}),(0,a.jsx)(f.t7,{height:window.innerHeight-100,itemCount:E.data.length,itemSize:50,width:"100%",ref:e=>{P.current=e},itemData:{items:E,selectedFilter:k},overscanCount:7,children:R})]}):(0,a.jsx)(N.Z,{dataToRender:E})})()})]}),(0,a.jsxs)("div",{className:(0,r.iv)([n.C7,Z]),children:[(0,a.jsx)("div",{style:{padding:"12px 13%",border:"1px solid #4287f5",borderRadius:"10px"},onClick:()=>{let e=k.map(e=>(e[e.title]=[],e));B({...E}),w((0,s.Jh)(e))},children:(0,a.jsx)(m.default,{fs:"14px",color:"#4287f5",children:"Clear Filter"})}),(0,a.jsx)("div",{onClick:()=>("shopCollection"==e?w((0,s.lt)()):(w((0,s.$R)()),t(!i)),g(!1),void v("Sort")),style:{padding:"13px 12%",backgroundColor:"#4287f5",borderRadius:"10px"},children:(0,a.jsx)(m.default,{fs:"14px",color:"#fff",children:"Apply Filter"})})]})]})})]})},L=(e,t)=>{if(e.length<1)return"";let i=t.toLowerCase(),a=e.find(e=>e.title==i)||{};if("category"==i){let t=e.find(e=>"subcategory"==e.title)||{};if(a[i]?.length+t.subcategory?.length>0)return` (${t.subcategory?.length})`}else if(a[i]?.length>0)return` (${a[i]?.length})`;return""};var B=E;const D=(e,t)=>{if(e.find(e=>"category"==e.title).category.includes(t.id))return!0;e.find(e=>"subcategory"==e.title);let i=e.find(e=>"subCatWithCatids"==e.title),a=!1;if(t?.data?.length>0){const e=t.id;t.data.forEach(t=>{if(Array.isArray(i.subCatWithCatids)&&i.subCatWithCatids.some(i=>i[e]?.includes(t.id)))return a=!0,!0})}return a},F=(e,t)=>{const i=t?.id,a=e.find(e=>"category"===e.title)||{category:[]};if(a.category?.includes(i))return!0;const r=e.find(e=>"subCatWithCatids"===e.title)||{subCatWithCatids:[]},o=Array.from(new Set((t?.data||[]).map(e=>
29e?.id).filter(Boolean)));if(!i||0===o.length)return!1;const n=Array.isArray(r.subCatWithCatids)?r.subCatWithCatids:[],s=Array.from(new Set(n.map(e=>e?.[i]).flat().filter(Boolean)));if(s.length<o.length)return!1;const d=o.every(e=>s.includes(e));if(d){const t=e.find(e=>"category"===e.title);t?.category&&!t.category.includes(i)&&(t.category=[...t.category,i])}return d},$=(e={})=>{let{selectedFilter:t}=(0,u.useSelector)(({shopService:e})=>e);const i=(0,u.useDispatch)();return(0,a.jsx)("div",{children:e?.data?.map(e=>e.count>0&&e?.data?.length>0==0?(0,a.jsx)("div",{style:{borderBottom:"0.5px solid rgba(0,0,0,0.1)"},children:(0,a.jsx)(b,{el:e,boldText:!0})},e.id):e.count>0&&e.data?.length>0?(0,a.jsxs)(j,{active:D(t,e),title:`${e.name} (${e.count})`,children:[e.count>1&&(0,a.jsxs)("label",{className:n.At,style:{padding:"12px 7px 12px 9px"},children:[(0,a.jsxs)(m.default,{fs:"12px",fw:F(t,e)?600:400,color:"rgba(0, 0, 0, 0.50)",style:x.singleLineTextEllipsis,children:["All in ",e.name," (",e.count,")"]}),(0,a.jsx)(A,{checked:F(t,e),className:V,onClick:a=>{a.stopPropagation();const r=e.id,o=Array.from(new Set((e?.data||[]).map(e=>e?.id).filter(Boolean)));let n=!1;const d=t.map(t=>{if("category"===t.title&&(t.category?.includes(r)?(n=!0,t.category=t.category.filter(e=>e!==r)):t.category=[...t.category||[],r]),"subcategory"===t.title&&(t.subcategory=n?(t.subcategory||[]).filter(t=>!P(e.data,t)):Array.from(new Set([...t.subcategory||[],...o]))),"subCatWithCatids"===t.title){const e=Array.isArray(t.subCatWithCatids)?t.subCatWithCatids:[];if(n)t.subCatWithCatids=e.map(e=>{if(e?.[r]){const t=(e[r]||[]).filter(e=>!o.includes(e));return t.length>0?{[r]:t}:null}return e}).filter(Boolean);else{let i=!1;const a=e.map(e=>e?.[r]?(i=!0,{[r]:Array.from(new Set([...e[r]||[],...o]))}):e);!i&&o.length>0&&a.push({[r]:o}),t.subCatWithCatids=a}}return t});i((0,s.Jh)(d))}})]},e.id),e?.data?.map(i=>(0,a.jsx)(b,{el:i,subcat:!0,categoryId:e.id,categoryChecked:!!t.find(e=>"category"==e.title)&&t.find(e=>"category"==e.title).category.includes(e.id)},i.id))]},e.id):(0,a.jsx)("div",{style:{borderBottom:"0.5px solid rgba(0,0,0,0.1)"},children:(0,a.jsx)(b,{el:e})},e.id))})},P=(e,t)=>{let i=!1;return e.forEach(e=>{t!=e.id||(i=!0)}),i},R=h.memo(({data:e,index:t,style:i})=>{const r=e.items.data[t],o=e.selectedFilter,d=e.items.title.toLowerCase(),{0:l,1:c}=(0,h.useState)(!1),p=(0,u.useDispatch)();return(0,h.useEffect)(()=>{o.forEach(e=>{e.title==d&&(e[d].includes(r.id)?c(!0):c(!1))})},[e.items]),(0,a.jsx)("div",{style:i,children:(0,a.jsxs)("label",{className:n.At,style:{padding:"12px 0",borderBottom:"0.5px solid rgba(0,0,0,0.1)",margin:"0 16px"},children:[(0,a.jsxs)(m.default,{fs:"14px",fw:l?600:400,children:[r.name," (",r.count,")"]}),(0,a.jsx)(A,{className:V,checked:l,onClick:e=>{e.stopPropagation();const t=o.map(e=>(e.title==d&&(l?e[d]=e[d].filter(e=>e!=r.id):e[d].push(r.id)),e));p((0,s.Jh)(t)),c(!l)}})]})})},f.wy),Z=r.iv` 30 box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.25); 31 position: absolute; 32 bottom: 0px; 33 left: 0; 34 width: 100%; 35 background-color: #fff; 36 padding: 8px 0 8px 0; 37`,z=r.iv` 38 padding: 18px 0; 39 display: flex; 40 justify-content: center; 41`,I=r.iv` 42 padding: 18px 0; 43 background-color: #4287f5; 44 display: flex; 45 justify-content: center; 46`,T=r.iv` 47 box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15); /* X offset, Y offset, Blur, Color */ 48 padding: 10px; 49`,G=r.iv` 50 flex: 0.32; 51 box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15); 52 height: 88vh; 53`,J=r.iv` 54 flex: 0.7; 55 height: 82vh; 56 overflow-x: scroll; 57 padding: 10px 10px 100px 10px; 58 .ant-radio-group { 59 box-sizing: border-box; 60 margin: 0; 61 padding: 0; 62 color: rgba(0, 0, 0, 0.85); 63 font-size: 12px; 64 font-variant: tabular-nums; 65 line-height: 1.66667; 66 list-style: none; 67 font-feature-settings: 'tnum'; 68 display: flex !important; 69 flex-direction: column; 70 font-size: 0; 71 } 72`,O=r.iv` 73 overflow: hidden !important; 74`,_=r.iv` 75 .ant-form-item { 76 margin-bottom: 0 !important; 77 border-radius: 20px; 78 } 79 .ant-input-affix-wrapper { 80 // position: relative; 81 // display: inline-block; 82 // width: 100%; 83 // min-width: 0; 84 // padding: 3px 7px; 85 border: 1px solid #d9d9d9; 86 border-radius: 10px; 87 } 88 .ant-input-affix-wrapper-focused { 89 box-shadow: 0px 0px 2px #282828 !important; 90 border: 0.5px solid #282828 !important; 91 } 92`,H=r.iv` 93 .ant-modal { 94 max-width: 100vw !important; 95 margin: 0 !important; 96 width: 100vw !important; 97 height: 100% !important; 98 padding: 0 !important; 99 top: 0; 100 background-color: red; 101 @media (max-width: 767px) { 102 max-width: 100vw !important; 103 margin: 0 !important; 104 width: 100vw !important; /* Ensure width override */ 105 } 106 } 107 108 .ant-modal-content { 109 height: 100%; 110 display: flex; 111 flex-direction: column; 112 } 113 114 .ant-modal-header, 115 .ant-modal-footer { 116 display: none; /* Optional: Hide header and footer */ 117 } 118 119 .ant-modal-body { 120 flex: 1; 121 overflow: hidden; /* Prevent scrolling inside the modal */ 122 padding: 0 !important; /* Remove default padding */ 123 } 124 125 /* Override media query for small screens */ 126 @media (max-width: 767px) { 127 .ant-modal { 128 max-width: 100vw !important; 129 margin: 0 !important; 130 width: 100vw !important; /* Ensure width override */ 131 } 132 } 133`,M=r.iv` 134 height: 100% !important; 135 overflow: hidden !important; 136 .ant-modal { 137 max-width: 100vw !important; 138 margin: 0 !important; 139 width: 100vw !important; 140 height: 100% !important; 141 overflow: hidden !important; 142 padding: 0 !important; 143 top: 0; 144 background-color: red; 145 @media (max-width: 767px) { 146 max-width: 100vw !important; 147 margin: 0 !important; 148 height: 100% !important; 149 overflow: hidden !important; 150 width: 100vw !important; /* Ensure width override */ 151 } 152 } 153 154 .ant-modal-content { 155 height: 100% !important; 156 overflow: hidden !important; 157 display: flex; 158 flex-direction: column; 159 } 160 161 .ant-modal-header, 162 .ant-modal-footer { 163 display: none; /* Optional: Hide header and footer */ 164 } 165 166 .ant-modal-body { 167 flex: 1; 168 overflow: hidden; /* Prevent scrolling inside the modal */ 169 padding: 0 !important; /* Remove default padding */ 170 height: 100% !important; 171 overflow: hidden !important; 172 } 173 174 /* Override media query for small screens */ 175 @media (max-width: 767px) { 176 .ant-modal { 177 max-width: 100vw !important; 178 margin: 0 !important; 179 width: 100vw !important; /* Ensure width override */ 180 height: 100% !important; 181 overflow: hidden !important; 182 } 183 } 184`,V=r.iv` 185 .ant-checkbox-inner { 186 border-color: #4287f5 !important; 187 } 188`,q=(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M14 14L11.6667 11.6667M13.3333 7.66667C13.3333 10.7963 10.7963 13.3333 7.66667 13.3333C4.53705 13.3333 2 10.7963 2 7.66667C2 4.53705 4.53705 2 7.66667 2C10.7963 2 13.3333 4.53705 13.3333 7.66667Z",stroke:"#B3B3B3","stroke-width":"0.75","stroke-linecap":"round","stroke-linejoin":"round"})})},92424:function(e,t,i){var a=i(85893),r=i(80603),o=i(57635),n=i(59610),s=i(5152),d=i.n(s),l=i(67294),c=i(2664),p=i(50923),h=i(83817);const u=d()(()=>i.e(45893).then(i.bind(i,51834)),{loadableGenerated:{webpack:()=>[51834]},ssr:!1}),f=d()(()=>i.e(95855).then(i.bind(i,30988)),{loadableGenerated:{webpack:()=>[30988]},ssr:!1});t.Z=({dataToRender:e,sortButtonView:t})=>{const{0:i,1:r}=(0,l.useState)(),s=(0,c.useDispatch)();let{selectedFilter:d}=(0,c.useSelector)(({shopService:e})=>e);return(0,l.useEffect)(()=>{let t=e?.title?.toLowerCase();
188d.forEach(e=>{e.title==t&&r(e[t][0])})},[e]),(0,a.jsx)("div",{className:h.Z8,children:(0,a.jsx)(f,{value:i,children:e?.data?.map(l=>t?(0,a.jsxs)("div",{className:o.kC,style:{paddingBottom:"16px"},onClick:()=>{let t=e?.title?.toLowerCase();r(l.id);let i=d.map(e=>(e.title==t&&(e[t]=[l.id]),e));s((0,n.Jh)(i))},children:[(0,a.jsx)(u,{className:m,value:l.id}),(0,a.jsxs)(p.default,{fs:"14px",fw:i==l.id?600:400,color:i==l.id?"#489cff":"#000000",children:[l.name," ",l?.count>0&&`(${l.count})`]})]},l.id):(0,a.jsxs)("div",{className:o.At,style:{padding:"12px 0",borderBottom:"0.5px solid rgba(0,0,0,0.1)"},onClick:()=>{let t=e?.title?.toLowerCase();r(l.id);let i=d.map(e=>(e.title==t&&(e[t]=[l.id]),e));s((0,n.Jh)(i))},children:[(0,a.jsxs)(p.default,{fs:"14px",fw:i==l.id?600:400,children:[l.name," ",l?.count>0&&`(${l.count})`]}),(0,a.jsx)(u,{className:m,value:l.id})]},l.id))})})};const m=r.iv` 189 .ant-radio-inner { 190 border-color: #4287f5; /* Custom border color for the radio button */ 191 } 192`}}]);
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.