{"version":3,"file":"discourse-gamification.js","names":["define","_exports","Object","defineProperty","value","default","resource","path","map","this","route","_component","_thisFallbackHelper","_tryLookupHelper","_deprecationsHelper","_templateFactory","__COLOCATED_TEMPLATE__","createTemplateFactory","id","block","moduleName","scope","isStrictMode","setComponentTemplate","extend","tagName","rank","_object","_service","_ajax","_ajaxError","_loadMore","_decorators","_leaderboardInfo","LEADERBOARD_PERIODS","dt7948","p","router","inject","modal","eyelineSelector","page","loading","canLoadMore","period","init","_super","arguments","default_leaderboard_period","periodValue","periodString","model","leaderboard","default_period","set","isNotReady","reason","undefined","currentUserRanking","personal","winners","users","slice","ranking","forEach","user","currentUser","isCurrentUser","showLeaderboardInfo","show","loadMore","ajax","then","result","length","concat","finally","catch","popupAjaxError","changePeriod","refresh","action","classNames","MinimalGamificationLeaderboardRow","_component2","_tracking","static","g","prototype","tracked","notTop10","i","constructor","super","data","user_limit","args","params","count","leaderboardId","endpoint","position","indexOf","topRanked","_template2","_dModal","_dIcon","_i18n","_templateOnly","LeaderboardInfo","htmlSafe","_I18n","_isComponent","RecalculateScoresForm","messageBus","updateRangeValue","recalculateFromDate","recalculate_scores_remaining","haveAvailability","remaining","status","updateRange","name","t","calculation","type","subscribe","onMessage","willDestroy","unsubscribe","message","success","n","bind","remainingText","applyDisabled","moment","locale","utc","endOf","dateRange","today","dateRangeToDate","format","find","obj","clone","subtract","apply","from_date","_comboBox","_gamificationLeaderboard","pluginApiIdentifiers","selectKitOptions","filterable","allowAny","content","computed","periods","index","_controller","_helper","fullnumber","number","toNumber","precision","helper","sum","GamificationLeaderboard","create","createdAt","updatedAt","createdById","excludedGroupsIds","includedGroupsIds","visibleToGroupsIds","forCategoryId","fromDate","toDate","created_at","updated_at","created_by_id","excluded_groups_ids","included_groups_ids","visible_to_groups_ids","for_category_id","to_date","Number","isInteger","defaultPeriod","_discourse","response","replaceWith","_adminPluginConfigNav","_pluginApi","initialize","container","lookup","admin","withPluginApi","api","addAdminPluginConfigurationNav","PLUGIN_NAV_MODE_TOP","label"],"sources":["discourse/plugins/discourse-gamification/discourse/admin-discourse-gamification-plugin-route-map.js","discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.js","discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.js","discourse/plugins/discourse-gamification/discourse/components/gamification-score.js","discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.js","discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.js","discourse/plugins/discourse-gamification/discourse/components/modal/leaderboard-info.js","discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.js","discourse/plugins/discourse-gamification/discourse/components/period-input.js","discourse/plugins/discourse-gamification/discourse/controllers/gamification-leaderboard-by-name.js","discourse/plugins/discourse-gamification/discourse/controllers/gamification-leaderboard-index.js","discourse/plugins/discourse-gamification/discourse/gamification-route-map.js","discourse/plugins/discourse-gamification/discourse/helpers/fullnumber.js","discourse/plugins/discourse-gamification/discourse/helpers/sum.js","discourse/plugins/discourse-gamification/discourse/models/gamification-leaderboard.js","discourse/plugins/discourse-gamification/discourse/routes/gamification-leaderboard-by-name.js","discourse/plugins/discourse-gamification/discourse/routes/gamification-leaderboard-index.js","discourse/plugins/discourse-gamification/discourse/templates/connectors/user-card-metadata/gamification-score.js","discourse/plugins/discourse-gamification/discourse/templates/connectors/user-profile-secondary/gamification-score.js","discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-by-name.js","discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-index.js","discourse/plugins/discourse-gamification/initializers/admin-plugin-configuration-nav.js"],"sourcesContent":["define(\"discourse/plugins/discourse-gamification/discourse/admin-discourse-gamification-plugin-route-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    resource: \"admin.adminPlugins.show\",\n    path: \"/plugins\",\n    map() {\n      this.route(\"discourse-gamification-leaderboards\", {\n        path: \"leaderboards\"\n      }, function () {\n        this.route(\"show\", {\n          path: \"/:id\"\n        });\n      });\n    }\n  };\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row\", [\"exports\", \"@ember/component\", \"ember-this-fallback/this-fallback-helper\", \"ember-this-fallback/try-lookup-helper\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _thisFallbackHelper, _tryLookupHelper, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"user {{if rank.currentUser 'user-highlight'}}\"\n    id=\"leaderboard-user-{{rank.id}}\"\n  >\n    <div class=\"user__rank\">{{rank.position}}</div>\n    <div\n      class=\"user__avatar clickable\"\n      role=\"button\"\n      data-user-card={{rank.username}}\n    >\n      {{avatar rank imageSize=\"large\"}}\n      <span class=\"user__name\">\n        {{#if this.siteSettings.prioritize_username_in_ux}}\n          {{rank.username}}\n        {{else}}\n          {{or rank.name rank.username}}\n        {{/if}}\n      </span>\n    </div>\n    <div class=\"user__score\">\n      {{#if site.mobileView}}\n        {{number rank.total_score}}\n      {{else}}\n        {{fullnumber rank.total_score}}\n      {{/if}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"+QJVoLZd\",\n    \"block\": \"[[[44,[[28,[37,1],null,[[\\\"rank\\\"],[[28,[32,0],[\\\"rank\\\"],null]]]]],[[[10,0],[15,0,[29,[\\\"user \\\",[52,[30,0,[\\\"rank\\\",\\\"currentUser\\\"]],\\\"user-highlight\\\"]]]],[15,1,[29,[\\\"leaderboard-user-\\\",[52,[30,1,[\\\"rank\\\"]],[28,[30,1,[\\\"rank\\\"]],null,null],[28,[32,1],[[30,0],\\\"rank.id\\\",\\\"[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]]]],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"user__rank\\\"],[12],[1,[30,0,[\\\"rank\\\",\\\"position\\\"]]],[13],[1,\\\"\\\\n  \\\"],[44,[[28,[37,1],null,[[\\\"rank\\\"],[[28,[32,0],[\\\"rank\\\"],null]]]]],[[[10,0],[14,0,\\\"user__avatar clickable\\\"],[14,\\\"role\\\",\\\"button\\\"],[15,\\\"data-user-card\\\",[52,[30,2,[\\\"rank\\\"]],[28,[30,2,[\\\"rank\\\"]],null,null],[28,[32,1],[[30,0],\\\"rank.username\\\",\\\"[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,3],[[30,0,[\\\"rank\\\"]]],[[\\\"imageSize\\\"],[\\\"large\\\"]]]],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"user__name\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"siteSettings\\\",\\\"prioritize_username_in_ux\\\"]],[[[1,\\\"        \\\"],[1,[30,0,[\\\"rank\\\",\\\"username\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[1,[28,[35,4],[[30,0,[\\\"rank\\\",\\\"name\\\"]],[30,0,[\\\"rank\\\",\\\"username\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"],[13]],[2]]],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"user__score\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"site\\\",\\\"mobileView\\\"]],[[[1,\\\"      \\\"],[1,[28,[35,5],[[30,0,[\\\"rank\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[1,[28,[35,6],[[30,0,[\\\"rank\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[1]]],[1,[28,[32,2],[\\\"[[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"maybeHelpers\\\",\\\"maybeHelpers0\\\"],false,[\\\"let\\\",\\\"hash\\\",\\\"if\\\",\\\"avatar\\\",\\\"or\\\",\\\"number\\\",\\\"fullnumber\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard-row.hbs\",\n    \"scope\": () => [_tryLookupHelper.default, _thisFallbackHelper.default, _deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    tagName: \"\",\n    rank: null\n  }));\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse/mixins/load-more\", \"discourse-common/utils/decorators\", \"discourse/plugins/discourse-gamification/discourse/components/modal/leaderboard-info\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _ajax, _ajaxError, _loadMore, _decorators, _leaderboardInfo, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.LEADERBOARD_PERIODS = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"leaderboard\">\n    <div class=\"page__header\">\n      <h1 class=\"page__title\">{{this.model.leaderboard.name}}</h1>\n      <DButton\n        @action={{action \"showLeaderboardInfo\"}}\n        class=\"-ghost\"\n        @icon=\"info-circle\"\n        @label={{unless site.mobileView \"gamification.leaderboard.info\"}}\n      />\n    </div>\n  \n    <div class=\"leaderboard__controls\">\n      <PeriodChooser\n        @period={{this.period}}\n        @action={{action \"changePeriod\"}}\n        @fullDay={{false}}\n        class=\"leaderboard__period-chooser\"\n      />\n      {{#if this.currentUser.staff}}\n        <a href=\"/admin/plugins/gamification\" class=\"leaderboard__settings\">\n          {{d-icon \"cog\"}}\n          {{unless\n            site.mobileView\n            (i18n \"gamification.leaderboard.link_to_settings\")\n          }}\n        </a>\n      {{/if}}\n    </div>\n  \n    {{#if this.isNotReady}}\n      <div class=\"leaderboard__not-ready\">\n        <p>{{this.model.reason}}</p>\n        <DButton\n          @icon=\"sync\"\n          @label=\"gamification.leaderboard.refresh\"\n          @action={{action \"refresh\"}}\n          class=\"btn-primary refresh\"\n        />\n      </div>\n    {{else}}\n      <div class=\"podium__wrapper\">\n        <div class=\"podium\">\n          {{#each winners as |winner|}}\n            <div class=\"winner -position{{winner.position}}\">\n              <div class=\"winner__crown\">{{d-icon \"crown\"}}</div>\n              <div\n                class=\"winner__avatar clickable\"\n                role=\"button\"\n                data-user-card={{winner.username}}\n              >\n                {{avatar winner imageSize=\"huge\"}}\n                <div class=\"winner__rank\">\n                  <span>{{winner.position}}</span>\n                </div>\n              </div>\n              <div class=\"winner__name\">\n                {{#if this.siteSettings.prioritize_username_in_ux}}\n                  {{winner.username}}\n                {{else}}\n                  {{or winner.name winner.username}}\n                {{/if}}\n              </div>\n              <div class=\"winner__score\">{{fullnumber winner.total_score}}</div>\n            </div>\n          {{/each}}\n        </div>\n      </div>\n  \n      <div class=\"ranking\">\n        <div class=\"ranking-col-names\">\n          <span>{{i18n \"gamification.leaderboard.rank\"}}</span>\n          <span>{{d-icon \"award\"}}{{i18n \"gamification.score\"}}</span>\n        </div>\n        <div class=\"ranking-col-names__sticky-border\"></div>\n        {{#if currentUserRanking.user}}\n          <div class=\"user -self\">\n            <div class=\"user__rank\">{{currentUserRanking.position}}</div>\n            <div class=\"user__name\">{{i18n \"gamification.you\"}}</div>\n            <div class=\"user__score\">\n              {{#if site.mobileView}}\n                {{number currentUserRanking.user.total_score}}\n              {{else}}\n                {{fullnumber currentUserRanking.user.total_score}}\n              {{/if}}\n            </div>\n          </div>\n        {{/if}}\n  \n        <LoadMore @selector=\".user\" @action={{action \"loadMore\"}}>\n          {{#each ranking as |rank index|}}\n            <GamificationLeaderboardRow @rank={{rank}} @index={{index}} />\n          {{/each}}\n        </LoadMore>\n        <ConditionalLoadingSpinner @condition={{loading}} />\n      </div>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"aRJT8KIO\",\n    \"block\": \"[[[10,0],[14,0,\\\"leaderboard\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"page__header\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"page__title\\\"],[12],[1,[30,0,[\\\"model\\\",\\\"leaderboard\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n    \\\"],[8,[39,0],[[24,0,\\\"-ghost\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[28,[37,1],[[30,0],\\\"showLeaderboardInfo\\\"],null],\\\"info-circle\\\",[52,[51,[30,0,[\\\"site\\\",\\\"mobileView\\\"]]],\\\"gamification.leaderboard.info\\\"]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"leaderboard__controls\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,3],[[24,0,\\\"leaderboard__period-chooser\\\"]],[[\\\"@period\\\",\\\"@action\\\",\\\"@fullDay\\\"],[[30,0,[\\\"period\\\"]],[28,[37,1],[[30,0],\\\"changePeriod\\\"],null],false]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentUser\\\",\\\"staff\\\"]],[[[1,\\\"      \\\"],[10,3],[14,6,\\\"/admin/plugins/gamification\\\"],[14,0,\\\"leaderboard__settings\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,5],[\\\"cog\\\"],null]],[1,\\\"\\\\n        \\\"],[1,[52,[51,[30,0,[\\\"site\\\",\\\"mobileView\\\"]]],[28,[37,6],[\\\"gamification.leaderboard.link_to_settings\\\"],null]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isNotReady\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"leaderboard__not-ready\\\"],[12],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,[30,0,[\\\"model\\\",\\\"reason\\\"]]],[13],[1,\\\"\\\\n      \\\"],[8,[39,0],[[24,0,\\\"btn-primary refresh\\\"]],[[\\\"@icon\\\",\\\"@label\\\",\\\"@action\\\"],[\\\"sync\\\",\\\"gamification.leaderboard.refresh\\\",[28,[37,1],[[30,0],\\\"refresh\\\"],null]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"podium__wrapper\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"podium\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"winners\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,0],[15,0,[29,[\\\"winner -position\\\",[30,1,[\\\"position\\\"]]]]],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"winner__crown\\\"],[12],[1,[28,[35,5],[\\\"crown\\\"],null]],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"winner__avatar clickable\\\"],[14,\\\"role\\\",\\\"button\\\"],[15,\\\"data-user-card\\\",[30,1,[\\\"username\\\"]]],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,9],[[30,1]],[[\\\"imageSize\\\"],[\\\"huge\\\"]]]],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"winner__rank\\\"],[12],[1,\\\"\\\\n                \\\"],[10,1],[12],[1,[30,1,[\\\"position\\\"]]],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"winner__name\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"siteSettings\\\",\\\"prioritize_username_in_ux\\\"]],[[[1,\\\"                \\\"],[1,[30,1,[\\\"username\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                \\\"],[1,[28,[35,10],[[30,1,[\\\"name\\\"]],[30,1,[\\\"username\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"winner__score\\\"],[12],[1,[28,[35,11],[[30,1,[\\\"total_score\\\"]]],null]],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"ranking\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"ranking-col-names\\\"],[12],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,[28,[35,6],[\\\"gamification.leaderboard.rank\\\"],null]],[13],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,[28,[35,5],[\\\"award\\\"],null]],[1,[28,[35,6],[\\\"gamification.score\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"ranking-col-names__sticky-border\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentUserRanking\\\",\\\"user\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"user -self\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"user__rank\\\"],[12],[1,[30,0,[\\\"currentUserRanking\\\",\\\"position\\\"]]],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"user__name\\\"],[12],[1,[28,[35,6],[\\\"gamification.you\\\"],null]],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"user__score\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"site\\\",\\\"mobileView\\\"]],[[[1,\\\"              \\\"],[1,[28,[35,12],[[30,0,[\\\"currentUserRanking\\\",\\\"user\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[1,[28,[35,11],[[30,0,[\\\"currentUserRanking\\\",\\\"user\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"],[8,[39,13],null,[[\\\"@selector\\\",\\\"@action\\\"],[\\\".user\\\",[28,[37,1],[[30,0],\\\"loadMore\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"ranking\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[39,14],null,[[\\\"@rank\\\",\\\"@index\\\"],[[30,2],[30,3]]],null],[1,\\\"\\\\n\\\"]],[2,3]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[8,[39,15],null,[[\\\"@condition\\\"],[[30,0,[\\\"loading\\\"]]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13],[1,[28,[32,0],[\\\"[[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `winners` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.winners}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `ranking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.ranking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `loading` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.loading}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"winner\\\",\\\"rank\\\",\\\"index\\\"],false,[\\\"d-button\\\",\\\"action\\\",\\\"unless\\\",\\\"period-chooser\\\",\\\"if\\\",\\\"d-icon\\\",\\\"i18n\\\",\\\"each\\\",\\\"-track-array\\\",\\\"avatar\\\",\\\"or\\\",\\\"fullnumber\\\",\\\"number\\\",\\\"load-more\\\",\\\"gamification-leaderboard-row\\\",\\\"conditional-loading-spinner\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  const LEADERBOARD_PERIODS = _exports.LEADERBOARD_PERIODS = [\"all_time\", \"yearly\", \"quarterly\", \"monthly\", \"weekly\", \"daily\"];\n  function periodString(periodValue) {\n    switch (periodValue) {\n      case 0:\n        return \"all\";\n      case 1:\n        return \"yearly\";\n      case 2:\n        return \"quarterly\";\n      case 3:\n        return \"monthly\";\n      case 4:\n        return \"weekly\";\n      case 5:\n        return \"daily\";\n      default:\n        return \"all\";\n    }\n  }\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend(_loadMore.default, dt7948.p({\n    router: (0, _service.inject)(),\n    modal: (0, _service.inject)(),\n    tagName: \"\",\n    eyelineSelector: \".user\",\n    page: 1,\n    loading: false,\n    canLoadMore: true,\n    period: \"all\",\n    init() {\n      this._super(...arguments);\n      const default_leaderboard_period = periodString(this.model.leaderboard.default_period);\n      this.set(\"period\", default_leaderboard_period);\n    },\n    isNotReady(reason) {\n      return reason !== undefined;\n    },\n    currentUserRanking() {\n      const user = this.model.personal;\n      return user || null;\n    },\n    winners(users) {\n      return users.slice(0, 3);\n    },\n    ranking(users) {\n      users.forEach(user => {\n        if (user.id === this.currentUser?.id) {\n          user.isCurrentUser = \"true\";\n        }\n      });\n      return users.slice(3);\n    },\n    showLeaderboardInfo() {\n      this.modal.show(_leaderboardInfo.default);\n    },\n    loadMore() {\n      if (this.loading || !this.canLoadMore) {\n        return;\n      }\n      this.set(\"loading\", true);\n      return (0, _ajax.ajax)(`/leaderboard/${this.model.leaderboard.id}?page=${this.page}&period=${this.period}`).then(result => {\n        if (result.users.length === 0) {\n          this.set(\"canLoadMore\", false);\n        }\n        this.set(\"page\", this.page += 1);\n        this.set(\"model.users\", this.model.users.concat(result.users));\n      }).finally(() => this.set(\"loading\", false)).catch(_ajaxError.popupAjaxError);\n    },\n    changePeriod(period) {\n      this.set(\"period\", period);\n      return (0, _ajax.ajax)(`/leaderboard/${this.model.leaderboard.id}?period=${this.period}`).then(result => {\n        if (result.users.length === 0) {\n          this.set(\"canLoadMore\", false);\n          this.set(\"model.reason\", result.reason);\n        }\n        this.set(\"page\", 1);\n        this.set(\"model.users\", result.users);\n        this.set(\"model.personal\", result.personal);\n      }).finally(() => this.set(\"loading\", false)).catch(_ajaxError.popupAjaxError);\n    },\n    refresh() {\n      this.router.refresh();\n    }\n  }, [[\"method\", \"isNotReady\", [(0, _decorators.default)(\"model.reason\")]], [\"method\", \"currentUserRanking\", [(0, _decorators.default)(\"model.users\")]], [\"method\", \"winners\", [(0, _decorators.default)(\"model.users\")]], [\"method\", \"ranking\", [(0, _decorators.default)(\"model.users.[]\")]], [\"method\", \"showLeaderboardInfo\", [_object.action]], [\"method\", \"loadMore\", [_object.action]], [\"method\", \"changePeriod\", [_object.action]], [\"method\", \"refresh\", [_object.action]]])));\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/gamification-score\", [\"exports\", \"@ember/component\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if site.default_gamification_leaderboard_id}}\n    <LinkTo\n      @route=\"gamificationLeaderboard.byName\"\n      @model={{site.default_gamification_leaderboard_id}}\n      class=\"gamification-score__link\"\n    >\n      {{fullnumber model.gamification_score}}\n    </LinkTo>\n  {{else}}\n    {{fullnumber model.gamification_score}}\n  {{/if}}\n  */\n  {\n    \"id\": \"tb/1UOdm\",\n    \"block\": \"[[[41,[30,0,[\\\"site\\\",\\\"default_gamification_leaderboard_id\\\"]],[[[1,\\\"  \\\"],[8,[39,1],[[24,0,\\\"gamification-score__link\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"gamificationLeaderboard.byName\\\",[30,0,[\\\"site\\\",\\\"default_gamification_leaderboard_id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[[30,0,[\\\"model\\\",\\\"gamification_score\\\"]]],null]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[1,[28,[35,2],[[30,0,[\\\"model\\\",\\\"gamification_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,[28,[32,0],[\\\"[[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[],false,[\\\"if\\\",\\\"link-to\\\",\\\"fullnumber\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/gamification-score.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    tagName: \"span\",\n    classNames: \"gamification-score\"\n  }));\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row\", [\"exports\", \"@ember/component\", \"ember-this-fallback/this-fallback-helper\", \"ember-this-fallback/try-lookup-helper\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _thisFallbackHelper, _tryLookupHelper, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"user {{if rank.isCurrentUser 'user-highlight'}}\"\n    id=\"leaderboard-user-{{rank.id}}\"\n  >\n    <div class=\"user__rank {{if rank.topRanked '-winner'}}\">{{#if rank.topRanked}}\n        {{d-icon \"crown\"}}\n      {{else}} {{sum index 1}}{{/if}}</div>\n    <div\n      class=\"user__avatar clickable\"\n      role=\"button\"\n      data-user-card={{rank.username}}\n    >\n      {{avatar rank imageSize=\"small\"}}\n      {{#if rank.isCurrentUser}}\n        <span class=\"user__name\">{{i18n \"gamification.you\"}}</span>\n      {{else}}\n        <span class=\"user__name\">\n          {{#if this.siteSettings.prioritize_username_in_ux}}\n            {{rank.username}}\n          {{else}}\n            {{or rank.name rank.username}}\n          {{/if}}\n        </span>\n      {{/if}}\n    </div>\n    <div class=\"user__score\">\n      {{number rank.total_score}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"9SaUW/gc\",\n    \"block\": \"[[[44,[[28,[37,1],null,[[\\\"rank\\\"],[[28,[32,0],[\\\"rank\\\"],null]]]]],[[[10,0],[15,0,[29,[\\\"user \\\",[52,[30,0,[\\\"rank\\\",\\\"isCurrentUser\\\"]],\\\"user-highlight\\\"]]]],[15,1,[29,[\\\"leaderboard-user-\\\",[52,[30,1,[\\\"rank\\\"]],[28,[30,1,[\\\"rank\\\"]],null,null],[28,[32,1],[[30,0],\\\"rank.id\\\",\\\"[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]]]],[12],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[\\\"user__rank \\\",[52,[30,0,[\\\"rank\\\",\\\"topRanked\\\"]],\\\"-winner\\\"]]]],[12],[41,[30,0,[\\\"rank\\\",\\\"topRanked\\\"]],[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"crown\\\"],null]],[1,\\\"\\\\n    \\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,4],[[30,0,[\\\"index\\\"]],1],null]]],[]]],[13],[1,\\\"\\\\n  \\\"],[44,[[28,[37,1],null,[[\\\"rank\\\"],[[28,[32,0],[\\\"rank\\\"],null]]]]],[[[10,0],[14,0,\\\"user__avatar clickable\\\"],[14,\\\"role\\\",\\\"button\\\"],[15,\\\"data-user-card\\\",[52,[30,2,[\\\"rank\\\"]],[28,[30,2,[\\\"rank\\\"]],null,null],[28,[32,1],[[30,0],\\\"rank.username\\\",\\\"[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,5],[[30,0,[\\\"rank\\\"]]],[[\\\"imageSize\\\"],[\\\"small\\\"]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"rank\\\",\\\"isCurrentUser\\\"]],[[[1,\\\"      \\\"],[10,1],[14,0,\\\"user__name\\\"],[12],[1,[28,[35,6],[\\\"gamification.you\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[10,1],[14,0,\\\"user__name\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"siteSettings\\\",\\\"prioritize_username_in_ux\\\"]],[[[1,\\\"          \\\"],[1,[30,0,[\\\"rank\\\",\\\"username\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[1,[28,[35,7],[[30,0,[\\\"rank\\\",\\\"name\\\"]],[30,0,[\\\"rank\\\",\\\"username\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"],[13]],[2]]],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"user__score\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,8],[[30,0,[\\\"rank\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[1]]],[1,[28,[32,2],[\\\"[[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `index` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.index}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `rank` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.rank}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"maybeHelpers\\\",\\\"maybeHelpers0\\\"],false,[\\\"let\\\",\\\"hash\\\",\\\"if\\\",\\\"d-icon\\\",\\\"sum\\\",\\\"avatar\\\",\\\"i18n\\\",\\\"or\\\",\\\"number\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard-row.hbs\",\n    \"scope\": () => [_tryLookupHelper.default, _thisFallbackHelper.default, _deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  class MinimalGamificationLeaderboardRow extends _component.default {}\n  _exports.default = MinimalGamificationLeaderboardRow;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MinimalGamificationLeaderboardRow);\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"discourse/lib/ajax\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _ajax, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"leaderboard -minimal\">\n    <div class=\"page__header\">\n      <LinkTo\n        @route=\"gamificationLeaderboard.byName\"\n        @model={{this.model.leaderboard.id}}\n      >\n        <h3 class=\"page__title\">{{this.model.leaderboard.name}}</h3>\n      </LinkTo>\n    </div>\n  \n    <div class=\"ranking-col-names\">\n      <span>{{i18n \"gamification.leaderboard.rank\"}}</span>\n      <span>{{d-icon \"award\"}}{{i18n \"gamification.score\"}}</span>\n    </div>\n    <div class=\"ranking-col-names__sticky-border\"></div>\n    {{#if (and currentUserRanking.user notTopTen)}}\n      <div class=\"user -self\">\n        <div class=\"user__rank\">{{currentUserRanking.position}}</div>\n        <div class=\"user__name\">{{i18n \"gamification.you\"}}</div>\n        <div class=\"user__score\">\n          {{#if site.mobileView}}\n            {{number currentUserRanking.user.total_score}}\n          {{else}}\n            {{fullnumber currentUserRanking.user.total_score}}\n          {{/if}}\n        </div>\n      </div>\n    {{/if}}\n  \n    {{#each ranking as |rank index|}}\n      <MinimalGamificationLeaderboardRow @rank={{rank}} @index={{index}} />\n    {{/each}}\n  </div>\n  */\n  {\n    \"id\": \"WgK5UxHw\",\n    \"block\": \"[[[10,0],[14,0,\\\"leaderboard -minimal\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"page__header\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,0],null,[[\\\"@route\\\",\\\"@model\\\"],[\\\"gamificationLeaderboard.byName\\\",[30,0,[\\\"model\\\",\\\"leaderboard\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"page__title\\\"],[12],[1,[30,0,[\\\"model\\\",\\\"leaderboard\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"ranking-col-names\\\"],[12],[1,\\\"\\\\n    \\\"],[10,1],[12],[1,[28,[35,1],[\\\"gamification.leaderboard.rank\\\"],null]],[13],[1,\\\"\\\\n    \\\"],[10,1],[12],[1,[28,[35,2],[\\\"award\\\"],null]],[1,[28,[35,1],[\\\"gamification.score\\\"],null]],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"ranking-col-names__sticky-border\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"currentUserRanking\\\",\\\"user\\\"]],[30,0,[\\\"notTopTen\\\"]]],null],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"user -self\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"user__rank\\\"],[12],[1,[30,0,[\\\"currentUserRanking\\\",\\\"position\\\"]]],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"user__name\\\"],[12],[1,[28,[35,1],[\\\"gamification.you\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"user__score\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"site\\\",\\\"mobileView\\\"]],[[[1,\\\"          \\\"],[1,[28,[35,5],[[30,0,[\\\"currentUserRanking\\\",\\\"user\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[1,[28,[35,6],[[30,0,[\\\"currentUserRanking\\\",\\\"user\\\",\\\"total_score\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"ranking\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[39,9],null,[[\\\"@rank\\\",\\\"@index\\\"],[[30,1],[30,2]]],null],[1,\\\"\\\\n\\\"]],[1,2]],null],[13],[1,[28,[32,0],[\\\"[[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `notTopTen` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.notTopTen}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `site` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.site}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `currentUserRanking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.currentUserRanking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `ranking` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.ranking}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"rank\\\",\\\"index\\\"],false,[\\\"link-to\\\",\\\"i18n\\\",\\\"d-icon\\\",\\\"if\\\",\\\"and\\\",\\\"number\\\",\\\"fullnumber\\\",\\\"each\\\",\\\"-track-array\\\",\\\"minimal-gamification-leaderboard-row\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/minimal-gamification-leaderboard.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, class extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"notTop10\", [_tracking.tracked], function () {\n      return true;\n    }))();\n    #notTop10 = (() => (dt7948.i(this, \"notTop10\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"model\", [_tracking.tracked], function () {\n      return null;\n    }))();\n    #model = (() => (dt7948.i(this, \"model\"), void 0))();\n    constructor() {\n      super(...arguments);\n      const count = this.args?.params?.count || 10;\n      const data = {\n        user_limit: count\n      };\n\n      // used in the right sidebar blocks theme component\n      const leaderboardId = this.args?.params?.id || null;\n      const endpoint = leaderboardId ? `/leaderboard/${leaderboardId}` : \"/leaderboard\";\n      (0, _ajax.ajax)(endpoint, {\n        data\n      }).then(model => {\n        this.model = model;\n      });\n    }\n    get currentUserRanking() {\n      const user = this.model?.personal;\n      if (user) {\n        this.notTop10 = user.position > 10;\n      }\n      return user || null;\n    }\n    get ranking() {\n      this.model?.users?.forEach(user => {\n        if (user.id === this.model.personal?.user?.id) {\n          user.isCurrentUser = \"true\";\n        }\n        if (this.model.users.indexOf(user) === 0) {\n          user.topRanked = true;\n        }\n      });\n      return this.model?.users;\n    }\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/modal/leaderboard-info\", [\"exports\", \"@ember/template\", \"discourse/components/d-modal\", \"discourse-common/helpers/d-icon\", \"discourse-common/helpers/i18n\", \"@ember/component\", \"@ember/template-factory\", \"@ember/component/template-only\"], function (_exports, _template2, _dModal, _dIcon, _i18n, _component, _templateFactory, _templateOnly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const LeaderboardInfo = (0, _component.setComponentTemplate)((0, _templateFactory.createTemplateFactory)(\n  /*\n    \n    <DModal\n      @title={{i18n \"gamification.leaderboard.modal.title\"}}\n      @closeModal={{@closeModal}}\n      class=\"leaderboard-info-modal\"\n    >\n      <:body>\n        {{icon \"award\"}}\n        {{htmlSafe (i18n \"gamification.leaderboard.modal.text\")}}\n      </:body>\n    </DModal>\n  \n  */\n  {\n    \"id\": \"16TLFFUZ\",\n    \"block\": \"[[[1,\\\"\\\\n  \\\"],[8,[32,0],[[24,0,\\\"leaderboard-info-modal\\\"]],[[\\\"@title\\\",\\\"@closeModal\\\"],[[28,[32,1],[\\\"gamification.leaderboard.modal.title\\\"],null],[30,1]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[32,2],[\\\"award\\\"],null]],[1,\\\"\\\\n      \\\"],[1,[28,[32,3],[[28,[32,1],[\\\"gamification.leaderboard.modal.text\\\"],null]],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[\\\"@closeModal\\\"],false,[]]\",\n    \"moduleName\": \"/srv/discourse/app/app/assets/javascripts/discourse/discourse/plugins/discourse-gamification/discourse/components/modal/leaderboard-info.js\",\n    \"scope\": () => [_dModal.default, _i18n.default, _dIcon.default, _template2.htmlSafe],\n    \"isStrictMode\": true\n  }), (0, _templateOnly.default)());\n  var _default = _exports.default = LeaderboardInfo;\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse-common/utils/decorators\", \"I18n\", \"ember-this-fallback/is-component\", \"ember-this-fallback/this-fallback-helper\", \"ember-this-fallback/try-lookup-helper\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _service, _ajax, _ajaxError, _decorators, _I18n, _isComponent, _thisFallbackHelper, _tryLookupHelper, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <DModal\n    class=\"recalculate-scores-form-modal\"\n    @title={{i18n \"gamification.recalculate\"}}\n  >\n    <:body>\n      {{#if (eq this.status \"loading\")}}\n        <div class=\"recalculate-modal__status\">\n          <em>{{i18n \"gamification.recalculating\"}}</em>\n        </div>\n      {{else if (eq this.status \"complete\")}}\n        <div class=\"recalculate-modal__status is-success\">\n          {{d-icon \"check\"}}\n          {{i18n \"gamification.completed\"}}\n        </div>\n      {{else}}\n        <form class=\"form-horizontal\">\n          <div class=\"input-group\">\n            <label>{{i18n \"gamification.update_scores_help\"}}</label>\n            <ComboBox\n              @id=\"update-range\"\n              @valueProperty=\"value\"\n              @content={{this.updateRange}}\n              @value={{this.updateRangeValue}}\n              @onChange={{action (mut this.updateRangeValue)}}\n            />\n  \n            {{#if (eq this.updateRangeValue 5)}}\n              <div class=\"input-group -custom-range\">\n                <label>{{i18n \"gamification.custom_range_from\"}}</label>\n                <DatePickerPast\n                  @id=\"custom-from-date\"\n                  @placeholder=\"yyyy-mm-dd\"\n                  @value={{recalculateFromDate}}\n                  @onSelect={{action (mut recalculateFromDate)}}\n                  class=\"date-input\"\n                />\n              </div>\n            {{else}}\n              <div class=\"recalculate-modal__date-range\">\n                {{dateRange}}\n              </div>\n            {{/if}}\n          </div>\n        </form>\n      {{/if}}\n    </:body>\n  \n    <:footer>\n      <DButton\n        @action={{action \"apply\"}}\n        @label=\"gamification.apply\"\n        @ariaLabel=\"gamification.apply\"\n        @disabled={{applyDisabled}}\n        id=\"apply-section\"\n        class=\"btn-primary\"\n      />\n      <DButton\n        @action={{@closeModal}}\n        @label={{if\n          (eq status \"complete\")\n          \"gamification.close\"\n          \"gamification.cancel\"\n        }}\n        @ariaLabel=\"gamification.cancel\"\n        id=\"cancel-section\"\n        class=\"btn-secondary\"\n      />\n  \n      <div class=\"recalculate-modal__footer-text\">{{remainingText}}</div>\n    </:footer>\n  </DModal>\n  */\n  {\n    \"id\": \"x83+k1d0\",\n    \"block\": \"[[[8,[39,0],[[24,0,\\\"recalculate-scores-form-modal\\\"]],[[\\\"@title\\\"],[[28,[37,1],[\\\"gamification.recalculate\\\"],null]]],[[\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"status\\\"]],\\\"loading\\\"],null],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"recalculate-modal__status\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"em\\\"],[12],[1,[28,[35,1],[\\\"gamification.recalculating\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,3],[[30,0,[\\\"status\\\"]],\\\"complete\\\"],null],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"recalculate-modal__status is-success\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"check\\\"],null]],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"gamification.completed\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[10,\\\"form\\\"],[14,0,\\\"form-horizontal\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"input-group\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[12],[1,[28,[35,1],[\\\"gamification.update_scores_help\\\"],null]],[13],[1,\\\"\\\\n          \\\"],[8,[39,5],null,[[\\\"@id\\\",\\\"@valueProperty\\\",\\\"@content\\\",\\\"@value\\\",\\\"@onChange\\\"],[\\\"update-range\\\",\\\"value\\\",[30,0,[\\\"updateRange\\\"]],[30,0,[\\\"updateRangeValue\\\"]],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"updateRangeValue\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"updateRangeValue\\\"]],5],null],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"input-group -custom-range\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"label\\\"],[12],[1,[28,[35,1],[\\\"gamification.custom_range_from\\\"],null]],[13],[1,\\\"\\\\n              \\\"],[8,[39,8],[[24,0,\\\"date-input\\\"]],[[\\\"@id\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSelect\\\"],[\\\"custom-from-date\\\",\\\"yyyy-mm-dd\\\",[30,0,[\\\"recalculateFromDate\\\"]],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"recalculateFromDate\\\"]]],null]],null]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"recalculate-modal__date-range\\\"],[12],[1,\\\"\\\\n              \\\"],[41,[28,[32,0],[\\\"dateRange\\\"],null],[[[8,[39,9],null,null,null]],[]],[[[44,[[28,[37,11],null,[[\\\"dateRange\\\"],[[28,[32,1],[\\\"dateRange\\\"],null]]]]],[[[1,[52,[30,1,[\\\"dateRange\\\"]],[28,[30,1,[\\\"dateRange\\\"]],null,null],[28,[32,2],[[30,0],\\\"dateRange\\\",\\\"[\\\\\\\"The `dateRange` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.dateRange}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]]],[1]]]],[]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]],[]]],[1,\\\"  \\\"]],[]],[[[1,\\\"\\\\n    \\\"],[8,[39,12],[[24,1,\\\"apply-section\\\"],[24,0,\\\"btn-primary\\\"]],[[\\\"@action\\\",\\\"@label\\\",\\\"@ariaLabel\\\",\\\"@disabled\\\"],[[28,[37,6],[[30,0],\\\"apply\\\"],null],\\\"gamification.apply\\\",\\\"gamification.apply\\\",[30,0,[\\\"applyDisabled\\\"]]]],null],[1,\\\"\\\\n    \\\"],[8,[39,12],[[24,1,\\\"cancel-section\\\"],[24,0,\\\"btn-secondary\\\"]],[[\\\"@action\\\",\\\"@label\\\",\\\"@ariaLabel\\\"],[[30,2],[52,[28,[37,3],[[30,0,[\\\"status\\\"]],\\\"complete\\\"],null],\\\"gamification.close\\\",\\\"gamification.cancel\\\"],\\\"gamification.cancel\\\"]],null],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"recalculate-modal__footer-text\\\"],[12],[41,[28,[32,0],[\\\"remainingText\\\"],null],[[[8,[39,13],null,null,null]],[]],[[[44,[[28,[37,11],null,[[\\\"remainingText\\\"],[[28,[32,1],[\\\"remainingText\\\"],null]]]]],[[[1,[52,[30,3,[\\\"remainingText\\\"]],[28,[30,3,[\\\"remainingText\\\"]],null,null],[28,[32,2],[[30,0],\\\"remainingText\\\",\\\"[\\\\\\\"The `remainingText` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.remainingText}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]\\\"],null]]]],[3]]]],[]]],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,[28,[32,3],[\\\"[[\\\\\\\"The `recalculateFromDate` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.recalculateFromDate}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `recalculateFromDate` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.recalculateFromDate}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `applyDisabled` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.applyDisabled}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `status` property path was used in the `discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.status}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"maybeHelpers\\\",\\\"@closeModal\\\",\\\"maybeHelpers\\\"],false,[\\\"d-modal\\\",\\\"i18n\\\",\\\"if\\\",\\\"eq\\\",\\\"d-icon\\\",\\\"combo-box\\\",\\\"action\\\",\\\"mut\\\",\\\"date-picker-past\\\",\\\"date-range\\\",\\\"let\\\",\\\"hash\\\",\\\"d-button\\\",\\\"remaining-text\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/components/modal/recalculate-scores-form.hbs\",\n    \"scope\": () => [_isComponent.default, _tryLookupHelper.default, _thisFallbackHelper.default, _deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  class RecalculateScoresForm extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"messageBus\", [_service.inject]))();\n    #messageBus = (() => (dt7948.i(this, \"messageBus\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"updateRangeValue\", [_tracking.tracked], function () {\n      return 0;\n    }))();\n    #updateRangeValue = (() => (dt7948.i(this, \"updateRangeValue\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"recalculateFromDate\", [_tracking.tracked], function () {\n      return \"\";\n    }))();\n    #recalculateFromDate = (() => (dt7948.i(this, \"recalculateFromDate\"), void 0))();\n    static #_4 = (() => dt7948.g(this.prototype, \"haveAvailability\", [_tracking.tracked], function () {\n      return this.args.model.recalculate_scores_remaining > 0;\n    }))();\n    #haveAvailability = (() => (dt7948.i(this, \"haveAvailability\"), void 0))();\n    static #_5 = (() => dt7948.g(this.prototype, \"remaining\", [_tracking.tracked], function () {\n      return this.args.model.recalculate_scores_remaining;\n    }))();\n    #remaining = (() => (dt7948.i(this, \"remaining\"), void 0))();\n    static #_6 = (() => dt7948.g(this.prototype, \"status\", [_tracking.tracked], function () {\n      return \"initial\";\n    }))();\n    #status = (() => (dt7948.i(this, \"status\"), void 0))();\n    updateRange = (() => [{\n      name: _I18n.default.t(\"gamification.update_range.last_10_days\"),\n      value: 0,\n      calculation: {\n        count: 10,\n        type: \"days\"\n      }\n    }, {\n      name: _I18n.default.t(\"gamification.update_range.last_30_days\"),\n      value: 1,\n      calculation: {\n        count: 30,\n        type: \"days\"\n      }\n    }, {\n      name: _I18n.default.t(\"gamification.update_range.last_90_days\"),\n      value: 2,\n      calculation: {\n        count: 90,\n        type: \"days\"\n      }\n    }, {\n      name: _I18n.default.t(\"gamification.update_range.last_year\"),\n      value: 3,\n      calculation: {\n        count: 1,\n        type: \"year\"\n      }\n    }, {\n      name: _I18n.default.t(\"gamification.update_range.all_time\"),\n      value: 4\n    }, {\n      name: _I18n.default.t(\"gamification.update_range.custom_date_range\"),\n      value: 5\n    }])();\n    constructor() {\n      super(...arguments);\n      this.messageBus.subscribe(\"/recalculate_scores\", this.onMessage);\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.messageBus.unsubscribe(\"/recalculate_scores\", this.onMessage);\n    }\n    onMessage(message) {\n      if (message.success) {\n        this.status = \"complete\";\n        this.args.model.recalculate_scores_remaining = message.remaining;\n        this.remaining = message.remaining;\n      }\n    }\n    static #_7 = (() => dt7948.n(this.prototype, \"onMessage\", [_decorators.bind]))();\n    get remainingText() {\n      return _I18n.default.t(\"gamification.daily_update_scores_availability\", {\n        count: this.remaining\n      });\n    }\n    get applyDisabled() {\n      if (!this.haveAvailability || this.status !== \"initial\") {\n        return true;\n      } else if (this.updateRangeValue === 5 && this.recalculateFromDate <= moment().locale(\"en\").utc().endOf(\"day\")) {\n        return true;\n      } else {\n        return false;\n      }\n    }\n    get dateRange() {\n      if (this.updateRangeValue === 4) {\n        return;\n      }\n      let today = moment().locale(\"en\").utc().endOf(\"day\");\n      let pastDate = this.dateRangeToDate(this.updateRangeValue);\n      return `${pastDate} - ${today.format(_I18n.default.t(\"dates.long_with_year_no_time\"))}`;\n    }\n    dateRangeToDate(updateRangeValue) {\n      if (updateRangeValue === 4) {\n        return \"2014-8-26\";\n      }\n      if (updateRangeValue === 5) {\n        return this.recalculateFromDate;\n      }\n      let today = moment().locale(\"en\").utc().endOf(\"day\");\n      let updateRange = this.updateRange.find(obj => {\n        return obj.value === updateRangeValue;\n      });\n      let pastDate = today.clone().subtract(updateRange.calculation.count, updateRange.calculation.type);\n      return pastDate.format(_I18n.default.t(\"dates.long_with_year_no_time\"));\n    }\n    static #_8 = (() => dt7948.n(this.prototype, \"dateRangeToDate\", [_decorators.bind]))();\n    apply() {\n      this.status = \"loading\";\n      const data = {\n        from_date: this.dateRangeToDate(this.updateRangeValue)\n      };\n      return (0, _ajax.ajax)(`/admin/plugins/gamification/recalculate-scores.json`, {\n        data,\n        type: \"PUT\"\n      }).catch(_ajaxError.popupAjaxError);\n    }\n    static #_9 = (() => dt7948.n(this.prototype, \"apply\", [_object.action]))();\n  }\n  _exports.default = RecalculateScoresForm;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RecalculateScoresForm);\n});","define(\"discourse/plugins/discourse-gamification/discourse/components/period-input\", [\"exports\", \"@ember/object\", \"I18n\", \"select-kit/components/combo-box\", \"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard\"], function (_exports, _object, _I18n, _comboBox, _gamificationLeaderboard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _comboBox.default.extend({\n    pluginApiIdentifiers: [\"period-input\"],\n    classNames: [\"period-input\", \"period-input\"],\n    selectKitOptions: {\n      filterable: true,\n      allowAny: false\n    },\n    content: (0, _object.computed)(function () {\n      let periods = [];\n      periods = periods.concat(_gamificationLeaderboard.LEADERBOARD_PERIODS.map((period, index) => ({\n        name: _I18n.default.t(`gamification.leaderboard.period.${period}`),\n        id: index\n      })));\n      return periods;\n    })\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/controllers/gamification-leaderboard-by-name\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({});\n});","define(\"discourse/plugins/discourse-gamification/discourse/controllers/gamification-leaderboard-index\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({});\n});","define(\"discourse/plugins/discourse-gamification/discourse/gamification-route-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default() {\n    this.route(\"gamificationLeaderboard\", {\n      path: \"/leaderboard\"\n    }, function () {\n      this.route(\"byName\", {\n        path: \"/:leaderboardId\"\n      });\n    });\n  }\n});","define(\"discourse/plugins/discourse-gamification/discourse/helpers/fullnumber\", [\"exports\", \"@ember/component/helper\", \"I18n\"], function (_exports, _helper, _I18n) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.fullnumber = fullnumber;\n  function fullnumber(number) {\n    return _I18n.default.toNumber(number, {\n      precision: 0\n    });\n  }\n  var _default = _exports.default = _helper.default.helper(fullnumber);\n});","define(\"discourse/plugins/discourse-gamification/discourse/helpers/sum\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sum = sum;\n  function sum(params) {\n    return params[0] + params[1];\n  }\n  var _default = _exports.default = _helper.default.helper(sum);\n});","define(\"discourse/plugins/discourse-gamification/discourse/models/gamification-leaderboard\", [\"exports\", \"@glimmer/tracking\", \"I18n\", \"discourse/plugins/discourse-gamification/discourse/components/gamification-leaderboard\"], function (_exports, _tracking, _I18n, _gamificationLeaderboard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GamificationLeaderboard {\n    static create() {\n      let args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return new GamificationLeaderboard(args);\n    }\n    static #_ = (() => dt7948.g(this.prototype, \"id\", [_tracking.tracked]))();\n    #id = (() => (dt7948.i(this, \"id\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"createdAt\", [_tracking.tracked]))();\n    #createdAt = (() => (dt7948.i(this, \"createdAt\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"updatedAt\", [_tracking.tracked]))();\n    #updatedAt = (() => (dt7948.i(this, \"updatedAt\"), void 0))();\n    static #_4 = (() => dt7948.g(this.prototype, \"createdById\", [_tracking.tracked]))();\n    #createdById = (() => (dt7948.i(this, \"createdById\"), void 0))();\n    static #_5 = (() => dt7948.g(this.prototype, \"excludedGroupsIds\", [_tracking.tracked]))();\n    #excludedGroupsIds = (() => (dt7948.i(this, \"excludedGroupsIds\"), void 0))();\n    static #_6 = (() => dt7948.g(this.prototype, \"includedGroupsIds\", [_tracking.tracked]))();\n    #includedGroupsIds = (() => (dt7948.i(this, \"includedGroupsIds\"), void 0))();\n    static #_7 = (() => dt7948.g(this.prototype, \"visibleToGroupsIds\", [_tracking.tracked]))();\n    #visibleToGroupsIds = (() => (dt7948.i(this, \"visibleToGroupsIds\"), void 0))();\n    static #_8 = (() => dt7948.g(this.prototype, \"forCategoryId\", [_tracking.tracked]))();\n    #forCategoryId = (() => (dt7948.i(this, \"forCategoryId\"), void 0))();\n    static #_9 = (() => dt7948.g(this.prototype, \"fromDate\", [_tracking.tracked]))();\n    #fromDate = (() => (dt7948.i(this, \"fromDate\"), void 0))();\n    static #_10 = (() => dt7948.g(this.prototype, \"toDate\", [_tracking.tracked]))();\n    #toDate = (() => (dt7948.i(this, \"toDate\"), void 0))();\n    static #_11 = (() => dt7948.g(this.prototype, \"name\", [_tracking.tracked]))();\n    #name = (() => (dt7948.i(this, \"name\"), void 0))();\n    static #_12 = (() => dt7948.g(this.prototype, \"period\", [_tracking.tracked]))();\n    #period = (() => (dt7948.i(this, \"period\"), void 0))();\n    constructor() {\n      let args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      this.id = args.id;\n      this.createdAt = args.created_at;\n      this.updatedAt = args.updated_at;\n      this.createdById = args.created_by_id;\n      this.excludedGroupsIds = args.excluded_groups_ids;\n      this.includedGroupsIds = args.included_groups_ids;\n      this.visibleToGroupsIds = args.visible_to_groups_ids;\n      this.forCategoryId = args.for_category_id;\n      this.fromDate = args.from_date;\n      this.toDate = args.to_date;\n      this.name = args.name;\n      this.period = args.period;\n      if (Number.isInteger(args.default_period)) {\n        this.defaultPeriod = _I18n.default.t(`gamification.leaderboard.period.${_gamificationLeaderboard.LEADERBOARD_PERIODS[args.default_period]}`);\n      }\n    }\n  }\n  _exports.default = GamificationLeaderboard;\n});","define(\"discourse/plugins/discourse-gamification/discourse/routes/gamification-leaderboard-by-name\", [\"exports\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _service, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _discourse.default.extend({\n    router: (0, _service.inject)(),\n    model(params) {\n      return (0, _ajax.ajax)(`/leaderboard/${params.leaderboardId}`).then(response => {\n        return response;\n      }).catch(() => this.router.replaceWith(\"/404\"));\n    }\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/routes/gamification-leaderboard-index\", [\"exports\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _service, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _discourse.default.extend({\n    router: (0, _service.inject)(),\n    model() {\n      return (0, _ajax.ajax)(`/leaderboard`).then(response => {\n        return response;\n      }).catch(() => this.router.replaceWith(\"/404\"));\n    }\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/templates/connectors/user-card-metadata/gamification-score\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if user.gamification_score}}\n    <span class=\"desc\">{{i18n \"gamification.score\"}} </span>\n    <span>{{gamification-score model=user}}</span>\n  {{/if}}\n  */\n  {\n    \"id\": \"rr2VMPNb\",\n    \"block\": \"[[[41,[30,0,[\\\"user\\\",\\\"gamification_score\\\"]],[[[1,\\\"  \\\"],[10,1],[14,0,\\\"desc\\\"],[12],[1,[28,[35,1],[\\\"gamification.score\\\"],null]],[1,\\\" \\\"],[13],[1,\\\"\\\\n  \\\"],[10,1],[12],[1,[28,[35,2],null,[[\\\"model\\\"],[[30,0,[\\\"user\\\"]]]]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,[28,[32,0],[\\\"[[\\\\\\\"The `user` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/connectors/user-card-metadata/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.user}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `user` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/connectors/user-card-metadata/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.user}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[],false,[\\\"if\\\",\\\"i18n\\\",\\\"gamification-score\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/templates/connectors/user-card-metadata/gamification-score.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/templates/connectors/user-profile-secondary/gamification-score\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if model.gamification_score}}\n    <dl>\n      <dt>\n        {{i18n \"gamification.score\"}}\n      </dt>\n      <dd>\n        {{gamification-score model=model}}\n      </dd>\n    </dl>\n  {{/if}}\n  */\n  {\n    \"id\": \"D7IA9djU\",\n    \"block\": \"[[[41,[30,0,[\\\"model\\\",\\\"gamification_score\\\"]],[[[1,\\\"  \\\"],[10,\\\"dl\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"dt\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"gamification.score\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"dd\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"model\\\"],[[30,0,[\\\"model\\\"]]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,[28,[32,0],[\\\"[[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/connectors/user-profile-secondary/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}],[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/connectors/user-profile-secondary/gamification-score.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[],false,[\\\"if\\\",\\\"i18n\\\",\\\"gamification-score\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/templates/connectors/user-profile-secondary/gamification-score.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-by-name\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <GamificationLeaderboard @model={{model}} />\n  */\n  {\n    \"id\": \"q6FU+oHD\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@model\\\"],[[30,0,[\\\"model\\\"]]]],null],[1,[28,[32,0],[\\\"[[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-by-name.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[],false,[\\\"gamification-leaderboard\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-by-name.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-index\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <GamificationLeaderboard @model={{model}} />\n  */\n  {\n    \"id\": \"+gx4GOUn\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@model\\\"],[[30,0,[\\\"model\\\"]]]],null],[1,[28,[32,0],[\\\"[[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-index.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.model}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[],false,[\\\"gamification-leaderboard\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-gamification/discourse/templates/gamification-leaderboard-index.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-gamification/initializers/admin-plugin-configuration-nav\", [\"exports\", \"discourse/lib/admin-plugin-config-nav\", \"discourse/lib/plugin-api\"], function (_exports, _adminPluginConfigNav, _pluginApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: \"discourse-gamification-admin-plugin-configuration-nav\",\n    initialize(container) {\n      const currentUser = container.lookup(\"service:current-user\");\n      if (!currentUser || !currentUser.admin) {\n        return;\n      }\n      (0, _pluginApi.withPluginApi)(\"1.1.0\", api => {\n        api.addAdminPluginConfigurationNav(\"discourse-gamification\", _adminPluginConfigNav.PLUGIN_NAV_MODE_TOP, [{\n          label: \"gamification.leaderboard.title\",\n          route: \"adminPlugins.show.discourse-gamification-leaderboards\"\n        }]);\n      });\n    }\n  };\n});"],"mappings":"AAAAA,OAAA,yHAAAC,GACA;AAEAC,OAAAC,eAAAF,EAAA,cACAG,OAAA,IAEAH,EAAAI,aAAA;AACAJ,EAAAI,QAAA,CACAC,SAAA,0BACAC,KAAA,WACA,GAAAC,GACAC,KAAAC,MAAA,uCACAH,KAAA,iBACA,WACAE,KAAAC,MAAA,QACAH,KAAA,QAEA,GACA,E,IClBAP,OAAA,6RAAAC,EAAAU,EAAAC,EAAAC,EAAAC,EAAAC,GACA;AAEAb,OAAAC,eAAAF,EAAA,cACAG,OAAA,IAEAH,EAAAI,aAA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