{"version":3,"file":"main.Bt6dex.js","sources":["theme-25/virtual:theme","theme-25/discourse/components/sailpoint-category-description.gjs","theme-25/discourse/connectors/category-list-after-title-mobile-section/category-list-after-title-mobile-section.gjs","theme-25/discourse/connectors/category-list-after-topics-section/category-list-after-topics-section.gjs","theme-25/discourse/connectors/category-list-latest-wrapper/category-list-latest-wrapper.gjs","theme-25/discourse/connectors/category-list-topics-wrapper/category-list-topics-wrapper.gjs","theme-25/discourse/connectors/discovery-list-controls-above/card-component.gjs","theme-25/discourse/connectors/mobile-subcategories-with-featured-topics-list/mobile-subcategories-with-featured-topics-list.gjs","theme-25/discourse/connectors/subcategories-with-featured-topics-list/subcategories-with-featured-topics-list.gjs","theme-25/virtual:entrypoint:main"],"sourcesContent":["import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(25);\n\nexport function themePrefix(key) {\n  return `theme_translations.25.${key}`;\n}\n","import Component from \"@glimmer/component\";\nimport { on } from \"@ember/modifier\";\nimport { action } from \"@ember/object\";\nimport dirSpan from \"discourse/helpers/dir-span\";\n\nexport default class SailpointCategoryDescriptionComponent extends Component {\n  @action\n  stopPropagation(event) {\n    event.stopPropagation();\n  }\n\n  <template>\n    {{! template-lint-disable no-invalid-interactive }}\n    <div class=\"category-description\" {{on \"click\" this.stopPropagation}}>\n      {{dirSpan @description htmlSafe=\"true\"}}\n    </div>\n  </template>\n}\n","import CategoryUnread from \"discourse/components/category-unread\";\nimport icon from \"discourse/helpers/d-icon\";\nimport number from \"discourse/helpers/number\";\n\nconst CategoryListAfterTitleMobileSectionConnector = <template>\n  <div>\n    <td class=\"topics\">\n      <div title={{@category.topic_count}}>\n        {{icon \"comments\"}}\n        {{number @category.topic_count}}\n      </div>\n      <CategoryUnread\n        @category={{@category}}\n        @tagName=\"div\"\n        @class=\"unread-new\"\n      />\n    </td>\n\n    <td class=\"replies\">\n      <div title=\"post count\">\n        {{icon \"reply\"}}\n        {{number @category.post_count}}\n      </div>\n    </td>\n  </div>\n</template>;\n\nexport default CategoryListAfterTitleMobileSectionConnector;\n","import icon from \"discourse/helpers/d-icon\";\nimport number from \"discourse/helpers/number\";\n\nconst CategoryListAfterTopicsSectionConnector = <template>\n  <td class=\"replies\">\n    <div title=\"post count\">\n      {{icon \"reply\"}}\n      {{number @category.post_count}}\n    </div>\n  </td>\n</template>;\n\nexport default CategoryListAfterTopicsSectionConnector;\n","import FeaturedTopic from \"discourse/components/featured-topic\";\nimport avatar from \"discourse/helpers/avatar\";\nimport { lt } from \"discourse/truth-helpers\";\n\nconst CategoryListLatestWrapperConnector = <template>\n  {{#if @showTopics}}\n    <td class=\"latest\">\n      {{#if @category.topics.length}}\n        {{#each @category.featuredTopics as |topic index|}}\n          {{#if (lt index @category.num_featured_topics)}}\n            <span class=\"categories-latest-topic-avatar\">\n              <a\n                href=\"/discuss/u/{{topic.last_poster.username}}\"\n                data-user-card={{topic.last_poster.username}}\n              >\n                {{avatar topic.last_poster imageSize=\"small\"}}\n              </a>\n            </span>\n            <FeaturedTopic @topic={{topic}} />\n          {{/if}}\n        {{/each}}\n      {{else}}\n        <li class=\"empty-topic\"></li>\n      {{/if}}\n    </td>\n  {{/if}}\n</template>;\n\nexport default CategoryListLatestWrapperConnector;\n","import CategoryUnread from \"discourse/components/category-unread\";\nimport icon from \"discourse/helpers/d-icon\";\nimport number from \"discourse/helpers/number\";\n\nconst CategoryListTopicsWrapperConnector = <template>\n  <td class=\"topics\">\n    <div title={{@category.topic_count}}>\n      {{icon \"comments\"}}\n      {{number @category.topic_count}}\n    </div>\n    <CategoryUnread\n      @category={{@category}}\n      @tagName=\"div\"\n      @class=\"unread-new\"\n    />\n  </td>\n</template>;\n\nexport default CategoryListTopicsWrapperConnector;\n","/* eslint-disable ember/no-classic-components, ember/require-tagless-components */\nimport Component from \"@ember/component\";\nimport { classNames } from \"@ember-decorators/component\";\n\n@classNames(\"discovery-list-controls-above-outlet\", \"card-component\")\nexport default class CardComponentConnector extends Component {\n  init() {\n    super.init(...arguments);\n    this.setProperties({\n      cardSettings: JSON.parse(settings.card),\n    });\n  }\n\n  <template>\n    {{#each this.cardSettings as |cardSetting|}}\n      <div class=\"card-component__content\">\n        <h1 class=\"card-component__title\">\n          {{cardSetting.title}}\n        </h1>\n        <p class=\"card-component__description\">\n          {{cardSetting.description}}\n        </p>\n        <a\n          class=\"card-component__button btn-primary btn\"\n          type=\"button\"\n          href={{cardSetting.link}}\n        >\n          {{cardSetting.button}}\n        </a>\n      </div>\n    {{/each}}\n  </template>\n}\n","import { trustHTML } from \"@ember/template\";\nimport CategoryTitleLink from \"discourse/components/category-title-link\";\nimport ParentCategoryRow from \"discourse/components/parent-category-row\";\n\nconst MobileSubcategoriesWithFeaturedTopicsListConnector = <template>\n  <div class=\"category-list subcategory-list with-topics\">\n    <div class=\"parent-category\">\n      <CategoryTitleLink @category={{@category}} />\n      <span class=\"stat\" title={{@category.statTitle}}>\n        {{trustHTML @category.stat}}\n      </span>\n    </div>\n    <div class=\"subcategories\">\n      {{#each @category.serializedSubcategories as |subCategory|}}\n        <ParentCategoryRow @category={{subCategory}} @showTopics={{true}} />\n      {{else}}\n        {{! No subcategories... so just show the parent to avoid confusion }}\n        <ParentCategoryRow @category={{@category}} @showTopics={{true}} />\n      {{/each}}\n    </div>\n  </div>\n</template>;\n\nexport default MobileSubcategoriesWithFeaturedTopicsListConnector;\n","import { trustHTML } from \"@ember/template\";\nimport CategoryTitleLink from \"discourse/components/category-title-link\";\nimport ParentCategoryRow from \"discourse/components/parent-category-row\";\nimport { i18n } from \"discourse-i18n\";\n\nconst SubcategoriesWithFeaturedTopicsListConnector = <template>\n  <table class=\"category-list subcategory-list with-topics\">\n    <thead>\n      <tr>\n        <th class=\"parent-category\">\n          <CategoryTitleLink @category={{@category}} />\n          <span class=\"stat\" title={{@category.statTitle}}>\n            {{trustHTML @category.stat}}\n          </span>\n        </th>\n        <th class=\"topics\">{{i18n \"categories.topics\"}}</th>\n        <th class=\"replies\">{{i18n \"replies\"}}</th>\n        <th class=\"latest\">{{i18n \"categories.latest\"}}</th>\n      </tr>\n    </thead>\n    <tbody aria-labelledby=\"categories-only-category\">\n      {{#each @category.serializedSubcategories as |subCategory|}}\n        <ParentCategoryRow @category={{subCategory}} @showTopics={{true}} />\n      {{else}}\n        {{! No subcategories... so just show the parent to avoid confusion }}\n        <ParentCategoryRow @category={{@category}} @showTopics={{true}} />\n      {{/each}}\n    </tbody>\n  </table>\n</template>;\n\nexport default SubcategoriesWithFeaturedTopicsListConnector;\n","import * as Mod1 from \"./discourse/components/sailpoint-category-description\";\nimport * as Mod2 from \"./discourse/connectors/category-list-after-title-mobile-section/category-list-after-title-mobile-section.gjs\";\nimport * as Mod3 from \"./discourse/connectors/category-list-after-topics-section/category-list-after-topics-section.gjs\";\nimport * as Mod4 from \"./discourse/connectors/category-list-latest-wrapper/category-list-latest-wrapper.gjs\";\nimport * as Mod5 from \"./discourse/connectors/category-list-topics-wrapper/category-list-topics-wrapper.gjs\";\nimport * as Mod6 from \"./discourse/connectors/discovery-list-controls-above/card-component.gjs\";\nimport * as Mod7 from \"./discourse/connectors/mobile-subcategories-with-featured-topics-list/mobile-subcategories-with-featured-topics-list.gjs\";\nimport * as Mod8 from \"./discourse/connectors/subcategories-with-featured-topics-list/subcategories-with-featured-topics-list.gjs\";\nconst compatModules = {\n  \"discourse/components/sailpoint-category-description\": Mod1,\n  \"discourse/connectors/category-list-after-title-mobile-section/category-list-after-title-mobile-section\": Mod2,\n  \"discourse/connectors/category-list-after-topics-section/category-list-after-topics-section\": Mod3,\n  \"discourse/connectors/category-list-latest-wrapper/category-list-latest-wrapper\": Mod4,\n  \"discourse/connectors/category-list-topics-wrapper/category-list-topics-wrapper\": Mod5,\n  \"discourse/connectors/discovery-list-controls-above/card-component\": Mod6,\n  \"discourse/connectors/mobile-subcategories-with-featured-topics-list/mobile-subcategories-with-featured-topics-list\": Mod7,\n  \"discourse/connectors/subcategories-with-featured-topics-list/subcategories-with-featured-topics-list\": Mod8,\n};\nexport { compatModules };\nexport default compatModules;\n"],"names":["settings","getObjectForTheme","SailpointCategoryDescriptionComponent","Component","stopPropagation","event","dt7948","n","this","prototype","action","setComponentTemplate","createTemplateFactory","id","block","moduleName","scope","on","dirSpan","isStrictMode","CategoryListAfterTitleMobileSectionConnector","icon","number","CategoryUnread","templateOnly","CategoryListAfterTopicsSectionConnector","CategoryListLatestWrapperConnector","lt","avatar","FeaturedTopic","CategoryListTopicsWrapperConnector","CardComponentConnector","c","init","super","arguments","setProperties","cardSettings","JSON","parse","card","classNames","MobileSubcategoriesWithFeaturedTopicsListConnector","CategoryTitleLink","trustHTML","ParentCategoryRow","SubcategoriesWithFeaturedTopicsListConnector","i18n","compatModules","Mod1","Mod2","Mod3","Mod4","Mod5","Mod6","Mod7"],"mappings":"m6CAEaA,EAAWC,EAAkB;ACG3B,MAAMC,UAA8CC,EAEjEC,eAAAA,CAAgBC,GACdA,EAAMD,iBACR,QAAAE,OAAAC,EAAAC,KAAAC,6BAHCC,GAAA,QAKDC,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,qMAAAC,WAAA,4BAAAC,MAAAA,KAAAA,CAAAC,KAAAC,YAAAC,cAAA,IAKAX,KAAU;;ACZZ,MAAMY,EAAAT,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,qoBAAAC,WAAA,4BAAAC,MAAAA,KAAAA,CAAAK,OAAAC,SAAAC,mBAAAJ,cAAA,IAAAK;;ACDN,MAAMC,EAAAd,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,iPAAAC,WAAA,4BAAAC,MAAAA,KAAAA,CAAAK,OAAAC,WAAAH,cAAA,IAAAK;;ACCN,MAAME,EAAAf,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,u3BAAAC,WAAA,4BAAAC,MAAAA,KAAAA,CAAAW,KAAAC,SAAAC,kBAAAV,cAAA,IAAAK;;ACAN,MAAMM,EAAAnB,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,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