PageSourceSearch

https://www.touchstoneinvestments.com/scripts/bundles/content-library.min.js?v=e6c2192bbbb487a554b5

js touchstoneinvestments.com collected 2026-09-28 10:40:15 UTC 4,965 bytes, 2 lines download raw bytes

1(self.webpackChunkui_toolkit=self.webpackChunkui_toolkit||[]).push([["content-library"],{51190:function(e,t,r){var o=r(97313);e.exports=function(){var e=this;e.items=o.observable([]),e.count=o.computed((function(){return e.items().length}),this)}},15224:function(e,t,r){var o=r(97313),a=r(96489);e.exports=function e(t){var r=this,n=!1;if(r.name=o.observable(t.name),r.items=o.observable([]),r.disclosure=o.observable(t.disclosure),r.nameSortClass=o.observable("fa-long-arrow-up"),r.subcategories=o.observable([]),r.isDefaultCategory=o.observable(!1),r.totalItemCount=o.computed((function(){for(var e=0,t=0;t<r.subcategories().length;t++)e+=r.subcategories()[t].totalItemCount();return e}),this),r.hasOrderableItems=o.computed((function(){return o.utils.arrayFilter(r.items(),(function(e){return e.orderable()})).length>0}),this),r.hasItemsWithFormNumber=o.computed((function(){return o.utils.arrayFilter(r.items(),(function(e){return e.formNumber()})).length>0}),this),r.loadItems=function(){if(t.items){var e=[];t.items.forEach((function(t){e.push(new a(t))})),r.items(e)}},r.loadSubcategoryItems=function(){n||(r.subcategories().forEach((function(e){return e.loadItems()})),n=!0)},t.subcategories){var i=[];t.subcategories.forEach((function(t){i.push(new e(t))})),r.subcategories(i)}}},96489:function(e,t,r){var o=r(97313),a=r(41669),n=r(58885);e.exports=function(e){var t=this;t.id=o.observable(e.id),t.name=o.observable(e.name),t.formNumber=o.observable(e.formNumber),t.description=o.observable(e.description),t.videoTitle=o.observable(e.videoTitle),t.videoTranscript=o.observable(e.videoTranscript),t.url=o.observable(e.url),t.target=
1o.observable(e.target),t.rel=o.observable(e.rel),t.quantity=o.observable(parseInt(e.quantity)),t.orderable=o.observable(e.orderable),t.linkType=o.observable(e.linkType),t.parentName=o.observable(e.parentName),t.isVideo=o.observable(e.isVideo),t.itemId=o.computed((function(){return"item-"+t.id()}),this),t.linkClass=o.computed((function(){return t.isVideo()?"ws-video":""}),this),t.linkText=o.computed((function(){return(t.parentName()?t.parentName()+" ":"")+t.name()}),this),t.linkTextWithoutParent=o.computed((function(){return t.name()}),this),t.linkTextWithoutParentAddQuantityOrder=o.computed((function(){return t.linkTextWithoutParent()+" order quantity"}),this),t.iconClass=o.computed((function(){switch(t.linkType()){case"pdf":return"fa-light fa-file-pdf";case"youtube":return"fa-brands fa-youtube ws-color-youtube-red";case"external":return"fa-light fa-arrow-up-right-from-square";case"doc":return"fa-light fa-file-word";case"xls":return"fa-light fa-file-excel";default:return"fa-light fa-code"}}),this),t.loadVideo=function(e,t){t.stopImmediatePropagation();var r,o,i=a(t.currentTarget),s=e.url().split("?"),u=s[0];"undefined"!==s[1]?(r="&"+s[1],o=u+"?enablejsapi=1&origin="+window.location.origin+"&rel=0"+r):o=u+"?enablejsapi=1&origin="+window.location.origin+"&rel=0";var l=a(i.data("ws-dialog-content"));n.openDialog(l,t,{url:o,title:e.videoTitle(),transcript:e.videoTranscript()})}}},94222:function(e,t,r){var o=r(41669),a=r(97313),n=r(25119);o((function(){function e(e){var t=o(e).data("ws-content-library");a.applyBindings(new n(t,orderPageUrl),e)}o(".ws-content-library:not(.lazyload)").each((function(t,r){e(r)})),o(document).on("lazyloaded",".ws-content-library",(function(t){t.currentTarget===t.target&&e(t.target)}))}))},25119:function(e,t,r){var o=r(97313),a=r(15224),n=r(51190),i=r(67291),s=r(46592);e.exports=function(e,t){var r=this,u=null;if(r.cart=o.observable(new n),r.categories=o.observableArray([]),r.orderPageUrl=o.observable(t),r.isNotMobile=o.observable(new Boolean),r.openCategory=o.observable(new Boolean),r.updateCart=function(){var e=r.getItemsInCart();r.cart().items(e)},r.getItemsInCart=function(){for(var e=[],t=0;t<r.categories().length;t++)for(var o=r.categories()[t],a=0;a<o.subcategories().length;a++)for(var n=o.subcategories()[a],i=0;i<n.items().length;i++){var s=n.items()[i];s.quantity()>0&&(s.parentName(n.name()),e.push(s))}return e},r.isNotMobile=function(){return!(!i.mq("(min-width: 992px)")&&!i.mq("(min-width: 768px)"))},r.isDefaultCategory=function(e,t){if(t.isDefaultCategory()){var o=$("#category_"+e+"_"+$.escapeSelector(t.name().replace(/\s+/g,""))).position().top;return $(window).scrollTop(o),!0}return!(u||0!==parseInt(e)||!r.isNotMobile())},r.reviewOrderedItems=function(){0!==r.getItemsInCart().length&&(sessionStorage.contentLibraryModel=o.toJSON(r),window.location.href=t)},sessionStorage.contentLibraryModel&&(e=JSON.parse(sessionStorage.contentLibraryModel).categories),e){var l=[];if(e.forEach((function(e){var t=new a(e);t.loadItems(),l.push(t)})),r.categories(l),r.updateCart(),l.length){var c=s.queryString.category;if(c&&c.length>0)for(var b=0;b<l.length;b++)if(l[b].name()===c){(u=l[b]).isDefaultCategory(!0);break}u?u.loadSubcategoryItems():l[0].loadSubcategoryItems()}}}}}]);
2//# sourceMappingURL=content-library.min.js.map?v=e6c2192bbbb487a554b5

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.