PageSourceSearch

https://www.openbank.nl/component---live-build-node-modules-grupos…ge-category-page-js-21d4c99e5f3da0ee2a4e.js

js openbank.nl collected 2026-10-04 18:03:36 UTC 3,248 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkui_pub_www_mb_nl=self.webpackChunkui_pub_www_mb_nl||[]).push([[6804],{72043:function(e,t,o){o.d(t,{W:function(){return p}});var a=o(20380);const r=["ParagraphMbgiroboxhome","ParagraphOkCrossSellings","ParagraphMbproductcarousel","ParagraphMbseo"],i=(e,t,o)=>{if(e)return e.map((({item:e})=>{o.promotion_id.push(e?.title?.value),o.promotion_name.push(e?.title?.value),o.promotion_creative.push(t)})),o},p={mapPromotions:e=>{const t=e.filter((({paragraph:e})=>r.includes(e?.type)||(e=>["ok_promotion","ok_discount"].includes(e?.prospectList?.list?.bundle))(e)));if(!t||0===t.length)return;let o={promotion_id:[],promotion_name:[],promotion_creative:[],promotion_position:[],tealium_event:"promotion_impression"};return t.map((({paragraph:e})=>{switch(e?.type){case"ParagraphMbgiroboxhome":o=((e,t)=>{const{mbGiroboxCustomer:o,mbGiroboxProspect:r,mbhighlightshomeCustomer:p,mbhighlightshomeProspect:s}=e,n=a.D.isCustomer(),m=n&&o?o:r,u=n&&p?p:s;return m&&i(m?.data?.mbGiroboxItems,m?.data?.type,t),u&&i(u?.data?.highlightsHomeItems,u?.data?.type,t),t})(e,o);break;case"ParagraphOkCrossSellings":o=((e,t)=>{if(e&&e.crossSellings)return e?.crossSellings?.map((({crossSelling:o})=>{t.promotion_id.push(o?.creativityName),t.promotion_name.push(o?.creativityName),t.promotion_creative.push(e?.type)})),t})(e,o);break;case"ParagraphMblist":o=((e,t)=>{const{customerList:o,prospectList:r}=e,i=a.D.isCustomer()&&o?o:r;return i?.list?.processedContents?.map((o=>{t.promotion_id.push(o?.id),t.promotion_name.push(o?.title),t.promotion_creative.push(e?.type)})),t})(e,o);break;case"ParagraphMbproductcarousel":o=((e,t)=>{if(e&&e.carouselItems)return e.carouselItems.map((({carouselItem:o})=>{t.promotion_id.push(o?.id),t.promotion_name.push(o?.title),t.promotion_creative.push(e?.type)})),t})(e,o);break;case"ParagraphMbseo":o=((e,t)=>{if(e&&e.seoItems)return e.seoItems.map((({seoItem:o})=>{t.promotion_id.push(o?.title),t.promotion_name.push(o?.title),t.promotion_creative.push(e?.type)})),t})(e,o)}})),o.promotion_id.forEach(((e,t)=>o.promotion_position.push(t+1))),o}}},36319:function(e,t,o){o.r(t),o.d(t,{CategoryPage:function(){return l}});var a=o(27699),r=o(62983),i=o(67788),p=o(16775),s=o(76777),n=o(72043),m=o(24539);const u=(e,t)=>"promotionInformation"===e?.serviceType?{...e,...n.W.mapPromotions(t)}:e,l=({content:e,location:t})=>{const o=!e.paragraphs||s.S.isEmptyArray(e.paragraphs);if((0,a.useEffect)((()=>{if(!o&&e?.tealium){const t=u(e?.tealium,e?.paragraphs);p.E.pageViewEvent(t)}}),[]),o)return null;const n=u(e?.tealium,e?.paragraphs);m.A.setAnalyticsProvider(n);const l=e.paragraphs?.map((({paragraph:o})=>{const a={...o,langcode:e?.langcode?.value,pageTitle:e?.title,pageUrl:e?.url?.path,tokens:e?.tokens,...e?.productId&&{productId:e?.productId},location:t};"ParagraphOkMbProductHeaderSearch"===o.type&&i.default.data.languages[e.langcode.value].faqHeaderSearchConfig?.faqsSearchResultPageData?.url?.path===e.url.path&&(a.breadcrumbInfo={title:e.title}),e.tealium&&(a.tealiumInfo={eventCategory:e?.tealium?.pageName,tealium_event:e?.tealium?.tealium_event});return{type:o.type,content:a}}));return a.createElement("article",null,l&&a.createElement(r.S,{paragraphs:l,template:e?.template}))};t.default=l}}]);

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.