local C=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local f=TweenInfo.new(.3,Enum.EasingStyle.Quint)local U=DockWidgetPluginGuiInfo.new(Enum.InitialDockState.Float,false,true,200,300,200,300)return function(w,a,z)local J=w:CreateDockWidgetPluginGui("\076\117\099\105\100\101\073\099\111\110\115",U)J.Title="\076\117\099\105\100\101 \073\099\111\110\115"J.ZIndexBehavior=Enum.ZIndexBehavior.Sibling local m=w:CreateToolbar("\076\117\099\105\100\101 \073\099\111\110\115")local h=m:CreateButton("\116\111\103\103\108\101\076\117\099\105\100\101","\084\111\103\103\108\101\115 \116\104\101 \105\099\111\110 \112\105\099\107\101\114","\114\098\120\097\115\115\101\116\105\100\058\047\047\055\055\051\052\049\057\057\049\051\049","\084\111\103\103\108\101 \080\105\099\107\101\114")h.ClickableWhenViewportHidden=true local j=a.UI:Clone()j.Parent=J h.Click:Connect(function()J.Enabled=not J.Enabled h:SetActive(J.Enabled)end)J:BindToClose(function()h:SetActive(false)J.Enabled=false end);(j.List.UIGridLayout:GetPropertyChangedSignal("\065\098\115\111\108\117\116\101\067\111\110\116\101\110\116\083\105\122\101")):Connect(function()(C:Create(j.List,f,{CanvasSize=UDim2.new(0,0,0,j.List.UIGridLayout.AbsoluteContentSize.Y+24)})):Play()if j.List.UIGridLayout.AbsoluteContentSize.Y+24>j.List.AbsoluteSize.Y then j.ScrollerBackground.Visible=true else j.ScrollerBackground.Visible=false end end)return{View=J;Trigger=h,Toolbar=m}end
local TweenService = game:GetService("TweenService")

local standardTweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quint)
local dockWidgetPluginInfo = DockWidgetPluginGuiInfo.new(
    Enum.InitialDockState.Float,
    false,
    true,
    200,
    300,
    200,
    300
)

return function(PluginService, assets, modules)
    local widget = PluginService:CreateDockWidgetPluginGui("LucideIcons", dockWidgetPluginInfo)
    widget.Title = "Lucide Icons"
    widget.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

    local widgetToolbar = PluginService:CreateToolbar("Lucide Icons")
    local widgetTrigger = widgetToolbar:CreateButton("toggleLucide", "Toggles the icon picker", "rbxassetid://7734199131", "Toggle Picker")
    widgetTrigger.ClickableWhenViewportHidden = true

    local widgetView = assets.UI:Clone()
    widgetView.Parent = widget

    widgetTrigger.Click:Connect(function()
        widget.Enabled = not widget.Enabled
        widgetTrigger:SetActive(widget.Enabled)
    end)

    widget:BindToClose(function()
        widgetTrigger:SetActive(false)
        widget.Enabled = false   
    end)

    widgetView.List.UIGridLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
        TweenService:Create(widgetView.List, standardTweenInfo, {CanvasSize = UDim2.new(0, 0, 0, widgetView.List.UIGridLayout.AbsoluteContentSize.Y + 24)}):Play()
        if widgetView.List.UIGridLayout.AbsoluteContentSize.Y + 24 > widgetView.List.AbsoluteSize.Y then
            widgetView.ScrollerBackground.Visible = true
        else
            widgetView.ScrollerBackground.Visible = false
        end
    end)

    return {
        ["View"] = widget,
        ["Trigger"] = widgetTrigger,
        ["Toolbar"] = widgetToolbar
    }
end