{"version":3,"file":"component---src-templates-case-study-js-c9b3c04d18bc32d048db.js","mappings":"+JACO,I,8BCqCP,EA/BuB,SAACA,GAEpB,IAGMC,EAAgB,CAClBC,MAAM,EACNC,UAAU,EACVC,eANgBC,EAAAA,EAAAA,IAAeC,GACIC,IAA/BC,eAK0BC,WAC9BC,iBAAkB,CACdC,oBAAoB,mBAI5B,OACI,uBAAKC,UDrBe,iDCuBZZ,EAAMa,eACF,qBAAGC,KAAMd,EAAMa,gBACX,gBAAC,IAAM,CAACE,QAASd,EAAee,MAAM,OAAOC,OAAO,UAGxD,gBAAC,KAAI,CAACC,GAAG,eACL,gBAAC,IAAM,CAACH,QAASd,EAAee,MAAM,OAAOC,OAAO,UAM5E,EAIMX,EAAK,W,oFCwUX,UAlB0B,SAACN,GAAW,IAAD,EAC3BmB,GAA0C,QAA7B,EAAAnB,EAAMoB,KAAKb,IAAIc,YAAY,UAAE,aAA7B,EAA+BF,aAAc,KAEhE,OAAKA,EAQD,gBAAC,IAAM,CAACG,SAAUtB,EAAMsB,SAAUC,OAAQvB,EAAMwB,YAAYD,QACxD,gBAAC,IAAc,MACf,gBAAC,IAAW,CAACJ,WAAYA,MATZ,oBAANM,SACFC,EAAAA,EAAAA,KAAoC,OAAxB1B,EAAMwB,YAAYD,OAAe,UAAa,QAE5D,KASf,C","sources":["webpack://billongroup-com-web/./src/components/floating-button/floating-button.module.css","webpack://billongroup-com-web/./src/components/floating-button/floating-button.js","webpack://billongroup-com-web/./src/templates/case-study.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport var floatingButton = \"floating-button-module--floatingButton--6ea6c\";","import * as styles from './floating-button.module.css';\n\nimport { Link, graphql, useStaticQuery } from 'gatsby';\n\nimport Lottie from 'react-lottie';\nimport React from 'react';\n\nconst FloatingButton = (props) => {\n\n const queryResult = useStaticQuery(query);\n const { floatingButton } = queryResult.cms;\n\n const lottieOptions = {\n loop: true,\n autoplay: true,\n animationData: floatingButton.lottieData,\n rendererSettings: {\n preserveAspectRatio: `xMidYMid slice`\n }\n }\n\n return (\n
\n {\n props.navigateToForm ?\n \n \n \n :\n \n \n \n }\n
\n )\n\n}\n\nexport default FloatingButton;\n\nconst query = graphql`\n{\n cms {\n floatingButton {\n lottieData\n }\n }\n}\n`;","import { graphql, navigate } from 'gatsby';\n\nimport DynamicZone from '../components/dynamic-zone/dynamic-zone';\nimport FloatingButton from '../components/floating-button/floating-button';\nimport Layout from '../components/layout';\nimport React from 'react';\n\nexport const query = graphql`\nquery ($slug: String!, $locale: String!) {\n cms {\n caseStudies(locale: $locale, where: {link: $slug}) {\n components {\n ... on STRAPI_ComponentComponentsHeader {\n __typename\n backgroundImageHeight\n contentOffset\n mobileContentOffset\n backgroundImage {\n url\n }\n primaryImage {\n url\n }\n headerSubtitle: subtitle\n title\n textBoxCustomClasses\n }\n ... on STRAPI_ComponentComponentsRichTextOnly {\n __typename\n richTextOnlyContent\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentComponentsImagesWithOffset {\n __typename\n content {\n image {\n url\n }\n title\n subtitle\n }\n bottomText\n contentOffset\n imagesWithOffsetScrollColor\n offsetComponentType\n topPusherHeight\n topPusherHeightMobile\n sectionTitle {\n description\n style\n tailwindClasses\n title\n titleIcon {\n url\n }\n ytLink\n }\n }\n ... on STRAPI_ComponentComponentsHorizontalScroll {\n __typename\n horizontalScrollColor\n HorizontalScrollCaseStudy {\n case_study {\n link\n logo {\n url\n }\n slug\n }\n }\n sectionTitle {\n description\n style\n tailwindClasses\n title\n ytLink\n titleIcon {\n url\n }\n }\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesCaseStudyIntro {\n __typename\n introContent\n caseStudyIntroTitle: title\n titleIcon {\n url\n }\n listItemUnderLogo {\n link\n title\n icon {\n url\n }\n }\n logo {\n url\n }\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesRichTextWithSideImage {\n __typename\n richTextContent\n sectionTitle {\n ytLink\n titleIcon {\n url\n }\n title\n tailwindClasses\n style\n description\n }\n sideImage {\n url\n }\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesRepeatableRichText {\n __typename\n richText {\n title\n content\n mobileContent\n titleIcon {\n url\n }\n }\n sectionTitle {\n ytLink\n titleIcon {\n url\n }\n title\n tailwindClasses\n style\n description\n }\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesResults {\n __typename\n topPusherHeight\n topPusherHeightMobile\n columnResult {\n content\n icon {\n url\n }\n title\n }\n listIcon {\n url\n }\n sectionTitle {\n description\n style\n tailwindClasses\n title\n titleIcon {\n url\n }\n ytLink\n }\n }\n ... on STRAPI_ComponentUseCasesUseCasesSection {\n __typename\n topPusherHeightMobile\n topPusherHeight\n listBullet {\n url\n }\n sectionTitle {\n ytLink\n titleIcon {\n url\n }\n title\n tailwindClasses\n style\n description\n }\n quotationSection {\n authorCompany\n authorName\n authorRole\n quoatationIcon {\n url\n }\n quotation\n authorImage {\n url\n }\n }\n UseCasesColumns {\n title\n subtitle\n icon {\n url\n }\n backgroundImage {\n url\n }\n }\n }\n ... on STRAPI_ComponentComponentsSingleImage {\n __typename\n topPusherHeightMobile\n topPusherHeight\n image {\n url\n }\n }\n ... on STRAPI_ComponentHorizontalTabsHorizontalTabs {\n __typename\n topPusherHeightMobile\n topPusherHeight\n tabsContentColor\n tabs {\n type\n title\n subtitle\n scrollColor\n fullWidthImageItemsDirection\n label\n imagesMetadata\n imagesTailwindClasses\n images {\n url\n }\n }\n sectionTitle {\n description\n style\n tailwindClasses\n title\n titleIcon {\n url\n }\n ytLink\n }\n tabHeight\n }\n ... on STRAPI_ComponentComponentsBenefits {\n __typename\n topPusherHeightMobile\n topPusherHeight\n sectionTitle {\n ytLink\n titleIcon {\n url\n }\n title\n tailwindClasses\n style\n description\n }\n benefitsScrollColor\n Benefit {\n title\n subtitle\n image {\n url\n }\n }\n }\n ... on STRAPI_ComponentCaseStudiesItemsWithBigText {\n __typename\n itemsWithBigTextScrollColor\n topPusherHeight\n topPusherHeightMobile\n bigTextItem {\n itemContent\n }\n }\n ... on STRAPI_ComponentCaseStudiesPayoutSaving {\n __typename\n bigRichText\n smallRichText\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesColumnsWithBorders {\n __typename\n columnWithOffsetImage {\n description\n image {\n url\n }\n title\n }\n mobileScrollColor\n sectionTitle {\n title\n titleIcon {\n url\n }\n ytLink\n tailwindClasses\n style\n description\n }\n textUnderColumns\n topPusherHeight\n topPusherHeightMobile\n }\n ... on STRAPI_ComponentCaseStudiesOffsetImagesWithSquare {\n __typename\n upperText\n topPusherHeight\n topPusherHeightMobile\n offsetImagesWithSquareScrollColor\n sectionTitle {\n description\n style\n tailwindClasses\n title\n titleIcon {\n url\n }\n ytLink\n }\n imageWithSquare {\n title\n image {\n url\n }\n }\n }\n ... on STRAPI_ComponentSeoSeo {\n __typename\n seoDescription\n seoLink\n seoTitle\n seoImages {\n url\n }\n }\n }\n }\n }\n }\n`;\n\nconst CaseStudyTemplate = (props) => {\n const components = props.data.cms.caseStudies[0]?.components || null;\n\n if (!components) {\n if (typeof window !== `undefined`) {\n void navigate(`${props.pageContext.locale === `pl` ? `/pl` : ``}/404`);\n }\n return null;\n }\n\n return (\n \n \n \n \n );\n};\n\nexport default CaseStudyTemplate;\n"],"names":["props","lottieOptions","loop","autoplay","animationData","useStaticQuery","query","cms","floatingButton","lottieData","rendererSettings","preserveAspectRatio","className","navigateToForm","href","options","width","height","to","components","data","caseStudies","location","locale","pageContext","window","navigate"],"sourceRoot":""}