{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/cyh93W8nTdooKcQLJT9n/rRX6l3nEjzhjCkRwHiM1/WhatsAppBot.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function WhatsAppButton(){function handleClick(){const whatsAppNumber=\"+19084728267\";const message=encodeURIComponent(\"Hello! I'd like to inquire about your services on Crew Collective.\");const url=`https://wa.me/${whatsAppNumber}?text=${message}`;window.open(url,\"_blank\");}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                /* Floating WhatsApp Button */\n                .whatsapp-button {\n                    position: fixed;\n                    background-color: #25d366;\n                    border-radius: 50%;\n                    width: 60px;\n                    height: 60px;\n                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    cursor: pointer;\n                    transition: transform 0.2s ease-in-out;\n                    z-index: 1000;\n                    border: 0 solid;\n                }\n\n                .whatsapp-button:hover {\n                    transform: scale(1.1);\n                }\n\n                .whatsapp-button img {\n                    width: 34px;\n                    height: 34px;\n                }\n\n                /* Red notification badge */\n                .whatsapp-button .wa-badge {\n                    position: absolute;\n                    top: -4px; /* tweak if needed */\n                    right: -4px; /* tweak if needed */\n                    width: 22px;\n                    height: 22px;\n                    border-radius: 50%;\n                    background: #ff3b30; /* iOS-style red */\n                    color: #fff;\n                    font-size: 12px;\n                    font-weight: 700;\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    line-height: 1;\n                    pointer-events: none; /* keep clicks going to the button */\n                    box-shadow: 0 0 0 3px #f5f5f5,\n                        /* white ring to separate from bg */ 0 0 12px rgba(255, 0, 0, 0.75);\n                    animation: badgePulse 1.6s ease-in-out infinite;\n                }\n\n                @keyframes badgePulse {\n                    0% {\n                        transform: scale(1);\n                        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);\n                    }\n                    50% {\n                        transform: scale(1.18);\n                        box-shadow: 0 0 20px rgba(255, 0, 0, 0.95);\n                    }\n                    100% {\n                        transform: scale(1);\n                        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);\n                    }\n                }\n                `}),/*#__PURE__*/_jsxs(\"button\",{className:\"whatsapp-button\",type:\"button\",onClick:handleClick,children:[/*#__PURE__*/_jsx(\"img\",{src:\"https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg\",alt:\"WhatsApp Logo\"}),/*#__PURE__*/_jsx(\"span\",{className:\"wa-badge\",\"aria-label\":\"unread messages\",children:\"1\"})]})]});}export default function WhatsAppBot(){return /*#__PURE__*/_jsx(WhatsAppButton,{});}addPropertyControls(WhatsAppButton,{tint:{title:\"Tint\",type:ControlType.Color,defaultValue:\"#09F\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"WhatsAppButton\":{\"type\":\"reactComponent\",\"name\":\"WhatsAppButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"WhatsAppBot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WhatsAppBot.map"],
  "mappings": "8GAGU,SAASA,GAAgB,CAAC,SAASC,GAAa,CAAC,IAAMC,EAAe,eAAqBC,EAAQ,mBAAmB,oEAAoE,EAAQC,EAAI,iBAAiBF,CAAc,SAASC,CAAO,GAAGE,EAAO,KAAKD,EAAI,QAAQ,CAAE,CAAC,OAAoBE,EAAMC,EAAU,CAAC,SAAS,CAAcC,EAAK,QAAQ,CAAC,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBA+D/V,CAAC,EAAeF,EAAM,SAAS,CAAC,UAAU,kBAAkB,KAAK,SAAS,QAAQL,EAAY,SAAS,CAAcO,EAAK,MAAM,CAAC,IAAI,mEAAmE,IAAI,eAAe,CAAC,EAAeA,EAAK,OAAO,CAAC,UAAU,WAAW,aAAa,kBAAkB,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAgB,SAARC,GAA8B,CAAC,OAAoBD,EAAKR,EAAe,CAAC,CAAC,CAAE,CAACU,EAAoBV,EAAe,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKW,EAAY,MAAM,aAAa,MAAM,CAAC,CAAC",
  "names": ["WhatsAppButton", "handleClick", "whatsAppNumber", "message", "url", "window", "u", "l", "p", "WhatsAppBot", "addPropertyControls", "ControlType"]
}
