{"version":3,"file":"Searchbar.CInjKhrT.mjs","names":["useMemo","useMemo","useMemo","getStore","l","useState","useRef","l","useRef","useState","_Fragment"],"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/HtB5aagvPDEB7b4O15Vr/LFR5pFZhdzwdMlMN0a62/Formoverride.js","https:/framerusercontent.com/modules/fC1cli7hHK9dVxZ2Voco/Kv5BRzavqz23uqHwNbai/Searchbar.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{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const GHL_WEBHOOK_URL=\"https://webhook.site/c0e1539e-4016-4ced-b280-0e94113ae37f\";function getStore(){if(typeof window===\"undefined\")return null;if(!window.__flightStore){const listeners=new Set;const state={departure:\"\",destination:\"\",departureDate:\"\",returnDate:\"\",passengers:1};window.__flightStore={state,listeners,setState(patch){Object.assign(this.state,patch);this.listeners.forEach(l=>l());},subscribe(fn){this.listeners.add(fn);return()=>this.listeners.delete(fn);},isComplete(){const s=this.state;return s.departure.trim()!==\"\"&&s.destination.trim()!==\"\"&&s.departureDate.trim()!==\"\"&&s.returnDate.trim()!==\"\";}};}return window.__flightStore;}async function sendToGHL(webhookUrl,data){if(!webhookUrl)return;try{await fetch(webhookUrl,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(data)});}catch(e){console.error(\"GHL webhook failed:\",e);}}export function WithFlightData(Component){return function WrappedForm(props){const{ghlWebhookUrl,...rest}=props;const[visible,setVisible]=useState(false);const formRef=useRef(null);useEffect(()=>{const store=getStore();if(!store)return;setVisible(store.isComplete());return store.subscribe(()=>setVisible(store.isComplete()));},[]);useEffect(()=>{if(!visible)return;const formEl=formRef.current?.querySelector(\"form\");if(!formEl)return;function injectHiddenFields(){if(!formEl)return;const store=getStore();if(!store)return;const s=store.state;const fields=[{name:\"flight_departure\",value:s.departure},{name:\"flight_destination\",value:s.destination},{name:\"flight_departure_date\",value:s.departureDate},{name:\"flight_return_date\",value:s.returnDate},{name:\"flight_passengers\",value:String(s.passengers)}];formEl.querySelectorAll(\"input[data-fh]\").forEach(el=>el.remove());fields.forEach(({name,value})=>{const input=document.createElement(\"input\");input.type=\"hidden\";input.name=name;input.value=value;input.setAttribute(\"data-fh\",\"true\");formEl.appendChild(input);});}function handleSubmit(){injectHiddenFields();// Trigger confirmation popup after successful submit\nwindow.dispatchEvent(new CustomEvent(\"formSubmitSuccess\"));if(ghlWebhookUrl){const store=getStore();if(!store)return;const s=store.state;const formData={flight_departure:s.departure,flight_destination:s.destination,flight_departure_date:s.departureDate,flight_return_date:s.returnDate,flight_passengers:String(s.passengers)};formEl?.querySelectorAll(\"input:not([type='hidden']), textarea, select\").forEach(el=>{if(el.name){// Fix: remap \"WhatsApp Number\" key to match GHL field exactly\nconst key=el.name===\"WhatsApp Number\"?\"Whats App Number\":el.name;formData[key]=el.value;}});sendToGHL(ghlWebhookUrl,formData);}}injectHiddenFields();formEl.addEventListener(\"submit\",handleSubmit);const unsub=getStore()?.subscribe(injectHiddenFields)??(()=>{});return()=>{formEl.removeEventListener(\"submit\",handleSubmit);unsub();};},[visible,ghlWebhookUrl]);return /*#__PURE__*/_jsx(\"div\",{ref:formRef,style:{opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",transform:visible?\"translateY(0px)\":\"translateY(12px)\",transition:\"opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease\",width:\"100%\",display:\"flex\",justifyContent:\"center\",maxHeight:visible?\"2000px\":\"0px\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(Component,{...rest})});};}addPropertyControls(WithFlightData,{ghlWebhookUrl:{type:ControlType.String,title:\"GHL Webhook URL\",placeholder:\"https://services.leadconnectorhq.com/hooks/...\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"WithFlightData\":{\"type\":\"reactHoc\",\"name\":\"WithFlightData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Formoverride.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const S={pillBg:\"#1d2543\",pillBorder:\"1px solid #323951\",pillRadius:\"999px\",cardRadius:\"20px\",dividerColor:\"#323951\",labelColor:\"#B8B4A8\",labelFont:'\"Calibri Regular\", sans-serif',labelSize:\"14px\",labelWeight:\"500\",inputColor:\"#EFEDDF\",inputSize:\"16px\",inputFont:'\"Calibri Regular\", sans-serif',inputWeight:\"400\",arrowBgDisabled:\"#2a2a2a\",arrowColorDisabled:\"#555555\",errorColor:\"#ff6b6b\",placeholderColor:\"#949492\"};function getStore(){if(typeof window===\"undefined\")return null;if(!window.__flightStore){const listeners=new Set;const state={departure:\"\",destination:\"\",departureDate:\"\",returnDate:\"\",passengers:1};window.__flightStore={state,listeners,setState(patch){Object.assign(this.state,patch);this.listeners.forEach(l=>l());},subscribe(fn){this.listeners.add(fn);return()=>this.listeners.delete(fn);},reset(){Object.assign(this.state,{departure:\"\",destination:\"\",departureDate:\"\",returnDate:\"\",passengers:1});this.listeners.forEach(l=>l());},isComplete(){const s=this.state;return s.departure.trim()!==\"\"&&s.destination.trim()!==\"\";}};}return window.__flightStore;}const defaultState={departure:\"\",destination:\"\",departureDate:\"\",returnDate:\"\",passengers:1};function getToday(){return new Date().toISOString().split(\"T\")[0];}function CalendarIcon({color}){return /*#__PURE__*/_jsxs(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0,display:\"block\"},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"1\",y:\"3\",width:\"14\",height:\"12\",rx:\"2\",stroke:color,strokeWidth:\"1.2\",fill:\"none\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M1 7h14\",stroke:color,strokeWidth:\"1.2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 1v4M11 1v4\",stroke:color,strokeWidth:\"1.2\",strokeLinecap:\"round\"})]});}function DateInput({value,minDate,onChange,onBlurTouch,inputStyle,inputColor,inputSize,inputFont,inputWeight,placeholderColor,resetKey}){const inputRef=useRef(null);const[localValue,setLocalValue]=useState(value);useEffect(()=>{setLocalValue(value);if(inputRef.current){inputRef.current.value=value;}},[value,resetKey]);function formatDisplay(val){if(!val)return\"\";const parts=val.split(\"-\");if(parts.length!==3)return val;const[yyyy,mm,dd]=parts;return`${dd}/${mm}/${yyyy.slice(2)}`;}const displayValue=formatDisplay(localValue);const iconColor=localValue?inputColor:inputColor;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"20px\",display:\"flex\",alignItems:\"center\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,className:\"flight-input flight-date\",type:\"date\",style:{...inputStyle,colorScheme:\"dark\",position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",opacity:0,zIndex:3,cursor:\"pointer\"},value:localValue,min:minDate,onChange:e=>{setLocalValue(e.target.value);onChange(e.target.value);},onBlur:()=>{onBlurTouch();}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"20px\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",pointerEvents:\"none\",zIndex:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:displayValue?inputColor:placeholderColor,fontSize:inputSize,fontFamily:inputFont,fontWeight:inputWeight,lineHeight:\"20px\",userSelect:\"none\"},children:displayValue||\"DD/MM/YY\"}),/*#__PURE__*/_jsx(CalendarIcon,{color:iconColor})]})]});}export default function SearchBar({onComplete,previewMobile}){const[state,setLocalState]=useState(defaultState);const[isMobile,setIsMobile]=useState(false);const[resetKey,setResetKey]=useState(0);const containerRef=useRef(null);const[touched,setTouched]=useState({departure:false,destination:false,departureDate:false,returnDate:false});useEffect(()=>{const store=getStore();if(!store)return;setLocalState({...store.state});return store.subscribe(()=>setLocalState({...store.state}));},[]);useEffect(()=>{function check(){const w=Math.min(window.innerWidth,window.screen.width);setIsMobile(w<1200);}check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[]);const showMobile=previewMobile||isMobile;function update(key,value){getStore()?.setState({[key]:value});}function touch(key){setTouched(t=>({...t,[key]:true}));}function reset(){getStore()?.reset();setTouched({departure:false,destination:false,departureDate:false,returnDate:false});setResetKey(k=>k+1);}useEffect(()=>{window.__searchBarReset=reset;},[]);const today=getToday();const errors={departure:touched.departure&&state.departure.trim()===\"\"?\"Required\":\"\",destination:touched.destination&&state.destination.trim()===\"\"?\"Required\":\"\"};const inputStyle={background:\"transparent\",border:\"none\",outline:\"none\",color:S.inputColor,fontSize:S.inputSize,fontFamily:S.inputFont,fontWeight:S.inputWeight,width:\"100%\",padding:\"0\",margin:\"0\",textAlign:\"left\"};const labelStyle={fontSize:S.labelSize,fontFamily:S.labelFont,fontWeight:S.labelWeight,color:S.labelColor,textTransform:\"uppercase\",letterSpacing:\"0.06em\",lineHeight:1,marginBottom:\"8px\"};const requiredDot={color:S.placeholderColor,marginLeft:\"3px\"};const errorStyle={fontSize:\"12px\",color:S.errorColor,marginTop:\"4px\",fontFamily:S.labelFont,lineHeight:1};const dividerV={width:\"1px\",background:S.dividerColor,alignSelf:\"stretch\",margin:\"8px 0\",flexShrink:0};const dividerH={height:\"1px\",background:S.dividerColor,margin:\"0 16px\",flexShrink:0};const counterBtnStyle=disabled=>({background:\"transparent\",border:\"none\",color:disabled?S.arrowColorDisabled:S.inputColor,fontSize:\"18px\",cursor:disabled?\"default\":\"pointer\",lineHeight:1,padding:\"0\",fontFamily:S.inputFont,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"28px\",height:\"28px\",flexShrink:0});function handleDepartureDateChange(val){update(\"departureDate\",val);if(val&&state.returnDate&&val>state.returnDate){update(\"returnDate\",\"\");}}const ROW_HEIGHT=\"52px\";const dateInputProps={inputStyle,inputColor:S.inputColor,inputSize:S.inputSize,inputFont:S.inputFont,inputWeight:S.inputWeight,placeholderColor:S.placeholderColor,resetKey};const Label=({text,required})=>/*#__PURE__*/_jsxs(\"span\",{style:{...labelStyle,marginBottom:0,minWidth:\"100px\",flexShrink:0},children:[text,required&&/*#__PURE__*/_jsx(\"span\",{style:requiredDot,children:\"*\"})]});const mobileRow=(label,content,error,required)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",padding:\"0 16px\",gap:\"16px\",height:ROW_HEIGHT,boxSizing:\"border-box\",flexShrink:0},children:[/*#__PURE__*/_jsx(Label,{text:label,required:required}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[content,error&&/*#__PURE__*/_jsx(\"div\",{style:errorStyle,children:\"* Required\"})]})]});const mobileLayout=/*#__PURE__*/_jsxs(\"div\",{style:{background:S.pillBg,border:S.pillBorder,borderRadius:S.cardRadius,overflow:\"hidden\",width:\"100%\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\"},children:[mobileRow(\"From\",/*#__PURE__*/_jsx(\"input\",{className:\"flight-input\",style:inputStyle,placeholder:\"Departure city\",value:state.departure,onChange:e=>update(\"departure\",e.target.value),onBlur:()=>touch(\"departure\")}),errors.departure,true),/*#__PURE__*/_jsx(\"div\",{style:dividerH}),mobileRow(\"To\",/*#__PURE__*/_jsx(\"input\",{className:\"flight-input\",style:inputStyle,placeholder:\"Destination city\",value:state.destination,onChange:e=>update(\"destination\",e.target.value),onBlur:()=>touch(\"destination\")}),errors.destination,true),/*#__PURE__*/_jsx(\"div\",{style:dividerH}),mobileRow(\"Departure\",/*#__PURE__*/_jsx(DateInput,{value:state.departureDate,minDate:today,onChange:handleDepartureDateChange,onBlurTouch:()=>touch(\"departureDate\"),...dateInputProps}),\"\"),/*#__PURE__*/_jsx(\"div\",{style:dividerH}),mobileRow(\"Return\",/*#__PURE__*/_jsx(DateInput,{value:state.returnDate,minDate:state.departureDate||today,onChange:val=>update(\"returnDate\",val),onBlurTouch:()=>touch(\"returnDate\"),...dateInputProps}),\"\"),/*#__PURE__*/_jsx(\"div\",{style:dividerH}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",padding:\"0 16px\",gap:\"16px\",height:ROW_HEIGHT,boxSizing:\"border-box\",flexShrink:0},children:[/*#__PURE__*/_jsx(Label,{text:\"Passengers\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"16px\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>update(\"passengers\",Math.max(1,state.passengers-1)),style:counterBtnStyle(state.passengers<=1),children:\"−\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:S.inputColor,fontSize:S.inputSize,fontFamily:S.inputFont,fontWeight:S.inputWeight,minWidth:\"20px\",textAlign:\"center\",userSelect:\"none\"},children:state.passengers}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>update(\"passengers\",state.passengers+1),style:counterBtnStyle(false),children:\"+\"})]})]})]});const fieldStyle={display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",padding:\"8px 16px\",minWidth:0,flex:1,boxSizing:\"border-box\"};const DesktopLabel=({text,required})=>/*#__PURE__*/_jsxs(\"span\",{style:labelStyle,children:[text,required&&/*#__PURE__*/_jsx(\"span\",{style:requiredDot,children:\"*\"})]});const desktopLayout=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"stretch\",background:S.pillBg,border:S.pillBorder,borderRadius:S.pillRadius,padding:\"8px\",width:\"100%\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(DesktopLabel,{text:\"From\",required:true}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",height:\"20px\"},children:/*#__PURE__*/_jsx(\"input\",{className:\"flight-input\",style:inputStyle,placeholder:\"Departure city\",value:state.departure,onChange:e=>update(\"departure\",e.target.value),onBlur:()=>touch(\"departure\")})}),errors.departure&&/*#__PURE__*/_jsx(\"span\",{style:errorStyle,children:\"* Required\"})]}),/*#__PURE__*/_jsx(\"div\",{style:dividerV}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(DesktopLabel,{text:\"To\",required:true}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",height:\"20px\"},children:/*#__PURE__*/_jsx(\"input\",{className:\"flight-input\",style:inputStyle,placeholder:\"Destination city\",value:state.destination,onChange:e=>update(\"destination\",e.target.value),onBlur:()=>touch(\"destination\")})}),errors.destination&&/*#__PURE__*/_jsx(\"span\",{style:errorStyle,children:\"* Required\"})]}),/*#__PURE__*/_jsx(\"div\",{style:dividerV}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(DesktopLabel,{text:\"Departure\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",height:\"20px\"},children:/*#__PURE__*/_jsx(DateInput,{value:state.departureDate,minDate:today,onChange:handleDepartureDateChange,onBlurTouch:()=>touch(\"departureDate\"),...dateInputProps})})]}),/*#__PURE__*/_jsx(\"div\",{style:dividerV}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(DesktopLabel,{text:\"Return\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",height:\"20px\"},children:/*#__PURE__*/_jsx(DateInput,{value:state.returnDate,minDate:state.departureDate||today,onChange:val=>update(\"returnDate\",val),onBlurTouch:()=>touch(\"returnDate\"),...dateInputProps})})]}),/*#__PURE__*/_jsx(\"div\",{style:dividerV}),/*#__PURE__*/_jsxs(\"div\",{style:{...fieldStyle,flex:\"0 0 auto\",minWidth:\"150px\"},children:[/*#__PURE__*/_jsx(DesktopLabel,{text:\"Passengers\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",height:\"20px\",gap:\"16px\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>update(\"passengers\",Math.max(1,state.passengers-1)),style:counterBtnStyle(state.passengers<=1),children:\"−\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:S.inputColor,fontSize:S.inputSize,fontFamily:S.inputFont,fontWeight:S.inputWeight,minWidth:\"20px\",textAlign:\"center\",lineHeight:\"20px\",userSelect:\"none\"},children:state.passengers}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>update(\"passengers\",state.passengers+1),style:counterBtnStyle(false),children:\"+\"})]})]})]});return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n            .flight-input::placeholder { color: #949492; font-family: \"Calibri Regular\", sans-serif; font-size: 16px; font-weight: 400; }\n            .flight-date[type=\"date\"] { cursor: pointer; }\n            .flight-date[type=\"date\"]::-webkit-calendar-picker-indicator {\n                opacity: 0;\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n                cursor: pointer;\n            }\n            `}),/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",minWidth:0,display:\"block\",overflow:\"hidden\"},children:showMobile?mobileLayout:desktopLayout})]});}addPropertyControls(SearchBar,{onComplete:{type:ControlType.EventHandler},previewMobile:{type:ControlType.Boolean,title:\"Preview Mobile\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SearchBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Searchbar.map"],"mappings":"sQAAqC,CAExB,EAAkB,CAC3B,SAAU,WACV,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,SACf,CAGG,CADA,GAAG,EACW,CAML,EAAgB,CACzB,QAAS,CACL,KAAM,EAAY,aACrB,CACD,aAAc,CACV,KAAM,EAAY,aACrB,CACD,aAAc,CACV,KAAM,EAAY,aACrB,CACJ,CAES,EAAY,OASR,EAAY,QAOZ,EAAY,OAMZ,EAAY,QClD1B,SAAgB,EAAW,EAAS,EAAS,CACzC,OAAO,EAA0B,GAAM,EAAS,EAAQ,CAE5D,SAAgB,EAAU,EAAQ,EAAS,CACvC,OAAO,EAA0B,GAAO,EAAQ,EAAQ,CAE5D,SAAS,EAA0B,EAAM,EAAU,EAAU,GAAM,CAC/D,IAAM,EAAa,GAAgC,CACnD,MAAc,CACN,GAAW,IAAe,GAAM,GAAU,EAC/C,CACC,EACH,CAAC,kBAdkD,IACtB,iBCDH,iBCAA,iBCAM,iBCAN,iBCAM,yBCAL,CACnB,MAAsB,CAC/B,GAAW,IAAc,OAAa,CAClC,IAAM,EAAY,EAAU,UAAU,aAAa,CAEnD,OADkB,EAAU,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