1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21779],{96858:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/etfs/with/[symbol]",function(){return s(67306)}])},67306:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return U}});var l=s(85893),r=s(83239),n=s(1672),a=s(67294),o=s(38420),i=s(16515),c=s(41664),d=s.n(c),x=s(11163),m=s(17334),h=s(69006),u=s(88497),p=s(67196),f=s(62887),g=s(52844),b=s(98353),y=s(99292),v=s(6573),j=s(97803),w=s(43296),N=s(52411),k=s(87203);let C="/etfs/with",_={fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},S=(e,t)=>e.trim().replace(/[.,]+$/,"")===t,F=(e,t)=>{let s=e.trim().replace(/[.,]+$/,"").split(/\s+/);return s.length>1&&s[s.length-1]===t},E=/\s(?:\(|(?:un)?sponsored\b|(?:american|global)\s+depositary\b|depositary\b|adrs?\b|adss?\b|repstg\b|representing\b|common\b|ordinary\s+shares?\b|class\s+[a-z]\b|series\s+[a-z]\b|units\b|(?:shares\s+)?of\s+beneficial\s+interest\b|limited\s+partnership\b)/i,B=e=>e.split(E)[0].replace(/[\s,;:&|-]+$/,"").trim()||e,L=e=>"number"==typeof e&&Number.isFinite(e)&&100>=Math.abs(e),M=(e,t)=>{let s=L(e.weight);return s!==L(t.weight)?s?-1:1:s?t.weight-e.weight:0},T=(e,t)=>L(e)?"".concat(e.toFixed(t),"%"):"-",V=e=>null===e?"-":"".concat(e.toFixed(2),"%"),A=e=>null===e||0===e?"-":e>=1e12?"$".concat((e/1e12).toFixed(1),"T"):e>=1e9?"$".concat((e/1e9).toFixed(1),"B"):e>=1e6?"$".concat((e/1e6).toFixed(0),"M"):e>=1e3?"$".concat((e/1e3).toFixed(0),"K"):"$".concat(e.toLocaleString()),W=e=>"".concat(e.is_mutual_fund?"/mutual-funds":"/etfs","/").concat(e.etf_symbol.toLowerCase()),P=(e,t)=>Math.round((e.split("").reduce((e,t)=>e+t.charCodeAt(0),0)%30+65+("buy"===t?0:"momentum"===t?10:20))%35+65);var U=!0;t.default=e=>{var t,s;let c=(0,x.useRouter)(),[E,U]=(0,a.useState)(""),[H,Z]=(0,a.useState)("weight"),[z,R]=(0,a.useState)("desc"),{isEntitled:X}=(0,i.p)(),[$,O]=(0,a.useState)(!1),[D,G]=(0,a.useState)(""),[K,I]=(0,a.useState)(!1),[q,Q]=(0,a.useState)(null),{markEmailCaptured:J,hasEmailCaptured:Y}=(0,b.E)({toolKey:"ticker-exposure",freeUsesLimit:999}),ee=!!(e.holdings&&e.holdings.length>0),{checkBeforeNewComparison:et,dismissForCurrentComparison:es}=(0,w.H)({hasResults:ee,comparisonKey:e.ticker||"default"}),el=(0,a.useCallback)(e=>!(ee&&et())||(Q(e),I(!0),!1),[ee,et]);(0,a.useEffect)(()=>{q&&!K&&(c.push("/etfs/with/".concat(q.toLowerCase())),Q(null))},[q,K,c]);let[er,en]=(0,a.useState)(!1),ea=async()=>{var t;if(!e.holdings||0===e.holdings.length)return;if(!X){eo("CSV Export");return}if(er)return;let s=e.holdings,l=!0,r=e.totalPages||1;if(r>1){en(!0);let{holdings:t,complete:n}=await (0,N.Ah)(C,e.ticker||"",1,r);en(!1),l=n,t.length>0&&(s=t)}if(!l&&!window.confirm("Some holdings could not be loaded, so this file would be incomplete "+"(".concat(s.length," rows retrieved). Download anyway?")))return;let n=new Blob([["Fund Symbol,Fund Name,Weight (%),Market Value,Expense Ratio,Category",...s.map(e=>{var t;return[e.etf_symbol,'"'.concat(e.etf_name.replace(/"/g,'""'),'"'),L(e.weight)?e.weight.toFixed(4):"",(null===(t=e.market_value)||void 0===t?void 0:t.toString())||"",null!==e.expense_ratio?e.expense_ratio.toFixed(2):"",e.global_category||""]}).map(e=>e.join(","))].join("\n")],{type:"text/csv;charset=utf-8;"}),a=document.createElement("a");a.href=URL.createObjectURL(n),a.download="funds-holding-".concat((null===(t=e.ticker)||void 0===t?void 0:t.toLowerCase())||"stock",".csv"),a.click(),URL.revokeObjectURL(a.href)},eo=e=>{(0,r.vQ)()},ei=e=>{H===e?R("asc"===z?"desc":"asc"):(Z(e),R("desc"))},ec=e=>{let{active:t,direction:s}=e;return(0,l.jsx)("span",{className:"inline-flex ml-1 ".concat(t?"text-[#0067B8]":"text-slate-300"),children:t&&"asc"===s?"â":t&&"desc"===s?"â":"â"})};if(e.error)return(0,l.jsx)("div",{className:"min-h-screen bg-gray-50",style:_,children:(0,l.jsx)("div",{className:"max-w-[600px] mx-auto mt-20 px-6 text-center",children:(0,l.jsxs)("div",{className:"bg-white border border-slate-200 rounded-lg p-8",children:[(0,l.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-red-50 flex items-center justify-center",children:(0,l.jsx)("svg",{className:"w-8 h-8 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,l.jsx)("h1",{className:"text-[28px] font-bold text-gray-900 m-0 mb-3",children:e.isCombo?"Invalid Request":"Stock Not Found"}),(0,l.jsx)("p",{className:"text-[15px] text-gray-600 m-0 mb-6",children:e.error}),(0,l.jsx)(d(),{href:"/etfs/with",className:"inline-flex items-center gap-2 py-3 px-6 text-[15px] font-medium text-white rounded-lg no-underline transition-all hover:scale-105",style:{backgroundColor:"#0067B8"},children:"â Browse All Stocks"})]})})});if(e.isCombo)return(0,l.jsx)("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",style:_,children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("h1",{className:"text-[28px] font-bold text-gray-900 mb-4",children:"Combo Analysis Coming Soon"}),(0,l.jsx)(d(),{href:"/etfs/with",className:"text-[#0067B8] hover:underline text-[15px]",children:"â Back to Find ETFs by Stock"})]})});let{ticker:ed,companyName:ex,holdings:em,stats:eh}=e;if(!ed||!em||!eh)return null;let eu=e.page||1,ep=e.totalPages||1,ef=(eu-1)*N.lc,eg=[...em].sort(M),eb=[...em].filter(e=>null!==e.expense_ratio).sort((e,t)=>
1(e.expense_ratio||1)-(t.expense_ratio||1)),ey=e.topByWeight||eg[0],ev=e.topByLowCost||eb[0],ej=(null==ev?void 0:ev.etf_symbol)||ey.etf_symbol,ew=[...em.filter(e=>(e.etf_symbol||"").toLowerCase().includes(E.toLowerCase())||(e.etf_name||"").toLowerCase().includes(E.toLowerCase()))].sort((e,t)=>{let s="asc"===z?1:-1;switch(H){case"symbol":return s*e.etf_symbol.localeCompare(t.etf_symbol);case"weight":if(L(e.weight)!==L(t.weight))return L(e.weight)?-1:1;if(!L(e.weight))return 0;return s*(e.weight-t.weight);case"marketValue":return s*((t.market_value||0)-(e.market_value||0));case"globalCategory":return s*(e.global_category||"").localeCompare(t.global_category||"");case"buyScore":return s*(P(e.etf_symbol,"buy")-P(t.etf_symbol,"buy"));case"momentumScore":return s*(P(e.etf_symbol,"momentum")-P(t.etf_symbol,"momentum"));case"valueScore":return s*(P(e.etf_symbol,"value")-P(t.etf_symbol,"value"));default:return 0}}).slice(0,N.lc),eN=ef+1,ek=Math.min(ef+N.lc,eh.totalEtfs),eC=eu>1?" - Page ".concat(eu," of ").concat(ep):"",e_=ex||ed,eS="ETFs & Mutual Funds Holding ".concat(ed),eF=[{name:"MarketXLS",href:"/"},(0,n.t)(ed)?{name:ed}:{name:ed,href:"/stocks/".concat(ed)},eu>1?{name:eS,href:(0,N.OK)(C,ed,1)}:{name:eS}];eu>1&&eF.push({name:"Page ".concat(eu," of ").concat(ep)});let eE=L(eh.highestWeight)?" Highest exposure: ".concat(eh.highestWeight.toFixed(2),"%."):"";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(m.Z,{title:function(e,t,s,l){let r="".concat(e," Funds Holding"),n="".concat(r," ").concat(s).concat(l),a=["".concat(n," - Best ETF Exposure | FundXLS"),"".concat(n," - Best ETF Exposure"),n],o=(t||"").trim(),i=B(o),c=(0,j.Mc)(i),d=[[o,"".concat(r," ").concat(o," (").concat(s,") - Best ETF Exposure").concat(l," | FundXLS")],[o,"".concat(r," ").concat(o," (").concat(s,") - Best ETF Exposure").concat(l)],[i,"".concat(r," ").concat(i," (").concat(s,") - Best ETF Exposure").concat(l)],[c,"".concat(r," ").concat(c," (").concat(s,") - Best ETF Exposure").concat(l)],[o,"".concat(r," ").concat(o," (").concat(s,")").concat(l)],[i,"".concat(r," ").concat(i," (").concat(s,")").concat(l)],[c,"".concat(r," ").concat(c," (").concat(s,")").concat(l)]].filter(e=>{let[t]=e;return t&&!S(t,s)});return(o?[...d.filter(e=>{let[t]=e;return!F(t,s)}).map(e=>{let[,t]=e;return t}),...d.filter(e=>{let[t]=e;return F(t,s)}).map(e=>{let[,t]=e;return t}),...a]:a).find(e=>e.length<=60)||n}(eh.totalEtfs,ex,ed,eC),description:(s=e=>eu>1?"ETFs holding ".concat(e,": funds ").concat(eN,"-").concat(ek," of ").concat(eh.totalEtfs,", ranked by weight. Compare exposure, cost and scores."):"Find the best ETFs holding ".concat(e,". Compare all ").concat(eh.totalEtfs," funds by weight, cost and scores.").concat(eE),(function(e,t){let s=(e||"").trim(),l=[],r=e=>{let s="".concat(e," (").concat(t,")");!e||S(e,t)||l.includes(s)||l.push(s)};if(s){let e=B(s);r(s),r(e),r((0,j.Mc)(e))}return l.push(t),l})(ex,ed).map(s).find(e=>e.length<=160)||s(ed)),canonical:(0,N.OK)(C,ed,eu)}),(0,l.jsxs)("div",{className:"min-h-screen bg-gray-50",style:_,children:[(0,l.jsx)(h.h$,{title:(0,l.jsxs)("span",{children:["ETFs & Mutual Funds Holding ",(0,l.jsx)("span",{style:{color:"#0067B8"},children:ed})]}),subtitle:"Get exposure to ".concat(e_," through ").concat(eh.totalEtfs," funds"),showCTA:!0,variableContent:(0,l.jsx)("div",{className:"max-w-md",children:(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,l.jsx)(v.Z,{placeholder:"Search another stock...",currentTicker:ed,onBeforeNavigate:el,className:"flex-1"}),(0,l.jsxs)("button",{onClick:ea,className:"flex items-center gap-1.5 px-3 py-2 text-sm font-semibold text-white rounded-lg transition-all hover:scale-105 shadow-sm whitespace-nowrap",style:{backgroundColor:"#059669"},title:"Download all ".concat(eh.totalEtfs," funds as CSV"),children:[(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),(0,l.jsx)("span",{className:"hidden sm:inline",children:"CSV"})]})]}),(0,l.jsxs)("div",{className:"hidden lg:flex items-center gap-1.5 mt-2 flex-wrap justify-center",children:[(0,l.jsx)("span",{className:"text-[11px] text-gray-400",children:"Popular:"}),["AAPL","MSFT","NVDA","GOOGL","AMZN"].filter(e=>e!==ed.toUpperCase()).slice(0,4).map((e,t,s)=>(0,l.jsxs)("button",{onClick:()=>{el(e)&&c.push("/etfs/with/".concat(e.toLowerCase()))},className:"text-[11px] font-semibold no-underline hover:underline",style:{color:"#0067B8",background:"none",border:"none",cursor:"pointer"},children:[e,t<s.length-1&&(0,l.jsx)("span",{className:"text-gray-300 ml-1",children:"â¢"})]},e))]})]})})}),(0,l.jsxs)("div",{className:"mx-auto px-4 sm:px-6 lg:px-8 py-3",children:[(0,l.jsx)(k.B,{crumbs:eF}),(0,l.jsx)("div",{className:"bg-white border border-slate-200 rounded-lg mb-4",children:(0,l.jsxs)("div",{className:"flex flex-wrap items-stretch divi
1de-x divide-slate-200",children:[(0,l.jsxs)("div",{className:"flex-1 min-w-[120px] p-3 text-center",children:[(0,l.jsx)("div",{className:"text-2xl font-bold text-gray-900 tabular-nums",children:eh.totalEtfs}),(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"Total Funds"})]}),(0,l.jsxs)("div",{className:"flex-1 min-w-[140px] p-3 text-center",children:[(0,l.jsx)(d(),{href:W(ey),className:"text-lg font-bold no-underline hover:underline",style:{color:"#0067B8"},children:ey.etf_symbol}),(0,l.jsxs)("div",{className:"text-sm text-gray-500",children:["Highest: ",(0,l.jsx)("span",{className:"font-semibold text-green-600",children:T(ey.weight,1)})]})]}),(0,l.jsxs)("div",{className:"flex-1 min-w-[140px] p-3 text-center",children:[(0,l.jsx)(d(),{href:W(ev||ey),className:"text-lg font-bold no-underline hover:underline",style:{color:"#0067B8"},children:(null==ev?void 0:ev.etf_symbol)||ey.etf_symbol}),(0,l.jsxs)("div",{className:"text-sm text-gray-500",children:["Lowest ER:"," ",(0,l.jsx)("span",{className:"font-semibold",style:{color:"#0067B8"},children:V((null==ev?void 0:ev.expense_ratio)||ey.expense_ratio)})]})]}),(0,l.jsxs)("div",{className:"flex-1 min-w-[120px] p-3 text-center",children:[(0,l.jsx)("div",{className:"text-2xl font-bold tabular-nums",style:{color:"#0067B8"},children:void 0===eh.avgWeight?"-":"".concat(eh.avgWeight.toFixed(2),"%")}),(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"Avg Weight"})]}),(0,l.jsxs)("div",{className:"flex-1 min-w-[140px] p-3 text-center hidden lg:block",children:[(0,l.jsx)("div",{className:"text-2xl font-bold text-gray-900 tabular-nums",children:A(eh.totalMarketValue)}),(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"Total Value"})]})]})}),(0,l.jsxs)("div",{className:"bg-white border border-slate-200 rounded-lg overflow-hidden mb-4",children:[(0,l.jsxs)("div",{className:"py-3 px-4 border-b border-slate-100 flex items-center justify-between flex-wrap gap-3",children:[(0,l.jsx)("h2",{className:"text-xl font-semibold text-gray-900 m-0",children:eu>1?(0,l.jsxs)(l.Fragment,{children:["Funds ",eN,"-",ek," of ",eh.totalEtfs," with ",ed]}):(0,l.jsxs)(l.Fragment,{children:["All ",eh.totalEtfs," Funds with ",ed]})}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsxs)("button",{onClick:ea,className:"inline-flex items-center gap-1.5 px-4 py-2 text-sm font-semibold text-white rounded-lg transition-all hover:scale-105 hover:shadow-md cursor-pointer",style:{backgroundColor:"#0067B8"},children:[(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),er?"Preparing CSV...":"Download CSV"]}),(0,l.jsxs)(d(),{href:"/etfs/scoring-methodology",className:"hidden sm:inline-flex items-center gap-1.5 text-sm font-medium text-[#0067B8] hover:underline no-underline px-3 py-1.5 bg-blue-50 rounded-full",children:[(0,l.jsxs)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeWidth:"2"}),(0,l.jsx)("path",{strokeLinecap:"round",strokeWidth:"2",d:"M12 16v-4m0-4h.01"})]}),"FundXLS Fund Scoring Methodology"]}),(0,l.jsxs)("div",{className:"flex rounded-lg overflow-hidden border-2 border-slate-200 focus-within:border-[#0067B8] transition-all",style:!X&&em.length>10?{opacity:.5,pointerEvents:"none"}:void 0,title:!X&&em.length>10?"Upgrade to search all funds":void 0,children:[(0,l.jsx)("input",{type:"text",className:"py-2.5 px-4 text-sm bg-white border-none focus:outline-none w-[200px] placeholder:text-gray-400",placeholder:!X&&em.length>10?"Upgrade to filter...":"Filter funds...",value:E,onChange:e=>X||em.length<=10?U(e.target.value):null,disabled:!X&&em.length>10}),(0,l.jsx)("div",{className:"px-4 flex items-center justify-center flex-shrink-0",style:{backgroundColor:"#0067B8"},children:(0,l.jsxs)("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",strokeWidth:"2.5",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,l.jsx)("path",{strokeLinecap:"round",d:"m21 21-4.3-4.3"})]})})]})]})]}),(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("table",{className:"w-full border-collapse text-sm",children:[(0,l.jsx)("thead",{className:"bg-slate-50",children:(0,l.jsxs)("tr",{children:[(0,l.jsxs)("th",{onClick:()=>ei("symbol"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-4 py-3 text-left cursor-pointer hover:bg-slate-100 transition-colors border-b border-slate-200",children:["Fund ",(0,l.jsx)(ec,{field:"symbol",active:"symbol"===H,direction:z})]}),(0,l.jsxs)("th",{onClick:()=>ei("weight"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-4 py-3 text-right cursor-pointer hover:bg-slate-100 transition-colors border-b border-slate-200",children:["Weight ",(0,l.jsx)(ec,{field:"weight",active:"weight"===
1H,direction:z})]}),(0,l.jsxs)("th",{onClick:()=>ei("marketValue"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-3 py-2 text-right cursor-pointer hover:bg-slate-100 transition-colors hidden sm:table-cell border-b border-slate-200",children:["Market Value ",(0,l.jsx)(ec,{field:"marketValue",active:"marketValue"===H,direction:z})]}),(0,l.jsxs)("th",{onClick:()=>ei("globalCategory"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-3 py-2 text-left cursor-pointer hover:bg-slate-100 transition-colors hidden lg:table-cell border-b border-slate-200",children:["Category"," ",(0,l.jsx)(ec,{field:"globalCategory",active:"globalCategory"===H,direction:z})]}),(0,l.jsx)("th",{onClick:()=>ei("buyScore"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-4 py-3 text-center cursor-pointer hover:bg-slate-100 transition-colors hidden xl:table-cell border-b border-slate-200",children:(0,l.jsxs)("span",{className:"flex items-center justify-center",children:["Buy",(0,l.jsx)(g.Z,{scoreType:"buy",className:"ml-1"}),(0,l.jsx)(ec,{field:"buyScore",active:"buyScore"===H,direction:z})]})}),(0,l.jsx)("th",{onClick:()=>ei("momentumScore"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-4 py-3 text-center cursor-pointer hover:bg-slate-100 transition-colors hidden xl:table-cell border-b border-slate-200",children:(0,l.jsxs)("span",{className:"flex items-center justify-center",children:["Momentum",(0,l.jsx)(g.Z,{scoreType:"momentum",className:"ml-1"}),(0,l.jsx)(ec,{field:"momentumScore",active:"momentumScore"===H,direction:z})]})}),(0,l.jsx)("th",{onClick:()=>ei("valueScore"),className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-4 py-3 text-center cursor-pointer hover:bg-slate-100 transition-colors hidden xl:table-cell border-b border-slate-200",children:(0,l.jsxs)("span",{className:"flex items-center justify-center",children:["Value",(0,l.jsx)(g.Z,{scoreType:"value",className:"ml-1"}),(0,l.jsx)(ec,{field:"valueScore",active:"valueScore"===H,direction:z})]})}),(0,l.jsx)("th",{className:"text-xs font-semibold uppercase tracking-wide text-slate-600 px-3 py-3 text-center w-[80px] border-b border-slate-200"})]})}),(0,l.jsxs)("tbody",{children:[ew.map((e,t)=>{let s=!X&&ef+t>=10,r={color:"transparent",textShadow:"0 0 8px rgba(0,0,0,0.15)",userSelect:"none"};return(0,l.jsxs)("tr",{className:"border-t border-slate-100 ".concat(s?"":"hover:bg-blue-50/50"," transition-colors ").concat(t%2==1?"bg-slate-50/30":"bg-white"),style:{cursor:s?"pointer":void 0},onClick:s?()=>eo("All Funds Holding ".concat(ed)):void 0,children:[(0,l.jsxs)("td",{className:"px-4 py-2.5",children:[(0,l.jsx)("a",{href:W(e),className:"text-sm font-semibold no-underline hover:underline",style:{color:"#0067B8"},children:e.etf_symbol}),(0,l.jsx)("div",{className:"text-[13px] text-gray-500 truncate max-w-[200px]",children:e.etf_name})]}),(0,l.jsx)("td",{className:"px-4 py-2.5 text-right text-sm font-semibold tabular-nums",style:s?r:{color:"#059669"},children:s?(0,l.jsx)(o.Xe,{what:"Weights"}):T(e.weight,2)}),(0,l.jsx)("td",{className:"px-4 py-2.5 text-right text-sm text-gray-600 tabular-nums hidden sm:table-cell",style:s?r:void 0,children:s?(0,l.jsx)(o.Xe,{what:"Market value"}):A(e.market_value)}),(0,l.jsx)("td",{className:"px-3 py-2.5 text-sm text-gray-600 hidden lg:table-cell",children:s?(0,l.jsx)(o.Xe,{what:"Category"}):e.global_category?(0,l.jsx)("span",{className:"inline-block px-2 py-0.5 text-xs font-medium bg-slate-100 text-gray-700 rounded truncate max-w-[180px]",title:e.global_category,children:e.global_category}):(0,l.jsx)("span",{className:"text-gray-400",children:"-"})}),(0,l.jsx)("td",{className:"px-3 py-2.5 hidden xl:table-cell",children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:s?(0,l.jsx)("span",{className:"inline-block w-8 h-5 rounded",style:{...r,background:"#f1f5f9"},children:"ââ"}):(0,l.jsx)(f.Z,{type:"buy",score:P(e.etf_symbol,"buy"),label:"",isPremiumUser:X,onLockedClick:()=>eo("Buy Score"),size:"small"})})}),(0,l.jsx)("td",{className:"px-3 py-2.5 hidden xl:table-cell",children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:s?(0,l.jsx)("span",{className:"inline-block w-8 h-5 rounded",style:{...r,background:"#f1f5f9"},children:"ââ"}):(0,l.jsx)(f.Z,{type:"momentum",score:P(e.etf_symbol,"momentum"),label:"",isPremiumUser:X,onLockedClick:()=>eo("Momentum Score"),size:"small"})})}),(0,l.jsx)("td",{className:"px-3 py-2.5 hidden xl:table-cell",children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:s?(0,l.jsx)("span",{className:"inline-block w-8 h-5 rounded",style:{...r,background:"#f1f5f9"},children:"ââ"}):(0,l.jsx)(f.Z,{type:"value",score:P(e.etf_symbol,"value"),label:"",isPremiumUser:X,onLockedClick:()=>eo("Value Score"),size:"small"})})}),(0,l.jsx)("td",{className:"px-3 py-2.5 text-center",children:s?(0,l.jsx)("span",{className:"inline-block py-2 px-4 text-[13px] font-medium rounded-lg",style:{...r,background:"#e2e8f0"},children:"View"}):(0,l.jsx)("a",{href:W(e),className:"inline-block py-2 px-4 text-[13px] font-medium text-white rounded-lg no-underline transition-all hover:scale-105",style:{backgroundColor:"#0067B8"},children:"View"})})]},e.etf_symbol)}),!X&&ew.length>10&&(0,l.jsx)(o.vB,{colSpan:8,ctx:{gateId:"with_rowteaser",symbol
1:ed,count:Math.max((eh.totalEtfs||ew.length)-10,0),noun:"funds holding this stock"},headline:"See all ".concat(eh.totalEtfs," funds holding ").concat(ed),sub:"Every ETF and mutual fund with its exact weight, market value and category.",onClick:()=>eo("All Funds Holding ".concat(ed))})]})]})}),(0,l.jsx)(N.vB,{basePath:C,symbol:ed,page:eu,totalPages:ep,totalRows:eh.totalEtfs,noun:"Funds"}),(0,l.jsx)("div",{className:"py-3 px-4 border-t border-slate-100",children:(0,l.jsx)(g.U,{})})]}),(0,l.jsxs)("div",{className:"bg-white border border-slate-200 rounded-lg p-4 mb-4",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,l.jsxs)(d(),{href:"/etfs/overlap-calculator?etf1=".concat(ey.etf_symbol,"&etf2=").concat(ej),className:"flex items-center gap-3 p-3 rounded-lg border border-slate-100 hover:border-[#0067B8] hover:bg-blue-50/50 transition-all no-underline",children:[(0,l.jsx)("div",{className:"w-10 h-10 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-[#0067B8]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-semibold text-gray-900",children:"Compare Top Funds"}),(0,l.jsxs)("div",{className:"text-xs text-gray-500",children:[ey.etf_symbol," vs ",(null==ev?void 0:ev.etf_symbol)||"others"]})]})]}),(0,l.jsxs)(d(),{href:"/etfs/tax-harvesting?symbol=".concat(ey.etf_symbol),className:"flex items-center gap-3 p-3 rounded-lg border border-slate-100 hover:border-[#0067B8] hover:bg-blue-50/50 transition-all no-underline",children:[(0,l.jsx)("div",{className:"w-10 h-10 rounded-lg bg-green-50 flex items-center justify-center flex-shrink-0",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-semibold text-gray-900",children:"Tax-Loss Harvest"}),(0,l.jsxs)("div",{className:"text-xs text-gray-500",children:["Find alternatives to ",ey.etf_symbol]})]})]}),(0,l.jsxs)(d(),{href:"/etfs/screener",className:"flex items-center gap-3 p-3 rounded-lg border border-slate-100 hover:border-[#0067B8] hover:bg-blue-50/50 transition-all no-underline",children:[(0,l.jsx)("div",{className:"w-10 h-10 rounded-lg bg-purple-50 flex items-center justify-center flex-shrink-0",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-semibold text-gray-900",children:"Advanced Screener"}),(0,l.jsx)("div",{className:"text-xs text-gray-500",children:"Filter by 50+ criteria"})]})]}),(0,l.jsxs)(d(),{href:W(ey),className:"flex items-center gap-3 p-3 rounded-lg border border-slate-100 hover:border-[#0067B8] hover:bg-blue-50/50 transition-all no-underline",children:[(0,l.jsx)("div",{className:"w-10 h-10 rounded-lg bg-orange-50 flex items-center justify-center flex-shrink-0",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"})})}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"text-sm font-semibold text-gray-900",children:["View ",ey.etf_symbol]}),(0,l.jsxs)("div",{className:"text-xs text-gray-500",children:["Highest ",ed," exposure"]})]})]})]}),(0,l.jsx)("div",{className:"mt-4 pt-4 border-t border-slate-100",children:(0,l.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,l.jsx)("span",{className:"text-sm text-gray-500",children:"Find funds holding:"}),["AAPL","MSFT","AMZN","META","NVDA","TSLA"].filter(e=>e!==ed).slice(0,5).map(e=>(0,l.jsx)(d(),{href:"/etfs/with/".concat(e.toLowerCase()),className:"px-3 py-1 text-sm font-medium rounded-full bg-slate-100 text-gray-700 hover:bg-[#0067B8] hover:text-white transition-all no-underline",children:e},e)),(0,l.jsx)(d(),{href:"/etfs/with",className:"px-3 py-1 text-sm font-medium text-[#0067B8] hover:underline no-underline",children:"More â"})]})})]}),(0,l.jsx)("div",{className:"lg:hidden mb-3",children:(0,l.jsx)(u.IW,{variant:"compact"})})]}),(0,l.jsx)(p.Z,{show:$,onClose:()=>O(!1),featureName:D}),(0,l.jsx)(y.l,{show:K,onClose:()=>{I(!1),es()},onSuccess:()=>{J(),I(!1),q||ea()},storageKey:"etf_email_captured",interest:"etfs",toolName:"ETF Ticker Exposure",headline:q?"Save your analysis?":"Download your fund list",description:q?"Download your ".concat(e.ticker," fund exposure data before viewing ").concat(q.toUpperCase(),"."):"Export all ".concat((null===(t=e.stats)||void 0===t?void 0:t.totalEtfs)||0," funds holding ").concat(e.ticker||"this stock"," as a CSV file."),buttonText:q?"Get CSV & Continue":"Get CSV Export"})]})]})}}},function(e){e.O(0,[10451,38420,3402,75803,40566,67196,45108,66714,92888,49774,40179],function(){return e(e.s=96858)}),_N_E=e.O()}]);
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.