13 lines
362 KiB
JavaScript
13 lines
362 KiB
JavaScript
|
|
/**
|
||
|
|
* @license lucide v0.536.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"},ta=([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 o=ta(M);c.appendChild(o)}),c},ha=(t,h={})=>{const d="svg",c={...i,...h};return ta([d,c,t])},Vu=t=>Array.from(t.attributes).reduce((h,d)=>(h[d.name]=d.value,h),{}),Su=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:"",Lu=t=>t.flatMap(Su).map(h=>h.trim()).filter(Boolean).filter((h,d,c)=>c.indexOf(h)===d).join(" "),fu=t=>t.replace(/(\w)(\w*)(_|-|\s*)/g,(h,d,c)=>d.toUpperCase()+c.toLowerCase()),da=(t,{nameAttr:h,icons:d,attrs:c})=>{const M=t.getAttribute(h);if(M==null)return;const o=fu(M),Cu=d[o];if(!Cu)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const Hu=Vu(t),Au={...i,"data-lucide":M,...c,...Hu},wu=Lu(["lucide",`lucide-${M}`,Hu,c]);wu&&Object.assign(Au,{class:wu});const Pu=ha(Cu,Au);return t.parentNode?.replaceChild(Pu,t)},ca=[["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"}]],Ma=[["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"}]],pa=[["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"}]],ia=[["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"}]],na=[["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"}]],la=[["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"}]],ea=[["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"}]],v=[["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"}]],y=[["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"}]],ra=[["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"}]],$=[["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"}]],oa=[["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"}]],va=[["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"}]],ya=[["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"}]],$a=[["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:"
|
||
|
|
If you want to use all the icons you can import it like:
|
||
|
|
\`import { createIcons, icons } from 'lucide';
|
||
|
|
lucide.createIcons({icons});\``);if(typeof document>"u")throw new Error("`createIcons()` only works in a browser environment.");const c=document.querySelectorAll(`[${h}]`);if(Array.from(c).forEach(M=>da(M,{nameAttr:h,icons:t,attrs:d})),h==="data-lucide"){const M=document.querySelectorAll("[icon-name]");M.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(M).forEach(o=>da(o,{nameAttr:"icon-name",icons:t,attrs:d})))}};a.AArrowDown=ca,a.AArrowUp=Ma,a.ALargeSmall=pa,a.Accessibility=ia,a.Activity=na,a.ActivitySquare=O2,a.AirVent=la,a.Airplay=ea,a.AlarmCheck=v,a.AlarmClock=oa,a.AlarmClockCheck=v,a.AlarmClockMinus=y,a.AlarmClockOff=ra,a.AlarmClockPlus=$,a.AlarmMinus=y,a.AlarmPlus=$,a.AlarmSmoke=va,a.Album=ya,a.AlertCircle=W,a.AlertOctagon=y2,a.AlertTriangle=G0,a.AlignCenter=sa,a.AlignCenterHorizontal=$a,a.AlignCenterVertical=ma,a.AlignEndHorizontal=ga,a.AlignEndVertical=ua,a.AlignHorizontalDistributeCenter=Ca,a.AlignHorizontalDistributeEnd=Ha,a.AlignHorizontalDistributeStart=Aa,a.AlignHorizontalJustifyCenter=wa,a.AlignHorizontalJustifyEnd=Va,a.AlignHorizontalJustifyStart=Sa,a.AlignHorizontalSpaceAround=La,a.AlignHorizontalSpaceBetween=fa,a.AlignJustify=ka,a.AlignLeft=Pa,a.AlignRight=Ba,a.AlignStartHorizontal=Fa,a.AlignStartVertical=Da,a.AlignVerticalDistributeCenter=za,a.AlignVerticalDistributeEnd=ba,a.AlignVerticalDistributeStart=Ra,a.AlignVerticalJustifyCenter=qa,a.AlignVerticalJustifyEnd=Ta,a.AlignVerticalJustifyStart=Ua,a.AlignVerticalSpaceAround=Oa,a.AlignVerticalSpaceBetween=Za,a.Ambulance=Ga,a.Ampersand=Ia,a.Ampersands=Wa,a.Amphora=Ea,a.Anchor=Xa,a.Angry=ja,a.Annoyed=Na,a.Antenna=Ka,a.Anvil=Qa,a.Aperture=Ja,a.AppWindow=_a,a.AppWindowMac=Ya,a.Apple=xa,a.Archive=ht,a.ArchiveRestore=at,a.ArchiveX=tt,a.AreaChart=B,a.Armchair=dt,a.ArrowBigDown=Mt,a.ArrowBigDownDash=ct,a.ArrowBigLeft=it,a.ArrowBigLeftDash=pt,a.ArrowBigRight=lt,a.ArrowBigRightDash=nt,a.ArrowBigUp=rt,a.ArrowBigUpDash=et,a.ArrowDown=Ht,a.ArrowDown01=ot,a.ArrowDown10=vt,a.ArrowDownAZ=m,a.ArrowDownAz=m,a.ArrowDownCircle=E,a.ArrowDownFromLine=yt,a.ArrowDownLeft=$t,a.ArrowDownLeftFromCircle=j,a.ArrowDownLeftFromSquare=E2,a.ArrowDownLeftSquare=Z2,a.ArrowDownNarrowWide=mt,a.ArrowDownRight=st,a.ArrowDownRightFromCircle=N,a.ArrowDownRightFromSquare=X2,a.ArrowDownRightSquare=G2,a.ArrowDownSquare=I2,a.ArrowDownToDot=gt,a.ArrowDownToLine=ut,a.ArrowDownUp=Ct,a.ArrowDownWideNarrow=s,a.ArrowDownZA=g,a.ArrowDownZa=g,a.ArrowLeft=St,a.ArrowLeftCircle=X,a.ArrowLeftFromLine=At,a.ArrowLeftRight=wt,a.ArrowLeftSquare=W2,a.ArrowLeftToLine=Vt,a.ArrowRight=Pt,a.ArrowRightCircle=J,a.ArrowRightFromLine=Lt,a.ArrowRightLeft=ft,a.ArrowRightSquare=K2,a.ArrowRightToLine=kt,a.ArrowUp=Ot,a.ArrowUp01=Bt,a.ArrowUp10=Ft,a.ArrowUpAZ=u,a.ArrowUpAz=u,a.ArrowUpCircle=Y,a.ArrowUpDown=Dt,a.ArrowUpFromDot=zt,a.ArrowUpFromLine=bt,a.ArrowUpLeft=Rt,a.ArrowUpLeftFromCircle=K,a.ArrowUpLeftFromSquare=j2,a.ArrowUpLeftSquare=Q2,a.ArrowUpNarrowWide=C,a.ArrowUpRight=qt,a.ArrowUpRightFromCircle=Q,a.ArrowUpRightFromSquare=N2,a.ArrowUpRightSquare=J2,a.ArrowUpSquare=Y2,a.ArrowUpToLine=Tt,a.ArrowUpWideNarrow=Ut,a.ArrowUpZA=H,a.ArrowUpZa=H,a.ArrowsUpFromLine=Zt,a.Asterisk=Gt,a.AsteriskSquare=_2,a.AtSign=It,a.Atom=Wt,a.AudioLines=Et,a.AudioWaveform=Xt,a.Award=jt,a.Axe=Nt,a.Axis3D=A,a.Axis3d=A,a.Baby=Kt,a.Backpack=Qt,a.Badge=rh,a.BadgeAlert=Jt,a.BadgeCent=Yt,a.BadgeCheck=w,a.BadgeDollarSign=_t,a.BadgeEuro=xt,a.BadgeHelp=V,a.BadgeIndianRupee=ah,a.BadgeInfo=th,a.BadgeJapaneseYen=hh,a.BadgeMinus=dh,a.BadgePercent=ch,a.BadgePlus=Mh,a.BadgePoundSterling=ph,a.BadgeQuestionMark=V,a.BadgeRussianRuble=ih,a.BadgeSwissFranc=nh,a.BadgeTurkishLira=lh,a.BadgeX=eh,a.BaggageClaim=oh,a.Ban=vh,a.Banana=yh,a.Bandage=$h,a.Banknote=uh,a.BanknoteArrowDown=mh,a.BanknoteArrowUp=sh,a.BanknoteX=gh,a.BarChart=U,a.BarChart2=O,a.BarChart3=q,a.BarChart4=R,a.BarChartBig=b,a.BarChartHorizontal=D,a.BarChartHorizontalBig=F,a.Barcode=Ch,a.Barrel=Hh,a.Baseline=Ah,
|
||
|
|
//# sourceMappingURL=lucide.min.js.map
|