{"version":3,"file":"Hero.BlO2OZxc.mjs","names":["useState","useRef","useState","HomeFactory","React"],"sources":["https:/framerusercontent.com/modules/YIFjgjuAh3B5tU5V6NlJ/dMeIkEKyRhay7RGnWALS/GlassBackButton.js","https:/framerusercontent.com/modules/eTFACFXlvp5mgG2YpBpd/wqDmZcxkThZ32xkBavIK/Home.js","https:/framer.com/m/hero-icons/Home.js@0.0.28","https:/framerusercontent.com/modules/hKjtTuWGYB451ckw6eTN/bbq95ZQZ142lE2fXscHd/Hero.js"],"sourcesContent":["// Premium Liquid Glass Back Button with Apple-inspired aesthetic\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function LiquidGlassBackButton(props){const{label,showText,iconSize,iconWeight,textSize,textWeight,font,textColor,glassBackground,glassBorderColor,highlightColor,outerShadowColor,innerShadowColor,hoverTint,paddingTop,paddingRight,paddingBottom,paddingLeft,gap,borderRadius,blurAmount,glassOpacity,glassTransparency,highlightIntensity,lightDirection,outerShadowIntensity,outerShadowBlur,outerShadowSpread,innerShadowIntensity,innerShadowBlur,innerShadowSpread,noiseOpacity,style}=props;const[isHovered,setIsHovered]=useState(false);const[isPressed,setIsPressed]=useState(false);const handleClick=()=>{if(typeof window!==\"undefined\"){window.history.back();}};// Calculate light position based on direction (0-360 degrees)\nconst lightAngleRad=lightDirection*Math.PI/180;const lightX=50+Math.cos(lightAngleRad)*30// 30% offset from center\n;const lightY=50+Math.sin(lightAngleRad)*30;// Calculate enhanced glass transparency\nconst finalGlassOpacity=glassOpacity*glassTransparency;// Create more transparent border with enhanced lighting\nconst borderOpacity=.05*glassTransparency;const borderHighlightOpacity=highlightIntensity*.4*glassTransparency;// Calculate inner border radius (accounts for the 1px border)\nconst innerBorderRadius=Math.max(0,borderRadius-1);const buttonStyle={position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:style?.width??\"auto\",gap:showText?gap:0,paddingTop:paddingTop,paddingRight:paddingRight,paddingBottom:paddingBottom,paddingLeft:paddingLeft,minWidth:44,minHeight:44,borderRadius,border:`1px solid transparent`,cursor:\"pointer\",userSelect:\"none\",outline:\"none\",overflow:\"hidden\",backdropFilter:`blur(${blurAmount}px)`,WebkitBackdropFilter:`blur(${blurAmount}px)`,// Replaced circular radial-gradients with linear gradients that respect shape\nbackground:`\n            linear-gradient(${lightDirection}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.8})`)} 0%,\n                transparent 40%\n            ),\n            linear-gradient(${lightDirection+90}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.3})`)} 0%,\n                transparent 30%\n            ),\n            linear-gradient(${lightDirection+135}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.6})`)} 0%,\n                ${glassBackground.replace(/[\\d\\.]+\\)$/g,`${finalGlassOpacity})`)} 50%,\n                ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${innerShadowIntensity*.3})`)} 100%\n            ),\n            linear-gradient(to bottom, \n                transparent 0%, \n                ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${noiseOpacity})`)} 100%\n            )\n        `,boxShadow:`\n            0 ${outerShadowBlur}px ${outerShadowBlur*1.5}px ${outerShadowSpread}px ${outerShadowColor.replace(/[\\d\\.]+\\)$/g,`${outerShadowIntensity})`)},\n            inset 0 0 0 1px ${glassBorderColor.replace(/[\\d\\.]+\\)$/g,`${borderOpacity})`)},\n            inset 0 1px 1px 0 ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${borderHighlightOpacity})`)},\n            inset 0 -${innerShadowBlur}px ${innerShadowBlur}px ${innerShadowSpread}px ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${innerShadowIntensity})`)}\n        `,transform:`scale(${isPressed?.95:isHovered?1.05:1}) translateY(${isHovered?-2:0}px) translateZ(0)`,transition:`\n            transform 1.2s cubic-bezier(0.23, 1, 0.32, 1),\n            background 0.8s cubic-bezier(0.4, 0, 0.2, 1),\n            box-shadow 1.0s cubic-bezier(0.4, 0, 0.2, 1),\n            backdrop-filter 0.8s ease-out\n        `,willChange:\"transform, background, box-shadow\",...style};// Overlay div style for the gradient border effect (replaces ::before pseudo-element)\nconst borderOverlayStyle={content:'\"\"',position:\"absolute\",top:0,left:0,right:0,bottom:0,borderRadius:borderRadius,padding:1,background:`linear-gradient(${lightDirection}deg, \n            ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${borderHighlightOpacity*2})`)}, \n            transparent 30%, \n            transparent 70%, \n            ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${borderOpacity*2})`)}\n        )`,WebkitMask:\"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)\",WebkitMaskComposite:\"xor\",mask:\"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)\",maskComposite:\"exclude\",pointerEvents:\"none\"};if(isHovered){buttonStyle.background=`\n            linear-gradient(${lightDirection}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*1.4})`)} 0%,\n                transparent 35%\n            ),\n            linear-gradient(${lightDirection+45}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.8})`)} 0%,\n                transparent 40%\n            ),\n            linear-gradient(${lightDirection+90}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.5})`)} 0%,\n                transparent 35%\n            ),\n            linear-gradient(${lightDirection+135}deg, \n                ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*1.1})`)} 0%,\n                ${glassBackground.replace(/[\\d\\.]+\\)$/g,`${finalGlassOpacity+.15})`)} 50%,\n                ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${innerShadowIntensity*.5})`)} 100%\n            ),\n            ${hoverTint.replace(/[\\d\\.]+\\)$/g,\"0.2)\")},\n            linear-gradient(to bottom, \n                transparent 0%, \n                ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${noiseOpacity*.7})`)} 100%\n            )\n        `;buttonStyle.boxShadow=`\n            0 ${outerShadowBlur*1.5}px ${outerShadowBlur*2.5}px ${outerShadowSpread-1}px ${outerShadowColor.replace(/[\\d\\.]+\\)$/g,`${outerShadowIntensity*1.6})`)},\n            0 ${outerShadowBlur*.5}px ${outerShadowBlur}px ${outerShadowSpread+2}px ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${highlightIntensity*.3})`)},\n            inset 0 0 0 1px ${glassBorderColor.replace(/[\\d\\.]+\\)$/g,`${borderOpacity*2})`)},\n            inset 0 2px 4px 0 ${highlightColor.replace(/[\\d\\.]+\\)$/g,`${borderHighlightOpacity*2})`)},\n            inset 0 -${innerShadowBlur}px ${innerShadowBlur*1.5}px ${innerShadowSpread}px ${innerShadowColor.replace(/[\\d\\.]+\\)$/g,`${innerShadowIntensity*.7})`)}\n        `;buttonStyle.backdropFilter=`blur(${blurAmount*1.2}px)`;buttonStyle.WebkitBackdropFilter=`blur(${blurAmount*1.2}px)`;}if(isPressed){buttonStyle.transform=`scale(0.96) translateY(0px) translateZ(0)`;buttonStyle.transition=`\n            transform 0.08s cubic-bezier(0.25, 0.46, 0.45, 0.94),\n            background 0.08s ease-out,\n            filter 0.08s ease-out\n        `;}const iconStyle={width:iconSize,height:iconSize,color:textColor,flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"};const textStyle={...font,color:textColor,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",fontSize:textSize,fontWeight:textWeight};const focusStyle={outline:`2px solid ${textColor.replace(/[\\d\\.]+\\)$/g,\"0.5)\")}`,outlineOffset:\"2px\"};return /*#__PURE__*/_jsxs(\"button\",{style:buttonStyle,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>{setIsHovered(false);setIsPressed(false);},onMouseDown:()=>setIsPressed(true),onMouseUp:()=>setIsPressed(false),onClick:handleClick,onFocus:e=>{// Only show focus outline when navigating with keyboard, not on click\nif(e.target.matches(\":focus-visible\")){Object.assign(e.target.style,focusStyle);}},onBlur:e=>{e.target.style.outline=\"none\";e.target.style.outlineOffset=\"0\";},\"aria-label\":!showText?\"Go back\":label,children:[/*#__PURE__*/_jsx(\"div\",{style:borderOverlayStyle}),/*#__PURE__*/_jsx(\"div\",{style:iconStyle,children:/*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:iconWeight,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})})}),showText&&/*#__PURE__*/_jsx(\"span\",{style:textStyle,children:label})]});}addPropertyControls(LiquidGlassBackButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Back\"},showText:{type:ControlType.Boolean,title:\"Show Text\",defaultValue:true,enabledTitle:\"With Text\",disabledTitle:\"Icon Only\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:28,min:12,max:150,step:1,unit:\"px\"},iconWeight:{type:ControlType.Number,title:\"Icon Weight\",defaultValue:2,min:1,max:5,step:.1,unit:\"px\"},textSize:{type:ControlType.Number,title:\"Text Size\",defaultValue:28,min:10,max:150,step:1,unit:\"px\"},textWeight:{type:ControlType.Number,title:\"Text Weight\",defaultValue:500,min:100,max:900,step:100},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"rgba(255, 255, 255, 0.85)\"},glassBackground:{type:ControlType.Color,title:\"Glass Background\",defaultValue:\"rgba(199, 199, 199, 0.45)\"},glassBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"rgba(255, 255, 255, 0.3)\"},highlightColor:{type:ControlType.Color,title:\"Highlight Color\",defaultValue:\"rgba(163, 163, 163, 0.6)\"},outerShadowColor:{type:ControlType.Color,title:\"Outer Shadow Color\",defaultValue:\"rgba(41, 41, 41, 0.1)\"},innerShadowColor:{type:ControlType.Color,title:\"Inner Shadow Color\",defaultValue:\"rgba(255, 255, 255, 0.05)\"},hoverTint:{type:ControlType.Color,title:\"Hover Tint\",defaultValue:\"rgba(209, 209, 209, 0.15)\"},paddingTop:{type:ControlType.Number,title:\"Padding Top\",defaultValue:14,min:4,max:40,step:1,unit:\"px\"},paddingRight:{type:ControlType.Number,title:\"Padding Right\",defaultValue:21,min:8,max:40,step:1,unit:\"px\"},paddingBottom:{type:ControlType.Number,title:\"Padding Bottom\",defaultValue:14,min:4,max:40,step:1,unit:\"px\"},paddingLeft:{type:ControlType.Number,title:\"Padding Left\",defaultValue:21,min:8,max:40,step:1,unit:\"px\"},gap:{type:ControlType.Number,title:\"Icon-Text Gap\",defaultValue:2,min:2,max:16,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:21,min:0,max:50,step:1,unit:\"px\"},blurAmount:{type:ControlType.Number,title:\"Blur Amount\",defaultValue:10,min:5,max:50,step:1,unit:\"px\"},glassOpacity:{type:ControlType.Number,title:\"Glass Opacity\",defaultValue:.25,min:.1,max:.9,step:.05},glassTransparency:{type:ControlType.Number,title:\"Glass Transparency\",defaultValue:.5,min:.3,max:1.5,step:.1},highlightIntensity:{type:ControlType.Number,title:\"Highlight Intensity\",defaultValue:.15,min:0,max:1,step:.05},lightDirection:{type:ControlType.Number,title:\"Light Direction\",defaultValue:225,min:0,max:360,step:15,unit:\"\\xb0\"},outerShadowIntensity:{type:ControlType.Number,title:\"Outer Shadow Intensity\",defaultValue:.2,min:0,max:.5,step:.05},outerShadowBlur:{type:ControlType.Number,title:\"Outer Shadow Blur\",defaultValue:5,min:5,max:40,step:1,unit:\"px\"},outerShadowSpread:{type:ControlType.Number,title:\"Outer Shadow Spread\",defaultValue:-2,min:-10,max:10,step:1,unit:\"px\"},innerShadowIntensity:{type:ControlType.Number,title:\"Inner Shadow Intensity\",defaultValue:.14,min:0,max:.2,step:.01},innerShadowBlur:{type:ControlType.Number,title:\"Inner Shadow Blur\",defaultValue:3,min:2,max:20,step:1,unit:\"px\"},innerShadowSpread:{type:ControlType.Number,title:\"Inner Shadow Spread\",defaultValue:-1,min:-5,max:5,step:1,unit:\"px\"},noiseOpacity:{type:ControlType.Number,title:\"Noise Opacity\",defaultValue:.06,min:0,max:.1,step:.01}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LiquidGlassBackButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlassBackButton.map","let Component;\nvar Home_default = (React) => {\n  if (!Component) {\n    const HomeIcon = React.forwardRef(function HomeIcon2({\n      title,\n      titleId,\n      ...props\n    }, svgRef) {\n      return /* @__PURE__ */ React.createElement(\"svg\", Object.assign({\n        xmlns: \"http://www.w3.org/2000/svg\",\n        viewBox: \"0 0 24 24\",\n        fill: \"currentColor\",\n        \"aria-hidden\": \"true\",\n        \"data-slot\": \"icon\",\n        ref: svgRef,\n        \"aria-labelledby\": titleId\n      }, props), title ? /* @__PURE__ */ React.createElement(\"title\", {\n        id: titleId\n      }, title) : null, /* @__PURE__ */ React.createElement(\"path\", {\n        d: \"M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z\"\n      }), /* @__PURE__ */ React.createElement(\"path\", {\n        d: \"m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z\"\n      }));\n    });\n    Component = HomeIcon;\n  }\n  return Component;\n};\nconst __FramerMetadata__ = {\n  exports: {\n    default: {\n      type: \"reactComponent\",\n      slots: [],\n      annotations: { framerContractVersion: \"1\" }\n    },\n    __FramerMetadata__: { type: \"variable\" }\n  }\n};\nexport {\n  __FramerMetadata__,\n  Home_default as default\n};\n","/*\n * Home (hero-icons/Home@0.0.28)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/eTFACFXlvp5mgG2YpBpd/wqDmZcxkThZ32xkBavIK/Home.js\"\nexport { default } from \"https://framerusercontent.com/modules/eTFACFXlvp5mgG2YpBpd/wqDmZcxkThZ32xkBavIK/Home.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";import{NullState}from\"https://framer.com/m/framer/icon-nullstate.js@0.7.0\";import HomeFactory from\"https://framer.com/m/hero-icons/Home.js@0.0.28\";import{defaultEvents,useIconSelection}from\"https://framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js\";export const iconKeys=[\"AcademicCap\",\"AdjustmentsVertical\",\"ArchiveBox\",\"ArchiveBoxArrowDown\",\"ArchiveBoxXMark\",\"ArrowDown\",\"ArrowDownCircle\",\"ArrowDownLeft\",\"ArrowDownOnSquare\",\"ArrowDownRight\",\"ArrowDownTray\",\"ArrowLeft\",\"ArrowLeftCircle\",\"ArrowLeftOnRectangle\",\"ArrowLongDown\",\"ArrowLongLeft\",\"ArrowLongRight\",\"ArrowLongUp\",\"ArrowPath\",\"ArrowRight\",\"ArrowRightCircle\",\"ArrowSmallDown\",\"ArrowSmallLeft\",\"ArrowSmallRight\",\"ArrowSmallUp\",\"ArrowTrendingDown\",\"ArrowTrendingUp\",\"ArrowUp\",\"ArrowUpCircle\",\"ArrowUpLeft\",\"ArrowUpOnSquare\",\"ArrowUpOnSquareStack\",\"ArrowUpRight\",\"ArrowUpTray\",\"ArrowUturnDown\",\"ArrowUturnLeft\",\"ArrowUturnRight\",\"ArrowUturnUp\",\"ArrowsPointingIn\",\"ArrowsPointingOut\",\"ArrowsRightLeft\",\"ArrowsUpDown\",\"AtSymbol\",\"Backspace\",\"Backward\",\"Banknotes\",\"Bars2\",\"Bars3\",\"Bars3BottomLeft\",\"Bars3BottomRight\",\"Bars3CenterLeft\",\"Bars4\",\"BarsArrowDown\",\"BarsArrowUp\",\"Battery0\",\"Battery100\",\"Battery50\",\"Beaker\",\"Bell\",\"BellAlert\",\"BellSlash\",\"BellSnooze\",\"Bolt\",\"BoltSlash\",\"BookOpen\",\"Bookmark\",\"BookmarkSlash\",\"BookmarkSquare\",\"Briefcase\",\"BugAnt\",\"BuildingLibrary\",\"BuildingOffice\",\"BuildingOffice2\",\"BuildingStorefront\",\"Cake\",\"Calculator\",\"Calendar\",\"CalendarDays\",\"Camera\",\"ChartBar\",\"ChartBarSquare\",\"ChartPie\",\"ChatBubbleLeft\",\"ChatBubbleLeftRight\",\"ChatBubbleOvalLeft\",\"Check\",\"CheckBadge\",\"CheckCircle\",\"ChevronDoubleDown\",\"ChevronDoubleLeft\",\"ChevronDoubleRight\",\"ChevronDoubleUp\",\"ChevronDown\",\"ChevronLeft\",\"ChevronRight\",\"ChevronUp\",\"ChevronUpDown\",\"CircleStack\",\"Clipboard\",\"ClipboardDocument\",\"Clock\",\"Cloud\",\"CloudArrowDown\",\"CloudArrowUp\",\"CodeBracket\",\"CodeBracketSquare\",\"Cog\",\"Cog6Tooth\",\"Cog8Tooth\",\"CommandLine\",\"ComputerDesktop\",\"CpuChip\",\"CreditCard\",\"Cube\",\"CubeTransparent\",\"CurrencyBangladeshi\",\"CurrencyDollar\",\"CurrencyEuro\",\"CurrencyPound\",\"CurrencyRupee\",\"CurrencyYen\",\"CursorArrowRays\",\"CursorArrowRipple\",\"DevicePhoneMobile\",\"DeviceTablet\",\"Document\",\"DocumentArrowDown\",\"DocumentArrowUp\",\"DocumentChartBar\",\"DocumentCheck\",\"DocumentDuplicate\",\"DocumentMinus\",\"DocumentPlus\",\"DocumentText\",\"EllipsisHorizontal\",\"EllipsisVertical\",\"Envelope\",\"EnvelopeOpen\",\"ExclamationCircle\",\"ExclamationTriangle\",\"Eye\",\"EyeDropper\",\"EyeSlash\",\"FaceFrown\",\"FaceSmile\",\"Film\",\"FingerPrint\",\"Fire\",\"Flag\",\"Folder\",\"FolderArrowDown\",\"FolderMinus\",\"FolderOpen\",\"FolderPlus\",\"Forward\",\"Funnel\",\"Gif\",\"Gift\",\"GiftTop\",\"GlobeAlt\",\"GlobeAmericas\",\"GlobeAsiaAustralia\",\"GlobeEuropeAfrica\",\"HandRaised\",\"HandThumbDown\",\"HandThumbUp\",\"Hashtag\",\"Heart\",\"Home\",\"HomeModern\",\"Identification\",\"Inbox\",\"InboxArrowDown\",\"InboxStack\",\"InformationCircle\",\"Key\",\"Language\",\"Lifebuoy\",\"LightBulb\",\"Link\",\"ListBullet\",\"LockClosed\",\"LockOpen\",\"MagnifyingGlass\",\"MagnifyingGlassMinus\",\"MagnifyingGlassPlus\",\"Map\",\"MapPin\",\"Megaphone\",\"Microphone\",\"Minus\",\"MinusCircle\",\"MinusSmall\",\"Moon\",\"MusicalNote\",\"Newspaper\",\"NoSymbol\",\"PaintBrush\",\"PaperAirplane\",\"PaperClip\",\"Pause\",\"PauseCircle\",\"Pencil\",\"PencilSquare\",\"Phone\",\"PhoneArrowDownLeft\",\"PhoneArrowUpRight\",\"PhoneXMark\",\"Photo\",\"Play\",\"PlayCircle\",\"PlayPause\",\"Plus\",\"PlusCircle\",\"PlusSmall\",\"Power\",\"PresentationChartBar\",\"Printer\",\"PuzzlePiece\",\"QrCode\",\"QuestionMarkCircle\",\"QueueList\",\"Radio\",\"ReceiptPercent\",\"ReceiptRefund\",\"RectangleGroup\",\"RectangleStack\",\"RocketLaunch\",\"Rss\",\"Scale\",\"Scissors\",\"Server\",\"ServerStack\",\"Share\",\"ShieldCheck\",\"ShieldExclamation\",\"ShoppingBag\",\"ShoppingCart\",\"Signal\",\"SignalSlash\",\"Sparkles\",\"SpeakerWave\",\"SpeakerXMark\",\"Square2Stack\",\"Square3Stack3D\",\"Squares2X2\",\"SquaresPlus\",\"Star\",\"Stop\",\"StopCircle\",\"Sun\",\"Swatch\",\"TableCells\",\"Tag\",\"Ticket\",\"Trash\",\"Trophy\",\"Truck\",\"Tv\",\"User\",\"UserCircle\",\"UserGroup\",\"UserMinus\",\"UserPlus\",\"Users\",\"Variable\",\"VideoCamera\",\"VideoCameraSlash\",\"ViewColumns\",\"ViewfinderCircle\",\"Wallet\",\"Wifi\",\"Window\",\"Wrench\",\"WrenchScrewdriver\",\"XCircle\",\"XMark\",\"index\"];const moduleBaseUrl=\"https://framer.com/m/hero-icons/\";const lowercaseIconKeyPairs=iconKeys.reduce((res,key)=>{res[key.toLowerCase()]=key;return res;},{});/**\n * HERO\n *\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export function Icon(props){const{color,selectByList,iconSearch,iconSelection,onClick,onMouseDown,onMouseUp,onMouseEnter,onMouseLeave,mirrored}=props;const isMounted=useRef(false);const iconKey=useIconSelection(iconKeys,selectByList,iconSearch,iconSelection,lowercaseIconKeyPairs);// Selected Icon Module\nconst[SelectedIcon,setSelectedIcon]=useState(iconKey===\"Home\"?HomeFactory(React):null);// Import the selected module or reset so null state\nasync function importModule(){// Get the selected module\ntry{const iconModuleUrl=`${moduleBaseUrl}${iconKey}.js@0.0.28`;const module=await import(/* webpackIgnore: true */iconModuleUrl);if(isMounted.current)setSelectedIcon(module.default(React));}catch{if(isMounted.current)setSelectedIcon(null);}}// Import module when new style or icon is selected\nuseEffect(()=>{isMounted.current=true;importModule();return()=>{isMounted.current=false;};},[iconKey]);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const emptyState=isOnCanvas?/*#__PURE__*/_jsx(NullState,{}):null;return /*#__PURE__*/_jsx(motion.div,{style:{display:\"contents\"},onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,children:SelectedIcon?/*#__PURE__*/_jsx(SelectedIcon,{style:{width:\"100%\",height:\"100%\",transform:mirrored?\"scale(-1, 1)\":undefined},color:color}):emptyState});}Icon.displayName=\"Hero\";Icon.defaultProps={width:24,height:24,iconSelection:\"Home\",iconSearch:\"Home\",color:\"#66F\",selectByList:true,mirrored:false};addPropertyControls(Icon,{selectByList:{type:ControlType.Boolean,title:\"Select\",enabledTitle:\"List\",disabledTitle:\"Search\",defaultValue:Icon.defaultProps.selectByList},iconSelection:{type:ControlType.Enum,options:iconKeys,defaultValue:Icon.defaultProps.iconSelection,title:\"Name\",hidden:({selectByList})=>!selectByList,description:\"Find every icon name on the [Hero site](https://heroicons.com/)\"},iconSearch:{type:ControlType.String,title:\"Name\",placeholder:\"Menu, Wifi, Box…\",hidden:({selectByList})=>selectByList},mirrored:{type:ControlType.Boolean,enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:Icon.defaultProps.mirrored},color:{type:ControlType.Color,title:\"Color\",defaultValue:Icon.defaultProps.color},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"IconProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"iconKeys\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL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