1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1961],{1961:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>C});var r=t(37876),a=t(45105),i=t.n(a),c=t(14232);let o=e=>{let{markupId:n,sourceUrl:t}=e,a=((e,n)=>{let t=(0,c.useRef)(!0);return(0,c.useEffect)(()=>{t.current||(()=>{var r;if(e&&n&&!(null==(r=document.getElementById(e))?void 0:r.children.length)){let r="next-app_gfc-resize-script-".concat(e),a=document.querySelector(".".concat(r));null==a||a.remove();let i=document.createElement("script");i.className=r,i.onload=()=>{t.current=!1},i.src=n,document.head.append(i),t.current=!0}})()}),t})(n,t);return n&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{id:n}),(0,r.jsx)(i(),{src:t,strategy:"lazyOnload",onReady:()=>{a.current=!1}})]}):null};var l=t(28888),s=t(5068),u=t(21626),d=t(87913);let f=["__proto__","constructor","prototype"],p=null;async function m(){return p||(p=t.e(2227).then(t.bind(t,12227))),p}async function h(e){let n=await m(),t={};return Object.keys(e).forEach(r=>{f.includes(r)||(t[n.default.sanitize(r)]=n.default.sanitize(e[r]))}),t}async function g(e){let n=await m(),t=document.createRange();return t.selectNode(document.getElementsByTagName("div").item(0)),t.createContextualFragment(n.default.sanitize(e,{WHOLE_DOCUMENT:!0,ADD_TAGS:["head","script","link","meta"]}))}async function v(e,n){let t=await h(e.slice(0).split("/")),r="".concat(t[0],"//").concat(t[2]),a=await h(window.location.hash.slice(1).split("/")),i="".concat(window.location.origin+window.location.pathname,"#"),c=window.location.search;c?c+="&prerender=true&baseUrl=".concat(encodeURIComponent(i)):c="?prerender=true&baseUrl=".concat(encodeURIComponent(i));let o=Object.values(Object.entries(a).reduce((e,n)=>{let[t,r]=n;return{...e,[t]:r}},{})).find(e=>e.indexOf("?")>-1);if(o){let e=new URLSearchParams(o.slice(o.indexOf("?")+1)).get("searchQuery")||"";e&&(c+="&searchText=".concat(encodeURIComponent(e)))}return""===window.location.hash||"fund"===a[1]&&"search"===a[2]?"".concat(r+n,"/gfc/fund/search/filter/").concat(c):"".concat(r+n,"/gfc/").concat(a[1],"/").concat(a[2],"/").concat(a[3],"/").concat(a[4],"/").concat(a[5],"/").concat(c)}function w(){let e=(0,l._)(["\n position: relative;\n z-index: 0;\n"]);return w=function(){return e},e}let y=u.default.div(w()),E=e=>{let{markupId:n,config:t}=e,[a,i]=(0,c.useState)(!0),[o,l]=(0,c.useState)(void 0),[u,f]=(0,c.useState)(""),p=(0,c.useRef)(null);return((0,c.useEffect)(()=>{(async()=>{try{let{amidUrl:e,gatewaySettingPathValue:n}=JSON.parse(t||""),r=await v(e,n),{data:a}=await s.A.get(r);f(a),i(!1)}catch(e){console.error(e),l(e),i(!1)}})()},[t]),(0,c.useEffect)(()=>{a||o||!p.current||(async()=>{let e=await g(u);p.current.innerHTML="",p.current.appendChild(e)})()},[a,u,o]),o)?(console.error("Failed to fetch GFC data:",o),null):(0,r.jsxs)(y,{children:[(0,r.jsx)("div",{id:n}),a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,r.jsx)(d.Ay,{})}):(0,r.jsx)("div",{className:"amid-container",ref:p})]})},C=e=>{let{entry:n}=e,{gfc_js:{markup_id:t,source_url:a,config:i}}=n;return i?(0,r.jsx)(E,{markupId:t,config:i}):(0,r.jsx)(o,{markupId:t,sourceUrl:a})}},28888:(e,n,t)=>{"use strict";function r(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}t.d(n,{_:()=>r})},45105:(e,n,t)=>{e.exports=t(36758)},87913:(e,n,t)=>{"use strict";t.d(n,{Ec:()=>p,Ay:()=>h,ir:()=>m});var r=t(14232),a=t(21626),i=["size"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var o=["isLoading"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var s=(0,a.keyframes)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),u=(0,a.default)(function(e){var n=e.size,t=void 0===n?48:n,a=function(e,n){if(null==e)return{};var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}(e,i);return r.createElement("svg",c({width:t,height:t,viewBox:"0 0 48 48"},a),r.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(-696.000000, -544.000000)"},r.createElement("g",{transform:"translate(64.000000, 380.000000)"},r.createElement("g",{transform:"translate(632.000000, 164.000000)"},r.createElement("path",{d:"M24,0 C37.254834,0 48,10.745166 48,24 C48,37.254834 37.254834,48 24,48 C10.745166,48 0,37.254834 0,24 C0,10.745166 10.745166,0 24,0 Z M24,3 C12.4020203,3 3,12.4020203 3,24 C3,35.5979797 12.4020203,45 24,45 C35.5979797,45 45,35.5979797 45,24 C45,12.4020203 35.5979797,3 24,3 Z",fill:"#E2E2E2"}),r.createElement("path",{d:"M48,24 L45,24 L45,24 C45,12.4020203 35.5979797,3 24,3 L24,0 L24,0 C37.254834,0 48,10.745166 48,24 Z",fill:"#969494"}))))))}).withConfig({displayName:"LoadingSpinner",componentId:"sc-k1flhd-0"})(["",";"],function(e){var n=e.duration;return(0,a.css)(["animation:"," ","s linear infinite;"],s,void 0===n?3:n)}),d=a.default.div.withConfig({displayName:"LoadingSpinner__LoadingBlendBackgroun
1d",componentId:"sc-k1flhd-1"})(["position:absolute;display:flex;top:0;height:100%;width:100%;align-items:center;justify-content:center;background-color:",";"],function(e){var n,t=e.theme.pfwTokens;return null==t||null==(n=t.Action)?void 0:n.LoadingSpinnerBlend}),f=a.default.div.withConfig({displayName:"LoadingSpinner__LoadingBlendWrapper",componentId:"sc-k1flhd-2"})(["width:100%;position:relative;"]),p=function(e){var n=e.isLoading,t=e.children;return r.createElement(f,null,t,n&&r.createElement(d,null,r.createElement(u,null)))},m=function(e){var n=r.forwardRef(function(n,t){var a=n.isLoading,i=function(e,n){if(null==e)return{};var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}(n,o);return r.createElement(p,{isLoading:a},r.createElement(e,l({ref:t},i)))});return n.displayName="withLoadingBlend("+(e.displayName||e.name||"Component")+")",n};let h=u}}]);
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.