PageSourceSearch

https://www.franklintempleton.com.mx/section-nav.531b4c4cab7a2b926203.js

js franklintempleton.com.mx collected 2026-10-06 18:29:46 UTC 5,174 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["section-nav"],{7374:(k,m,i)=>{i.r(m),i.d(m,{SectionNavModule:()=>Q});var s=i(3138),v=i(71556),a=i(54364),l=i(92612),u=i(68411),h=i(79441),f=i(22663),t=i(2316),S=i(1117),C=i(55311),p=i(43021);function T(n,c){if(1&n&&t.GkF(0,4),2&n){const e=t.oxw();t.Q6J("brManageContentButton",e.document)("relative",!1)}}function N(n,c){1&n&&t.GkF(0)}function b(n,c){if(1&n&&(t.ynx(0),t.TgZ(1,"div",7),t.YNc(2,N,1,0,"ng-container",8),t.qZA(),t.BQk()),2&n){t.oxw();const e=t.MAs(3),o=t.oxw();t.xp6(1),t.Q6J("edsSpacing","auto"===o.marginBottom?"xl":o.marginBottom),t.xp6(1),t.Q6J("ngTemplateOutlet",e)}}function _(n,c){if(1&n){const e=t.EpF();t.TgZ(0,"eds-tabs-sticky",9),t.NdJ("onTabChanged",function(r){return t.CHM(e),t.oxw(2).onTabChange(r)})("onHeightChanged",function(r){return t.CHM(e),t.oxw(2).onHeightChange(r)}),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("links",e.sectionNavs)("activeTab",e.activeTabId)}}function x(n,c){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,b,3,2,"ng-container",5),t.YNc(2,_,1,2,"ng-template",null,6,t.W1O),t.qZA()),2&n){const e=t.MAs(3),o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.marginBottom)("ngIfElse",e)}}function y(n,c){if(1&n&&(t.TgZ(0,"div",10),t.TgZ(1,"div",11),t.TgZ(2,"div",12),t._uU(3," Click to configure "),t.TgZ(4,"strong"),t._uU(5),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.Q6J("edsSpacing","auto"===e.marginBottom?"xl":e.marginBottom),t.xp6(5),t.Oqu(e.componentLabel)}}const M=function(n){return{"has-edit-button":n}},d=u.Y.getLogger("SectionNavComponent");let A=(()=>{class n extends l.N{constructor(e,o,r,g,Z){super(),this.changeDetectorRef=e,this.tabsStickyService=o,this.scrollService=r,this.viewModeService=g,this.documentRef=Z,this.unsubscribe$=new h.xQ,this.isEditMode=this.viewModeService.isEditMode()}ngOnInit(){super.ngOnInit(),this.sectionNavDocument=this.document?.getData(),this.sectionNavDocument&&(this.sectionNavs=this.sectionNavDocument.section.map(e=>({id:e.sectionId,title:e.sectionName})),this.tabsStickyService.setStickyTabs(this.sectionNavs),this.tabsStickyService.getActiveTabId$().pipe((0,f.R)(this.unsubscribe$)).subscribe(e=>{d.debug("getActiveTabId$",e),this.activeTabId=e,this.changeDetectorRef.detectChanges()}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}ngAfterViewInit(){this.sectionNavs?.length&&setTimeout(()=>{this.filterTabsWithExistingSections()})}filterTabsWithExistingSections(){const e=this.sectionNavs.filter(o=>this.isSectionExists(o.id));e.length!==this.sectionNavs.length&&(d.debug("Filtered tabs with existing sections",e),this.sectionNavs=e,this.tabsStickyService.setStickyTabs(this.sectionNavs),this.changeDetectorRef.detectChanges())}isSectionExists(e){return!!this.documentRef.getElementById(e)}onTabChange(e){d.debug("onTabChange()",e),"manual"!==e.type&&"default"!==e.type&&this.tabsStickyService.tabClicked(e.tab)}onHeightChange(e){d.debug("onHeightChange()",e),this.scrollService.stickyTabsResize("section-nav-sticky-tabs",e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO),t.Y36(S.P),t.Y36(C.oL),t.Y36(p.j),t.Y36(a.K0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["SectionNavComponent"]],features:[t.qOj],decls:4,vars:6,consts:[["edsGrid","",3,"ngClass"],["documentTemplateQuery","new-SectionNav-document","folderTemplateQuery","new-SectionNav-folder","parameter","document","root","",3,"brManageContentButton","relative",4,"ngIf"],[4,"ngIf"],["class","no-document",3,"edsSpacing",4,"ngIf"],["documentTemplateQuery","new-SectionNav-document","folderTemplateQuery","new-SectionNav-folder","parameter","document","root","",3,"brManageContentButton","relative"],[4,"ngIf","ngIfElse"],["stickyTabs",""],[3,"edsSpacing"],[4,"ngTemplateOutlet"],[3,"links","activeTab","onTabChanged","onHeightChanged"],[1,"no-document",3,"edsSpacing"],["edsGrid","",1,"no-document__component"],[1,"no-document__overlay"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.YNc(1,T,1,2,"ng-container",1),t.qZA(),t.YNc(2,x,4,2,"div",2),t.YNc(3,y,6,2,"div",3)),2&e&&(t.Q6J("ngClass",t.VKq(4,M,o.isEditMode)),t.xp6(1),t.Q6J("ngIf",o.isEditMode),t.xp6(1),t.Q6J("ngIf",o.sectionNavDocument),t.xp6(1),t.Q6J("ngIf",!o.document&&o.isEditMode))},directives:[s.ljP,a.mk,a.O5,v.bF,s.OPD,a.tP,s.QMb],encapsulation:2}),n})();u.Y.getLogger("SectionAnchorComponent");let I=(()=>{class n extends l.N{constructor(e){super(),this.viewModeService=e,this.isEditMode=this.viewModeService.isEditMode()}ngOnInit(){super.ngOnInit()}get id(){return this.component.getParameters()?.id}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(p.j))},n.\u0275cmp=t.Xpm({type:n,selectors:[["SectionAnchorComponent"]],features:[t.qOj],decls:2,vars:2,consts:[[3,"id"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._uU(1),t.qZA()),2&e&&(t.Q6J("id",o.id
1),t.xp6(1),t.Oqu(o.isEditMode?"#"+o.id:""))},encapsulation:2}),n})(),Q=(()=>{class n{getComponentMapping(){return{"Section Anchor":I,"Section Nav":A}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[v.q8,a.ez,s.WF4,s.zE6,s.JI,s.cv2,s._TE]]}),n})()}}]);
2//# sourceMappingURL=section-nav.531b4c4cab7a2b926203.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.