1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6120],{6120:function(t,e,n){n.r(e),n.d(e,{default:function(){return b}});var o=n(52909),r=n(61525),i=n(63943),a=n(91385),s=n(44194),c=n(23344),l=n(13357),d=n(31549);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){(0,o.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}n(75851),n(22314),n(39983),n(56194),n(51865),n(40868),n(47089),n(44365),n(52965);var f=(0,l.jl)("Planner","InfoBox"),b=(0,a.Pi)(function(t){var e=t.direction,n=t.mountElement,o=t.drawerStyle,a=(0,i.u)(),u=(0,s.useState)(!1),b=(0,r.Z)(u,2),m=b[0],g=b[1],x=(0,l.Vr)().actions,I=x.openDrawerMenu,h=x.closeDrawerMenu;return(0,s.useEffect)(function(){if(a.settingsState.contentItemVisible&&a.settingsState.contentItemId){g(!0);var t,i,s=a.getIsInMobileView(),l=function(){h("content-item",!0),a.settingsState.setContentItemId()},u=a.settingsState.selectedArticles.map(function(t){return t.basketId}).flat(),b=a.divaWebPlanner.getVariantValues(u).map(function(t){return{featureCodex:t.OPT.startsWith("OPT")?t.OPT.substring(3):t.OPT,selectedOptions:[t.OPV]}}),x=(0,d.jsx)(c.Q,{onClose:l,contentItemId:a.settingsState.contentItemId,wrapperStyle:{display:"flex",flexDirection:"column"},headerWrapperStyle:{borderTopRightRadius:"8px",borderTopLeftRadius:"8px"},onContentItemLoaded:function(t){f.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:a.settingsState.contentItemId,title:null!=t?t:void 0})},params:{initialContext:b},onEvent:function(t){if("applyResults"==t.type){var e,n=t.payload;null!==(e=a.divaWebPlanner.actSet())&&void 0!==e&&e.CatalogData.isIDMFormat||Object.entries(n).forEach(function(t){var e=(0,r.Z)(t,2),o=e[0],i=e[1];n["OPT".concat(o)]="OPV".concat(i)}),a.paletteViewHandler.changeOnCheckoutConfig(n,u)}else("onCancel"==t.type||"onClose"==t.type)&&l()}},a.settingsState.contentItemId+a.settingsState.contentItemVisible);s?I({id:"content-item",content:x,onClose:l,open:!0,hideCloseButton:!0,showOverlay:!0,noModal:!1,direction:"bottom",mountElement:null!==(t=a.uiState.wrapperRef)&&void 0!==t?t:void 0,handleInternScroll:!0}):I({id:"content-item",content:x,onClose:l,open:!0,hideCloseButton:!0,showOverlay:!1,noModal:!0,direction:e,mountElement:null!==(i=null!=n?n:a.productState.productElement)&&void 0!==i?i:void 0,handleInternScroll:!0,drawerStyle:p(p({position:"absolute",zIndex:550,maxWidth:500,maxHeight:600,top:0,bottom:"unset",boxShadow:"2px 1px 4px rgba(0, 0, 0, 0.15)"},"right"===e?{borderTopLeftRadius:"16px",borderBottomLeftRadius:"16px"}:{borderTopRightRadius:"16px",borderBottomRightRadius:"16px"}),o),wrapperStyle:p({zIndex:550,boxShadow:"2px 1px 4px rgba(0, 0, 0, 0.15)"},"right"===e?{borderTopLeftRadius:"16px",borderBottomLeftRadius:"16px"}:{borderTopRightRadius:"16px",borderBottomRightRadius:"16px"})})}else m&&(h("content-item",!0),setTimeout(function(){g(!1)},400))},[a.settingsState.contentItemVisible,a.settingsState.contentItemId]),(0,d.jsx)(d.Fragment,{})})}}]); 2//# sourceMappingURL=6120.dd2f7a80ea41cf71.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.