{"version":3,"file":"IntroCapitalMarkets.DuP7DSEB.mjs","names":["React.useId","_Fragment","p"],"sources":["https:/framerusercontent.com/modules/hj5jenQAoJklCVsuyxdl/hDyf4SfHT7Qo9MmZD1J1/IntroCapitalMarkets.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,motion,RenderTarget}from\"framer\";const defaultBlue=\"#1C355E\";const defaultBeige=\"#EFECEA\";const defaultGold=\"#CC9F53\";const defaultTextDark=\"#1A1A1A\";const defaultMetaGrey=\"rgb(118, 116, 116)\";export function RothschildNewsCard(props){const id=React.useId().replace(/:/g,\"\");const isCanvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsxs(\"div\",{className:`news-section-${id}`,style:{...props.style,width:\"100%\",backgroundColor:\"#ffffff\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",paddingTop:`${props.sectionPaddingTop}px`,paddingBottom:`${props.sectionPaddingBottom}px`,position:\"relative\",zIndex:1},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .news-title-${id} {\n                    font-family: ${props.titleFontFamily};\n                    font-size: ${props.titleSize}px;\n                    color: ${props.titleColor};\n                    font-weight: ${props.titleWeight};\n                    line-height: 1.2;\n                    margin: 0 0 ${props.showSubtitle?\"10px\":\"25px\"} 0;\n                    -webkit-font-smoothing: antialiased;\n                }\n\n                .news-subtitle-${id} {\n                    font-family: ${props.subtitleFontFamily||props.titleFontFamily};\n                    font-size: ${props.subtitleSize}px;\n                    color: ${props.subtitleColor};\n                    font-style: italic;\n                    font-weight: 300;\n                    line-height: 1.4;\n                    margin: 0 0 20px 0;\n                    -webkit-font-smoothing: antialiased;\n                    white-space: pre-wrap;\n                }\n\n                .news-body-${id} {\n                    font-family: ${props.bodyFontFamily};\n                    font-size: ${props.bodySize}px;\n                    color: ${props.bodyColor};\n                    font-weight: ${props.bodyWeight};\n                    line-height: 1.6;\n                    margin-bottom: 0px;\n                    -webkit-font-smoothing: antialiased;\n                    white-space: pre-wrap;\n                }\n\n                .card-container-${id} {\n                    width: 100%;\n                    max-width: ${props.maxWidth}px;\n                    height: ${Math.max(props.imageHeight,props.boxHeight)+120}px;\n                    position: relative;\n                    margin: 0 auto;\n                }\n\n                .beige-background-${id} {\n                    position: absolute;\n                    left: -100vw;\n                    width: calc(100vw + ${props.beigeWidth}px);\n                    top: ${props.beigeTop}px;\n                    bottom: ${props.beigeBottom}px;\n                    background-color: ${props.beigeColor};\n                    clip-path: polygon(0 0, 100% 0, calc(100% - ${props.beigeSlantAmount}px) 100%, 0 100%);\n                    z-index: 1;\n                }\n\n                .content-wrapper-${id} {\n                    position: absolute;\n                    width: 100%;\n                    height: 100%;\n                    left: ${props.contentOffsetX}px;\n                    top: 0;\n                    z-index: 5;\n                }\n\n                .image-outer-wrapper-${id} {\n                    position: absolute;\n                    left: ${props.imageLeft}px;\n                    top: 50%;\n                    transform: translateY(-50%);\n                    z-index: 5;\n                }\n\n                .image-container-${id} {\n                    width: ${props.imageWidth}px;\n                    height: ${props.imageHeight}px;\n                    overflow: hidden;\n                    background-color: #e5e5e5;\n                }\n\n                .image-container-${id} img {\n                    width: 100%;\n                    height: 100%;\n                    object-fit: cover;\n                }\n\n                .text-box-${id} {\n                    position: absolute;\n                    width: ${props.boxWidth}px;\n                    min-height: ${props.boxHeight}px;\n                    left: ${props.boxLeft}px;\n                    top: 50%;\n                    transform: translateY(-50%);\n                    background-color: #ffffff;\n                    padding: ${props.boxPaddingY}px ${props.boxPaddingX}px;\n                    z-index: 10;\n                    display: flex;\n                    flex-direction: column;\n                    justify-content: center;\n                }\n\n                /* --- TABLET ONLY (769px tot 1199px) --- */\n                @media (min-width: 769px) and (max-width: 1199px) {\n                    .news-section-${id} { overflow: visible; }\n                    .card-container-${id} {\n                        height: auto;\n                        padding: 0 40px;\n                        display: flex;\n                        flex-direction: column;\n                        align-items: center;\n                    }\n                    .content-wrapper-${id} {\n                        position: relative;\n                        left: 0;\n                        display: flex;\n                        flex-direction: column;\n                        height: auto;\n                        width: 100%;\n                        align-items: center;\n                    }\n                    .beige-background-${id} {\n                        left: -10vw; width: 120vw; top: 0; bottom: 0; height: 100%;\n                        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);\n                    }\n                    .image-outer-wrapper-${id} {\n                        position: relative;\n                        left: auto;\n                        top: auto;\n                        width: 85%;\n                        transform: none !important;\n                        margin-top: 40px;\n                        z-index: 5;\n                        align-self: flex-end; /* Houdt het gelaagde effect van rechts */\n                    }\n                    .image-container-${id} { width: 100%; height: 450px; }\n                    \n                    /* HIER GEBEURT DE OVERLAP */\n                    .text-box-${id} {\n                        position: relative;\n                        width: 70%;\n                        left: 0;\n                        margin-top: -220px; /* Trek het tekstvak fors omhoog over de foto */\n                        top: 0;\n                        transform: none !important;\n                        margin-bottom: 40px;\n                        padding: 50px;\n                        z-index: 10;\n                        align-self: flex-start; /* Zorgt voor de diagonale compositie */\n                        box-shadow: 20px 20px 60px rgba(0,0,0,0.08);\n                    }\n                }\n\n                /* --- MOBILE ONLY --- */\n                @media (max-width: 768px) {\n                    .news-section-${id} { padding-top: 40px; padding-bottom: 40px; overflow: visible; }\n                    .card-container-${id} { padding: 0; height: auto; display: block; }\n                    .content-wrapper-${id} { position: relative; left: 0; display: flex; flex-direction: column; height: auto; }\n                    .beige-background-${id} { left: 0; width: 100%; top: 15%; bottom: 0px; height: auto; }\n                    .image-outer-wrapper-${id} { position: relative; left: 0; top: auto; width: 100%; padding: 0 20px; box-sizing: border-box; transform: none !important; margin-top: 0; }\n                    .image-container-${id} { width: 100%; height: 260px; }\n                    .text-box-${id} { position: relative; width: calc(100% - 40px); left: 20px; top: -50px; transform: none !important; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); min-height: auto; }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:`card-container-${id}`,children:[/*#__PURE__*/_jsx(\"div\",{className:`beige-background-${id}`}),/*#__PURE__*/_jsxs(\"div\",{className:`content-wrapper-${id}`,children:[/*#__PURE__*/_jsx(motion.div,{className:`image-outer-wrapper-${id}`,initial:isCanvas?{opacity:1,y:\"-50%\"}:{opacity:0,y:\"-48%\"},whileInView:{opacity:1,y:\"-50%\"},viewport:{once:true},transition:{duration:1.2,ease:[.25,.1,.25,1]},style:{top:\"50%\"},children:/*#__PURE__*/_jsx(\"div\",{className:`image-container-${id}`,children:/*#__PURE__*/_jsx(\"img\",{src:props.image,alt:props.title})})}),/*#__PURE__*/_jsxs(motion.div,{className:`text-box-${id}`,initial:isCanvas?{opacity:1,y:\"-50%\"}:{opacity:0,y:\"-48%\"},whileInView:{opacity:1,y:\"-50%\"},viewport:{once:true},transition:{duration:1.2,delay:.2,ease:[.25,.1,.25,1]},style:{top:\"50%\"},children:[/*#__PURE__*/_jsxs(\"h2\",{className:`news-title-${id}`,children:[props.title,props.titleLine2&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"br\",{}),props.titleLine2]})]}),props.showSubtitle&&/*#__PURE__*/_jsx(\"p\",{className:`news-subtitle-${id}`,children:props.subtitle}),/*#__PURE__*/_jsx(\"p\",{className:`news-body-${id}`,children:props.body})]})]})]})]});}addPropertyControls(RothschildNewsCard,{image:{type:ControlType.Image,title:\"Afbeelding\",defaultValue:\"https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070\"},title:{type:ControlType.String,title:\"Titel Lijn 1\",displayTextArea:true,defaultValue:\"THE INVESTMENT ADVANTAGE\"},titleLine2:{type:ControlType.String,title:\"Titel Lijn 2\",displayTextArea:true,defaultValue:\"\"},showSubtitle:{type:ControlType.Boolean,title:\"Toon Ondertitel\",defaultValue:false},subtitle:{type:ControlType.String,title:\"Ondertitel\",displayTextArea:true,defaultValue:\"Subtitle text here...\",hidden:p=>!p.showSubtitle},subtitleSize:{type:ControlType.Number,title:\"Ondertitel Maat\",defaultValue:18,hidden:p=>!p.showSubtitle},subtitleColor:{type:ControlType.Color,title:\"Ondertitel Kleur\",defaultValue:\"#4A5568\",hidden:p=>!p.showSubtitle},subtitleFontFamily:{type:ControlType.String,title:\"Ondertitel Font\",defaultValue:\"calluna\",hidden:p=>!p.showSubtitle},body:{type:ControlType.String,title:\"Tekst\",displayTextArea:true,defaultValue:\"Body text here...\"},contentOffsetX:{type:ControlType.Number,title:\"Content Positie X\",defaultValue:0,min:-1e3,max:1e3},imageWidth:{type:ControlType.Number,title:\"Foto Breedte (px)\",defaultValue:750,min:200,max:1500},imageHeight:{type:ControlType.Number,title:\"Foto Hoogte (px)\",defaultValue:450,min:200,max:1e3},imageLeft:{type:ControlType.Number,title:\"Foto Positie Links (px)\",defaultValue:400,min:0,max:1500},boxWidth:{type:ControlType.Number,title:\"Box Breedte (px)\",defaultValue:450,min:200,max:1e3},boxHeight:{type:ControlType.Number,title:\"Minimale Box Hoogte\",defaultValue:300,min:100,max:1e3},boxLeft:{type:ControlType.Number,title:\"Box Positie Links (px)\",defaultValue:50,min:0,max:1500},boxPaddingX:{type:ControlType.Number,title:\"Box Padding L/R\",defaultValue:50},boxPaddingY:{type:ControlType.Number,title:\"Box Padding B/O\",defaultValue:50},beigeWidth:{type:ControlType.Number,title:\"Beige Breedte (px)\",defaultValue:1e3,min:100,max:3e3},beigeTop:{type:ControlType.Number,title:\"Beige Top Offset\",defaultValue:-50},beigeBottom:{type:ControlType.Number,title:\"Beige Bottom Offset\",defaultValue:-50},beigeSlantAmount:{type:ControlType.Number,title:\"Schuinte (px)\",defaultValue:100},beigeColor:{type:ControlType.Color,title:\"Beige Kleur\",defaultValue:defaultBeige},maxWidth:{type:ControlType.Number,title:\"Max Breedte Sectie\",defaultValue:1200},titleFontFamily:{type:ControlType.String,title:\"Titel Font\",defaultValue:\"calluna\"},titleSize:{type:ControlType.Number,title:\"Titel Maat\",defaultValue:28},titleWeight:{type:ControlType.Number,title:\"Titel Gewicht\",defaultValue:400},titleColor:{type:ControlType.Color,title:\"Titel Kleur\",defaultValue:defaultBlue},bodyFontFamily:{type:ControlType.String,title:\"Body Font\",defaultValue:'\"Source Sans 3\", sans-serif'},bodySize:{type:ControlType.Number,title:\"Body Maat\",defaultValue:18},bodyWeight:{type:ControlType.Number,title:\"Body Gewicht\",defaultValue:300},bodyColor:{type:ControlType.Color,title:\"Body Kleur\",defaultValue:defaultTextDark},sectionPaddingTop:{type:ControlType.Number,title:\"Padding Top\",defaultValue:80},sectionPaddingBottom:{type:ControlType.Number,title:\"Padding Bottom\",defaultValue:80}});\nexport const __FramerMetadata__ = {\"exports\":{\"RothschildNewsCard\":{\"type\":\"reactComponent\",\"name\":\"RothschildNewsCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IntroCapitalMarkets.map"],"mappings":"yOAAmV,SAAgB,EAAmB,EAAM,CAAC,IAAM,EAAGA,GAAa,CAAC,QAAQ,KAAK,GAAG,CAAO,EAAS,EAAa,SAAS,GAAG,EAAa,OAAO,OAAoB,EAAM,MAAM,CAAC,UAAU,gBAAgB,IAAK,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,OAAO,gBAAgB,UAAU,QAAQ,OAAO,cAAc,SAAS,WAAW,SAAS,WAAW,GAAG,EAAM,kBAAkB,IAAI,cAAc,GAAG,EAAM,qBAAqB,IAAI,SAAS,WAAW,OAAO,EAAE,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;8BAChyB,EAAG;mCACE,EAAM,gBAAgB;iCACxB,EAAM,UAAU;6BACpB,EAAM,WAAW;mCACX,EAAM,YAAY;;kCAEnB,EAAM,aAAa,OAAO,OAAO;;;;iCAIlC,EAAG;mCACD,EAAM,oBAAoB,EAAM,gBAAgB;iCAClD,EAAM,aAAa;6BACvB,EAAM,cAAc;;;;;;;;;6BASpB,EAAG;mCACG,EAAM,eAAe;iCACvB,EAAM,SAAS;6BACnB,EAAM,UAAU;mCACV,EAAM,WAAW;;;;;;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