text: (function(a){a.capFirst=function(b){return b.charAt(0).toUpperCase()+b.slice(1)}})(jQuery);(function(a){a.clearInput=function(b,e){function c(f){return f?"addClass":"removeClass"}a(document).on("input",".clearable",function(){a(this)[c(this.value)]("x")}).on("mousemove",".x",function(f){a(this)[c(this.offsetWidth-18<f.clientX-this.getBoundingClientRect().left)]("on-x")}).on("click",".on-x",function(){a(this).removeClass("x on-x").val("").change();e&&b.DataTable().search("").draw()})}})(jQuery);Array.prototype.map||(Array.prototype.map=function(a,b){var e,c;if(null==this)throw new TypeError(" this is null or not defined");var f=Object(this),g=f.length>>>0;if("function"!==typeof a)throw new TypeError(a+" is not a function");b&&(e=b);b=Array(g);for(c=0;c<g;){if(c in f){var h=f[c];h=a.call(e,h,c,f);b[c]=h}c++}return b});/*
   Copyright 2012, Ben Lin (http://dreamerslab.com/)
   Licensed under the MIT License (LICENSE.txt).
  
   Version: 1.0.16
  
   Requires: jQuery >= 1.2.3
  */
  (function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,e){if(!this[b])throw'$.actual \x3d\x3e The jQuery method "'+b+'" you called does not exist';var c=a.extend({absolute:!1,clone:!1,includeMargin:!1},e),f=this.eq(0);if(!0===c.clone){var g=function(){f=f.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")};e=function(){f.remove()}}else{var h=[],l="",q;g=function(){q=f.parents().addBack().filter(":hidden");l+="visibility: hidden !important; display: block !important; ";
  !0===c.absolute&&(l+="position: absolute !important; ");q.each(function(){var r=a(this),u=r.attr("style");h.push(u);r.attr("style",u?u+";"+l:l)})};e=function(){q.each(function(r){var u=a(this);r=h[r];void 0===r?u.removeAttr("style"):u.attr("style",r)})}}g();b=/(outer)/.test(b)?f[b](c.includeMargin):f[b]();e();return b}})})(jQuery);if("undefined"===typeof BLK||!BLK)var BLK={};BLK.geoChart=BLK.geoChart||{};
  BLK.geoChart.geoMap={initMap:function(a){function b(k){var m=K.bounds(k);k=Math.max(1,Math.min(8,.9/Math.max((m[1][0]-m[0][0])/q,(m[1][1]-m[0][1])/r)));m=[q/2-(m[0][0]+m[1][0])/2*k,r/2-(m[0][1]+m[1][1])/2*k];G.transition().duration(750).call(Q.translate(m).scale(k).event)}function e(){J.classed("active",!1);J=d3.select(null);G.transition().duration(750).call(Q.translate([0,0]).scale(1).event);H.find("tr").removeClass("selected");U.selectAll(" .active").classed("active",!1)}function c(k,m){m=areaArray[m].code;
  if("undefined"!==typeof u[m]){c;if(-1!=$(this).attr("class").split(" ").indexOf("active"))return e();J.classed("active",!1);J=d3.select(this).classed("active",!0);b(k);H.find("tr").removeClass("selected");H.find('tr[data-geo-code\x3d"'+m+'"]').addClass("selected")}}var f="#"+a.chartId,g=$(f),h=a.chartName,l="states"==h,q=g.actual("width")-10,r=q/2,u={},D=l?geoStatesJsonUrl:geoCountriesJsonUrl,H=$("#subTabs"+$.capFirst(h)+"DataTable tbody"),J=d3.select(null);l?(a=d3.geo.albersUsa().scale(500).translate([q/
  2,r/2]),g=subTabsStatesDataTable):(a=d3.geo.mercator().scale(1*(q+1)/2/Math.PI).translate([q/2,r/2]).center([10,35]),g=eval("subTabs"+h+"DataTable"));$.each(g,function(k){u[this.code]={color:this.color,value:this.value,name:this.name}});var Q=d3.behavior.zoom().translate([0,0]).scale(1).scaleExtent([1,8]).on("zoom",function(){U.style("stroke-width",1.5/d3.event.scale+"px");U.attr("transform","translate("+d3.event.translate+")scale("+d3.event.scale+")")}),K=d3.geo.path().projection(a),G=d3.select(f).append("svg").attr("width",
  q).attr("height",r).attr("id",h+"ExposureMap").on("click",function(){d3.event.defaultPrevented&&d3.event.stopPropagation()},!0),Z=d3.select(f).append("div").attr("class","tooltip "+h+" hidden");G.append("rect").attr("class","background").attr("width",q).attr("height",r).on("click",e);var U=G.append("g").attr("id",h);G.call(Q.event);d3.json(D,function(k,m){if(k)throw k;l?(areaArray=m.objects.states.geometries,areas=topojson.feature(m,m.objects.states).features):(areaArray=m.objects.countries.geometries,
  areas=topojson.feature(m,m.objects.countries).features);U.selectAll(f).data(areas).enter().append("path").attr("class","area").attr("code",function(v,w){return areaArray[w].code}).attr("style",function(v,w){v=areaArray[w].code;return"undefined"!==typeof u[v]?"fill: "+u[v].color:"fill: rgb(226,227,226)"}).attr("d",K).on("click",c).on("mouseover",function(v,w){d3.select(this).classed("active")||d3.select(this).classed("hover",hover=v)}).on("mousemove",function(v,w){v=areaArray[w].code;w=d3.mouse(G.node()).map(function(T){return parseInt(T)});
  if("undefined"!==typeof u[v]){var O=u[v].value,R=u[v].name;Z.classed("hidden",!1).attr("style","left:"+(w[0]-65)+"px;top:"+(w[1]-60)+"px").html(function(){return R+"\x3cbr/\x3e\x3cdiv style\x3d'text-align: center; font-weight: bold;'\x3e"+O+"\x3c/div\x3e"})}}).on("mouseout",function(v,w){Z.classed("hidden",!0);d3.select(this).classed("hover",!1)});k=$(".geo.product-table");var z="#"+h+"ExposureMap";k.on("click","tbody tr",function(){var v=$(this),w=v.data("geo-code"),O=z+" path[code\x3d"+w+"]";0!==
  $("[code\x3d"+w+"]").length&&(w=d3.select(O)[0][0].__data__,d={type:w.type,id:w.id,properties:w.properties,geometry:w.geometry},v.addClass("selected").siblings().removeClass("selected"),U.selectAll(z+" .active").classed("active",!1),d3.select(O).classed("active",!0),b(d))})})}};"undefined"!==typeof BLK&&BLK||(BLK={});BLK.apiGateway=BLK.apiGateway||{};
  BLK.apiGateway={_callbackQueue:{success:[],error:[]},_isAuthenticating:!1,_isAuthenticated:null,shouldRedirectToLogin:"undefined"!==typeof BLK.apiGateway.shouldRedirectToLogin?0!=BLK.apiGateway.shouldRedirectToLogin:!0,authenticate:function(a){var b=a.apiGatewayUrl||BLK.apiGatewayUrl,e=a.isCwpUserSignedIn||BLK.isCwpUserSignedIn||!1,c="undefined"!=typeof a.shouldRedirectToLogin?!1!==a.shouldRedirectToLogin:BLK.apiGateway.shouldRedirectToLogin,f=a.success;a=a.error;b?!1===e?f(!1):null!==BLK.apiGateway._isAuthenticated?
  f(BLK.apiGateway._isAuthenticated):(f&&BLK.apiGateway._callbackQueue.success.push(f),a&&BLK.apiGateway._callbackQueue.error.push(a),BLK.apiGateway._isAuthenticating||(BLK.apiGateway._isAuthenticating=!0,$.ajax({dataType:"json",url:b+"/is-authenticated",xhrFields:{withCredentials:!0},crossDomain:!0}).done(function(g){g=g.isAuthenticated;console.debug("isAuthenticated",g);BLK.apiGateway._isAuthenticated=g;!g&&c?BLK.apiGateway._login(b):BLK.apiGateway._executeCallbacks(BLK.apiGateway._callbackQueue.success,
  g);BLK.apiGateway._isAuthenticating=!1}).fail(function(g){console.log("Error while checking for authentication",g);BLK.apiGateway._executeCallbacks(BLK.apiGateway._callbackQueue.error,g);BLK.apiGateway._isAuthenticating=!1}))):(console.error("api-gateway URL not found"),a&&a())},_login:function(a){if(BLK.isCwpUserSignedIn){var b=encodeURIComponent(window.location.href),e=a+"/login?successRedirect\x3d"+b;"undefined"!==typeof errorPage&&errorPage&&(e+="\x26failureRedirect\x3d"+encodeURIComponent(errorPage));
  window.location.href=e;setTimeout(function(){window.location.href=e},10);throw Error("Interrupting page load to complete the redirect.");}},_executeCallbacks:function(a,b){$.each(a,function(e,c){c&&(c(b),delete a[e])})}};BLK.ready(function(){BLK.isCwpUserSignedIn&&$(".login-box \x3e li \x3e a").filter(function(a,b){return-1!=$(b).attr("href").indexOf("sign-out.saml")}).click(function(){$.ajax({url:BLK.apiGatewayUrl+"/logout",xhrFields:{withCredentials:!0},success:function(){console.log("Signed out from API gateway.")}})})});"undefined"!==typeof BLK&&BLK||(BLK={});
  BLK.watchlist=function(){var a={dataType:"json",method:"POST",xhrFields:{withCredentials:!0},crossDomain:!0},b={retrieveWatchlist:serviceProvider["api-gateway"]+"/wds/partner-data/get-all",addWatchlist:serviceProvider["api-gateway"]+"/wds/partner-data/add",removeWatchlist:serviceProvider["api-gateway"]+"/wds/partner-data/remove"};return{ajaxOption:a,watchlistPortfolios:[],defaultWatchlistName:"defaultWatchlist",watchlistUrls:b,baseAjaxOption:a,retrieveWatchlistData:{preferenceKey:"user.watchlist.defaultWatchlist",tags:"user.watchlist",
  type:"PORTFOLIO_LIKE",applications:["bfa","bfa.watchlist"]},extractPortfolios:function(e){e=void 0!==e.resultMap.SEARCH_RESULTS?e.resultMap.SEARCH_RESULTS[0]:e.resultMap.SEARCH_EDIT_RESULTS[0];var c=[];e.resultList&&0<e.resultList.length&&e.resultList[0].children&&(c=e.resultList[0].children);var f=[];"undefined"!==typeof screenerPortfolios?(c.forEach(function(g,h){0<=screenerPortfolios.indexOf(g.identifier)&&f.push(g)}),BLK.watchlist.watchlistPortfolios=f):f=c;return f},extractPortfolioIds:function(e){var c=
  [];e.forEach(function(f,g){c.push(Number(f.identifier))});return c},isPortfolioIdOnWatchlist:function(e,c){c=BLK.watchlist.extractPortfolios(c);for(var f={portfolioExists:!1,portfolioObj:{}},g=0;g<c.length;g++){var h=c[g];if(e===h.identifier){f.portfolioExists=!0;f.portfolioObj=h;break}}return f},activeWatchlistContents:function(e,c){e="\x3ca href\x3d'#addPortfolio' data-portfolio-id\x3d'"+e+"' data-user-data-unique-id\x3d'"+c+"'class\x3d'watchlist-anchor watchlist-active' title\x3d'"+(removeStarTooltip+
  "'\x3e");return e+"\x3cicon type\x3d'star' class\x3d'star'\x3e\x3c/icon\x3e\x3c/a\x3e"},inactiveWatchlistContents:function(e){e="\x3ca href\x3d'#addPortfolio' data-portfolio-id\x3d'"+e+"'class\x3d'watchlist-anchor watchlist-inactive' title\x3d'"+(addStarTooltip+"'\x3e");return e+"\x3cicon type\x3d'star' class\x3d'star star-inactive'\x3e\x3c/icon\x3e\x3c/a\x3e"},anonymousWatchlistContents:function(e){e="\x3ca href\x3d'#addPortfolio' data-portfolio-id\x3d'"+e+"'class\x3d'watchlist-anchor-anon watchlist-inactive' title\x3d'"+
  (anonStarTooltip+"'\x3e");return e+"\x3cicon type\x3d'star' class\x3d'star star-anon star-inactive'\x3e\x3c/icon\x3e\x3cicon type\x3d'lock' class\x3d'lock'\x3e\x3c/icon\x3e\x3c/a\x3e"},addToWatchlist:function(e,c,f,g,h){f=BLK.watchlist.getCookie("NAUTILUS-XSRF-TOKEN");h="undefined"===typeof h?"productScreener":h;e?c?(e={method:"POST",url:b.addWatchlist,data:{data:JSON.stringify({preferenceKey:"user.watchlist."+e,type:"PORTFOLIO_LIKE",applications:["bfa","bfa.watchlist"],children:[{preferenceKey:"user.watchlist."+
  e+".portfolio."+c,identifier:c,identifierType:"PORTFOLIO_ID",type:"PORTFOLIO_POSITION_LIKE"}],tags:[watchlistSiteName]}),rc:"bfa-new-data"}},f&&$.extend(e,{headers:{"X-NAUTILUS-XSRF-TOKEN":f}}),$.extend(e,a||{}),$.ajax(e).done(function(l){if(l.success){l=BLK.watchlist.extractPortfolios(l);console.log("added / Retrieved portfolios:",l.length);var q="";l.forEach(function(u,D){c==u.identifier&&(q=u.uniqueId)});if("productScreener"===h){var r=BLK.productScreener.getActiveTable();r.find(".watchlist-anchor[data-portfolio-id\x3d'"+
  c+"']").parent().html(BLK.watchlist.activeWatchlistContents(c,q));"undefined"!==typeof isRequestMobile&&"true"===isRequestMobile&&r.find(".watchlist-portfolio-"+c).html(BLK.watchlist.activeWatchlistContents(c,q))}else $(".watchlist-true").html(BLK.watchlist.activeWatchlistContents(c,q));BLK.iconDirective.update(r)}else console.error("Error while adding portfolio to watchlist",l)}).fail(function(l){console.error("Error while adding portfolio to watchlist",l);g&&g(c)})):console.error("portfolio-id required to add portfolio"):
  console.error("Watchlist name required to add portfolio")},removeFromWatchlist:function(e,c,f,g,h){h="undefined"===typeof h?"productScreener":h;f=BLK.watchlist.getCookie("NAUTILUS-XSRF-TOKEN");if(e)if(c){var l={method:"POST",url:b.removeWatchlist,data:{uniqueIds:'"'+c+'"'}};f&&$.extend(l,{headers:{"X-NAUTILUS-XSRF-TOKEN":f}});$.extend(l,a||{});$.ajax(l).done(function(q){if(q.success){var r=BLK.watchlist.watchlistPortfolios;r.forEach(function(D,H){e==D.identifier&&r.splice(H,1)});console.log("Removed / Retrieved portfolios:",
  r.length);if("productScreener"===h){var u=BLK.productScreener.getActiveTable();u.find(".watchlist-anchor[data-portfolio-id\x3d'"+e+"']").parent().html(BLK.watchlist.inactiveWatchlistContents(e,c));"undefined"!==typeof isRequestMobile&&"true"===isRequestMobile&&u.find(".watchlist-portfolio-"+e).html(BLK.watchlist.inactiveWatchlistContents(e))}else $(".watchlist-true").html(BLK.watchlist.inactiveWatchlistContents(e));BLK.iconDirective.update(u)}else console.error("Error while removing watchlist",q)}).fail(function(q){console.error("Error while removing watchlist",
  q);g&&g(e)})}else console.error("No uniqueId provided to remove");else console.error("No portfolio-id provided to remove")},updateWatchlist:function(e,c,f){f="undefined"===typeof f?"productScreener":f;"undefined"==typeof e||""==e?console.error("No watchlist name provided to update"):0===c.length?(console.log("No portfolios provided to add to "+e),e=$(".watchlist-anchor.watchlist-active"),e.removeAttr("data-user-data-unique-id"),e.addClass("watchlist-inactive").removeClass("watchlist-active"),e.find("i.fa").addClass("fa-star-inactive")):
  (BLK.watchlist.watchlistPortfolios=c,BLK.watchlist.renderWatchlistPortfolios(f))},renderWatchlistPortfolios:function(e){var c=BLK.watchlist.watchlistPortfolios;if("productScreener"===("undefined"===typeof e?"productScreener":e))if($table=BLK.productScreener.getActiveTable(),isWatchlistView=BLK.productScreener.watchlist.isWatchlistView(),showOnlyWatchlistView="undefined"!==typeof showOnlyWatchlist&&showOnlyWatchlist,0==c.length)console.log("No watchlist portfolios provided to render"),showOnlyWatchlistView?
  ($(".screener-overlay").addClass("hide"),BLK.productScreener.watchlist.showHideEmptyWatchlist(isWatchlistView,$(".watchlist-zero-records-dashboard"))):BLK.productScreener.watchlist.showHideEmptyWatchlist(isWatchlistView,$(".watchlist-zero-records"));else{showOnlyWatchlistView?$(".watchlist-zero-records-dashboard").addClass("display-none"):$(".watchlist-zero-records").addClass("display-none");$table.parent().removeClass("hide");var f=[];c.forEach(function(g){f.push(g.identifier)});$(".watchlist-anchor.watchlist-active").each(function(){var g=
  $(this).data("portfolio-id").toString();g&&f.indexOf(g)})}else f=[],c.forEach(function(g){f.push(g.identifier)})},handleVisibilityChange:function(e){document.hidden||e()},updateWatchlistOnTabSwitch:function(e){if(BLK.isCwpUserSignedIn){if("undefined"!==typeof document.hidden){var c="hidden";var f="visibilitychange"}else"undefined"!==typeof document.msHidden?(c="msHidden",f="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(c="webkitHidden",f="webkitvisibilitychange");"undefined"!==
  typeof document.addEventListener&&"undefined"!==typeof document[c]&&document.addEventListener(f,function(){BLK.watchlist.handleVisibilityChange(e)},!1)}},displayQTip:function(e,c){if(e){var f=$("#watchlistPopup");f.find(".message").addClass("hide");f.find(".message."+c).removeClass("hide");e.qtip({content:{text:function(g,h){return f.html()},button:!0},events:{hide:function(){e.removeClass("qtip-active");e.parent().removeClass("qtip-active")},show:function(){e.addClass("qtip-active");e.parent().addClass("qtip-active");
  $(document).one("click",function(){e.qtip("hide")})}},hide:{delay:"anon"==c?3E3:""},position:{my:"right center",at:"center left",target:e},show:{event:"",modal:!0},style:{classes:"watchlist-tip",def:!1,tip:{corner:!1}}}).qtip("show")}else console.error("No watchlist element provided")},getCookie:function(e){e+="\x3d";for(var c=document.cookie.split(";"),f=0;f<c.length;f++){for(var g=c[f];" "==g.charAt(0);)g=g.substring(1);if(0==g.indexOf(e))return g.substring(e.length,g.length)}return""}}}();"undefined"!==typeof BLK&&BLK||(BLK={});BLK.productV3=BLK.productV3||{};BLK.productV3.disableAnchorPound=function(a){a||(a="body");$(a).find('a[href$\x3d"#"]').on("click",function(b){b.preventDefault()})};
  BLK.productV3.infoBubbles=function(a){a||(a="body");tooltipElements=$(a).find(".product-info-bubble");if("undefined"!==typeof $.qtip&&0<tooltipElements.length){tooltipElements.qtip({content:{button:"Close"},style:{classes:"qtip-bootstrap product-tooltip",tip:{width:16}},position:{my:"bottom center",at:"top center",viewport:$("body"),adjust:{method:"shift none"}},show:{solo:!0,event:"focus click mouseenter"},hide:{event:"blur mouseleave",fixed:!0,delay:300},events:{render:function(e,c){}}});a=document.querySelectorAll("[oldtitle]");
  for(var b=0;b<a.length;b++)a[b].removeAttribute("oldtitle")}tooltipElements.on("click",function(e){e.stopPropagation()});tooltipElements.on("keydown",function(e){e.stopPropagation();"Escape"===e.key&&e.target.dispatchEvent(new CustomEvent("blur"))})};BLK.productV3.registerScrollEvent={scrollEvent:function(){var a=$('a[href\x3d"#esg-footer"]'),b=$('a[name\x3d"esg-footer"]');a.on("click",function(e){e.preventDefault();window.scrollTo(0,b.offset().top-100)})}};
  BLK.productV3.fundHeader={shareClassSelector:function(){var a=$("#shareClassSelect");a.on("change",function(){var b=a.find("option:selected");window.location.href=b.val()})},carousel:function(){function a(D,H,J,Q,K,G){Q=G?D+1:D-1;D===H-1&&0==G&&(newindex=H-1);D+1===H&&1==G&&(Q=0);-1==Q&&(Q=H-1);D=$(J[Q]).find(".next-arrow-content");D.length?(K.addClass("show-arrow"),G?K.html("\x3ch5\x3e"+$("#carouselNext").text()+"\x3c/h5\x3e"+D.html()):K.html("\x3ch5\x3e"+$("#carouselPrev").text()+"\x3c/h5\x3e"+
  D.html()),J.removeClass("no-next-arrow")):(K.removeClass("show-arrow"),K.html(""),J.addClass("no-next-arrow"))}var b=$("#carousel"),e=$("#overview"),c=BLK.responsive.isResponsive?b.find('section:has(".key-benefits, .fund-objective")'):b.find("section"),f=c.length,g=!1,h=!1;c.addClass("slide");1<f&&(g=!0,h={next:'\x3ca class\x3d"unslider-arrow next" data-arrow-dir\x3d"next"\x3e\x3cdiv class\x3d"arrow"\x3e\x3c/div\x3e\x3cdiv class\x3d"arrow-text"\x3e\x3c/div\x3e\x3c/a\x3e',prev:'\x3ca class\x3d"unslider-arrow prev" data-arrow-dir\x3d"prev"\x3e\x3cdiv class\x3d"arrow"\x3e\x3c/div\x3e\x3cdiv class\x3d"arrow-text"\x3e\x3c/div\x3e\x3c/a\x3e'});
  b=b.unslider({arrows:h,selectors:{container:".overview",slides:".slide"},nav:g});e.addClass("carousel-loaded");g=$(".unslider-nav ol");g.before($(".unslider-arrow.prev")[0]);g.after($(".unslider-arrow.next")[0]);var l=e.find(".unslider-arrow.next"),q=l.find(".arrow-text"),r=e.find(".unslider-arrow.prev"),u=r.find(".arrow-text");a(0,f,c,l,q,!0);a(0,f,c,r,u,!1);b.on("unslider.change",function(D,H,J){-1==parseInt(H)&&(H=f-1);a(parseInt(H),f,c,l,q,!0);a(parseInt(H),f,c,r,u,!1)})},sticky:function(){var a=
  $(".sticky-header"),b=$(".main-header"),e=$(".main-header-holder"),c=$(".anchor-nav-container"),f=c.length?c.offset().top-32:0,g=e.length?e.offset().top+e.height()/2:0;$(window).scroll(function(){var l=$(this).scrollTop();l>g?a.addClass("fixed show-1"):l<=g&&a.removeClass("fixed show-1 show-2");l>f?(a.addClass("show-2"),b.addClass("hide")):l<=f&&(a.removeClass("show-2"),b.removeClass("hide"))});e=$(".anchor-nav ul li").children();var h=[];$(e).each(function(l){l=$(this);var q=l.attr("href");0<$(q).length?
  h.push(q):l.closest("li").addClass("display-none")});$(window).scroll(function(){var l=$(window).scrollTop();$(window).outerHeight();$(document).outerHeight();$(".anchor-nav li").removeClass("active");for(var q=0;q<h.length;q++){var r=h[q],u=$(r).offset().top-100,D=$(r).outerHeight();l>=u&&l<u+D?($(".anchor-nav li").removeClass("active"),$("a[href\x3d'"+r+"']").parents("li").addClass("active")):$(".sticky-header").hasClass("show-2")||$(".anchor-nav li").removeClass("active")}})},anchorLinkClick:function(){$(".anchor-nav li").on("click",
  function(a){var b=$(this).find("a").attr("href");a.preventDefault();$("html, body").animate({scrollTop:$(b).offset().top-80},1E3);setTimeout(function(){$(".anchor-nav li").removeClass("active");$("a[href\x3d'"+b+"']").parents("li").addClass("active")},1050)})},init:function(){BLK.productV3.fundHeader.shareClassSelector();BLK.productV3.fundHeader.carousel();BLK.productV3.fundHeader.sticky();BLK.productV3.fundHeader.anchorLinkClick()}};
  BLK.productV3.equaliseTabHeight=function(a){var b=34;a=a.find(".component-tabs li a");a.each(function(e){e=$(this).height();e>b&&(b=e)});a.height(b)};BLK.productV3.equaliseDataRowHeight=function(){$(".fund-component .product-data-list .in-left").each(function(a){a=$(this);var b=$(this).next(".in-right");a.height()>b.height()?b.height(a.height()):a.height(b.height())})};
  BLK.productV3.equaliseSplitTableRowHeight={init:function(a){(a?$("#"+a).find(".fund-component div.split-table"):$(".fund-component div.split-table")).each(function(){var b=$(this);b.find(".table-odd tr").each(function(e){var c=$(this);c.index();e=b.find(".table-even tr:eq("+e+")");c.height()>e.height()?e.height(c.height()):c.height(e.height())})})}};
  BLK.productV3.alert={init:function(){$(function(){if($(".product_alert_short_description")[0]&&$(".product_alert_long_description")[0])$("#product_alert_box_message .product_alert_short_description, #product_alert_text .product_alert_long_description").remove(),$(".product_alert_short_description").append(' \x3ca href\x3d"#" id\x3d"open_alert"\x3eFind out more \x3e\x3e\x3c/a\x3e'),$("#product_alert_text, #product_alert_box_message").removeClass("hidden"),$(".product_alert_long_description").addClass("product_alert_cls"),
  $("#open_alert").click(function(){$("#product_alert_box_holder").toggle()}),$("#product_alert_box_title").append($(".product-title").attr("title")),$("body").mouseup(function(a){$(a.target).hasClass("product_alert_cls")||$("#product_alert_box_holder").removeAttr("style")});else if($(".product_alert_short_description")[0]||$(".product_alert_long_description")[0])$("#product_alert_text").removeClass("hidden"),$("#product_alert_box_message").remove()})}};BLK.productV3.alert.init();
  BLK.productV3.dataConfigTable=function(a){if(a.length){var b=a.attr("id")+"Table";a=a.find("#"+b);var e=eval(b+"ColumnsConfig");b={autoWidth:!1,dom:'t\x3c"datatables-utilities clearfix"\x3c"table-info"i\x3e\x3c"product-page-pagination"pP\x3e\x3c"show-all"\x3e\x3e',lengthChange:!1,deferRender:!0,searching:!0,scrollX:!0,language:{info:eval(b+"DisplayMessage"),sInfoFiltered:eval(b+"FilteredMessage"),sInfoEmpty:eval(b+"EmptyMessage")}};b.columns=e;b=a.on("draw.dt",function(c){BLK.productV3.addPaginationRole(c.target)}).DataTable(b);
  BLK.productV3.addTableTabindex(b);BLK.productV3.addPaginationRole(b)}};BLK.productV3.listingsTable=function(a){a=$("#listingsTable");var b=$("#listings");BLK.productV3.dataConfigTable(b);BLK.productV3.datatables.searchTable(b,a)};BLK.productV3.pricingAndExchangeTable=function(a){a=$("#pricingAndExchangeTable");var b=$("#pricingAndExchange");BLK.productV3.dataConfigTable(b);BLK.productV3.datatables.searchTable(b,a)};
  BLK.productV3.exchangeTable=function(a){a=$("#exchangeTable");var b=$("#exchange");BLK.productV3.dataConfigTable(b);BLK.productV3.datatables.searchTable(b,a)};BLK.productV3.premiumDiscountDetailsTable=function(a){a=$("#premiumDiscountDetailsTable");var b=$("#premiumDiscountDetails");BLK.productV3.dataConfigTable(b);BLK.productV3.datatables.searchTable(b,a)};
  BLK.productV3.pricingTable=function(a){a=$("#pricingTable");var b=$("#pricing");BLK.productV3.dataConfigTable(b);BLK.productV3.datatables.searchTable(b,a)};BLK.productV3.riskIndicatorRegulatorLink=function(){var a=$("#riskIndicator").find(".new-risk-indicator-section"),b=a.data("regulator-link");if(b)a.on("click",function(){window.open(-1<b.indexOf("http://")?b:"http://"+b)})};
  BLK.productV3.ratings=function(a){var b=$("#ratingsAndAwards"),e=!1;b.length&&0<b.attr("class").indexOf("show-content-only")&&(e=!0);if(!e){var c=0,f;b.find(".rating-container").each(function(g){g=$(this);0<g.children().length?(e=!0,c++,f=g):(g.addClass("display-none"),b.parent().siblings(".mobile-collapse-trigger").addClass("display-none"))});1==c&&(f.removeClass("in-left in-right").addClass("in-center"),b.find(".mstar-report-link").addClass("in-center"))}!1===e&&"undefined"!==typeof isEditMode&&
  "false"===isEditMode&&b.addClass("display-none")};
  BLK.productV3.tabs={init:function(){var a=$(".fund-component-parent div[data-pp-tabs]");BLK.productV3.tabs.tabsHandler(a);BLK.productV3.tabs.dropdownHandler()},tabsHandler:function(a){$(a).find(".component-tabs-panel.active").fadeIn();$(a).find(".component-tabs li a").click(function(b){b.preventDefault();if(!$(this).parents(".component-tabs").hasClass("disabled")){$(this).parent().siblings("li.active").removeClass("active");$(this).parent().addClass("active");b=$($(this).attr("href"));b.siblings(".component-tabs-panel").removeClass("active");
  b.addClass("active");var e=b.find("[data-ajaxuri]").not("[data-sub-tab]");0<e.length&&0===$(e).find(".tab-loaded").length&&"undefined"===typeof $(e).attr("data-table")&&"undefined"===typeof $(e).attr("data-chart")&&BLK.productV3.tabs.ajax(b,e);b.find(".component-tabs.sub-tabs li.active:visible a").trigger("click");if("undefined"===typeof b.attr("data-performance-chart")&&0===b.find("[data-distro-chart]").length||"true"===b.attr("data-ajax-loaded"))e=b.parents(".modal-content"),e.length&&(e=e.parent(),
  BLK.productV3.tabs.adjustModalPosition(e));"holdings"===b.parents(".fund-component-parent").attr("id")&&BLK.productV3.equaliseSplitTableRowHeight.init()}BLK.productV3.mobileScrollShadows.onTables($(".product-table"),0)})},dropdownHandler:function(a,b){"undefined"===typeof a&&(a=$(".fund-component-parent"));$(a).on("change",".date-dropdown",function(){var e=$(this).val();var c="undefined"!==typeof b&&b?a:$(this).parents(".component-tabs-panel.active").first()[0];var f=$(c).find("[data-ajaxuri]").not("[data-sub-tab]");
  0<f.length&&"undefined"===typeof $(f).attr("data-table")&&"undefined"===typeof $(f).attr("data-chart")&&BLK.productV3.tabs.ajax(c,f,e)})},loading:function(a,b,e){b?($(a).hide(),$(a).siblings(".data-loading").first().show(),e&&$(a).parents(".component-tabs-panel").find(".sub-tabs").addClass("disabled")):($(a).show(),$(a).siblings(".data-loading").first().hide(),e&&$(a).parents(".component-tabs-panel").find(".sub-tabs").removeClass("disabled"))},adjustModalPosition:function(a){a.height("auto");a.find(".modal-content").height("auto");
  var b=a.outerHeight(),e=$(window).height(),c=(e-b)/2;0>c&&(c=0,a.find(".modal-content").height(e-(b-a.outerHeight())-a.find(".ui-dialog-titlebar").outerHeight()));a.animate({top:c})},ajax:function(a,b,e,c){var f=$(a).parent();BLK.productV3.tabs.loading(b,!0);$.ajax({url:$(b).attr("data-ajaxuri"),cache:!0,data:{asOfDate:e},contentType:"application/x-www-form-urlencoded",traditional:!0}).done(function(g){g=BLK.responseScriptNonce(g);$(a).html(g);BLK.productV3.equaliseTabHeight($(a));BLK.productV3.disableAnchorPound(a);
  BLK.productV3.infoBubbles(a);BLK.productV3.tabs.tabsHandler(a);BLK.productCharts.performance.init(a);BLK.productCharts.premiumDiscount.init(a);BLK.productCharts.premiumDiscountChart.init(a);BLK.responsive.isResponsive&&BLK.productV3.mobileCollapse.tabs(a);BLK.productV3.performance.returnsDataCheck();c&&(BLK.productV3.tabs.dropdownHandler(a,c),BLK.productV3.tabs.adjustModalPosition(f));BLK.productV3.tabs.loading(b,!1)}).fail(function(g){var h=$(a);if("#tax-distributionsDialog"===a||"tabsTax-distributions"===
  h.attr("id")){var l=h.children(".disclaimers").html();h.html(g.responseText);h.append("\x3cbr/\x3e"+l)}else h.html(g.responseText)})}};
  BLK.productV3.performance={initThumbnails:function(){$("#performanceThumbnails .performance-modal").on("click",function(a){var b=$(this),e=b.attr("href");a=b.data("modaltitle");BLK.modal.openDialog(e,{dialogClass:"blk-modal product-dialog",title:a,open:function(){b.hasClass("distributions")&&BLK.responsive.isResponsive?$(e).find(".component-tabs:first li.active:hidden a").trigger("click"):$(e).find(".component-tabs:first li.active:visible a").trigger("click");var c=$(e).find("[data-ajaxuri]").not("[data-sub-tab]");
  0<c.length&&0===$(c).find(".tab-loaded").length&&"undefined"===typeof $(c).attr("data-table")&&"undefined"===typeof $(c).attr("data-chart")&&BLK.productV3.tabs.ajax(e,c,null,!0);$(".blk-modal.product-dialog").animate({scrollTop:0},"fast")},width:800,close:function(c,f){location.hash="/";$("#ui-datepicker-div").remove()}});$(".ui-dialog:visible").promise().done(function(){setTimeout(function(){var c=$(".blk-modal.product-dialog.ui-dialog:visible"),f=$(".ui-dialog-content:visible .highcharts-container");
  c.css({overflow:"auto",height:"100%"});f.css({"max-height":f.height()+"px"});c.animate({top:($(window).height()-c.outerHeight())/2})},500)})})},initDistributionOptions:function(){$("body").on("click","#prices ul li",function(a){a=$(a.target).data().tab;$("#prices .fund-component").addClass("display-none");$("#prices .fund-component."+a).removeClass("display-none")})},initProductCommentary:function(){var a=$('a[href\x3d"#prodCommentary"]'),b=$("#prodCommentary");a.clickToggle(function(e){e.preventDefault();
  a.find("i.fa").removeClass("fa-angle-down").addClass("fa-angle-up");b.slideDown("slow")},function(e){e.preventDefault();a.find("i.fa").removeClass("fa-angle-up").addClass("fa-angle-down");b.slideUp("slow")})},returnsDataCheck:function(){var a=0===$("#performance").parents(".ls-cmp-wrap").next(".ls-cmp-wrap").find(".article").length;"undefined"!==typeof js_hasCalendarYear&&"false"===js_hasCalendarYear&&($("table.calendar-year").addClass(" display-none"),a&&$("#no-calendar-year-msg").removeClass(" display-none"));
  "undefined"!==typeof js_hasCumulativePerf&&"false"===js_hasCumulativePerf&&($("table.cumulative-returns").addClass(" display-none"),a&&$("#no-cumulative-perf-msg").removeClass(" display-none"))},init:function(){window.HashChangeEvent||function(){var e=document.URL;window.addEventListener("hashchange",function(c){Object.defineProperty(c,"oldURL",{enumerable:!0,configurable:!0,value:e});Object.defineProperty(c,"newURL",{enumerable:!0,configurable:!0,value:document.URL});e=document.URL})}();BLK.productV3.performance.initThumbnails();
  BLK.productV3.performance.returnsDataCheck();BLK.productV3.performance.initDistributionOptions();BLK.productV3.performance.initProductCommentary();var a=$("#performance .component-tabs li.active a"),b="undefined"!==typeof isVt&&null!==isVt?isVt:!1;0<a.length&&!1===b&&a.trigger("click")}};
  BLK.productV3.datatables={ajaxCallbacks:{allHoldings:function(a){a.disclaimer&&$("#breakdown-disclaimer").text(a.disclaimer)}},findColIndexDataTable:function(a,b,e){a="dataAttribute"==b?a.find("thead \x3e tr \x3e th.col"+a.attr("data-"+e)).index():a.find("thead \x3e tr \x3e th.col"+e).index();return isNaN(a)||0>a?-1:a},toggleDataTableRecords:function(a,b){var e=a.DataTable(),c=e.page.info(),f=a.parents(".dataTables_scrollBody"),g=a.parents(".dataTables_wrapper").find(".show-all"),h=a.parents(".modal-content").length;
  g.html('\x3ca href\x3d"#" class\x3d"toggle-records" role\x3d"button"\x3e'+$("#showAll").text()+"\x3c/a\x3e");var l=g.find(".toggle-records");f.length&&(25>e.column(0).data().length?f.css("height","auto"):h?f.css("max-height","100%"):f.css("max-height","630px"));var q=a.parents(".modal-content"),r=function(){var u=q.parent();BLK.productV3.tabs.adjustModalPosition(u)};a=function(u){u.preventDefault();l.text($("#showFewer").text()).toggleClass("expanded");e.page.len(-1).draw();q&&r()};g=function(u){u.preventDefault();
  f.scrollTop(0);e.page.len(b).draw();l.text($("#showAll").text()).toggleClass("expanded");h?r():$("html, body").animate({scrollTop:f.offset().top-300},700)};0<c.pages&&l.clickToggle(a,g)},searchTable:function(a,b){function e(l){return l?"addClass":"removeClass"}var c=$(".default-search-text").text(),f=a.find("input.clearable"),g=b.DataTable(),h=a.find(".show-all");f.attr("placeholder",c);f.keyup(function(){g.search(this.value).draw();2>g.page.info().pages?h.addClass("hide"):h.removeClass("hide")});
  $(document).on("input",".clearable",function(){$(this)[e(this.value)]("x")}).on("mousemove",".x",function(l){$(this)[e(this.offsetWidth-18<l.clientX-this.getBoundingClientRect().left)]("on-x")}).on("click",".on-x",function(){var l=$(this);l.removeClass("x on-x").val("");l=l.data("target-table");$("#"+l).DataTable().search("").draw();h.removeClass("hide")})},rowGrouping:function(a,b,e){if(-1!=b){var c=a.DataTable(),f=a.attr("id")+"_wrapper",g=c.columns(":visible").data().length,h=c.rows({page:"current"}).nodes(),
  l=null;c.column(b,{page:"current"}).data().each(function(q,r){var u=q.replace(" ","-").toLowerCase();l!==q&&($(h).eq(r).before('\x3ctr class\x3d"row-grouping" data-group-name\x3d"'+u+'"\x3e\x3ctd colspan\x3d"'+g+'"\x3e'+e+": "+q+"\x3c/td\x3e\x3c/tr\x3e"),l=q);$(h).eq(r).attr("data-group-name",u+"-row")});$("#"+f).find(".col"+(b+1)).addClass("hide");BLK.productV3.datatables.rowGroupingShowHide(a,b)}},rowGroupingShowHide:function(a,b){if(-1!=b)a.find("tr.row-grouping").on("click",function(){var e=$(this),
  c=e.attr("data-group-name")+"-row";c=a.find("[data-group-name\x3d'"+c+"']");e.toggleClass("collapse");e.hasClass("collapse")?c.addClass("hide"):c.removeClass("hide")})},productDataTable:function(a){var b={componentTabId:"allHoldingsTab",tableName:"allHoldingsTable",columnConfig:null,defaultRecords:10};for(g in b)if("undefined"==typeof a[g]||null===a[g])a[g]=b[g];var e=a.componentTabId,c=$("#"+e),f=$("#"+a.tableName);b="."+a.tableName;var g=a.columnConfig;var h=a.defaultRecords;var l=parseInt(f.attr("data-sortOn"));
  var q=f.attr("data-sortDirection");var r=BLK.productV3.datatables.findColIndexDataTable(f,"dataAttribute","groupOnColumn"),u=f.attr("data-groupLabel"),D=f.attr("data-customGroupSortArray"),H=BLK.productV3.datatables.findColIndexDataTable(f,"class","MarketValue"),J=25<=parseInt(h),Q=a.emptyTable?a.emptyTable:$("#emptyTable").text(),K="undefined"==typeof c.attr("data-ajaxUri")?null:c.attr("data-ajaxUri");e=window["dt"+e.charAt(0).toUpperCase()+e.slice(1)+"Data"];var G=a.data?a.data:e?e.aaData:null,
  Z=a.dataParam||null,U=!1,k="undefined"==typeof a.ajaxCallback?null:a.ajaxCallback,m="undefined"==typeof a.initComplete?null:a.initComplete;if("undefined"!==typeof D&&0<D.length){BLK.product.customEnumGrouping("customEnumGrouping",D);var z=[{type:"customEnumGrouping",targets:r}];l=[[r,"asc"],[H,"desc"]];q=!0}else 0<=r?(l=[[r,"asc"]],q=!0):isNaN(l)||0>l?(l=[],q=!1):(l=[l,q],q=!0);if(null!=K||void 0!=e)U=!0;c.hasClass("thumbnail-wrapper")&&(c.siblings(".performance-modal").find(".thumb").hide(),c.on("click",
  function(w){w.preventDefault();BLK.productCharts.triggerModal(this)}));a={ajax:K?function(w,O,R){var T="undefined"===typeof c.attr("data-table")?c.find("[data-table]"):c;w=T.parents(".modal-content");if(w.length)var ba=w.parent();BLK.productV3.tabs.loading(T,!0,!0);$.ajax(K).done(function(W){BLK.productV3.tabs.loading(T,!1,!0);T.addClass("table-loaded");T.find("table").width("100%");null===Z?O(W):O(W[Z]);k&&k(W);"undefined"!==typeof ba&&ba.length&&BLK.productV3.tabs.adjustModalPosition(ba)}).fail(function(W){404===
  W.status?c.html("\x3cp\x3eMissing data is resulting in a page not found (404) error.\x3c/p\x3e"):c.text(W.responseText);BLK.productV3.tabs.loading(T,!1,!0);W=c.attr("id");$("a[data-anchor\x3d'"+W+"']").addClass("display-none")})}:null,autoWidth:!0,columnDefs:z,columns:g,deferRender:U,data:G,dom:'t\x3c"datatables-utilities ui-helper-clearfix"\x3c"table-info"i\x3e\x3c"product-page-pagination"pP\x3e\x3c"show-all"\x3e\x3e',language:{search:"",info:"_START_ "+$("#tablesTo").text()+" _END_ "+$("#tablesOf").text()+
  " _TOTAL_",emptyTable:Q},order:l,ordering:q,paging:!0,pagingType:"simple_numbers",pageLength:h,processing:J,scrollX:"true"===a.scrollX,drawCallback:function(w){0>=this.api().page.info().recordsTotal?f.parents(".fund-tab").find(".table-controls").find(".datatable-search-field, .custom-columns").addClass("display-none"):f.parents(".fund-tab").find(".table-controls").find(".datatable-search-field, .custom-columns").removeClass("display-none");BLK.productV3.datatables.rowGrouping(f,r,u)},initComplete:function(){m&&
  m();BLK.productV3.datatables.searchTable(c,f);f.DataTable().data().length>h&&BLK.productV3.datatables.toggleDataTableRecords(f,h)}};var v=f.on("draw.dt",function(w){BLK.productV3.addPaginationRole(w.target)}).DataTable(a);$(b+" .col-display input").on("click",function(){var w=v.column($(this).attr("data-col-index"));w.visible(!w.visible());f.find("tr.row-grouping \x3e td").attr("colspan",v.columns(":visible").data().length)});null!=K&&c.find(".component-date-list").delegate(".date-dropdown","change",
  function(){var w=$(this).val(),O=c.parents(".fund-component-parent").find(".fund-component-data-export a");if(0<O.length){var R=O.attr("href");R=0<=R.indexOf("asOfDate")?R.replace(/asOfDate.*/,"asOfDate\x3d"+w):R.concat("\x26asOfDate\x3d"+w);O.attr("href",R)}c.find(".dataTables_scrollBody").css("height","600px");v.clear().draw();c.find(".dataTables_empty").text("Loading new data...");v.ajax.url(K+"\x26asOfDate\x3d"+w).load(function(T){c.find(".dataTables_empty").text("No data available for this date. Please select a different date.");
  c.find(".dataTables_scrollBody").css("height","auto");k&&k(T)})});BLK.productV3.addTableTabindex(v);BLK.productV3.addPaginationRole(v);return v},init:function(){var a=function(c){var f=$(c).attr("data-table");return{componentTabId:"undefined"===typeof $(c).attr("data-tab-id")?f+"Tab":$(c).attr("data-tab-id"),tableName:"undefined"===typeof $(c).attr("data-table-name")?f+"Table":$(c).attr("data-table-name"),columnConfig:"undefined"===typeof $(c).attr("data-column-config")?eval(f+"ColumnsConfig"):eval($(c).attr("data-column-config")),
  defaultRecords:"undefined"!==typeof $(c).attr("data-records")?parseInt($(c).attr("data-records"),10):null,ajaxCallback:"undefined"!==typeof $(c).attr("data-ajax-callback")?eval("BLK.productV3.datatables.ajaxCallbacks."+f):null,dataParam:"undefined"!==typeof $(c).attr("data-param")?$(c).attr("data-param"):null,scrollX:"undefined"!==typeof $($(c).find("table")).attr("data-scrollx")?$($(c).find("table")).attr("data-scrollx"):!1}};$(".fund-component-parent div[data-table]:visible").each(function(c,f){try{var g=
  a(f);BLK.productV3.datatables.productDataTable(g)}catch(h){console.log(h)}});$(".fund-component-parent div[data-table]:hidden").each(function(c,f){"undefined"!==typeof $(f).parent().attr("data-sub-tab")?c=$(f).closest(".component-tabs-panel").attr("id"):(c=$(f).parents(".component-tabs-panel"),c=$(c).last().attr("id"));$('a[href\x3d"#'+c+'"]').one("click",function(g){g.preventDefault();if(!$(f).hasClass("table-loaded"))try{var h=a(f);BLK.productV3.datatables.productDataTable(h)}catch(l){console.log(l)}})});
  var b=function(c){c.stopPropagation();c.preventDefault();var f=$(this).parent();f.addClass("col-display-holder");f.parent().is(".col-display-shadow")&&f.unwrap();f.wrap("\x3cdiv class\x3d'col-display-shadow'\x3e\x3c/div\x3e");c=$(this).closest(".col-display-shadow");f=[$(this)[0],$(this).next()[0],f,c];$(".col-display-overlay").remove();c.prepend('\x3cdiv class\x3d"col-display-overlay"\x3e\x3c/div\x3e');$(f).toggleClass("open")},e=$(".custom-columns label.col-display-label");e.on("click",function(c){b.bind(this)(c)});
  e.on("keydown",function(c){"Space"!==c.code&&"Enter"!==c.code||b.bind(this)(c)});$("body").on("click touchstart",function(c){$(c.target).is(".col-display *")||setTimeout(function(){$(".col-display-label.open, .col-display.open, .col-display-holder.open, .col-display-shadow.open").toggleClass("open")},100)})},simple:{render:function(a){var b=a.dataObj,e=a.$tableChartContainer.find("table.product-table"),c=e.data("has-fund"),f=e.data("has-index"),g="geo"==a.chartType,h=a.hasRankOrder,l=-1,q=[{data:"name"},
  {data:"value"}],r=h?[[0,"asc"]]:[[1,"desc"]];"undefined"!==typeof a.showMoreLength&&(l=a.showMoreLength);h&&(q=[{data:{_:"rank",display:"name"}},{data:"value"}]);a={columns:q,columnDefs:[{render:function(u,D,H){return'\x3cdiv class\x3d"type-label" title\x3d"'+u+'"\x3e'+u+"\x3c/div\x3e"},targets:0}],data:b,dom:"rt",info:!1,order:r,pageLength:l,rowId:"name",searching:!1,createdRow:function(u,D,H){u=$(u);g&&"undefined"!==typeof b[H].code&&u.attr("data-geo-code",b[H].code);u.find("td").not(":first").each(function(){var J=
  $(this);"-"===J.text().charAt(0)&&J.addClass("negative")})},drawCallback:function(u){var D=$(this),H=D.DataTable(),J=D.find("[id\x3d'Other']");-1==u._iDisplayLength?(J.show(),D.find("tbody").append(J)):H.data().count()>H.page.len()&&0<J.length&&(J.hide(),u._iDisplayLength=u.oInit.iDisplayLength+1)},initComplete:function(u,D){$(this).DataTable().draw()}};c?f&&(a.columns=h?[{data:{_:"rank",display:"name"}},{data:"value"},{data:"benchmark"},{data:"net"}]:[{data:"name"},{data:"value"},{data:"benchmark"},
  {data:"net"}]):a.columns=h?[{data:{_:"rank",display:"name"}},{data:"benchmark"}]:[{data:"name"},{data:"benchmark"}];g&&a.data.forEach(function(u){"OTHR"===u.code&&(u.rank=999)});e=e.DataTable(a);BLK.productV3.addTableTabindex(e);return e},toggleDtRecords:function(a){var b=a.$tableChartContainer.find("table.product-table"),e=b.DataTable(),c=b.find("[id\x3d'Other']"),f=!1;if(e.data().count()>a.showMoreLength){var g=$("#"+a.id+"ShowAll"),h=$("#"+a.id+"ShowFewer");g.removeClass("display-none");g.on("click",
  function(){0<c.length&&(f=!0);e.page.len(-1).draw();$(this).add(h).toggleClass("display-none")});h.on("click",function(){f&&(a.showMoreLength=e.settings()[0].oInit.pageLength+1);e.page.len(a.showMoreLength).draw();$(this).add(g).toggleClass("display-none");var l=b.offset();$("html, body").animate({scrollTop:l.top-($(".sticky-header").height()+160)},1E3)})}},init:function(){var a=function(b){b=$(b);var e=b.data("tab-id"),c=e+"Chart",f=eval(e+"ChartType"),g=b.data("container-name"),h=eval(e+"DataTable"),
  l=e+"DataTable",q=b.closest(".fund-component-parent").data("show-more-length"),r=eval(e+"DataTableHasRankOrder");return{categories:[],chartId:c,chartType:f,containerName:g,dataObj:h,dataTableId:l,showMoreLength:q,hasRankOrder:r,id:e,$tableChartContainer:b}};$(".fund-component-parent div[data-chart-type]:visible").each(function(b,e){try{var c=a(e);BLK.productV3.datatables.simple.render(c);0<c.showMoreLength&&BLK.productV3.datatables.simple.toggleDtRecords(c)}catch(f){console.log(f)}});$(".fund-component-parent div[data-chart-type]:hidden").each(function(b,
  e){b=$(e).data("tab-id");$('a[href\x3d"#'+b+'"]').one("click",function(){try{var c=a(e);BLK.productV3.datatables.simple.render(c);0<c.showMoreLength&&BLK.productV3.datatables.simple.toggleDtRecords(c)}catch(f){console.log(f)}})})}}};
  BLK.productV3.muniCalculator=function(){$("body").on("change","#price_muni",function(){var a=$("#price_muni").val();!isNaN(a)&&0<a&&20000.1>a?($("#btn_muni_calc").removeClass("button-disabled").addClass("button"),$("#muni_error span").removeClass("show").addClass("show-false")):($("#btn_muni_calc").removeClass("button").addClass("button-disabled"),$("#muni_error span").removeClass("show-false").addClass("show"))});$("#btn_muni_calc").on("click",function(a){$(this).hasClass("button")&&(a=$("#price_muni").val(),
  $.ajax({type:"GET",url:muniCalculatorAjaxUrl,data:{price:a},success:function(b){$("#muniResults").empty().append($(b));BLK.productV3.disableAnchorPound("#muniResults");BLK.productV3.infoBubbles("#muniResults");document.querySelector("#muniResults").focus()}}))})};BLK.productV3.showHideDeltaDebug=function(){$("a.delta-detail").on("click",function(a){a=$(this).attr("id");a=a.split("-")[1];a=document.getElementById("deltaBlock-"+a);a.style.display="none"==a.style.display?"block":"none"})};
  BLK.productV3.expandTabAdmin=function(){$("ul.product-component-config a.expand").click(function(){$(this).siblings(".product-component-config:not(.properties)").toggle().toggleClass("display-none");$(this).toggleClass("open");return!1})};
  BLK.productV3.initializePriceYieldCalc=function(){function a(b,e,c,f,g){b="identifiers\x3d"+b+"\x26fileType\x3djson\x26noWrapper\x3dtrue";var h=$("#pycDate").val();h&&(b=b+"\x26date\x3d"+h);(h=$("#pycSettlementDate").val())&&(b=b+"\x26settlementDate\x3d"+h);f&&(b=b+"\x26investmentCalcType\x3d"+f);e?b=b+"\x26price\x3d"+e:c&&(b=b+"\x26"+g+"\x3d"+c);$.ajax({type:"POST",url:$("#pycAjaxUrl").val(),beforeSend:function(){$(".spinner").show();$("#pycPrice,#pycYield").prop("disabled",!0)},data:b,contentType:"application/x-www-form-urlencoded",
  traditional:!0}).done(function(l){$(".spinner").hide();$("#pycPrice,#pycYield,#priceYieldCalculateBtn,#priceYieldCalculateResetBtn").prop("disabled",!1);try{var q=l.resultMap.SECURITY[0];$("#pycPrice,#pycYield,#pycModifiedDuration").val("");var r=parseFloat(q.previousClosePrice).toFixed(2),u=parseFloat(q[g]).toFixed(2),D=parseFloat(q.modifiedDuration).toFixed(2);"NaN"!=r?$("#pycPrice").val(r):$("#pycPrice").val(e);"NaN"!=u?$("#pycYield").val(u):$("#pycYield").val(c);"NaN"!=D?$("#pycModifiedDuration").val(D):
  $("#pycModifiedDuration").val("");$("#pycModifiedDuration").prop("disabled",!0)}catch(H){console.log("price yield calc error:"+H),$("#pycPrice,#pycYield,#priceYieldCalculateBtn,#priceYieldCalculateResetBtn").prop("disabled",!1),$(".spinner").hide(),$("#pycErrMsg").closest("tr").removeClass("display-none")}}).fail(function(l){console.log("price yield calc error.");$("#pycPrice,#pycYield,#priceYieldCalculateBtn,#priceYieldCalculateResetBtn").prop("disabled",!1);$(".spinner").hide();$("#pycErrMsg").closest("tr").removeClass("display-none")})}
  $("#priceYieldCalculator").length&&($(document).on("click","#priceYieldCalculateBtn",function(b){b.preventDefault();$("#pycErrMsg").closest("tr").addClass("display-none");b=$("#pycFundIdentifier").val();var e=$("#pycPrice").val(),c=$("#pycYield").val(),f=$("#yieldDropDown option:selected").val(),g="yieldToWorst";"call"==f?g="yieldToCall":"maturity"==f&&(g="yieldToMaturity");$(this).prop("disabled",!0);$("#priceYieldCalculateResetBtn").prop("disabled",!0);a(b,e,c,f,g)}),$("#pycPrice").on("keyup",function(){$("#pycYield").prop("disabled",
  !0);$("#pycYield,#pycModifiedDuration").val("");""==$("#pycPrice").val()&&$("#pycYield").prop("disabled",!1)}),$("#pycYield").on("keyup",function(){$("#pycPrice").prop("disabled",!0);$("#pycPrice,#pycModifiedDuration").val("");""==$("#pycYield").val()&&$("#pycPrice").prop("disabled",!1)}),$("#priceYieldCalculateResetBtn").on("click",function(){$("#pycPrice,#pycYield").prop("disabled",!1);$("#pycPrice,#pycYield,#pycModifiedDuration").val("");$("#pycErrMsg").closest("tr").addClass("display-none")}),
  $("#yieldDropDown").on("change",function(){$("#yieldInfobubbles span").addClass("display-none");var b=$(this).val();$("#yieldInfobubbles #"+b).removeClass("display-none").show()}))};
  BLK.productV3.portfolioManagerBio={init:function(){if(!BLK.responsive.isResponsive){var a=$(".bio-side-panel").height(),b=$(".bio-list").height();a>b?$(".bio-list").css("height",a):$(".bio-side-panel").css("height",b)}$(".pm-modal").on("click",function(e){e=$(this).attr("href");BLK.modal.openDialog(e,{dialogClass:"blk-modal product-dialog",title:$(this).attr("data-modaltitle"),close:function(c,f){location.hash="/"}})})}};
  BLK.productV3.renderHoldingsTable=function(){$(".holdingTable").each(function(a){a={autoWidth:!1,lengthChange:!1,bInfo:!1,deferRender:!0,searching:!1,paging:!0,dom:'t\x3c"datatables-utilities ui-helper-clearfix"\x3c"table-info"\x3e\x3c"product-page-pagination"pP\x3e\x3c"show-all"\x3e\x3e'};var b=$(this);if("false"==b.parents(".component-tabs-panel").data("split-view")||10<b.data("row-count")||2<b.data("col-count")){var e=eval(b.attr("id")+"ColumnsConfig");a.columns=e;e=b.data("sort-col");var c=b.data("sort-order");
  a=b.on("draw.dt",function(f){BLK.productV3.addPaginationRole(f.target)}).DataTable(a);BLK.productV3.addTableTabindex(a);BLK.productV3.addPaginationRole(a);""!=e&&a.columns(".col"+$.capFirst(e)).order(c).draw()}});$(".custom-columns .col-display input").on("click",function(){var a=$(this),b=a.parents(".custom-columns").data("table-id");a=$("#"+b).DataTable().column(a.data("col-index"));a.visible(!a.visible())})};
  BLK.productV3.productLiteratureAjax=function(){"undefined"!==typeof productLiteratureUrl&&$.ajax({type:"GET",url:productLiteratureUrl,data:{action:"ajax"},beforeSend:function(){$("#productLiterature .loading-image").show()},contentType:"application/x-www-form-urlencoded;charset\x3dutf-8",traditional:!0}).done(function(a){a=$("\x3cdiv/\x3e").html($(a));$("#productLiterature .product-literature-wrapper").html(a.find(".product-literature-wrapper").html())}).always(function(){$("#productLiterature .loading-image").hide()})};
  BLK.productV3.fundHeaderDocumentAjax=function(){"undefined"!==typeof fundHeaderDocumentUrl&&$.ajax({type:"GET",url:fundHeaderDocumentUrl,data:{action:"ajax"},contentType:"application/x-www-form-urlencoded;charset\x3dutf-8",traditional:!0}).done(function(a){a=$("\x3cdiv/\x3e").html($(a));$("ul#fundHeaderDocLinks").prepend(a.html())})};
  BLK.productV3.fundDownload=function(){var a=$(".fund-download.fund-component-data-export a.icon-xls-export"),b=0<a.length,e=$(".fund-download-v2 a.icon-xls-export"),c=0<e.length,f=$("ul.header-links");b&&(c?e.replaceWith(a):(f.append('\x3cli class\x3d"document last clearfix" /\x3e'),f.find(".document.last").html(a)))};
  BLK.productV3.howToBuyModal=function(){$(".how-to-buy.button").on("click",function(a){var b=$(this).attr("href");BLK.modal.openDialog(b,{dialogClass:"blk-modal product-dialog",title:$(this).attr("data-modaltitle"),open:function(){$(b).parent().prev().one("click",function(){$(b).dialog("close")})},close:function(e,c){location.hash="/"}})})};
  BLK.productV3.initExtraETF=function(){$("#fundHeader #extraETFContainer").length&&$.ajax({type:"GET",url:"https://de.extraetf.com/api-v2/ishares/json",data:{action:"ajax"},contentType:"application/x-www-form-urlencoded;charset\x3dutf-8"}).done(function(a){-1!==a.isins.indexOf(isin)&&($("#extraETFContainer").removeClass("hidden"),$("#extraETF").on("click",function(b){var e=$(this).attr("href");BLK.modal.openDialog(e,{dialogClass:"blk-modal product-dialog",title:$(this).attr("data-modaltitle"),open:function(){$(e).parent().prev().one("click",
  function(){$(e).dialog("close")})},close:function(c,f){location.hash="/"}})}),$("#extraETFModalBtn").attr("href","https://ishares.extraetf.com/etf-profile/"+isin))})};
  BLK.productV3.readyToBuy={tooltip:function(){var a=$("#tradeItTooltip"),b={content:{text:function(e,c){return a.html()},button:!0},events:{show:function(){$(document).on("scroll",function(){a.qtip("hide")})}},position:{my:"bottom center",at:"top center",target:$("#tradeNow")},style:{classes:"trade-it-tip",def:!1,tip:{corner:!0,width:16,height:8}}};$(document).ready(function(){setTimeout(function(){a.qtip(b).qtip("show")},1E3)})},modal:function(){var a=$("#tradeNow"),b=$("#tradeitTicket"),e=$("#tradeitModal"),
  c=$("#tradeItTooltip");a.on("click",function(){b.append("\x3ciframe\x3e\x3c/iframe\x3e");var g=b.find("iframe");768>window.innerWidth?g.attr("src","https://www.tradingticket.com/widget/blackrock_mobile/index.html?symbol\x3d"+tradeItTicker).addClass("mobile"):(g.attr("src","https://www.tradingticket.com/widget/blackrock/index.html?symbol\x3d"+tradeItTicker),b.css("position","absolute"),b.css("top",0),b.css("left",Math.max(0,($(window).innerWidth()-800)/2)+"px"));e.add(b).removeClass();c.qtip("hide")});
  e.on("click",function(){f()});var f=function(){var g=b.find("iframe");g&&g.remove();b.addClass("trade-it-none");e.addClass("trade-it-none");window.location.hash=""};a=function(g){try{"TradeItCloseTicket"===(JSON.parse(g.data)||{}).action&&f()}catch(h){}};window.addEventListener?addEventListener("message",a,!1):attachEvent("onmessage",a)},init:function(){this.tooltip();this.modal()}};
  BLK.productV3.mobileScrollShadows={onTables:function(a,b){t=b?b:2E3;$(".shadow").removeClass("shadow");a.promise().done(function(e){setTimeout(function(){a.each(function(c){c=$(this);var f=c.parent();c.width()>f.width()&&f.addClass("shadow")})},t)})}};
  BLK.productV3.mobileCollapse={componentHeaders:function(){var a=$(".image-cta:visible");a.addClass("mobile-collapse");a.each(function(b,e){b=$(e).find(".header");b.length||(b=$(e).find(".section-header"));b.length&&(b.addClass("mobile-hidden"),$("\x3ch2/\x3e").attr("class","mobile-collapse-trigger desktop-hidden").text(b.text()).insertBefore(e))});$(".mobile-collapse-trigger").on("click",function(){$(this).toggleClass("expanded");$(this).siblings(".mobile-collapse").toggleClass("expanded")})},tabs:function(a){"undefined"===
  typeof a&&(a=$(".fund-component-parent"));a=$(a).find('.component-tabs:not(".no-tabs, .sub-tabs, .long-short")');a.each(function(b,e){b=$(e).children();var c=$("\x3clabel/\x3e").attr("class","product-dropdown mobile-tabs"),f=$("\x3cselect/\x3e").appendTo(c);b.each(function(g,h){var l=$(h).find("a");g=l.attr("href");l=l.text();$("\x3coption/\x3e").attr("value",g).text(l).prop("selected",$(h).hasClass("active")).appendTo(f)});1<b.length&&$(e).after(c);$(f).on("change",function(){$(e).find('a[href\x3d"'+
  $(this).val()+'"]').trigger("click");BLK.productV3.mobileScrollShadows.onTables($(".product-table"),0)})});a.hide()},hideDropdowns:function(){$(".mobile-tabs").is(":visible")&&($(".fund-component-parent").find('.component-tabs:not(".no-tabs, .sub-tabs, .long-short")').show(),$(".mobile-tabs").hide(),BLK.productV3.equaliseDataRowHeight(),BLK.productV3.equaliseSplitTableRowHeight.init())},hideTabs:function(){$(".mobile-tabs").is(":hidden")&&($(".fund-component-parent").find('.component-tabs:not(".no-tabs, .sub-tabs, .long-short")').hide(),
  $(".mobile-tabs").show())},complete:!1,init:function(){BLK.productV3.mobileCollapse.componentHeaders();BLK.productV3.mobileCollapse.tabs();BLK.productV3.mobileCollapse.complete=!0}};
  BLK.productV3.modalHistory=function(){var a=function(b){b=$('a[href\x3d"'+b+'"]');if(b.length){var e=b.siblings(".thumbnail-wrapper");e.length?BLK.productCharts.triggerModal(e):$(b[0]).trigger("click")}};""===location.hash||"#/"===location.hash||-1==location.hash.indexOf("dialog")&&-1==location.hash.indexOf("modal")||($("#hashLoading").show(),setTimeout(function(){a(location.hash);$("#hashLoading").hide();$("body, html").addClass("noScrolling")},2E3));$(window).on("hashchange",function(b){if(""===
  location.hash||"#/"===location.hash)b="#"+b.originalEvent.oldURL.split("#")[1],$(".noScrolling").removeClass("noScrolling"),$(b).dialog("isOpen")&&$(b).dialog("close");else if(-1!=location.hash.toLowerCase().indexOf("dialog")||-1!=location.hash.toLowerCase().indexOf("modal"))$("body, html").addClass("noScrolling"),$(location.hash).dialog("isOpen")||a(location.hash)})};
  BLK.productV3.backToTop=function(){$("body").prepend('\x3ca href\x3d"#" class\x3d"back-to-top" aria-hidden\x3d"true" title\x3d"Back to Top"\x3e\x3ci class\x3d"fa fa-arrow-up"\x3e\x3c/i\x3e\x3c/a\x3e');var a=$("a.back-to-top");$(window).scroll(function(){300<$(window).scrollTop()?a.fadeIn("slow"):a.fadeOut("slow")});a.click(function(){$("html, body").animate({scrollTop:0},600);return!1})};
  BLK.productV3.disclaimer=function(){var a=$(".disclosure-contents"),b=a.find(".button-container"),e=b.find(".disclaimer-button");!a.hasClass("off")&&95<a.outerHeight()&&a.addClass("collapsed");95>a.outerHeight()&&b.hide();e.on("click",function(){if(!a.hasClass("collapsed"))return a.removeClass("off").addClass("collapsed"),!0;a.addClass("off").removeClass("collapsed")})};BLK.productV3.closeModal=function(){$("body").on("click",".blk-modal-overlay",function(){$(".ui-dialog-titlebar-close").click()})};
  BLK.productV3.initInav=function(){$("#fundHeader .inav").length&&iFrameResize({log:!1})};
  BLK.productV3.watchlist={initWatchlist:function(){BLK.productV3.watchlist.updateWatchlist();BLK.productV3.watchlist.initEventHandlers();BLK.watchlist.updateWatchlistOnTabSwitch(BLK.productV3.watchlist.updateWatchlist)},updateWatchlist:function(){BLK.apiGateway.authenticate({apiGatewayUrl:serviceProvider["api-gateway"],success:function(a){var b=$(".watchlist-true");console.log("isAuthenticated: "+a);a?(a={url:BLK.watchlist.watchlistUrls.retrieveWatchlist,data:{data:JSON.stringify(BLK.watchlist.createWatchlistData)}},
  b.find(".watchlist-anchor").addClass("is-processing"),$.extend(a,BLK.watchlist.ajaxOption||{}),$.ajax(a).done(function(e){BLK.watchlist.extractPortfolios(e);e=BLK.watchlist.isPortfolioIdOnWatchlist(portfolioId,e);e.portfolioExists?b.html(BLK.watchlist.activeWatchlistContents(portfolioId,e.portfolioObj.uniqueId)):b.html(BLK.watchlist.inactiveWatchlistContents(portfolioId))})):(b.html(BLK.watchlist.anonymousWatchlistContents(portfolioId)),b.find(".fa-lock").addClass("show"))}})},initEventHandlers:function(){$("#fundHeader .watchlist-true").on("click",
  ".watchlist-anchor, .watchlist-anchor-anon",function(a){a.preventDefault();var b=$(this);if(!BLK.isCwpUserSignedIn)BLK.watchlist.displayQTip(b,"anon");else if(!b.hasClass("is-processing")){b.addClass("is-processing");a=b.data("portfolio-id");var e=b.data("user-data-unique-id"),c=function(f){b.removeClass("is-processing")};b.hasClass("watchlist-inactive")?BLK.watchlist.addToWatchlist(BLK.watchlist.defaultWatchlistName,a,c,c,"productDetailsPage"):BLK.watchlist.removeFromWatchlist(a,e,c,c,"productDetailsPage")}})}};
  BLK.productV3.addTableTabindex=function(a){try{0<a.context.length&&a.context[0].nTable.closest(".dataTables_wrapper").querySelectorAll(".dataTables_scroll").forEach(function(b){return b.setAttribute("tabindex","0")})}catch(b){console.log("Indexing unsuccessful"),console.error(b)}};
  BLK.productV3.addPaginationRole=function(a){var b=null;try{void 0!==a.context&&(b=a.context[0].nTable.closest(".dataTables_wrapper")),void 0!==a.closest&&(b=a.closest(".dataTables_wrapper"))}catch(e){console.log("Pagination alignment unsuccessful")}try{b.querySelectorAll(".paginate_button").forEach(function(e){return e.setAttribute("role","button")}),b.querySelectorAll(".paginate_button.current").forEach(function(e){return e.setAttribute("aria-current","true")})}catch(e){console.log("Pagination alignment unsuccessful")}};
  $(document).ready(function(){BLK.productV3.closeModal();BLK.productV3.disableAnchorPound();BLK.productV3.infoBubbles();BLK.productV3.fundDownload();BLK.productV3.fundHeader.init();isWatchlistEnabled&&BLK.productV3.watchlist.initWatchlist();BLK.responsive.isResponsive||(BLK.productV3.equaliseDataRowHeight(),BLK.productV3.equaliseSplitTableRowHeight.init());BLK.productV3.renderHoldingsTable();BLK.productV3.tabs.init();BLK.productV3.disclaimer();BLK.productV3.performance.init();BLK.productV3.datatables.init();
  BLK.productV3.datatables.simple.init();BLK.productV3.portfolioManagerBio.init();BLK.productV3.muniCalculator();BLK.productV3.initializePriceYieldCalc();BLK.productV3.productLiteratureAjax();BLK.productV3.fundHeaderDocumentAjax();BLK.productV3.showHideDeltaDebug();BLK.productV3.expandTabAdmin();BLK.productV3.howToBuyModal();BLK.productV3.readyToBuy.init();BLK.productV3.ratings();BLK.productV3.listingsTable();BLK.productV3.pricingAndExchangeTable();BLK.productV3.exchangeTable();BLK.productV3.premiumDiscountDetailsTable();
  BLK.productV3.pricingTable();BLK.productV3.riskIndicatorRegulatorLink();BLK.productV3.modalHistory();BLK.productV3.backToTop();BLK.productV3.initInav();BLK.productV3.initExtraETF();BLK.productV3.registerScrollEvent.scrollEvent();BLK.responsive.isResponsive&&(BLK.productV3.mobileCollapse.init(),BLK.productV3.mobileScrollShadows.onTables($(".product-table")));$(window).on("resize",function(){$(".ui-dialog-content:visible").each(function(){$(this).dialog("option","position",$(this).dialog("option","position"))});
  BLK.responsive.isResponsive?(BLK.productV3.mobileCollapse.complete?BLK.productV3.mobileCollapse.hideTabs():BLK.productV3.mobileCollapse.init(),BLK.productV3.mobileScrollShadows.onTables($(".product-table"),0)):BLK.productV3.mobileCollapse.hideDropdowns()})});"undefined"!==typeof BLK&&BLK||(BLK={});var productChartsColor="#21ACE2 #005A67 #ED561B #DDDF00 #24CBE5 #64E572 #FF9655 #FFF263 #6AF9C4".split(" ");
  BLK.productCharts={getTimePeriod:function(){var a=$("#chartTabs"),b="y:1";a.length&&(b=a.attr("data-timePeriod"));return b},createArray:function(a,b,e){$.each(a,function(c,f){b.push(f[e])})},triggerModal:function(a){a=($(a).hasClass("thumbnail-wrapper")?$(a):$(a).parents(".thumbnail-wrapper")).siblings(".performance-modal");location.hash=a.attr("href");a.trigger("click")},barChart:{dataObjAbbr:function(a,b){var e=[],c;for(c in a){var f=0,g=[],h=JSON.parse(JSON.stringify(a[c]));do g.push(a[c].data[f]),
  f++;while(f<b);h.data=g;e.push(h)}return e},render:function(a,b){var e=$("#"+a.dataTableId),c=a.showMoreLength,f=a.dataObj,g=this.dataObjAbbr(a.dataObj,c),h=e.find("tbody").actual("height")+56,l=0<$("#tabsLongshort").length,q=a.id.startsWith("tabsBenchmark")?"benchmarkBreakdowns":"exposureBreakdowns";"undefined"===typeof c||b||(f=g);c={colors:productChartsColor,chart:{height:h,marginLeft:0,marginTop:42,name:a.chartName,type:a.chartType},credits:{enabled:!1},legend:{align:"left",backgroundColor:"#fff",
  borderColor:"#ccc",borderWidth:1,floating:!0,symbolRadius:0,squareSymbol:!1,itemHoverStyle:{cursor:"default"},itemMarginBottom:2,itemMarginTop:4,labelFormatter:function(){return $.capFirst(eval("chartColLabels."+q+"."+this.name))},verticalAlign:"top",width:480,x:-10,y:-2},plotOptions:{series:{dataLabels:{enabled:!1},events:{legendItemClick:function(){return!1}},groupPadding:.02,pointPadding:0,pointWidth:17,stacking:null}},series:f,title:{text:null},tooltip:{enabled:!1},xAxis:{categories:a.categories,
  labels:{enabled:!1},lineWidth:0,tickWidth:0},yAxis:{reversedStacks:!1,gridLineWidth:0,labels:{enabled:!1},title:{text:null}}};l&&(c.xAxis=[{categories:a.categories,labels:{enabled:!1},lineWidth:0,tickWidth:0},{categories:a.categories,labels:{enabled:!1},lineWidth:0,tickWidth:0}],c.plotOptions.series.stacking="normal",c.series[2].showInLegend=!0,c.series[2].visible=!0,c.series[2].type="scatter",c.series[2].marker.enabled=!0,c.legend.labelFormatter=function(){return $.capFirst(eval("chartColLabels."+
  q+"."+this.name))});b&&(e.DataTable().page.len(),b=e.DataTable().rows().data(),e.DataTable().page.len(),e=$.grep(b,function(r){return"Other"==r.name}),b=$.grep(b,function(r){return"Other"!=r.name}).concat(e));return $("#"+a.chartId).highcharts(c)},init:function(){var a=function(b){b=$(b);var e=b.data("tab-id"),c=e+"Chart",f=eval(e+"ChartType"),g=eval(e+"DataChart"),h=e+"DataTable",l=b.closest(".fund-component-parent").data("show-more-length");return{categories:[],chartId:c,chartType:f,dataObj:g,dataTableId:h,
  showMoreLength:l,id:e,$tableChartContainer:b}};$('.fund-component-parent div[data-chart-type\x3d"bar"]:visible').each(function(b,e){try{var c=a(e);BLK.productCharts.barChart.sortChartBasedOnTable(c);BLK.productCharts.barChart.render(c,-1==c.showMoreLength==1);BLK.productCharts.barChart.bindReorder(c);0<c.showMoreLength&&BLK.productCharts.barChart.toggleBarChartRecords(c)}catch(f){console.log(f)}});$('.fund-component-parent div[data-chart-type\x3d"bar"]:hidden').each(function(b,e){b=$('a[href\x3d"#'+
  $(e).data("tab-id")+'"]');$(b).one("click",function(){try{var c=a(e);BLK.productCharts.barChart.sortChartBasedOnTable(c);BLK.productCharts.barChart.render(c,-1==c.showMoreLength==1);BLK.productCharts.barChart.bindReorder(c);0<c.showMoreLength&&BLK.productCharts.barChart.toggleBarChartRecords(c)}catch(f){console.log(f)}})})},bindReorder:function(a){var b=$("#"+a.dataTableId);b.on("click","th.sorting, th.sorting_asc, th.sorting_desc",function(){var e=b.DataTable().rows().data(),c=b.DataTable().page.len();
  $.each(a.dataObj,function(f,g){var h="0"==g.legendIndex?"value":g.name;g.data=e.map(function(l,q){return{name:l.name,y:isNaN(parseFloat(l[h]))?0:parseFloat(l[h])}})});BLK.productCharts.barChart.render(a,-1==c==1)})},sortChartBasedOnTable:function(a){var b=$("#"+a.dataTableId).DataTable().rows().data();$.each(a.dataObj,function(e,c){var f="0"==c.legendIndex?"value":c.name;c.data=b.map(function(g,h){return{name:g.name,y:isNaN(parseFloat(g[f]))?0:parseFloat(g[f])}})})},toggleBarChartRecords:function(a){var b=
  $("#"+a.id+"ShowAll"),e=$("#"+a.id+"ShowFewer");b.on("click",function(){"bar"==a.chartType&&BLK.productCharts.barChart.render(a,!0)});e.on("click",function(){"bar"==a.chartType&&BLK.productCharts.barChart.render(a,!1)})}},geoChart:{render:function(a){BLK.geoChart.geoMap.initMap(a)},init:function(){var a=function(b){var e=$(b).data("tab-id")+"Chart";b=$(b).data("container-name");return{chartId:e,chartName:b}};$('.fund-component-parent div[data-chart-type\x3d"geo"]:visible').each(function(b,e){try{var c=
  a(e);BLK.productCharts.geoChart.render(c)}catch(f){console.log(f)}});$('.fund-component-parent div[data-chart-type\x3d"geo"]:hidden').each(function(b,e){b=$('a[href\x3d"#'+$(e).data("tab-id")+'"]');$(b).one("click",function(){try{var c=a(e);BLK.productCharts.geoChart.render(c)}catch(f){console.log(f)}})})}},pieChart:{render:function(a){var b={chart:{height:$("#"+a.dataTableId).find("tbody").actual("height")+60,type:"pie"},colors:productChartsColor,credits:{enabled:!1},title:{text:null},tooltip:{pointFormat:"{series.name}: \x3cstrong\x3e{point.percentage:.1f}%\x3c/strong\x3e"},
  legend:{align:"right",verticalAlign:"top",layout:"vertical",symbolRadius:0,squareSymbol:!1,x:0,y:50},plotOptions:{pie:{allowPointSelect:!0,borderColor:"#fff",borderWidth:3,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}},series:a.dataObj};return $("#"+a.chartId).highcharts(b)},init:function(){var a=function(b){b=$(b).data("tab-id");var e=b+"Chart",c=b+"DataTable",f=eval(b+"DataChart"),g="undefined"==typeof eval(b+"HasPie")?!0:eval(b+"HasPie");return{id:b,chartId:e,chartType:g?"pie":"bar",
  dataTableId:c,dataObj:f,hasPie:g}};$('.fund-component-parent div[data-chart-type\x3d"pie"]:visible').each(function(b,e){try{var c=a(e);c.hasPie?BLK.productCharts.pieChart.render(c):(BLK.productCharts.barChart.bindReorder(c),BLK.productCharts.barChart.render(c,!0))}catch(f){console.log(f)}});$('.fund-component-parent div[data-chart-type\x3d"pie"]:hidden').each(function(b,e){b=$('a[href\x3d"#'+$(e).data("tab-id")+'"]');$(b).one("click",function(){try{var c=a(e);c.hasPie?BLK.productCharts.pieChart.render(c):
  (BLK.productCharts.barChart.bindReorder(c),BLK.productCharts.barChart.render(c,!0))}catch(f){console.log(f)}})})}},renderColumnChart:function(a,b,e,c,f){c=void 0==c?!1:c;a={credits:{enabled:!1},chart:{type:"column"},legend:{enabled:!0,floating:!1},plotOptions:{column:{stacking:"normal"},series:{animation:!1,showInLegend:!0,dataLabels:{enabled:!0,formatter:function(){return c?'\x3cspan class\x3d"col-chart-label"\x3e'+this.point.formattedY+"\x3c/span\x3e":'\x3cspan class\x3d"col-chart-label"\x3e'+this.y+
  "%\x3c/span\x3e"},useHTML:!0,verticalAlign:"top",y:-20}}},series:a?a:[{}],title:{text:null},tooltip:{backgroundColor:"#ffffff",formatter:null!=b?BLK.productCharts.tooltipFormatter(b[0].name,c):null,useHTML:!0},xAxis:{categories:null!=b?b[0].data:null,reversed:!0},yAxis:{title:{text:yAxisTitle}}};c&&f&&(a.chart.height=140,a.chart.panning=!1,a.chart.pinchType="",a.chart.style={cursor:"pointer"},a.chart.spacing=[10,20,0,0],a.legend.enabled=!1,a.tooltip.enabled=!1,a.xAxis.tickPositions=[0,a.xAxis.categories.length-
  1],a.xAxis.tickmarkPlacement="on",a.xAxis.labels={style:{cursor:"pointer",fontSize:"8px"}},a.xAxis.tickPixelInterval=200,a.yAxis.labels={style:{cursor:"pointer",fontSize:"8px"}},a.yAxis.title.text=null,a.yAxis.tickAmount=4,a.plotOptions.series.states={hover:{enabled:!1}},a.plotOptions.series.dataLabels={enabled:!1},a.plotOptions.series.dataGrouping={enabled:!0},a.plotOptions.series.enableMouseTracking=!1);return $(e).highcharts(a)},tooltipFormatter:function(a,b){return function(){return b?'\x3ctable class\x3d"tooltip distro"\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd\x3e'+
  (a+":\x3c/td\x3e\x3ctd\x3e"+this.x+"\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3eDistribution:\x3c/td\x3e\x3ctd\x3e")+(this.point.formattedY+"\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"):"\x3ch3\x3e"+this.y.toFixed(2)+"% "+tooltipHeader+" "+this.x+"\x3c/h3\x3e"}},performance:{render:function(a){var b=a.data,e=a.chartContainer,c=a.chartName,f=a.isThumbnail,g=[];if("undefined"!==typeof c&&"calendar-chart"===c){var h={chart:{type:"column",events:{load:function(){e.removeClass("loading")}},height:400,
  width:null},colors:["#719E32","#2f7ed8"],plotOptions:{series:{pointPadding:0}},title:{text:""},tooltip:{useHTML:!0,formatter:function(){return this.x+"\x3cbr/\x3e"+this.series.name+" : \x3cb\x3e"+this.point.d+"%\x3c/b\x3e"}},xAxis:{categories:calendarChartCategories},credits:{enabled:!1},series:calendarChartData};$(e).highcharts(h)}else if("undefined"!==typeof c&&"dailyflows"===c){var l=buttonsConf,q=l.length-1,r=1;g=BLK.productCharts.performance.getMinMaxYear(netflow);$.each(l,function(k,m){a.timePeriod===
  l[k].type.toLowerCase()+("undefined"!=typeof l[k].count?":"+l[k].count:"")&&(q=k)});h={chart:{events:{load:function(){e.removeClass("loading")}},height:chartDailyflowsScrollConfig?460:400,width:BLK.productCharts.performance.getChartWidth(f)},colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),legend:{enabled:!1},navigator:{enabled:chartDailyflowsScrollConfig},plotOptions:{column:{stacking:"normal",dataLabels:{enabled:!1,color:Highcharts.theme&&Highcharts.theme.dataLabelsColor||
  "white",style:{textShadow:"0 0 3px black"}}},series:{turboThreshold:0}},rangeSelector:{buttons:l,buttonSpacing:0,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},inputStyle:{fontSize:performanceChartRangeSelectorFontSize},inputEnabled:showDatePickersDailyFlows,selected:q},scrollbar:{enabled:chartDailyflowsScrollConfig},series:[{name:netFlowSeriesLabel,
  id:"netFlow",data:netflow,color:"#2f7ed8",type:"spline",tooltip:{yDecimals:yDecimalsDailyflows}}],title:{text:"",floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:!0,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var k="\x3ch4\x3e";k+=Highcharts.dateFormat(performanceChartToolTipFormat,this.x)+"\x3c/h4\x3e";$.each(this.points,function(m,z){m=z.series.color;k+='\x3cul\x3e\x3cli class\x3d"name" style\x3d"color: '+m+';"\x3e'+z.point.series.name+
  ': \x3c/li\x3e\x3cli class\x3d"liquidity" style\x3d"width: 120px; background: '+m+';"\x3e'+currencyCode+Highcharts.numberFormat(this.y,0)+"\x3c/li\x3e";k+="\x3c/ul\x3e"});return k+="\x3c/ul\x3e"}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var k=new Date(this.value-1),m=k.getUTCDate(),z=k.getUTCMonth();k=k.getUTCFullYear();return Highcharts.dateFormat(performanceChartXAxisFormat,Date.UTC(k,z,m))},staggerLines:2},minRange:2592E6,minTickInterval:2592E6},yAxis:{labels:{formatter:function(){return currencyCode+
  this.value/1E6+"m"},align:"right"},opposite:!1}};$(e).highcharts("StockChart",h,function(k){"undefined"!==typeof f&&f&&($(e).bind("mousedown",function(w){BLK.productCharts.triggerModal(this)}),k.extraTopMargin=0,k.isDirtyBox=!0,k.redraw({duration:0}));var m=new Date(k.axes[0].dataMin),z=m.getFullYear()+"-"+("0"+(m.getMonth()+1)).slice(-2)+"-"+("0"+m.getDate()).slice(-2);k=new Date(k.axes[0].dataMax);var v=k.getFullYear()+"-"+("0"+(k.getMonth()+1)).slice(-2)+"-"+("0"+k.getDate()).slice(-2);$(e).attr("min",
  z);$(e).attr("max",v);setTimeout(function(){$("input.highcharts-range-selector").datepicker({beforeShow:function(){$("#ui-datepicker-div").addClass("blk-calendar");$.datepicker.setDefaults({minDate:z,maxDate:v})}})},0)});$.datepicker.setDefaults({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,beforeShow:function(){console.log(1)},onSelect:function(k){this.onchange();this.onblur();$("input.highcharts-range-selector").focusout()}})}else if("undefined"!==typeof c&&"level"===c){b=levelData;var u=
  !1;c="level";var D="level"===c,H="historical-prices"===c,J=r=1,Q="",K="";g=BLK.productCharts.performance.getMinMaxYear(b);"undefined"!==typeof portfolioTicker&&(h=portfolioTicker);var G="line";l=buttonsConf;q=l.length-1;BLK.responsive.isResponsive?(showDateInputs=!1,chartHeight=250):(showDateInputs=!0,chartHeight=400);h={credits:{enabled:!1},chart:{events:{load:function(){e.removeClass("loading")}},height:chartNavScrollConfig?460:chartHeight,width:BLK.productCharts.performance.getChartWidth(f)},colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),
  legend:{enabled:!1},navigator:{enabled:chartNavScrollConfig},plotOptions:{series:{animation:!1,compare:G,dataGrouping:{enabled:!1}}},rangeSelector:{buttons:l,buttonSpacing:0,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},inputStyle:{fontSize:performanceChartRangeSelectorFontSize},inputEnabled:showDateInputs,selected:q},scrollbar:{enabled:chartNavScrollConfig},
  series:[{data:b,name:h,id:h,tooltip:{yDecimals:yDecimalsNavChart},turboThreshold:0}],title:{text:Q,floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:!0,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var k="\x3ch4\x3e";k=this.points[0].point.formattedX?k+(this.points[0].point.formattedX+"\x3c/h4\x3e"):k+(Highcharts.dateFormat(performanceChartToolTipFormat,this.x)+"\x3c/h4\x3e");$.each(this.points,function(m,z){var v=z.point.change;
  m=1+v/100;var w=z.series.color,O="";"undefined"!==typeof salesCharge&&(m=J*(1+v/100)/r);v=100*(m-1);var R=r*m;1<m&&(O="+");1==r&&(R=z.y);if("undefined"!=typeof floatingNavStrikes&&null!=floatingNavStrikes&&1<floatingNavStrikes.length)for(m=0;m<floatingNavStrikes.length-1;m++)for(j=0;j<floatingNavDataMap[floatingNavStrikes[m]].length;j++)if(floatingNavDataMap[floatingNavStrikes[m]][j][0]==z.x){k+='\x3cul\x3e\x3cli class\x3d"name" style\x3d"color: '+w+';"\x3e'+floatingNavStrikeLabel[floatingNavStrikes[m]]+
  ' : \x3c/li\x3e\x3cli class\x3d"price" style\x3d"color: '+w+';"\x3e'+currencyCode+Highcharts.numberFormat(floatingNavDataMap[floatingNavStrikes[m]][j][1],yDecimals)+K+"\x3c/li\x3e\x3c/ul\x3e";break}k+='\x3cul\x3e\x3cli class\x3d"name" style\x3d"color: '+w+';"\x3e'+c.toUpperCase()+': \x3c/li\x3e\x3cli class\x3d"price" style\x3d"background: '+w+';"\x3e'+currencyCode+Highcharts.numberFormat(R,yDecimals)+K+"\x3c/li\x3e";"percent"==G&&(k+='\x3cli class\x3d"change" style\x3d"color: '+w+';"\x3e'+O+Highcharts.numberFormat(v,
  yDecimalsNavChart)+"%\x3c/li\x3e");k+="\x3c/ul\x3e"});return k+="\x3c/ul\x3e"}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var k=new Date(this.value-1),m=k.getUTCDate(),z=k.getUTCMonth();k=k.getUTCFullYear();return Highcharts.dateFormat(performanceChartXAxisFormat,Date.UTC(k,z,m))},staggerLines:2},events:{afterSetExtremes:function(k){var m=new Date(k.min),z=new Date(k.max),v=!1;if("total-returns"===c){var w=Date.UTC(m.getUTCFullYear(),m.getUTCMonth()+1,0);v=!0}else"nav"===c&&(w=
  Date.UTC(m.getUTCFullYear(),m.getUTCMonth()+1,m.getUTCDate()),v=!0);!0===v&&(m=e.highcharts(),"undefined"!=typeof m&&"rangeSelectorButton"==k.trigger&&"month"==k.rangeSelectorButton.type&&"6"==k.rangeSelectorButton.count&&m.xAxis[0].setExtremes(w,z))}},minRange:2592E6,minTickInterval:2592E6},yAxis:{labels:{formatter:function(){return u?Highcharts.numberFormat(J*(1+this.value/100),0):"percent"==G?this.value+"%":this.value},align:"right"},opposite:!1}};"undefined"!==typeof f&&f&&(h.chart.height=140,
  h.chart.panning=!1,h.chart.pinchType="",h.chart.style={cursor:"pointer"},h.chart.spacing=[10,20,0,0],h.title={text:q==l.length-1?$("#chartSinceIncept").val():l[q].text,floating:!0,align:"left",x:0,y:0,style:{fontFamily:"AkkuratProRegular",fontSize:"11px"}},h.tooltip.enabled=!1,h.xAxis.labels.style={cursor:"pointer",fontSize:"8px"},h.xAxis.labels.staggerLines=null,h.xAxis.tickPixelInterval=110,h.yAxis.labels.style={cursor:"pointer",fontSize:"8px"},h.yAxis.tickAmount=4,h.yAxis.labels.y=2,h.plotOptions.series.states=
  {hover:{enabled:!1}},h.plotOptions.series.enableMouseTracking=!1);u&&(h.yAxis.minTickInterval=1);$(e).highcharts("StockChart",h,function(k){"undefined"!==typeof f&&f&&($(e).bind("mousedown",function(w){BLK.productCharts.triggerModal(this)}),k.extraTopMargin=0,k.isDirtyBox=!0,k.redraw({duration:0}));var m=new Date(k.axes[0].dataMin),z=m.getFullYear()+"-"+("0"+(m.getMonth()+1)).slice(-2)+"-"+("0"+m.getDate()).slice(-2);k=new Date(k.axes[0].dataMax);var v=k.getFullYear()+"-"+("0"+(k.getMonth()+1)).slice(-2)+
  "-"+("0"+k.getDate()).slice(-2);$(e).attr("min",z);$(e).attr("max",v);setTimeout(function(){$("input.highcharts-range-selector").datepicker({beforeShow:function(){$("#ui-datepicker-div").addClass("blk-calendar");$.datepicker.setDefaults({minDate:z,maxDate:v})}})},0)});$.datepicker.setDefaults({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,beforeShow:function(){console.log(1)},onSelect:function(k){this.onchange();this.onblur();$("input.highcharts-range-selector").focusout()}})}else if("undefined"!==
  typeof c&&"liquidity"===c)l=buttonsConf,q=l.length-1,g=BLK.productCharts.performance.getMinMaxYear(weeklyLiquidity),$.each(l,function(k,m){a.timePeriod===l[k].type.toLowerCase()+("undefined"!=typeof l[k].count?":"+l[k].count:"")&&(q=k)}),h={chart:{events:{load:function(){e.removeClass("loading")}},height:chartLiquidityScrollConfig?460:400,width:BLK.productCharts.performance.getChartWidth(f,c)},colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),legend:{enabled:!1},
  navigator:{enabled:chartLiquidityScrollConfig},plotOptions:{series:{compare:"line",turboThreshold:0,dataGrouping:{enabled:!1}}},rangeSelector:{buttons:l,buttonSpacing:0,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},inputStyle:{fontSize:performanceChartRangeSelectorFontSize},inputEnabled:showDatePickerLiq,selected:q},scrollbar:{enabled:chartLiquidityScrollConfig},
  series:[{data:weeklyLiquidity,name:weeklyLiquiditySeriesLabel,color:"#719e32",type:"spline",lineWidth:1,tooltip:{yDecimals:yDecimalsLiquidity}}],title:{text:"",floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:!0,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var k="\x3ch4\x3e";k+=Highcharts.dateFormat(performanceChartToolTipFormat,this.x)+"\x3c/h4\x3e";$.each(this.points,function(m,z){m=z.series.color;k+='\x3cul\x3e\x3cli class\x3d"name" style\x3d"color: '+
  m+';"\x3e'+z.point.series.name+': \x3c/li\x3e\x3cli class\x3d"liquidity" style\x3d"background: '+m+';"\x3e'+Highcharts.numberFormat(this.y,yDecimalsLiquidity)+"%\x3c/li\x3e";k+="\x3c/ul\x3e"});return k+="\x3c/ul\x3e"}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var k=new Date(this.value-1),m=k.getUTCDate(),z=k.getUTCMonth();k=k.getUTCFullYear();return Highcharts.dateFormat(performanceChartXAxisFormat,Date.UTC(k,z,m))},staggerLines:2},events:{afterSetExtremes:function(k){var m=
  new Date(k.min),z=new Date(k.max);m=Date.UTC(m.getUTCFullYear(),m.getUTCMonth()+1,m.getUTCDate());var v=e.highcharts();"rangeSelectorButton"==k.trigger&&"month"==k.rangeSelectorButton.type&&"6"==k.rangeSelectorButton.count&&v.xAxis[0].setExtremes(m,z)}},minRange:2592E6,minTickInterval:2592E6},yAxis:{labels:{formatter:function(){return this.value+"%"},align:"right"},opposite:!1}},"undefined"!==typeof dailyLiquidity&&0<dailyLiquidity.length&&$(".show-hide-liquidity-proto").change(function(){var k=e.highcharts(),
  m=k.get("dailyLiquidity");m&&m.remove();k.colorCounter=1;$(this).is(":checked")&&k.addSeries({data:dailyLiquidity,name:dailyLiquiditySeriesLabel,id:"dailyLiquidity",color:"#2f7ed8",type:"spline",lineWidth:1,tooltip:{yDecimals:yDecimalsLiquidity}})}),$(e).highcharts("StockChart",h,function(k){"undefined"!==typeof f&&f&&($(e).bind("mousedown",function(w){BLK.productCharts.triggerModal(this)}),k.extraTopMargin=0,k.isDirtyBox=!0,k.redraw({duration:0}));var m=new Date(k.axes[0].dataMin),z=m.getFullYear()+
  "-"+("0"+(m.getMonth()+1)).slice(-2)+"-"+("0"+m.getDate()).slice(-2);k=new Date(k.axes[0].dataMax);var v=k.getFullYear()+"-"+("0"+(k.getMonth()+1)).slice(-2)+"-"+("0"+k.getDate()).slice(-2);$(e).attr("min",z);$(e).attr("max",v);setTimeout(function(){$("input.highcharts-range-selector").datepicker({beforeShow:function(){$("#ui-datepicker-div").addClass("blk-calendar");$.datepicker.setDefaults({minDate:z,maxDate:v})}})},0)}),$.datepicker.setDefaults({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,
  beforeShow:function(){console.log(1)},onSelect:function(k){this.onchange();this.onblur();$("input.highcharts-range-selector").focusout()}});else{u="total-returns"===c;D="nav"===c;var Z="mark-to-market-nav"===c;H="historical-prices"===c;var U="prem-disc-chart"===c;J=r=1;K=Q="";g=BLK.productCharts.performance.getMinMaxYear(b);"undefined"!==typeof portfolioTicker&&(h=portfolioTicker);G="";"undefined"!==typeof priceData&&0<priceData.length&&(G="line");l=buttonsConf;u&&(J=r=1E4,perfMultiplier=1,"undefined"!==
  typeof salesCharge&&(perfMultiplier=1-salesCharge,J=r*perfMultiplier),G="percent",h=totalReturnLabel);H&&(G="line",h=histPricesLabel);q=l.length-1;$.each(l,function(k,m){a.timePeriod===l[k].type.toLowerCase()+("undefined"!=typeof l[k].count?":"+l[k].count:"")&&(q=k)});u?showDateInputs=showDateInputsPerf:D?showDateInputs=showDateInputsNav&&!f:H?showDateInputs=showDateInputsHistPrices:Z&&(showDateInputs=showDateInputsMarkToMarket);BLK.responsive.isResponsive?(showDateInputs=!1,chartHeight=250):chartHeight=
  400;U&&(K="%");h={credits:{enabled:!1},chart:{events:{load:function(){e.removeClass("loading")}},height:chartNavScrollConfig?460:chartHeight,width:BLK.responsive.isResponsive?$("#performanceChartContainerPerfChart .highcharts-container").width():BLK.productCharts.performance.getChartWidth(f)},colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),legend:{enabled:!1},navigator:{enabled:chartNavScrollConfig},plotOptions:{series:{animation:!1,compare:G,compareStart:!0,
  turboThreshold:0,dataGrouping:{enabled:!1}}},rangeSelector:{buttons:l,buttonSpacing:0,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},inputStyle:{fontSize:performanceChartRangeSelectorFontSize},inputEnabled:showDateInputs,enabled:"undefined"!==typeof f&&f?!1:!0,selected:q,inputDateFormat:performanceChartRangeSelectorFormat,inputEditDateFormat:performanceChartRangeSelectorEditFormat},
  scrollbar:{enabled:BLK.responsive.isResponsive},series:[{data:b,name:h,id:h,tooltip:{yDecimals:yDecimalsNavChart},turboThreshold:0}],title:{text:Q,floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:!0,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var k="\x3ch4\x3e";k=this.points[0].point.formattedX?k+(this.points[0].point.formattedX+"\x3c/h4\x3e"):k+(Highcharts.dateFormat(performanceChartToolTipFormat,this.x)+"\x3c/h4\x3e");$.each(this.points,
  function(m,z){var v=z.point.change;m=1+v/100;var w=z.series.color,O="";"undefined"!==typeof salesCharge&&(m=J*(1+v/100)/r);v=100*(m-1);var R=r*m;1<m&&(O="+");1==r&&(R=z.y);if("undefined"!=typeof floatingNavStrikes&&null!=floatingNavStrikes&&1<floatingNavStrikes.length)for(m=0;m<floatingNavStrikes.length-1;m++){var T=this.point[floatingNavStrikes[m]];T&&(k+='\x3cul\x3e\x3cli class\x3d"name" style\x3d"color: '+w+';"\x3e'+floatingNavStrikeLabel[floatingNavStrikes[m]]+' : \x3c/li\x3e\x3cli class\x3d"price" style\x3d"color: '+
  w+';"\x3e'+currencyCode+Highcharts.numberFormat(T,yDecimals)+K+"\x3c/li\x3e\x3c/ul\x3e")}k+='\x3cul class\x3d"'+(12<z.point.series.name.length?"long":"short")+'"\x3e\x3cli class\x3d"name" style\x3d"color: '+w+';"\x3e'+z.point.series.name+': \x3c/li\x3e\x3cli class\x3d"price" style\x3d"background: '+w+';"\x3e'+(U?"":currencyCode)+Highcharts.numberFormat(R,yDecimals)+K+"\x3c/li\x3e";"percent"===G&&(k+='\x3cli class\x3d"change" style\x3d"color: '+w+';"\x3e'+O+Highcharts.numberFormat(v,yDecimalsNavChart)+
  "%\x3c/li\x3e");k+="\x3c/ul\x3e"});return k+="\x3c/ul\x3e"}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var k=new Date(this.value),m=k.getUTCDate(),z=k.getUTCMonth();k=k.getUTCFullYear();return Highcharts.dateFormat(performanceChartXAxisFormat,Date.UTC(k,z,m))},staggerLines:2},events:{afterSetExtremes:function(k){var m="total-returns"===c||"nav"===c,z=e.highcharts();if("undefined"!=typeof z&&m){var v=new Date(k.min);m=new Date(k.max);v=Date.UTC(v.getUTCFullYear(),v.getUTCMonth(),
  0);"rangeSelectorButton"==k.trigger&&"ytd"==k.rangeSelectorButton.type&&z.xAxis[0].setExtremes(v,m)}}},tickPositioner:function(){for(var k=[],m=0;m<this.tickPositions.length;m++)k.push(this.tickPositions[m]-864E5);return k},minRange:2592E6,minTickInterval:2592E6},yAxis:{labels:{formatter:function(){return u?Highcharts.numberFormat(J*(1+this.value/100),0):"percent"==G?this.value+"%":this.value},align:"right"},opposite:!1}};"undefined"!==typeof f&&f&&(h.chart.height=140,h.chart.panning=!1,h.chart.pinchType=
  "",h.chart.style={cursor:"pointer"},h.chart.spacing=[10,20,0,0],h.title={text:q==l.length-1?$("#chartSinceIncept").val():l[q].text,floating:!0,align:"left",x:0,y:0,style:{fontFamily:"AkkuratProRegular",fontSize:"11px"}},h.tooltip.enabled=!1,h.xAxis.labels.style={cursor:"pointer",fontSize:"8px"},h.xAxis.labels.staggerLines=null,h.xAxis.tickPixelInterval=110,h.yAxis.labels.style={cursor:"pointer",fontSize:"8px"},h.yAxis.tickAmount=4,h.yAxis.labels.y=2,h.plotOptions.series.states={hover:{enabled:!1}},
  h.plotOptions.series.dataGrouping.enabled=!0,h.plotOptions.series.enableMouseTracking=!1);u&&(h.yAxis.minTickInterval=1);"undefined"!==typeof benchmarkData&&0<benchmarkData.length&&u&&BLK.productCharts.performance.showHideBenchmark(e,".show-hide-benchmark-proto","benchmark",benchmarkData,"#2f7ed8",benchmarkName);"undefined"!==typeof secondaryBenchmarkData&&0<secondaryBenchmarkData.length&&u&&BLK.productCharts.performance.showHideBenchmark(e,".show-hide-secBenchmark-proto","secBenchmark",secondaryBenchmarkData,
  "#671E75",secBenchmarkName);"undefined"!==typeof priceData&&0<priceData.length&&D&&$(".show-hide-price-proto").change(function(){var k=e.highcharts();if($(this).is(":checked"))k.addSeries({id:"price",data:priceData,compare:"line",name:priceLabel,type:"line",tooltip:{yDecimals:yDecimalsNavChart},turboThreshold:0,marker:{enabled:!1,symbol:"circle",states:{hover:{enabled:!0}}}});else{var m=k.get("price");m&&m.remove();k.colorCounter=1}});0<g.length&&$.datepicker.setDefaults({yearRange:g[0]+":"+g[1]});
  $(e).highcharts("StockChart",h,function(k){"undefined"!==typeof f&&f&&($(e).bind("mousedown",function(w){BLK.productCharts.triggerModal(this)}),k.extraTopMargin=0,k.isDirtyBox=!0,k.redraw({duration:0}));var m=new Date(k.axes[0].dataMin),z=m.getFullYear()+"-"+("0"+(m.getMonth()+1)).slice(-2)+"-"+("0"+m.getDate()).slice(-2);k=new Date(k.axes[0].dataMax);var v=k.getFullYear()+"-"+("0"+(k.getMonth()+1)).slice(-2)+"-"+("0"+k.getDate()).slice(-2);$(e).attr("min",z);$(e).attr("max",v);setTimeout(function(){$("input.highcharts-range-selector").datepicker({beforeShow:function(){$("#ui-datepicker-div").addClass("blk-calendar");
  $.datepicker.setDefaults({minDate:z,maxDate:v,onClose:function(){this.blur()}})}})},0)});"undefined"!=typeof floatingNavStrikes&&null!=floatingNavStrikes&&0<floatingNavStrikes.length&&(g=e.highcharts(),h=g.get("NAV"),h.remove(),D="NAV",1<floatingNavStrikes.length&&(D=floatingNavStrikeLabel.closingNav),g.addSeries({data:navData,name:D,id:h,color:"#719e32",tooltip:{yDecimals:yDecimalsNavChart}}));$.datepicker.setDefaults({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,beforeShow:function(){console.log(1)},
  onSelect:function(k){this.onchange();this.onblur();$("input.highcharts-range-selector").focusout()}})}$(e).parents("[data-performance-chart]").attr("data-ajax-loaded","true");"undefined"!==typeof benchmarkData&&0<benchmarkData.length&&!unInitBenchmark&&$('a[href\x3d"#subTabTotalReturns"]').parent("li").hasClass("active")&&$("#showHideBenchmarkPerfChart").prop("checked",!0).triggerHandler("change");"undefined"!==typeof secondaryBenchmarkData&&0<secondaryBenchmarkData.length&&!unInitSecBenchmark&&$('a[href\x3d"#subTabTotalReturns"]').parent("li").hasClass("active")&&
  $("#showHideSecBenchmarkPerfChart").prop("checked",!0).triggerHandler("change");"undefined"!==typeof priceData&&0<priceData.length&&$('a[href\x3d"#subTabNav"]').parent("li").hasClass("active")&&$("#priceDataPerfChart").prop("checked",!0).triggerHandler("change");"undefined"!==typeof liquidityData&&$('a[href\x3d"#subTabLiquidity"]').parent("li").hasClass("active")&&$("#liquidityDailyDataPerfChart").prop("checked",!0).triggerHandler("change");h=$(e).parents(".modal-content");h.length&&(h=h.parent(),
  g=h.outerHeight(),BLK.productV3.tabs.adjustModalPosition(h,g));if($(e).siblings(".growthChartSelector").length)$(document).one("click","input[name\x3dchartSetTypeCode]",function(k){BLK.productV3.tabs.loading("#chartTabs",!0);$.ajax({type:"post",url:$("#chartSetTypeIdNav").attr("action"),data:{chartSetTypeCode:$("input[name\x3dchartSetTypeCode]:checked").val()}}).done(function(m){var z=$("input[name\x3dchartSetTypeCode]:checked").attr("id");m=$(m);$("#chartTabs").parent().html(m);$("#"+z).attr("checked",
  !0);"chartSetTypeIdNav"===z?($("#navDisclaimer").show(),$("#marketDataDisclaimer").hide()):($("#navDisclaimer").hide(),$("#marketDataDisclaimer").show());BLK.productV3.tabs.tabsHandler("#chartTabs");BLK.productCharts.performance.init("#chartTabs");BLK.productV3.tabs.loading("#chartTabs",!1)}).fail(function(m){$("#performanceChartContainerPerfChart").text(m.responseText);BLK.productV3.tabs.loading("#chartTabs",!1)})})},init:function(a){var b=function(c){var f=$(c).attr("id");if(-1!==f.indexOf("TotalReturns"))if("undefined"!==
  typeof performanceData){var g="performanceData";$("#chartTabs").attr("data-default-tab","performance")}else"undefined"!==typeof navData?(g="navData",$("#chartTabs").attr("data-default-tab","nav")):g="emptyChart";-1!==f.indexOf("Nav")&&(g="navData");-1!==f.indexOf("PremDiscChart")&&(g="premDiscData");-1!==f.indexOf("HistoricalPrices")&&(g="histPricesData");-1!==f.indexOf("Liquidity")&&(g="liquidityData");-1!==f.indexOf("Dailyflows")&&(g="dailyflowsData");return{data:eval(g),timePeriod:BLK.productCharts.getTimePeriod(),
  chartContainer:$(c).find(".performance-chart-container"),chartName:$(c).attr("data-performance-chart")}},e=function(c){if(-1===$(c).attr("id").indexOf("thumbnail"))try{return b(c)}catch(f){console.log(f)}else $(c).siblings(".performance-modal").find(".thumb").hide(),BLK.productV3.tabs.loading(c,!0),$.ajax({url:$(c).attr("data-ajaxuri"),cache:!0,contentType:"application/x-www-form-urlencoded",traditional:!0}).done(function(f){var g=$(f).find("script");$.each(g,function(l,q){l=BLK.getScriptNonce();
  q.setAttribute("nonce",l);$(c).append(q)});$("#chartTabs").attr("data-timeperiod",$(f).find("#chartTabs").attr("data-timeperiod"));BLK.productV3.tabs.loading(c,!1);try{var h=b(c);h.isThumbnail=!0;BLK.productCharts.performance.render(h)}catch(l){console.log(l),$(c).find(".thumbnail-error").show(),$(c).siblings(".performance-modal").hide()}}).fail(function(f){$(c).text(f.responseText);BLK.productV3.tabs.loading(c,!1)})};"undefined"===typeof a&&(a=".fund-component-parent");$(a).find("div[data-performance-chart]:visible").each(function(c,
  f){try{var g=e(f);BLK.productCharts.setHighchartsTranslations();"undefined"!==typeof g&&BLK.productCharts.performance.render(g)}catch(h){console.log(h)}});$(a).find("div[data-performance-chart]:hidden").each(function(c,f){c=$('a[href\x3d"#'+$(f).attr("id")+'"]');$(c).one("click",function(){try{var g=e(f);BLK.productCharts.setHighchartsTranslations();"undefined"!==typeof g&&BLK.productCharts.performance.render(g)}catch(h){console.log(h)}})})},getChartWidth:function(a,b){return"liquidity"===b?"undefined"!==
  typeof a&&a?null:725:"undefined"!==typeof a&&a?null:780},showHideBenchmark:function(a,b,e,c,f,g){$(b).change(function(){var h=a.highcharts();if($(this).is(":checked"))h.addSeries({id:e,data:c,color:f,compare:"percent",name:g,type:"line",tooltip:{yDecimals:yDecimalsNavChart},turboThreshold:0,marker:{enabled:!1,symbol:"circle",states:{hover:{enabled:!0}}}});else{var l=h.get(e);l&&l.remove();h.colorCounter=1}})},getMinMaxYear:function(a){var b=[];b.push((new Date(a[0].formattedX)).getUTCFullYear());
  b.push((new Date(a[a.length-1].formattedX)).getUTCFullYear());return b}},distributions:{getDistroData:function(a,b){var e=$(a).attr("data-distro-chart"),c=$(a).attr("data-chart-container");b=$(a).parent();var f=-1!==b.attr("id").indexOf("Thumbnail");BLK.productV3.tabs.loading($(a),!0,!0);f&&b.siblings(".performance-modal").find(".thumb").hide();$.ajax(b.attr("data-ajaxuri")).done(function(g){var h="#"+c;BLK.productV3.tabs.loading($(a),!1,!0);BLK.productCharts.renderColumnChart(g[e+".chart"].data,
  g[e+".chart"].dates,h,!0,f);f&&$(h).bind("mousedown",function(l){BLK.productCharts.triggerModal(this)});$(h).parents(".distro-tab").attr("data-ajax-loaded","true");g=$(h).parents(".modal-content");g.length&&(g=g.parent(),h=g.outerHeight(),BLK.productV3.tabs.adjustModalPosition(g,h))}).fail(function(g){$(a).text(g.responseText);$(a).parents(".thumbnail-chart").find(".performance-modal").hide();BLK.productV3.tabs.loading($(a),!1,!0)})},init:function(a){"undefined"===typeof a&&(a=".fund-component-parent");
  $(a).find("div[data-distro-chart]:visible").each(function(b,e){try{BLK.productCharts.distributions.getDistroData(e)}catch(c){console.log(c)}});$(a).find("div[data-distro-chart]:hidden").each(function(b,e){b=$('a[href\x3d"#'+$(e).attr("data-trigger")+'"]');$(b).one("click",function(){try{BLK.productCharts.distributions.getDistroData(e)}catch(c){console.log(c)}})})}},premiumDiscountDetails:{render:function(a){var b=eval(a.chartDetails),e={chart:{type:b.chartInfo.chartType,width:BLK.productCharts.performance.getChartWidth(!1)},
  colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),credits:{enabled:!1},legend:{enabled:!0},navigator:{enabled:!1},plotOptions:{series:{turboThreshold:5E3}},scrollbar:{enabled:!1},rangeSelector:{buttons:BLK.premiumDiscountData.chart.buttonsConfig,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},
  inputEnabled:!1,selected:0},series:b.data,title:{text:"",floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:b.chartInfo.tooltipShare,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var c=this.points,f="\x3ch4\x3e";f+=Highcharts.dateFormat("%a, %b %e, %Y",this.x)+"\x3c/h4\x3e";b.chartInfo.tooltipShare?($.each(c,function(g,h){f+='\x3cul\x3e\x3cli class\x3d"title" style\x3d"color: '+c[g].series.name+';"\x3e'+c[g].series.name+': \x3c/li\x3e\x3cli class\x3d"property" style\x3d"background-color: '+
  c[g].series.color+';"\x3e'+Highcharts.numberFormat(h.y,2);b.chartInfo.percent&&(f+="%");f+="\x3c/li\x3e\x3c/ul\x3e"}),f+="\x3c/ul\x3e"):(f+='\x3cul\x3e\x3cli class\x3d"title" style\x3d"color: '+this.series.color+';"\x3e'+this.point.series.name+': \x3c/li\x3e\x3cli class\x3d"property" style\x3d"background-color: '+this.series.color+';"\x3e'+Highcharts.numberFormat(this.y,2),b.chartInfo.percent&&(f+="%"),f+="\x3c/li\x3e\x3c/ul\x3e");return f}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var c=
  new Date(this.value);return Highcharts.dateFormat("%b %e %Y",Date.UTC(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()))},staggerLines:2},minRange:2592E6},yAxis:{tickPixelInterval:50,labels:{formatter:function(){var c=b.chartInfo.percent?"%":"";return(this.value!==Math.floor(this.value)?Highcharts.numberFormat(this.value,2):this.value)+c},align:"right"},opposite:!1}};$("#"+a.chartContainer).highcharts("StockChart",e)},init:function(){var a=$("#premiumDiscountDetails"),b=function(e){return{chartName:e,
  chartContainer:"subTab"+$.capFirst(e),chartDetails:"BLK.premiumDiscountData.chart."+e}};a.find("div[data-premium-discount-details-chart]:first").each(function(e,c){try{var f=$(c).data("premium-discount-details-chart"),g=b(f);"undefined"!==typeof g&&BLK.productCharts.premiumDiscountDetails.render(g)}catch(h){console.log(h)}});a.find("div[data-premium-discount-details-chart]:not(:first)").each(function(e,c){e="#"+$(this).attr("id");$('a[href\x3d"'+e+'"]').one("click",function(){try{var f=$(c).data("premium-discount-details-chart"),
  g=b(f);"undefined"!==typeof g&&BLK.productCharts.premiumDiscountDetails.render(g)}catch(h){console.log(h)}})})}},premiumDiscount:{render:function(a){var b={chart:{type:"bar",height:30*a.categories.length,spacingLeft:0},credits:{enabled:!1},plotOptions:{series:{animation:!1,color:"#80be00",dataLabels:{allowOverlap:!0,enabled:!a.isThumbnail,style:{fontFamily:"Arial",fontSize:"13px",fontWeight:"normal"}},enableMouseTracking:!1,pointPadding:0,pointWidth:17,groupPadding:.02}},legend:{enabled:!1},series:a.data,
  title:{text:null},xAxis:{categories:a.categories,labels:{useHTML:!0,step:1,formatter:function(){return'\x3cspan class\x3d"prem-disc-label"\x3e'+this.value+"\x3c/span\x3e"},style:{fontFamily:"Arial",fontSize:a.isThumbnail?"8px":"13px"}},tickmarkPlacement:"between"},yAxis:{gridLineWidth:0,labels:{enabled:!1},title:{text:null}}};a.isThumbnail&&(b.chart.style={cursor:"pointer"},b.xAxis.labels.style.cursor="pointer",a.container.bind("mousedown",function(e){BLK.productCharts.triggerModal(this)}));return a.container.highcharts(b)},
  init:function(a){var b=function(c,f){var g=$(c).attr("data-prem-disc-chart"),h=eval(g+"Categories");return{data:eval(g+"Data"),categories:h,container:$(c).find(".premium-discount-chart-container"),isThumbnail:f}},e=function(c){if(-1===$(c).attr("id").indexOf("thumbnail"))return b(c,!1);$(c).siblings(".performance-modal").find(".thumb").hide();BLK.productV3.tabs.loading(c,!0);$.ajax({url:$(c).attr("data-ajaxuri"),cache:!0,contentType:"application/x-www-form-urlencoded",traditional:!0}).done(function(f){f=
  $(f).find("script");$.each(f,function(g,h){g=BLK.getScriptNonce();h.setAttribute("nonce",g);$(c).append(h)});f=b(c,!0);BLK.productV3.tabs.loading(c,!1);BLK.productCharts.premiumDiscount.render(f)}).fail(function(f){$(c).text(f.responseText);BLK.productV3.tabs.loading(c,!1)})};"undefined"===typeof a&&(a=".fund-component-parent");$(a).find("div[data-prem-disc-chart]:visible").each(function(c,f){try{var g=e(f);"undefined"!==typeof g&&BLK.productCharts.premiumDiscount.render(g)}catch(h){console.log(h)}});
  $(a).find("div[data-prem-disc-chart]:hidden").each(function(c,f){c=$('a[href\x3d"#'+$(f).attr("data-trigger")+'"]');$(c).one("click",function(){try{var g=e(f);"undefined"!==typeof g&&BLK.productCharts.premiumDiscount.render(g)}catch(h){console.log(h)}})})}},premiumDiscountChart:{render:function(a){var b=a.data,e=a.chartContainer,c=a.isThumbnail;a=[];var f="";a=BLK.productCharts.premiumDiscountChart.getMinMaxYear(b);f="%";BLK.responsive.isResponsive?(showDateInputs=!1,chartHeight=250):(showDateInputs=
  !0,chartHeight=400);var g={credits:{enabled:!1},chart:{events:{load:function(){e.removeClass("loading")}},height:chartHeight,width:BLK.responsive.isResponsive?$("#performanceChartContainerPerfChart .highcharts-container").width():BLK.productCharts.premiumDiscountChart.getChartWidth(c)},colors:"#719E32 #2f7ed8 #0d233a #8bbc21 #910000 #1aadce #492970 #f28f43 #77a1e5 #c42525".split(" "),legend:{enabled:!1},navigator:{enabled:!1},plotOptions:{series:{animation:!1,compare:"line",compareStart:!0,turboThreshold:0,
  dataGrouping:{enabled:!1}}},rangeSelector:{buttons:buttonsConf,buttonSpacing:0,buttonTheme:{fill:"none",stroke:"none","stroke-width":0,style:{fontFamily:"Arial",fontSize:"12px",color:"#0099FF"},states:{hover:{fill:"#efefef"},select:{fill:"#efefef",style:{color:"#039"}}},width:null,padding:4},inputStyle:{fontSize:"13px"},inputEnabled:!0,enabled:!("undefined"!==typeof c&&c),inputDateFormat:premDiscChartRangeSelectorDateFormat,inputEditDateFormat:premDiscChartRangeSelectorEditDateFormat},scrollbar:{enabled:BLK.responsive.isResponsive},
  series:[{data:b,name:"Premium/Discount",id:"premiumDiscount",tooltip:{yDecimals:yDecimalsNavChart},turboThreshold:0}],title:{text:"",floating:!0,align:"right",x:0,y:15,style:{color:"#0c6d4a"}},tooltip:{shared:!0,backgroundColor:"rgba(255, 255, 255, 0.9)",borderWidth:1,useHTML:!0,formatter:function(){var h="\x3ch4\x3e";h+=this.points[0].point.formattedX+"\x3c/h4\x3e";$.each(this.points,function(l,q){l=q.series.color;h+='\x3cul class\x3d"long"\x3e\x3cli class\x3d"name" style\x3d"color: '+l+';"\x3e'+
  premDiscTooltipLabel+': \x3c/li\x3e\x3cli class\x3d"price" style\x3d"background: '+l+';"\x3e'+Highcharts.numberFormat(q.y,yDecimals)+f+"\x3c/li\x3e";h+="\x3c/ul\x3e"});return h+="\x3c/ul\x3e"}},xAxis:{changed:!1,type:"datetime",labels:{formatter:function(){var h=new Date(this.value),l=h.getUTCDate(),q=h.getUTCMonth();h=h.getUTCFullYear();return Highcharts.dateFormat(premDiscXAxisDateFormat,Date.UTC(h,q,l))},staggerLines:2},tickPositioner:function(){for(var h=[],l=0;l<this.tickPositions.length;l++)h.push(this.tickPositions[l]-
  864E5);return h},minRange:1,minTickInterval:2592E6,events:{afterSetExtremes:function(h){if("rangeSelectorButton"===h.trigger){var l=this.chart;"previousYear"===h.rangeSelectorButton.type?setTimeout(function(){l.xAxis[0].setExtremes(Math.max(b[0].x,(new Date(Date.UTC((new Date).getFullYear()-1,0,1))).getTime()),(new Date(Date.UTC((new Date).getFullYear()-1,11,31))).getTime())},1):"previousQuarter"===h.rangeSelectorButton.type&&setTimeout(function(){l.xAxis[0].setExtremes(Math.max(b[0].x,lastQuarterStartDate.getTime()),
  lastQuarterEndDate.getTime())},1)}}}},yAxis:{title:{align:"high",text:"%",offset:0,rotation:0,y:-15,x:-8,style:{"font-size":"20px"}},labels:{format:"{value:.2f}",align:"right",x:-10,y:3},opposite:!1}};0<a.length&&$.datepicker.setDefaults({yearRange:a[0]+":"+a[1]});$(e).highcharts("StockChart",g,function(h){"undefined"!==typeof c&&c&&($(e).bind("mousedown",function(u){BLK.productCharts.triggerModal(this)}),h.extraTopMargin=0,h.isDirtyBox=!0,h.redraw({duration:0}));var l=new Date(h.axes[0].dataMin),
  q=l.getFullYear()+"-"+("0"+(l.getMonth()+1)).slice(-2)+"-"+("0"+l.getDate()).slice(-2);h=new Date(h.axes[0].dataMax);var r=h.getFullYear()+"-"+("0"+(h.getMonth()+1)).slice(-2)+"-"+("0"+h.getDate()).slice(-2);$(e).attr("min",q);$(e).attr("max",r);setTimeout(function(){$("input.highcharts-range-selector").datepicker({beforeShow:function(){$("#ui-datepicker-div").addClass("blk-calendar");$.datepicker.setDefaults({minDate:q,maxDate:r,onClose:function(){this.blur()}})}})},0)});$.datepicker.setDefaults({dateFormat:"yy-mm-dd",
  changeMonth:!0,changeYear:!0,beforeShow:function(){console.log(1)},onSelect:function(h){this.onchange();this.onblur();$("input.highcharts-range-selector").focusout()}});$(e).parents("[data-premdisc-chart]").attr("data-ajax-loaded","true");a=$(e).parents(".modal-content");a.length&&(a=a.parent(),g=a.outerHeight(),BLK.productV3.tabs.adjustModalPosition(a,g))},init:function(a){var b=function(c){return{data:eval("premDiscData"),timePeriod:BLK.productCharts.getTimePeriod(),chartContainer:$(c).find(".premdisc-chart-container"),
  chartName:$(c).attr("data-premdisc-chart")}},e=function(c){try{return b(c)}catch(f){console.log(f)}};"undefined"===typeof a&&(a=".fund-component-parent");$(a).find("div[data-premdisc-chart]:visible").each(function(c,f){try{var g=e(f);BLK.productCharts.setHighchartsTranslations();"undefined"!==typeof g&&BLK.productCharts.premiumDiscountChart.render(g)}catch(h){console.log(h)}});$(a).find("div[data-premdisc-chart]:hidden").each(function(c,f){c=$('a[href\x3d"#'+$(f).attr("id")+'"]');$(c).one("click",
  function(){try{var g=e(f);BLK.productCharts.setHighchartsTranslations();"undefined"!==typeof g&&BLK.productCharts.premiumDiscountChart.render(g)}catch(h){console.log(h)}})})},getChartWidth:function(a){return"undefined"!==typeof a&&a?null:780},getMinMaxYear:function(a){var b=[];b.push((new Date(a[0].formattedX)).getUTCFullYear());b.push((new Date(a[a.length-1].formattedX)).getUTCFullYear());return b}},setHighchartsTranslations:function(){"undefined"!==typeof performanceChartRangeSelectorToStr&&Highcharts.setOptions({lang:{rangeSelectorFrom:"",
  rangeSelectorTo:performanceChartRangeSelectorToStr,months:performanceChartMonthArray,shortMonths:performanceChartShortMonthArray,weekdays:performanceChartDayArray,rangeSelectorZoom:performanceChartZoomStr,decimalPoint:chartDecimalSeparator,thousandsSep:chartGroupingSeparator}})}};
  $(document).ready(function(){BLK.productCharts.performance.init();BLK.productCharts.distributions.init();0<$("#premiumDiscount").length?BLK.productCharts.premiumDiscount.init():0<$("#premiumDiscountDetails").length&&BLK.productCharts.premiumDiscountDetails.init();BLK.responsive.isResponsive||(BLK.productCharts.barChart.init(),BLK.productCharts.pieChart.init(),BLK.productCharts.geoChart.init())});/*
   iFrame Resizer (iframeSizer.min.js ) - v3.5.14 - 2017-03-30
    Desc: Force cross domain iframes to size to content.
    Requires: iframeResizer.contentWindow.min.js to be loaded into the target frame.
    Copyright: (c) 2017 David J. Bradshaw - dave@bradshaw.net
    License: MIT
  */
  !function(a){function b(n,x,B){"addEventListener"in window?n.addEventListener(x,B,!1):"attachEvent"in window&&n.attachEvent("on"+x,B)}function e(n,x,B){"removeEventListener"in window?n.removeEventListener(x,B,!1):"detachEvent"in window&&n.detachEvent("on"+x,B)}function c(){var n,x=["moz","webkit","o","ms"];for(n=0;n<x.length&&!ca;n+=1)ca=window[x[n]+"RequestAnimationFrame"];ca||g("setup","RequestAnimationFrame not supported")}function f(n){var x="Host page: "+n;return window.top!==window.self&&(x=
  window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+n:"Nested host page: "+n),x}function g(n,x){l("log",n,x,p[n]?p[n].log:W)}function h(n,x){l("warn",n,x,!0)}function l(n,x,B,A){!0===A&&"object"==typeof window.console&&console[n](fa+"["+f(x)+"]",B)}function q(n){function x(){A("Height");A("Width");K(function(){Q(N);H(C);r(C,"resizedCallback",N)},N,"init")}function B(){var y=Y.substr(ia).split(":");return{iframe:p[y[0]].iframe,id:y[0],height:y[1],width:y[2],type:y[3]}}function A(y){var I=
  Number(p[C]["max"+y]),L=Number(p[C]["min"+y]);y=y.toLowerCase();var V=Number(N[y]);g(C,"Checking "+y+" is in range "+L+"-"+I);L>V&&(V=L,g(C,"Set "+y+" to min value"));V>I&&(V=I,g(C,"Set "+y+" to max value"));N[y]=""+V}function P(){function y(){function V(){var aa=0,da=!1;for(g(C,"Checking connection is from allowed list of origins: "+L);aa<L.length;aa++)if(L[aa]===I){da=!0;break}return da}function ja(){var aa=p[C].remoteHost;return g(C,"Checking connection is from: "+aa),I===aa}return L.constructor===
  Array?V():ja()}var I=n.origin,L=p[C].checkOrigin;if(L&&"null"!=""+I&&!y())throw Error("Unexpected message received from: "+I+" for "+N.iframe.id+". Message was: "+n.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function ea(){var y=N.type in{"true":1,"false":1,undefined:1};return y&&g(C,"Ignoring init message from meta parent page"),y}function E(y){g(C,"MessageCallback passed: {iframe: "+N.iframe.id+", message: "+
  y+"}");y={iframe:N.iframe,message:JSON.parse(y)};r(C,"messageCallback",y);g(C,"--")}function F(y,I){k(function(){var L=document.body.getBoundingClientRect();var V=N.iframe.getBoundingClientRect();L=JSON.stringify({iframeHeight:V.height,iframeWidth:V.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(V.top-L.top,10),offsetLeft:parseInt(V.left-L.left,10),scrollTop:window.pageYOffset,
  scrollLeft:window.pageXOffset});G("Send Page Info","pageInfo:"+L,y,I)},32)}function M(){function y(V,ja){function aa(){p[L]?F(p[L].iframe,L):I()}["scroll","resize"].forEach(function(da){g(L,V+da+" listener for sendPageInfo");ja(window,da,aa)})}function I(){y("Remove ",e)}var L=C;y("Add ",b);p[L].stopPageInfo=I}function X(){var y=!0;return null===N.iframe&&(h(C,"IFrame ("+N.id+") not found"),y=!1),y}function la(y){y=y.getBoundingClientRect();return D(C),{x:Math.floor(Number(y.left)+Number(S.x)),y:Math.floor(Number(y.top)+
  Number(S.y))}}function ma(y){var I=y?la(N.iframe):{x:0,y:0},L={x:Number(N.width)+I.x,y:Number(N.height)+I.y};g(C,"Reposition requested from iFrame (offset x:"+I.x+" y:"+I.y+")");window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(y?"Offset":"")](L.x,L.y):h(C,"Unable to scroll to requested position, window.parentIFrame not found"):(S=L,na(),g(C,"--"))}function na(){!1!==r(C,"scrollCallback",S)?H(C):S=null}function qa(y){y=y.split("#")[1]||"";var I=decodeURIComponent(y);(I=
  document.getElementById(I)||document.getElementsByName(I)[0])?(I=la(I),g(C,"Moving to in page link (#"+y+") at x: "+I.x+" y: "+I.y),S={x:I.x,y:I.y},na(),g(C,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(y):g(C,"In page link #"+y+" not found and window.parentIFrame not found"):g(C,"In page link #"+y+" not found")}function ra(y){var I=!0;return p[y]||(I=!1,h(N.type+" No settings for "+y+". Message was: "+Y)),I}function sa(){for(var y in p)G("iFrame requested init",
  Z(y),document.getElementById(y),y)}var Y=n.data,N={},C=null;if("[iFrameResizerChild]Ready"===Y)sa();else if(fa===(""+Y).substr(0,ia)&&Y.substr(ia).split(":")[0]in p){if(N=B(),C=N.id,p[C].loaded=!0,!ea()&&ra(C)&&(g(C,"Received: "+Y),X()&&P()))switch(p[C].firstRun&&(p[C].firstRun=!1),N.type){case "close":u(N.iframe);break;case "message":E(Y.substr(Y.indexOf(":")+oa+6));break;case "scrollTo":ma(!1);break;case "scrollToOffset":ma(!0);break;case "pageInfo":F(p[C].iframe,C);M();break;case "pageInfoStop":p[C]&&
  p[C].stopPageInfo&&(p[C].stopPageInfo(),delete p[C].stopPageInfo);break;case "inPageLink":qa(Y.substr(Y.indexOf(":")+oa+9));break;case "reset":J(N);break;case "init":x();r(C,"initCallback",N.iframe);break;default:x()}}else l("info",C,"Ignored: "+Y,p[C]?p[C].log:W)}function r(n,x,B){var A=null,P=null;if(p[n]){if(A=p[n][x],"function"!=typeof A)throw new TypeError(x+" on iFrame["+n+"] is not a function");P=A(B)}return P}function u(n){var x=n.id;g(x,"Removing iFrame: "+x);n.parentNode&&n.parentNode.removeChild(n);
  r(x,"closedCallback",x);g(x,"--");delete p[x]}function D(n){null===S&&(S={x:window.pageXOffset!==a?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==a?window.pageYOffset:document.documentElement.scrollTop},g(n,"Get page position: "+S.x+","+S.y))}function H(n){null!==S&&(window.scrollTo(S.x,S.y),g(n,"Set page position: "+S.x+","+S.y),S=null)}function J(n){g(n.id,"Size reset requested by "+("init"===n.type?"host page":"iFrame"));D(n.id);K(function(){Q(n);G("reset","reset",
  n.iframe,n.id)},n,"reset")}function Q(n){function x(A){n.iframe.style[A]=n[A]+"px";g(n.id,"IFrame ("+B+") "+A+" set to "+n[A]+"px");pa||"0"!==n[A]||(pa=!0,g(B,"Hidden iFrame detected, creating visibility listener"),m())}var B=n.iframe.id;p[B]&&(p[B].sizeHeight&&x("height"),p[B].sizeWidth&&x("width"))}function K(n,x,B){B!==x.type&&ca?(g(x.id,"Requesting animation frame"),ca(n)):n()}function G(n,x,B,A,P){function ea(){var M=p[A].targetOrigin;g(A,"["+n+"] Sending msg to iframe["+A+"] ("+x+") targetOrigin: "+
  M);B.contentWindow.postMessage(fa+x,M)}function E(){function M(){!p[A]||p[A].loaded||F||(F=!0,h(A,"IFrame has not responded within "+p[A].warningTimeout/1E3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}P&&p[A].warningTimeout&&(p[A].msgTimeout=setTimeout(M,p[A].warningTimeout))}var F=!1;A=A||B.id;p[A]&&(B&&"contentWindow"in
  B&&null!==B.contentWindow?ea():h(A,"["+n+"] IFrame("+A+") not found"),E())}function Z(n){return n+":"+p[n].bodyMarginV1+":"+p[n].sizeWidth+":"+p[n].log+":"+p[n].interval+":"+p[n].enablePublicMethods+":"+p[n].autoResize+":"+p[n].bodyMargin+":"+p[n].heightCalculationMethod+":"+p[n].bodyBackground+":"+p[n].bodyPadding+":"+p[n].tolerance+":"+p[n].inPageLinks+":"+p[n].resizeFrom+":"+p[n].widthCalculationMethod}function U(n,x){function B(){function F(X){1/0!==p[E][X]&&0!==p[E][X]&&(n.style[X]=p[E][X]+"px",
  g(E,"Set "+X+" \x3d "+p[E][X]+"px"))}function M(X){if(p[E]["min"+X]>p[E]["max"+X])throw Error("Value for min"+X+" can not be greater than max"+X);}M("Height");M("Width");F("maxHeight");F("minHeight");F("maxWidth");F("minWidth")}function A(){Function.prototype.bind&&(p[E].iframe.iFrameResizer={close:u.bind(null,p[E].iframe),resize:G.bind(null,"Window resize","resize",p[E].iframe),moveToAnchor:function(F){G("Move to anchor","moveToAnchor:"+F,p[E].iframe,E)},sendMessage:function(F){F=JSON.stringify(F);
  G("Send Message","message:"+F,p[E].iframe,E)}})}function P(F){b(n,"load",function(){G("iFrame.onload",F,n,a,!0);var M=p[E].heightCalculationMethod in ta;!p[E].firstRun&&M&&J({iframe:n,height:0,width:0,type:"init"})});G("init",F,n,a,!0)}function ea(F){F=F||{};p[E]={firstRun:!0,iframe:n,remoteHost:n.src.split("/").slice(0,3).join("/")};if("object"!=typeof F)throw new TypeError("Options is not an object");for(var M in ha)ha.hasOwnProperty(M)&&(p[E][M]=F.hasOwnProperty(M)?F[M]:ha[M]);M=p[E];!0===p[E].checkOrigin?
  (F=p[E].remoteHost,F=""===F||"file://"===F?"*":F):F="*";M.targetOrigin=F}var E=function(F){if(""===F){var M=x&&x.id||ha.id+ba++;F=(null!==document.getElementById(M)&&(M+=ba++),M);n.id=F;W=(x||{}).log;g(F,"Added missing iframe ID: "+F+" ("+n.src+")")}return F}(n.id);if(E in p&&"iFrameResizer"in n)h(E,"Ignored iFrame, already setup.");else{ea(x);switch(g(E,"IFrame scrolling "+(p[E].scrolling?"enabled":"disabled")+" for "+E),n.style.overflow=!1===p[E].scrolling?"hidden":"auto",p[E].scrolling){case !0:n.scrolling=
  "yes";break;case !1:n.scrolling="no";break;default:n.scrolling=p[E].scrolling}B();("number"==typeof p[E].bodyMargin||"0"===p[E].bodyMargin)&&(p[E].bodyMarginV1=p[E].bodyMargin,p[E].bodyMargin=""+p[E].bodyMargin+"px");P(Z(E));A()}}function k(n,x){null===ka&&(ka=setTimeout(function(){ka=null;n()},x))}function m(){function n(){for(var P in p)null===p[P].iframe.offsetParent||"0px"!==p[P].iframe.style.height&&"0px"!==p[P].iframe.style.width||G("Visibility change","resize",p[P].iframe,P)}function x(P){g("window",
  "Mutation observed: "+P[0].target+" "+P[0].type);k(n,16)}function B(){var P=document.querySelector("body");(new A(x)).observe(P,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}var A=window.MutationObserver||window.WebKitMutationObserver;A&&B()}function z(n){g("window","Trigger event: "+n);k(function(){w("Window "+n,"resize")},16)}function v(){function n(){w("Tab Visable","resize")}"hidden"!==document.visibilityState&&(g("document","Trigger event: Visiblity change"),
  k(n,16))}function w(n,x){for(var B in p)"parent"===p[B].resizeFrom&&p[B].autoResize&&!p[B].firstRun&&G(n,x,document.getElementById(B),B)}function O(){b(window,"message",q);b(window,"resize",function(){z("resize")});b(document,"visibilitychange",v);b(document,"-webkit-visibilitychange",v);b(window,"focusin",function(){z("focus")});b(window,"focus",function(){z("focus")})}function R(){function n(B,A){if(A){if(!A.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==A.tagName.toUpperCase())throw new TypeError("Expected \x3cIFRAME\x3e tag, found \x3c"+
  A.tagName+"\x3e");U(A,B);x.push(A)}}var x;return c(),O(),function(B,A){x=[];B&&B.enablePublicMethods&&h("enablePublicMethods option has been removed, public methods are now always available in the iFrame");switch(typeof A){case "undefined":case "string":Array.prototype.forEach.call(document.querySelectorAll(A||"iframe"),n.bind(a,B));break;case "object":n(B,A);break;default:throw new TypeError("Unexpected data type ("+typeof A+")");}return x}}function T(n){n.fn?n.fn.iFrameResize||(n.fn.iFrameResize=
  function(x){return this.filter("iframe").each(function(B,A){U(A,x)}).end()}):l("info","","Unable to bind to jQuery, it is not fully loaded.",p[""]?p[""].log:W)}if("undefined"!=typeof window){var ba=0,W=!1,pa=!1,oa=7,fa="[iFrameSizer]",ia=fa.length,S=null,ca=window.requestAnimationFrame,ta={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},p={},ka=null,ha={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",
  id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5E3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){h("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}};window.jQuery&&T(window.jQuery);"function"==typeof define&&define.amd?define([],R):"object"==typeof module&&
  "object"==typeof module.exports?module.exports=R():window.iFrameResize=window.iFrameResize||R()}}();