{"version":3,"file":"MuxPlayer.CF3g4CuR.mjs","names":["p","useRef","useState"],"sources":["https:/framer.com/m/PricingHeroPlans-onsq9P.js","https:/framerusercontent.com/modules/jCESGTrSmlqXUjSyLGpU/YIkqTzXeBT7Lg74HdZr6/FeaturePageFooter.js","https:/framerusercontent.com/modules/jbQYkbgn4sHXRWs09K2B/Y6aneZ0JQgBgkn2FHvuT/MuxPlayer.js"],"sourcesContent":["/*\n * PricingHeroPlans\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/akHa9eAv0Ls7OlEKyHme/CUQNE2aXrHMAl0IvNCMo/PricingHeroPlans.js\"\nexport { default } from \"https://framerusercontent.com/modules/akHa9eAv0Ls7OlEKyHme/CUQNE2aXrHMAl0IvNCMo/PricingHeroPlans.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import PricingHeroPlans from\"https://framer.com/m/PricingHeroPlans-onsq9P.js\";// ---------------------------------------------------------------------------\n// Data\n// ---------------------------------------------------------------------------\nconst featurePages={training:{href:\"/training\",label:\"World Class Training\",image:\"https://res.cloudinary.com/mxu/image/upload/c_scale,f_auto,q_auto:good,w_480/marketing_homepage/training_feature_mkvq4m\",alt:\"MxU training\"},lms:{href:\"/learning-management-system\",label:\"Learning Management System\",image:\"https://res.cloudinary.com/mxu/image/upload/c_scale,f_auto,q_auto:good,w_480/marketing_homepage/lms_feature_nyblav\",alt:\"MxU learning management system\"},coaching:{href:\"/coaching\",label:\"1:1 Coaching\",image:\"https://image.mux.com/lLE9KBypj81016bxSIW6gm34cdDRWmEFfKYRWhij7iZ4/thumbnail.jpg?time=5\",alt:\"MxU coaching\"}};// ---------------------------------------------------------------------------\n// CSS\n// ---------------------------------------------------------------------------\nconst css=`\n  *, *::before, *::after { box-sizing: border-box; }\n\n  .mxu-fpf-root {\n    width: 100%;\n    font-family: Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n    color: rgba(255,255,255,0.88);\n    background: #0c1524;\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n    overflow-x: hidden;\n  }\n\n  /* ======================================================\n     EXPLORE MORE SECTION\n  ====================================================== */\n  .mxu-fpf-explore {\n    padding: 80px 32px;\n    text-align: center;\n  }\n\n  .mxu-fpf-explore-h2 {\n    margin: 0 0 48px;\n    font-size: clamp(28px, 3.8cqw, 44px);\n    line-height: 1.06;\n    letter-spacing: -0.036em;\n    font-weight: 800;\n    color: #fff;\n    text-wrap: balance;\n  }\n\n  .mxu-fpf-explore-grid {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 24px;\n    justify-content: center;\n  }\n\n  .mxu-fpf-explore-card {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    padding: 32px;\n    width: 320px;\n    border-radius: 24px;\n    border: 1px solid rgba(255,255,255,0.09);\n    background: linear-gradient(135deg, rgba(14,25,42,0.5) 0%, rgba(18,32,55,0.5) 100%);\n    text-decoration: none;\n    color: rgba(255,255,255,0.88);\n    transition: border-color 0.2s ease, background 0.2s ease;\n    cursor: pointer;\n  }\n\n  .mxu-fpf-explore-card:hover {\n    border-color: rgba(255,255,255,0.15);\n    background: linear-gradient(135deg, rgba(18,32,55,0.7) 0%, rgba(22,38,64,0.7) 100%);\n  }\n\n  .mxu-fpf-explore-card img {\n    width: 100%;\n    border-radius: 16px;\n    aspect-ratio: 1;\n    object-fit: cover;\n    display: block;\n  }\n\n  .mxu-fpf-explore-label {\n    margin-top: 20px;\n    font-size: 15px;\n    font-weight: 600;\n    text-align: center;\n    color: rgba(255,255,255,0.88);\n  }\n\n  /* ======================================================\n     RESPONSIVE\n  ====================================================== */\n  @media (max-width: 767px) {\n    .mxu-fpf-explore { padding: 52px 16px; }\n    .mxu-fpf-explore-card { width: 100%; max-width: 360px; }\n  }\n`;// ---------------------------------------------------------------------------\n// Component\n// ---------------------------------------------------------------------------\nexport default function FeaturePageFooter({page=\"training\"}){const explorePages=Object.keys(featurePages).filter(p=>p!==page);return /*#__PURE__*/_jsxs(\"div\",{className:\"mxu-fpf-root\",children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(PricingHeroPlans,{variant:\"embedded\"}),/*#__PURE__*/_jsxs(\"section\",{className:\"mxu-fpf-explore\",children:[/*#__PURE__*/_jsx(\"h2\",{className:\"mxu-fpf-explore-h2\",children:\"Explore more MxU features\"}),/*#__PURE__*/_jsx(\"div\",{className:\"mxu-fpf-explore-grid\",children:explorePages.map(p=>{const fp=featurePages[p];return /*#__PURE__*/_jsxs(\"a\",{href:fp.href,className:\"mxu-fpf-explore-card\",children:[/*#__PURE__*/_jsx(\"img\",{src:fp.image,alt:fp.alt}),/*#__PURE__*/_jsx(\"div\",{className:\"mxu-fpf-explore-label\",children:fp.label})]},p);})})]})]});}addPropertyControls(FeaturePageFooter,{page:{type:ControlType.Enum,title:\"Page\",options:[\"training\",\"lms\",\"coaching\"],optionTitles:[\"Training\",\"LMS\",\"Coaching\"],defaultValue:\"training\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeaturePageFooter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FeaturePageFooter.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function MuxPlayer({playbackId=\"lLE9KBypj81016bxSIW6gm34cdDRWmEFfKYRWhij7iZ4\",poster=\"https://res.cloudinary.com/mxu/image/upload/c_scale,f_auto,q_auto:good,w_1920/marketing_homepage/coaching_lander_thumb_x6wjkn\",accentColor=\"#fff700\",borderRadius=48,maxWidth=1e3,borderColor=\"rgba(140,175,241,0.15)\",style}){const containerRef=useRef(null);const[scriptLoaded,setScriptLoaded]=useState(false);useEffect(()=>{if(document.querySelector('script[src*=\"mux-player\"]')){setScriptLoaded(true);return;}const script=document.createElement(\"script\");script.src=\"https://cdn.jsdelivr.net/npm/@mux/mux-player@3/dist/mux-player.js\";script.async=true;script.onload=()=>setScriptLoaded(true);document.head.appendChild(script);},[]);useEffect(()=>{if(!containerRef.current||!scriptLoaded)return;const el=containerRef.current;el.innerHTML=\"\";const player=document.createElement(\"mux-player\");player.setAttribute(\"playback-id\",playbackId);player.setAttribute(\"metadata-video-title\",\"MxU Video\");player.setAttribute(\"accent-color\",accentColor);player.setAttribute(\"poster\",poster);player.setAttribute(\"stream-type\",\"on-demand\");player.setAttribute(\"preload\",\"none\");player.style.width=\"100%\";player.style.aspectRatio=\"16/9\";player.style.display=\"block\";player.style.borderRadius=\"0\";el.appendChild(player);},[playbackId,poster,accentColor,scriptLoaded]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:maxWidth,margin:\"0 auto\",...style},children:/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",aspectRatio:\"16/9\",backgroundColor:\"#000\",borderRadius:borderRadius,overflow:\"hidden\",border:`1px solid ${borderColor}`}})});}addPropertyControls(MuxPlayer,{playbackId:{type:ControlType.String,title:\"Playback ID\",defaultValue:\"lLE9KBypj81016bxSIW6gm34cdDRWmEFfKYRWhij7iZ4\"},poster:{type:ControlType.String,title:\"Poster URL\",defaultValue:\"https://res.cloudinary.com/mxu/image/upload/c_scale,f_auto,q_auto:good,w_1920/marketing_homepage/coaching_lander_thumb_x6wjkn\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#fff700\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:48,min:0,max:96,step:1},maxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:1e3,min:300,max:1440,step:10},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"rgba(140,175,241,0.15)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\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