{"version":3,"sources":["webpack:///./node_modules/react-bootstrap/esm/Table.js","webpack:///./src/pages/space-trooper.js","webpack:///./src/components/ContactForm.js","webpack:///./src/components/video.js"],"names":["Table","forwardRef","_ref","ref","bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive","props","decoratedBsPrefix","classes","table","createElement","responsiveClass","data","title","description","keywords","lg","fluid","image2","childImageSharp","to","href","target","rel","videoSrcURL","videoTitle","queryHero","ContactForm","useState","contactSuccess","changeContactSuccess","changeContactLoading","contactError","changeContactError","onSubmit","e","preventDefault","emailjs","sendForm","then","result","error","Row","Group","as","Col","sm","controlId","Label","Control","id","name","type","placeholder","required","Prepend","Text","value","md","rows","Heading","Video","src","allow","frameBorder","webkitallowfullscreen","mozallowfullscreen","allowFullScreen"],"mappings":"qHAAA,kFAKIA,EAAQ,IAAMC,YAAW,SAAUC,EAAMC,GAC3C,IAAIC,EAAWF,EAAKE,SAChBC,EAAYH,EAAKG,UACjBC,EAAUJ,EAAKI,QACfC,EAAWL,EAAKK,SAChBC,EAAaN,EAAKM,WAClBC,EAAQP,EAAKO,MACbC,EAAOR,EAAKQ,KACZC,EAAUT,EAAKS,QACfC,EAAaV,EAAKU,WAClBC,EAAQ,YAA8BX,EAAM,CAAC,WAAY,YAAa,UAAW,WAAY,aAAc,QAAS,OAAQ,UAAW,eAEvIY,EAAoB,YAAmBV,EAAU,SACjDW,EAAU,IAAWV,EAAWS,EAAmBH,GAAWG,EAAoB,IAAMH,EAASD,GAAQI,EAAoB,IAAMJ,EAAMJ,GAAWQ,EAAoB,WAAYP,GAAYO,EAAoB,YAAaN,GAAcM,EAAoB,cAAeL,GAASK,EAAoB,UAC/SE,EAAqB,IAAMC,cAAc,QAAS,YAAS,GAAIJ,EAAO,CACxER,UAAWU,EACXZ,IAAKA,KAGP,GAAIS,EAAY,CACd,IAAIM,EAAkBJ,EAAoB,cAM1C,MAJ0B,iBAAfF,IACTM,EAAkBA,EAAkB,IAAMN,GAGxB,IAAMK,cAAc,M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,GAAD,IAAGrC,EAAH,EAAGA,YAAaC,EAAhB,EAAgBA,WAAhB,mDACZ,yBAAK3B,UAAU,SACb,4BACEgE,IAAKtC,EACLX,MAAOY,EACPsC,MAAM,0EACNC,YAAY,IACZC,sBAAsB,OACtBC,mBAAmB,OACnBC,iBAAe","file":"component---src-pages-space-trooper-js-1acfaf59a631dda816d0.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar Table = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n striped = _ref.striped,\n bordered = _ref.bordered,\n borderless = _ref.borderless,\n hover = _ref.hover,\n size = _ref.size,\n variant = _ref.variant,\n responsive = _ref.responsive,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"striped\", \"bordered\", \"borderless\", \"hover\", \"size\", \"variant\", \"responsive\"]);\n\n var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'table');\n var classes = classNames(className, decoratedBsPrefix, variant && decoratedBsPrefix + \"-\" + variant, size && decoratedBsPrefix + \"-\" + size, striped && decoratedBsPrefix + \"-striped\", bordered && decoratedBsPrefix + \"-bordered\", borderless && decoratedBsPrefix + \"-borderless\", hover && decoratedBsPrefix + \"-hover\");\n var table = /*#__PURE__*/React.createElement(\"table\", _extends({}, props, {\n className: classes,\n ref: ref\n }));\n\n if (responsive) {\n var responsiveClass = decoratedBsPrefix + \"-responsive\";\n\n if (typeof responsive === 'string') {\n responsiveClass = responsiveClass + \"-\" + responsive;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: responsiveClass\n }, table);\n }\n\n return table;\n});\nexport default Table;","import React from \"react\";\nimport { graphql, Link } from \"gatsby\"\nimport Layout from \"../components/layout\"\nimport SEO from \"../components/seo\"\nimport { Container, Row, Col, Table, Button } from 'react-bootstrap'\nimport \"../assets/css/index.css\";\nimport Img from \"gatsby-image\";\nimport \"../assets/css/horses.css\";\nimport ContactForm from \"../components/ContactForm\";\nimport Video from \"../components/video\"\n\nexport default ({ data }) => {\n return (\n <>\n \n \n \n \n
\n \n
\n \n
\n \n
\n

Space Trooper

\n
\n \n \n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
RACE TYPE: FLAT
AGE: 4
DESCRIPTION: CHESTNUT GREY GELDING
SHARES:AVAILABLE
VIEW DAM PROFILE
VIEW PEDIGREE
VIEW RACING POST FORM
\n \n \n

Information

\n

Half brother to Apollo One, with shares available.

\n \n
\n \n \n \n \n \n \n \n \n
\n \n

Syndicate Information

\n \n \n

You will benefit from inside information in horse performance, regular updates and communication. All shareholders will receive owners and trainers badges to the races to watch their horse run, with a complimentary lunch in the owners and trainers restaurant. You will also have the opportunity to visit the yard, and watch your hose on the gallops.

\n

Each shareholder will receive a pro-rata share of prize money won by their horse.

\n

After the 2023-24 season, all horses will sent the Tattersalls sales and be sold, and the proceeds will be shared between the shareholders.

\n \n \n

Contact us for more information

\n

If you would like some additional information, please use the contact form below to reach out to a member of the team.

\n \n \n
\n
\n
\n \n );\n};\n\nexport const queryHero = graphql`\nquery {\n\n image10: file(relativePath: { eq: \"home-hero.jpg\" }) {\n childImageSharp {\n # Specify the image processing specifications right in the query.\n # Makes it trivial to update as your page's design changes.\n fluid(maxWidth: 700 quality: 100) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n image16: file(relativePath: { eq: \"two-year-old.jpeg\" }) {\n childImageSharp {\n # Specify the image processing specifications right in the query.\n # Makes it trivial to update as your page's design changes.\n fluid(maxWidth: 1000 ) {\n ...GatsbyImageSharpFluid\n ...GatsbyImageSharpFluidLimitPresentationSize\n }\n }\n }\n image2: file(relativePath: { eq: \"space-trooper-gallops.jpeg\" }) {\n childImageSharp {\n # Specify the image processing specifications right in the query.\n # Makes it trivial to update as your page's design changes.\n fluid(maxWidth: 1000 ) {\n ...GatsbyImageSharpFluid\n ...GatsbyImageSharpFluidLimitPresentationSize\n }\n }\n }\n}\n`;\n","import React, { useState } from \"react\";\nimport { Col, Form, InputGroup, Alert, Button } from 'react-bootstrap';\nimport emailjs from \"emailjs-com\";\nimport { useForm } from \"react-hook-form\";\n\nconst ContactForm = () => {\n const [contactSuccess, changeContactSuccess] = useState(false);\n const [contactLoading, changeContactLoading] = useState(false);\n const [contactError, changeContactError] = useState(false);\n \n const sendEmail = (e) => {\n e.preventDefault();\n changeContactLoading(true);\n changeContactSuccess(false);\n changeContactError(false);\n emailjs\n .sendForm(\n \"amazon_ses\",\n \"template_wfq841a\",\n e.target,\n \"user_uB4PopJwbqrSoyPz8LPXg\"\n )\n .then(\n (result) => {\n changeContactSuccess(true);\n },\n (error) => {\n changeContactError(true);\n changeContactLoading(false);\n }\n );\n };\n \n \n return (\n
\n
\n \n \n Full Name\n \n \n \n Email Address\n\n \n \n \n \n \n\n \n \n Contact Number\n\n \n \n +44\n \n \n \n \n \n Choose Syndicate\n \n \n \n \n \n \n \n \n\n \n \n How did you hear about us?\n \n \n \n \n \n \n \n \n \n\n \n \n Additional Information\n\n \n \n \n \n \n\n \n \n \n \n \n {contactError && (\n \n Uh oh...\n

\n There has been an error - try again later or give us a call\n

\n
\n )}\n {contactSuccess && (\n \n Contact form successful, your message has been sent.\n

\n Thanks for contacting pcracing.co.uk, we will respond to you as\n soon as we can.\n

\n
\n )}\n
\n
\n );\n };\n\nexport default ContactForm;\n","import React from \"react\"\nimport \"../assets/css/video.css\";\n\nconst Video = ({ videoSrcURL, videoTitle, ...props }) => (\n
\n \n
\n)\nexport default Video"],"sourceRoot":""}