1import{a as e,G as r,A as n,y as s,e as a,a3 as t,a4 as l,a5 as o}from"./index-Drfmzrtm.js";import{a as i}from"./index-BJ81VyGP.js";import{s as c}from"./index-DYYyJAee.js";const m=()=>{const[m,d]=e(!1),g=r(null),p=n(e=>{g.current&&e.target&&g.current.contains&&!g.current.contains(e.target)&&d(!1)},[]),u=n(e=>{e.stopPropagation(),e.preventDefault(),d(e=>!e)},[]);return s(()=>(m?document.addEventListener("click",p):document.removeEventListener("click",p),()=>{document.removeEventListener("click",p)}),[m,p]),a("div",{ref:g,style:{width:"78px",marginTop:"-10px"},className:"flex flex-col items-center relative",children:[a("div",{className:"scale-[0.655]",children:a(i,{})}),a("img",{src:"assets/icons/get-plugin.svg",width:50,alt:"get-plugin",onClick:u,className:"cursor-pointer hover:scale-105 transition-transform mt-[-10px]",style:{userSelect:"none"}}),m&&a("div",{className:"absolute top-full mt-2 z-50 bg-white border border-gray-200 rounded-lg shadow-lg min-w-[200px]",children:a("div",{className:"py-2",children:[a("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-4 py-2 hover:bg-gray-5 no-underline",onClick:()=>d(!1),children:[a("img",{src:"assets/icons/figma-black-bg-logo.svg",width:32,className:"mr-3",alt:"Figma"}),a("span",{className:c.pluginDropdownText,children:"Figma Plugin"})]}),a("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-4 py-2 hover:bg-gray-50 no-underline",onClick:()=>d(!1),children:[a("img",{src:"assets/icons/penpot-logo-square.svg",width:32,className:"mr-3",alt:"Penpot"}),a("span",{className:c.pluginDropdownText,children:"Penpot Plugin"})]}),a("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-4 py-2 hover:bg-gray-50 no-underline",onClick:()=>d(!1),children:[a("img",{src:"assets/icons/adobe-xd-logo.svg",width:32,className:"mr-3",alt:"Adobe XD"}),a("span",{className:c.pluginDropdownText,children:"Adobe XD Plugin"})]})]})})]})};export{m as P};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.