{"version":3,"file":"CureBridgeSearch.CtYMeipP.mjs","names":["React.useState","React.useRef","React.useMemo","React.useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/f0RjbAzxJmlLMxtB8HZw/SoJc8mTpziqbZUo9UjnR/CureBridgeSearch.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Custom icons as SVG components\nconst SearchIcon=({size=20,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"8\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"21\",y1:\"21\",x2:\"16.65\",y2:\"16.65\"})]});const CloseIcon=({size=20,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]});const DoctorIcon=({size=18,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4.8 15h14.4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 2v20\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 8H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 8h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"5\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"19\",r:\"1\"})]});const HospitalIcon=({size=18,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"3\",width:\"18\",height:\"18\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"9\",x2:\"15\",y2:\"9\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"13\",x2:\"15\",y2:\"13\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"17\",x2:\"15\",y2:\"17\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"3\",x2:\"12\",y2:\"21\"})]});const TreatmentIcon=({size=18,color=\"currentColor\"})=>/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M22 12h-4l-3 9L9 3l-3 9H2\"})});const ServiceIcon=({size=18,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"14 2 14 8 20 8\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"16\",y1:\"13\",x2:\"8\",y2:\"13\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"16\",y1:\"17\",x2:\"8\",y2:\"17\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"10 9 9 9 8 9\"})]});const GeneralIcon=({size=18,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2L2 7l10 5 10-5-10-5z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M2 17l10 5 10-5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M2 12l10 5 10-5\"})]});const LinkArrowIcon=({size=16,color=\"currentColor\"})=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"5\",y1:\"12\",x2:\"19\",y2:\"12\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 5 19 12 12 19\"})]});export default function CureBridgeSearch(props){const{searchIndexUrl=\"https://framerusercontent.com/sites/7pytkKX1OoirpWD4Ft5RNS/searchIndex-PYUd3a0TKeKF.json\",placeholder=\"Search doctors, treatments, hospitals, services...\",primaryColor=\"#00A389\",accentBgColor=\"#EBFDF5\",textColor=\"#1E293B\",modalBgColor=\"#FFFFFF\",backdropBlur=8,borderRadius=12,maxResults=10,suggestionsTitle=\"Popular Searches\",suggestions=\"Knee Replacement, LASIK, Medicover Hospital, Dr. Arvind, Visa Support\"}=props;// State variables\nconst[isOpen,setIsOpen]=React.useState(false);const[query,setQuery]=React.useState(\"\");const[searchIndex,setSearchIndex]=React.useState([]);const[isLoading,setIsLoading]=React.useState(false);const[error,setError]=React.useState(null);const[activeTab,setActiveTab]=React.useState(\"All\");const[selectedIndex,setSelectedIndex]=React.useState(0);const inputRef=React.useRef(null);const modalRef=React.useRef(null);const resultsContainerRef=React.useRef(null);// Suggestion items helper\nconst parsedSuggestions=React.useMemo(()=>{return suggestions.split(\",\").map(s=>s.trim()).filter(Boolean);},[suggestions]);// Load search index\nconst loadIndex=React.useCallback(async()=>{if(searchIndex.length>0||isLoading)return;setIsLoading(true);setError(null);try{// Check page metadata first for Framer's built-in search index\nlet fetchUrl=searchIndexUrl;const meta=document.querySelector('meta[name=\"framer-search-index\"]');if(meta&&meta.getAttribute(\"content\")){fetchUrl=meta.getAttribute(\"content\")||searchIndexUrl;}const response=await fetch(fetchUrl);if(!response.ok){throw new Error(\"Network response was not ok\");}const data=await response.json();// Map and classify JSON entries\nconst items=Object.keys(data).map(path=>{const page=data[path];const url=page.url||path;const title=page.title||\"\";const description=page.description||\"\";const keywords=page.keywords||\"\";const headings=[...page.h1||[],...page.h2||[],...page.h3||[],...page.h4||[],...page.h5||[],...page.h6||[]];const paragraphs=page.p||[];// Category classification based on URL paths\nlet category=\"Other\";if(url.startsWith(\"/doctors/\")){category=\"Doctor\";}else if(url.startsWith(\"/hospitals/\")){category=\"Hospital\";}else if(url.startsWith(\"/treatments/\")||url.startsWith(\"/procedures\")){category=\"Treatment\";}else if(url.startsWith(\"/service/\")){category=\"Service\";}else{// Fallback keyword-based classification for root-level items\nconst lowerUrl=url.toLowerCase();const lowerTitle=title.toLowerCase();if(lowerUrl.includes(\"replacement\")||lowerUrl.includes(\"surgery\")||lowerUrl.includes(\"transplant\")||lowerUrl.includes(\"lasik\")||lowerUrl.includes(\"cornea\")||lowerUrl.includes(\"bypass\")||lowerTitle.includes(\"surgery\")||lowerTitle.includes(\"treatment\")||lowerTitle.includes(\"transplant\")){category=\"Treatment\";}}return{url,title,description,keywords,category,headings,paragraphs};});// Filter out index entries that are utility paths (like privacy policy, etc.) if they have no substantial content\nconst filteredItems=items.filter(item=>{return item.title&&item.url&&item.url!==\"/\"&&item.category!==\"Other\";});setSearchIndex(filteredItems);}catch(err){console.error(\"Error loading CureBridge search index:\",err);setError(\"Failed to load search data.\");}finally{setIsLoading(false);}},[searchIndexUrl,searchIndex.length,isLoading]);// Fetch index when modal opens\nReact.useEffect(()=>{if(isOpen){loadIndex();// Autofocus input after modal animations\nconst timer=setTimeout(()=>{inputRef.current?.focus();},100);return()=>clearTimeout(timer);}},[isOpen,loadIndex]);// Keyboard shortcut handler (Global / or Ctrl+K / Cmd+K)\nReact.useEffect(()=>{const handleKeyDown=e=>{if(e.key===\"/\"&&document.activeElement?.tagName!==\"INPUT\"&&document.activeElement?.tagName!==\"TEXTAREA\"){e.preventDefault();setIsOpen(true);}else if((e.ctrlKey||e.metaKey)&&e.key.toLowerCase()===\"k\"){e.preventDefault();setIsOpen(true);}};window.addEventListener(\"keydown\",handleKeyDown);return()=>window.removeEventListener(\"keydown\",handleKeyDown);},[]);// Close on Escape or click outside\nReact.useEffect(()=>{if(!isOpen)return;const handleOutsideClick=e=>{if(modalRef.current&&!modalRef.current.contains(e.target)){setIsOpen(false);}};const handleKeyDown=e=>{if(e.key===\"Escape\"){setIsOpen(false);}};document.addEventListener(\"mousedown\",handleOutsideClick);document.addEventListener(\"keydown\",handleKeyDown);return()=>{document.removeEventListener(\"mousedown\",handleOutsideClick);document.removeEventListener(\"keydown\",handleKeyDown);};},[isOpen]);// Perform Search & Score Ranking\nconst results=React.useMemo(()=>{if(!query.trim())return[];const searchTerms=query.toLowerCase().split(/\\s+/).filter(Boolean);if(searchTerms.length===0)return[];// Compute scores\nconst scored=searchIndex.map(item=>{let score=0;const titleLower=item.title.toLowerCase();const descLower=item.description.toLowerCase();const kwLower=item.keywords.toLowerCase();searchTerms.forEach(term=>{// Exact title match (High weight)\nif(titleLower.includes(term)){score+=20;// Starts with word matches even higher\nif(titleLower.startsWith(term))score+=10;}// Keywords match\nif(kwLower.includes(term)){score+=10;}// Description match\nif(descLower.includes(term)){score+=5;}// Headings match\nlet headingMatches=0;item.headings.forEach(h=>{if(h.toLowerCase().includes(term))headingMatches++;});score+=headingMatches*3;// Paragraphs match\nlet paraMatches=0;item.paragraphs.forEach(p=>{if(p.toLowerCase().includes(term))paraMatches++;});score+=Math.min(paraMatches*1,10)// Cap paragraph score contributions\n;});return{item,score};});// Filter out non-matching and sort descending\nlet filtered=scored.filter(x=>x.score>0).sort((a,b)=>b.score-a.score).map(x=>x.item);// Filter by tab\nif(activeTab!==\"All\"){filtered=filtered.filter(item=>item.category===activeTab);}return filtered.slice(0,maxResults);},[query,searchIndex,activeTab,maxResults]);// Reset selected index when results change\nReact.useEffect(()=>{setSelectedIndex(0);},[results]);// Handle key navigation within results list\nconst handleListKeyDown=e=>{if(results.length===0)return;if(e.key===\"ArrowDown\"){e.preventDefault();setSelectedIndex(prev=>(prev+1)%results.length);}else if(e.key===\"ArrowUp\"){e.preventDefault();setSelectedIndex(prev=>(prev-1+results.length)%results.length);}else if(e.key===\"Enter\"){e.preventDefault();const selectedItem=results[selectedIndex];if(selectedItem){window.location.href=selectedItem.url;}}};// Scroll selected item into view\nReact.useEffect(()=>{if(resultsContainerRef.current){const container=resultsContainerRef.current;const selectedElement=container.querySelector(`[data-index=\"${selectedIndex}\"]`);if(selectedElement){const containerTop=container.scrollTop;const containerBottom=containerTop+container.clientHeight;const elemTop=selectedElement.offsetTop;const elemBottom=elemTop+selectedElement.clientHeight;if(elemTop<containerTop){container.scrollTop=elemTop;}else if(elemBottom>containerBottom){container.scrollTop=elemBottom-container.clientHeight;}}}},[selectedIndex]);// Get Category Icon Helper\nconst getCategoryIcon=category=>{switch(category){case\"Doctor\":return /*#__PURE__*/_jsx(DoctorIcon,{color:primaryColor});case\"Hospital\":return /*#__PURE__*/_jsx(HospitalIcon,{color:primaryColor});case\"Treatment\":return /*#__PURE__*/_jsx(TreatmentIcon,{color:primaryColor});case\"Service\":return /*#__PURE__*/_jsx(ServiceIcon,{color:primaryColor});default:return /*#__PURE__*/_jsx(GeneralIcon,{color:primaryColor});}};// Highlight search keywords in texts\nconst highlightText=(text,highlight)=>{if(!highlight.trim())return text;const parts=text.split(new RegExp(`(${highlight.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")})`,\"gi\"));return /*#__PURE__*/_jsx(\"span\",{children:parts.map((part,i)=>part.toLowerCase()===highlight.toLowerCase()?/*#__PURE__*/_jsx(\"mark\",{style:{backgroundColor:`${primaryColor}22`,color:primaryColor,fontWeight:600,padding:\"0 2px\",borderRadius:\"2px\"},children:part},i):part)});};return /*#__PURE__*/_jsxs(\"div\",{className:\"cb-search-widget\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cb-search-widget {\n                    font-family: 'Inter', -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n                    box-sizing: border-box;\n                    width: 100%;\n                }\n                .cb-search-trigger {\n                    display: flex;\n                    align-items: center;\n                    width: 100%;\n                    padding: 14px 18px;\n                    background: rgba(255, 255, 255, 0.75);\n                    border: 1px solid rgba(0, 163, 137, 0.15);\n                    border-radius: ${borderRadius}px;\n                    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);\n                    backdrop-filter: blur(6px);\n                    -webkit-backdrop-filter: blur(6px);\n                    cursor: pointer;\n                    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n                    outline: none;\n                }\n                .cb-search-trigger:hover {\n                    border-color: ${primaryColor};\n                    box-shadow: 0 10px 25px rgba(0, 163, 137, 0.08);\n                    transform: translateY(-1px);\n                    background: #ffffff;\n                }\n                .cb-search-trigger:focus {\n                    border-color: ${primaryColor};\n                    box-shadow: 0 0 0 3px ${primaryColor}22;\n                }\n                .cb-trigger-icon {\n                    display: flex;\n                    align-items: center;\n                    color: ${primaryColor};\n                    margin-right: 12px;\n                }\n                .cb-trigger-text {\n                    flex: 1;\n                    font-size: 15px;\n                    color: #64748B;\n                    text-align: left;\n                }\n\n                \n                /* Modal Styles */\n                .cb-search-overlay {\n                    position: fixed;\n                    top: 0;\n                    left: 0;\n                    right: 0;\n                    bottom: 0;\n                    background: rgba(15, 23, 42, 0.45);\n                    backdrop-filter: blur(${backdropBlur}px);\n                    -webkit-backdrop-filter: blur(${backdropBlur}px);\n                    z-index: 9999;\n                    display: flex;\n                    justify-content: center;\n                    align-items: flex-start;\n                    padding: 60px 16px;\n                    animation: cb-fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);\n                }\n                .cb-search-modal {\n                    background: ${modalBgColor};\n                    border-radius: ${borderRadius}px;\n                    width: 100%;\n                    max-width: 650px;\n                    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n                    border: 1px solid #F1F5F9;\n                    overflow: hidden;\n                    display: flex;\n                    flex-direction: column;\n                    animation: cb-slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);\n                }\n                .cb-modal-header {\n                    display: flex;\n                    align-items: center;\n                    padding: 16px 20px;\n                    border-bottom: 1px solid #F1F5F9;\n                    position: relative;\n                }\n                .cb-modal-search-icon {\n                    color: ${primaryColor};\n                    margin-right: 14px;\n                    display: flex;\n                }\n                .cb-modal-input {\n                    flex: 1;\n                    border: none;\n                    background: transparent;\n                    font-size: 16px;\n                    color: ${textColor};\n                    outline: none;\n                    font-family: inherit;\n                    width: 100%;\n                }\n                .cb-modal-input::placeholder {\n                    color: #94A3B8;\n                }\n                .cb-clear-button {\n                    background: transparent;\n                    border: none;\n                    cursor: pointer;\n                    color: #94A3B8;\n                    padding: 4px;\n                    display: flex;\n                    border-radius: 50%;\n                    transition: all 0.2s;\n                }\n                .cb-clear-button:hover {\n                    background: #F1F5F9;\n                    color: #475569;\n                }\n\n                /* Tab Styles */\n                .cb-modal-tabs {\n                    display: flex;\n                    padding: 8px 16px;\n                    background: #FAFBFB;\n                    border-bottom: 1px solid #F1F5F9;\n                    gap: 6px;\n                    overflow-x: auto;\n                    scrollbar-width: none; /* Hide scrollbar for Firefox */\n                }\n                .cb-modal-tabs::-webkit-scrollbar {\n                    display: none; /* Hide scrollbar for Chrome/Safari */\n                }\n                .cb-tab {\n                    padding: 6px 12px;\n                    font-size: 13px;\n                    font-weight: 500;\n                    color: #64748B;\n                    background: transparent;\n                    border: none;\n                    border-radius: 8px;\n                    cursor: pointer;\n                    transition: all 0.2s;\n                    white-space: nowrap;\n                }\n                .cb-tab:hover {\n                    color: #334155;\n                    background: #F1F5F9;\n                }\n                .cb-tab.active {\n                    color: ${primaryColor};\n                    background: ${accentBgColor};\n                    font-weight: 600;\n                }\n\n                /* Results Body Styles */\n                .cb-modal-body {\n                    max-height: 380px;\n                    overflow-y: auto;\n                    padding: 8px 0;\n                    background: #FFFFFF;\n                }\n                \n                /* Custom Scrollbar for results */\n                .cb-modal-body::-webkit-scrollbar {\n                    width: 8px;\n                }\n                .cb-modal-body::-webkit-scrollbar-track {\n                    background: transparent;\n                }\n                .cb-modal-body::-webkit-scrollbar-thumb {\n                    background: #E2E8F0;\n                    border-radius: 10px;\n                }\n                .cb-modal-body::-webkit-scrollbar-thumb:hover {\n                    background: #CBD5E1;\n                }\n\n                /* Suggestion Section */\n                .cb-suggestions {\n                    padding: 16px 20px;\n                }\n                .cb-suggestions-title {\n                    font-size: 12px;\n                    text-transform: uppercase;\n                    letter-spacing: 0.05em;\n                    color: #94A3B8;\n                    font-weight: 600;\n                    margin-bottom: 12px;\n                }\n                .cb-suggestions-list {\n                    display: flex;\n                    flex-wrap: wrap;\n                    gap: 8px;\n                }\n                .cb-suggestion-tag {\n                    font-size: 13px;\n                    color: #475569;\n                    background: #F1F5F9;\n                    padding: 6px 14px;\n                    border-radius: 100px;\n                    cursor: pointer;\n                    transition: all 0.2s;\n                    border: 1px solid #E2E8F0;\n                }\n                .cb-suggestion-tag:hover {\n                    background: ${accentBgColor};\n                    color: ${primaryColor};\n                    border-color: ${primaryColor}44;\n                }\n\n                /* Result Item Styles */\n                .cb-result-item {\n                    display: flex;\n                    align-items: center;\n                    padding: 12px 20px;\n                    text-decoration: none;\n                    color: inherit;\n                    transition: all 0.15s ease;\n                    border-left: 3px solid transparent;\n                    cursor: pointer;\n                }\n                .cb-result-item:hover, .cb-result-item.selected {\n                    background: #FAFBFB;\n                    border-left-color: ${primaryColor};\n                }\n                .cb-result-icon {\n                    display: flex;\n                    padding: 10px;\n                    background: #F8FAFC;\n                    border-radius: 10px;\n                    margin-right: 16px;\n                    color: ${primaryColor};\n                    transition: all 0.2s;\n                }\n                .cb-result-item:hover .cb-result-icon, .cb-result-item.selected .cb-result-icon {\n                    background: ${accentBgColor};\n                }\n                .cb-result-content {\n                    flex: 1;\n                    min-width: 0; /* Ensures text truncation works if needed */\n                }\n                .cb-result-title {\n                    font-size: 15px;\n                    font-weight: 600;\n                    color: #1E293B;\n                    margin-bottom: 2px;\n                    white-space: nowrap;\n                    overflow: hidden;\n                    text-overflow: ellipsis;\n                }\n                .cb-result-desc {\n                    font-size: 12px;\n                    color: #64748B;\n                    white-space: nowrap;\n                    overflow: hidden;\n                    text-overflow: ellipsis;\n                }\n                .cb-result-badge {\n                    font-size: 11px;\n                    font-weight: 600;\n                    padding: 3px 8px;\n                    background: #F1F5F9;\n                    color: #64748B;\n                    border-radius: 6px;\n                    margin-left: 12px;\n                    text-transform: uppercase;\n                    letter-spacing: 0.02em;\n                }\n                .cb-result-arrow {\n                    color: #94A3B8;\n                    margin-left: 12px;\n                    display: flex;\n                    opacity: 0;\n                    transform: translateX(-5px);\n                    transition: all 0.2s ease;\n                }\n                .cb-result-item:hover .cb-result-arrow, .cb-result-item.selected .cb-result-arrow {\n                    opacity: 1;\n                    transform: translateX(0);\n                    color: ${primaryColor};\n                }\n\n                /* Loader and Message States */\n                .cb-loader-container {\n                    display: flex;\n                    flex-direction: column;\n                    align-items: center;\n                    justify-content: center;\n                    padding: 40px 20px;\n                    color: #64748B;\n                    gap: 12px;\n                }\n                .cb-spinner {\n                    border: 3px solid #F1F5F9;\n                    border-top: 3px solid ${primaryColor};\n                    border-radius: 50%;\n                    width: 24px;\n                    height: 24px;\n                    animation: cb-spin 0.8s linear infinite;\n                }\n                .cb-message {\n                    font-size: 14px;\n                    color: #64748B;\n                    text-align: center;\n                    padding: 40px 20px;\n                }\n\n                /* Footer Help-bar */\n                .cb-modal-footer {\n                    display: flex;\n                    justify-content: space-between;\n                    align-items: center;\n                    padding: 10px 20px;\n                    background: #FAFBFB;\n                    border-top: 1px solid #F1F5F9;\n                    color: #94A3B8;\n                    font-size: 11px;\n                }\n                .cb-footer-shortcuts {\n                    display: flex;\n                    gap: 12px;\n                }\n                .cb-shortcut-hint {\n                    display: flex;\n                    align-items: center;\n                    gap: 4px;\n                }\n                .cb-key {\n                    background: #FFFFFF;\n                    border: 1px solid #E2E8F0;\n                    border-radius: 4px;\n                    padding: 2px 5px;\n                    font-weight: 600;\n                    box-shadow: 0 1px 0 rgba(0,0,0,0.05);\n                }\n                .cb-credit {\n                    color: #94A3B8;\n                }\n                \n                /* Animations */\n                @keyframes cb-spin {\n                    0% { transform: rotate(0deg); }\n                    100% { transform: rotate(360deg); }\n                }\n                @keyframes cb-fadeIn {\n                    from { opacity: 0; }\n                    to { opacity: 1; }\n                }\n                @keyframes cb-slideUp {\n                    from { transform: translateY(15px) scale(0.98); opacity: 0; }\n                    to { transform: translateY(0) scale(1); opacity: 1; }\n                }\n\n                /* Responsive Adjustments */\n                @media (max-width: 680px) {\n                    .cb-search-overlay {\n                        padding: 0;\n                    }\n                    .cb-search-modal {\n                        max-width: 100%;\n                        height: 100%;\n                        max-height: 100vh;\n                        border-radius: 0;\n                        border: none;\n                    }\n                    .cb-modal-body {\n                        max-height: calc(100vh - 160px);\n                    }\n                    .cb-modal-footer {\n                        padding-bottom: env(safe-area-inset-bottom, 12px);\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"button\",{className:\"cb-search-trigger\",onClick:()=>setIsOpen(true),children:[/*#__PURE__*/_jsx(\"span\",{className:\"cb-trigger-icon\",children:/*#__PURE__*/_jsx(SearchIcon,{size:18,color:primaryColor})}),/*#__PURE__*/_jsx(\"span\",{className:\"cb-trigger-text\",children:placeholder})]}),isOpen&&/*#__PURE__*/_jsx(\"div\",{className:\"cb-search-overlay\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"cb-search-modal\",ref:modalRef,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"cb-modal-header\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cb-modal-search-icon\",children:/*#__PURE__*/_jsx(SearchIcon,{size:20,color:primaryColor})}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"text\",className:\"cb-modal-input\",placeholder:placeholder,value:query,onChange:e=>setQuery(e.target.value),onKeyDown:handleListKeyDown}),query&&/*#__PURE__*/_jsx(\"button\",{className:\"cb-clear-button\",onClick:()=>setQuery(\"\"),children:/*#__PURE__*/_jsx(CloseIcon,{size:16})}),!query&&/*#__PURE__*/_jsx(\"button\",{className:\"cb-clear-button\",style:{marginRight:\"-6px\"},onClick:()=>setIsOpen(false),children:/*#__PURE__*/_jsx(CloseIcon,{size:18})})]}),query.trim().length>0&&/*#__PURE__*/_jsxs(\"div\",{className:\"cb-modal-tabs\",children:[/*#__PURE__*/_jsx(\"button\",{className:`cb-tab ${activeTab===\"All\"?\"active\":\"\"}`,onClick:()=>setActiveTab(\"All\"),children:\"All\"}),/*#__PURE__*/_jsx(\"button\",{className:`cb-tab ${activeTab===\"Doctor\"?\"active\":\"\"}`,onClick:()=>setActiveTab(\"Doctor\"),children:\"Doctors\"}),/*#__PURE__*/_jsx(\"button\",{className:`cb-tab ${activeTab===\"Hospital\"?\"active\":\"\"}`,onClick:()=>setActiveTab(\"Hospital\"),children:\"Hospitals\"}),/*#__PURE__*/_jsx(\"button\",{className:`cb-tab ${activeTab===\"Treatment\"?\"active\":\"\"}`,onClick:()=>setActiveTab(\"Treatment\"),children:\"Treatments\"}),/*#__PURE__*/_jsx(\"button\",{className:`cb-tab ${activeTab===\"Service\"?\"active\":\"\"}`,onClick:()=>setActiveTab(\"Service\"),children:\"Services\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"cb-modal-body\",ref:resultsContainerRef,children:isLoading?/*#__PURE__*/_jsxs(\"div\",{className:\"cb-loader-container\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"cb-spinner\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Syncing directory index...\"})]}):error?/*#__PURE__*/_jsx(\"div\",{className:\"cb-message\",children:error}):query.trim().length===0?/* Suggestion state *//*#__PURE__*/_jsx(\"div\",{className:\"cb-suggestions\",children:parsedSuggestions.length>0&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"cb-suggestions-title\",children:suggestionsTitle}),/*#__PURE__*/_jsx(\"div\",{className:\"cb-suggestions-list\",children:parsedSuggestions.map((tag,idx)=>/*#__PURE__*/_jsx(\"span\",{className:\"cb-suggestion-tag\",onClick:()=>setQuery(tag),children:tag},idx))})]})}):results.length===0?/*#__PURE__*/_jsxs(\"div\",{className:\"cb-message\",children:[\"No results found for “\",/*#__PURE__*/_jsx(\"strong\",{children:query}),\"”\"]}):/* Search results list */results.map((item,idx)=>/*#__PURE__*/_jsxs(\"a\",{href:item.url,className:`cb-result-item ${idx===selectedIndex?\"selected\":\"\"}`,\"data-index\":idx,onMouseEnter:()=>setSelectedIndex(idx),children:[/*#__PURE__*/_jsx(\"div\",{className:\"cb-result-icon\",children:getCategoryIcon(item.category)}),/*#__PURE__*/_jsxs(\"div\",{className:\"cb-result-content\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"cb-result-title\",children:highlightText(item.title,query)}),/*#__PURE__*/_jsx(\"div\",{className:\"cb-result-desc\",children:highlightText(item.description||item.url,query)})]}),/*#__PURE__*/_jsx(\"span\",{className:\"cb-result-badge\",children:item.category}),/*#__PURE__*/_jsx(\"span\",{className:\"cb-result-arrow\",children:/*#__PURE__*/_jsx(LinkArrowIcon,{size:16,color:primaryColor})})]},item.url))}),/*#__PURE__*/_jsxs(\"div\",{className:\"cb-modal-footer\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"cb-footer-shortcuts\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"cb-shortcut-hint\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cb-key\",children:\"↑↓\"}),/*#__PURE__*/_jsx(\"span\",{children:\"to navigate\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"cb-shortcut-hint\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cb-key\",children:\"↵\"}),/*#__PURE__*/_jsx(\"span\",{children:\"to select\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"cb-shortcut-hint\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cb-key\",children:\"esc\"}),/*#__PURE__*/_jsx(\"span\",{children:\"to close\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"cb-credit\",children:\"CureBridge Care\"})]})]})})]});}// Framer property controls configuration\n// This allows the Framer sidebar to expose inputs for configuring the component's features visually.\ntry{addPropertyControls(CureBridgeSearch,{searchIndexUrl:{type:ControlType.String,title:\"Index URL\",description:\"JSON file containing website's search entries.\",defaultValue:\"https://framerusercontent.com/sites/7pytkKX1OoirpWD4Ft5RNS/searchIndex-PYUd3a0TKeKF.json\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Search doctors, treatments, hospitals, services...\"},primaryColor:{type:ControlType.Color,title:\"Brand Color\",defaultValue:\"#00A389\"},accentBgColor:{type:ControlType.Color,title:\"Hover Accent\",defaultValue:\"#EBFDF5\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#1E293B\"},modalBgColor:{type:ControlType.Color,title:\"Modal BG\",defaultValue:\"#FFFFFF\"},backdropBlur:{type:ControlType.Number,title:\"Backdrop Blur\",min:0,max:30,step:1,defaultValue:8},borderRadius:{type:ControlType.Number,title:\"Border Radius\",min:0,max:40,step:1,defaultValue:12},maxResults:{type:ControlType.Number,title:\"Max Results\",min:1,max:50,step:1,defaultValue:10},suggestionsTitle:{type:ControlType.String,title:\"Suggestions Label\",defaultValue:\"Popular Searches\"},suggestions:{type:ControlType.String,title:\"Suggestions\",description:\"Comma-separated list of popular searches.\",defaultValue:\"Knee Replacement, LASIK, Medicover Hospital, Dr. Arvind, Visa Support\"}});}catch(e){// Gracefully handle environments without the Framer visual editor module loaded (e.g. testing)\n}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CureBridgeSearch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CureBridgeSearch.map"],"mappings":"wNAC4+G,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,iBAAe,2FAA2F,cAAY,qDAAqD,eAAa,UAAU,gBAAc,UAAU,YAAU,UAAU,eAAa,UAAU,eAAa,EAAE,eAAa,GAAG,aAAW,GAAG,mBAAiB,mBAAmB,cAAY,yEAAyE,EACx8H,CAAC,EAAO,GAAWA,EAAe,EAAK,EAAO,CAAC,EAAM,GAAUA,EAAe,EAAE,EAAO,CAAC,EAAY,GAAgBA,EAAe,CAAC,CAAC,EAAO,CAAC,EAAU,GAAcA,EAAe,EAAK,EAAO,CAAC,EAAM,GAAUA,EAAe,IAAI,EAAO,CAAC,EAAU,GAAcA,EAAe,KAAK,EAAO,CAAC,EAAc,GAAkBA,EAAe,CAAC,EAAQ,EAASC,EAAa,IAAI,EAAQ,EAASA,EAAa,IAAI,EAAQ,EAAoBA,EAAa,IAAI,EAChc,EAAkBC,MAA0B,EAAY,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,EAAI,CAAC,CAAW,CAAC,EACnH,EAAUC,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