<script src="/@Assets[src.TrimStart('/')]" @attributes="AdditionalAttributes"></script>

@code {
    @* ReSharper disable InconsistentNaming *@
    [Parameter, EditorRequired] public required string src { get; set; }
    @* ReSharper restore InconsistentNaming *@

    [Parameter(CaptureUnmatchedValues = true)]
    public IDictionary<string, object>? AdditionalAttributes { get; set; }
}