PageSourceSearch

https://www.franklintempleton.com.hk/fund-compare.0931ac9788c82991cf7c.js

js franklintempleton.com.hk collected 2026-09-26 07:51:48 UTC 76,228 bytes, 2 lines download raw bytes

1(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["fund-compare"],{19701:(I,k,f)=>{"use strict";f.r(k),f.d(k,{FundCompareModule:()=>ze});var D=f(54364),y=f(71556),E=f(5489),C=f(92612),A=f(68411),u=f(79441),o=f(22663),e=f(2316),r=f(3138),P=f(34197),T=f.n(P),V=f(10250),h=f.n(V),g=f(26310),l=f(44022),S=f(70553),F=f(10874),x=f(99241),L=f(14440),M=f(90267),U=f.n(M);const j={selectedPoductType:g.WX.MF,fundInfo:[null,null,null,null],fundSummaryData:[{key:"SHARE_CLASS",label:"products.fund-cmp-share-class",isInfoItem:!1,dataPoints:[]},{key:"SYMBOL",label:"products.fund-cmp-symbol",isInfoItem:!1,dataPoints:[]},{key:"FUND_NUMBER",label:"products.fund-cmp-fund-number",isInfoItem:!1,dataPoints:[]},{key:"INVESTMENT_CATEGORY",label:"products.fund-cmp-investment-category",isInfoItem:!1,dataPoints:[]},{key:"CUSIP",label:"products.fund-cmp-cusip",isInfoItem:!1,dataPoints:[]},{key:"YTD_TOTAL_RETURN_AT_NAV",label:"products.fund-cmp-ytd-total-return-at-nav",caveatPlacement:"Fund Compare:FundCompareYtdTotRetAtNav",isInfoItem:!1,dataPoints:[]},{key:"DISTRIBUTION_RATE_AT_NAV",label:"products.fund-cmp-distribution-rate-at-nav",caveatPlacement:"Fund Compare:FundCompareDistRateAtNav",isInfoItem:!1,dataPoints:[]},{key:"30_DAY_STANDARDIZED_YIELD",label:"products.fund-cmp-30-day-standardized-yield",caveatPlacement:"Fund Compare:FundCompare30DayStdYield",isInfoItem:!0,dataPoints:[]},{key:"STD_DEVIATION_3_YRS",label:"products.fund-cmp-std-deviation-3-yrs",isInfoItem:!1,dataPoints:[]},{key:"TOTAL_ASSETS_OF_FUND",label:"products.fund-cmp-total-assets-of-fund",caveatPlacement:"Fund Compare:FundCompareTotalAssetsFund",isInfoItem:!1,dataPoints:[]},{key:"NET_ASSET_BY_SHARE_CLASS",label:"products.fund-cmp-net-asset-by-share-class",isInfoItem:!1,dataPoints:[]},{key:"ASSET_ALLOCATION",label:"products.fund-cmp-asset_allocation",caveatPlacement:"Fund Compare:FundCompareAssetAllocation",isInfoItem:!0,dataPoints:[]},{key:"GROSS_EXPENSE_RATIO",label:"products.fund-cmp-gross-expense-ratio",caveatPlacement:"Fund Compare:FundCompareGrossExpenseRatio",isInfoItem:!1,dataPoints:[]},{key:"NET_EXPENSE_RATIO",label:"products.fund-cmp-net-expense-ratio",caveatPlacement:"Fund Compare:FundCompareNetExpenseRatio",isInfoItem:!1,dataPoints:[]},{key:"12B-1_FEE",label:"products.fund-cmp-12b-1-fee",isInfoItem:!1,dataPoints:[]},{key:"MAX_INITIAL_SALES_CHARGE",label:"products.fund-cmp-max-initial-sales-charge",isInfoItem:!1,dataPoints:[]},{key:"CDSC",label:"products.fund-cmp-cdsc",isInfoItem:!1,dataPoints:[]}],fundPerformanceAsOfDates:[],fundPerformanceData:[],fundCardData:[],periodEnds:[],periodEnd:null,isStateDefault:!0},K={monthEnd:[{key:"ONE_YEAR",years:"products.fund-cmp-oneYear",dataPoints:[]},{key:"THREE_YEAR",years:"products.fund-cmp-threeYear",dataPoints:[]},{key:"FIVE_YEAR",years:"products.fund-cmp-fiveYear",dataPoints:[]},{key:"TEN_YEAR",years:"products.fund-cmp-tenYear",dataPoints:[]},{key:"SINCE_INCEPTION",years:"products.fund-cmp-sinceInception",dataPoints:[]}],quarterEnd:[{key:"ONE_YEAR",years:"products.fund-cmp-oneYear",dataPoints:[]},{key:"THREE_YEAR",years:"products.fund-cmp-threeYear",dataPoints:[]},{key:"FIVE_YEAR",years:"products.fund-cmp-fiveYear",dataPoints:[]},{key:"TEN_YEAR",years:"products.fund-cmp-tenYear",dataPoints:[]},{key:"SINCE_INCEPTION",years:"products.fund-cmp-sinceInception",dataPoints:[]}]},ae={id:null,fundName:null,fundSummary:[{key:"SHARE_CLASS",label:"products.fund-cmp-share-class",highlightLevel:"secondary",size:"compact"},{key:"SYMBOL",label:"products.fund-cmp-symbol",highlightLevel:"secondary",size:"compact"},{key:"FUND_NUMBER",label:"products.fund-cmp-fund-number",highlightLevel:"secondary",size:"compact"},{key:"INVESTMENT_CATEGORY",label:"products.fund-cmp-investment-category",highlightLevel:"secondary",size:"compact"},{key:"CUSIP",label:"products.fund-cmp-cusip",highlightLevel:"secondary",size:"compact"},{key:"YTD_TOTAL_RETURN_AT_NAV",label:"products.fund-cmp-ytd-total-return-at-nav",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompareYtdTotRetAtNav"},{key:"DISTRIBUTION_RATE_AT_NAV",label:"products.fund-cmp-distribution-rate-at-nav",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompareDistRateAtNav"},{key:"30_DAY_STANDARDIZED_YIELD",label:"products.fund-cmp-30-day-standardized-yield",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompare30DayStdYield"},{key:"30_DAY_STANDARDIZED_YIELD_WITH_WAIVER",label:"products.fund-cmp-with-waiver",highlightLevel:"secondary",size:"compact"},{key:"30_DAY_STANDARDIZED_YIELD_WITHOUT_WAIVER",label:"products.fund-cmp-without-waiver",highlightLevel:"secondary",size:"compact"},{key:"STD_DEVIATION_3_YRS",label:"products.fund-cmp-std-deviation-3-yrs",highlightLevel:"secondary",size:"compact"},{key:"TOTAL_ASSETS_OF_FUND",label:"products.fund-cmp-total-assets-of-fund",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompareTotalAssetsFund"},{key:"NET_ASSET_BY_SHARE_CLASS",label:"products.fund-cmp-net-asset-by-share-class",highlightLevel:"secondary",size:"compact"},{key:"ASSET_ALLOCATION",label:"products.fund-cmp-asset_allocation",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompareAssetAllocation"},{key:"GROSS_EXPENSE_RATIO",label:"products.fund-cmp-gross-expense-ratio",highlightLevel:"secondary",caveatPlacement:"Fund Compare:FundCompareGrossExpenseRatio",size:"compact"},{key:"NET_EXPENSE_RATIO",label:"products.fund-cmp-net-expense-ratio",highlightLevel:"secondary",size:"compact"},{key:"12B-1_FEE",label:"products.fund-cmp-12b-1-fee",highlightLevel:"secondary",size:"compact",caveatPlacement:"Fund Compare:FundCompareNetExpenseRatio"},{key:"MAX_INITIAL_SALES_CHARGE",label:"products.fund-cmp-max-initial-sales-charge",highlightLevel:"secondary",size:"compact"},{key:"CDSC",label:"products.fund-cmp-cdsc",highlightLevel:"secondary",size:"compact"}],fundPerformance:[]};var w=f(32540),_=f(41896),ne=f(59278),X=f(27513),te=f(92534),ie=f(55311);const se=A.Y.getLogger("FundCompareService");let ee=(()=>{class t{constructor(a,n,s,d,m,v){this.fundDataService=a,this.siteConfigService=n,this.translateService=s,this.mapperFactory=d,this.fundFilterService=m,this.profileService=v,this.holdingDataReturns={},this.performanceAsOfDates={monthEnd:[],quarterEnd:[]},this.SEARCH_KEYWORD=new w.Zm("SEARCH_KEYWORD",(i,N)=>i.filter(b=>!!N&&N.toUpperCase().indexOf(b.toUpperCase())>-1).length>0,["fundName","shareClass.identifiers.fundId","shareClass.identifiers.shareClassCode","shareClass.identifiers.ticker","shareClass.identifiers.isin","shareClass.identifiers.sedol","shareClass.identifiers.bloomberg","shareClass.identifiers.taid","shareClass.identifiers.cusip","shareClass.identifiers.reuterSystem","shareClass.identifiers.mexId","shareClass.identifiers.apir","shareClass.identifiers.arsn","shareClass.identifiers.anbimaCode","shareClass.identifiers.vln","shareClass.identifiers.intradayNav","shareClass.identifiers.rfi","shareClass.identifiers.adm","shareClass.identifiers.dsc","shareClass.identifiers.iress","shareClass.identifiers.iressinavCode","shareClass.identifiers.fundbmTicker","shareClass.identifiers.wkn","shareClass.identifiers.nasdaqxnms","shareClass.identifiers.iopv"]),this.unsubscribe$=new u.xQ,this.fundCompareStateSubject$=new u.xQ,this.filteredProductsSubject$=new u.xQ}get fundCompareState$(){return this.fundCompareStateSubject$.asObservable()}get filteredProducts$(){return this.filteredProductsSubject$.asObservable()}initDefault(){this.fundCompareState.fundSummaryData=j.fundSummaryData,[1,2].forEach(a=>{this.fundCompareState.fundPerformanceData.push(...K.monthEnd),1===a?this.fundCompareState.fundPerformanceData[0]={hasLabel:!0,key:"ONE_YEAR",label:"products.fund-cmp-POP-label",subLabel:"products.fund-cmp-POP-sublabel",years:"products.fund-cmp-oneYear",dataPoints:[]}:this.fundCompareState.fundPerformanceData[5]={hasLabel:!0,key:"ONE_YEAR",label:"products.fund-cmp-NET-label",subLabel:"products.fund-cmp-NET-sublabel",years:"products.fund-cmp-oneYear",dataPoints:[]}}),this.setPeriodEnds({productType:"Mutual Funds"}),this.fundCompareStateSubject$.next(this.fundCompareState)}init(){this.fundCompareState=U()(j),this.fundFilterService.getData().subscribe(a=>{this.filteredProductsSubject$.next(a[1].filter(s=>s.productType===this.fundCompareState.selectedPoductType))}),this.fundDataService.register(h(),{productTypemf:S.Q.MUTUAL_FUNDS,productTypeetf:S.Q.ETFS,productType529:S.Q.PORTFOLIOS_529,productTypecef:S.Q.CLOSED_END_FUNDS,productTypemmf:S.Q.MONEY_MARKET_FUNDS,productTypetif:S.Q.TIFs,productTypesma:S.Q.SMAs,productTypeif:S.Q.INTERVAL_FUNDS,countrycode:this.fundDataService.getCountry(),languagecode:this.fundDataService.getLanguage()}).subscribe(a=>{const n=[...a.data.etf,...a.data.mf,...a.data.mmf,...a.data._529,...a.data.cef,...a.data.tif,...a.data.sma,...a.data.if],d=this.mapperFactory.createMapper(F.k4,{config:this.siteConfigService,translateService:this.translateService,includeSoftClosed:!1}
1).toDomain(n);se.debug(d),this.fundFilterService.init(this.getProductsData(d).sort((m,v)=>m.fundName.localeCompare(v.fundName)))}),this.profileService.isLoggedIn$().pipe((0,o.R)(this.unsubscribe$)).subscribe(a=>{this.isLoggedIn=a})}getProductsData(a){return a.map(n=>n.shareClasses.reduce((s,d)=>{if(!d.isSoftClosed&&!d.isSoftLaunch){const{shareClasses:m,...v}=n,i=v,N=this.siteConfigService.getDefaultIdentifierKey(n?.productTaxonomy),b=N in d.identifiers&&(0,_.Uh)(d.identifiers,N)?`${n.fundName} - ${d.identifiers[N]}`:n.fundName;i.fundDisplayName=b,i.shareClass=d,s.push(i)}return s},[])).flat()}findFund(a){const n=new Map;n.set(this.SEARCH_KEYWORD,[a]),this.fundFilterService.filter({selectedFilters:n})}changePerformanceView(a){this.fundCompareState.periodEnd=a,this.fundCompareState.fundPerformanceData=this.getSelectedPerformanceData(a),this.fundCompareState.fundPerformanceAsOfDates=this.getSelectedPerformanceAsOfDates(a),this.fundCompareStateSubject$.next(this.fundCompareState)}changePerformanceViewForCard(a,n){const s=this.fundCompareState.fundCardData[n];s.periodEnd=a,s.performanceAsofDate=s.periodEnd===g.I5.MONTHLY?s.monthEndPerformanceAsofDate:s.quarterEndPerformanceAsofDate,s.fundPerformance=s.periodEnd===g.I5.MONTHLY?s.monthEndFundPerformance:s.quarterEndFundPerformance,this.fundCompareStateSubject$.next(this.fundCompareState)}removeFund(a){this.fundCompareState.fundInfo.splice(a,1),this.fundCompareState.fundInfo.push(null),this.fundCompareState.fundSummaryData.forEach(n=>{n.dataPoints.splice(a,1)}),this.performanceAsOfDates.monthEnd.splice(a,1),this.performanceAsOfDates.quarterEnd.splice(a,1),this.fundCompareState.fundCardData.splice(a,1),Object.values(this.holdingDataReturns).forEach(n=>
1{n.monthEnd.forEach(s=>{s.dataPoints.splice(a,1)}),n.quarterEnd.forEach(s=>{s.dataPoints.splice(a,1)})}),this.fundCompareState.fundPerformanceData=this.getSelectedPerformanceData(this.fundCompareState.periodEnd),this.fundCompareState.fundPerformanceAsOfDates=this.getSelectedPerformanceAsOfDates(this.fundCompareState.periodEnd),this.fundCompareStateSubject$.next(this.fundCompareState)}addFund(a,n){this.fundDataService.register(T(),{fundId:a,shareClassCode:n,countryCode:this.fundDataService.getCountry(),languageCode:this.fundDataService.getLanguage()}).subscribe(s=>{const d=this.getProduct(s),m=this.getSummaryDetails(s,a,d),v=this.getAllocations(s);if(d.shareClasses.length>0&&!d.shareClasses[0].isSoftClosed&&!d.shareClasses[0].isSoftLaunch){const i=this.fundCompareState.fundInfo.findIndex(N=>!N);if(-1===i)return;this.populate(d,m,v,i),this.populateCardData(d,m,v),this.fundCompareState.isStateDefault=!1,this.fundCompareStateSubject$.next(this.fundCompareState)}})}getProduct(a){const n=a?.data?.Overview||null;return n?this.mapperFactory.createMapper(F.V5,{config:this.siteConfigService,translateService:this.translateService}).toDomain(n):null}getSummaryDetails(a,n,s){const d=a?.data?.Summary||null;return d?this.mapperFactory.createMapper(x.d,{config:this.siteConfigService,translateService:this.translateService,fundId:n,taxonomy:s.productTaxonomy}).toDomain(d):null}getAllocations(a){const n=a?.data?.Portfolio||null;return this.mapperFactory.createMapper(L.a1,{config:this.siteConfigService,translateService:this.translateService}).toDomain(n.portfolio)}populate(a,n,s,d){this.fundCompareState.fundInfo.splice(d,1,{name:a.fundName,link:a.shareClasses[0].link,producType:a.productType});const m=this.getReportDate(n),v=this.siteConfigService.isSiteInternational()?"products.updated-MONTHLY":"products.updated-ANNUALLY";this.fundCompareState.fundSummaryData.forEach(i=>{switch(i.key){case"SHARE_CLASS":i.dataPoints.push({label:a.shareClasses[0].identifiers.shareClassCode===l.Ie||a.shareClasses[0].identifiers.shareClassCode===l.NA?l.Sk:a.shareClasses[0].shareClassName});break;case"SYMBOL":const N=this.siteConfigService.getDefaultIdentifierKey(a?.productTaxonomy);i.dataPoints.push({label:(N in a.shareClasses[0].identifiers?a.shareClasses[0].identifiers[N]:l.Sk)||l.Sk});break;case"FUND_NUMBER":const Q=n.find(c=>"TA_ID"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:Q?.elementValue||l.Sk});break;case"INVESTMENT_CATEGORY":i.dataPoints.push({label:a.investmentCategory||l.Sk});break;case"CUSIP":i.dataPoints.push({label:a.shareClasses[0].identifiers.cusip||l.Sk});break;case"YTD_TOTAL_RETURN_AT_NAV":i.dataPoints.push({label:a.shareClasses[0].nav.navYearToDateReturn||l.Sk,subLabel:a.shareClasses[0].nav.navAsOfDate?`${this.translateService.instant("products.as-of")} ${a.shareClasses[0].nav.navAsOfDate}`:""});break;case"DISTRIBUTION_RATE_AT_NAV":i.dataPoints.push({label:a.shareClasses[0].nav.distributionRateAtNAV||l.Sk});break;case"30_DAY_STANDARDIZED_YIELD":i.dataPoints.push({infoData:[{label:"",valueSmallTheme:"light",valueSmallText:a.shareClasses[0].yields?.stdYieldThirtyDayAsofDate?`${this.translateService.instant("products.as-of")} ${a.shareClasses[0].yields.stdYieldThirtyDayAsofDate}`:null,values:[{label:this.translateService.instant("products.fund-cmp-with-waiver"),val:a.shareClasses[0].yields?.secYieldThrtyDay||l.Mq,size:"compact"},{label:this.translateService.instant("products.fund-cmp-without-waiver"),val:a.shareClasses[0].yields?.secYieldThrtyDayWoWaiver||l.Mq,size:"compact"}]}]});break;case"STD_DEVIATION_3_YRS":const O=a.shareClasses[0].riskStatsSummary.find(c=>"STANDARD_DEVIATION_FUND"===c.elementNameStd&&(0,_.Uh)(c,"elementValueFor3Year"));i.dataPoints.push({label:O?.elementValueFor3Year||l.Sk,subLabel:O&&(0,_.Uh)(O,"asOfDate")?`${this.translateService.instant("products.as-of")} ${O.asOfDate}`:""});break;case"TOTAL_ASSETS_OF_FUND":const Z=n.find(c=>"TOTAL_NET_ASSETS"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:Z?.elementValue||l.Sk,subLabel:Z&&(0,_.Uh)(Z,"asOfDate")?`${this.translateService.instant("products.as-of")} ${Z.asOfDate}`:""});break;case"NET_ASSET_BY_SHARE_CLASS":const R=n.find(c=>"CLASS_AUM_BASE"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:R?.elementValue||l.Sk,subLabel:R&&(0,_.Uh)(R,"asOfDate")?`${this.translateService.instant("products.as-of")} ${R.asOfDate}`:""});break;case"ASSET_ALLOCATION":const $=[];let Y=null;s?.forEach(c=>{Y=Y||c.asOfDate,c?.data.forEach(q=>{$.push({label:q.label,val:q.breakdown,size:"compact"})})}),i.dataPoints.push({label:Y?`${this.translateService.instant("products.fund-cmp-asset-allocation-as-of")} ${Y}`:"",infoData:$});break;case"GROSS_EXPENSE_RATIO":const J=n.find(c=>
1"EXPRATIOWITHOUTWVR_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:J?.elementValue||l.Sk,subLabel:m?`${this.translateService.instant("products.as-of")} ${m}`:"",subLabel1:m?this.translateService.instant(v):""});break;case"NET_EXPENSE_RATIO":const H=n.find(c=>"EXPRATIOWITHWVR_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:H?.elementValue||l.Sk,subLabel:m?`${this.translateService.instant("products.as-of")} ${m}`:"",subLabel1:m?this.translateService.instant(v):""});break;case"12B-1_FEE":const W=n.find(c=>"DISTRIBUTION_CHARGE_US"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:W?.elementValue||l.Sk});break;case"MAX_INITIAL_SALES_CHARGE":const z=n.find(c=>"Maximum_Initial_Charge_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:z?.elementValue||l.Sk});break;case"CDSC":const G=n.find(c=>"CDSC"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.dataPoints.push({label:G?.elementValue||l.Sk})}}),this.populatePerformanceData(a,d)}getReportDate(a){const n=a.find(d=>"REPORT_DATE"===d.elementNameStd);return n&&(0,_.Uh)(n,"elementValue")?n.elementValue:null}populatePerformanceData(a,n){const s=a.shareClasses[0].performance?.monthEnd,d=a.shareClasses[0].performance?.quarterEnd;this.populatePeriodEndPerformance(s,n,a,d),this.populatePerformanceDates(s,d),this.setPeriodEnds(a),this.fundCompareState.fundPerformanceData=this.getSelectedPerformanceData(this.fundCompareState.periodEnd),this.fundCompareState.fundPerformanceAsOfDates=this.getSelectedPerformanceAsOfDates(this.fundCompareState.periodEnd)}populatePeriodEndPerformance(a,n,s,d){Object.values(this.holdingDataReturns).forEach(m=>
1m.monthEnd.forEach(v=>v.dataPoints[n]=null)),a&&a.length>0&&a.forEach(m=>{const v=this.getPerformanceData(m);this.addFundPerformanceData(v.monthEnd,m,n,s)}),Object.values(this.holdingDataReturns).forEach(m=>m.quarterEnd.forEach(v=>v.dataPoints[n]=null)),d&&d.length>0&&d.forEach(m=>{const v=this.getPerformanceData(m);this.addFundPerformanceData(v.quarterEnd,m,n,s)})}populatePerformanceDates(a,n){this.performanceAsOfDates.monthEnd.push(a?.find(s=>s.performanceAsOfDate)?.performanceAsOfDate),this.performanceAsOfDates.quarterEnd.push(n?.find(s=>s.performanceAsOfDate)?.performanceAsOfDate)}setPeriodEnds(a){this.fundCompareState.periodEnds=this.getPeriodEndsFromConfig(a),(!this.fundCompareState.periodEnd||!this.fundCompareState.periodEnds.find(n=>n===this.fundCompareState.periodEnd))&&(this.fundCompareState.periodEnd=this.fundCompareState.periodEnds[0])}getPeriodEndsFromConfig(a){const n=this.siteConfigService.getPeriodEnds(a.productType,g.su.AVG_ANNUAL),s=[];return n.forEach(d=>s.push(d)),0===s.length&&s.push(g.I5.MONTHLY),s}getPerformanceData(a){let n=null;const s=this.holdingDataReturns;return a.calcTypeStd in s?n=s[a.calcTypeStd]:(n=U()(K),s[a.calcTypeStd]=n),n}addFundPerformanceData(a,n,s,d){this.defaultCalcType=this.siteConfigService.getDefaultCalcType(d.productType);const v=this.siteConfigService.mustHidePerformanceData(d.shareClasses[0].performanceInceptionDate,this.isLoggedIn)?l.Sk:null;a.forEach(i=>{switch(i.key){case"ONE_YEAR":i.label=`products.fund-cmp-${n.calcTypeStd}-label`,i.subLabel=`products.fund-cmp-${n.calcTypeStd}-sublabel`,i.hasLabel=!0,i.dataPoints[s]={value:v||n.avgAnnual1YearReturn||l.Sk};break;case"THREE_YEAR":i.dataPoints[s]={value:v||n.avgAnnual3YearReturn||l.Sk};break;case"FIVE_YEAR":i.dataPoints[s]={value:v||n.avgAnnual5YearReturn||l.Sk};break;case"TEN_YEAR":i.dataPoints[s]={value:v||n.avgAnnual10YearReturn||l.Sk};break;case"SINCE_INCEPTION":i.dataPoints[s]={value:v||n.avgAnnualSinceInceptionReturn||l.Sk,label:d.shareClasses[0].performanceInceptionDate}}})}getSelectedPerformanceData(a){let n=[];if(this.defaultCalcType in this.holdingDataReturns){const d=this.holdingDataReturns[this.defaultCalcType],m=a===g.I5.MONTHLY?d.monthEnd:d.quarterEnd;n=[...n,...m]}return Object.keys(this.holdingDataReturns).forEach(d=>{if(d!==this.defaultCalcType){const m=this.holdingDataReturns[d],v=a===g.I5.MONTHLY?m.monthEnd:m.quarterEnd;n=[...n,...v]}}),n}getSelectedPerformanceAsOfDates(a){return a===g.I5.MONTHLY?this.performanceAsOfDates.monthEnd:this.performanceAsOfDates.quarterEnd}populateCardData(a,n,s){const d=U()(ae);d.id=this.fundCompareState.fundCardData.length+1,d.fundName=a.fundName,d.fundLink=a.shareClasses[0].link;const m=this.getReportDate(n),v=this.siteConfigService.isSiteInternational()?this.translateService.instant("products.updated-MONTHLY"):this.translateService.instant("products.updated-ANNUALLY");
1d.fundSummary.forEach(i=>{switch(i.key){case"SHARE_CLASS":i.val=a.shareClasses[0].identifiers.shareClassCode===l.Ie||a.shareClasses[0].identifiers.shareClassCode===l.NA?l.Sk:a.shareClasses[0].shareClassName,i.label=this.translateService.instant(i.label);break;case"SYMBOL":const N=this.siteConfigService.getDefaultIdentifierKey(a?.productTaxonomy);i.val=(N in a.shareClasses[0].identifiers?a.shareClasses[0].identifiers[N]:l.Sk)||l.Sk,i.label=this.translateService.instant(i.label);break;case"FUND_NUMBER":const Q=n.find(c=>"TA_ID"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=Q?.elementValue||l.Sk,i.label=this.translateService.instant(i.label);break;case"INVESTMENT_CATEGORY":i.val=a.investmentCategory,i.label=this.translateService.instant(i.label);break;case"CUSIP":i.val=a.shareClasses[0].identifiers.cusip||l.Sk,i.label=this.translateService.instant(i.label);break;case"YTD_TOTAL_RETURN_AT_NAV":i.val=a.shareClasses[0].nav.navYearToDateReturn||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=a.shareClasses[0].nav.navAsOfDate?`${this.translateService.instant("products.as-of")} ${a.shareClasses[0].nav.navAsOfDate}`:"";break;case"DISTRIBUTION_RATE_AT_NAV":i.val=a.shareClasses[0].nav.distributionRateAtNAV||l.Sk,i.label=this.translateService.instant(i.label);break;case"30_DAY_STANDARDIZED_YIELD":i.label=this.translateService.instant(i.label),i.asOfDate=a.shareClasses[0].yields?.stdYieldThirtyDayAsofDate,i.asOfLabel=this.translateService.instant("products.as-of");break;case"30_DAY_STANDARDIZED_YIELD_WITH_WAIVER":i.val=a.shareClasses[0].yields?.secYieldThrtyDay||l.Mq,i.label=this.translateService.instant(i.label);break;case"30_DAY_STANDARDIZED_YIELD_WITHOUT_WAIVER":i.val=a.shareClasses[0].yields?.secYieldThrtyDayWoWaiver||l.Mq,i.label=this.translateService.instant(i.label);break;case"STD_DEVIATION_3_YRS":const O=a.shareClasses[0].riskStatsSummary.find(c=>"STANDARD_DEVIATION_FUND"===c.elementNameStd&&(0,_.Uh)(c,"elementValueFor3Year"));i.val=O?.elementValueFor3Year||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=O&&(0,_.Uh)(O,"asOfDate")?`${this.translateService.instant("products.as-of")} ${O.asOfDate}`:"";break;case"TOTAL_ASSETS_OF_FUND":const Z=n.find(c=>"TOTAL_NET_ASSETS"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=Z?.elementValue||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=Z&&(0,_.Uh)(Z,"asOfDate")?`${this.translateService.instant("products.as-of")} ${Z.asOfDate}`:"";break;case"NET_ASSET_BY_SHARE_CLASS":const R=n.find(c=>"CLASS_AUM_BASE"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=R?.elementValue||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=R&&(0,_.Uh)(R,"asOfDate")?`${this.translateService.instant("products.as-of")} ${R.asOfDate}`:"";break;case"ASSET_ALLOCATION":const $=[];let Y=null;s?.forEach(c=>{Y=Y||c.asOfDate,c?.data.forEach(q=>{$.push({label:q.label,val:q.breakdown,size:"compact"})})}),0===$.length&&(i.val=l.Sk),i.values=$,i.label=this.translateService.instant(i.label),i.asOfDate=Y,i.asOfLabel=this.translateService.instant("products.as-of");break;case"GROSS_EXPENSE_RATIO":const J=n.find(c=>"EXPRATIOWITHOUTWVR_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=J?.elementValue||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=m?v:"",i.valueSmallText1=m?`${this.translateService.instant("products.as-of")} ${m}`:"";break;case"NET_EXPENSE_RATIO":const H=n.find(c=>"EXPRATIOWITHWVR_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=H?.elementValue||l.Sk,i.label=this.translateService.instant(i.label),i.valueSmallTheme="light",i.valueSmallText=m?v:"",i.valueSmallText1=m?`${this.translateService.instant("products.as-of")} ${m}`:"";break;case"12B-1_FEE":const W=n.find(c=>"DISTRIBUTION_CHARGE_US"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=W?.elementValue||l.Sk,i.label=this.translateService.instant(i.label);break;case"MAX_INITIAL_SALES_CHARGE":const z=n.find(c=>"Maximum_Initial_Charge_WEB"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=z?.elementValue||l.Sk,i.label=this.translateService.instant(i.label);break;case"CDSC":const G=n.find(c=>"CDSC"===c.elementNameStd&&(0,_.Uh)(c,"elementValue"));i.val=G?.elementValue||l.Sk,i.label=this.translateService.instant(i.label)}}),this.mergeAssetAllocations(d),this.populatePerformanceCardData(a,d),this.fundCompareState.fundCardData.push(d)}mergeAssetAllocations(a){const n=a.fundSummary.findIndex(d=>"ASSET_ALLOCATION"===d.key),s=a.fundSummary[n].values;
1a.fundSummary[n].values=null,a.fundSummary.splice(n+1,0,...s)}populatePerformanceCardData(a,n){const s=this.siteConfigService.mustHidePerformanceData(a.shareClasses[0].performanceInceptionDate,this.isLoggedIn);n.periodEnds=this.getPeriodEndsFromConfig(a),n.periodEnd=n.periodEnds[0];const d=this.siteConfigService.getDefaultCalcType(a.productType),m=a.shareClasses[0].performance?.monthEnd;this.sortPerformanceDataByDefaultCalcType(d,m),n.monthEndPerformanceAsofDate=m?.find(b=>b.performanceAsOfDate)?.performanceAsOfDate;const v=m?.map(b=>this.getPerformanceCardData(b,s,a));n.monthEndFundPerformance=v;const i=a.shareClasses[0].performance?.quarterEnd;this.sortPerformanceDataByDefaultCalcType(d,i),n.quarterEndPerformanceAsofDate=i?.find(b=>b.performanceAsOfDate)?.performanceAsOfDate;const N=i?.map(b=>this.getPerformanceCardData(b,s,a));n.quarterEndFundPerformance=N,n.performanceAsofDate=n.periodEnd===g.I5.MONTHLY?n.monthEndPerformanceAsofDate:n.quarterEndPerformanceAsofDate,n.fundPerformance=n.periodEnd===g.I5.MONTHLY?n.monthEndFundPerformance:n.quarterEndFundPerformance}getPerformanceCardData(a,n,s){const d=n?l.Sk:null,m={};return m.label=this.translateService.instant(`products.fund-cmp-${a.calcTypeStd}-label`),m.subLabel=this.translateService.instant(`products.fund-cmp-${a.calcTypeStd}-sublabel`),m.returnYrs=[],m.returnYrs.push({label:this.translateService.instant("products.fund-cmp-oneYear"),val:d||a.avgAnnual1YearReturn||l.Sk}),m.returnYrs.push({label:this.translateService.instant("products.fund-cmp-threeYear"),val:d||a.avgAnnual3YearReturn||l.Sk}),m.returnYrs.push({label:this.translateService.instant("products.fund-cmp-fiveYear"),val:d||a.avgAnnual5YearReturn||l.Sk}),m.returnYrs.push({label:this.translateService.instant("products.fund-cmp-tenYear"),val:d||a.avgAnnual10YearReturn||l.Sk}),m.returnYrs.push({label:this.translateService.instant("products.fund-cmp-sinceInception"),val:d||a.avgAnnualSinceInceptionReturn||l.Sk,valueSmallText:s.shareClasses[0].performanceInceptionDate,valueSmallTheme:"light"}),m}sortPerformanceDataByDefaultCalcType(a,n){const s=n?.find(d=>d.calcTypeStd===a);s&&(n.splice(n.indexOf(s),1),n.unshift(s))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return t.\u0275fac=function(a){return new(a||t)(e.LFG(S.v),e.LFG(ne.r5),e.LFG(X.s),e.LFG(te.$),e.LFG(w.B6),e.LFG(ie.H3))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var de=f(16320),le=f(66237),re=f(32221);const oe=["searchBox"];function ce(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"div",27),e.TgZ(1,"eds-link-item",28),e.NdJ("click",function(s){e.CHM(a);const d=e.oxw().index;return e.oxw(3).removeFund(d,s)}),e.ALo(2,"translate"),e.qZA(),e._UZ(3,"eds-link-item",29),e.qZA()}if(2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("title",e.lcZ(2,4,"products.fund-cmp-remove-fund"))("hasIcon",!0),e.xp6(2),e.Q6J("title",a.name)("href",a.link)}}function ue(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){return e.CHM(a),e.oxw(4).openSearchModal()}),e.TgZ(1,"span"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.qZA()}2&t&&(e.Q6J("noMargin",!0),e.xp6(2),e.Oqu(e.lcZ(3,2,"products.fund-cmp-add-fund")))}function me(t,p){if(1&t&&(e.TgZ(0,"th",24),e.YNc(1,ce,4,6,"div",25),e.YNc(2,ue,4,4,"button",26),e.qZA()),2&t){const a=p.$implicit;e.xp6(1),e.Q6J("ngIf",a),e.xp6(1),e.Q6J("ngIf",!a)}}function pe(t,p){if(1&t&&e._UZ(0,"eds-footnote",35),2&t){const a=e.oxw().$implicit;e.Q6J("placement",a.caveatPlacement)}}function fe(t,p){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"p"),e._uU(2),e.ALo(3,"ftDashIfEmpty"),e.qZA(),e.TgZ(4,"p",38),e._uU(5),e.qZA(),e.TgZ(6,"p",38),e._uU(7),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,3,a.label)),e.xp6(3),e.Oqu(a.subLabel),e.xp6(2),e.Oqu(a.subLabel1)}}function ge(t,p){1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"ftDashIfEmpty"),e.qZA()),2&t&&(e.xp6(1),e.Oqu(e.lcZ(2,1,null)))}const ve=function(t){return{info:t}};function _e(t,p){if(1&t&&e.GkF(0,40),2&t){const a=p.$implicit;e.oxw(6);const n=e.MAs(15);e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(2,ve,a))}}function he(t,p){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"p",38),e._uU(2),e.qZA(),e.YNc(3,ge,3,3,"span",37),e.YNc(4,_e,1,4,"ng-container",39),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(2),e.Oqu(a.label),e.xp6(1),e.Q6J("ngIf",0===a.infoData.length),e.xp6(1),e.Q6J("ngForOf",a.infoData)}}function ke(t,p){if(1&t&&(e.TgZ(0,"td",36),e.YNc(1,fe,8,5,"div",7),e.YNc(2,he,5,3,"div",37),e.qZA()),2&t){const a=e.oxw().$implicit;e.oxw(3);const n=e.MAs(15);e.xp6(1),e.Q6J("ngIf",!a.isInfoItem)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",a.isInfoItem)}}function Se(t,p){if(1&t&&(e.TgZ(0,"tr",14),e.TgZ(1,"th",31),e._uU(2),e.ALo(3,"translate"),e.YNc(4,pe,1,1,"eds-footnote",32),e.qZA(),e.YNc(5,ke,3,3,"td",33),e._UZ(6,"td",34),e.qZA()),2&t){const a=p.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,3,a.label)," "),e.xp6(2),e.Q6J("ngIf",a.caveatPlacement),e.xp6(1),e.Q6J("ngForOf",a.dataPoints)}}function ye(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"eds-toggle",46),e.NdJ("toggleActive",function(s){return e.CHM(a),e.oxw(4).performanceViewSelected(s)}),e.qZA()}if(2&t){const a=e.oxw(4);e.Q6J("toggleButtons",a.toggleButtons)}}function Ce(t,p){if(1&t&&(e.TgZ(0,"tr",14),e.TgZ(1,"td",41),e.TgZ(2,"div",42),e.TgZ(3,"div",43),e._uU(4),e.ALo(5,"translate"),e._UZ(6,"eds-footnote",44),e.qZA(),e.YNc(7,ye,1,1,"eds-toggle",45),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.oxw(3);e.xp6(4),e.hij(" ",e.lcZ(5,2,"products.fund-cmp-average_annual_total_returns")," "),e.xp6(3),e.Q6J("ngIf",a.toggleButtons.length>1)}}function Ne(t,p){if(1&t&&(e.TgZ(0,"td",47),e.TgZ(1,"p",38),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.qZA()),2&t){const a=p.$implicit;e.xp6(2),e.AsE(" ",a?e.lcZ(3,2,"products.as-of"):""," ",a," ")}}function Te(t,p){if(1&t&&(e.TgZ(0,"th",51),e.TgZ(1,"div",52),e.TgZ(2,"p"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"p",38),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;
1e.xp6(3),e.Oqu(e.lcZ(4,2,a.label)),e.xp6(3),e.Oqu(e.lcZ(7,4,a.subLabel))}}function be(t,p){if(1&t&&(e.TgZ(0,"td",36),e.TgZ(1,"div"),e.TgZ(2,"p"),e._uU(3),e.ALo(4,"ftDashIfEmpty"),e.qZA(),e.TgZ(5,"p",38),e._uU(6),e.qZA(),e.qZA(),e.qZA()),2&t){const a=p.$implicit;e.xp6(3),e.Oqu(e.lcZ(4,2,null==a?null:a.value)),e.xp6(3),e.Oqu(null==a?null:a.label)}}function Ae(t,p){if(1&t&&(e.ynx(0),e.TgZ(1,"tr",14),e.YNc(2,Te,8,6,"th",48),e.TgZ(3,"th",49),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,be,7,4,"td",33),e._UZ(7,"td",50),e.qZA(),e.BQk()),2&t){const a=p.$implicit;e.xp6(2),e.Q6J("ngIf",a.hasLabel),e.xp6(2),e.hij(" ",e.lcZ(5,3,a.years)," "),e.xp6(2),e.Q6J("ngForOf",a.dataPoints)}}function Fe(t,p){if(1&t&&(e.TgZ(0,"table",12),e.TgZ(1,"thead",13),e.TgZ(2,"tr",14),e.TgZ(3,"th",15),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.YNc(7,me,3,2,"th",16),e.qZA(),e.qZA(),e.TgZ(8,"tbody",17),e.YNc(9,Se,7,5,"tr",18),e.YNc(10,Ce,8,4,"tr",19),e.TgZ(11,"tr",14),e._UZ(12,"td",20),e.YNc(13,Ne,4,4,"td",21),e._UZ(14,"td",22),e.qZA(),e.YNc(15,Ae,8,5,"ng-container",23),e.qZA(),e.qZA()),2&t){const a=e.oxw(2);
1e.xp6(5),e.Oqu(e.lcZ(6,6,"products.fund-cmp-fund-name")),e.xp6(2),e.Q6J("ngForOf",a.fundInfo),e.xp6(2),e.Q6J("ngForOf",a.fundSummaryData),e.xp6(1),e.Q6J("ngIf",(null==a.fundPerformanceData?null:a.fundPerformanceData.length)>0),e.xp6(3),e.Q6J("ngForOf",a.fundPerformanceAsOfDates),e.xp6(2),e.Q6J("ngForOf",a.fundPerformanceData)}}function Ee(t,p){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,Fe,16,8,"table",11),e.qZA()),2&t){const a=e.oxw(),n=e.MAs(17);e.xp6(1),e.Q6J("ngIf",a.fundSummaryData.length>0)("ngIfElse",n)}}const B=function(t){return{info:t,view:"mobile"}};function De(t,p){if(1&t&&(e.TgZ(0,"div",64),e.GkF(1,40),e.qZA()),2&t){const a=e.oxw().$implicit;e.oxw(4);const n=e.MAs(15);e.xp6(1),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(2,B,a))}}function Pe(t,p){if(1&t&&(e.ynx(0),e.YNc(1,De,2,4,"div",63),e.BQk()),2&t){const a=p.index;e.xp6(1),e.Q6J("ngIf",a<3)}}function xe(t,p){if(1&t&&(e.TgZ(0,"div",64),e.GkF(1,40),e.qZA()),2&t){const a=e.oxw().$implicit;e.oxw(5);const n=e.MAs(15);e.xp6(1),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(2,B,a))}}function Ie(t,p){if(1&t&&(e.ynx(0),e.YNc(1,xe,2,4,"div",63),e.BQk()),2&t){const a=p.index;e.xp6(1),e.Q6J("ngIf",a>=3)}}function Oe(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"eds-toggle",73),e.NdJ("toggleActive",function(s){e.CHM(a);const d=e.oxw(5);return d.performanceViewForCardSelected(s,d.activeFund)}),e.qZA()}if(2&t){const a=e.oxw(5);e.Q6J("toggleButtons",a.toggleButtonsCards[a.activeFund])}}function Ze(t,p){1&t&&(e.TgZ(0,"div"),e.TgZ(1,"span"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"products.no-performance-data")))}function Re(t,p){if(1&t&&(e.TgZ(0,"div"),e.GkF(1,40),e.qZA()),2&t){const a=p.$implicit;e.oxw(6);const n=e.MAs(15);e.xp6(1),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(2,B,a))}}function Le(t,p){if(1&t&&(e.TgZ(0,"div",74),e.TgZ(1,"div"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.TgZ(4,"p",38),e._uU(5),e.qZA(),e.qZA(),e.TgZ(6,"div",75),e.YNc(7,Re,2,4,"div",23),e.qZA(),e.qZA()),2&t){const a=p.$implicit;e.xp6(2),e.Oqu(a.label),e.xp6(3),e.hij(" ",a.subLabel," "),e.xp6(2),e.Q6J("ngForOf",a.returnYrs)}}function Ye(t,p){if(1&t&&(e.TgZ(0,"eds-expand-collapse",65),e.ALo(1,"translate"),e.ALo(2,"translate"),e.TgZ(3,"div",66),e.YNc(4,Ie,2,1,"ng-container",23),e.qZA(),e.TgZ(5,"div",67),e.TgZ(6,"div"),e.TgZ(7,"p"),e._uU(8),e.ALo(9,"translate"),e._UZ(10,"eds-footnote",44),e.qZA(),e.qZA(),e.TgZ(11,"div",68),e.TgZ(12,"p",38),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.YNc(15,Oe,1,1,"eds-toggle",69),e.YNc(16,Ze,4,3,"div",37),e.qZA(),e.YNc(17,Le,8,3,"div",70),e.TgZ(18,"div",71),e.TgZ(19,"p"),e._uU(20),e.qZA(),e.TgZ(21,"p",72),e._uU(22),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit,n=e.oxw(3);e.Q6J("collapsedButton",e.lcZ(1,11,"products.fund-cmp-more-details"))("expandedButton",e.lcZ(2,13,"products.fund-cmp-less-details")),e.xp6(4),e.Q6J("ngForOf",a.fundSummary),e.xp6(4),e.hij(" ",e.lcZ(9,15,"products.fund-cmp-average_annual_total_returns")," "),e.xp6(5),e.AsE(" ",a.performanceAsofDate?e.lcZ(14,17,"products.as-of"):""," ",a.performanceAsofDate," "),e.xp6(2),e.Q6J("ngIf",n.toggleButtonsCards[n.activeFund].length>1&&(null==a.fundPerformance?null:a.fundPerformance.length)>0),e.xp6(1),e.Q6J("ngIf",!a.fundPerformance||0===a.fundPerformance.length),e.xp6(1),e.Q6J("ngForOf",a.fundPerformance),e.xp6(3),e.Oqu(null==a.description?null:a.description.label),e.xp6(2),e.Oqu(null==a.description?null:a.description.value)}}function Ve(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"eds-panel",58),e.TgZ(1,"div",59),e.TgZ(2,"eds-link-item",28),e.NdJ("click",function(s){e.CHM(a);const d=e.oxw(3);return d.removeFund(d.activeFund,s)}),e.ALo(3,"translate"),e.qZA(),e.qZA(),e.TgZ(4,"div",60),e._UZ(5,"eds-link-item",29),e.qZA(),e.TgZ(6,"div"),e.TgZ(7,"div",61),e.YNc(8,Pe,2,1,"ng-container",23),e.qZA(),e.qZA(),e.YNc(9,Ye,23,19,"eds-expand-collapse",62),e.qZA()}if(2&t){const a=p.$implicit;e.Q6J("hasBorders",!0)("hasBorderRadius",!0)("overflowHidden",!0)("hasPadding",!0),e.xp6(2),e.Q6J("title",e.lcZ(3,10,"products.fund-cmp-remove-fund"))("hasIcon",!0),e.xp6(3),e.Q6J("title",a.fundName)("href",a.fundLink),e.xp6(3),e.Q6J("ngForOf",a.fundSummary),e.xp6(1),e.Q6J("ngIf",(null==a.fundSummary?null:a.fundSummary.length)>2)}}function $e(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"div",76),e.TgZ(1,"div",77),e.TgZ(2,"div",78),e._UZ(3,"eds-media-card",79),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"div",78),e.TgZ(7,"button",8
10),e.NdJ("click",function(){return e.CHM(a),e.oxw(3).openSearchModal()}),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()}2&t&&(e.xp6(3),e.Q6J("isImg",!1)("isIcon",!0)("theme","basic")("title",e.lcZ(4,9,"products.fund-cmp-add-another-fund-text"))("bodyContent",e.lcZ(5,11,"products.fund-cmp-body-text"))("hasMediaLeft",!0)("isStacked",!0),e.xp6(4),e.Q6J("noMargin",!0),e.xp6(2),e.Oqu(e.lcZ(10,13,"products.fund-cmp-add-fund")))}function Me(t,p){if(1&t){const a=e.EpF();e.ynx(0),e.TgZ(1,"div",53),e.TgZ(2,"eds-toggle",46),e.NdJ("toggleActive",function(s){return e.CHM(a),e.oxw(2).activeFundChanged(s)}),e.qZA(),e.qZA(),e.TgZ(3,"div",54),e.TgZ(4,"div",55),e.YNc(5,Ve,10,12,"eds-panel",56),e.YNc(6,$e,11,15,"div",57),e.qZA(),e.qZA(),e.BQk()}if(2&t){const a=e.oxw(2);e.xp6(2),e.Q6J("toggleButtons",a.fundToggleButtons),e.xp6(3),e.Q6J("ngIf",a.activeFundCardData),e.xp6(1),e.Q6J("ngIf",!a.activeFundCardData)}}function qe(t,p){if(1&t&&e.YNc(0,Me,7,3,"ng-container",7),2&t){const a=e.oxw(),n=e.MAs(17);e.Q6J("ngIf",a.fundCardData.length>0)("ngIfElse",n)}}function Ue(t,p){if(1&t&&(e.TgZ(0,"small",38),e._uU(1),e.qZA()),2&t){const a=e.oxw(2).info;e.xp6(1),e.hij(" ",a.valueSmallText1," ")}}function we(t,p){if(1&t&&(e.TgZ(0,"eds-info-item",82),e.YNc(1,Ue,2,1,"small",83),e.qZA()),2&t){const a=e.oxw().info;e.Q6J("info",a),e.xp6(1),e.Q6J("ngIf",a.valueSmallText1)}}function Be(t,p){1&t&&e.YNc(0,we,2,2,"eds-info-item",81),2&t&&e.Q6J("ngIf",p.info)}function Qe(t,p){if(1&t){const a=e.EpF();e.TgZ(0,"div",76),e.TgZ(1,"div",77),e.TgZ(2,"div",78),e._UZ(3,"eds-media-card",79),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"div",78),e.TgZ(7,"button",80),e.NdJ("click",function(){return e.CHM(a),e.oxw().openSearchModal()}),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()}2&t&&(e.xp6(3),e.Q6J("isImg",!1)("isIcon",!0)("theme","basic")("title",e.lcZ(4,9,"products.fund-cmp-add-fund-text"))("bodyContent",e.lcZ(5,11,"products.fund-cmp-body-text"))("hasMediaLeft",!0)("isStacked",!0),e.xp6(4),e.Q6J("noMargin",!0),e.xp6(2),e.Oqu(e.lcZ(10,13,"products.fund-cmp-add-fund")))}A.Y.getLogger("FundCompareComponent");let Je=(()=>{class t extends C.N{constructor(a,n,s,d,m,v){super(),this.changeDetector=a,this.responsiveService=n,this.fundCompareService=s,this.translateService=d,this.modalService=m,this.route=v,this.fundInfo=[],this.fundSummaryData=[],this.fundPerformanceData=[],this.fundCardData=[],this.fundPerformanceAsOfDates=[],this.toggleButtons=[],this.toggleButtonsCards=[[]],this.products=[],this.addFundModalId="addFundModal",this.fundToggleButtons=[],this.modalOpened=!1,this.activeFund=0,this.modalConfig={modalId:this.addFundModalId,title:null,themeTitle:"dark"},this.unsubscribe$=new u.xQ,this.isHandheld$=this.responsiveService.isHandheld$(),this.fundCompareService.init()}ngOnInit(){super.ngOnInit(),this.modalConfig.title=this.translateService.instant("products.fund-cmp-add-fund-model-title"),this.createFundToggle(),this.fundCompareService.fundCompareState$.pipe((0,o.R)(this.unsubscribe$)).subscribe(n=>{this.mapState(n),this.changeDetector.detectChanges()}),this.fundCompareService.filteredProducts$.pipe((0,o.R)(this.unsubscribe$)).subscribe(n=>{this.mapFilteredProducts(n),this.changeDetector.detectChanges()});const a=this.route?.snapshot?.queryParams?.funds;a?this.addFundsFromUrl(a):this.fundCompareService.initDefault()}mapState(a){this.fundInfo=a.fundInfo,this.fundSummaryData=a.fundSummaryData,this.fundPerformanceData=a.fundPerformanceData,this.fundPerformanceAsOfDates=a.fundPerformanceAsOfDates,this.fundCardData=a.fundCardData,this.activeFundCardData=this.fundCardData[this.activeFund],this.isStateDefault=a.isStateDefault,this.createPeriodEndToggle(a),this.createPeriodEndToggleForCards(a)}mapFilteredProducts(a){this.products=a.reduce((n,s)=>(s.shareClass&&n.push({label:s.fundDisplayName,value:s.shareClass.identifiers.fundId,fundData:{fundId:s.shareClass.identifiers.fundId,shareClassCode:s.shareClass.identifiers.shareClassCode}}),n),[])}addFundsFromUrl(a){a.split(";").forEach(s=>{const d=s.split(":");this.fundCompareService.addFund(d[0],d[1])})}createFundToggle(){this.fundToggleButtons=[{active:!0,value:"1",text:this.translateService.instant("products.fund-cmp-toggle-fund1")},{active:!1,value:"2",text:this.translateService.instant("products.fund-cmp-toggle-fund2")},{active:!1,value:"3",text:this.translateService.instant("products.fund-cmp-toggle-fund3")},{active:!1,value:"4",text:this.translateService.instant("products.fund-cmp-toggle-fund4")}]}
1createPeriodEndToggle(a){this.toggleButtons=a.periodEnds.map(n=>({active:n===a.periodEnd,value:n,text:this.translateService.instant(`products.fund-cmp-toggle-${n}`)}))}createPeriodEndToggleForCards(a){this.toggleButtonsCards=a.fundCardData.map(n=>n.periodEnds.map(d=>({active:d===n.periodEnd,value:d,text:this.translateService.instant(`products.fund-cmp-toggle-${d}`)})))}performanceViewSelected(a){this.isStateDefault||this.fundCompareService.changePerformanceView(a.value)}performanceViewForCardSelected(a,n){this.fundCompareService.changePerformanceViewForCard(a.value,n)}addFund(a){this.fundCompareService.addFund(a.fundData.fundId,a.fundData.shareClassCode),this.modalService.close(this.addFundModalId),this.modalOpened=!1,this.searchBox.value=null}onCloseModal(){this.modalOpened=!1}openSearchModal(){this.modalService.open(this.addFundModalId),this.modalOpened=!0}removeFund(a,n){n.preventDefault(),this.fundCompareService.removeFund(a)}findFund(a){this.fundCompareService.findFund(a)}activeFundChanged(a){this.activeFund=Number(a.value)-1,this.activeFundCardData=this.fundCardData[this.activeFund],this.changeDetector.detectChanges()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return t.\u0275fac=function(a){return new(a||t)(e.Y36(e.sBO),e.Y36(r.kzD),e.Y36(ee),e.Y36(X.s),e.Y36(r.Z7U),e.Y36(de.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["ft-fund-compare"]],viewQuery:function(a,n){if(1&a&&e.Gf(oe,5),2&a){let s;e.iGM(s=e.CRH())&&(n.searchBox=s.first)}},features:[e.qOj],decls:18,vars:18,consts:[["div","","edsPadding","","edsPaddingLeft","lg","edsPaddingRight","lg",3,"edsSpacing"],["edsSpacing","lg"],["placement","FundCompareProximalTop"],["isFixedHeight","true",3,"modalId","config","onClose"],["modal-body",""],[3,"label","placeholder","hasDropdown","items","setFocus","searchTerm","selectedItem"],["searchBox",""],[4,"ngIf","ngIfElse"],["handheldBlock",""],["infoItemBlock",""],["emptyBlock",""],["class","table table--secondary","edsSpacing","lg",4,"ngIf","ngIfElse"],["edsSpacing","lg",1,"table","table--secondary"],[1,"table__thead"],[1,"table__tr"],["colspan","2","scope","row",1,"table__th","table__th--middle","table__th--sticky",2,"width","15%"],["class","table__th table__th--top text-align-left table__th--sticky","style","width: 21%","scope","col",4,"ngFor","ngForOf"],[1,"table__body"],["class","table__tr",4,"ngFor","ngForOf"],["class","table__tr",4,"ngIf"],["colspan","2",1,"table__td","table__td--highlightedSecondary","table__td--middle","text-align-right"],["class","table__td table__td--highlightedPrimary table__td--middle text-align-right",4,"ngFor","ngForOf"],[1,"table__td","table__td--highlightedSecondary"],[4,"ngFor","ngForOf"],["scope","col",1,"table__th","table__th--top","text-align-left","table__th--sticky",2,"width","21%"],["edsFlexbox","","flexDirection","column",4,"ngIf"],["edsButton","primary","size","compact",3,"noMargin","click",4,"ngIf"],["edsFlexbox","","flexDirection","column"],["href","","type","cross",3,"title","hasIcon","click"],[3,"title","href"],["edsButton","primary","size","compact",3,"noMargin","click"],["colspan","2","scope","row",1,"table__td","table__td--highlightedSecondary","table__td--middle","text-align-left",2,"width","15%"],[3,"placement",4,"ngIf"],["class","table__td table__td--highlightedPrimary table__td--middle text-align-right","style","width: 21%",4,"ngFor","ngForOf"],[1,"table__td--highlightedSecondary",2,"width","13%"],[3,"placement"],[1,"table__td","table__td--highlightedPrimary","table__td--middle","text-align-right",2,"width","21%"],[4,"ngIf"],[1,"small","text-grey1"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["colspan","6",1,"table__td","table__td--middle","table__td--highlightedSecondary"],["edsFlexbox","","alignItems","center"],["edsPadding","","edsPaddingRight","md"],["placement","Fund Compare: FundCompareAvgAnnualReturns"],[3,"toggleButtons","toggleActive",4,"ngIf"],[3,"toggleButtons","toggleActive"],[1,"table__td","table__td--highlightedPrimary","table__td--middle","text-align-right"],["class","table__td--highlightedSecondary text-align-left","style","width: 9%","rowspan","5","scope","rowgroup",4,"ngIf"],["scope","row",1,"table__td","table__td--highlightedSecondary","table__td--middle","text-align-left",2,"width","5%"],[1,"table__td","table__td--highlightedSecondary",2,"width","13%"],["rowspan","5","scope","rowgroup",1,"table__td--highlightedSecondary","text-align-left",2,"width","9%"],["edsPadding","","edsPaddingAll","sm"],["edsSpacing","xl"],[1,"cards-mobile"],["edsSpacing","sm"],["edsSpacing","xl",3,"hasBorders","hasBorderRadius","overflowHidden","hasPadding",4,"ngIf"],["edsGrid","",4,"ngIf"],["edsSpacing","xl",3,"hasBorders","hasBorderRadius","overflowHidden","hasPadding"],["edsSpacing","md","edsFlexbox","","justifyContent","flex-end"],["edsSpacing","md"],[1,"cards-mobile__highlight-wrapper--first-child"],[3,"collapsedButton","expandedButton",4,"ngIf"],["class","cards-mobile__highlight",4,"ngIf"],[1,"cards-mobile__highlight"],[3,"collapsedButton","expandedButton"],["edsSpacing","md",1,"cards-mobile__highlight-wrapper--last-child"],["edsFlexbox","","flexDirection","column","edsPadding","","edsPaddingRight","xs","edsPaddingLeft","xs","edsSpacing","md"],["edsPadding","",1,"small"],["edsSpacing","md",3,"toggleButtons","toggleActive",4,"ngIf"],["edsPadding","","edsPaddingRight","xs","edsPaddingLeft","xs","edsSpacing","md",4,"ngFor","ngForOf"],["edsPadding","","edsPaddingTop","md","edsPaddingRight","xs","edsPaddingLeft","xs"],["edsSpacing","none"],["edsSpacing","md",3,"toggleButtons","toggleActive"],["edsPadding","","edsPaddingRight","xs","edsPaddingLeft","xs","edsSpacing","md"],[1,"cards-mobile__highlight-wrapper"],["edsGrid",""],[1,"container--wide"],["edsRow",""],["imgSrc","assets/icons/ft-global-icon-marketing-select.svg","imgAltText","assets/icons/ft-global-icon-marketing-select.svg","edsSpacing","md",3,"isImg","isIcon","theme","title","bodyContent","hasMediaLeft","isStacked"],["edsButton","primary","size","normal",3,"noMargin","click"],[3,"info",4,"ngIf"],[3,"info"],["class","small text-grey1",4,"ngIf"]],template:function(a,n){if(1&a&&(e.TgZ(0,"section",0),e.ALo(1,"async"),e.TgZ(2,"div",1),e._UZ(3,"eds-proximal",2),e.qZA(),e.TgZ(4,"eds-simple-modal",3),e.NdJ("onClose",function(){return n.onCloseModal()}),e.TgZ(5,"div",4),e.TgZ(6,"eds-search",5,6),e.NdJ("searchTerm",function(d){return n.findFund(d)})("selectedItem",function(d){return n.addFund(d)}),e.ALo(8,"translate"),e.ALo(9,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(10,Ee,2,2,"div",7),e.ALo(11,"async"),e.YNc(12,qe,1,2,"ng-template",null,8,e.W1O),e.YNc(14,Be,1,1,"ng-template",null,9,e.W1O),e.YNc(16,Qe,11,15,"ng-template",null,10,e.W1O),e.qZA()),2&a){const s=e.MAs(13);e.Q6J("edsSpacing",!1===e.lcZ(1,10,n.isHandheld$)?"xxxl":"xxl"),e.xp6(4),e.Q6J("modalId",n.addFundModalId)("config",n.modalConfig),e.xp6(2),e.Q6J("label",e.lcZ(8,12,"products.fund-cmp-search"))("placeholder",e.lcZ(9,14,"products.fund-cmp-search-box-placeholder"))("hasDropdown",!0)("items",n.products)("setFocus",n.modalOpened),e.xp6(4),e.Q6J("ngIf",!1===e.lcZ(11,16,n.isHandheld$))("ngIfElse",s)}},directives:[r.cph,r.OPD,r.JEP,r.FOF,r.gSk,D.O5,D.sg,r.Wxy,r.zj4,r.Hq3,r.A9Y,D.tP,r.n$2,r.yXm,r.XPu,r.ljP,r.vZ,r.ni6,r.b2$],pipes:[D.Ov,le.X,re.D],styles:["[_nghost-%COMP%]   .table[_ngcontent-%COMP%]{overflow:auto}"],changeDetection:0}),t})();var He=f(3830),We=f(36239);let ze=(()=>{class t{getComponentMapping(){return{"Fund Compare":Je}}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:[ee,w.B6],imports:[[D.ez,He.a,y.q8,E.PageSectionModule,r.QGW,r.zE6,r.cv2,r.WF4,r.JI,r.QX1,r.hJ1,r.SZ7,r._PW,r.vmb,r.Ko1,r.zEN,r.$yR,We.D,r.hwp,r._xT,r.t8n,r.QSA,r.idt,r.kWm,r.tBe]]}),t})()},16512:(I,k,f)=>{"use strict";f.d(k,{c:()=>y,z:()=>E});var D=f(41896);const y=(C,A="")=>C.filter(u=>u.parent===A).map(u=>{const o=C.filter(e=>e.parent!==A);return{...u,children:y(o,u.label)}}),E=(C,A)=>(0,D.lN)(C.rank)-(0,D.lN)(A.rank)},14440:(I,k,f)=>{"use strict";f.d(k,{a1:()=>h});var D=f(62902),y=f.n(D),E=f(16512),C=f(98220),A=f(80509),u=f(68411),o=f(41896);u.Y.getLogger("AssetAllocationMapper");const r=g=>g.assetalloccatgstd?.endsWith("_NET")||g.assetalloccatgstd?.endsWith("_GROSS"),P=g=>!r(g);class h extends A.I{constructor(l,S){super(l,S)}toDomain(l){const S=l.assetallocation;if(!S||0===S.length)return null;const F=[],x=S.filter(r);var g;x.length>0&&F.push({componentId:"Asset Class Exposure",baseLabelKey:"asset-class-exposure",showExposureChart:!0,allocationFlag:(0,o.yM)(g=x,"allocflag"),allocationHeading:(0,o.yM)(g,"allocheadinglocal"),asOfDate:(0,o.yM)(g,"asofdate"),calculationBasis:(0,o.yM)(g,"calcbasislocal"),calculationType:(0,o.y
1M)(g,"calctypelocal"),hasDerivatives:(0,o.Zo)((0,o.yM)(g,"hasderivatives")),updateFrequency:(0,o.yM)(g,"frequency"),data:Object.values(y()(g,F=>F.assetalloccatgstd?.replace(/_(NET|GROSS)$/g,""))).map(F=>{const x=F.find(M=>M.assetalloccatgstd?.endsWith("_NET")),L=F.find(M=>M.assetalloccatgstd?.endsWith("_GROSS"));return{label:F[0].assetalloccatg,grossExposure:(0,C.rl)(L?.brkdwnpct),grossExposureStd:(0,o.lN)(L?.brkdwnpctstd),netExposure:(0,C.rl)(x?.brkdwnpct),netExposureStd:(0,o.lN)(x?.brkdwnpctstd),order:Math.min((0,o.lN)(L?.rank),(0,o.lN)(x?.rank))}}).sort((F,x)=>F.order-x.order)});const L=S.filter(P);return L.length>0&&F.push((g=>({componentId:"Asset Allocation",baseLabelKey:"asset-allocation",allocationFlag:(0,o.yM)(g,"allocflag"),allocationHeading:(0,o.yM)(g,"allocheadinglocal"),asOfDate:(0,o.yM)(g,"asofdate"),calculationBasis:(0,o.yM)(g,"calcbasislocal"),calculationType:(0,o.yM)(g,"calctypelocal"),hasDerivatives:(0,o.Zo)((0,o.yM)(g,"hasderivatives")),updateFrequency:(0,o.yM)(g,"frequency"),data:g.sort(E.z).map(l=>({label:l.assetalloccatg,breakdown:(0,C.rl)(l.brkdwnpct),breakdownStd:(0,o.lN)(l.brkdwnpctstd)}))}))(L)),F}}},10250:I=>{var k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FundCompareAllFunds"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"countrycode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"languagecode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypeetf"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypemf"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productType529"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypecef"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypemmf"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypesma"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypetif"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productTypeif"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"etf"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypeetf"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"mf"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypemf"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"_529"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productType529"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"cef"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypecef"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"mmf"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypemmf"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"tif"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypetif"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"sma"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypesma"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"if"},name:{kind:"Name",value:"PPSS"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}},{kind:"Argument",name:{kind:"Name",value:"productType"},value:{kind:"Variable",name:{kind:"Name",value:"productTypeif"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FundData"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FundData"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fundname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"producttype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webprdcttaxonomy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shareclass"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identifiers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fundid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shclcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sedol"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bloomberg"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cusip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reuterssym"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wkn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vln"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mexid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rfi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"apir"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"arsn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adm"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dsc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ticker"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iressinavcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"anbimacode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"intradaynav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fundbmticker"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nasdaqxnms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iopv"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1804}};function y(u,o){if("FragmentSpread"===u.kind)o.add(u.name.value);
1else if("VariableDefinition"===u.kind){var e=u.type;"NamedType"===e.kind&&o.add(e.name.value)}u.selectionSet&&u.selectionSet.selections.forEach(function(r){y(r,o)}),u.variableDefinitions&&u.variableDefinitions.forEach(function(r){y(r,o)}),u.definitions&&u.definitions.forEach(function(r){y(r,o)})}k.loc.source={body:"query FundCompareAllFunds(\n  $countrycode: String!\n  $languagecode: String!\n  $productTypeetf: String!\n  $productTypemf: String!\n  $productType529: String!\n  $productTypecef: String!\n  $productTypemmf: String!\n  $productTypesma: String!\n  $productTypetif: String!\n  $productTypeif: String!\n) {\n  etf: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypeetf\n  ) {\n    ...FundData\n  }\n  mf: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypemf\n  ) {\n    ...FundData\n  }\n  _529: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productType529\n  ) {\n    ...FundData\n  }\n  cef: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypecef\n  ) {\n    ...FundData\n  }\n  mmf: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypemmf\n  ) {\n    ...FundData\n  }\n  tif: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypetif\n  ) {\n    ...FundData\n  }\n  sma: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypesma\n  ) {\n    ...FundData\n  }\n  if: PPSS(\n    countrycode: $countrycode\n    languagecode: $languagecode\n    productType: $productTypeif\n  ) {\n    ...FundData\n  }\n}\n\nfragment FundData on Product {\n  fundname\n  producttype\n  webprdcttaxonomy\n  shareclass {\n    identifiers {\n      fundid\n      shclcode\n      taid\n      isin\n      sedol\n      bloomberg\n      cusip\n      reuterssym\n      wkn\n      vln\n      mexid\n      rfi\n      apir\n      arsn\n      adm\n      dsc\n      ticker\n      iress\n      iressinavcode\n      anbimacode\n      intradaynav\n      fundbmticker\n      nasdaqxnms\n      iopv\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var E={};function C(u,o){for(var e=0;e<u.definitions.length;e++){var r=u.definitions[e];if(r.name&&r.name.value==o)return r}}function A(u,o){var e={kind:u.kind,definitions:[C(u,o)]};u.hasOwnProperty("loc")&&(e.loc=u.loc);var r=E[o]||new Set,P=new Set,T=new Set;for(r.forEach(function(h){T.add(h)});T.size>0;){var V=T;T=new Set,V.forEach(function(h){P.has(h)||(P.add(h),(E[h]||new Set).forEach(function(l){T.add(l)}))})}return P.forEach(function(h){var g=C(u,h);g&&e.definitions.push(g)}),e}k.definitions.forEach(function(o){if(o.name){var e=new Set;y(o,e),E[o.name.value]=e}}),I.exports=k,I.exports.FundCompareAllFunds=A(k,"FundCompareAllFunds"),I.exports.FundData=A(k,"FundData")},34197:I=>{var k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FundCompare"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"countryCode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"languageCode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fundId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shareClassCode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Overview"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fundid"},value:{kind:"Variable",name:{kind:"Name",value:"fundId"}}},{kind:"Argument",name:{kind:"Name",value:"shareclasscode"},value:{kind:"Variable",name:{kind:"Name",value:"shareClassCode"}}},{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countryCode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languageCode"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fundname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webprdcttaxonomy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"producttype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invstmntcatg"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shareclass"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shclname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"perfincdt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"identifiers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fundid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shclcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ticker"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cusip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reuterssym"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bloomberg"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sedol"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mexid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"apir"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"arsn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"anbimacode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vln"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"intradaynav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rfi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adm"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dsc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iressinavcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fundbmticker"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wkn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nasdaqxnms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iopv"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"nav"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ytdtotretatnav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"distribrateatnav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"navdate"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"yields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"stdsecyield30day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stdsecyield30daywowaiver"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stdyieldasofdate30day"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"riskstatssummary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asofdate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"elemnamestd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"elemname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"elemval3yr"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"performance"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month_end"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calcnamestd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asofdate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret1yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret3yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret5yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret10yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannretactinc"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"quarter_end"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calcnamestd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asofdate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret1yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret3yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret5yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannret10yr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avgannretactinc"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"Portfolio"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fundid"},value:{kind:"Variable",name:{kind:"Name",value:"fundId"}}},{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countryCode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languageCode"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetclass"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"portfolio"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetallocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allocflag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allocheadinglocal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asofdate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assetalloccatg"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assetalloccatgstd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brkdwnpct"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brkdwnpctstd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"calcbasislocal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"calctypelocal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasderivatives"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rank"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"Summary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countryCode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languageCode"}}},{kind:"Argument",name:{kind:"Name",value:"fundid"},value:{kind:"Variable",name:{kind:"Name",value:"fundId"}}},{kind:"Argument",name:{kind:"Name",value:"shareclasscode"},value:{kind:"Variable",name:{kind:"Name",value:"shareClassCode"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"elemnamestd"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"elemname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"elemvalue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asofdate"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:2103}};function y(u,o){if("FragmentSpread"===u.kind)o.add(u.name.value);
1else if("VariableDefinition"===u.kind){var e=u.type;"NamedType"===e.kind&&o.add(e.name.value)}u.selectionSet&&u.selectionSet.selections.forEach(function(r){y(r,o)}),u.variableDefinitions&&u.variableDefinitions.forEach(function(r){y(r,o)}),u.definitions&&u.definitions.forEach(function(r){y(r,o)})}k.loc.source={body:"query FundCompare(\n  $countryCode: String!\n  $languageCode: String!\n  $fundId: String!\n  $shareClassCode: String!\n) {\n  Overview(\n    fundid: $fundId\n    shareclasscode: $shareClassCode\n    countrycode: $countryCode\n    languagecode: $languageCode\n  ) {\n    fundname\n    webprdcttaxonomy\n    producttype\n    invstmntcatg\n    shareclass {\n      shclname\n      perfincdt\n      identifiers {\n        fundid\n        shclcode\n        taid\n        ticker\n        cusip\n        isin\n        reuterssym\n        bloomberg\n        sedol\n        mexid\n        apir\n        arsn\n        anbimacode\n        vln\n        intradaynav\n        rfi\n        adm\n        dsc\n        iress\n        iressinavcode\n        fundbmticker\n        wkn\n        nasdaqxnms\n        iopv\n      }\n      nav {\n        ytdtotretatnav\n        distribrateatnav\n        navdate\n      }\n      yields {\n        stdsecyield30day\n        stdsecyield30daywowaiver\n        stdyieldasofdate30day\n      }\n      riskstatssummary {\n        asofdate\n        elemnamestd\n        elemname\n        elemval3yr\n      }\n      performance {\n        month_end {\n          calcnamestd\n          asofdate\n          avgannret1yr\n          avgannret3yr\n          avgannret5yr\n          avgannret10yr\n          avgannretactinc\n        }\n        quarter_end {\n          calcnamestd\n          asofdate\n          avgannret1yr\n          avgannret3yr\n          avgannret5yr\n          avgannret10yr\n          avgannretactinc\n        }\n      }\n    }\n  }\n  Portfolio(\n    fundid: $fundId\n    countrycode: $countryCode\n    languagecode: $languageCode\n  ) {\n    assetclass\n    portfolio {\n      assetallocation {\n        allocflag\n        allocheadinglocal\n        asofdate\n        assetalloccatg\n        assetalloccatgstd\n        brkdwnpct\n        brkdwnpctstd\n        calcbasislocal\n        calctypelocal\n        frequency\n        hasderivatives\n        rank\n      }\n    }\n  }\n  Summary(\n    countrycode: $countryCode\n    languagecode: $languageCode\n    fundid: $fundId\n    shareclasscode: $shareClassCode\n  ) {\n    elemnamestd\n    elemname\n    elemvalue\n    asofdate\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var E={};function C(u,o){for(var e=0;e<u.definitions.length;e++){var r=u.definitions[e];if(r.name&&r.name.value==o)return r}}k.definitions.forEach(function(o){if(o.name){var e=new Set;y(o,e),E[o.name.value]=e}}),I.exports=k,I.exports.FundCompare=function(u,o){var e={kind:u.kind,definitions:[C(u,o)]};u.hasOwnProperty("loc")&&(e.loc=u.loc);var r=E[o]||new Set,P=new Set,T=new Set;for(r.forEach(function(h){T.add(h)});T.size>0;){var V=T;T=new Set,V.forEach(function(h){P.has(h)||(P.add(h),(E[h]||new Set).forEach(function(l){T.add(l)}))})}return P.forEach(function(h){var g=C(u,h);g&&e.definitions.push(g)}),e}(k,"FundCompare")}}]);
2//# sourceMappingURL=fund-compare.0931ac9788c82991cf7c.js.map

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.