1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2964],{72964:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(35135),l=n(33970),a=n(67294),c=n(78536),u=n(57516),o=n(93649),s=n(44635),d=n(96632),p=n(49352),h=n(48897),_=n.n(h);t.default=e=>{let{integration:t,listing:n}=e,h=t?.stage?.link?.tracking?.linkId||"",{addImpression:f}=(0,u.k)();(0,a.useEffect)(()=>{f(h)},[t]);let{translations:v}=(0,d.$)();return(0,r.jsxs)("section",{className:_().container,children:[(0,r.jsxs)("h2",{children:[(0,r.jsxs)("p",{children:["Motorbike"===n.vehicle.type&&v.MOTORBIKE_INSURANCE,"Caravan"===n.vehicle.type&&v.CAMPER_INSURANCE]}),(0,r.jsx)(o.Z,{isoCulture:"nl-NL",name:"centraal-beheer",height:"25px",width:"55px",styleClass:_().fromSm})]}),(0,r.jsx)("h3",{children:v.CALCULATE_YOUR_PREMIUM}),(0,r.jsxs)("div",{className:_().inputContainer,children:[(0,r.jsxs)("p",{children:[v.LICENSE_PLATE,(0,r.jsx)(s.aZ,{value:n.vehicle?.licensePlate??"",disabled:!0})]}),(0,r.jsx)(l.z,{"data-testid":"centraal-beheer-slice-cta",mode:"primary",className:_().cta,onClick:()=>{(0,i.vYk)({name:"finance_select",type:"action",action:"conversion",category:"finance",label:h,details:{placement:(0,c.L)(h)}}),(0,p.Z)("combinedInsuranceEntries",void 0,{$opt_event_properties:{placement:"slice"}});let e=t?.stage?.link.url;e&&window.open(e,"_blank")},children:v.CALCULATE_NOW})]})]})}},44635:function(e,t,n){"use strict";n.d(t,{RF:function(){return u},Tz:function(){return o},aZ:function(){return s}});var r=n(85893),i=n(67294),l=n(40046),a=n(38899),c=n.n(a);let u={price:{euroWithDecimal:(e,t)=>(0,l._P)(e,t??{})},noop:e=>`${e}`},o=e=>{let{value:t,onChange:n,validate:l,onInvalid:a,pattern:o="[0-9]*",placeholder:s="",formatter:d=u.noop,disabled:p=!1}=e,[h,_]=(0,i.useState)(!1);return(0,r.jsx)("input",{className:c().inputField,type:"text",disabled:p,pattern:o,value:h?t:d(t),placeholder:s,onFocus:()=>_(!0),onBlur:()=>{_(!1),(l?.(t)??!0)||a?.(t)},onChange:e=>{if(!e.target.validity.valid)return;let t=Number(e.target.value);n?.(t)}})},s=e=>{let{value:t,onChange:n,pattern:l,placeholder:a="",formatter:o=u.noop,disabled:s=!1}=e,[d,p]=(0,i.useState)(!1);return(0,r.jsx)("input",{className:c().inputField,type:"text",disabled:s,pattern:l,value:d?t:o(t),placeholder:a,onFocus:()=>p(!0),onBlur:()=>p(!1),onChange:e=>{e.target.validity.valid&&n?.(e.target.value)}})}},40046:function(e,t,n){"use strict";n.d(t,{G6:function(){return a},Rc:function(){return u},_P:function(){return i},d3:function(){return l},d6:function(){return c}});let r=(e,t)=>{let{prefix:n,suffix:r}=t??{};return`${n??""}${e}${r??""}`},i=function(e){let{prefix:t="⬠",suffix:n=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?r("",{prefix:t,suffix:n}):r(Number(Number((e%1).toFixed(2))>=.5?Math.ceil(e):Math.floor(e)).toLocaleString("de-DE",{style:"currency",currency:"EUR"}).split(",")[0],{prefix:t,suffix:n})},l=function(e){let{prefix:t="⬠",suffix:n=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?r("",{prefix:t,suffix:n}):r((10*Math.round(e/10)).toString(),{prefix:t,suffix:n})},a=function(e){let{prefix:t="⬠",suffix:n=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?r("",{prefix:t,suffix:n}):`${t}${Math.floor(e)}${n}`},c=e=>Math.round(e).toString(),u=e=>e.toFixed(2).toString().replace(".",",")},78536:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});let r=e=>e.replaceAll("-","_")},48897:function(e){e.exports={container:"CentraalBeheerSlice_container__5gu9F",inputContainer:"CentraalBeheerSlice_inputContainer__LT7_H",cta:"CentraalBeheerSlice_cta__JaA_5",fromSm:"CentraalBeheerSlice_fromSm____JQy"}},38899:function(e){e.exports={inputField:"ProductInputFields_inputField__gQ7Dc"}}}]);
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.