1import{j as o}from"./react-vendor-Dc5dhXQW.js";import{u as k}from"./i18n-vendor-CyU1p4Oa.js";import{p as s,q as p,r as m,s as d,u as f,v as u,B as x}from"./ui-vendor-Is6G0tdy.js";import"./utils-vendor-BcdFrGdH.js";import"./markdown-vendor-elH94dlU.js";function I({onCreate:r,onFromPool:i,onUploadZip:n,onFromUrl:a,onBrowseMarket:t,uploading:e}){const{t:l}=k(),c=[{key:"create",label:l("skills.createSkill"),icon:o.jsx(s,{}),onClick:r},...i?[{key:"from-pool",label:l("skills.downloadFromPool"),icon:o.jsx(p,{}),onClick:i}]:[],{key:"upload-zip",label:l("skills.uploadZip"),icon:o.jsx(m,{}),disabled:e,onClick:n},{key:"from-url",label:l("skills.importHub"),icon:o.jsx(d,{}),onClick:a},{type:"divider"},{key:"market",label:l("market.browseMarket"),icon:o.jsx(f,{}),onClick:t}];return o.jsx(u,{menu:{items:c},placement:"bottomRight",children:o.jsx(x,{type:"primary",icon:o.jsx(s,{}),loading:e,children:l("skills.addSkill")})})}export{I as AddSkillDropdown};
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.