@if (mode() === 'mine') {
{{ 'PAC.Explore.MySkills' | translate: { Default: 'My Skills' } }}

{{ 'PAC.Explore.MySkillsTitle' | translate: { Default: 'Skills Installed in the Default Workspace' } }}

{{ 'PAC.Explore.MySkillsHint' | translate : { Default: 'This section shows the skills currently available in the default workspace. You can review details here, or open the workspace to manage installs, updates, uploads, and files.' } }}

@if (loadingInstalledSkills()) {
{{ 'PAC.Explore.LoadingMySkills' | translate: { Default: 'Loading my skills...' } }}
} @else if (!mineSkills().length) {

{{ 'PAC.Explore.NoMySkills' | translate: { Default: 'No Skills in the Default Workspace Yet' } }}

{{ 'PAC.Explore.NoMySkillsHint' | translate : { Default: 'Install or update skills from the market first, or open the default workspace to upload and manage custom skill packages manually.' } }}

} @else {
@for (skill of mineSkills(); track skill.id || skill.name || skill.packagePath) {

{{ displayInstalledSkillName(skill) }}

@if (isLocalSkill(skill) && skill.publishAt) {
{{ 'PAC.Explore.SharedToMarket' | translate: { Default: 'Shared to Organization Market' } }}
}

{{ installedSkillSummary(skill) }}

{{ installedSkillRepositoryLabel(skill) }}
@if (installedSkillTags(skill).length) {
@for (tag of installedSkillTags(skill); track tag) { #{{ tag }} }
}
{{ 'PAC.Explore.Creator' | translate: { Default: 'Creator' } }} {{ installedSkillPublisherLabel(skill) }}
{{ 'PAC.KEY_WORDS.Provider' | translate: { Default: 'Provider' } }} {{ installedSkillProviderLabel(skill) }}
@if (isLocalSkill(skill) && skill.publishAt) { {{ 'PAC.Explore.SharedAt' | translate: { Default: 'Shared at' } }} {{ skill.publishAt | date: 'yyyy-MM-dd' }} } @else { {{ skill.updatedAt || skill.createdAt | date: 'yyyy-MM-dd' }} }
@if (isLocalSkill(skill)) { }
}
} } @else if (loadingRepositories()) {
{{ 'PAC.Explore.LoadingRepositories' | translate: { Default: 'Loading skill repositories...' } }}
} @else if (!repositories().length) {

{{ 'PAC.Explore.NoSkillRepositories' | translate: { Default: 'No Skill Repositories Available for This Organization' } }}

{{ 'PAC.Explore.NoSkillRepositoriesHint' | translate : { Default: 'Connect a skill repository in the organization first. Once connected, the market catalog will appear here and skills can be installed or updated into workspaces.' } }}

} @else {
{{ 'PAC.Explore.OfficialFeatured' | translate: { Default: 'Featured' } }}

{{ 'PAC.Explore.FeaturedSkillsTitle' | translate: { Default: 'Featured Skills' } }}

{{ 'PAC.Explore.FeaturedSkillsHint' | translate : { Default: 'Delivered through the xpert-template market configuration, prioritizing skill templates suitable for internal enterprise discovery, collaboration, and reuse.' } }}

@if (workspace()) {
{{ 'PAC.Explore.DefaultWorkspaceHint' | translate : { name: workspace()?.name, Default: 'Installs and updates go to ' + workspace()?.name + ' by default' } }}
}
@if (loadingMarket()) {
{{ 'PAC.Explore.LoadingFeaturedSkills' | translate: { Default: 'Loading featured skills...' } }}
} @else if (!featuredSkills().length) {
{{ 'PAC.Explore.NoFeaturedSkills' | translate: { Default: 'No Featured Skills Available Yet' } }}

{{ 'PAC.Explore.NoFeaturedSkillsHint' | translate : { Default: 'You can keep configuring featured skills through skills-market.yaml. If the config does not match the current repository indexes yet, this section will stay empty automatically.' } }}

} @else {
@for (featured of featuredSkills(); track featured.skill.id) { }
}

{{ 'PAC.Explore.AllSkillsTitle' | translate: { Default: 'All Skills' } }}

{{ 'PAC.Explore.AllSkillsHint' | translate : { Default: 'Browse all available skills by repository, search the real data in the current tab, and keep loading more as you scroll.' } }}

{{ repositoryCount() }} {{ 'PAC.Explore.RepositoriesCount' | translate: { Default: 'repositories' } }}
@for (repository of repositories(); track repository.id) { }
@if (loadingSkills() && !skills().length) {
{{ 'PAC.Explore.LoadingSkills' | translate: { Default: 'Loading skill indexes...' } }}
} @else if (!skills().length) {

{{ 'PAC.Explore.NoSkills' | translate: { Default: 'No Matching Skill Templates Found' } }}

{{ 'PAC.Explore.NoSkillsHint' | translate : { Default: 'Try adjusting the keywords, or switch to another repository to keep browsing.' } }}

} @else {
@for (item of skills(); track item.id) { }
@if (hasMore()) { } }
}