{"version":3,"file":"ColorSweepWord.BT-RgEj8.mjs","names":["useMemo","useMemo","useMemo","useMemo","useState","useRef"],"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/Yp4fACAQzBzXoVrMu5um/90OJanQAfQjU9Tzeuiyd/ColorSweepWord.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\"}}}}","/**\n * Color Sweep Word Carousel\n * Staggered color-sweep reveal for all words, with selected words cycling through alternatives.\n * Use {word1|word2|word3} syntax to mark cycling slots.\n * Use // to force a line break (e.g. \"We build // amazing things\").\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 100\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useLayoutEffect,useMemo,useRef,useState}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const SWEEP_EASE=[.2,0,.3,.3];const GAP_MS=70;const PRESET_STOPS={spectrum:\"#FF0099 35%, #FF0000 45%, #FF4F04 50%, #FFA600 55%, #F8F8F8 60%, #0056FF 65%\",fire:\"#FF4500 35%, #FF6A00 42%, #FF9500 50%, #FFD000 58%, #FFF5C0 65%\",ocean:\"#00D4FF 35%, #0087FF 43%, #0040FF 50%, #7B2FFF 57%, #E0CFFF 65%\",neon:\"#FF00FF 35%, #00FF88 43%, #00FFFF 50%, #FFFF00 57%, #FFFFFF 65%\",aurora:\"#00FF87 35%, #00CFFF 42%, #8B5CF6 50%, #EC4899 57%, #FFF0F5 65%\",lavender:\"#E0B0FF 35%, #B57EDC 42%, #9B59B6 50%, #7C3AED 57%, #DDD6FE 65%\",mono:\"#BBBBBB 35%, #DDDDDD 48%, #F5F5F5 57%, #FFFFFF 65%\"};// ── Parsing ─────────────────────────────────────────────────────────────────\nconst BREAK_MARKER=\"\\x00BR\\x00\";/** Parse \"We build {fast|smooth|crisp} things // on the web\" into segments */function parseText(text){// Normalize // into a standalone token so the word regex picks it up.\nconst normalized=text.replace(/\\s*\\/\\/\\s*/g,` ${BREAK_MARKER} `);const segments=[];const regex=/\\{([^}]+)\\}|(\\S+)/g;let match;while((match=regex.exec(normalized))!==null){if(match[1]){const words=match[1].split(\"|\").map(w=>w.trim()).filter(Boolean);if(words.length>0)segments.push({type:\"cycle\",words});}else if(match[2]){if(match[2]===BREAK_MARKER){segments.push({type:\"break\"});}else{segments.push({type:\"static\",word:match[2]});}}}return segments;}// ── Gradient builder ────────────────────────────────────────────────────────\nfunction buildCustomStops(colors){if(!colors.length)return\"#CCCCCC 50%\";const count=colors.length;return colors.map((c,i)=>{const pos=35+i/Math.max(count-1,1)*30;return`${c} ${pos.toFixed(0)}%`;}).join(\", \");}function buildGradient(textColor,preset,customColors,direction){const deg=direction===\"ltr\"?\"90deg\":\"270deg\";const stops=preset===\"custom\"?buildCustomStops(customColors):PRESET_STOPS[preset];return`linear-gradient(in oklch ${deg}, ${textColor} 0%, ${textColor} 30%, ${stops}, #FFFFFF 70%, #FFFFFF 100%)`;}// ── Font helper ─────────────────────────────────────────────────────────────\nfunction toFontStyle(font){if(!font)return{};const fontFamily=font.fontFamily??font.family;const fontWeight=font.fontWeight??font.weight;const fontStyleVal=font.fontStyle??font.style;const fontSize=font.fontSize??font.size;const lineHeightRaw=font.lineHeight;const letterSpacing=font.letterSpacing;const computedLineHeight=typeof lineHeightRaw===\"number\"&&typeof fontSize===\"number\"?`${lineHeightRaw/100*fontSize}px`:lineHeightRaw;return{fontFamily,fontStyle:fontStyleVal,fontWeight,fontSize,lineHeight:computedLineHeight,letterSpacing};}// ── Component ───────────────────────────────────────────────────────────────\nexport default function WordCarousel(props){const{text=\"We build {fast|smooth|colorful|crisp} interfaces\",timing,textColor=\"#000000\",colorPreset=\"spectrum\",customColors=[\"#FF0099\",\"#FF4F04\",\"#0056FF\"],cycleWidth,keepTogether=0,direction=\"ltr\",textAlign=\"left\",wordSpacing=.25,className=\"\",font,fontSize=64,lineHeight=1.2}=props;const sweepMs=timing?.sweepMs??750;const staggerMs=timing?.staggerMs??120;const holdMs=timing?.holdMs??2e3;const fadeMs=timing?.fadeMs??250;const fixedCycleWidth=cycleWidth?.fixedCycleWidth??true;const smoothWidth=cycleWidth?.smoothWidth??true;const widthDurationMs=cycleWidth?.widthDurationMs??300;const isStatic=useIsStaticRenderer();const segments=useMemo(()=>parseText(text),[text]);const wordCount=useMemo(()=>segments.filter(s=>s.type!==\"break\").length,[segments]);const[appearDone,setAppearDone]=useState(false);const[cycleIdx,setCycleIdx]=useState(0);const[fadeOut,setFadeOut]=useState(false);// Wait for fonts so grid/measurement uses real metrics, not fallback\nconst[fontsReady,setFontsReady]=useState(false);useEffect(()=>{if(typeof document===\"undefined\"||!document.fonts){setFontsReady(true);return;}let cancelled=false;document.fonts.ready.then(()=>{if(!cancelled)setFontsReady(true);});return()=>{cancelled=true;};},[]);// Reduced motion\nconst[reducedMotion,setReducedMotion]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReducedMotion(mq.matches);const handler=e=>setReducedMotion(e.matches);mq.addEventListener(\"change\",handler);return()=>mq.removeEventListener(\"change\",handler);},[]);// Reset on text change\nuseEffect(()=>{setAppearDone(false);setCycleIdx(0);setFadeOut(false);},[text]);// Appear timer — after all words have swept in + hold, mark done\nconst totalAppearMs=Math.max(0,(wordCount-1)*staggerMs+sweepMs);useEffect(()=>{if(reducedMotion){setAppearDone(true);return;}const t=window.setTimeout(()=>setAppearDone(true),totalAppearMs+holdMs);return()=>window.clearTimeout(t);},[totalAppearMs,holdMs,text,reducedMotion]);// Cycle timer — only after appear, only if there are cycling slots\nconst hasCycles=useMemo(()=>segments.some(s=>s.type===\"cycle\"&&s.words.length>1),[segments]);useEffect(()=>{if(!appearDone||!hasCycles)return;const fadeTimer=window.setTimeout(()=>setFadeOut(true),Math.max(0,sweepMs+holdMs-fadeMs-GAP_MS));const cycleTimer=window.setTimeout(()=>{setFadeOut(false);setCycleIdx(i=>i+1);},sweepMs+holdMs+GAP_MS);return()=>{window.clearTimeout(fadeTimer);window.clearTimeout(cycleTimer);};},[appearDone,cycleIdx,sweepMs,holdMs,fadeMs,hasCycles]);// Typography — font control's lineHeight wins if set, else prop.\nconst fontStyle=toFontStyle(font);if(typeof fontSize===\"number\"&&fontSize>0){fontStyle.fontSize=fontSize;}const rawFontLineHeight=font?.lineHeight;const effectiveLineHeight=typeof rawFontLineHeight===\"number\"&&rawFontLineHeight>0?rawFontLineHeight/100:lineHeight;fontStyle.lineHeight=`${effectiveLineHeight}em`;const typography={fontFamily:fontStyle.fontFamily,fontWeight:fontStyle.fontWeight,fontStyle:fontStyle.fontStyle,fontSize:fontStyle.fontSize,lineHeight:fontStyle.lineHeight,letterSpacing:fontStyle.letterSpacing};// Between forced // breaks: extra breathing room beyond the natural\n// line-box (paragraph-like). Within a wrapped flex line: 0, since each\n// word's line-box already provides line-height·em of vertical space.\nconst paragraphGapStr=`${Math.max(0,effectiveLineHeight-1).toFixed(2)}em`;const wrapGapStr=\"0em\";const columnGapStr=`${Math.max(0,wordSpacing).toFixed(2)}em`;// Measure cycling word widths for smooth-width transitions\nconst needsSmooth=smoothWidth&&!fixedCycleWidth;const sizerRefs=useRef(new Map);const[measuredWidths,setMeasuredWidths]=useState(new Map);useLayoutEffect(()=>{if(!needsSmooth)return;const widths=new Map;sizerRefs.current.forEach((el,key)=>{widths.set(key,el.offsetWidth);});if(widths.size>0)setMeasuredWidths(widths);},[needsSmooth,text,font,fontSize,fontsReady]);const gradient=buildGradient(textColor,colorPreset,customColors,direction);const sweepInitialX=direction===\"rtl\"?\"0%\":\"100%\";const sweepAnimateX=direction===\"rtl\"?\"100%\":\"0%\";const justifyContent=textAlign===\"center\"?\"center\":textAlign===\"right\"?\"flex-end\":\"flex-start\";// Vertical bleed from gradient overlay (0.30em) + blur (4px)\nconst bleedPad=\"calc(0.30em + 4px)\";// Split segments into visual lines around break markers, tracking\n// original segment and word indices so keys and stagger stay stable.\nconst lines=[];{let segIdx=0;let wordIdx=0;let cur=[];let startSeg=0;let startWord=0;for(const s of segments){if(s.type===\"break\"){lines.push({items:cur,startSegIdx:startSeg,startWordIdx:startWord});segIdx++;startSeg=segIdx;startWord=wordIdx;cur=[];}else{cur.push(s);segIdx++;wordIdx++;}}lines.push({items:cur,startSegIdx:startSeg,startWordIdx:startWord});}// Static renderer fallback — mirrors the animated structure (same\n// bleedPad, same line/flex layout, same baseline alignment, same\n// column/row gaps) so swapping from static to live produces no\n// visible jump in position or word spacing.\nif(isStatic||reducedMotion){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent,width:\"100%\",height:\"100%\",overflow:\"visible\",paddingTop:bleedPad,paddingBottom:bleedPad,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:className,style:{display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",width:\"100%\",rowGap:paragraphGapStr,overflow:\"visible\",color:textColor,...typography},children:lines.map((line,lineIdx)=>{if(line.items.length===0)return null;return /*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"baseline\",justifyContent,columnGap:columnGapStr,rowGap:wrapGapStr},children:line.items.map((seg,k)=>{const word=seg.type===\"static\"?seg.word:seg.words[0];return /*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:word},k);})},`static-line-${lineIdx}`);})})});}// Screen reader text (skip breaks)\nconst srText=segments.map(s=>{if(s.type===\"break\")return\"\";if(s.type===\"static\")return s.word;return s.words[(appearDone?cycleIdx:0)%s.words.length];}).filter(Boolean).join(\" \");const keepTogetherN=Math.max(0,Math.floor(keepTogether??0));const renderWord=(seg,segIdx,wordIdx)=>{const isCycling=seg.type===\"cycle\"&&seg.words.length>1;const subIdx=seg.type===\"cycle\"?(appearDone?cycleIdx:0)%seg.words.length:0;const word=seg.type===\"static\"?seg.word:seg.words[subIdx];// During appear: stagger delay per word. After: no delay.\nconst delaySec=appearDone?0:wordIdx*staggerMs/1e3;// Key controls when framer-motion replays the sweep\nconst animKey=isCycling&&appearDone&&cycleIdx>0?`cycle-${cycleIdx}`:`appear-${text}-${segIdx}`;const shouldFadeOut=isCycling&&appearDone&&fadeOut;const useGrid=fixedCycleWidth&&isCycling&&seg.type===\"cycle\";const useSmooth=needsSmooth&&isCycling&&seg.type===\"cycle\";const smoothTarget=useSmooth?measuredWidths.get(`${segIdx}-${subIdx}`):undefined;return /*#__PURE__*/_jsxs(motion.span,{animate:useSmooth&&smoothTarget!=null?{width:smoothTarget}:undefined,transition:useSmooth?{width:{duration:widthDurationMs/1e3,ease:[.25,.1,.25,1]}}:undefined,style:{position:\"relative\",display:useGrid?\"inline-grid\":\"inline-block\",whiteSpace:\"nowrap\",overflow:useSmooth?undefined:\"visible\",...useSmooth&&{overflowX:\"clip\",overflowY:\"visible\"}},children:[(useGrid||useSmooth)&&seg.type===\"cycle\"&&seg.words.map((w,j)=>/*#__PURE__*/_jsx(\"span\",{ref:useSmooth?el=>{const key=`${segIdx}-${j}`;if(el)sizerRefs.current.set(key,el);else sizerRefs.current.delete(key);}:undefined,\"aria-hidden\":\"true\",style:{...useGrid?{gridArea:\"1 / 1\"}:{position:\"absolute\",top:0,left:0},visibility:\"hidden\",pointerEvents:\"none\",...typography},children:w},`sizer-${j}`)),/*#__PURE__*/_jsx(motion.span,{style:{...useGrid&&{gridArea:\"1 / 1\"},color:textColor,...typography},initial:{opacity:0},animate:{opacity:shouldFadeOut?0:1},transition:shouldFadeOut?{duration:fadeMs/1e3,ease:\"easeOut\"}:{delay:delaySec+sweepMs*.8/1e3,duration:.12,ease:\"easeOut\"},children:word},`u-${animKey}`),/*#__PURE__*/_jsx(motion.span,{style:{...useGrid?{gridArea:\"1 / 1\",marginTop:\"-0.30em\",marginBottom:\"-0.30em\",paddingTop:\"0.30em\",paddingBottom:\"0.30em\",zIndex:1}:{position:\"absolute\",left:0,right:0,top:\"-0.30em\",bottom:\"-0.30em\",paddingTop:\"0.30em\",paddingBottom:\"0.30em\"},lineHeight:\"inherit\",pointerEvents:\"none\",backgroundOrigin:\"padding-box\",backgroundImage:gradient,backgroundClip:\"text\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",color:\"transparent\",backgroundRepeat:\"no-repeat\",backgroundSize:\"400% 100%\",willChange:\"background-position, opacity, filter\",filter:\"blur(var(--blur))\",...typography},initial:{backgroundPositionX:sweepInitialX,opacity:1,[\"--blur\"]:\"4px\"},animate:{backgroundPositionX:sweepAnimateX,opacity:[1,1,0],[\"--blur\"]:[\"4px\",\"0.5px\",\"0px\"]},transition:{backgroundPositionX:{delay:delaySec,duration:sweepMs/1e3,ease:SWEEP_EASE},opacity:{delay:delaySec,duration:sweepMs/1e3,times:[0,.985,1],ease:\"linear\"},[\"--blur\"]:{delay:delaySec,duration:sweepMs/1e3,times:[0,.8,1],ease:\"easeOut\"}},children:word},`o-${animKey}`)]},segIdx);};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent,width:\"100%\",height:\"100%\",overflow:\"visible\",paddingTop:bleedPad,paddingBottom:bleedPad,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-live\":\"polite\",style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\",clip:\"rect(0,0,0,0)\",whiteSpace:\"nowrap\",border:0},children:srText}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:className,style:{display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",width:\"100%\",rowGap:paragraphGapStr,overflow:\"visible\",...typography},children:lines.map((line,lineIdx)=>{const n=line.items.length;if(n===0)return null;const groupSize=keepTogetherN>=2&&keepTogetherN<=n?keepTogetherN:0;const groupStart=groupSize>0?n-groupSize:-1;const children=[];for(let k=0;k<n;k++){if(k===groupStart){const grouped=[];for(let j=k;j<n;j++){grouped.push(renderWord(line.items[j],line.startSegIdx+j,line.startWordIdx+j));}children.push(/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",flexWrap:\"nowrap\",alignItems:\"baseline\",columnGap:columnGapStr,whiteSpace:\"nowrap\"},children:grouped},`grp-${lineIdx}`));break;}children.push(renderWord(line.items[k],line.startSegIdx+k,line.startWordIdx+k));}return /*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"baseline\",justifyContent,columnGap:columnGapStr,rowGap:wrapGapStr,overflow:\"visible\"},children:children},`line-${lineIdx}`);})},fontsReady?\"fonts-ready\":\"fonts-loading\")]});}// ── Property Controls ───────────────────────────────────────────────────────\naddPropertyControls(WordCarousel,{text:{type:ControlType.String,title:\"Text\",placeholder:\"We build {fast|smooth} // things\",defaultValue:\"We build {fast|smooth|colorful|crisp} interfaces\",description:\"**{a|b|c}** cycles through words.  \\n**//** forces a line break (e.g. `We build // amazing things`). Spaces around // are optional.\"},// ── Timing ──────────────────────────────────────────────────────────────\ntiming:{type:ControlType.Object,title:\"Timing\",controls:{sweepMs:{type:ControlType.Number,title:\"Sweep\",min:100,max:5e3,step:10,unit:\"ms\",defaultValue:750},staggerMs:{type:ControlType.Number,title:\"Stagger\",min:30,max:500,step:10,unit:\"ms\",defaultValue:120},holdMs:{type:ControlType.Number,title:\"Hold\",min:0,max:1e4,step:10,unit:\"ms\",defaultValue:2e3},fadeMs:{type:ControlType.Number,title:\"Fade\",min:50,max:1e3,step:10,unit:\"ms\",defaultValue:250}}},// ── Color ────────────────────────────────────────────────────────────────\ntextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\",section:\"Color\"},colorPreset:{type:ControlType.Enum,title:\"Sweep Colors\",options:[\"spectrum\",\"fire\",\"ocean\",\"neon\",\"aurora\",\"lavender\",\"mono\",\"custom\"],optionTitles:[\"Spectrum\",\"Fire\",\"Ocean\",\"Neon\",\"Aurora\",\"Lavender\",\"Mono\",\"Custom\"],defaultValue:\"spectrum\",section:\"Color\"},customColors:{type:ControlType.Array,title:\"Custom Colors\",propertyControl:{type:ControlType.Color},defaultValue:[\"#FF0099\",\"#FF4F04\",\"#0056FF\"],hidden:props=>props.colorPreset!==\"custom\",section:\"Color\"},// ── Layout ───────────────────────────────────────────────────────────────\ncycleWidth:{type:ControlType.Object,title:\"Cycle Width\",controls:{fixedCycleWidth:{type:ControlType.Boolean,title:\"Fixed Width\",enabledTitle:\"On\",disabledTitle:\"Off\",defaultValue:true},smoothWidth:{type:ControlType.Boolean,title:\"Smooth Width\",enabledTitle:\"On\",disabledTitle:\"Off\",defaultValue:true,hidden:props=>props.fixedCycleWidth!==false},widthDurationMs:{type:ControlType.Number,title:\"Width Duration\",min:50,max:1e3,step:10,unit:\"ms\",defaultValue:300,hidden:props=>props.fixedCycleWidth!==false||props.smoothWidth!==true}},section:\"Layout\"},keepTogether:{type:ControlType.Number,title:\"Keep Together\",description:\"Keeps the last N words of each line on the same row to avoid orphans. 0 = off.\",min:0,max:5,step:1,displayStepper:true,defaultValue:0,section:\"Layout\"},direction:{type:ControlType.SegmentedEnum,title:\"Direction\",options:[\"ltr\",\"rtl\"],optionTitles:[\"→\",\"←\"],defaultValue:\"ltr\",section:\"Layout\"},textAlign:{type:ControlType.SegmentedEnum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\",section:\"Layout\"},wordSpacing:{type:ControlType.Number,title:\"Word Spacing\",min:0,max:2,step:.01,unit:\"em\",displayStepper:true,defaultValue:.25,section:\"Layout\"},// ── Typography ───────────────────────────────────────────────────────────\nfont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",section:\"Typography\"},fontSize:{type:ControlType.Number,title:\"Font Size\",min:8,max:256,step:1,unit:\"px\",displayStepper:true,defaultValue:64,section:\"Typography\"},lineHeight:{type:ControlType.Number,title:\"Line Height\",min:.5,max:3,step:.05,unit:\"em\",displayStepper:true,defaultValue:1.2,section:\"Typography\"}});WordCarousel.displayName=\"Color Sweep Word Carousel\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WordCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ColorSweepWord.map"],"mappings":"2TAAoC,EAEvB,EAAkB,CAC3B,SAAU,WACV,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,QAChB,EAGI,CADA,GAAG,CACW,EAML,EAAgB,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,C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