{"version":3,"file":"StructuredData.BxMZ65gU.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/bMNVtMm3mVKMScw7845j/U4BSMusQiFDwPVFjZ7AU/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";function omitEmptyFields(obj){const cleanedEntries=Object.entries(obj).filter(([,value])=>{if(value===null||value===undefined)return false;if(typeof value===\"string\"&&value.trim()===\"\")return false;return true;});return Object.fromEntries(cleanedEntries);}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{schemaType=\"Business\",headline=\"\",description=\"\",category=\"\",slug=\"\",image=\"\",datePublished=\"\",dateModified=\"\"}=props;const jsonLd=useMemo(()=>{const baseOrganization={\"@type\":\"Organization\",name:\"Minds in Motion\",url:\"https://mindsin-motion.com/\",logo:\"https://framerusercontent.com/images/bZTTk3u4t3JTywWTlzF7ZCVamNg.png\",image:\"https://framerusercontent.com/images/bZTTk3u4t3JTywWTlzF7ZCVamNg.png\"};if(schemaType===\"Business\"){return{\"@context\":\"https://schema.org\",\"@type\":\"ProfessionalService\",name:\"Minds in Motion\",url:\"https://mindsin-motion.com/\",email:\"jess@mindsin-motion.com\",description:\"Evidence-based sport and exercise psychology and performance psychology support for athletes, exercisers, coaches, teams, parents and organisations.\",founder:{\"@type\":\"Person\",name:\"Jess Gordon\",hasCredential:\"SEPiT, MSc, BSc\"},serviceType:[\"Sport and exercise psychology\",\"Performance psychology\",\"Workshops\"],logo:\"https://framerusercontent.com/images/bZTTk3u4t3JTywWTlzF7ZCVamNg.png\",image:\"https://framerusercontent.com/images/bZTTk3u4t3JTywWTlzF7ZCVamNg.png\"};}if(schemaType===\"Person\"){return{\"@context\":\"https://schema.org\",\"@type\":\"Person\",name:\"Jess Gordon\",jobTitle:\"Sport & Exercise Psychology Consultant / Sport and Exercise Psychologist in Training\",hasCredential:\"SEPiT, MSc, BSc\",worksFor:{\"@type\":\"Organization\",name:\"Minds in Motion\"},url:\"https://mindsin-motion.com/about\",email:\"jess@mindsin-motion.com\",description:\"Jess Gordon is a trainee sport and exercise psychologist and former junior international athlete. She provides practical, empathetic and evidence-based psychological support for athletes, coaches and teams.\"};}if(schemaType===\"FAQ\"){return{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:[{\"@type\":\"Question\",name:\"What is Sport & Exercise Psychology?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Sport and exercise psychology helps people perform and thrive in sport and physical activity. It builds practical mental skills to support confidence, focus, motivation and resilience whether you’re an elite athlete or recreational exerciser.\"}},{\"@type\":\"Question\",name:\"Who is it for?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"The short answer: everyone. If you have a goal or desired outcome, we can help you.\"}},{\"@type\":\"Question\",name:\"What is a Sport & Exercise Psychologist in Training (SEPiT)?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"A trainee is someone who has completed both an undergraduate and masters level degree in sport and exercise psychology and is now undertaking supervised professional training to obtain HCPC registration.\"}},{\"@type\":\"Question\",name:\"What happens in a first consultation?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"A free initial consultation of up to 30 minutes gives you space to discuss your goals, ask questions and decide whether working together feels like the right fit.\"}},{\"@type\":\"Question\",name:\"Are sessions online or in person?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Sessions are available online and in person. The right format can be discussed during your initial consultation.\"}},{\"@type\":\"Question\",name:\"How long is a session?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Individual sessions are up to 55 minutes. Team and group workshops can be up to two hours.\"}},{\"@type\":\"Question\",name:\"What are the current fees?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"A single session is \\xa350. A six-session Performance Wellbeing Package is \\xa3250. Please get in touch for team or group workshop information.\"}},{\"@type\":\"Question\",name:\"Can parents, coaches and teams book support?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Yes. Support can be tailored for parents of young athletes, coaches, teams and organisations, as well as individual athletes and exercisers.\"}},{\"@type\":\"Question\",name:\"What is the difference between a SEPiT and an HCPC-registered sport psychologist?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"A Sport & Exercise Psychologist in Training has completed undergraduate and master’s study in sport and exercise psychology and is undertaking supervised professional training towards HCPC registration. An HCPC-registered sport psychologist has completed that registration process.\"}},{\"@type\":\"Question\",name:\"How do I book?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Use the Contact page or email Jess at jess@mindsin-motion.com to arrange a free initial consultation.\"}}]};}if(schemaType===\"Services\"){return{\"@context\":\"https://schema.org\",\"@type\":\"Service\",name:\"Minds in Motion Services\",provider:{\"@type\":\"Organization\",name:\"Minds in Motion\",url:\"https://mindsin-motion.com/\"},description:\"Tailored and evidence-based sport and exercise psychology support for individuals, teams and organisations.\",hasOfferCatalog:{\"@type\":\"OfferCatalog\",name:\"Service Offerings\",itemListElement:[{\"@type\":\"Offer\",itemOffered:{\"@type\":\"Service\",name:\"Sport performance support\"}},{\"@type\":\"Offer\",itemOffered:{\"@type\":\"Service\",name:\"Exercise support\"}},{\"@type\":\"Offer\",itemOffered:{\"@type\":\"Service\",name:\"Injury and return-to-play support\"}},{\"@type\":\"Offer\",itemOffered:{\"@type\":\"Service\",name:\"Parent support sessions\"}},{\"@type\":\"Offer\",itemOffered:{\"@type\":\"Service\",name:\"Team/group workshops\"}}]},offers:[{\"@type\":\"Offer\",name:\"Free initial consultation (up to 30 minutes)\",price:\"0\",priceCurrency:\"GBP\"},{\"@type\":\"Offer\",name:\"Single session (up to 55 minutes)\",price:\"50\",priceCurrency:\"GBP\"},{\"@type\":\"Offer\",name:\"Performance Wellbeing Package (6 sessions, up to 55 minutes)\",price:\"250\",priceCurrency:\"GBP\"},{\"@type\":\"Offer\",name:\"Team/group workshops (up to 2 hours; contact for more information)\"}]};}const normalizedSlug=slug.trim().replace(/^\\/+|\\/+$/g,\"\");const canonicalUrl=`https://mindsin-motion.com/advice/${normalizedSlug}`;const article=omitEmptyFields({\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline:headline.trim(),description:description.trim(),articleSection:category.trim(),author:{\"@type\":\"Person\",name:\"Jess Gordon\"},publisher:baseOrganization,mainEntityOfPage:canonicalUrl,image:image.trim(),datePublished:datePublished.trim(),dateModified:dateModified.trim()});return article;},[schemaType,headline,description,category,slug,image,datePublished,dateModified]);const serialized=useMemo(()=>JSON.stringify(jsonLd),[jsonLd]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:0,height:0,overflow:\"hidden\",opacity:0,pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:serialized}})});}addPropertyControls(StructuredData,{schemaType:{type:ControlType.Enum,title:\"Schema Type\",options:[\"Business\",\"Person\",\"FAQ\",\"Services\",\"Article\"],optionTitles:[\"Business\",\"Person\",\"FAQ\",\"Services\",\"Article\"],defaultValue:\"Business\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",displayTextArea:true,hidden:props=>props.schemaType!==\"Article\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"},image:{type:ControlType.String,title:\"Image URL\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"},datePublished:{type:ControlType.String,title:\"Published\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"},dateModified:{type:ControlType.String,title:\"Modified\",defaultValue:\"\",hidden:props=>props.schemaType!==\"Article\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupport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