tpotce/docker/nginx/dist/html/assets/js/lucide.min.js

10 lines
219 KiB
JavaScript
Raw Normal View History

2023-01-23 12:04:40 +00:00
/**
* lucide v0.179.0 - ISC
2023-01-23 12:04:40 +00:00
*/
(function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a.lucide={}))})(this,function(a){"use strict";const l=(t,c,d=[])=>{const n=document.createElementNS("http://www.w3.org/2000/svg",t);return Object.keys(c).forEach(i=>{n.setAttribute(i,String(c[i]))}),d.length&&d.forEach(i=>{const p=l(...i);n.appendChild(p)}),n};var e=([t,c,d])=>l(t,c,d);const qp=t=>Array.from(t.attributes).reduce((c,d)=>(c[d.name]=d.value,c),{}),Np=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:"",Xp=t=>t.flatMap(Np).map(c=>c.trim()).filter(Boolean).filter((c,d,n)=>n.indexOf(c)===d).join(" "),Jp=t=>t.replace(/(\w)(\w*)(_|-|\s*)/g,(c,d,n)=>d.toUpperCase()+n.toLowerCase()),jp=(t,{nameAttr:c,icons:d,attrs:n})=>{const i=t.getAttribute(c);if(i==null)return;const p=Jp(i),Gp=d[p];if(!Gp)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const Ep=qp(t),[Qp,_p,Yp]=Gp,Wp={..._p,"icon-name":i,...n,...Ep},Ip=Xp(["lucide",`lucide-${i}`,Ep,n]);Ip&&Object.assign(Wp,{class:Ip});const ae=e([Qp,Wp,Yp]);return t.parentNode?.replaceChild(ae,t)},h={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"},M=["svg",h,[["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"}]]],v=["svg",h,[["polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12"}]]],o=["svg",h,[["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:"M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12"}],["path",{d:"M6.6 15.6A2 2 0 1 0 10 17v-5"}]]],y=["svg",h,[["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"}],["polygon",{points:"12 15 17 21 7 21 12 15"}]]],s=["svg",h,[["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"}]]],g=["svg",h,[["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"}]]],r=["svg",h,[["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"}]]],$=["svg",h,[["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"}]]],m=["svg",h,[["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"}]]],x=["svg",h,[["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"}]]],H=["svg",h,[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16"}]]],C=["svg",h,[["polygon",{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16"}]]],V=["svg",h,[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}],["line",{x1:"12",x2:"12",y1:"9",y2:"13"}],["line",{x1:"12",x2:"12.01",y1:"17",y2:"17"}]]],u=["svg",h,[["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"}]]],A=["svg",h,[["path",{d:"M12 2v20"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-
2023-01-23 12:04:40 +00:00
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 n=document.querySelectorAll(`[${c}]`);Array.from(n).forEach(i=>jp(i,{nameAttr:c,icons:t,attrs:d}))};a.Accessibility=M,a.Activity=v,a.AirVent=o,a.Airplay=y,a.AlarmCheck=s,a.AlarmClock=r,a.AlarmClockOff=g,a.AlarmMinus=$,a.AlarmPlus=m,a.Album=x,a.AlertCircle=H,a.AlertOctagon=C,a.AlertTriangle=V,a.AlignCenter=w,a.AlignCenterHorizontal=u,a.AlignCenterVertical=A,a.AlignEndHorizontal=L,a.AlignEndVertical=S,a.AlignHorizontalDistributeCenter=f,a.AlignHorizontalDistributeEnd=k,a.AlignHorizontalDistributeStart=F,a.AlignHorizontalJustifyCenter=Z,a.AlignHorizontalJustifyEnd=z,a.AlignHorizontalJustifyStart=B,a.AlignHorizontalSpaceAround=P,a.AlignHorizontalSpaceBetween=D,a.AlignJustify=b,a.AlignLeft=O,a.AlignRight=R,a.AlignStartHorizontal=T,a.AlignStartVertical=U,a.AlignVerticalDistributeCenter=G,a.AlignVerticalDistributeEnd=E,a.AlignVerticalDistributeStart=W,a.AlignVerticalJustifyCenter=I,a.AlignVerticalJustifyEnd=q,a.AlignVerticalJustifyStart=N,a.AlignVerticalSpaceAround=X,a.AlignVerticalSpaceBetween=J,a.Anchor=j,a.Angry=K,a.Annoyed=Q,a.Aperture=_,a.Apple=Y,a.Archive=h1,a.ArchiveRestore=a1,a.Armchair=t1,a.ArrowBigDown=d1,a.ArrowBigDownDash=c1,a.ArrowBigLeft=i1,a.ArrowBigLeftDash=n1,a.ArrowBigRight=p1,a.ArrowBigRightDash=l1,a.ArrowBigUp=M1,a.ArrowBigUpDash=e1,a.ArrowDown=u1,a.ArrowDown01=v1,a.ArrowDown10=o1,a.ArrowDownAZ=y1,a.ArrowDownCircle=s1,a.ArrowDownLeft=r1,a.ArrowDownLeftFromCircle=g1,a.ArrowDownNarrowWide=$1,a.ArrowDownRight=x1,a.ArrowDownRightFromCircle=m1,a.ArrowDownUp=H1,a.ArrowDownWideNarrow=C1,a.ArrowDownZA=V1,a.ArrowLeft=L1,a.ArrowLeftCircle=A1,a.ArrowLeftRight=w1,a.ArrowRight=k1,a.ArrowRightCircle=S1,a.ArrowRightLeft=f1,a.ArrowUp=E1,a.ArrowUp01=F1,a.ArrowUp10=Z1,a.ArrowUpAZ=z1,a.ArrowUpCircle=B1,a.ArrowUpDown=P1,a.ArrowUpLeft=b1,a.ArrowUpLeftFromCircle=D1,a.ArrowUpNarrowWide=O1,a.ArrowUpRight=T1,a.ArrowUpRightFromCircle=R1,a.ArrowUpWideNarrow=U1,a.ArrowUpZA=G1,a.Asterisk=W1,a.AtSign=I1,a.Atom=q1,a.Award=N1,a.Axe=X1,a.Axis3d=J1,a.Baby=j1,a.Backpack=K1,a.BaggageClaim=Q1,a.Ban=_1,a.Banana=Y1,a.Banknote=a2,a.BarChart=n2,a.BarChart2=h2,a.BarChart3=t2,a.BarChart4=c2,a.BarChartHorizontal=d2,a.Baseline=i2,a.Bath=l2,a.Battery=y2,a.BatteryCharging=p2,a.BatteryFull=e2,a.BatteryLow=M2,a.BatteryMedium=v2,a.BatteryWarning=o2,a.Beaker=s2,a.Bean=r2,a.BeanOff=g2,a.Bed=x2,a.BedDouble=$2,a.BedSingle=m2,a.Beef=H2,a.Beer=C2,a.Bell=L2,a.BellMinus=V2,a.BellOff=u2,a.BellPlus=A2,a.BellRing=w2,a.Bike=S2,a.Binary=f2,a.Bird=k2,a.Bitcoin=F2,a.Blinds=Z2,a.Bluetooth=D2,a.BluetoothConnected=z2,a.BluetoothOff=B2,a.BluetoothSearching=P2,a.Bold=b2,a.Bomb=O2,a.Bone=R2,a.Book=Q2,a.BookCopy=T2,a.BookDown=U2,a.BookKey=G2,a.BookLock=E2,a.BookMarked=W2,a.BookMinus=I2,a.BookOpen=N2,a.BookOpenCheck=q2,a.BookPlus=X2,a.BookTemplate=J2,a.BookUp=j2,a.BookX=K2,a.Bookmark=a0,a.BookmarkMinus=_2,a.BookmarkPlus=Y2,a.Bot=h0,a.Box=c0,a.BoxSelect=t0,a.Boxes=d0,a.Brain=l0,a.BrainCircuit=n0,a.BrainCog=i0,a.Briefcase=p0,a.Brush=e0,a.Bug=M0,a.Building=o0,a.Building2=v0,a.Bus=y0,a.Cake=s0,a.Calculator=g0,a.Calendar=f0,a.CalendarCheck=$0,a.CalendarCheck2=r0,a.CalendarClock=m0,a.CalendarDays=x0,a.CalendarHeart=H0,a.CalendarMinus=C0,a.CalendarOff=V0,a.CalendarPlus=u0,a.CalendarRange=A0,a.CalendarSearch=w0,a.CalendarX=S0,a.CalendarX2=L0,a.Camera=F0,a.CameraOff=k0,a.Candy=z0,a.CandyOff=Z0,a.Car=B0,a.Carrot=P0,a.CaseLower=D0,a.CaseSensitive=b0,a.CaseUpper=O0,a.Cast=R0,a.Castle=T0,a.Cat=U0,a.Check=q0,a.CheckCheck=G0,a.CheckCircle=W0,a.CheckCircle2=E0,a.CheckSquare=I0,a.ChefHat=N0,a.Cherry=X0,a.ChevronDown=j0,a.ChevronDownSquare=J0,a.ChevronFirst=K0,a.ChevronLast=Q0,a.ChevronLeft=Y0,a.ChevronLeftSquare=_0,a.ChevronRight=ha,a.ChevronRightSquare=aa,a.ChevronUp=ca,a.ChevronUpSquare=ta,a.ChevronsDown=na,a.ChevronsDownUp=da,a.ChevronsLeft=la,a.ChevronsLeftRight=ia,a.ChevronsRight=ea,a.ChevronsRightLeft=pa,a.ChevronsUp=va,a.ChevronsUpDown=Ma,a.Chrome=oa,a.Church=ya,a.Cigarette=ga,a.CigaretteOff=sa,a.Circle=Va,a.CircleDot=ra,a.CircleEllipsis=$a,a.CircleEqual=ma
2023-01-23 12:04:40 +00:00
//# sourceMappingURL=lucide.min.js.map