1"use strict";(self.webpackChunkportal_coba=self.webpackChunkportal_coba||[]).push([[7916,3504],{b703b83210fb948d62f2:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});n("e9c8831130442e863d7f");var r=n("4e9dec5056dfba18a5d8"),a=n("bf548f6135afe423adc7"),i=n("a076833f665c1fbfc30b"),o=n.n(i),c=n("2a59dbd92356b4dc8e47"),l=n("790a00daf48e1aa36d30"),u=n("210cdd077771ccfaa7bf"),b=(n("0beea2290a18f7f45247"),n("2801b91305c901fae6d6")),s=function(e){var t=(0,r.useNavigate)(),n=(0,a.Z)();function i(){return e.path&&"INTERNAL"===e.pathType?t(e.path):window.open(e.path,"_blank")}function o(){if(!e.buttonLabel)return i()}return(0,b.jsx)("div",{className:"promo",role:"button",onClick:function(){return o()},tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||o()},children:(0,b.jsxs)("div",{className:"promoBanner ".concat(e.hasMobileImg?"showImage":""),role:"region",children:[(0,b.jsx)("div",{className:"bannerImg","aria-label":"Banner Image",children:(0,b.jsx)("img",{src:e.imgDesktop,alt:e.altTextBanner})}),(0,b.jsx)("div",{className:"bannerImgMobile ".concat(e.hasMobileImg?"visible":""),"aria-label":"Mobile Banner Image",children:(0,b.jsx)("img",{src:e.imgMobile,alt:e.altTextBanner})}),(0,b.jsx)("div",{className:"containerBanner",children:(0,b.jsxs)("div",{className:"infoBanner",children:[e.title&&(0,b.jsx)("h2",{className:"bannerTitle",children:n.messages[e.title]}),e.subtitle&&(0,b.jsx)("h3",{className:"bannerSubtitle",children:n.messages[e.subtitle]}),(0,b.jsx)("div",{className:"bannerButton",children:e.path&&e.buttonLabel&&(0,b.jsx)(c.Z,{id:"bannerCta",label:e.buttonLabel,onClick:function(){return function(){if(e.buttonLabel)return i()}()},disabled:!e.path,size:"small",invert:!0})}),(0,b.jsx)("div",{className:"bannerButtonMobile",children:e.path&&e.buttonLabel&&(0,b.jsx)(l.Z,{id:"bannerCtaMobile",label:n.formatMessage({id:e.buttonLabel}),icon:(0,b.jsx)(u.Z,{iconName:"arrowRight",size:"small",iconColor:"white",islink:!0}),dark:!0})})]})})]})})};s.propTypes={coBrand:o().string.isRequired,page:o().string.isRequired,imgDesktop:o().string.isRequired,imgMobile:o().string.isRequired,altTextBanner:o().string.isRequired,onClick:o().func,path:o().string,pathType:o().string,title:o().string,subtitle:o().string,buttonLabel:o().string,hasButton:o().boolean,mobileBannerImg:o().boolean,hasMobileImg:o().boolean},s.defaultProps={onClick:void 0,path:"",pathType:"",title:"",subtitle:"",buttonLabel:"",hasButton:!0,mobileBannerImg:!1,hasMobileImg:!1};const f=s},"669197d2280977289a8b":(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var r=n("d5155255183f0bf12f3f"),a=n("b703b83210fb948d62f2"),i=n("bcb873fbb2f1d833c90b"),o=n("8789ba2d7251bf0b9ac2");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].subtitle}),"")},f=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].buttonLabel}),"")},p=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].altText}),"")},d=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].path}),"")},m=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].pathType}),"")},g=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].imgDesktop}),"")},h=function(e,t){return(0,i.U7)((function(){return(o.UZ[e]||o.UZ.DEUTSCHE)[t].imgMobile}),"")};const y=(0,r.$j)((function(e,t){return{title:(n=t.coBrand,r=t.page,(0,i.U7)((function(){return(o.UZ[n]||o.UZ.DEUTSCHE)[r].title}),"")),subtitle:s(t.coBrand,t.page),buttonLabel:f(t.coBrand,t.page),altTextBanner:p(t.coBrand,t.page),path:d(t.coBrand,t.page),pathType:m(t.coBrand,t.page),imgDesktop:g(t.coBrand.toUpperCase(),t.page),imgMobile:h(t.coBrand.toUpperCase(),t.page)};var n,r}),(function(){return{}}),(function(e,t,n){return u(u(u({},e),n),{},{actions:t})}))(a.default)}}]);
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.