@if (loading()) {
@if (mode() === 'mine') { {{ 'PAC.Explore.LoadingMyInspirations' | translate: { Default: 'Loading my inspiration assets...' } }} } @else { {{ 'PAC.Explore.LoadingInspirations' | translate: { Default: 'Loading inspiration templates...' } }} }
} @else if (mode() === 'mine' && myItems().length) {
@for (item of myItems(); track item.id) {
{{ item.name }}
{{ 'PAC.Explore.InMyWorkspace' | translate: { Default: 'In Workspace' } }} @if (item.pipelineId) { {{ 'PAC.Explore.BoundPipeline' | translate: { Default: 'Pipeline Linked' } }} }

{{ item.description || ('PAC.Explore.InspirationDescriptionFallback' | translate: { Default: 'This inspiration asset does not include additional details yet.' }) }}

{{ 'PAC.Explore.Creator' | translate: { Default: 'Creator' } }} {{ creatorName(item) }}
{{ 'PAC.Explore.Documents' | translate: { Default: 'Documents' } }} {{ item.documentNum ?? 0 }}
{{ item.updatedAt || item.createdAt | date: 'yyyy-MM-dd' }}
}
} @else if (mode() !== 'mine' && items().length) {
@for (item of items(); track item.id) {
@if (item.icon) { } @else { }
{{ item.title || item.name }}
@if (item.author) { {{ item.author }} } @if (item.category) { {{ item.category }} }

{{ item.description }}

@if (item.tags?.length) {
@for (tag of item.tags ?? []; track tag) { #{{ tag }} }
}
{{ 'PAC.Explore.InspirationBrowseOnly' | translate : { Default: 'V1 currently provides browse and filter entry points only. A more complete install and curation flow will be added later.' } }}
}
} @else {
@if (mode() === 'mine') {

{{ 'PAC.Explore.NoMyInspirations' | translate: { Default: 'No Inspiration Assets in the Default Workspace Yet' } }}

{{ 'PAC.Explore.NoMyInspirationsHint' | translate : { Default: 'Create knowledge or capture inspiration content in the default workspace first, and it will appear here automatically later.' } }}

} @else {

{{ 'PAC.Explore.NoInspirations' | translate: { Default: 'No Inspiration Templates Available Yet' } }}

{{ 'PAC.Explore.NoInspirationsHint' | translate : { Default: 'There is no matching inspiration market content for the current language yet. More pipeline templates can be added later.' } }}

}
}