{"version":3,"file":"hlzaXNfgP.Dupb_O2G.mjs","names":["React.useRef","React.useState","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/feXRJ0itnCTO7c2NoCYF/WMqCIxfvOFU74t1bxtyS/ImageParallaxHorizontal.js","https:/framerusercontent.com/modules/kT2Ax6ZRzxjlYA9S3gvZ/Fkrrlg1ZPpzi2lJdhiAx/a5EASynPI.js","https:/framerusercontent.com/modules/1r2qSiKaHCW6699gL2Ei/coivKcfDqC8Jvhk6Z4Li/hlzaXNfgP.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 300\n */export default function ImageParallaxHorizontal(props){const{image,parallax=100,...rest}=props;const containerRef=React.useRef(null);const[translateX,setTranslateX]=React.useState(0);const[ready,setReady]=React.useState(false);React.useEffect(()=>{if(typeof window===\"undefined\")return;const calculateParallax=()=>{if(!containerRef.current)return;const rect=containerRef.current.getBoundingClientRect();const windowWidth=window.innerWidth;const elementWidth=rect.width;const startPosition=windowWidth-rect.left;const endPosition=-rect.right;const totalTravel=windowWidth+elementWidth;let progress=0;if(startPosition>=0&&endPosition<=0){progress=startPosition/totalTravel;}else if(startPosition<0){progress=0;}else if(endPosition>0){progress=1;}setTranslateX(parallax-progress*parallax);setReady(true);};window.addEventListener(\"scroll\",calculateParallax);calculateParallax();return()=>window.removeEventListener(\"scroll\",calculateParallax);},[parallax]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{overflow:\"hidden\",position:\"relative\",backgroundColor:\"#ffffff\",...rest.style},children:image&&ready&&/*#__PURE__*/_jsx(\"img\",{src:image,style:{width:`calc(100% + ${parallax}px)`,height:\"100%\",objectFit:\"cover\",transform:`translateX(${-translateX}px)`},alt:\"Parallax Image\"})});}addPropertyControls(ImageParallaxHorizontal,{image:{type:ControlType.Image,title:\"Image\"},parallax:{type:ControlType.Number,title:\"Parallax\",defaultValue:100,min:0,max:300,step:10,description:\"Component made by Anton Drukarov\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageParallaxHorizontal\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"300\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"*\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageParallaxHorizontal.map","// Generated by Framer (662ecd5)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Playfair-500\",\"GF;Playfair-700\",\"GF;Playfair-700italic\",\"GF;Playfair-500italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Playfair\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/playfair/v9/0nkQC9D7PO4KhmUJ5_zTZ_4MYQXznAK-TUcZXKO3UMnW6VNpe4-SiiZ4b8h5G3GutPkmetgYoSMw5ifm.woff2\",weight:\"500\"},{family:\"Playfair\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/playfair/v9/0nkQC9D7PO4KhmUJ5_zTZ_4MYQXznAK-TUcZXKO3UMnW6VNpe4-SiiZ4b8h5G3GutPnzfdgYoSMw5ifm.woff2\",weight:\"700\"},{family:\"Playfair\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/playfair/v9/0nkSC9D7PO4KhmUJ59baVQ_iWhg0cgSrLQZDFpFUsLCFf_1ubkfQeG9KkBAQcOsAs-zcOddZqyIS4zfmNrE.woff2\",weight:\"700\"},{family:\"Playfair\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/playfair/v9/0nkSC9D7PO4KhmUJ59baVQ_iWhg0cgSrLQZDFpFUsLCFf_1ubkfQeG9KkBAQcOsAs-zcOQJeqyIS4zfmNrE.woff2\",weight:\"500\"}]}];export const css=['.framer-IORtY .framer-styles-preset-19md8ao:not(.rich-text-wrapper), .framer-IORtY .framer-styles-preset-19md8ao.rich-text-wrapper h2 { --framer-font-family: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 64px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: -0.05em; --framer-line-height: 90%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-IORtY .framer-styles-preset-19md8ao:not(.rich-text-wrapper), .framer-IORtY .framer-styles-preset-19md8ao.rich-text-wrapper h2 { --framer-font-family: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 60px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: -0.05em; --framer-line-height: 100%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-IORtY .framer-styles-preset-19md8ao:not(.rich-text-wrapper), .framer-IORtY .framer-styles-preset-19md8ao.rich-text-wrapper h2 { --framer-font-family: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-family-italic: \"Playfair\", \"Playfair Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 52px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: -0.05em; --framer-line-height: 90%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-IORtY\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (662ecd5)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Playfair Display-regular\",\"GF;Playfair Display-700\",\"GF;Playfair Display-700italic\",\"GF;Playfair Display-italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Playfair Display\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/playfairdisplay/v39/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvUDVZNLo_U2r.woff2\",weight:\"400\"},{family:\"Playfair Display\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/playfairdisplay/v39/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiukDVZNLo_U2r.woff2\",weight:\"700\"},{family:\"Playfair Display\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/playfairdisplay/v39/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_k-UbtPK-F2rA0s.woff2\",weight:\"700\"},{family:\"Playfair Display\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/playfairdisplay/v39/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_qiTbtPK-F2rA0s.woff2\",weight:\"400\"}]}];export const css=['.framer-Jab1v .framer-styles-preset-1cinv1t:not(.rich-text-wrapper), .framer-Jab1v .framer-styles-preset-1cinv1t.rich-text-wrapper h1 { --framer-font-family: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 180px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.06em; --framer-line-height: 80%; --framer-paragraph-spacing: 0px; --framer-text-alignment: center; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-Jab1v .framer-styles-preset-1cinv1t:not(.rich-text-wrapper), .framer-Jab1v .framer-styles-preset-1cinv1t.rich-text-wrapper h1 { --framer-font-family: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 120px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.06em; --framer-line-height: 80%; --framer-paragraph-spacing: 0px; --framer-text-alignment: center; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-Jab1v .framer-styles-preset-1cinv1t:not(.rich-text-wrapper), .framer-Jab1v .framer-styles-preset-1cinv1t.rich-text-wrapper h1 { --framer-font-family: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-bold-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-family-italic: \"Playfair Display\", \"Playfair Display Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 64px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.06em; --framer-line-height: 80%; --framer-paragraph-spacing: 0px; --framer-text-alignment: center; --framer-text-color: var(--token-a52a650f-fdc2-43f9-93f7-15f9ca573529, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }'];export const className=\"framer-Jab1v\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6MAQG,SAAwB,EAAwB,EAAM,CAAC,GAAK,CAAC,QAAM,WAAS,IAAI,GAAG,GAAM,EAAY,EAAaA,EAAa,KAAK,CAAM,CAAC,EAAW,GAAeC,EAAe,EAAE,CAAM,CAAC,EAAM,GAAUA,EAAe,GAAM,CAAwtB,OAAvtB,MAAoB,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,MAAsB,CAAC,GAAG,CAAC,EAAa,QAAQ,OAAO,IAAM,EAAK,EAAa,QAAQ,uBAAuB,CAAO,EAAY,EAAO,WAAiB,EAAa,EAAK,MAAY,EAAc,EAAY,EAAK,KAAW,EAAY,CAAC,EAAK,MAAY,EAAY,EAAY,EAAiB,EAAS,EAAK,GAAe,GAAG,GAAa,EAAG,EAAS,EAAc,EAAqB,EAAc,EAAG,EAAS,EAAW,EAAY,IAAG,EAAS,GAAG,EAAc,EAAS,EAAS,EAAS,CAAC,EAAS,GAAK,EAA2E,OAAxE,EAAO,iBAAiB,SAAS,EAAkB,CAAC,GAAmB,KAAW,EAAO,oBAAoB,SAAS,EAAkB,EAAG,CAAC,EAAS,CAAC,CAAqB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,SAAS,SAAS,SAAS,WAAW,gBAAgB,UAAU,GAAG,EAAK,MAAM,CAAC,SAAS,GA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