Initial commit

This commit is contained in:
Alex committed 2026-11-02 22:54:14 +08:00
commit 57fc3525eb
7311 files changed
+1291398

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
/**
* @license lucide v1.26.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
(function(a,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(a=typeof globalThis<"u"?globalThis:a||self,i(a.lucide={}))})(this,(function(a){"use strict";const i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},ka=([t,h,d])=>{const c=document.createElementNS("http://www.w3.org/2000/svg",t);return Object.keys(h).forEach(M=>{c.setAttribute(M,String(h[M]))}),d?.length&&d.forEach(M=>{const p=ka(M);c.appendChild(p)}),c},Pa=(t,h={})=>{const d={...i,...h};return ka(["svg",d,t])},GA=t=>{for(const h in t)if(h.startsWith("aria-")||h==="role"||h==="title")return!0;return!1},WA=(...t)=>t.filter((h,d,c)=>!!h&&h.trim()!==""&&c.indexOf(h)===d).join(" ").trim(),EA=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(h,d,c)=>c?c.toUpperCase():d.toLowerCase()),IA=t=>{const h=EA(t);return h.charAt(0).toUpperCase()+h.slice(1)},XA=t=>Array.from(t.attributes).reduce((h,d)=>(h[d.name]=d.value,h),{}),Ba=t=>typeof t=="string"?t:!t||!t.class?"":t.class&&typeof t.class=="string"?t.class.split(" "):t.class&&Array.isArray(t.class)?t.class:"",za=(t,{nameAttr:h,icons:d,attrs:c})=>{const M=t.getAttribute(h);if(M==null)return;const p=IA(M),La=d[p];if(!La)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const fa=XA(t),jA=GA(fa)?{}:{"aria-hidden":"true"},OA={...i,"data-lucide":M,...jA,...c,...fa},NA=Ba(fa),KA=Ba(c),ZA=WA("lucide",`lucide-${M}`,...NA,...KA);ZA&&Object.assign(OA,{class:ZA});const QA=Pa(La,OA);return t.parentNode?.replaceChild(QA,t)},Da=[["path",{d:"m14 12 4 4 4-4"}],["path",{d:"M18 16V7"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],Fa=[["path",{d:"m14 11 4-4 4 4"}],["path",{d:"M18 16V7"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],Ra=[["circle",{cx:"16",cy:"4",r:"1"}],["path",{d:"m18 19 1-7-6 1"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6"}]],ba=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]],qa=[["path",{d:"m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16"}],["path",{d:"M15.697 14h5.606"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],Ta=[["path",{d:"M10 13H6"}],["path",{d:"M10 15v-4a2 2 0 0 0-4 0v4"}],["path",{d:"M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}]],Ua=[["path",{d:"M18 17.5a2.5 2.5 0 1 1-4 2.03V12"}],["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"}],["path",{d:"M6 8h12"}],["path",{d:"M6.6 15.572A2 2 0 1 0 10 17v-5"}]],Oa=[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"}],["path",{d:"m12 15 5 6H7Z"}]],g=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"M9 13h6"}]],C=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"m9 13 2 2 4-4"}]],Za=[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26"}],["path",{d:"M19.9 14.25a8 8 0 0 0-9.15-9.15"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.26 18.67 4 21"}],["path",{d:"m2 2 20 20"}],["path",{d:"M4 4 2 6"}]],u=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"M12 10v6"}],["path",{d:"M9 13h6"}]],Ga=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M12 9v4l2 2"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}]],Wa=[["path",{d:"M11 21c0-2.5 2-2.5 2-5"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5"}],["path",{d:"m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8"}],["path",{d:"M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5"}]],Ea=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3"}]],Ia=[["path",{d:"M2 12h20"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1"}]],Xa=[["path",{d:"M12 2v20"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1"}]],ja=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2Line truncated
If you want to use all the icons you can import it like:
\`import { createIcons, icons } from 'lucide';
lucide.createIcons({icons});\``);if(typeof c>"u")throw new Error("`createIcons()` only works in a browser environment.");if(Array.from(c.querySelectorAll(`[${h}]`)).forEach(p=>za(p,{nameAttr:h,icons:t,attrs:d})),M&&Array.from(c.querySelectorAll("template")).forEach(p=>UA({icons:t,nameAttr:h,attrs:d,root:p.content,inTemplates:M})),h==="data-lucide"){const p=c.querySelectorAll("[icon-name]");p.length>0&&(console.warn("[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide"),Array.from(p).forEach(La=>za(La,{nameAttr:"icon-name",icons:t,attrs:d})))}};a.AArrowDown=Da,a.AArrowUp=Fa,a.ALargeSmall=qa,a.Accessibility=Ra,a.Activity=ba,a.ActivitySquare=d0,a.Ad=Ta,a.AirVent=Ua,a.Airplay=Oa,a.AlarmCheck=C,a.AlarmClock=Ga,a.AlarmClockCheck=C,a.AlarmClockMinus=g,a.AlarmClockOff=Za,a.AlarmClockPlus=u,a.AlarmMinus=g,a.AlarmPlus=u,a.AlarmSmoke=Wa,a.Album=Ea,a.AlertCircle=K,a.AlertOctagon=D2,a.AlertTriangle=ra,a.AlignCenter=ca,a.AlignCenterHorizontal=Ia,a.AlignCenterVertical=Xa,a.AlignEndHorizontal=ja,a.AlignEndVertical=Ka,a.AlignHorizontalDistributeCenter=Na,a.AlignHorizontalDistributeEnd=Qa,a.AlignHorizontalDistributeStart=Ja,a.AlignHorizontalJustifyCenter=Ya,a.AlignHorizontalJustifyEnd=_a,a.AlignHorizontalJustifyStart=xa,a.AlignHorizontalSpaceAround=at,a.AlignHorizontalSpaceBetween=ht,a.AlignJustify=pa,a.AlignLeft=s,a.AlignRight=Ma,a.AlignStartHorizontal=tt,a.AlignStartVertical=dt,a.AlignVerticalDistributeCenter=ct,a.AlignVerticalDistributeEnd=Mt,a.AlignVerticalDistributeStart=pt,a.AlignVerticalJustifyCenter=lt,a.AlignVerticalJustifyEnd=it,a.AlignVerticalJustifyStart=nt,a.AlignVerticalSpaceAround=et,a.AlignVerticalSpaceBetween=rt,a.Ambulance=ot,a.Ampersand=$t,a.Ampersands=vt,a.Amphora=mt,a.Anchor=yt,a.Angry=st,a.Annoyed=gt,a.Antenna=Ct,a.Anvil=ut,a.Aperture=At,a.AppWindow=wt,a.AppWindowMac=Ht,a.Apple=Vt,a.Archive=kt,a.ArchiveRestore=St,a.ArchiveX=Lt,a.AreaChart=b,a.Armchair=ft,a.ArrowBigDown=Bt,a.ArrowBigDownDash=Pt,a.ArrowBigLeft=Dt,a.ArrowBigLeftDash=zt,a.ArrowBigRight=Rt,a.ArrowBigRightDash=Ft,a.ArrowBigUp=qt,a.ArrowBigUpDash=bt,a.ArrowDown=Nt,a.ArrowDown01=Tt,a.ArrowDown10=Ut,a.ArrowDownAZ=A,a.ArrowDownAz=A,a.ArrowDownCircle=Q,a.ArrowDownFromLine=Ot,a.ArrowDownLeft=Zt,a.ArrowDownLeftFromCircle=Y,a.ArrowDownLeftFromSquare=i0,a.ArrowDownLeftSquare=c0,a.ArrowDownNarrowWide=Gt,a.ArrowDownRight=Wt,a.ArrowDownRightFromCircle=_,a.ArrowDownRightFromSquare=n0,a.ArrowDownRightSquare=M0,a.ArrowDownSquare=p0,a.ArrowDownToDot=It,a.ArrowDownToLine=Et,a.ArrowDownUp=Xt,a.ArrowDownWideNarrow=H,a.ArrowDownZA=V,a.ArrowDownZa=V,a.ArrowLeft=Jt,a.ArrowLeftCircle=J,a.ArrowLeftFromLine=jt,a.ArrowLeftRight=Kt,a.ArrowLeftSquare=l0,a.ArrowLeftToLine=Qt,a.ArrowRight=ah,a.ArrowRightCircle=t1,a.ArrowRightFromLine=Yt,a.ArrowRightLeft=_t,a.ArrowRightSquare=o0,a.ArrowRightToLine=xt,a.ArrowUp=eh,a.ArrowUp01=th,a.ArrowUp10=hh,a.ArrowUpAZ=w,a.ArrowUpAz=w,a.ArrowUpCircle=h1,a.ArrowUpDown=dh,a.ArrowUpFromDot=ch,a.ArrowUpFromLine=Mh,a.ArrowUpLeft=ph,a.ArrowUpLeftFromCircle=x,a.ArrowUpLeftFromSquare=e0,a.ArrowUpLeftSquare=v0,a.ArrowUpNarrowWide=S,a.ArrowUpRight=lh,a.ArrowUpRightFromCircle=a1,a.ArrowUpRightFromSquare=r0,a.ArrowUpRightSquare=$0,a.ArrowUpSquare=m0,a.ArrowUpToLine=ih,a.ArrowUpWideNarrow=nh,a.ArrowUpZA=L,a.ArrowUpZa=L,a.ArrowsUpFromLine=oh,a.Asterisk=rh,a.AsteriskSquare=y0,a.Astroid=vh,a.AtSign=$h,a.Atom=mh,a.AudioLines=yh,a.AudioWaveform=Ch,a.Award=sh,a.Axe=gh,a.Axis3D=f,a.Axis3d=f,a.Baby=Ah,a.Backpack=uh,a.Badge=Th,a.BadgeAlert=Hh,a.BadgeCent=Vh,a.BadgeCheck=k,a.BadgeDollarSign=wh,a.BadgeEuro=Sh,a.BadgeHelp=P,a.BadgeIndianRupee=Lh,a.BadgeInfo=fh,a.BadgeJapaneseYen=kh,a.BadgeMinus=Ph,a.BadgePercent=Bh,a.BadgePlus=zh,a.BadgePoundSterling=Dh,a.BadgeQuestionMark=P,a.BadgeRussianRuble=Fh,a.BadgeSwissFranc=Rh,a.BadgeTurkishLira=bh,a.BadgeX=qh,a.BaggageClaim=Uh,a.Balloon=Oh,a.Ban=Zh,a.Banana=Gh,a.Bandage=Wh,a.Banknote=Nh,a.BanknoteArrowDown=Eh,a.BanknoteArrowUp=Ih,a.BanknoteCheck=Xh,a.BanknoteX=jh,a.BarChart=E,a.BarChart2=I,a.BarChart3=G,a.BarChart4=Z,a.BarChartBig=O,a.BarChartHorizontal=T,a.BarChartHorizontalBig=q,a.Barcode=Kh,a.Barrel=Qh,a.Baseline=Jh,a.Bath=Yh,a.Battery=c4,a.BatteryCharging=_h,a.BatteryFull=xh,a.BatteryLow=a4,a.BatteryMedium=t4,a.BatteryPlus=h4,a.BatteryWarning=d4,a.Beaker=M4,a.Bean=l4,a.BeanOff=p4,a.Bed=e4,a.BedDouble=i4,a.BedSingle=n4,a.Beef=o4,a.BeefOff=r4,a.Beer=$4,a.BeerOff=v4,a.Bell=H4,a.BellCheck=y4,a.BellDot=m4,a.BellElectric=s4,a.BellMinus=g4,a.BellOff=C4,a.BellPlus=u4,a.BellRing=A4,a.BetweenHorizonalEnd=B,a.BetweenHorizonalStart=z,a.BetweenHorizontalEnd=B,a.BetweenHorizontalStart=z,a.BetweenVerticalEnd=V4,a.BetweenVerticalStart=w4,a.BicepsFlexed=S4,a.Bike=L4,a.Binary=f4,a.Binoculars=P4,a.Biohazard=k4,a.Bird=B4,a.Birdhouse=z4,a.Bitcoin=D4,a.Blend=F4,a.Blender=b4,a.Blinds=R4,a.Blocks=q4,a.Bluetooth=Z4,a.BluetoothConnected=T4,a.BluetoothOff=U4,a.BluetoothSearching=O4,a.BLine truncated
//# sourceMappingURL=lucide.min.js.map