{"version":3,"file":"SegmentVariantController.BXligKZ7.mjs","names":["useMemo","useMemo","useMemo","useRef","useCallback","useState","useMemo","SEGMENT_EVENT_NAME","React.useMemo","React.useState","React.useRef","React.useId","React.useCallback","React.useLayoutEffect","React.useEffect","useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js","https:/framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js","https:/framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js","https:/framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js","https:/framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js","https:/framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js","https:/framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js","https:/framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js","https:/framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js","https:/framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js","https:/framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js","https:/framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js","https:/framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js","https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/7qT0r3So12155VV5Jq5x/Video.js","https:/framerusercontent.com/modules/iO1k30GzM8GSHYuQS3AN/k0wkFTs69L4yNcElO2V6/Segemnted_controls_1.js","https:/framerusercontent.com/modules/P66Ya4XDowbs5s2O8nAT/aSts6mTTQrSY97fFbI30/SegmentVariantController.js"],"sourcesContent":["import { ControlType } from \"framer\";\nexport const fontStack = `\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;\nexport const containerStyles = {\n    position: \"relative\",\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(136, 85, 255, 0.3)\",\n    color: \"#85F\",\n    border: \"1px dashed #85F\",\n    flexDirection: \"column\"\n};\nexport const defaultEvents = {\n    onClick: {\n        type: ControlType.EventHandler\n    },\n    onMouseEnter: {\n        type: ControlType.EventHandler\n    },\n    onMouseLeave: {\n        type: ControlType.EventHandler\n    }\n};\nexport const fontSizeOptions = {\n    type: ControlType.Number,\n    title: \"Font Size\",\n    min: 2,\n    max: 200,\n    step: 1,\n    displayStepper: true\n};\nexport const fontControls = {\n    font: {\n        type: ControlType.Boolean,\n        title: \"Font\",\n        defaultValue: false,\n        disabledTitle: \"Default\",\n        enabledTitle: \"Custom\"\n    },\n    fontFamily: {\n        type: ControlType.String,\n        title: \"Family\",\n        placeholder: \"Inter\",\n        hidden: ({ font  })=>!font\n    },\n    fontWeight: {\n        type: ControlType.Enum,\n        title: \"Weight\",\n        options: [\n            100,\n            200,\n            300,\n            400,\n            500,\n            600,\n            700,\n            800,\n            900\n        ],\n        optionTitles: [\n            \"Thin\",\n            \"Extra-light\",\n            \"Light\",\n            \"Regular\",\n            \"Medium\",\n            \"Semi-bold\",\n            \"Bold\",\n            \"Extra-bold\",\n            \"Black\", \n        ],\n        hidden: ({ font  })=>!font\n    }\n};\n// @TODO check if we're missing anything here — there doesn't seem to be a reliable browser API for this\nexport const localeOptions = {\n    af: \"Afrikaans\",\n    sq: \"Albanian\",\n    an: \"Aragonese\",\n    ar: \"Arabic (Standard)\",\n    \"ar-dz\": \"Arabic (Algeria)\",\n    \"ar-bh\": \"Arabic (Bahrain)\",\n    \"ar-eg\": \"Arabic (Egypt)\",\n    \"ar-iq\": \"Arabic (Iraq)\",\n    \"ar-jo\": \"Arabic (Jordan)\",\n    \"ar-kw\": \"Arabic (Kuwait)\",\n    \"ar-lb\": \"Arabic (Lebanon)\",\n    \"ar-ly\": \"Arabic (Libya)\",\n    \"ar-ma\": \"Arabic (Morocco)\",\n    \"ar-om\": \"Arabic (Oman)\",\n    \"ar-qa\": \"Arabic (Qatar)\",\n    \"ar-sa\": \"Arabic (Saudi Arabia)\",\n    \"ar-sy\": \"Arabic (Syria)\",\n    \"ar-tn\": \"Arabic (Tunisia)\",\n    \"ar-ae\": \"Arabic (U.A.E.)\",\n    \"ar-ye\": \"Arabic (Yemen)\",\n    hy: \"Armenian\",\n    as: \"Assamese\",\n    ast: \"Asturian\",\n    az: \"Azerbaijani\",\n    eu: \"Basque\",\n    bg: \"Bulgarian\",\n    be: \"Belarusian\",\n    bn: \"Bengali\",\n    bs: \"Bosnian\",\n    br: \"Breton\",\n    my: \"Burmese\",\n    ca: \"Catalan\",\n    ch: \"Chamorro\",\n    ce: \"Chechen\",\n    zh: \"Chinese\",\n    \"zh-hk\": \"Chinese (Hong Kong)\",\n    \"zh-cn\": \"Chinese (PRC)\",\n    \"zh-sg\": \"Chinese (Singapore)\",\n    \"zh-tw\": \"Chinese (Taiwan)\",\n    cv: \"Chuvash\",\n    co: \"Corsican\",\n    cr: \"Cree\",\n    hr: \"Croatian\",\n    cs: \"Czech\",\n    da: \"Danish\",\n    nl: \"Dutch (Standard)\",\n    \"nl-be\": \"Dutch (Belgian)\",\n    en: \"English\",\n    \"en-au\": \"English (Australia)\",\n    \"en-bz\": \"English (Belize)\",\n    \"en-ca\": \"English (Canada)\",\n    \"en-ie\": \"English (Ireland)\",\n    \"en-jm\": \"English (Jamaica)\",\n    \"en-nz\": \"English (New Zealand)\",\n    \"en-ph\": \"English (Philippines)\",\n    \"en-za\": \"English (South Africa)\",\n    \"en-tt\": \"English (Trinidad & Tobago)\",\n    \"en-gb\": \"English (United Kingdom)\",\n    \"en-us\": \"English (United States)\",\n    \"en-zw\": \"English (Zimbabwe)\",\n    eo: \"Esperanto\",\n    et: \"Estonian\",\n    fo: \"Faeroese\",\n    fa: \"Farsi\",\n    fj: \"Fijian\",\n    fi: \"Finnish\",\n    fr: \"French (Standard)\",\n    \"fr-be\": \"French (Belgium)\",\n    \"fr-ca\": \"French (Canada)\",\n    \"fr-fr\": \"French (France)\",\n    \"fr-lu\": \"French (Luxembourg)\",\n    \"fr-mc\": \"French (Monaco)\",\n    \"fr-ch\": \"French (Switzerland)\",\n    fy: \"Frisian\",\n    fur: \"Friulian\",\n    gd: \"Gaelic (Scots)\",\n    \"gd-ie\": \"Gaelic (Irish)\",\n    gl: \"Galacian\",\n    ka: \"Georgian\",\n    de: \"German (Standard)\",\n    \"de-at\": \"German (Austria)\",\n    \"de-de\": \"German (Germany)\",\n    \"de-li\": \"German (Liechtenstein)\",\n    \"de-lu\": \"German (Luxembourg)\",\n    \"de-ch\": \"German (Switzerland)\",\n    el: \"Greek\",\n    gu: \"Gujurati\",\n    ht: \"Haitian\",\n    he: \"Hebrew\",\n    hi: \"Hindi\",\n    hu: \"Hungarian\",\n    is: \"Icelandic\",\n    id: \"Indonesian\",\n    iu: \"Inuktitut\",\n    ga: \"Irish\",\n    it: \"Italian (Standard)\",\n    \"it-ch\": \"Italian (Switzerland)\",\n    ja: \"Japanese\",\n    kn: \"Kannada\",\n    ks: \"Kashmiri\",\n    kk: \"Kazakh\",\n    km: \"Khmer\",\n    ky: \"Kirghiz\",\n    tlh: \"Klingon\",\n    ko: \"Korean\",\n    \"ko-kp\": \"Korean (North Korea)\",\n    \"ko-kr\": \"Korean (South Korea)\",\n    la: \"Latin\",\n    lv: \"Latvian\",\n    lt: \"Lithuanian\",\n    lb: \"Luxembourgish\",\n    mk: \"FYRO Macedonian\",\n    ms: \"Malay\",\n    ml: \"Malayalam\",\n    mt: \"Maltese\",\n    mi: \"Maori\",\n    mr: \"Marathi\",\n    mo: \"Moldavian\",\n    nv: \"Navajo\",\n    ng: \"Ndonga\",\n    ne: \"Nepali\",\n    no: \"Norwegian\",\n    nb: \"Norwegian (Bokmal)\",\n    nn: \"Norwegian (Nynorsk)\",\n    oc: \"Occitan\",\n    or: \"Oriya\",\n    om: \"Oromo\",\n    \"fa-ir\": \"Persian/Iran\",\n    pl: \"Polish\",\n    pt: \"Portuguese\",\n    \"pt-br\": \"Portuguese (Brazil)\",\n    pa: \"Punjabi\",\n    \"pa-in\": \"Punjabi (India)\",\n    \"pa-pk\": \"Punjabi (Pakistan)\",\n    qu: \"Quechua\",\n    rm: \"Rhaeto-Romanic\",\n    ro: \"Romanian\",\n    \"ro-mo\": \"Romanian (Moldavia)\",\n    ru: \"Russian\",\n    \"ru-mo\": \"Russian (Moldavia)\",\n    sz: \"Sami (Lappish)\",\n    sg: \"Sango\",\n    sa: \"Sanskrit\",\n    sc: \"Sardinian\",\n    sd: \"Sindhi\",\n    si: \"Singhalese\",\n    sr: \"Serbian\",\n    sk: \"Slovak\",\n    sl: \"Slovenian\",\n    so: \"Somani\",\n    sb: \"Sorbian\",\n    es: \"Spanish\",\n    \"es-ar\": \"Spanish (Argentina)\",\n    \"es-bo\": \"Spanish (Bolivia)\",\n    \"es-cl\": \"Spanish (Chile)\",\n    \"es-co\": \"Spanish (Colombia)\",\n    \"es-cr\": \"Spanish (Costa Rica)\",\n    \"es-do\": \"Spanish (Dominican Republic)\",\n    \"es-ec\": \"Spanish (Ecuador)\",\n    \"es-sv\": \"Spanish (El Salvador)\",\n    \"es-gt\": \"Spanish (Guatemala)\",\n    \"es-hn\": \"Spanish (Honduras)\",\n    \"es-mx\": \"Spanish (Mexico)\",\n    \"es-ni\": \"Spanish (Nicaragua)\",\n    \"es-pa\": \"Spanish (Panama)\",\n    \"es-py\": \"Spanish (Paraguay)\",\n    \"es-pe\": \"Spanish (Peru)\",\n    \"es-pr\": \"Spanish (Puerto Rico)\",\n    \"es-es\": \"Spanish (Spain)\",\n    \"es-uy\": \"Spanish (Uruguay)\",\n    \"es-ve\": \"Spanish (Venezuela)\",\n    sx: \"Sutu\",\n    sw: \"Swahili\",\n    sv: \"Swedish\",\n    \"sv-fi\": \"Swedish (Finland)\",\n    \"sv-sv\": \"Swedish (Sweden)\",\n    ta: \"Tamil\",\n    tt: \"Tatar\",\n    te: \"Teluga\",\n    th: \"Thai\",\n    tig: \"Tigre\",\n    ts: \"Tsonga\",\n    tn: \"Tswana\",\n    tr: \"Turkish\",\n    tk: \"Turkmen\",\n    uk: \"Ukrainian\",\n    hsb: \"Upper Sorbian\",\n    ur: \"Urdu\",\n    ve: \"Venda\",\n    vi: \"Vietnamese\",\n    vo: \"Volapuk\",\n    wa: \"Walloon\",\n    cy: \"Welsh\",\n    xh: \"Xhosa\",\n    ji: \"Yiddish\",\n    zu: \"Zulu\"\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./constants.map","import { useIsInCurrentNavigationTarget } from \"framer\";\nimport { useEffect } from \"react\";\nexport function useOnEnter(onEnter, enabled) {\n    return useOnSpecificTargetChange(true, onEnter, enabled);\n}\nexport function useOnExit(onExit, enabled) {\n    return useOnSpecificTargetChange(false, onExit, enabled);\n}\nfunction useOnSpecificTargetChange(goal, callback, enabled = true) {\n    const isInTarget = useIsInCurrentNavigationTarget();\n    useEffect(()=>{\n        if (enabled && isInTarget === goal) callback();\n    }, [\n        isInTarget\n    ]);\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useOnEnter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnNavigationTargetChange.map","import { useRef } from \"react\";\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */ export function useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useConstant.map","import { Color } from \"framer\";\nexport function colorFromToken(color) {\n    if (color.startsWith(\"var(--token-\")) return \"rgb\" + color.split(\") /*\")[0].split(\", rgb\")[1];\n    return color;\n}\nexport function colorTokentoValue(color) {\n    return Color(colorFromToken(color)).toValue();\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"colorFromToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./colorFromToken.map","import { MotionValue } from \"framer\";\nexport const isMotionValue = (v)=>v instanceof MotionValue\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isMotionValue.map","import * as React from \"react\";\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\nconst l = ()=>letters[Math.floor(Math.random() * letters.length)]\n;\nexport const randomID = ()=>l() + l() + l() + l() + l() + l() + l() + l() + l()\n;\nfunction createUniqueClass(suffix) {\n    return `framer-${suffix}-${randomID()}`;\n}\nexport function useUniqueClassName(suffix, deps) {\n    const [className, setClassName] = React.useState(createUniqueClass(suffix));\n    React.useEffect(()=>{\n        setClassName(createUniqueClass(suffix));\n    }, [\n        suffix,\n        ...deps\n    ]);\n    return className;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useUniqueClassName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useUniqueClassName.map","import { ControlType } from \"framer\";\n// I realize this only applies to select right now\n// but we can work on it in here\nexport function getVariantControls(Component, variant, additionalControls = {\n}) {\n    return {\n        [`${variant}TextColor`]: {\n            type: ControlType.Color,\n            title: \"Text Color\",\n            defaultValue: Component.defaultProps[`${variant}TextColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}IconColor`]: {\n            type: ControlType.Color,\n            title: \"Icon Color\",\n            defaultValue: Component.defaultProps[`${variant}IconColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BackgroundColor`]: {\n            type: ControlType.Color,\n            title: \"Bg Color\",\n            defaultValue: Component.defaultProps[`${variant}BackgroundColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderColor`]: {\n            type: ControlType.Color,\n            title: \"Border Color\",\n            defaultValue: Component.defaultProps[`${variant}BorderColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderWidth`]: {\n            type: ControlType.Number,\n            title: \" \",\n            min: 0,\n            max: 5,\n            displayStepper: true,\n            defaultValue: Component.defaultProps[`${variant}BorderWidth`],\n            hidden: (props)=>props.variant !== variant\n        },\n        ...additionalControls\n    };\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./variantUtils.map","import { useMemo } from \"react\";\nexport const isBrowserSafari = ()=>{\n    if (typeof navigator !== `undefined`) {\n        const userAgent = navigator.userAgent.toLowerCase();\n        const isSafari = (userAgent.indexOf(\"safari\") > -1 || userAgent.indexOf(\"framermobile\") > -1 || userAgent.indexOf(\"framerx\") > -1) && userAgent.indexOf(\"chrome\") < 0;\n        return isSafari;\n    } else return false;\n};\nexport const useIsBrowserSafari = ()=>useMemo(()=>isBrowserSafari()\n    , [])\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isBrowser.map","import { useEffect } from \"react\";\n//@ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\nexport function useOnChange(value, callback) {\n    useEffect(()=>// @ts-ignore this should be detected as a MV :shrug:\n        isMotionValue(value) ? value.onChange(callback) : undefined\n    );\n}\nexport function useMultiOnChange(values, handler) {\n    useEffect(()=>{\n        const subscriptions = values.map((value)=>value.onChange(handler)\n        );\n        return ()=>subscriptions.forEach((unsubscribe)=>unsubscribe()\n            )\n        ;\n    });\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"Subscriber\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnChange.map","import { useCallback, useEffect, useRef } from \"react\";\nimport { motionValue, animate, RenderTarget } from \"framer\";\n// @ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\n// @ts-ignore\nimport { useConstant } from \"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";\nexport function useAutoMotionValue(inputValue, options) {\n    var ref;\n    // Put options on a local ref\n    // Might wanna just memo instead but it works for now\n    const optionsRef = useRef(options);\n    const animation = useRef();\n    const didInitialMount = useRef(false);\n    const isOnCanvas = RenderTarget.current() === RenderTarget.canvas;\n    // in-progress - trying to figure out effect hooks\n    const onChangeDeps = (options === null || options === void 0 ? void 0 : options.onChangeDeps) ? options.onChangeDeps : [];\n    // Memoize the onChange handler\n    const onChange = useCallback(options === null || options === void 0 ? void 0 : options.onChange, [\n        ...onChangeDeps, \n    ]);\n    // Optionally scale the value from props\n    const transformer = useCallback((value)=>((ref = optionsRef.current) === null || ref === void 0 ? void 0 : ref.transform) ? optionsRef.current.transform(value) : value\n    , []);\n    // Create new MotionValue from inputValue\n    const value = useConstant(()=>isMotionValue(inputValue) ? inputValue : motionValue(transformer(inputValue))\n    );\n    // Setting value from prop change\n    useEffect(()=>{\n        if (!isMotionValue(inputValue) && didInitialMount.current) {\n            var ref1, ref2;\n            const newValue = transformer(inputValue);\n            (ref1 = animation.current) === null || ref1 === void 0 ? void 0 : ref1.stop();\n            // Call change callback\n            if (onChange) onChange(newValue, value);\n            // Trigger animation to new value\n            if (((ref2 = optionsRef.current) === null || ref2 === void 0 ? void 0 : ref2.animate) && !isOnCanvas) {\n                var ref3;\n                // @ts-ignore\n                animation.current = animate(value, newValue, (ref3 = optionsRef.current) === null || ref3 === void 0 ? void 0 : ref3.transition);\n            } else {\n                value.set(newValue);\n            }\n        }\n        didInitialMount.current = true;\n    }, [\n        inputValue,\n        ...onChangeDeps\n    ]);\n    return value;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","// @ts-ignore\nimport{fontStore}from\"framer\";import{useEffect}from\"react\";import{fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";const fontWeights={100:\"Thin\",200:\"Extra-light\",300:\"Light\",400:\"Regular\",500:\"Medium\",600:\"Semi-bold\",700:\"Bold\",800:\"Extra-bold\",900:\"Black\"};export function useFontControls(props){const{fontFamily=\"Inter\",fontSize=16,fontWeight=400,font=false}=props;const fontWeightName=fontWeights[fontWeight];const customFontStack=`\"${fontFamily} ${fontWeightName}\", \"${fontFamily}\", ${fontStack}`;const fontFamilyStyle=fontFamily?{fontSize,fontWeight,fontFamily:customFontStack}:{fontSize,fontWeight};const fetchCustomFonts=async()=>{await fontStore.loadWebFontsFromSelectors([`CUSTOM;${fontFamily}`,`CUSTOM;${fontFamily} ${fontWeightName}`,`GF;${fontFamily}-${fontWeightName.toLowerCase()}`,]).catch(e=>console.error(e));};useEffect(()=>{if(font)fetchCustomFonts();},[font,fontFamily,fontWeight]);return fontFamilyStyle;}\nexport const __FramerMetadata__ = {\"exports\":{\"useFontControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useFontControls.map","import { useMemo } from \"react\";\nimport { RenderTarget } from \"framer\";\nexport function useRenderTarget() {\n    const currentRenderTarget = useMemo(()=>RenderTarget.current()\n    , []);\n    return currentRenderTarget;\n}\nexport function useIsInPreview() {\n    const inPreview = useMemo(()=>RenderTarget.current() === RenderTarget.preview\n    , []);\n    return inPreview;\n}\nexport function useIsOnCanvas() {\n    const onCanvas = useMemo(()=>RenderTarget.current() === RenderTarget.canvas\n    , []);\n    return onCanvas;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsInPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useRenderTarget.map","import * as React from \"react\";\nexport function useControlledState(value) {\n    const [controlledValue, setValue] = React.useState(value);\n    React.useEffect(()=>{\n        setValue(value);\n    }, [\n        value\n    ]);\n    return [\n        controlledValue,\n        setValue\n    ];\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useControlledState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useControlledState.map","import { useMemo } from \"react\";\nimport { ControlType } from \"framer\";\nexport function useRadius(props) {\n    const { borderRadius , isMixedBorderRadius , topLeftRadius , topRightRadius , bottomRightRadius , bottomLeftRadius ,  } = props;\n    const radiusValue = useMemo(()=>isMixedBorderRadius ? `${topLeftRadius}px ${topRightRadius}px ${bottomRightRadius}px ${bottomLeftRadius}px` : `${borderRadius}px`\n    , [\n        borderRadius,\n        isMixedBorderRadius,\n        topLeftRadius,\n        topRightRadius,\n        bottomRightRadius,\n        bottomLeftRadius, \n    ]);\n    return radiusValue;\n}\nexport const borderRadiusControl = {\n    borderRadius: {\n        title: \"Radius\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"isMixedBorderRadius\",\n        toggleTitles: [\n            \"Radius\",\n            \"Radius per corner\"\n        ],\n        valueKeys: [\n            \"topLeftRadius\",\n            \"topRightRadius\",\n            \"bottomRightRadius\",\n            \"bottomLeftRadius\", \n        ],\n        valueLabels: [\n            \"TL\",\n            \"TR\",\n            \"BR\",\n            \"BL\"\n        ],\n        min: 0\n    }\n};\nexport function usePadding(props) {\n    const { padding , paddingPerSide , paddingTop , paddingRight , paddingBottom , paddingLeft ,  } = props;\n    const paddingValue = useMemo(()=>paddingPerSide ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : padding\n    , [\n        padding,\n        paddingPerSide,\n        paddingTop,\n        paddingRight,\n        paddingBottom,\n        paddingLeft, \n    ]);\n    return paddingValue;\n}\nexport const paddingControl = {\n    padding: {\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\n            \"Padding\",\n            \"Padding per side\"\n        ],\n        valueKeys: [\n            \"paddingTop\",\n            \"paddingRight\",\n            \"paddingBottom\",\n            \"paddingLeft\", \n        ],\n        valueLabels: [\n            \"T\",\n            \"R\",\n            \"B\",\n            \"L\"\n        ],\n        min: 0,\n        title: \"Padding\"\n    }\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RadiusProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PaddingProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./propUtils.map","import{defaultEvents,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";import{useOnEnter,useOnExit}from\"https://framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";import{colorTokentoValue,colorFromToken}from\"https://framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";import{useUniqueClassName,randomID}from\"https://framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js\";import{getVariantControls}from\"https://framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js\";import{useIsBrowserSafari}from\"https://framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js\";import{useMultiOnChange,useOnChange}from\"https://framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js\";import{mstoMinAndSec,secondsToMinutes}from\"https://framerusercontent.com/modules/4zHZnO5JojN1PrIbu2jm/revv9QCWpkh8lPzi2jje/time.js\";import{useAutoMotionValue}from\"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js\";import{useFontControls}from\"https://framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js\";import{useRenderTarget,useIsInPreview,useIsOnCanvas}from\"https://framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js\";import{useControlledState}from\"https://framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js\";import{usePadding,useRadius,paddingControl,borderRadiusControl}from\"https://framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js\";import{detectAutoSizingAxis}from\"https://framerusercontent.com/modules/8CkHAZatUz1UR8jNTcfD/HwbnIAZlUmQ2oTpcLkaH/detectAutoSizingAxis.js\";export{useOnEnter,useOnExit,defaultEvents,isMotionValue,colorFromToken,colorTokentoValue,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack,useUniqueClassName,getVariantControls,useIsBrowserSafari,randomID,useConstant,useMultiOnChange,useOnChange,usePadding,useRadius,paddingControl,borderRadiusControl,mstoMinAndSec,useFontControls,secondsToMinutes,useAutoMotionValue,useRenderTarget,useIsInPreview,useControlledState,detectAutoSizingAxis,useIsOnCanvas,};\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useUniqueClassName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getVariantControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorFromToken\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useControlledState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAutoMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsInPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"detectAutoSizingAxis\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mstoMinAndSec\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnEnter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secondsToMinutes\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsInCurrentNavigationTarget,RenderTarget}from\"framer\";import{isMotionValue,useInView}from\"framer-motion\";import{borderRadiusControl,defaultEvents,useIsBrowserSafari,useIsOnCanvas,useOnEnter,useOnExit,useRadius,useRenderTarget}from\"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\";// https://framer.com/m/framer/default-utils.js@^0.45.0\nimport{memo,useCallback,useEffect,useMemo,useRef,useState}from\"react\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const defaultVideo=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\";// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export function Video(props){const newProps=getProps(props);return /*#__PURE__*/_jsx(VideoMemo,{...newProps});}function usePlaybackControls(videoRef){const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const requestingPlay=useRef(false);const isPlayingRef=useRef(false);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const video=videoRef.current;if(!video)return;video.preload=\"auto\"// makes sure browsers don't throttle: https://html.spec.whatwg.org/multipage/media.html#:~:text=When%20the%20media%20resource%20is%20playing%2C%20hints%20to%20the%20user%20agent%20that%20bandwidth%20is%20to%20be%20considered%20scarce%2C%20e.g.%20suggesting%20throttling%20the%20download%20so%20that%20the%20media%20data%20is%20obtained%20at%20the%20slowest%20possible%20rate%20that%20still%20maintains%20consistent%20playback.\n;const isPlaying=video.currentTime>0&&video.onplaying&&!video.paused&&!video.ended&&video.readyState>=video.HAVE_CURRENT_DATA;if(!isPlaying&&video&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;isPlayingRef.current=true;video.play().catch(e=>{})// It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();isPlayingRef.current=false;},[]);return{play,pause,setProgress,isPlaying:isPlayingRef};}function useAutoplayBehavior({playingProp,muted,loop,playsinline,controls}){const[initialPlayingProp]=useState(()=>playingProp);const[hasPlayingPropChanged,setHasPlayingPropChanged]=useState(false);if(playingProp!==initialPlayingProp&&!hasPlayingPropChanged){setHasPlayingPropChanged(true);}const behavesAsGif=// passing `playing === true` on mount indicates that the video should\n// autoplay, like a GIF\ninitialPlayingProp&&muted&&loop&&playsinline&&!controls&&// Some users of the <Video> component use it by wrapping it with\n// another smart component and adding their own controls on top. (The\n// controls use transitions to control the video: e.g., when clicking\n// the play button, the smart component will transition to a state with\n// <Video playing={true} />.) In this case, we don't want the video to\n// behave as a gif, as it will be weird if the video suddenly started\n// acting as such (and auto-pausing when leaving the viewport) as soon\n// as the site visitor mutes it and clicks “Play”.\n!hasPlayingPropChanged;let autoplay;if(behavesAsGif)autoplay=\"on-viewport\";else if(initialPlayingProp)autoplay=\"on-mount\";else autoplay=\"no-autoplay\";return autoplay;}const VideoMemo=/*#__PURE__*/memo(function VideoInner(props){const{// default props\nsrcType=\"URL\",srcUrl,srcFile=\"\",posterEnabled=false,controls=false,playing=true,loop=true,muted=true,playsinline=true,restartOnEnter=false,objectFit=\"cover\",backgroundColor=\"rgba(0,0,0,0)\",radius=0,volume=25,startTime:startTimeProp=0,poster,playing:playingProp,progress,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp}=props;const videoRef=useRef();const isSafari=useIsBrowserSafari();const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const renderTarget=useRenderTarget();const isStaticRenderer=isOnCanvas||renderTarget===RenderTarget.export;const borderRadius=useRadius(props);// Hard-coding `autoplayBehavior` and `isInViewport` when on canvas as a\n// tiny perf optimization. isStaticRenderer won’t change through the lifecycle of\n// the component, so using these hooks conditionally should be safe\nconst autoplayBehavior=isStaticRenderer?\"no-autoplay\":useAutoplayBehavior({playingProp,muted,loop,playsinline,controls});const isInViewport=isStaticRenderer?true:useInView(videoRef);const isCloseToViewport=isStaticRenderer?false:useInView(videoRef,{margin:\"10%\",once:true});// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const{play,pause,setProgress,isPlaying}=usePlaybackControls(videoRef);// Pause/play via props\nuseEffect(()=>{if(isStaticRenderer)return;if(autoplayBehavior===\"on-viewport\")return;if(playingProp)play();else pause();},[autoplayBehavior,playingProp]);// Pause/play via viewport\nuseEffect(()=>{if(isStaticRenderer)return;// this also explicitly retries playing for videos that play on-mount, which could fail if they're not muted for example\nif(isInViewport&&playingProp&&autoplayBehavior!==\"no-autoplay\")play();if(autoplayBehavior!==\"on-viewport\")return;pause();},[autoplayBehavior,isInViewport,playingProp]);useEffect(()=>{if(!isOnCanvas||poster||posterEnabled||startTime||!videoRef.current)return;// forces a poster to show up when the video is in an iframe; this is needed when `poster` changes\nvideoRef.current.currentTime=.01;},[posterEnabled,poster,startTime]);/**\n     * The Video component has some effects that sync the video element with props\n     * like `startTime`, `progress`, etc. React calls these effects whenever these\n     * props change. However, it also calls them on the first mount, and this is\n     * troublesome – if we’re doing SSR, and the user changed the video state before\n     * the video was hydrated, the initial `useEffect` call will reset the video\n     * state. To avoid this, we use this flag.\n     */const isMountedAndReadyForProgressChanges=useRef(false);// Allow scrubbling via progress prop\n// 1) Handle cases when the progress prop itself changes\nuseEffect(()=>{if(!isMountedAndReadyForProgressChanges.current){isMountedAndReadyForProgressChanges.current=true;return;}const rawProgressValue=isMotionValue(progress)?progress.get():(progress??0)*.01;setProgress(// When the progress value exists (e.g. <Video startTime={10}\n// progress={50} />), we respect the `progress` value over\n// `startTime`, even if `startTime` changes. That’s because\n// `startTime` == start == changing it shouldn’t affect the current\n// progress\n(rawProgressValue??0)||// Then why fall back to `startTime` when `progress` doesn’t exist,\n// you might ask? Now, that’s for\n// - canvas UX: we want the video progress to change when the user\n//   is scrobbling the “Start Time” in component settings.\n// - backwards compatibility: maybe some users *are* scrobbling\n//   using `startTime` instead of `progress`? We don’t know, and it\n//   always supported it, so let’s not break it\n(startTime??0)/100);},[startTime,srcFile,srcUrl,progress]);// 2) Handle cases when the motion value inside the progress prop changes\nuseEffect(()=>{if(!isMotionValue(progress))return;return progress.on(\"change\",value=>setProgress(value));},[progress]);// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isStaticRenderer\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===\"URL\")return srcUrl+fragment;if(srcType===\"Upload\")return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoplayBehavior===\"on-mount\"){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=(volume??0)/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{const video=videoRef.current;if(!video)return;if(video.currentTime<.3&&startTime>0)setProgress((startTime??0)*.01);if(// when the component updates (e.g. only srcFile/url changes), and the video was already playing, keep playing\nisPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport)play();};return /*#__PURE__*/_jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>onSeeked?.(e),onPause:e=>onPause?.(e),onPlay:e=>onPlay?.(e),onEnded:e=>onEnd?.(e),autoPlay:isPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport,preload:isPlaying.current?\"auto\":isStaticRenderer&&!poster?\"metadata\":autoplayBehavior!==\"on-mount\"&&!isCloseToViewport?\"none\":// `autoplay` overrides this too\n\"metadata\",poster:posterEnabled&&!srcFile&&srcUrl===defaultVideo?\"https://framerusercontent.com/images/5ILRvlYXf72kHSVHqpa3snGzjU.jpg\":posterEnabled&&poster?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isStaticRenderer?true:muted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";function capitalizeFirstLetter(value){return value.charAt(0).toUpperCase()+value.slice(1);}export function titleCase(value){const groups=value.match(/[A-Z]{2,}|[A-Z][a-z]+|[a-z]+|[A-Z]|\\d+/gu)||[];return groups.map(capitalizeFirstLetter).join(\" \");}const objectFitOptions=[\"cover\",\"fill\",\"contain\",\"scale-down\",\"none\"];addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"URL\",\"Upload\"]},srcUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",hidden(props){return props.srcType===\"Upload\";}},srcFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],hidden(props){return props.srcType===\"URL\";}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},...borderRadiusControl,posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\"Image\",hidden:({posterEnabled})=>!posterEnabled,description:\"We recommend adding a poster. [Learn more](https://www.framer.com/help/articles/how-are-videos-optimized-in-framer/).\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:objectFitOptions,optionTitles:objectFitOptions.map(titleCase)},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted,defaultValue:25},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"titleCase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","// /components/AppleSegmentedControl.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,animate,useMotionValue,useMotionTemplate,useReducedMotion}from\"framer-motion\";/**\n * AppleSegmentedControl\n * ------------------------------------------------------------------\n * Apple-style segmented control with sliding pill, overflow fades,\n * keyboard navigation, and ResizeObserver-based layout.\n *\n * Controlled/uncontrolled:\n *   - Pass `selectedIndex` + `onValueChange` for controlled use.\n *   - Pass only `selectedIndex` (no handler) and the component will\n *     resync to the prop but won't dispatch changes.\n *\n * Driving Framer variants from this component:\n *   The control broadcasts its state on `window` so a target component\n *   can be controlled by an override alone (no override needed on the\n *   segmented control itself). Two event phases:\n *\n *     \"mount\"  → fired once on mount with the initial selection.\n *                Targets should IGNORE this phase if they have an\n *                intro animation sequence to play.\n *     \"change\" → fired on every user-driven selection change. This\n *                is the signal for a target to take control.\n *\n *   Event name:   \"apple-segmented-control:change\"\n *   Event detail: { group, phase, index, value, segments }\n *   Cache:        window.__appleSegmentedControlState[group] = detail\n *                 (the latest detail, so late-mounting targets can recover)\n *\n *   Set the `group` prop to identify this control. Pair the same group\n *   string on the target's override.\n *\n * Data attributes:\n *   data-component=\"apple-segmented-control\"\n *   data-group, data-selected-index, data-selected-value\n *\n * Accessibility:\n *   - Real radio inputs in a radiogroup; full keyboard support\n *     (Arrow/Home/End/Space/Enter).\n *   - Honors prefers-reduced-motion.\n * ------------------------------------------------------------------\n */const useIsomorphicLayoutEffect=typeof window!==\"undefined\"?React.useLayoutEffect:React.useEffect;const DEFAULT_SEGMENTS=[\"Calls and Texts\",\"Handoff\",\"iPhone Mirroring\",\"AirDrop\",\"Instant Hotspot\"];const DEFAULT_FONT={fontFamily:'\"SF Pro Text\", \"SF Pro\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif',fontSize:14,lineHeight:\"18px\",letterSpacing:\"-0.1px\",textAlign:\"center\"};const DEFAULT_TRANSITION={type:\"spring\",bounce:0,duration:.34};const REDUCED_MOTION_TRANSITION={duration:0};const TEXT_TRANSITION={duration:.15,ease:\"linear\"};const FADE_DISTANCE=64;// ---------------------------------------------------------------------------\n// Event broadcasting\n// ---------------------------------------------------------------------------\n// The control broadcasts state on window so a target component override\n// can react without needing an override on the control itself. The latest\n// detail per group is cached on window so late-mounting targets can recover.\nconst SEGMENT_EVENT_NAME=\"apple-segmented-control:change\";function dispatchSegmentChange(detail){if(typeof window===\"undefined\")return;if(!window.__appleSegmentedControlState){window.__appleSegmentedControlState=new Map;}window.__appleSegmentedControlState.set(detail.group,detail);window.dispatchEvent(new CustomEvent(SEGMENT_EVENT_NAME,{detail}));}function toCssLength(value,fallback){if(value===undefined||value===null||value===\"\")return fallback;return typeof value===\"number\"?`${value}px`:value;}function clamp(value,min,max){if(max<min)return min;return Math.min(Math.max(value,min),max);}function parseIndex(value){const n=Number(value);return Number.isFinite(n)?Math.floor(n):0;}function sanitizeSegments(segments){const cleaned=(segments??[]).map(String).map(value=>value.trim()).filter(Boolean);return cleaned.length>0?cleaned:DEFAULT_SEGMENTS;}const visuallyHiddenInputStyle={position:\"absolute\",width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0 0 0 0)\",whiteSpace:\"nowrap\",border:0};const Chevron=({direction,color})=>/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",focusable:\"false\",style:{transform:direction===\"right\"?\"rotate(180deg)\":\"none\",display:\"block\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M8.75 10.5L5.25 7L8.75 3.5\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 44\n */export default function AppleSegmentedControl({style,segments=DEFAULT_SEGMENTS,selectedIndex=0,onValueChange,interactive=true,transition=DEFAULT_TRANSITION,group=\"default\",ariaLabel=\"Segmented control\",height=44,trackColor=\"#1C1C1E\",pillColor=\"#3A3A3C\",activeTextColor=\"#FFFFFF\",inactiveTextColor=\"#8A8A8E\",arrowColor=\"#86868B\",pillShadow=\"0px 2px 8px rgba(0,0,0,0.12)\",trackPadding=4,gap=4,trackRadius=100,pillRadius=100,segmentPaddingX=16,minSegmentWidth=80,typography=DEFAULT_FONT,activeWeight=500,inactiveWeight=400,autoScrollSelectedIntoView=true}){const labels=React.useMemo(()=>sanitizeSegments(segments),[segments]);const labelsKey=React.useMemo(()=>labels.join(\"\\x01\"),[labels]);const controlledIndex=React.useMemo(()=>clamp(parseIndex(selectedIndex),0,labels.length-1),[selectedIndex,labels.length]);const[activeIndex,setActiveIndex]=React.useState(controlledIndex);const activeIndexRef=React.useRef(activeIndex);const[hasMounted,setHasMounted]=React.useState(false);const[keyboardFocusedIndex,setKeyboardFocusedIndex]=React.useState(null);const hadKeyboardEventRef=React.useRef(false);const[canScrollLeft,setCanScrollLeft]=React.useState(false);const[canScrollRight,setCanScrollRight]=React.useState(false);const canScrollLeftRef=React.useRef(false);const canScrollRightRef=React.useRef(false);const platterRef=React.useRef(null);const trackRef=React.useRef(null);const segmentRefs=React.useRef([]);const inputRefs=React.useRef([]);const animationsRef=React.useRef([]);const rafRef=React.useRef(null);const groupId=React.useId();const groupName=React.useMemo(()=>`apple-segmented-control-${groupId}`,[groupId]);// Respect prefers-reduced-motion for both pill movement and text crossfade.\nconst prefersReducedMotion=useReducedMotion();const effectiveTransition=prefersReducedMotion?REDUCED_MOTION_TRANSITION:transition;const effectiveTextTransition=prefersReducedMotion?REDUCED_MOTION_TRANSITION:TEXT_TRANSITION;const trackX=useMotionValue(0);const pillX=useMotionValue(0);const pillW=useMotionValue(0);const maxScroll=useMotionValue(0);const leftMaskAlpha=useMotionValue(1);const rightMaskAlpha=useMotionValue(1);const leftArrowOpacity=useMotionValue(0);const rightArrowOpacity=useMotionValue(0);React.useEffect(()=>{activeIndexRef.current=activeIndex;},[activeIndex]);React.useEffect(()=>{if(typeof window===\"undefined\")return;const keyboardKeys=new Set([\"Tab\",\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\",\"Home\",\"End\",\" \",\"Enter\"]);const handleGlobalKeyDown=event=>{if(keyboardKeys.has(event.key)){hadKeyboardEventRef.current=true;}};const handleGlobalPointerDown=()=>{hadKeyboardEventRef.current=false;setKeyboardFocusedIndex(null);};window.addEventListener(\"keydown\",handleGlobalKeyDown,true);window.addEventListener(\"pointerdown\",handleGlobalPointerDown,true);return()=>{window.removeEventListener(\"keydown\",handleGlobalKeyDown,true);window.removeEventListener(\"pointerdown\",handleGlobalPointerDown,true);};},[]);const stopAnimations=React.useCallback(()=>{animationsRef.current.forEach(controls=>controls.stop());animationsRef.current=[];},[]);const applyScrollState=React.useCallback((nextLeft,nextRight)=>{if(canScrollLeftRef.current!==nextLeft){canScrollLeftRef.current=nextLeft;setCanScrollLeft(nextLeft);}if(canScrollRightRef.current!==nextRight){canScrollRightRef.current=nextRight;setCanScrollRight(nextRight);}},[]);const updateFades=React.useCallback(()=>{const currentX=Math.abs(trackX.get());const maxS=maxScroll.get();if(maxS<=.5){leftArrowOpacity.set(0);rightArrowOpacity.set(0);leftMaskAlpha.set(1);rightMaskAlpha.set(1);applyScrollState(false,false);return;}const leftProgress=clamp(currentX/FADE_DISTANCE,0,1);const rightProgress=clamp((maxS-currentX)/FADE_DISTANCE,0,1);leftArrowOpacity.set(leftProgress);rightArrowOpacity.set(rightProgress);leftMaskAlpha.set(1-leftProgress);rightMaskAlpha.set(1-rightProgress);applyScrollState(currentX>.5,maxS-currentX>.5);},[trackX,maxScroll,leftArrowOpacity,rightArrowOpacity,leftMaskAlpha,rightMaskAlpha,applyScrollState]);useIsomorphicLayoutEffect(()=>{const unsubscribeX=trackX.on(\"change\",updateFades);const unsubscribeMax=maxScroll.on(\"change\",updateFades);updateFades();return()=>{unsubscribeX();unsubscribeMax();};},[trackX,maxScroll,updateFades]);const maskImage=useMotionTemplate`linear-gradient(to right,\n        rgba(0,0,0,${leftMaskAlpha}) 0px,\n        rgba(0,0,0,1) ${FADE_DISTANCE}px,\n        rgba(0,0,0,1) calc(100% - ${FADE_DISTANCE}px),\n        rgba(0,0,0,${rightMaskAlpha}) 100%)`;const measureAndApplyLayout=React.useCallback((index,immediate=false)=>{const platter=platterRef.current;const track=trackRef.current;const segment=segmentRefs.current[index];if(!platter||!track||!segment)return;const safePadding=Math.max(0,Number(trackPadding)||0);const platterWidth=Math.max(0,platter.getBoundingClientRect().width-safePadding*2);const trackWidth=track.getBoundingClientRect().width;const segmentLeft=segment.offsetLeft;const segmentWidth=segment.getBoundingClientRect().width;const segmentCenter=segmentLeft+segmentWidth/2;const maxSlide=Math.max(0,trackWidth-platterWidth);maxScroll.set(maxSlide);let nextTrackX=trackX.get();if(autoScrollSelectedIntoView){nextTrackX=-(segmentCenter-platterWidth/2);}nextTrackX=clamp(nextTrackX,-maxSlide,0);const nextPillX=segmentLeft+nextTrackX;const nextPillW=segmentWidth;stopAnimations();if(immediate){trackX.set(nextTrackX);pillX.set(nextPillX);pillW.set(nextPillW);updateFades();return;}const nextAnimations=[];if(trackX.get()!==nextTrackX){nextAnimations.push(animate(trackX,nextTrackX,effectiveTransition));}nextAnimations.push(animate(pillX,nextPillX,effectiveTransition));nextAnimations.push(animate(pillW,nextPillW,effectiveTransition));animationsRef.current=nextAnimations;},[autoScrollSelectedIntoView,maxScroll,pillW,pillX,stopAnimations,trackPadding,trackX,effectiveTransition,updateFades]);const scheduleMeasure=React.useCallback((index,immediate=false)=>{if(typeof window===\"undefined\")return;if(rafRef.current!==null){window.cancelAnimationFrame(rafRef.current);}rafRef.current=window.requestAnimationFrame(()=>{rafRef.current=null;measureAndApplyLayout(index,immediate);});},[measureAndApplyLayout]);const focusSegment=React.useCallback(index=>{inputRefs.current[index]?.focus();},[]);const markKeyboardInteraction=React.useCallback(()=>{hadKeyboardEventRef.current=true;},[]);const markPointerInteraction=React.useCallback(()=>{hadKeyboardEventRef.current=false;setKeyboardFocusedIndex(null);},[]);const handleInputFocus=React.useCallback(index=>{if(hadKeyboardEventRef.current){setKeyboardFocusedIndex(index);}},[]);const handleInputBlur=React.useCallback(index=>{setKeyboardFocusedIndex(current=>current===index?null:current);},[]);const selectIndex=React.useCallback(index=>{if(!interactive)return;const nextIndex=clamp(index,0,labels.length-1);// Don't re-dispatch when re-selecting the current segment.\n// Browser radios already skip onChange in this case; this guard\n// also covers keyboard Enter/Space on the active segment.\nif(nextIndex===activeIndexRef.current)return;const nextValue=labels[nextIndex];activeIndexRef.current=nextIndex;setActiveIndex(nextIndex);onValueChange?.(nextIndex,nextValue);// Broadcast a user-driven change. Target overrides listen for\n// this event (phase === \"change\") to take control of variants.\ndispatchSegmentChange({group,phase:\"change\",index:nextIndex,value:nextValue,segments:labels});},[interactive,labels,onValueChange,group]);const selectAndFocusIndex=React.useCallback(index=>{const nextIndex=clamp(index,0,labels.length-1);selectIndex(nextIndex);focusSegment(nextIndex);},[labels.length,selectIndex,focusSegment]);const slide=React.useCallback(direction=>{markPointerInteraction();selectAndFocusIndex(activeIndexRef.current+direction);},[selectAndFocusIndex,markPointerInteraction]);const handleSegmentKeyDown=React.useCallback((event,index)=>{if(!interactive)return;markKeyboardInteraction();let nextIndex=null;switch(event.key){case\"ArrowLeft\":case\"ArrowUp\":nextIndex=index-1;break;case\"ArrowRight\":case\"ArrowDown\":nextIndex=index+1;break;case\"Home\":nextIndex=0;break;case\"End\":nextIndex=labels.length-1;break;case\" \":case\"Enter\":event.preventDefault();selectIndex(index);setKeyboardFocusedIndex(index);return;default:return;}event.preventDefault();const clampedNextIndex=clamp(nextIndex,0,labels.length-1);selectAndFocusIndex(clampedNextIndex);setKeyboardFocusedIndex(clampedNextIndex);},[interactive,labels.length,selectIndex,selectAndFocusIndex,markKeyboardInteraction]);useIsomorphicLayoutEffect(()=>{scheduleMeasure(activeIndexRef.current,true);setHasMounted(true);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[]);// Broadcast the initial state once on mount. Target overrides that\n// listen for \"apple-segmented-control:change\" should ignore the\n// \"mount\" phase if they need an internal intro animation to play\n// before being externally controlled.\nReact.useEffect(()=>{dispatchSegmentChange({group,phase:\"mount\",index:activeIndexRef.current,value:labels[activeIndexRef.current]??\"\",segments:labels});// eslint-disable-next-line react-hooks/exhaustive-deps\n},[]);React.useEffect(()=>{activeIndexRef.current=controlledIndex;setActiveIndex(controlledIndex);},[controlledIndex]);useIsomorphicLayoutEffect(()=>{if(!hasMounted)return;scheduleMeasure(activeIndex,false);},[activeIndex,hasMounted,scheduleMeasure]);React.useEffect(()=>{segmentRefs.current=segmentRefs.current.slice(0,labels.length);inputRefs.current=inputRefs.current.slice(0,labels.length);setActiveIndex(current=>{const next=clamp(current,0,labels.length-1);activeIndexRef.current=next;return next;});},[labels.length]);useIsomorphicLayoutEffect(()=>{if(!hasMounted)return;scheduleMeasure(activeIndexRef.current,true);},[labelsKey,height,gap,minSegmentWidth,segmentPaddingX,typography,activeWeight,inactiveWeight,trackPadding,trackRadius,pillRadius,hasMounted,scheduleMeasure]);useIsomorphicLayoutEffect(()=>{if(typeof ResizeObserver===\"undefined\")return;const observer=new ResizeObserver(()=>{scheduleMeasure(activeIndexRef.current,true);});if(platterRef.current)observer.observe(platterRef.current);if(trackRef.current)observer.observe(trackRef.current);return()=>observer.disconnect();},[scheduleMeasure]);React.useEffect(()=>{if(typeof document===\"undefined\")return;const fonts=document.fonts;if(!fonts?.ready)return;let cancelled=false;fonts.ready.then(()=>{if(!cancelled){scheduleMeasure(activeIndexRef.current,true);}});return()=>{cancelled=true;};},[scheduleMeasure,typography]);React.useEffect(()=>{return()=>{stopAnimations();if(rafRef.current!==null&&typeof window!==\"undefined\"){window.cancelAnimationFrame(rafRef.current);}};},[stopAnimations]);const fontStyle=React.useMemo(()=>({fontFamily:typography?.fontFamily||DEFAULT_FONT.fontFamily,fontSize:toCssLength(typography?.fontSize,\"14px\"),lineHeight:toCssLength(typography?.lineHeight,\"18px\"),letterSpacing:toCssLength(typography?.letterSpacing,\"-0.1px\"),fontStyle:typography?.fontStyle||\"normal\",WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\"}),[typography]);const mergedStyle=React.useMemo(()=>({...style,width:\"100%\",height:height||style?.height,overflow:\"visible\"}),[style,height]);const innerRadius=Math.max(0,trackRadius-trackPadding);const textAlign=typography?.textAlign||\"center\";const textJustify=textAlign===\"left\"?\"flex-start\":textAlign===\"right\"?\"flex-end\":\"center\";const measurementWeight=Math.max(Number(activeWeight)||400,Number(inactiveWeight)||400);return /*#__PURE__*/_jsx(\"div\",{style:mergedStyle,\"data-component\":\"apple-segmented-control\",\"data-group\":group,\"data-selected-index\":activeIndex,\"data-selected-value\":labels[activeIndex]??\"\",children:/*#__PURE__*/_jsxs(\"div\",{ref:platterRef,role:\"radiogroup\",\"aria-label\":ariaLabel||\"Segmented control\",\"aria-orientation\":\"horizontal\",style:{position:\"relative\",width:\"100%\",height:\"100%\",background:trackColor,borderRadius:trackRadius,overflow:\"hidden\",boxSizing:\"border-box\",opacity:interactive?1:.55,filter:interactive?\"none\":\"saturate(0.8)\"},children:[/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",style:{position:\"absolute\",top:trackPadding,bottom:trackPadding,left:trackPadding,x:pillX,width:pillW,background:pillColor,borderRadius:pillRadius,boxShadow:pillShadow,pointerEvents:\"none\",zIndex:1}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:trackPadding,bottom:trackPadding,left:trackPadding,right:trackPadding,borderRadius:innerRadius,overflow:\"hidden\",WebkitMaskImage:maskImage,maskImage,zIndex:2},children:/*#__PURE__*/_jsx(motion.div,{ref:trackRef,style:{display:\"inline-flex\",flexDirection:\"row\",alignItems:\"stretch\",minWidth:\"100%\",width:\"max-content\",height:\"100%\",gap,x:trackX},children:labels.map((label,index)=>{const isActive=index===activeIndex;const isKeyboardFocused=keyboardFocusedIndex===index;return /*#__PURE__*/_jsxs(\"label\",{ref:element=>{segmentRefs.current[index]=element;},onPointerDown:markPointerInteraction,style:{position:\"relative\",flex:\"1 0 auto\",minWidth:minSegmentWidth,height:\"100%\",boxSizing:\"border-box\",margin:0,padding:`0 ${segmentPaddingX}px`,border:\"none\",outline:\"none\",background:\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:interactive?\"pointer\":\"default\",whiteSpace:\"nowrap\",zIndex:3,userSelect:\"none\",WebkitTapHighlightColor:\"transparent\",borderRadius:pillRadius,boxShadow:isKeyboardFocused&&interactive?\"inset 0 0 0 2px rgba(10, 132, 255, 0.95)\":\"none\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:element=>{inputRefs.current[index]=element;},type:\"radio\",name:groupName,value:String(index),checked:isActive,disabled:!interactive,\"aria-label\":label,onChange:()=>selectIndex(index),onKeyDown:event=>handleSegmentKeyDown(event,index),onFocus:()=>handleInputFocus(index),onBlur:()=>handleInputBlur(index),style:visuallyHiddenInputStyle}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...fontStyle,fontWeight:measurementWeight,visibility:\"hidden\",pointerEvents:\"none\",display:\"block\",whiteSpace:\"nowrap\"},children:label}),/*#__PURE__*/_jsx(motion.span,{\"aria-hidden\":\"true\",animate:{color:isActive?activeTextColor:inactiveTextColor,fontWeight:isActive?activeWeight:inactiveWeight},transition:effectiveTextTransition,style:{...fontStyle,position:\"absolute\",left:0,right:0,top:0,bottom:0,padding:`0 ${segmentPaddingX}px`,display:\"flex\",alignItems:\"center\",justifyContent:textJustify,pointerEvents:\"none\"},children:label})]},`${label}-${index}`);})})}),/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",style:{opacity:leftArrowOpacity,position:\"absolute\",left:trackPadding,top:trackPadding,bottom:trackPadding,width:32,display:\"flex\",alignItems:\"center\",paddingLeft:8,zIndex:4,pointerEvents:interactive&&canScrollLeft?\"auto\":\"none\"},children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",tabIndex:-1,\"aria-hidden\":\"true\",disabled:!interactive||!canScrollLeft,onClick:()=>slide(-1),style:{background:\"transparent\",border:\"none\",cursor:interactive&&canScrollLeft?\"pointer\":\"default\",padding:4,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:interactive?1:.5},children:/*#__PURE__*/_jsx(Chevron,{direction:\"left\",color:arrowColor})})}),/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",style:{opacity:rightArrowOpacity,position:\"absolute\",right:trackPadding,top:trackPadding,bottom:trackPadding,width:32,display:\"flex\",alignItems:\"center\",justifyContent:\"flex-end\",paddingRight:8,zIndex:4,pointerEvents:interactive&&canScrollRight?\"auto\":\"none\"},children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",tabIndex:-1,\"aria-hidden\":\"true\",disabled:!interactive||!canScrollRight,onClick:()=>slide(1),style:{background:\"transparent\",border:\"none\",cursor:interactive&&canScrollRight?\"pointer\":\"default\",padding:4,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:interactive?1:.5},children:/*#__PURE__*/_jsx(Chevron,{direction:\"right\",color:arrowColor})})})]})});}addPropertyControls(AppleSegmentedControl,{segments:{type:ControlType.Array,title:\"Segments\",defaultValue:DEFAULT_SEGMENTS,control:{type:ControlType.String,placeholder:\"Label\"}},selectedIndex:{type:ControlType.Number,title:\"Selected\",defaultValue:0,min:0,max:30,displayStepper:true},onValueChange:{type:ControlType.EventHandler},interactive:{type:ControlType.Boolean,title:\"Interactive\",defaultValue:true},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"Segmented control\"},group:{type:ControlType.String,title:\"Group\",defaultValue:\"default\",description:\"Group ID used by code overrides to identify this control. Match this exact string in the GROUP constant of your override file.\"},autoScrollSelectedIntoView:{type:ControlType.Boolean,title:\"Auto Scroll\",defaultValue:true},transition:{type:ControlType.Transition,title:\"Motion\",defaultValue:DEFAULT_TRANSITION},typography:{type:ControlType.Font,title:\"Typography\",defaultValue:DEFAULT_FONT,controls:\"extended\"},activeWeight:{type:ControlType.Number,title:\"Active Wt\",defaultValue:500,min:100,max:900,step:100},inactiveWeight:{type:ControlType.Number,title:\"Idle Wt\",defaultValue:400,min:100,max:900,step:100},height:{type:ControlType.Number,title:\"Height\",defaultValue:44,min:24,max:100,displayStepper:true},trackColor:{type:ControlType.Color,title:\"Track Color\",defaultValue:\"#1C1C1E\"},pillColor:{type:ControlType.Color,title:\"Pill Color\",defaultValue:\"#3A3A3C\"},activeTextColor:{type:ControlType.Color,title:\"Active Text\",defaultValue:\"#FFFFFF\"},inactiveTextColor:{type:ControlType.Color,title:\"Idle Text\",defaultValue:\"#8A8A8E\"},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#86868B\"},pillShadow:{type:ControlType.String,title:\"Shadow\",defaultValue:\"0px 2px 8px rgba(0,0,0,0.12)\"},trackPadding:{type:ControlType.Number,title:\"Track Pad\",defaultValue:4,min:0,max:24,displayStepper:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:24,displayStepper:true},trackRadius:{type:ControlType.Number,title:\"Track Rad\",defaultValue:100,min:0,max:100,displayStepper:true},pillRadius:{type:ControlType.Number,title:\"Pill Rad\",defaultValue:100,min:0,max:100,displayStepper:true},segmentPaddingX:{type:ControlType.Number,title:\"Seg Pad X\",defaultValue:16,min:0,max:40,displayStepper:true},minSegmentWidth:{type:ControlType.Number,title:\"Min Width\",defaultValue:80,min:40,max:200,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AppleSegmentedControl\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"44\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Segemnted_controls_1.map","// /code/SegmentedControlOverrides.tsx\n//\n// ============================================================================\n// HOW THIS WORKS\n// ============================================================================\n//\n// One override file. Apply `VariantTarget` to every target component on every\n// page. The segmented control on that page drives the target's variant.\n//\n// No GROUP constant. No per-page edits. The override listens for every\n// `apple-segmented-control:change` event and:\n//\n//   - On a \"mount\" event (a segmented control just mounted, i.e. you just\n//     navigated to / reloaded / refreshed a page): reset to undefined.\n//     The target's intro animation plays clean.\n//   - On a \"change\" event (the user clicked a segment): apply the new value\n//     as the target's variant.\n//\n// Pages mount sequentially in Framer, so the most recently mounted segmented\n// control is the only one alive — there's no ambiguity. The override follows\n// whatever is in front of you.\n//\n// ============================================================================\n// ABOUT THE CANVAS-EVAL CONSOLE NOISE\n// ============================================================================\n//\n// You may see a React error #321 (\"Invalid hook call\") in the canvas-eval\n// pass. That's because Framer calls every exported override function once\n// during canvas eval to inspect it, outside any React component context, so\n// useState throws. **Ignore it.** At runtime, the override is called inside\n// a real component context where hooks work normally. Your previous working\n// override had the same noise and worked fine.\n//\n// ============================================================================\n// CONFIG\n// ============================================================================\nimport{jsx as _jsx}from\"react/jsx-runtime\";const TRANSITION={type:\"spring\",bounce:0,duration:.45};const PASS_TRANSITION=true;const DEBUG=true;// Optional label → variant mapping. Leave empty when segment labels exactly\n// match variant names. Edit when they don't.\nconst LABEL_TO_VARIANT={};import{useEffect,useState}from\"react\";// ---------------------------------------------------------------------------\n// Event wiring — matches AppleSegmentedControl exactly\n// ---------------------------------------------------------------------------\nconst SEGMENT_EVENT_NAME=\"apple-segmented-control:change\";// ---------------------------------------------------------------------------\n// Hook: per-target subscription with auto-reset on mount events\n// ---------------------------------------------------------------------------\n// This is the same useState + useEffect pattern that worked in your previous\n// version. The hook is what triggers React to re-render the override when\n// the state changes — Data() does not do this reliably for module-level\n// mutations from window listeners, which is why \"nothing happened\" before.\nfunction useActiveSegmentValue(){const[value,setValue]=useState(undefined);useEffect(()=>{if(typeof window===\"undefined\")return;if(DEBUG)console.log(\"[SegmentOverride] listener attached\");const handler=event=>{const detail=event.detail;if(!detail)return;if(detail.phase===\"mount\"){// A segmented control just mounted. Reset state so this\n// page's intro animation plays. This fires on navigation,\n// reload, and refresh — exactly the reset behavior you want.\nif(DEBUG){console.log(`[SegmentOverride] reset (mount of \"${detail.group}\")`);}setValue(undefined);return;}if(detail.phase===\"change\"){// User clicked a segment. Take control of the variant.\nif(DEBUG){console.log(`[SegmentOverride] variant → \"${detail.value}\" (from \"${detail.group}\")`);}setValue(detail.value);}};window.addEventListener(SEGMENT_EVENT_NAME,handler);return()=>{window.removeEventListener(SEGMENT_EVENT_NAME,handler);};},[]);return value;}// ---------------------------------------------------------------------------\n// THE ONLY EXPORT — apply to every target component on every page\n// ---------------------------------------------------------------------------\nexport function VariantTarget(){const value=useActiveSegmentValue();// Pre-interaction: return no overrides. The target renders untouched,\n// its canvas-configured intro animation plays.\nif(value===undefined)return{};// Post-interaction: apply the selected variant.\nconst mapped=LABEL_TO_VARIANT[value]??value;return PASS_TRANSITION?{variant:mapped,transition:TRANSITION}:{variant:mapped};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withVariantTarget(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...VariantTarget(props)});};}withVariantTarget.displayName=\"VariantTarget\";\nexport const __FramerMetadata__ = {\"exports\":{\"withVariantTarget\":{\"type\":\"reactHoc\",\"name\":\"withVariantTarget\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantTarget\":{\"type\":\"override\",\"name\":\"VariantTarget\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SegmentVariantController.map"],"mappings":"6YAAoC,EAEvB,GAAkB,CAC3B,SAAU,WACV,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,QAChB,EAGI,CADA,GAAG,EACW,EAML,GAAgB,CACzB,QAAS,CACL,KAAM,EAAY,YACtB,EACA,aAAc,CACV,KAAM,EAAY,YACtB,EACA,aAAc,CACV,KAAM,EAAY,YACtB,CACJ,EAEU,EAAY,OASR,EAAY,QAOZ,EAAY,OAMZ,EAAY,QClD1B,SAAgB,GAAW,EAAS,EAAS,CACzC,OAAO,EAA0B,GAAM,EAAS,CAAO,CAC3D,CACA,SAAgB,EAAU,EAAQ,EAAS,CACvC,OAAO,EAA0B,GAAO,EAAQ,CAAO,CAC3D,CACA,SAAS,EAA0B,EAAM,EAAU,EAAU,GAAM,CAC/D,IAAM,EAAa,GAA+B,EAClD,MAAc,CACN,GAAW,IAAe,GAAM,EAAS,CACjD,EAAG,CACC,CACJ,CAAC,CACL,iBAfuD,IACtB,kBCDH,iBCAA,iBCAM,iBCAN,iBCAM,0BCAL,EAClB,MAAsB,CAC/B,GAAW,IAAc,OAAa,CAClC,IAAM,EAAY,EAAU,UAAU,YAAY,EAElD,OADkB,EAAU,QAAQ,QAAQ,EAAI,IAAM,EAAU,QAAQ,cAAc,EAAI,IAAM,EAAU,QAAQ,SAAS,EAAI,KAAO,EAAU,QAAQ,QAAQ,EAAI,CAExK,MAAO,MAAO,EAClB,EACa,MAAyBA,MAAY,EAAgB,EAC5D,CAAC,CAAC,iBCTyB,IAE+F,iBCF1E,IACK,IAEqE,KAEJ,iBCJ/F,IAA6B,IAAoH,KCC9K,SAA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