PageSourceSearch

https://www.base.be/etc.clientlibs/aem-wink-components/components/….ACSHASHcdbb651a7e52e9afda93d9b4df4091e2.js

js base.be collected 2026-10-01 11:42:43 UTC 4,756 bytes, 10 lines download raw bytes

1(function(){function n(d){var a=r[d];if(void 0!==a)return a.exports;a=r[d]={exports:{}};return t[d](a,a.exports,n),a.exports}var t={0:function(d,a){Object.defineProperty(a,"__esModule",{value:!0});a.InitBindingHelper=void 0;d=function(){function k(g,e,b){this.ns=g;this.is=e;this.createInstance=b}return k.prototype.init=function(){"loading"!==document.readyState?this.onDocumentReady():document.addEventListener("DOMContentLoaded",this.onDocumentReady.bind(this))},k.prototype.onDocumentReady=function(){var g=
2this,e=this;document.querySelectorAll(this.getSelector()).forEach(function(f){g.initializeComponent(f)});var b=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,c=document.querySelector("body");(new b(function(f){f.forEach(function(h){h=[].slice.call(h.addedNodes);0<h.length&&h.forEach(function(l){l.querySelectorAll&&[].slice.call(l.querySelectorAll(e.getSelector())).forEach(function(m){e.initializeComponent(m)})})})})).observe(c,{subtree:!0,childList:!0,characterData:!0})},
3k.prototype.getSelector=function(){return"[data-"+this.ns+'-is\x3d"'+this.is+'"]'},k.prototype.initializeComponent=function(g){this.createInstance(g);g.removeAttribute("data-"+this.ns+"-is")},k}();a.InitBindingHelper=d},386:function(d,a,k){Object.defineProperty(a,"__esModule",{value:!0});a.IntentBinding=void 0;var g=k(618);d=function(){function e(b){this.element=b;this.component=new g.IntentComponent;this.setEventBindings(b)}return e.prototype.getDestinationFromEvent=function(b){var c,f;b=null===
4(c=b.target)||void 0===c?void 0:c.closest("wink-link");c=null!==(f=null==b?void 0:b.getAttribute("href"))&&void 0!==f?f:"";if(!c)return"";try{return c.startsWith("http")?c:(new URL(c,window.location.origin)).toString()}catch(h){return""}},e.prototype.getItemGroupFromEvent=function(b){var c,f,h;return(b=null===(c=b.target)||void 0===c?void 0:c.closest("wink-link"))&&null!==(h=null===(f=b.textContent)||void 0===f?void 0:f.trim())&&void 0!==h?h:""},e.prototype.setEventBindings=function(b){var c=this;
5b.querySelectorAll("wink-link").forEach(function(f){f.addEventListener("click",function(h){var l=c.getDestinationFromEvent(h);h=c.getItemGroupFromEvent(h);c.component.updateAnalytics("intent items",h,l)})})},e.NS="wink-cmp",e.IS="intent-bar",e.selectors={navigationListItem:"."+e.IS},e}();a.IntentBinding=d},618:function(d,a,k){Object.defineProperty(a,"__esModule",{value:!0});a.IntentComponent=void 0;var g=k(937),e=k(993),b=k(756);d=function(){function c(){this.dataLayer=e.DataLayerService.getDataLayer()}
6return c.prototype.updateAnalytics=function(f,h,l){var m,p=(new g.EventInfoBuilder).withEventName(b.DatalayerEnum.EVENT_NAME_NAVIGATION_CLICK).withType(b.DatalayerEnum.EVENT_TYPE_CLICK).build(),u=(new g.CategoryBuilder).withPrimaryCategory(b.DatalayerEnum.PRIMARY_CATEGORY_NAVIGATION).build();f=(new g.AttributeBuilder).withAttribute("itemName",f).withAttribute("itemGroup",h).withAttribute("destinationURL",l).build();p=(new g.EventBuilder).withEventInfo(p).withCategory(u).withAttributes(f).build();
7null===(m=this.dataLayer)||void 0===m||m.addEvent(p)},c}();a.IntentComponent=d},756:function(d,a){Object.defineProperty(a,"__esModule",{value:!0});a.DatalayerEnum={EVENT_TYPE_BUTTON_CLICK:"button-click",EVENT_TYPE_CARD_CLICK:"click-card",EVENT_TYPE_PEGA_CARD_CLICK:"pega-card-click",EVENT_TYPE_POP_UP_CLICK:"pop-up-click",EVENT_TYPE_CONTACT_OPTION_VIEW:"contact-option-view",EVENT_TYPE_POP_UP_VIEW:"pop-up-view",EVENT_TYPE_PROMOTION_VIEWED:"promotion-viewed",EVENT_NAME_PAGE_CARD:"card clicked",EVENT_TYPE_PAGE_CARD:"click-card",
8EVENT_TYPE_VIEW:"view",EVENT_TYPE_IMPRESSION:"impression",EVENT_TYPE_CLICK:"click",EVENT_NAME_NAVIGATION_CLICK:"navigation click",PRIMARY_CATEGORY_CARE:"care",PRIMARY_CATEGORY_GENERAL:"general",PRIMARY_CATEGORY_STRUCTURE:"structure",PRIMARY_CATEGORY_CONTAINER:"container",PRIMARY_CATEGORY_BASE:"Base",PRIMARY_CATEGORY_NAVIGATION:"navigation",EVENT_ATTRIBUTE_ITEM_NAME:"itemName",EVENT_ATTRIBUTE_ITEM_DATA:"itemData",SUB_CATEGORY_CONTACT:"contact",SUB_CATEGORY_EMPTY:"",SUB_CATEGORY_LIVE_CHAT:"live-chat",
9EVENT_STATUS_SUCCESS:"success",EVENT_ATTRIBUTE_DESTINATION_URL:"destinationURL"}},937:function(d){d.exports=window.udl},993:function(d,a,k){Object.defineProperty(a,"__esModule",{value:!0});a.DataLayerService=void 0;var g=k(937);d=function(){function e(){}return e.getDataLayer=function(){if(void 0!==this.dataLayer)return this.dataLayer;var b=window.udlObjectName;return window[b]&&b&&(this.dataLayer=g.DataLayer.create()),this.dataLayer},e.clean=function(){g.DataLayer.destroy();this.dataLayer=void 0},
10e}();a.DataLayerService=d}},r={};var v=n(0);var q=n(386);(new v.InitBindingHelper(q.IntentBinding.NS,q.IntentBinding.IS,function(d){return new q.IntentBinding(d)})).init()})();

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.