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,GACJ,gBAAChD,GAAD,CAAYgE,GAAIC,EAAAA,KAAMC,GAAIC,EAAAA,GAAAA,WAA1B,gBAON,gBAACjE,GAAD,KACE,gBAACjC,EAAD,wBAEA,gBAACkC,GAAD,KACE,gBAACE,GAAD,KACE,gBAACC,GAAD,KACE,gBAAC,EAAAuD,EAAD,CACEL,IAAI,iEACJM,IAAI,GACJC,YAAY,UAHd,uBAMF,gBAACxD,GAAD,uCACA,2GAKF,gBAACF,GAAD,KACE,gBAACC,GAAD,KACE,gBAAC,EAAAuD,EAAD,CACEL,IAAI,wDACJM,IAAI,GACJC,YAAY,UAHd,uBAMF,gBAACxD,GAAD,6BACA,2JAQN,gBAACE,GAAD,KACE,gBAACxC,EAAD,sBAEA,gBAACuC,GAAD,KACGa,EAAWC,KAAI,WAAwBY,GAAS,IAAD,IAA7BL,EAA6B,EAA7BA,MAAOuC,EAAsB,EAAtBA,IAAK7E,EAAiB,EAAjBA,MAC7B,OACE,gBAACmB,GAAD,CAAKwB,IAAK3C,EAAQ2C,GAChB,gBAACvB,GAAD,CACEyB,MAAOP,MAAAA,GAAF,UAAEA,EAAOQ,iBAAT,iBAAE,EAAkBC,uBAApB,aAAE,EAAmCF,MAC1C0B,IAAKvE,IAEP,qBAAG8E,KAAMD,EAAKE,OAAO,SAASC,IAAI,uBAChC,gBAAC1D,GAAD,eC7LlB,GAnBgB,WACd,IAAQ2D,GAAWjC,EAAAA,EAAAA,gBAAe,cAA1BiC,OAUR,OAFAA,EAAOC,IAAIC,aAAeP,EAAAA,GAAAA,QAGxB,gBAACQ,EAAA,EAAD,CAAQC,gBAAiBpH,EAAAA,GAAAA,QAAAA,MACvB,gBAACqH,EAAA,EAAD,CAAKC,SAAUN,GAAU,KACzB,gBAAC,GAAD,S","sources":["webpack://gatsby-starter-default/./src/images/about-us/sides.png","webpack://gatsby-starter-default/./src/components/AboutUs/styled.tsx","webpack://gatsby-starter-default/./src/components/AboutUs/History.tsx","webpack://gatsby-starter-default/./src/videos/Minebest_2021_Introduction.mp4","webpack://gatsby-starter-default/./src/videos/Minebest_2021_Introduction.webm","webpack://gatsby-starter-default/./src/components/AboutUs/AboutUsContent.tsx","webpack://gatsby-starter-default/./src/pages/about-us.tsx"],"sourcesContent":["export default __webpack_public_path__ + \"static/sides-89ed02a0f8ef86f697f5b11701b2b3c7.png\";","import styled from 'styles/styled';\nimport Img, { FluidObject } from 'gatsby-image';\n\nimport { Button } from 'components/UI/Button';\nimport sideImage from 'images/about-us/sides.png';\n\nconst PADDING = 18;\nconst itemWidth = '38px';\n\nexport const Wrapper = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: 100px;\n padding: ${PADDING}px;\n width: 100%;\n\n @media ${({ theme }) => theme.devices.medium} {\n padding: 60px 0 0;\n }\n`;\n\nconst Section = styled.section`\n margin-left: auto;\n margin-right: auto;\n\n & + & {\n margin-top: 50px;\n }\n\n @media ${({ theme }) => theme.devices.medium} {\n & + & {\n margin-top: 90px;\n }\n }\n`;\n\nexport const VideoWrapper = styled(Section)`\n box-shadow: 0 0 60px 0 rgba(0, 127, 226, 0.6);\n max-width: ${({ theme }) => theme.dimensions.contentMaxWidthMedium}px;\n margin: 0 auto;\n width: 100%;\n\n video {\n max-width: 100%;\n vertical-align: middle;\n width: 100%;\n }\n`;\n\nexport const IntroWrapper = styled(Section)`\n max-width: ${({ theme }) => theme.dimensions.blogContentMaxWidth}px;\n text-align: center;\n\n @media ${({ theme }) => theme.devices.medium} {\n text-align: left;\n }\n`;\n\nexport const Title = styled.h2`\n font-size: 18px;\n font-weight: 300;\n margin-bottom: 20px;\n text-align: center;\n text-transform: uppercase;\n\n span,\n strong {\n display: block;\n }\n\n @media ${({ theme }) => theme.devices.medium} {\n font-size: 26px;\n }\n`;\n\nexport const HistoryWrapper = styled(Section)`\n overflow: hidden;\n width: 100%;\n\n ${Title} {\n text-align: center;\n }\n\n @media ${({ theme }) => theme.devices.medium} {\n max-width: ${({ theme }) => theme.dimensions.contentMaxWidthMedium}px;\n padding: 0 ${PADDING}px;\n width: 100%;\n\n ${Title} {\n text-align: left;\n }\n }\n`;\n\nexport const HistoryList = styled.ul`\n display: flex;\n position: relative;\n`;\n\nexport const HistoryItem = styled.li<{\n isSelected: boolean;\n openPrev: boolean;\n right: boolean;\n index: number;\n}>`\n align-items: flex-start;\n border-left: 2px solid\n ${({ isSelected }) =>\n isSelected ? 'rgb(255, 255, 255)' : 'rgba(255, 255, 255, 0.4)'};\n cursor: pointer;\n display: flex;\n flex-direction: column;\n flex-basis: ${({ isSelected, openPrev, right }) =>\n (isSelected && !right) || openPrev ? '100%' : '0%'};\n flex-grow: 0;\n height: calc(50vw + 300px);\n transition: ${({ theme }) => theme.ui.transition('all')};\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-tap-highlight-color: transparent;\n\n @media ${({ theme }) => theme.devices.medium} {\n flex-basis: ${({ isSelected }) => (isSelected ? '100%' : '0%')};\n height: 600px;\n padding: 0;\n }\n`;\n\nexport const HistoryDate = styled.span<{ isSelected: boolean }>`\n font-size: ${({ theme }) => theme.fontSize.base};\n line-height: 1;\n margin-bottom: 30px;\n text-orientation: mixed;\n opacity: ${({ isSelected }) => (isSelected ? '1' : '0.5')};\n font-weight: ${({ isSelected, theme }) =>\n isSelected ? theme.fontWeight.bold : theme.fontWeight.light};\n padding: 0 10px;\n writing-mode: vertical-rl;\n transition: ${({ theme }) => theme.ui.transition('all')};\n\n @media ${({ theme }) => theme.devices.medium} {\n padding: 0 30px 0 10px;\n }\n`;\n\nexport const HistoryContentOuter = styled.div`\n flex-grow: 1;\n position: relative;\n width: 100%;\n`;\n\nexport const HistoryContentWrapper = styled.div<{\n isSelected: boolean;\n right: boolean;\n widthFactor: number;\n}>`\n background-color: ${({ theme }) => theme.palette.dark};\n bottom: 0;\n opacity: ${({ isSelected }) => (isSelected ? '1' : '0')};\n pointer-events: ${({ isSelected }) => (isSelected ? 'all' : 'none')};\n transition: ${({ theme }) => theme.ui.transition('opacity')};\n position: absolute;\n top: 0;\n z-index: 1;\n left: ${({ right }) => (right ? 'auto' : '0')};\n right: ${({ right }) => (right ? 'calc(100% + 2px)' : 'auto')};\n width: ${({ widthFactor }) =>\n `calc(100vw - ${\n PADDING * 2\n }px - 2px - ${itemWidth} - (${itemWidth} * ${widthFactor}))`};\n\n @media ${({ theme }) => theme.devices.medium} {\n left: 0;\n right: auto;\n max-width: 100%;\n width: 100%;\n }\n\n .gatsby-image-wrapper {\n height: 50vw;\n\n @media ${({ theme }) => theme.devices.medium} {\n height: 300px;\n }\n }\n`;\n\nexport const HistoryTitle = styled.h3`\n letter-spacing: 1px;\n padding: 15px 7.5px 0;\n font-size: ${({ theme }) => theme.fontSize.subtitleMobile};\n\n @media ${({ theme }) => theme.devices.medium} {\n font-size: ${({ theme }) => theme.fontSize.title};\n padding: 20px 13.5px 0;\n }\n`;\n\nexport const EyalWrapper = styled(Section)`\n position: relative;\n padding-bottom: 30px;\n width: 100%;\n\n @media ${({ theme }) => theme.devices.large} {\n margin-top: 150px !important;\n padding: 30px ${PADDING}px;\n }\n`;\n\nexport const FlexWrapper = styled.div`\n @media ${({ theme }) => theme.devices.large} {\n display: flex;\n margin: 0 auto;\n max-width: ${({ theme }) => theme.dimensions.contentMaxWidthMedium}px;\n }\n`;\n\nexport const EyalBg = styled.div`\n background-color: #000e18;\n bottom: 0;\n content: '';\n left: -${PADDING}px;\n overflow: hidden;\n right: -${PADDING}px;\n top: 100px;\n position: absolute;\n\n @media ${({ theme }) => theme.devices.medium} {\n left: 50%;\n right: auto;\n transform: translateX(-50%);\n max-width: 100%;\n width: 100vw;\n }\n\n @media ${({ theme }) => theme.devices.large} {\n top: 0;\n\n &::after,\n &::before {\n content: '';\n background-image: url(${sideImage});\n background-size: cover;\n height: 100%;\n max-width: 100%;\n position: absolute;\n top: 0;\n width: 50vw;\n }\n\n &::before {\n background-position: 60% 100%;\n left: 0;\n transform: rotateZ(180deg);\n }\n\n &::after {\n background-position: 80% 100%;\n right: 0;\n }\n }\n`;\n\nexport const ContentWrapper = styled.div`\n position: relative;\n text-align: center;\n\n @media ${({ theme }) => theme.devices.large} {\n display: flex;\n flex-basis: 55%;\n flex-direction: column;\n justify-content: center;\n padding-left: 50px;\n text-align: left;\n\n ${Title} {\n text-align: left;\n }\n }\n`;\n\nexport const ImageWrapper = styled.div`\n overflow: hidden;\n position: relative;\n\n .gatsby-image-wrapper {\n display: block;\n margin: 0 auto 10px;\n max-width: 400px;\n position: relative;\n z-index: 1;\n }\n\n &::after {\n background-image: linear-gradient(rgba(0, 14, 24, 0), rgba(0, 14, 24, 1));\n bottom: 0;\n content: '';\n height: 50px;\n left: -${PADDING}px;\n position: absolute;\n right: -${PADDING}px;\n z-index: 2;\n }\n\n @media ${({ theme }) => theme.devices.large} {\n flex-basis: 45%;\n overflow: initial;\n\n .gatsby-image-wrapper {\n bottom: -30px;\n left: 0;\n margin: 0;\n max-width: none;\n position: absolute !important;\n right: 0;\n }\n\n &::after {\n display: none;\n }\n }\n`;\n\nexport const EyalSides = styled.div`\n bottom: 0;\n left: -${PADDING}px;\n overflow: hidden;\n pointer-events: none;\n position: absolute;\n right: -${PADDING}px;\n top: 100px;\n z-index: 0;\n\n &::after,\n &::before {\n content: '';\n background-image: url(${sideImage});\n background-size: cover;\n height: 50vw;\n position: absolute;\n top: 0;\n width: 50vw;\n }\n\n &::before {\n background-position: 60% 100%;\n left: 0;\n transform: rotateZ(180deg);\n }\n\n &::after {\n background-position: 80% 100%;\n right: 0;\n }\n\n @media ${({ theme }) => theme.devices.large} {\n display: none;\n }\n`;\n\nexport const StyledLink = styled(Button)`\n margin: 30px auto 0;\n\n @media ${({ theme }) => theme.devices.large} {\n margin-left: 0;\n }\n`;\n\nexport const AwardsWrapper = styled(Section)``;\n\nexport const AwardsContainer = styled.div`\n margin: 0 auto;\n max-width: 300px;\n\n @media ${({ theme }) => theme.devices.small} {\n display: flex;\n max-width: 550px;\n }\n`;\n\nexport const AwardContainer = styled.div`\n text-align: center;\n\n & + & {\n margin-top: 20px;\n }\n\n @media ${({ theme }) => theme.devices.small} {\n flex-basis: 50%;\n text-align: left;\n\n & + & {\n margin-top: 0;\n margin-left: 30px;\n }\n }\n`;\n\nexport const AwardImg = styled.div`\n border: 1px solid #fff;\n margin-bottom: 10px;\n padding: 20px;\n text-align: center;\n\n img {\n height: 100px;\n }\n`;\n\nexport const AwardTitle = styled.p`\n font-weight: 700;\n margin-bottom: 10px;\n`;\n\nexport const BoxesWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n`;\n\nexport const ReadWrapper = styled(Section)`\n display: flex;\n flex-direction: column;\n align-items: center;\n overflow: hidden;\n`;\n\nexport const Box = styled.div`\n cursor: pointer;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 225px;\n height: 126px;\n padding: 44px 13px 43px;\n margin: 5px;\n\n @media ${({ theme }) => theme.devices.medium} {\n margin: 10px;\n }\n`;\n\nexport const BoxImage = styled(Img)<{ fluid: FluidObject }>`\n width: 100%;\n height: 100%;\n`;\n\nexport const BoxBackground = styled.div`\n position: absolute;\n opacity: 0.1;\n background-color: #d8d8d8;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n`;\n","import React, { useRef, useState } from 'react';\nimport Img from 'gatsby-image';\n\nimport { AboutUsTypes } from 'types';\n\nimport {\n HistoryContentWrapper,\n HistoryContentOuter,\n HistoryDate,\n HistoryItem,\n HistoryList,\n HistoryTitle,\n HistoryWrapper,\n Title,\n} from './styled';\n\ntype HistoryData = AboutUsTypes.HistoryInterface;\n\nconst History = ({ data }: { data: HistoryData[] }) => {\n const [selectedIndex, setSelectedIndex] = useState(data.length - 1);\n const historySelectedItem = useRef(null);\n const mappedData: HistoryData[] = data\n .map(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ({ our_history }: any) => our_history,\n )\n .sort((a, b) => a.order - b.order);\n\n return (\n \n Our history\n\n \n {mappedData.map(({ title, image, subtitle }, index) => {\n const isSelected = index === selectedIndex;\n const lastIndex = mappedData.length - 1;\n const rightLimit = lastIndex - 1;\n const right = index >= rightLimit;\n const openPrev =\n index + 1 === rightLimit && selectedIndex >= rightLimit;\n\n return (\n setSelectedIndex(index)}\n key={title}\n index={index}\n ref={isSelected ? historySelectedItem : null}\n right={right}\n isSelected={isSelected}\n openPrev={openPrev}\n >\n {title}\n \n \n \n {subtitle}\n \n \n \n );\n })}\n \n \n );\n};\n\nexport default History;\n","export default __webpack_public_path__ + \"static/Minebest_2021_Introduction-e555711210af9da3b161c11270d457a5.mp4\";","export default __webpack_public_path__ + \"static/Minebest_2021_Introduction-686b85377248a105342ae2335a747f31.webm\";","import React from 'react';\nimport { graphql, Link, useStaticQuery } from 'gatsby';\nimport { StaticImage } from 'gatsby-plugin-image';\n\nimport { AboutUsTypes } from 'types';\n\nimport { ROUTES } from 'constants/common';\nimport History from 'components/AboutUs/History';\nimport videoMP3 from 'videos/Minebest_2021_Introduction.mp4';\nimport videoWEBM from 'videos/Minebest_2021_Introduction.webm';\n\nimport {\n Wrapper,\n IntroWrapper,\n Title,\n EyalBg,\n EyalSides,\n EyalWrapper,\n ContentWrapper,\n ImageWrapper,\n ReadWrapper,\n BoxesWrapper,\n Box,\n BoxBackground,\n BoxImage,\n VideoWrapper,\n StyledLink,\n FlexWrapper,\n AwardsWrapper,\n AwardContainer,\n AwardsContainer,\n AwardImg,\n AwardTitle,\n} from './styled';\n\ntype READ_MORE_DATA = AboutUsTypes.ReadMoreInterface;\ntype MAPPED_READ_MORE_DATA = {\n read_about_us: READ_MORE_DATA;\n title: Pick;\n};\n\nconst AboutUsContent = () => {\n const {\n history,\n readAboutUs,\n page: {\n about_us: {\n aboutUsTitle,\n aboutUsIntro,\n eyalTitle,\n eyalTitlePrefix,\n eyalDesc,\n },\n },\n } = useStaticQuery(graphql`\n query AboutUs {\n history: allWpPost(\n filter: {\n categories: { nodes: { elemMatch: { slug: { eq: \"history\" } } } }\n }\n ) {\n nodes {\n our_history {\n image {\n localFile {\n childImageSharp {\n fluid(quality: 100) {\n ...GatsbyImageSharpFluid_withWebp\n }\n id\n }\n }\n }\n subtitle\n title\n order\n }\n date\n }\n }\n\n readAboutUs: allWpPost(\n filter: {\n categories: {\n nodes: { elemMatch: { slug: { eq: \"read-about-us\" } } }\n }\n }\n ) {\n nodes {\n read_about_us {\n url\n order\n image {\n localFile {\n childImageSharp {\n fluid(quality: 100) {\n ...GatsbyImageSharpFluid_withWebp\n }\n }\n }\n }\n }\n title\n }\n }\n\n page: wpPage(slug: { in: \"about-us\" }) {\n about_us {\n aboutUsIntro\n aboutUsTitle\n eyalDesc\n eyalTitlePrefix\n eyalTitle\n }\n }\n }\n `);\n\n const mappedData: READ_MORE_DATA[] = readAboutUs.nodes\n .map(({ read_about_us: readAboutUs, title }: MAPPED_READ_MORE_DATA) => {\n return {\n ...readAboutUs,\n title,\n };\n })\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .sort((a: any, b: any) => a.order - b.order);\n\n // const sliderData = ourMiners.nodes.map(\n // ({ our_miners }: { our_miners: AboutUsTypes.OurMiners }) => our_miners,\n // );\n\n return (\n \n \n \n \n \n {aboutUsTitle}\n

\n \n\n \n\n \n \n \n \n \n \n \n \n \n <strong>{eyalTitlePrefix}</strong>\n <span>{eyalTitle}</span>\n \n

{eyalDesc}

\n \n READ MORE\n \n \n \n \n\n \n Business Awards\n\n \n \n \n \n \n Best Reputation of Mining Farm\n

\n Winner of the International Digital Mining Summit (IDMS) in\n Schenzhen, China.\n

\n
\n \n \n \n \n Top Ten Mining Farms\n

\n Winner for Professional Design and Excellent Construction of World\n Digital Mining Summit 2019 (WDMS) in Frankfurt, Germany.\n

\n
\n
\n
\n\n \n Read about us\n\n \n {mappedData.map(({ image, url, title }, key) => {\n return (\n \n \n \n \n \n \n );\n })}\n \n \n
\n );\n};\n\nexport default AboutUsContent;\n","import React from 'react';\nimport { graphql, useStaticQuery } from 'gatsby';\n\nimport { theme } from 'styles/styled';\nimport { ROUTES } from 'constants/common';\n\nimport SEO from 'components/SEO';\nimport Layout from 'components/Layout';\nimport AboutUsContent from 'components/AboutUs';\n\nconst AboutUs = () => {\n const { wpPage } = useStaticQuery(graphql`\n query {\n wpPage(slug: { in: \"about-us\" }) {\n ...MetaData\n }\n }\n `);\n\n wpPage.seo.opengraphUrl = ROUTES.aboutUs;\n\n return (\n \n \n \n \n );\n};\n\nexport default AboutUs;\n"],"names":["PADDING","Wrapper","styled","theme","devices","medium","Section","VideoWrapper","dimensions","contentMaxWidthMedium","IntroWrapper","blogContentMaxWidth","Title","HistoryWrapper","HistoryList","HistoryItem","isSelected","openPrev","right","ui","transition","HistoryDate","fontSize","base","fontWeight","bold","light","HistoryContentOuter","HistoryContentWrapper","palette","dark","widthFactor","HistoryTitle","subtitleMobile","title","EyalWrapper","large","FlexWrapper","EyalBg","sideImage","ContentWrapper","ImageWrapper","EyalSides","StyledLink","Button","AwardsWrapper","AwardsContainer","small","AwardContainer","AwardImg","AwardTitle","BoxesWrapper","ReadWrapper","Box","BoxImage","Img","BoxBackground","data","useState","length","selectedIndex","setSelectedIndex","historySelectedItem","useRef","mappedData","map","our_history","sort","a","b","order","index","image","subtitle","lastIndex","rightLimit","onClick","key","ref","fluid","localFile","childImageSharp","useStaticQuery","history","readAboutUs","page","about_us","aboutUsTitle","aboutUsIntro","eyalTitle","eyalTitlePrefix","eyalDesc","nodes","read_about_us","autoPlay","controls","loop","muted","type","src","videoWEBM","videoMP3","dangerouslySetInnerHTML","__html","S","alt","placeholder","as","Link","to","ROUTES","url","href","target","rel","wpPage","seo","opengraphUrl","Layout","backgroundColor","SEO","metadata"],"sourceRoot":""}