PageSourceSearch

https://core16etf.com/_nuxt/BO1bpflP.js

js core16etf.com collected 2026-10-05 07:02:48 UTC 4,048 bytes, 1 lines download raw bytes

1import w from"./o17oftnj.js";import{_ as I,g as j,o as p,c as m,a as s,a5 as L,a9 as B,i as d,aa as P,F as N,r as y,a1 as W,n as q,d as A,t as l,b as z,w as E,l as C,E as f,a2 as M}from"./B7A9RFpj.js";import"./SbAe6jDn.js";import"./B8IKnCnP.js";const O={class:"funds-table-wrapper"},R={class:"funds-table"},Q={class:"funds-search"},U={class:"funds-search__input"},Y={class:"funds-table__responsive"},G=["aria-label","onClick"],H={"data-label":"Ticker"},J={"data-label":"Fund Name"},K={"data-label":"Inception"},X={"data-label":"Adviser*"},Z={"data-label":"Distributor"},ee={"data-label":"Asset Class"},te={"data-label":"Theme"},se={"data-label":"Strategy"},ae={class:"is-numeric","data-label":"NAV"},ne={class:"is-numeric","data-label":"NAV Change"},le={class:"is-numeric","data-label":"Net Assets"},ie={__name:"FundsComponent",props:{pageComponent:{type:Object,required:!0}},setup(T){const k=T,S=C(()=>M(k.pageComponent)),c=f(""),_=[{label:"Ticker",field:"Ticker",width:"75px"},{label:"Fund Name",field:"Name",width:"200px"},{label:"Inception",field:"Inception",type:"date"},{label:"Adviser*",field:"Advisor"},{label:"Distributor",field:"Distributor"},{label:"Asset Class",field:"Asset Class"},{label:"Theme",field:"Theme"},{label:"Strategy",field:"Passive",width:"100px"},{label:"NAV",field:"NAV",type:"decimal",width:"60px"},{label:"NAV Change",field:"NAV Change",type:"decimal",width:"100px"},{label:"Net Assets",field:"Total Net Assets",type:"decimal"}],h=f([]),r=f("Ticker"),o=f("asc");j(()=>{h.value=S.value.finData||[]});const V=C(()=>{let t=h.value;if(c.value){const a=c.value.toLowerCase();t=t.filter(i=>Object.values(i).some(e=>String(e).toLowerCase().includes(a)))}return t=[...t].sort((a,i)=>{const e=_.find(({field:$})=>$===r.value),n=b(a[r.value],e?.type),u=b(i[r.value],e?.type),g=typeof n=="number"&&typeof u=="number"?n-u:String(n).localeCompare(String(u));return o.value==="asc"?g:-g}),t});function b(t,a){if(t==null)return"";if(a==="decimal")return Number(t);if(a==="date"){const[i,e,n]=String(t).split("/").map(Number),u=n<100?2e3+n:n;return new Date(u,i-1,e).getTime()}return t}function x(t){r.value===t?o.value=o.value==="asc"?"desc":"asc":(r.value=t,o.value="asc")}function F(t){if(!t&&t!==0)return"";var a=".",i=",",e=Number(t).toFixed(2),n=e.split(a);return n[1]||(n[1]="00"),e=n[0].split("").reverse().join(""),e=e.replace(/(\d{3}(?!$))/g,"$1"+i),n[0]=e.split("").reverse().join(""),n.join(a)}function v(t){const a=parseFloat(t);return isNaN(a)?"0.00":a.toFixed(2)}function D(t){if(!t)return"";const a=String(t).split("/");return a.length!==3||a[2].length!==2?t:`${a[0]}/${a[1]}/20${a[2]}`}return(t,a)=>{const i=w;return p(),m("div",O,[s("div",R,[s("div",Q,[s("div",U,[a[1]||(a[1]=s("span",{class:"funds-search__icon","aria-hidden":"true"},[s("span",{class:"magnifying-glass"})],-1)),L(s("input",{"onUpdate:modelValue":a[0]||(a[0]=e=>P(c)?c.value=e:null),type:"search",class:"funds-search__control",placeholder:"Search Funds","aria-label":"Search Funds"},null,512),[[B,d(c)]])])]),s("div",Y,[s("table",null,[s("thead",null,[s("tr",null,[(p(),m(N,null,y(_,e=>s("th",{key:e.field,class:q({"is-numeric":e.type==="decimal","is-sorted-asc":d(r)===e.field&&d(o)==="asc","is-sorted-desc":d(r)===e.field&&d(o)==="desc"}),style:W(e.width?{minWidth:e.width,maxWidth:e.width,width:e.width}:void 0)},[A(l(e.label)+" ",1),s("button",{type:"button","aria-label":`Sort by ${e.label}`,onClick:n=>x(e.field)},null,8,G)],6)),64))])]),s("tbody",null,[(p(!0),m(N,null,y(d(V),(e,n)=>(p(),m("tr",{key:e.Ticker||n},[s("td",H,[z(i,{url:`${e.Website}`,target:"_blank",class:"ticker-link"},{default:E(()=>[A(l(e.Ticker),1)]),_:2},1032,["url"])]),s("td",J,l(e.Name),1),s("td",K,l(D(e.Inception)),1),s("td",X,l(e.Advisor),1),s("td",Z,l(e.Distributor),1),s("td",ee,l(e["Asset Class"]),1),s("td",te,l(e.Theme),1),s("td",se,l(e.Passive!=1?"Active":"Passive"),1),s("td",ae,l(v(e.NAV)),1),s("td",ne,l(v(e["NAV Change"])),1),s("td",le,l(F(e["Total Net Assets"])),1)]))),128))])])])])])}}},ue=I(ie,[["__scopeId","data-v-ea4ef84c"]]);export{ue as default};

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.