M.elementTop()){D=!1;return}})}replaceState(e){e.startsWith("#")&&(e=this.routerService.currentURL.replace(/#.*$/,"")+e),e=(0,c.withoutPrefix)(e),this.routerService.currentURL!==e&&(0,r.next)(()=>{this.router._routerMicrolib.replaceURL(e)})}pushState(e){e=(0,c.withoutPrefix)(e),this.router._routerMicrolib.updateURL(e)}routeToTag(e){return!!e&&!!e.href&&(e.host&&e.host!==document.location.host?(document.location=e.href,!1):this.routeTo(e.href))}routeTo(e,t){if(t=t||{},(0,a.isEmpty)(e))return;if(g.default.currentProp("requiresRefresh")&&!this.isComposerOpen)return this.redirectTo(e);let i=e.replace(/^(https?\:)?\/\/[^\/]+/,"");if(!this.isInternal(e))return this.redirectTo(e);if(y.some(e=>i.match(e)))return void this.redirectTo(e);let s=/^#(.+)$/.exec(e);if(s)return this.jumpToElement(s[1]),this.replaceState(e);let n=this.routerService.currentURL;if((e=e.replace(/^(https?\:)?\/\/[^\/]+/,"")).startsWith("/")&&(e=(0,c.withoutPrefix)(e)),"function"==typeof t.afterRouteComplete&&(0,r.schedule)("afterRender",t.afterRouteComplete),!this.navigatedToPost(n,e,t))return(n===e||this.refreshedHomepage(n,e))&&this.routerService.refresh(),""===e&&(e="/"),this.handleURL(e,t)}routeToUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.routeTo((0,c.default)(e),t)}rewrite(e,t,i){f.push({regexp:e,replacement:t,opts:i||{}})}redirectAbsolute(e){return!!(0,u.isTesting)()||(window.location=e,!0)}redirectTo(e){return this.redirectAbsolute((0,c.default)(e))}isInternal(e){if(!e?.length)return!1;if(e.startsWith("//")&&(e="http:"+e),e.startsWith("http://")||e.startsWith("https://"))return e.startsWith(this.origin)||e.replace(/^http/,"https").startsWith(this.origin)||e.replace(/^https/,"http").startsWith(this.origin);try{let t=new URL(e,this.origin);if("http:"!==t.protocol&&"https:"!==t.protocol)return!1}catch{return!1}return!0}isInternalTopic(e){return!!this.isInternal(e)&&e.replace(this.origin,"").startsWith("/t/")}navigatedToPost(e,t,i){let s=_.exec(t),n=s?s[2]:null;if(n){let r=_.exec(e);if((r?r[2]:null)===n){this.replaceState(t);let e=this.container.lookup("controller:topic"),n={},r=e.get("model.postStream");return s[3]&&(n.nearPost=s[3]),t.match(/last$/)&&(n.nearPost=e.get("model.highest_post_number")),i.keepFilter||(n.cancelFilter=!0),r.refresh(n).then(()=>{let s=r.closestPostNumberFor(n.nearPost||1);e.setProperties({"model.currentPost":s,enteredAt:Date.now().toString()}),this.appEvents.trigger("post:highlight",s);let a={skipIfOnScreen:i.skipIfOnScreen,jumpEnd:i.jumpEnd},o=/#(.+)$/.exec(t);o&&(a.anchor=o[1]),this.jumpToPost(s,a)}),!0}}return!1}refreshedHomepage(e,t){let i=(0,h.defaultHomepage)();return("/"===t||t==="/"+i)&&("/"===e||e==="/"+i)}get origin(){let e=(0,c.default)("/");return window.location.origin+("/"===e?"":e)}get isComposerOpen(){return this.container.lookup("service:composer")?.visible}get router(){return this.container.lookup("router:main")}get routerService(){return this.container.lookup("service:router")}get appEvents(){return this.container.lookup("service:app-events")}controllerFor(e){return this.container.lookup("controller:"+e)}handleURL(e,t){let i;(t=t||{}).replaceURL&&this.replaceState(e);let s=e.split("#");2===s.length&&(e=s[0],i=s[1]),e=e.replaceAll(/\/\/+/g,"/");let n=this.routerService.transitionTo(e);return n._discourse_intercepted=!0,n._discourse_anchor=i,n._discourse_original_url=e,(n.promise||n).then(()=>this.jumpToElement(i))}jumpToElement(e){if(A||(0,a.isEmpty)(e))return;let t=`#main #${e}, a[name=${e}]`;A=!0,(0,r.schedule)("afterRender",function(){M&&M.clearLock(),(M=new d.default(t,{finished(){A=!1,M=null}})).lock()})}}let E=x.create();function L(e){E.container=e,(0,n.setOwner)(E,e)}function P(e){return e&&"string"==typeof e?(e=e.trim()).startsWith("//")?`https:${e}`:e.startsWith("/")||e.includes("://")||e.startsWith("mailto:")?e:`https://${e}`:e}function F(e,t,i){let s;return e&&(s=e.path,"none"===e.default_list_filter&&t?t?s+="/all":s+="/none":t||(s+="/none")),i&&(s=s?"/tags"+s+"/"+i.toLowerCase():"/tag/"+i.toLowerCase()),(0,c.default)(s||"/")}function I(e,t,i){let s=`/c/${m.default.slugFor(e)}/edit`;return i&&(s+=`/${i}`),(0,c.default)(s)}function N(e){let t=new URL(e);t.pathname=t.pathname.replace(w,"");let i=new URLSearchParams;for(let[e,s]of t.searchParams)b.includes(e)&&i.append(e,s);return t.search=i.toString(),t.toString()}let j=E},35373:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(60232);let n={initialize(){s.default.setModuleNames(Object.keys(requirejs.entries))}}},35695:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_clearSnapshots:()=>k,default:()=>T});var s=i(75527),n=i(57528),r=i(18555),a=i(53518),o=i(88761),l=i(32504),u=i(16818),c=i.n(u),d=i(96600),p=i(73133),h=i(93474),m=i.n(h),g=i(88820),f=i(32019),_=i(84190);let y=null,b=null,w=null;function k(){y=null,b=null,w=null}let T=dt7948.c(class extends f.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[r.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"composer",[r.service]))();#eM=(()=>void dt7948.i(this,"composer"))();seq=0;static #i=(()=>dt7948.g(this.prototype,"isEditing",[(0,n.equal)("action",p.EDIT)]))();#at=(()=>void dt7948.i(this,"isEditing"))();static #s=(()=>dt7948.g(this.prototype,"isInSlowMode",[(0,n.gt)("topic.slow_mode_seconds",0)]))();#ai=(()=>void dt7948.i(this,"isInSlowMode"))();iconForComposerAction(e,t,i,s,n){if(t===p.CREATE_TOPIC)return"plus";if(t===p.PRIVATE_MESSAGE)return"envelope";if(t===p.CREATE_SHARED_DRAFT)return"far-clipboard";if(i)return"far-eye-slash";if(s)return"anchor";else if(n)return"hourglass-start";else if(e)return"pencil";else return"share"}static #u=(()=>dt7948.n(this.prototype,"iconForComposerAction",[c()("isEditing","action","whisper","noBump","isInSlowMode")]))();contentChanged(){this.set("seq",this.seq+1)}didReceiveAttrs(){super.didReceiveAttrs(...arguments);let e=!1;this.topic&&(!y||this.topic.id!==y.id)&&(y=this.topic,b=this.post,e=!0),this.post&&(!b||this.post.id!==b.id)&&(b=this.post,e=!0),this.action!==w&&(w=this.action,e=!0),e&&this.contentChanged(),this.set("selectKit.isHidden",(0,o.isEmpty)(this.content))}modifySelection(){return{}}content(){let e=[];this.action===p.REPLY&&this.topic&&this.topic.isPrivateMessage&&this.topic.details&&(this.topic.details.allowed_users.length>1||this.topic.details.allowed_groups.length>0)&&!this.isEditing&&y&&e.push({name:(0,g.i18n)("composer.composer_actions.reply_as_new_group_message.label"),description:(0,g.i18n)("composer.composer_actions.reply_as_new_group_message.desc"),icon:"plus",id:"reply_as_new_group_message"}),this.action!==p.CREATE_TOPIC&&this.action!==p.CREATE_SHARED_DRAFT&&this.action===p.REPLY&&this.topic&&!this.topic.isPrivateMessage&&!this.isEditing&&this.currentUser.can_create_topic&&y&&e.push({name:(0,g.i18n)("composer.composer_actions.reply_as_new_topic.label"),description:(0,g.i18n)("composer.composer_actions.reply_as_new_topic.desc"),icon:"plus",id:"reply_as_new_topic"}),(this.action!==p.REPLY&&b||this.action===p.REPLY&&b&&!(this.replyOptions.userAvatar&&this.replyOptions.userLink))&&e.push({name:(0,g.i18n)("composer.composer_actions.reply_to_post.label",{postUsername:b.username}),description:(0,g.i18n)("composer.composer_actions.reply_to_post.desc"),icon:"share",id:"reply_to_post"}),!this.isEditing&&(this.action!==p.REPLY&&y||this.action===p.REPLY&&y&&this.replyOptions.userAvatar&&this.replyOptions.userLink&&this.replyOptions.topicLink)&&e.push({name:(0,g.i18n)("composer.composer_actions.reply_to_topic.label"),description:(0,g.i18n)("composer.composer_actions.reply_to_topic.desc"),icon:"share",id:"reply_to_topic"}),!this.canWhisper||this.replyOptions.postLink&&b&&b.post_type===this.site.post_types.whisper||e.push({name:(0,g.i18n)("composer.composer_actions.toggle_whisper.label"),description:(0,g.i18n)("composer.composer_actions.toggle_whisper.desc"),icon:"far-eye-slash",id:"toggle_whisper"}),this.action===p.CREATE_TOPIC&&this.site.shared_drafts_category_id&&e.push({name:(0,g.i18n)("composer.composer_actions.shared_draft.label"),description:(0,g.i18n)("composer.composer_actions.shared_draft.desc"),icon:"far-clipboard",id:"shared_draft"});let t=this.get("currentUser.staff")||4===this.get("currentUser.trust_level");return this.action===p.REPLY&&t&&e.push({name:(0,g.i18n)("composer.composer_actions.toggle_topic_bump.label"),description:(0,g.i18n)("composer.composer_actions.toggle_topic_bump.desc"),icon:"anchor",id:"toggle_topic_bump"}),0===e.length&&this.currentUser.can_create_topic&&e.push({name:(0,g.i18n)("composer.composer_actions.create_topic.label"),description:(0,g.i18n)("composer.composer_actions.create_topic.desc"),icon:"share",id:"create_topic"}),e}static #c=(()=>dt7948.n(this.prototype,"content",[c()("seq")]))();_continuedFromText(e,t){let i=e?.url||t?.url,s=t?.title;if(!i||!s)return;i=`${location.protocol}//${location.host}${i}`;let n=`[${(0,d.escapeExpression)(s)}](${i})`;return(0,g.i18n)("post.continue_discussion",{postLink:n})}_replyFromExisting(e,t,i){this.composer.closeComposer(),this.composer.open({...e,prependText:this._continuedFromText(t,i)})}_openComposer(e){this.composer.closeComposer(),this.composer.open(e)}toggleWhisperSelected(e,t){t.toggleProperty("whisper")}toggleTopicBumpSelected(e,t){t.toggleProperty("noBump")}replyAsNewGroupMessageSelected(e){let t=[],i=this.topic.details;i.allowed_users.forEach(e=>t.push(e.username)),i.allowed_groups.forEach(e=>t.push(e.name)),e.action=p.PRIVATE_MESSAGE,e.recipients=t.join(","),e.archetypeId="private_message",this._replyFromExisting(e,b,y)}replyToTopicSelected(e){e.action=p.REPLY,e.topic=y,this._openComposer(e)}replyToPostSelected(e){e.action=p.REPLY,e.post=b,this._openComposer(e)}replyAsNewTopicSelected(e){m().get("new_topic").then(t=>{t.draft?this.dialog.confirm({message:(0,g.i18n)("composer.composer_actions.reply_as_new_topic.confirm"),confirmButtonLabel:"composer.ok_proceed",didConfirm:()=>this._replyAsNewTopicSelect(e)}):this._replyAsNewTopicSelect(e)})}_replyAsNewTopicSelect(e){e.action=p.CREATE_TOPIC,e.draftKey=this.composer.topicDraftKey,e.categoryId=this.get("composerModel.topic.category.id"),e.disableScopedCategory=!0,this._replyFromExisting(e,b,y)}replyAsPrivateMessageSelected(e){let t;if(b&&!b.get("yours")){let e=b.get("username");e&&(t=e)}else if(this.get("composerModel.topic")){let e=this.get("composerModel.topic.postStream");if(e.get("firstPostPresent")){let i=e.get("posts.firstObject");i&&!i.get("yours")&&i.get("username")&&(t=i.get("username"))}}e.action=p.PRIVATE_MESSAGE,e.recipients=t,e.archetypeId="private_message",this._replyFromExisting(e,b,y)}_switchCreate(e,t){e.action=t,e.categoryId=this.get("composerModel.categoryId"),e.topicTitle=this.get("composerModel.title"),e.tags=this.get("composerModel.tags"),this._openComposer(e)}createTopicSelected(e){this._switchCreate(e,p.CREATE_TOPIC)}sharedDraftSelected(e){this._switchCreate(e,p.CREATE_SHARED_DRAFT)}onChange(e){let t=`${(0,a.camelize)(e)}Selected`;this[t]?(this[t](this.composerModel.getProperties("draftKey","draftSequence","title","reply","disableScopedCategory"),this.composerModel),this.contentChanged()):console.error(`No method '${t}' found`)}static #_=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,_.selectKitOptions)({icon:"iconForComposerAction",filterable:!1,showFullTitle:!1,preventHeaderFocus:!0,customStyle:!0}),(0,_.pluginApiIdentifiers)(["composer-actions"]),(0,l.classNames)("composer-actions")])},35741:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8658),n=i(11032),r=i(10682),a=i(72799),o=i(71209),l=i(86960);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"n/ry5C6p",block:'[[[1,"\\n "],[10,"form"],[14,0,"groups-form form-vertical"],[12],[1,"\\n "],[8,[32,0],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n "],[8,[32,1],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/interaction.js",scope:()=>[r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},35752:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?i[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})})},35763:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(72799),n=i(88761),r=i(67289),a=i(89179),o=i.n(a),l=i(75849),u=i(72523),c=i(88820),d=i(71209);class p extends s.default{placeholder(e){return e?(0,c.i18n)(e):""}static #e=(()=>dt7948.n(this.prototype,"placeholder",[(0,u.default)("placeholderKey")]))();_update(){"true"===this.canReceiveUpdates&&this._initializeAutocomplete({updateData:!0})}static #t=(()=>dt7948.n(this.prototype,"_update",[(0,r.observes)("groupNames")]))();_initializeAutocomplete(e){let t,i=this.groupNames;o()(this.element.querySelector("input")).autocomplete({debounced:!0,allowAny:!1,items:Array.isArray(i)?i:(0,n.isEmpty)(i)?[]:[i],single:this.single,fullWidthWrap:this.fullWidthWrap,updateData:!!e&&!!e.updateData&&e.updateData,onChangeItems:e=>{t=e,this.onChange?this.onChange(e.join(",")):this.onChangeCallback?this.onChangeCallback(this.groupNames,t):this.set("groupNames",e.join(","))},transformComplete:e=>e.name,dataSource:e=>this.groupFinder(e).then(e=>t?e.filter(e=>!t.any(t=>t===e.name)):e),template:l.default})}static #i=(()=>dt7948.n(this.prototype,"_initializeAutocomplete",[(0,r.on)("didInsertElement")]))();static #s=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"aQ3vvPs8",block:'[[[1,"\\n "],[10,"input"],[15,"placeholder",[30,0,["placeholder"]]],[14,0,"group-selector"],[14,3,"groups"],[14,4,"text"],[12],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-selector.js",isStrictMode:!0}),this))()}},35772:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(95766),n=i(88820),r=i(72799),a=i(71209);class o extends s.default{get numericValue(){return parseFloat(Math.abs(this.args.value)).toFixed(1)}get isNegative(){return this.args.value<0}get explanationTitle(){return(0,n.i18n)(`review.explain.${this.args.label}.title`)}get explanationContent(){return(0,n.i18n)(`review.explain.${this.args.label}.name`)}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"0/NcLGRO",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[10,1],[14,0,"op"],[12],[1,[52,[30,0,["isNegative"]],"-","+"]],[13],[1,"\\n "],[10,1],[14,0,"score-value"],[12],[1,"\\n "],[10,1],[14,0,"score-number"],[12],[1,[30,0,["numericValue"]]],[13],[1,"\\n"],[41,[30,2],[[[1," "],[10,1],[15,"title",[30,0,["explanationTitle"]]],[14,0,"score-value-type"],[12],[1,"\\n "],[1,[30,0,["explanationContent"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@value","@label"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/score-value.js",isStrictMode:!0}),this))()}},35794:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{REPLACEMENTS:()=>h,SVG_NAMESPACE:()=>c,convertIconClass:()=>w,disableMissingIconWarning:()=>g,enableMissingIconWarning:()=>f,iconHTML:()=>y,iconNode:()=>b,isExistingIconId:()=>C,registerIconRenderer:()=>k,renderIcon:()=>_,replaceIcon:()=>m,setIconList:()=>S});var n=i(70043),r=i(2713),a=i(19888),o=i(69164),l=i(29174),u=i(88820);let c="http://www.w3.org/2000/svg",d=[],p=!0,h={"d-tracking":"bell","d-muted":"discourse-bell-slash","d-regular":"far-bell","d-watching":"discourse-bell-exclamation","d-watching-first":"discourse-bell-one","d-drop-expanded":"caret-down","d-drop-collapsed":"caret-right","d-unliked":"far-heart","d-liked":"heart","d-post-share":"link","d-topic-share":"link","notification.mentioned":"at","notification.group_mentioned":"users","notification.quoted":"quote-right","notification.replied":"reply","notification.posted":"discourse-bell-exclamation","notification.watching_category_or_tag":"discourse-bell-exclamation","notification.edited":"pencil","notification.bookmark_reminder":"discourse-bookmark-clock","notification.liked":"heart","notification.liked_2":"heart","notification.liked_many":"heart","notification.liked_consolidated":"heart","notification.private_message":"envelope","notification.invited_to_private_message":"envelope","notification.invited_to_topic":"hand-point-right","notification.invitee_accepted":"user","notification.moved_post":"right-from-bracket","notification.linked":"link","notification.linked_consolidated":"link","notification.granted_badge":"certificate","notification.topic_reminder":"far-clock","notification.watching_first_post":"discourse-bell-one","notification.group_message_summary":"users","notification.post_approved":"check","notification.membership_request_accepted":"user-plus","notification.membership_request_consolidated":"users","notification.reaction":"bell","notification.votes_released":"plus","notification.chat_quoted":"quote-right","user_menu.replies":"reply","user_menu.drafts":"pencil","sidebar.all_categories":"list"};function m(e,t){e=A(e),t=A(t),h[e]=t}function g(){p=!1}function f(){p=!1}function _(e,t,i){for(let s of(i||={},d)){let n=s[e];if(!n)continue;let r=n({id:t,replacementId:h[t]},i);if(r)return r}}function y(e,t){return _("string",e,t)}function b(e,t){return _("node",e,t)}function w(e){return e.replace("far fa-","far-").replace("fab fa-","fab-").replace("fas fa-","").replace("fa-","").trim()}function k(e){d.unshift(e)}function T(e,t){let i=e.replacementId&&e.id.includes("notification.")?e.replacementId:e.id,s=`fa d-icon d-icon-${i} svg-icon`;return t&&t.class&&(s+=" "+t.class),s}function S(e){s=e}function C(e){return s?.includes(e)}function A(e){let t=e;return(t=function(e){let t,i=e;if(e.startsWith("far-")?(t="far",i=e.replace("far-","")):e.startsWith("fab-")&&(t="fab",i=e.replace("fab-","")),M.hasOwnProperty(i)){let e=M[i];return t&&(e=`${t}-${e}`),e}return e}(t=w(t)))!==e&&console.error(`Missing icon error: The icon name "${e}" has been removed and should be updated to "${t}" in your code. More info at https://meta.discourse.org/t/325349.`),e}function D(e){let t=e.replacementId||e.id||"";return!function(e){p&&(0,o.isDevelopment)()&&!C(e)&&console.warn(`The icon "${e}" is missing from the SVG subset.`)}(t=A(t=t.replace(" unpinned",""))),t}k({name:"font-awesome",string(e,t){let i=(0,l.default)(D(e)),s=``,t.label&&(s+=`${(0,l.default)(t.label)}`),t.title&&(s=`${s}`),t.translatedtitle&&((0,a.default)("use 'translatedTitle' option instead of 'translatedtitle'",{since:"2.9.0.beta6",dropFrom:"2.10.0.beta1",id:"discourse.icon-renderer-translatedtitle"}),t.translatedTitle=t.translatedtitle),t.translatedTitle&&(s=`${s}`),s},node(e,t){let i=D(e),s=T(e,t)+" svg-node",a=(0,n.h)("svg",{attributes:{class:s,"aria-hidden":!0},namespace:c},[(0,n.h)("use",{href:(0,r.default)("http://www.w3.org/1999/xlink",`#${(0,l.default)(i)}`),namespace:c})]);return t.title?(0,n.h)("span",{title:t.title,attributes:{class:"svg-icon-title"}},[a]):a}});let M={adjust:"circle-half-stroke","air-freshener":"spray-can-sparkles","alien-monster":"alien-8bit",allergies:"hand-dots",ambulance:"truck-medical","american-sign-language-interpreting":"hands-asl-interpreting",analytics:"chart-mixed","angle-double-down":"angles-down","angle-double-left":"angles-left","angle-double-right":"angles-right","angle-double-up":"angles-up",angry:"face-angry","apple-alt":"apple-whole","apple-crate":"crate-apple",archive:"box-archive","arrow-alt-circle-down":"circle-down","arrow-alt-circle-left":"circle-left","arrow-alt-circle-right":"circle-right","arrow-alt-circle-up":"circle-up","arrow-alt-down":"down","arrow-alt-from-bottom":"up-from-line","arrow-alt-from-left":"right-from-line","arrow-alt-from-right":"left-from-line","arrow-alt-from-top":"down-from-line","arrow-alt-left":"left","arrow-alt-right":"right","arrow-alt-square-down":"square-down","arrow-alt-square-left":"square-left","arrow-alt-square-right":"square-right","arrow-alt-square-up":"square-up","arrow-alt-to-bottom":"down-to-line","arrow-alt-to-left":"left-to-line","arrow-alt-to-right":"right-to-line","arrow-alt-to-top":"up-to-line","arrow-alt-up":"up","arrow-circle-down":"circle-arrow-down","arrow-circle-left":"circle-arrow-left","arrow-circle-right":"circle-arrow-right","arrow-circle-up":"circle-arrow-up","arrow-from-bottom":"arrow-up-from-line","arrow-from-left":"arrow-right-from-line","arrow-from-right":"arrow-left-from-line","arrow-from-top":"arrow-down-from-line","arrow-square-down":"square-arrow-down","arrow-square-left":"square-arrow-left","arrow-square-right":"square-arrow-right","arrow-square-up":"square-arrow-up","arrow-to-bottom":"arrow-down-to-line","arrow-to-left":"arrow-left-to-line","arrow-to-right":"arrow-right-to-line","arrow-to-top":"arrow-up-to-line",arrows:"arrows-up-down-left-right","arrows-alt":"up-down-left-right","arrows-alt-h":"left-right","arrows-alt-v":"up-down","arrows-h":"arrows-left-right","arrows-v":"arrows-up-down","assistive-listening-systems":"ear-listen",atlas:"book-atlas","atom-alt":"atom-simple",backspace:"delete-left","balance-scale":"scale-balanced","balance-scale-left":"scale-unbalanced","balance-scale-right":"scale-unbalanced-flip","band-aid":"bandage","barcode-alt":"rectangle-barcode","baseball-ball":"baseball","basketball-ball":"basketball","bed-alt":"bed-front",beer:"beer-mug-empty",betamax:"cassette-betamax",bible:"book-bible",biking:"person-biking","biking-mountain":"person-biking-mountain","birthday-cake":"cake-candles",blind:"person-walking-with-cane","book-alt":"book-blank","book-dead":"book-skull","book-reader":"book-open-reader","book-spells":"book-sparkles","border-style":"border-top-left","border-style-alt":"border-bottom-right","box-alt":"box-taped","box-fragile":"square-fragile","box-full":"box-open-full","box-up":"square-this-way-up","box-usd":"box-dollar",boxes:"boxes-stacked","boxes-alt":"boxes-stacked",brackets:"brackets-square","broadcast-tower":"tower-broadcast",burn:"fire-flame-simple","bus-alt":"bus-simple","calculator-alt":"calculator-simple","calendar-alt":"calendar-days","calendar-edit":"calendar-pen","calendar-times":"calendar-xmark","camera-alt":"camera","camera-home":"camera-security","car-alt":"car-rear","car-crash":"car-burst","car-mechanic":"car-wrench","caravan-alt":"caravan-simple","caret-circle-down":"circle-caret-down","caret-circle-left":"circle-caret-left","caret-circle-right":"circle-caret-right","caret-circle-up":"circle-caret-up","caret-square-down":"square-caret-down","caret-square-left":"square-caret-left","caret-square-right":"square-caret-right","caret-square-up":"square-caret-up",cctv:"camera-cctv","chalkboard-teacher":"chalkboard-user","chart-pie-alt":"chart-pie-simple","check-circle":"circle-check","check-square":"square-check",cheeseburger:"burger-cheese","chess-bishop-alt":"chess-bishop-piece","chess-clock-alt":"chess-clock-flip","chess-king-alt":"chess-king-piece","chess-knight-alt":"chess-knight-piece","chess-pawn-alt":"chess-pawn-piece","chess-queen-alt":"chess-queen-piece","chess-rook-alt":"chess-rook-piece","chevron-circle-down":"circle-chevron-down","chevron-circle-left":"circle-chevron-left","chevron-circle-right":"circle-chevron-right","chevron-circle-up":"circle-chevron-up","chevron-double-down":"chevrons-down","chevron-double-left":"chevrons-left","chevron-double-right":"chevrons-right","chevron-double-up":"chevrons-up","chevron-square-down":"square-chevron-down","chevron-square-left":"square-chevron-left","chevron-square-right":"square-chevron-right","chevron-square-up":"square-chevron-up","clinic-medical":"house-chimney-medical","cloud-download":"cloud-arrow-down","cloud-download-alt":"cloud-arrow-down","cloud-upload":"cloud-arrow-up","cloud-upload-alt":"cloud-arrow-up",cocktail:"martini-glass-citrus",coffee:"mug-saucer","coffee-togo":"cup-togo",cog:"gear",cogs:"gears",columns:"table-columns","comment-alt":"message","comment-alt-check":"message-check","comment-alt-dollar":"message-dollar","comment-alt-dots":"message-dots","comment-alt-edit":"message-pen","comment-alt-exclamation":"message-exclamation","comment-alt-lines":"message-lines","comment-alt-medical":"message-medical","comment-alt-minus":"message-minus","comment-alt-music":"message-music","comment-alt-plus":"message-plus","comment-alt-slash":"message-slash","comment-alt-smile":"message-smile","comment-alt-times":"message-xmark","comment-edit":"comment-pen","comment-times":"comment-xmark","comments-alt":"messages","comments-alt-dollar":"messages-dollar","compress-alt":"down-left-and-up-right-to-center","compress-arrows-alt":"minimize","concierge-bell":"bell-concierge",construction:"triangle-person-digging","conveyor-belt-alt":"conveyor-belt-boxes","cowbell-more":"cowbell-circle-plus",cricket:"cricket-bat-ball","crop-alt":"crop-simple",curling:"curling-stone",cut:"scissors",deaf:"ear-deaf",debug:"ban-bug","desktop-alt":"desktop",dewpoint:"droplet-degree",diagnoses:"person-dots-from-line",digging:"person-digging","digital-tachograph":"tachograph-digital",directions:"diamond-turn-right",dizzy:"face-dizzy","dolly-flatbed":"cart-flatbed","dolly-flatbed-alt":"cart-flatbed-boxes","dolly-flatbed-empty":"cart-flatbed-empty",donate:"circle-dollar-to-slot","dot-circle":"circle-dot","drafting-compass":"compass-drafting","drone-alt":"drone-front","dryer-alt":"dryer-heat","eclipse-alt":"moon-over-sun",edit:"pen-to-square","ellipsis-h":"ellipsis","ellipsis-h-alt":"ellipsis-stroke","ellipsis-v":"ellipsis-vertical","ellipsis-v-alt":"ellipsis-stroke-vertical","envelope-square":"square-envelope",exchange:"arrow-right-arrow-left","exchange-alt":"right-left","exclamation-circle":"circle-exclamation","exclamation-square":"square-exclamation","exclamation-triangle":"triangle-exclamation","expand-alt":"up-right-and-down-left-from-center","expand-arrows":"arrows-maximize","expand-arrows-alt":"maximize","external-link":"arrow-up-right-from-square","external-link-alt":"up-right-from-square","external-link-square":"square-arrow-up-right","external-link-square-alt":"square-up-right",eyedropper:"eye-dropper","fast-backward":"backward-fast","fast-forward":"forward-fast","feather-alt":"feather-pointed",female:"person-dress","field-hockey":"field-hockey-stick-ball","fighter-jet":"jet-fighter","file-alt":"file-lines","file-archive":"file-zipper","file-chart-line":"file-chart-column","file-download":"file-arrow-down","file-edit":"file-pen","file-medical-alt":"file-waveform","file-search":"file-magnifying-glass","file-times":"file-xmark","file-upload":"file-arrow-up","film-alt":"film-simple","fire-alt":"fire-flame-curved","first-aid":"kit-medical","fist-raised":"hand-fist","flag-alt":"flag-swallowtail",flame:"fire-flame","flask-poison":"flask-round-poison","flask-potion":"flask-round-potion",flushed:"face-flushed",fog:"cloud-fog","folder-download":"folder-arrow-down","folder-times":"folder-xmark","folder-upload":"folder-arrow-up","font-awesome-alt":"square-font-awesome-stroke","font-awesome-flag":"font-awesome","font-awesome-logo-full":"font-awesome","football-ball":"football",fragile:"wine-glass-crack","frosty-head":"snowman-head",frown:"face-frown","frown-open":"face-frown-open","funnel-dollar":"filter-circle-dollar","game-board-alt":"game-board-simple","gamepad-alt":"gamepad-modern","glass-champagne":"champagne-glass","glass-cheers":"champagne-glasses","glass-martini":"martini-glass-empty","glass-martini-alt":"martini-glass","glass-whiskey":"whiskey-glass","glass-whiskey-rocks":"whiskey-glass-ice","glasses-alt":"glasses-round","globe-africa":"earth-africa","globe-americas":"earth-americas","globe-asia":"earth-asia","globe-europe":"earth-europe","golf-ball":"golf-ball-tee",grimace:"face-grimace",grin:"face-grin","grin-alt":"face-grin-wide","grin-beam":"face-grin-beam","grin-beam-sweat":"face-grin-beam-sweat","grin-hearts":"face-grin-hearts","grin-squint":"face-grin-squint","grin-squint-tears":"face-grin-squint-tears","grin-stars":"face-grin-stars","grin-tears":"face-grin-tears","grin-tongue":"face-grin-tongue","grin-tongue-squint":"face-grin-tongue-squint","grin-tongue-wink":"face-grin-tongue-wink","grin-wink":"face-grin-wink","grip-horizontal":"grip","h-square":"square-h",hamburger:"burger","hand-holding-usd":"hand-holding-dollar","hand-holding-water":"hand-holding-droplet","hand-paper":"hand","hand-receiving":"hands-holding-diamond","hand-rock":"hand-back-fist","hands-heart":"hands-holding-heart","hands-helping":"handshake-angle","hands-usd":"hands-holding-dollar","hands-wash":"hands-bubbles","handshake-alt":"handshake-simple","handshake-alt-slash":"handshake-simple-slash","hard-hat":"helmet-safety",hdd:"hard-drive","head-vr":"head-side-goggles","headphones-alt":"headphones-simple","heart-broken":"heart-crack","heart-circle":"circle-heart","heart-rate":"wave-pulse","heart-square":"square-heart",heartbeat:"heart-pulse",hiking:"person-hiking",history:"clock-rotate-left",home:"house","home-alt":"house","home-heart":"house-heart","home-lg":"house-chimney","home-lg-alt":"house","hospital-alt":"hospital","hospital-symbol":"circle-h","hot-tub":"hot-tub-person","hourglass-half":"hourglass","house-damage":"house-chimney-crack","house-leave":"house-person-leave","house-return":"house-person-return",hryvnia:"hryvnia-sign",humidity:"droplet-percent","icons-alt":"symbols","id-card-alt":"id-card-clip","industry-alt":"industry-windows","info-circle":"circle-info","info-square":"square-info",innosoft:"42-group",inventory:"shelves","journal-whills":"book-journal-whills",kiss:"face-kiss","kiss-beam":"face-kiss-beam","kiss-wink-heart":"face-kiss-wink-heart","landmark-alt":"landmark-dome","laptop-house":"house-laptop",laugh:"face-laugh","laugh-beam":"face-laugh-beam","laugh-squint":"face-laugh-squint","laugh-wink":"face-laugh-wink","level-down":"arrow-turn-down","level-down-alt":"turn-down","level-up":"arrow-turn-up","level-up-alt":"turn-up","list-alt":"rectangle-list",location:"location-crosshairs","location-circle":"circle-location-arrow","location-slash":"location-crosshairs-slash","lock-alt":"lock-keyhole","lock-open-alt":"lock-keyhole-open","long-arrow-alt-down":"down-long","long-arrow-alt-left":"left-long","long-arrow-alt-right":"right-long","long-arrow-alt-up":"up-long","long-arrow-down":"arrow-down-long","long-arrow-left":"arrow-left-long","long-arrow-right":"arrow-right-long","long-arrow-up":"arrow-up-long","low-vision":"eye-low-vision",luchador:"luchador-mask","luggage-cart":"cart-flatbed-suitcase",magic:"wand-magic","mail-bulk":"envelopes-bulk",male:"person","map-marked":"map-location","map-marked-alt":"map-location-dot","map-marker":"location-pin","map-marker-alt":"location-dot","map-marker-alt-slash":"location-dot-slash","map-marker-check":"location-check","map-marker-edit":"location-pen","map-marker-exclamation":"location-exclamation","map-marker-minus":"location-minus","map-marker-plus":"location-plus","map-marker-question":"location-question","map-marker-slash":"location-pin-slash","map-marker-smile":"location-smile","map-marker-times":"location-xmark","map-signs":"signs-post","mars-stroke-h":"mars-stroke-right","mars-stroke-v":"mars-stroke-up","medium-m":"medium",medkit:"suitcase-medical",meh:"face-meh","meh-blank":"face-meh-blank","meh-rolling-eyes":"face-rolling-eyes","microphone-alt":"microphone-lines","microphone-alt-slash":"microphone-lines-slash","mind-share":"brain-arrow-curved-right","minus-circle":"circle-minus","minus-hexagon":"hexagon-minus","minus-octagon":"octagon-minus","minus-square":"square-minus","mobile-alt":"mobile-screen-button","mobile-android":"mobile","mobile-android-alt":"mobile-screen","money-bill-alt":"money-bill-1","money-bill-wave-alt":"money-bill-1-wave","money-check-alt":"money-check-dollar","money-check-edit":"money-check-pen","money-check-edit-alt":"money-check-dollar-pen","monitor-heart-rate":"monitor-waveform",mouse:"computer-mouse","mouse-alt":"computer-mouse-scrollwheel","mouse-pointer":"arrow-pointer","music-alt":"music-note","music-alt-slash":"music-note-slash","oil-temp":"oil-temperature","page-break":"file-dashed-line","paint-brush":"paintbrush","paint-brush-alt":"paintbrush-fine","paint-brush-fine":"paintbrush-fine","pallet-alt":"pallet-boxes","paragraph-rtl":"paragraph-left",parking:"square-parking","parking-circle":"circle-parking","parking-circle-slash":"ban-parking","parking-slash":"square-parking-slash",pastafarianism:"spaghetti-monster-flying","pause-circle":"circle-pause","paw-alt":"paw-simple","pen-alt":"pen-clip","pen-square":"square-pen","pencil-alt":"pencil","pencil-paintbrush":"pen-paintbrush","pencil-ruler":"pen-ruler",pennant:"flag-pennant","people-arrows":"people-arrows-left-right","people-carry":"people-carry-box",percentage:"percent","person-carry":"person-carry-box","phone-alt":"phone-flip","phone-laptop":"laptop-mobile","phone-square":"square-phone","phone-square-alt":"square-phone-flip","photo-video":"photo-film","plane-alt":"plane-engines","play-circle":"circle-play","plus-circle":"circle-plus","plus-hexagon":"hexagon-plus","plus-octagon":"octagon-plus","plus-square":"square-plus",poll:"square-poll-vertical","poll-h":"square-poll-horizontal","portal-enter":"person-to-portal","portal-exit":"person-from-portal",portrait:"image-portrait","pound-sign":"sterling-sign",pray:"person-praying","praying-hands":"hands-praying","prescription-bottle-alt":"prescription-bottle-medical",presentation:"presentation-screen","print-search":"print-magnifying-glass",procedures:"bed-pulse","project-diagram":"diagram-project","question-circle":"circle-question","question-square":"square-question",quran:"book-quran","rabbit-fast":"rabbit-running","radiation-alt":"circle-radiation","radio-alt":"radio-tuner",random:"shuffle","rectangle-landscape":"rectangle","rectangle-portrait":"rectangle-vertical",redo:"arrow-rotate-right","redo-alt":"rotate-right","remove-format":"text-slash","repeat-1-alt":"arrows-repeat-1","repeat-alt":"arrows-repeat","retweet-alt":"arrows-retweet","rss-square":"square-rss",running:"person-running","sad-cry":"face-sad-cry","sad-tear":"face-sad-tear",save:"floppy-disk","sax-hot":"saxophone-fire","scalpel-path":"scalpel-line-dashed","scanner-image":"scanner",search:"magnifying-glass","search-dollar":"magnifying-glass-dollar","search-location":"magnifying-glass-location","search-minus":"magnifying-glass-minus","search-plus":"magnifying-glass-plus","sensor-alert":"sensor-triangle-exclamation","sensor-smoke":"sensor-cloud","share-alt":"share-nodes","share-alt-square":"square-share-nodes","share-square":"share-from-square","shield-alt":"shield-halved","shipping-fast":"truck-fast","shipping-timed":"truck-clock","shopping-bag":"bag-shopping","shopping-basket":"basket-shopping","shopping-cart":"cart-shopping","shuttle-van":"van-shuttle",sign:"sign-hanging","sign-in":"arrow-right-to-bracket","sign-in-alt":"right-to-bracket","sign-language":"hands","sign-out":"arrow-right-from-bracket","sign-out-alt":"right-from-bracket","signal-1":"signal-weak","signal-2":"signal-fair","signal-3":"signal-good","signal-4":"signal-strong","signal-alt":"signal-bars","signal-alt-1":"signal-bars-weak","signal-alt-2":"signal-bars-fair","signal-alt-3":"signal-bars-good","signal-alt-slash":"signal-bars-slash",skating:"person-skating","ski-jump":"person-ski-jumping","ski-lift":"person-ski-lift",skiing:"person-skiing","skiing-nordic":"person-skiing-nordic","slack-hash":"slack",sledding:"person-sledding","sliders-h":"sliders","sliders-h-square":"square-sliders","sliders-v":"sliders-up","sliders-v-square":"square-sliders-vertical",smile:"face-smile","smile-beam":"face-smile-beam","smile-plus":"face-smile-plus","smile-wink":"face-smile-wink","smoking-ban":"ban-smoking",sms:"comment-sms","snapchat-ghost":"snapchat",snowboarding:"person-snowboarding",snowmobile:"person-snowmobiling","sort-alpha-down":"arrow-down-a-z","sort-alpha-down-alt":"arrow-down-z-a","sort-alpha-up":"arrow-up-a-z","sort-alpha-up-alt":"arrow-up-z-a","sort-alt":"arrow-down-arrow-up","sort-amount-down":"arrow-down-wide-short","sort-amount-down-alt":"arrow-down-short-wide","sort-amount-up":"arrow-up-wide-short","sort-amount-up-alt":"arrow-up-short-wide","sort-circle":"circle-sort","sort-circle-down":"circle-sort-down","sort-circle-up":"circle-sort-up","sort-numeric-down":"arrow-down-1-9","sort-numeric-down-alt":"arrow-down-9-1","sort-numeric-up":"arrow-up-1-9","sort-numeric-up-alt":"arrow-up-9-1","sort-shapes-down":"arrow-down-triangle-square","sort-shapes-down-alt":"arrow-down-square-triangle","sort-shapes-up":"arrow-up-triangle-square","sort-shapes-up-alt":"arrow-up-square-triangle","sort-size-down":"arrow-down-big-small","sort-size-down-alt":"arrow-down-small-big","sort-size-up":"arrow-up-big-small","sort-size-up-alt":"arrow-up-small-big",soup:"bowl-hot","space-shuttle":"shuttle-space","space-station-moon-alt":"space-station-moon-construction","square-root-alt":"square-root-variable","star-half-alt":"star-half-stroke","starfighter-alt":"starfighter-twin-ion-engine","step-backward":"backward-step","step-forward":"forward-step","sticky-note":"note-sticky","stop-circle":"circle-stop","store-alt":"shop","store-alt-slash":"shop-slash",stream:"bars-staggered",subway:"train-subway",surprise:"face-surprise",swimmer:"person-swimming","swimming-pool":"water-ladder",sync:"arrows-rotate","sync-alt":"rotate","table-tennis":"table-tennis-paddle-ball","tablet-alt":"tablet-screen-button","tablet-android":"tablet","tablet-android-alt":"tablet-screen",tachometer:"gauge-simple","tachometer-alt":"gauge","tachometer-alt-average":"gauge-med","tachometer-alt-fast":"gauge","tachometer-alt-fastest":"gauge-max","tachometer-alt-slow":"gauge-low","tachometer-alt-slowest":"gauge-min","tachometer-average":"gauge-simple-med","tachometer-fast":"gauge-simple","tachometer-fastest":"gauge-simple-max","tachometer-slow":"gauge-simple-low","tachometer-slowest":"gauge-simple-min",tanakh:"book-tanakh",tasks:"list-check","tasks-alt":"bars-progress","telegram-plane":"telegram","temperature-down":"temperature-arrow-down","temperature-frigid":"temperature-snow","temperature-hot":"temperature-sun","temperature-up":"temperature-arrow-up",tenge:"tenge-sign",th:"table-cells","th-large":"table-cells-large","th-list":"table-list","theater-masks":"masks-theater","thermometer-empty":"temperature-empty","thermometer-full":"temperature-full","thermometer-half":"temperature-half","thermometer-quarter":"temperature-quarter","thermometer-three-quarters":"temperature-three-quarters","thumb-tack":"thumbtack",thunderstorm:"cloud-bolt","thunderstorm-moon":"cloud-bolt-moon","thunderstorm-sun":"cloud-bolt-sun","ticket-alt":"ticket-simple",times:"xmark","times-circle":"circle-xmark","times-hexagon":"hexagon-xmark","times-octagon":"octagon-xmark","times-square":"square-xmark",tint:"droplet","tint-slash":"droplet-slash",tired:"face-tired","toilet-paper-alt":"toilet-paper-blank","tombstone-alt":"tombstone-blank",tools:"screwdriver-wrench",torah:"scroll-torah",tram:"train-tram","transgender-alt":"transgender","trash-alt":"trash-can","trash-restore":"trash-arrow-up","trash-restore-alt":"trash-can-arrow-up","trash-undo-alt":"trash-can-undo","tree-alt":"tree-deciduous","triangle-music":"triangle-instrument","trophy-alt":"trophy-star","truck-couch":"truck-ramp-couch","truck-loading":"truck-ramp-box",tshirt:"shirt","tv-alt":"tv",undo:"arrow-rotate-left","undo-alt":"rotate-left",university:"building-columns",unlink:"link-slash","unlock-alt":"unlock-keyhole","usd-circle":"circle-dollar","usd-square":"square-dollar","user-alt":"user-large","user-alt-slash":"user-large-slash","user-chart":"chart-user","user-circle":"circle-user","user-cog":"user-gear","user-edit":"user-pen","user-friends":"user-group","user-hard-hat":"user-helmet-safety","user-md":"user-doctor","user-md-chat":"user-doctor-message","user-times":"user-xmark","users-class":"screen-users","users-cog":"users-gear","users-crown":"user-group-crown","utensil-fork":"fork","utensil-knife":"knife","utensil-spoon":"spoon","utensils-alt":"fork-knife",vhs:"cassette-vhs","volleyball-ball":"volleyball","volume-down":"volume-low","volume-mute":"volume-xmark","volume-up":"volume-high","vote-nay":"xmark-to-slot","vote-yea":"check-to-slot",walking:"person-walking","warehouse-alt":"warehouse-full",washer:"washing-machine","water-lower":"water-arrow-down","water-rise":"water-arrow-up","waveform-path":"waveform-lines",webcam:"camera-web","webcam-slash":"camera-web-slash",weight:"weight-scale","wifi-1":"wifi-weak","wifi-2":"wifi-fair","window-alt":"window-flip","window-close":"rectangle-xmark","wine-glass-alt":"wine-glass-empty"}},35813:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(72799),n=i(4781),r=i(75527),a=i(77667),o=i(32504),l=i(67289),u=i(2369),c=i(72523),d=i(349),p=i(88820),h=i(71209);let m=dt7948.c(class extends s.default{date=null;useNativePicker=(()=>(function(){let e=document.createElement("input");return e.setAttribute("type","date"),e.setAttribute("value","a"),"a"!==e.value})())();_picker=null;inputType(){return this.useNativePicker?"date":"text"}static #e=(()=>dt7948.n(this.prototype,"inputType",[(0,c.default)("site.mobileView")]))();click(e){e.stopPropagation()}didInsertElement(){super.didInsertElement(...arguments),(0,a.schedule)("afterRender",()=>{let e;if(!this.element||this.isDestroying||this.isDestroying)return;let t=document.getElementById(this.containerId);(this.useNativePicker?this._loadNativePicker(t):this._loadPikadayPicker(t)).then(e=>{if(this._picker=e,this._picker&&this.date){let e=this.date instanceof moment?this.date:moment(this.date);this._picker.setDate(e,!0)}})})}didUpdateAttrs(){if(super.didUpdateAttrs(...arguments),this._picker&&this.date){let e=this.date instanceof moment?this.date:moment(this.date);this._picker.setDate(e,!0)}if(this._picker&&this.relativeDate){let e=this.relativeDate instanceof moment?this.relativeDate:moment(this.relativeDate);this._picker.setMinDate(e,!0)}this._picker&&!this.date&&this._picker.setDate(null)}_loadPikadayPicker(e){return(0,d.default)("/javascripts/pikaday.js").then(()=>{let t={field:this.element.querySelector(".date-picker"),container:e||this.element.querySelector(".picker-container"),bound:null===e,format:"LL",firstDay:1,i18n:{previousMonth:(0,p.i18n)("dates.previous_month"),nextMonth:(0,p.i18n)("dates.next_month"),months:moment.months(),weekdays:moment.weekdays(),weekdaysShort:moment.weekdaysShort()},onSelect:e=>this._handleSelection(e)};return this.relativeDate&&(t.minDate=moment(this.relativeDate).toDate()),new Pikaday({...t,...this._opts()})})}_loadNativePicker(e){let t=(e||this.element).querySelector("input.date-picker");return t.onchange=()=>this._handleSelection(t.value),t.hide=()=>{},t.destroy=()=>{},t.setDate=e=>{t.value=e?moment(e).format("YYYY-MM-DD"):null},t.setMinDate=e=>{t.min=e},this.date&&t.setDate(this.date),u.Promise.resolve(t)}_handleSelection(e){this.element&&!this.isDestroying&&!this.isDestroyed&&this.onChange&&this.onChange(e?moment(e):null)}_destroy(){this._picker&&(this._picker.destroy(),this._picker=null)}static #t=(()=>dt7948.n(this.prototype,"_destroy",[(0,l.on)("willDestroyElement")]))();get placeholder(){return this._placeholder||(0,p.i18n)("dates.placeholder")}static #i=(()=>dt7948.n(this.prototype,"placeholder",[(0,r.computed)("_placeholder")]))();set placeholder(e){this.set("_placeholder",e)}_opts(){return null}onChangeDate(e){this._handleSelection(e.target.value)}static #s=(()=>dt7948.n(this.prototype,"onChangeDate",[r.action]))();static #u=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"4ieVrfch",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"date-picker"],[16,"placeholder",[30,0,["placeholder"]]],[16,1,[30,0,["inputId"]]],[4,[32,1],["input",[30,0,["onChangeDate"]]],null]],[["@type","@value"],[[30,0,["inputType"]],[28,[31,0],[[30,0,["value"]]],null]]],null],[1,"\\n\\n"],[41,[51,[30,0,["useGlobalPickerContainer"]]],[[[1," "],[10,0],[14,0,"picker-container"],[12],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["readonly","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/date-input.js",scope:()=>[s.Input,n.on],isStrictMode:!0}),this))()},[(0,o.classNames)("d-date-input")])},35816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{VERSION:()=>s.default});var s=i(20151)},35838:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(25604),n=i(18555),r=i(11075),a=i(69058),o=i(88820),l=i(72799),u=i(71209);class c extends(0,a.buildCategoryPanel)("localizations"){static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();get availableLocales(){return JSON.parse(this.siteSettings.available_locales)}static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"yA4IZYPE",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1,["localizations","length"]],0],null],[[[1," "],[8,[30,2,["Alert"]],null,[["@icon"],["circle-info"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["category.localization.hint"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,2,["Collection"]],null,[["@name"],["localizations"]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@showTitle","@disabled"],["category_id","category_id",false,true]],[["default"],[[[[1,"\\n "],[8,[30,5,["Input"]],null,[["@value","@type"],[[30,0,["category","id"]],"hidden"]],null],[1,"\\n "]],[5]]]]],[1,"\\n\\n "],[8,[30,2,["Row"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,6,["Col"]],null,[["@size"],[2]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@format","@validation"],["locale",[28,[32,1],["category.localization.locale"],null],"full","required"]],[["default"],[[[[1,"\\n "],[8,[30,7,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["availableLocales"]]],null]],null],null,[[[1," "],[8,[30,8,["Option"]],null,[["@value"],[[30,9,["value"]]]],[["default"],[[[[1,[30,9,["name"]]]],[]]]]],[1,"\\n"]],[9]],null],[1," "]],[8]]]]],[1,"\\n "]],[7]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[4]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@validation"],["name",[28,[32,1],["category.localization.name"],null],"required|length:1,50"]],[["default"],[[[[1,"\\n "],[8,[30,10,["Input"]],[[16,"placeholder",[28,[32,1],["category.name_placeholder"],null]],[24,0,"category-name"]],[["@maxlength"],["50"]],null],[1,"\\n "]],[10]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[5]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title"],["description",[28,[32,1],["category.localization.description"],null]]],[["default"],[[[[1,"\\n "],[8,[30,11,["Textarea"]],null,[["@height"],[60]],null],[1,"\\n "]],[11]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[1]],[["default"],[[[[1,"\\n "],[8,[30,2,["Button"]],[[24,0,"btn-danger remove-localization"]],[["@icon","@title","@action"],["trash-can","category.localization.remove",[28,[32,2],[[30,3,["remove"]],[30,4]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[6]]]]],[1,"\\n "]],[3,4]]]]],[1,"\\n\\n "],[8,[30,2,["Button"]],[[24,0,"add-localization"]],[["@icon","@label","@action"],["plus","category.localization.add",[28,[32,2],[[30,2,["addItemToCollection"]],"localizations",[28,[32,3],null,[["category_id","locale","name","description"],[[30,0,["category","id"]],"","",""]]]],null]]],null],[1,"\\n "]],["@transientData","@form","collection","index","field","row","field","select","locale","field","field"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-localizations.js",scope:()=>[r.eq,o.i18n,s.fn,s.hash],isStrictMode:!0}),this))()}},35951:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i){var s=" ";return(e%100>=20||e>=100&&e%100==0)&&(s=" de "),e+s+({ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"})[i]}return e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})})},35969:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(8658),n=i(42259),r=i(72799),a=i(71209),o=i(86960);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"WEHpblgx",block:'[[[1,"\\n "],[10,0],[14,0,"reviewable"],[12],[1,"\\n "],[10,"ul"],[14,0,"nav nav-pills reviewable-title"],[12],[1,"\\n "],[8,[32,0],null,[["@route","@label"],["review.index","review.view_all"]],null],[1,"\\n "],[8,[32,0],null,[["@route","@label"],["review.topics","review.grouped_by_topic"]],null],[1,"\\n"],[41,[30,1,["currentUser","admin"]],[[[1," "],[8,[32,0],null,[["@route","@label","@icon"],["review.settings","review.settings.title","wrench"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/review.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},35990:(e,t,i)=>{"use strict";i.r(t),i.d(t,{setupComposerPosition:()=>r});var s=i(77667),n=i(70278);function r(e){let t=document.documentElement;function i(t){(0,n.applyBehaviorTransformer)("composer-position:editor-touch-move",()=>{let i=e.scrollHeight<=e.clientHeight,s=window.getSelection();i&&""===s.toString()&&(t.preventDefault(),t.stopPropagation())})}return(t.classList.contains("mobile-device")||t.classList.contains("ipados-device"))&&(window.addEventListener("scroll",a),a(),e.addEventListener("touchmove",i)),()=>{(t.classList.contains("mobile-device")||t.classList.contains("ipados-device"))&&(window.removeEventListener("scroll",a),e.removeEventListener("touchmove",i))}}function a(){(0,n.applyBehaviorTransformer)("composer-position:correct-scroll-position",()=>{(0,s.later)(()=>{let e=document.querySelector("#reply-control").getBoundingClientRect();if(e.top<-1){let t=window.scrollY+e.top;window.scrollTo({top:t,behavior:"instant"})}},150)})}},36004:(e,t,i)=>{var s=i(37854),n=i(47875),r=i(14453),a=i(56977),o=i(19308);e.exports=c;var l={},u=[];function c(e,t,i,s,c){this.tagName=e,this.properties=t||l,this.children=i||u,this.key=null!=s?String(s):void 0,this.namespace="string"==typeof c?c:null;var d,p=i&&i.length||0,h=0,m=!1,g=!1,f=!1;for(var _ in t)if(t.hasOwnProperty(_)){var y=t[_];o(y)&&y.unhook&&(d||(d={}),d[_]=y)}for(var b=0;b{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(88820),n=i(89563),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"YWEH8fqk",block:'[[[1,"\\n "],[8,[32,0],null,[["@linkName","@content","@route","@prefixType","@prefixValue"],["all-categories",[28,[32,1],["sidebar.all_categories"],null],"discovery.categories","icon","sidebar.all_categories"]],null],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/common/all-categories-section-link.js",scope:()=>[n.default,s.i18n],isStrictMode:!0}),(0,o.default)(void 0,"all-categories-section-link:SidebarCommonAllCategoriesSectionLink"))},36025:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(32504),n=i(6047),r=i.n(n),a=i(78296),o=i(72799),l=i(71209);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"NgUUpTwm",block:'[[[1,"\\n"],[41,[30,0,["item","url"]],[[[1," "],[8,[32,0],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,0,["item","name"]],[30,0,["item","url"]],[30,0,["item","bgColor"]],[30,0,["item","color"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,[30,0,["label"]]],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/selected-flair.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.tagName)("")])},36076:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72799),n=i(57528),r=i(32504),a=i(12733),o=i(20434),l=i(71209);let u=dt7948.c(class extends s.default{role="button";tabIndex=0;static #e=(()=>dt7948.g(this.prototype,"ariaPressed",[(0,n.reads)("active")]))();#as=(()=>void dt7948.i(this,"ariaPressed"))();static #t=(()=>dt7948.g(this.prototype,"active",[(0,o.propertyEqual)("activeTile","tileId")]))();#an=(()=>void dt7948.i(this,"active"))();init(){super.init(...arguments),this.set("elementId",`tap_tile_${this.tileId}`)}click(){this.onChange(this.tileId)}keyDown(e){"Enter"===e.key&&(e.stopPropagation(),this.onChange(this.tileId))}static #i=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"9CWLGmq3",block:'[[[1,"\\n"],[41,[30,0,["icon"]],[[[1," "],[1,[28,[32,0],[[30,0,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[18,1,null],[1,"\\n "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/tap-tile.js",scope:()=>[a.default],isStrictMode:!0}),this))()},[(0,r.attributeBindings)("role","ariaPressed","tabIndex"),(0,r.classNameBindings)("active"),(0,r.classNames)("tap-tile")])},36159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{OWNER:()=>s,getOwner:()=>n,setOwner:()=>r});let s=Symbol("OWNER");function n(e){return e[s]}function r(e,t){e[s]=t}},36164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DPageActionButton:()=>l,DPageActionListItem:()=>h,DangerActionListItem:()=>f,DangerButton:()=>d,DefaultActionListItem:()=>g,DefaultButton:()=>p,PrimaryButton:()=>c,WrappedActionListItem:()=>m,WrappedButton:()=>u});var s=i(25604),n=i(81539),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"gByzKFGP",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"d-page-action-button btn-small"],[17,1]],[["@action","@route","@routeModels","@label","@title","@icon","@isLoading","@disabled"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@icon","@isLoading","@disabled"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DPageActionButton")),u=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"1Vzs3Q5J",block:'[[[1,"\\n "],[10,1],[14,0,"d-page-action-wrapped-button"],[12],[18,1,null],[13],[1,"\\n"]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:WrappedButton")),c=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"k+p1gFqS",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-primary"],[17,1]],[["@action","@route","@routeModels","@label","@title","@isLoading","@disabled"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@isLoading","@disabled"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[l],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:PrimaryButton")),d=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"Uqpir9Xa",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-danger"],[17,1]],[["@action","@route","@routeModels","@label","@title","@isLoading"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@isLoading"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[l],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DangerButton")),p=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"5Yj/bn9D",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-default"],[17,1]],[["@action","@route","@routeModels","@label","@title","@isLoading"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@isLoading"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[l],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DefaultButton")),h=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"tuyCr8F6",block:'[[[1,"\\n "],[10,"li"],[14,0,"dropdown-menu__item d-page-action-list-item"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-transparent"],[17,1]],[["@action","@route","@routeModels","@label","@title","@icon","@isLoading"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@icon","@isLoading"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[l],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DPageActionListItem")),m=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"sodHwkFk",block:'[[[1,"\\n "],[10,"li"],[14,0,"dropdown-menu__item d-page-action-list-item d-page-action-wrapped-list-item"],[12],[1,"\\n "],[18,1,[[28,[32,0],null,[["buttonClass"],["btn-transparent"]]]]],[1,"\\n "],[13],[1,"\\n"]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[s.hash],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:WrappedActionListItem")),g=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"yPZEiglo",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-default"],[17,1]],[["@action","@route","@routeModels","@label","@title","@icon","@isLoading"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@icon","@isLoading"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[h],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DefaultActionListItem")),f=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"b1Qq+GKI",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-danger"],[17,1]],[["@action","@route","@routeModels","@label","@title","@icon","@isLoading"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n"]],["&attrs","@action","@route","@routeModels","@label","@title","@icon","@isLoading"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-action-button.js",scope:()=>[h],isStrictMode:!0}),(0,o.default)(void 0,"d-page-action-button:DangerActionListItem"))},36188:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(25604),n=i(83426),r=i(8658),a=i(7544),o=i(81539),l=i(72799),u=i(71209),c=i(86960);let d=(0,r.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"dWsZIqY3",block:'[[[1,"\\n "],[8,[32,0],null,[["@action"],[[28,[32,1],[[30,1,["closeMessage"]],[30,1,["message"]]],null]]],null],[1,"\\n\\n "],[1,[28,[32,2],[[30,1,["message","body"]]],null]],[1,"\\n\\n "],[8,[32,3],[[24,0,"btn-primary"]],[["@label","@icon","@action"],["user.private_message","envelope",[28,[32,1],[[30,1,["switchPM"]],[30,1,["message"]]],null]]],null],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/composer/get-a-room.js",scope:()=>[a.default,s.fn,n.htmlSafe,o.default],isStrictMode:!0}),(0,c.default)(void 0,void 0)))},36222:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_reset:()=>s._reset,_resetWaiterNames:()=>n._resetWaiterNames,buildWaiter:()=>n.default,getPendingWaiterState:()=>s.getPendingWaiterState,getWaiters:()=>s.getWaiters,hasPendingWaiters:()=>s.hasPendingWaiters,register:()=>s.register,unregister:()=>s.unregister,waitFor:()=>a.default,waitForPromise:()=>r.default});var s=i(33512),n=i(11829),r=i(41031),a=i(94171)},36409:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72799),n=i(83426),r=i(32504),a=i(72523),o=i(88820),l=i(71209);let u=dt7948.c(class extends s.default{translatedText(e){if(e)return(0,o.i18n)(...arguments)}static #e=(()=>dt7948.n(this.prototype,"translatedText",[(0,a.default)("text","textParams")]))();click(e){return"A"===e.target.tagName.toUpperCase()&&this.action(this.actionParam),!1}static #t=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"7+dE1Ruh",block:'[[[1,[28,[32,0],[[30,0,["translatedText"]]],null]]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discourse-linked-text.js",scope:()=>[n.htmlSafe],isStrictMode:!0}),this))()},[(0,r.tagName)("span")])},36453:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.categoryLinkHTML});var s=i(92960)},36483:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{get name(){this._notImplemented()}get classNames(){return""}get route(){}get href(){}get model(){}get models(){}get query(){}get currentWhen(){}get title(){this._notImplemented()}get text(){this._notImplemented()}get contentCSSClass(){}get prefixType(){}get prefixValue(){}get prefixColor(){}get prefixBadge(){}get prefixCSSClass(){}get suffixType(){}get suffixValue(){}get suffixCSSClass(){}get hoverType(){}get hoverValue(){}get hoverAction(){}get hoverTitle(){}_notImplemented(){throw"not implemented"}}},36591:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(18555),n=i(74512),r=i(72523),a=i(35352),o=i(74089),l=i(81644),u=i(25640),c=i(88820);class d extends u.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();get titleHtml(){return(0,n.default)(this.get("title"))}editableDraft(e){return e===this.currentUser?.get("username")}static #t=(()=>dt7948.n(this.prototype,"editableDraft",[(0,r.default)("draft_username")]))();userUrl(e){return(0,a.userPath)(e)}static #i=(()=>dt7948.n(this.prototype,"userUrl",[(0,r.default)("username_lower")]))();postUrl(e){if(e)return(0,o.postUrl)(this.slug,this.topic_id,this.post_number)}static #s=(()=>dt7948.n(this.prototype,"postUrl",[(0,r.default)("topic_id")]))();draftType(e){return e.startsWith(l.NEW_TOPIC_KEY)?(0,c.i18n)("drafts.new_topic"):e.startsWith(l.NEW_PRIVATE_MESSAGE_KEY)?(0,c.i18n)("drafts.new_private_message"):!!e.startsWith(l.EDIT_TOPIC_KEY)&&(0,c.i18n)("drafts.edit_topic")}static #u=(()=>dt7948.n(this.prototype,"draftType",[(0,r.default)("draft_key")]))()}},36634:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){return e<12?i?"öö":"ÖÖ":i?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var s=e%10;return e+(t[s]||t[e%100-s]||t[e>=100?100:null])}},week:{dow:1,doy:7}})})},36649:(e,t,i)=>{"use strict";i.r(t),i.d(t,{MAX_SECOND_FACTOR_NAME_LENGTH:()=>W,SECOND_FACTOR_METHODS:()=>V,addSaveableUserField:()=>X,addSaveableUserOptionField:()=>ee,default:()=>es,extendTextSizeCookie:()=>G});var s=i(87531),n=i(75289),r=i(75527),a=i(73993),o=i(57528),l=i(2950),u=i(97527),c=i(77667),d=i(18555),p=i(53518),h=i(83426),m=i(88761),g=i(2369),f=i(53775),_=i(20434),y=i(25239),b=i(72523),w=i(19888),k=i(69164),T=i(82163),S=i(65319),C=i(70677),A=i(62411),D=i(98304),M=i(13376),x=i(43144),E=i(73418),L=i(35352),P=i(74089),F=i(7339),I=i(24886),N=i(36702),j=i(42919),O=i(25640),R=i(9789),U=i(2552),B=i(26863),Y=i(43779),H=i(84619),q=i(91356),$=i(56802),z=i(88820);let V={TOTP:1,BACKUP_CODE:2,SECURITY_KEY:3},W=300,K="text_size";function G(){let e=(0,y.default)(K);e&&(0,y.default)(K,e,{path:"/",expires:365})}let J=e=>-100>moment().diff(e,"years"),Q=["bio_raw","website","location","name","title","locale","custom_fields","user_fields","muted_usernames","ignored_usernames","allowed_pm_usernames","profile_background_upload_url","card_background_upload_url","muted_tags","tracked_tags","watched_tags","watching_first_post_tags","date_of_birth","primary_group_id","flair_group_id","user_notification_schedule","sidebar_category_ids","sidebar_tag_names","status"];function X(e){Q.push(e)}let Z=["mailing_list_mode","mailing_list_mode_frequency","external_links_in_new_tab","email_digests","email_in_reply_to","email_messages_level","email_level","email_previous_replies","color_scheme_id","dark_scheme_id","dynamic_favicon","enable_quoting","enable_smart_lists","enable_defer","automatically_unpin_topics","digest_after_minutes","new_topic_duration_minutes","auto_track_topics_after_msecs","notification_level_when_replying","like_notification_frequency","include_tl0_in_digests","theme_ids","allow_private_messages","enable_allowed_pm_users","homepage_id","hide_profile","hide_presence","text_size","title_count_mode","timezone","skip_new_user_tips","seen_popups","default_calendar","bookmark_auto_delete_preference","sidebar_link_to_filtered_list","sidebar_show_count_of_new_items","watched_precedence_over_muted","topics_unread_when_closed"];function ee(e){Z.push(e)}function et(e){return(0,r.computed)(`user_option.${e}`,{get(e){return(0,w.default)(`Getting ${e} property of user object is deprecated. Use user_option object instead`,{id:"discourse.user.userOptions",since:"2.9.0.beta12",dropFrom:"3.0.0.beta1"}),this.get(`user_option.${e}`)},set(e,t){return(0,w.default)(`Setting ${e} property of user object is deprecated. Use user_option object instead`,{id:"discourse.user.userOptions",since:"2.9.0.beta12",dropFrom:"3.0.0.beta1"}),this.user_option||this.set("user_option",{}),this.set(`user_option.${e}`,t)}})}let ei=dt7948.c(class e extends O.default.extend(l.default){static createCurrent(){let e=M.default.get("currentUser");if(e){if(e.isCurrent=!0,e.primary_group_id){let t=e.groups.find(t=>t.id===e.primary_group_id);t&&(e.primary_group_name=t.name)}e.user_option.timezone||(e.user_option.timezone=moment.tz.guess(),this._saveTimezone(e));let t=(0,S.getOwnerWithFallback)(this).lookup("service:store").createRecord("user",e);return t.statusManager.trackStatus(),t}return null}static #e=(()=>dt7948.g(this.prototype,"appEvents",[d.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"userTips",[d.service]))();#nd=(()=>void dt7948.i(this,"userTips"))();static #i=(()=>dt7948.g(this.prototype,"do_not_disturb_until",[s.tracked]))();#ar=(()=>void dt7948.i(this,"do_not_disturb_until"))();static #s=(()=>dt7948.g(this.prototype,"status",[s.tracked]))();#aa=(()=>void dt7948.i(this,"status"))();static #u=(()=>dt7948.g(this.prototype,"dismissed_banner_key",[s.tracked]))();#ao=(()=>void dt7948.i(this,"dismissed_banner_key"))();static #c=(()=>dt7948.g(this.prototype,"mailing_list_mode",[et("mailing_list_mode")]))();#al=(()=>void dt7948.i(this,"mailing_list_mode"))();static #_=(()=>dt7948.g(this.prototype,"external_links_in_new_tab",[et("external_links_in_new_tab")]))();#au=(()=>void dt7948.i(this,"external_links_in_new_tab"))();static #b=(()=>dt7948.g(this.prototype,"enable_quoting",[et("enable_quoting")]))();#ac=(()=>void dt7948.i(this,"enable_quoting"))();static #v=(()=>dt7948.g(this.prototype,"enable_smart_lists",[et("enable_smart_lists")]))();#ad=(()=>void dt7948.i(this,"enable_smart_lists"))();static #w=(()=>dt7948.g(this.prototype,"dynamic_favicon",[et("dynamic_favicon")]))();#ap=(()=>void dt7948.i(this,"dynamic_favicon"))();static #k=(()=>dt7948.g(this.prototype,"automatically_unpin_topics",[et("automatically_unpin_topics")]))();#ah=(()=>void dt7948.i(this,"automatically_unpin_topics"))();static #T=(()=>dt7948.g(this.prototype,"likes_notifications_disabled",[et("likes_notifications_disabled")]))();#am=(()=>void dt7948.i(this,"likes_notifications_disabled"))();static #S=(()=>dt7948.g(this.prototype,"hide_profile",[et("hide_profile")]))();#ag=(()=>void dt7948.i(this,"hide_profile"))();static #C=(()=>dt7948.g(this.prototype,"hide_presence",[et("hide_presence")]))();#af=(()=>void dt7948.i(this,"hide_presence"))();static #A=(()=>dt7948.g(this.prototype,"title_count_mode",[et("title_count_mode")]))();#a_=(()=>void dt7948.i(this,"title_count_mode"))();static #D=(()=>dt7948.g(this.prototype,"enable_defer",[et("enable_defer")]))();#ay=(()=>void dt7948.i(this,"enable_defer"))();static #M=(()=>dt7948.g(this.prototype,"timezone",[et("timezone")]))();#ab=(()=>void dt7948.i(this,"timezone"))();static #z=(()=>dt7948.g(this.prototype,"skip_new_user_tips",[et("skip_new_user_tips")]))();#av=(()=>void dt7948.i(this,"skip_new_user_tips"))();static #V=(()=>dt7948.g(this.prototype,"default_calendar",[et("default_calendar")]))();#aw=(()=>void dt7948.i(this,"default_calendar"))();static #W=(()=>dt7948.g(this.prototype,"bookmark_auto_delete_preference",[et("bookmark_auto_delete_preference")]))();#ak=(()=>void dt7948.i(this,"bookmark_auto_delete_preference"))();static #K=(()=>dt7948.g(this.prototype,"seen_popups",[et("seen_popups")]))();#aT=(()=>void dt7948.i(this,"seen_popups"))();static #G=(()=>dt7948.g(this.prototype,"should_be_redirected_to_top",[et("should_be_redirected_to_top")]))();#aS=(()=>void dt7948.i(this,"should_be_redirected_to_top"))();static #J=(()=>dt7948.g(this.prototype,"redirected_to_top",[et("redirected_to_top")]))();#aC=(()=>void dt7948.i(this,"redirected_to_top"))();static #e0=(()=>dt7948.g(this.prototype,"treat_as_new_topic_start_date",[et("treat_as_new_topic_start_date")]))();#aA=(()=>void dt7948.i(this,"treat_as_new_topic_start_date"))();static #e2=(()=>dt7948.g(this.prototype,"hasPMs",[(0,o.gt)("private_messages_stats.all",0)]))();#aD=(()=>void dt7948.i(this,"hasPMs"))();static #e3=(()=>dt7948.g(this.prototype,"hasStartedPMs",[(0,o.gt)("private_messages_stats.mine",0)]))();#aM=(()=>void dt7948.i(this,"hasStartedPMs"))();static #e8=(()=>dt7948.g(this.prototype,"hasUnreadPMs",[(0,o.gt)("private_messages_stats.unread",0)]))();#ax=(()=>void dt7948.i(this,"hasUnreadPMs"))();static #e4=(()=>dt7948.g(this.prototype,"adminPath",[(0,_.url)("id","username_lower","/admin/users/%@1/%@2")]))();#aE=(()=>void dt7948.i(this,"adminPath"))();static #e7=(()=>dt7948.g(this.prototype,"isBasic",[(0,o.equal)("trust_level",0)]))();#aL=(()=>void dt7948.i(this,"isBasic"))();static #e9=(()=>dt7948.g(this.prototype,"isRegular",[(0,o.equal)("trust_level",3)]))();#aP=(()=>void dt7948.i(this,"isRegular"))();static #e5=(()=>dt7948.g(this.prototype,"isLeader",[(0,o.equal)("trust_level",4)]))();#aF=(()=>void dt7948.i(this,"isLeader"))();static #e6=(()=>dt7948.g(this.prototype,"canManageTopic",[(0,o.or)("staff","isLeader")]))();#aI=(()=>void dt7948.i(this,"canManageTopic"))();static #te=(()=>dt7948.g(this.prototype,"sidebarCategoryIds",[(0,o.alias)("sidebar_category_ids")]))();#aN=(()=>void dt7948.i(this,"sidebarCategoryIds"))();static #tt=(()=>dt7948.g(this.prototype,"sidebarSections",[(0,o.alias)("sidebar_sections")]))();#aj=(()=>void dt7948.i(this,"sidebarSections"))();static #ti=(()=>dt7948.g(this.prototype,"sidebarTagNames",[(0,o.mapBy)("sidebarTags","name")]))();#aO=(()=>void dt7948.i(this,"sidebarTagNames"))();static #sF=(()=>dt7948.g(this.prototype,"groupsWithMessages",[(0,o.filterBy)("groups","has_messages",!0)]))();#aR=(()=>void dt7948.i(this,"groupsWithMessages"))();static #sI=(()=>dt7948.g(this.prototype,"canPickThemeWithCustomHomepage",[(0,o.alias)("can_pick_theme_with_custom_homepage")]))();#aU=(()=>void dt7948.i(this,"canPickThemeWithCustomHomepage"))();numGroupsToDisplay=2;statusManager=(()=>new en(this))();canBeDeleted(e,t){let i=this.siteSettings.delete_all_posts_max;return e&&t<=i}static #sN=(()=>dt7948.n(this.prototype,"canBeDeleted",[(0,b.default)("can_be_deleted","post_count")]))();stream(){return $.default.create({user:this})}static #sj=(()=>dt7948.n(this.prototype,"stream",[(0,b.default)()]))();bookmarks(){return I.default.create({user:this})}static #sO=(()=>dt7948.n(this.prototype,"bookmarks",[(0,b.default)()]))();postsStream(){return q.default.create({user:this})}static #sR=(()=>dt7948.n(this.prototype,"postsStream",[(0,b.default)()]))();userDraftsStream(){return H.default.create({user:this})}static #sU=(()=>dt7948.n(this.prototype,"userDraftsStream",[(0,b.default)()]))();get staff(){return this.admin||this.moderator}static #sB=(()=>dt7948.n(this.prototype,"staff",[(0,r.computed)("admin","moderator")]))();set staff(e){}get hasUnseenFeatures(){return this.staff&&this.get("has_unseen_features")}static #sY=(()=>dt7948.n(this.prototype,"hasUnseenFeatures",[(0,r.computed)("has_unseen_features")]))();destroySession(){return(0,f.ajax)(`/session/${this.username}`,{type:"DELETE"})}searchContext(e){return{type:"user",id:e,user:this}}static #sH=(()=>dt7948.n(this.prototype,"searchContext",[(0,b.default)("username_lower")]))();displayName(e,t){return this.siteSettings.enable_names&&!(0,m.isEmpty)(t)?t:e}static #aB=(()=>dt7948.n(this.prototype,"displayName",[(0,b.default)("username","name")]))();profileBackgroundUrl(e){return(0,m.isEmpty)(e)||!this.siteSettings.allow_profile_backgrounds?(0,h.htmlSafe)(""):(0,h.htmlSafe)("background-image: url("+(0,C.getURLWithCDN)(e)+")")}static #aY=(()=>dt7948.n(this.prototype,"profileBackgroundUrl",[(0,b.default)("profile_background_upload_url")]))();path(){return(0,L.userPath)(this.username_lower)}static #aH=(()=>dt7948.n(this.prototype,"path",[(0,b.default)()]))();userApiKeys(){let e=this.user_api_keys;if(e)return e.map(e=>{let t=r.default.create(e);return t.revoke=()=>{this.revokeApiKey(t)},t.undoRevoke=()=>{this.undoRevokeApiKey(t)},t})}static #aq=(()=>dt7948.n(this.prototype,"userApiKeys",[(0,b.default)()]))();revokeApiKey(e){return(0,f.ajax)("/user-api-key/revoke",{type:"POST",data:{id:e.get("id")}}).then(()=>{e.set("revoked",!0)})}undoRevokeApiKey(e){return(0,f.ajax)("/user-api-key/undo-revoke",{type:"POST",data:{id:e.get("id")}}).then(()=>{e.set("revoked",!1)})}pmPath(e){let t=this.username_lower,i=e.details,s=i?.allowed_users,n=i?.allowed_groups;if(!n||s?.findBy("id",this.id))return(0,L.userPath)(`${t}/messages`);if(n){let e=n.find(e=>this.groups.some(t=>t.id===e.id));if(e)return(0,L.userPath)(`${t}/messages/group/${e.name}`)}}mutedTopicsPath(){return"latest"===(0,P.defaultHomepage)()?(0,C.default)("/?state=muted"):(0,C.default)("/latest?state=muted")}static #a$=(()=>dt7948.n(this.prototype,"mutedTopicsPath",[(0,b.default)()]))();watchingTopicsPath(){return"latest"===(0,P.defaultHomepage)()?(0,C.default)("/?state=watching"):(0,C.default)("/latest?state=watching")}static #az=(()=>dt7948.n(this.prototype,"watchingTopicsPath",[(0,b.default)()]))();trackingTopicsPath(){return"latest"===(0,P.defaultHomepage)()?(0,C.default)("/?state=tracking"):(0,C.default)("/latest?state=tracking")}static #aV=(()=>dt7948.n(this.prototype,"trackingTopicsPath",[(0,b.default)()]))();username_lower(e){return e.toLowerCase()}static #aW=(()=>dt7948.n(this.prototype,"username_lower",[(0,b.default)("username")]))();trustLevel(e){return R.default.currentProp("trustLevels").findBy("id",parseInt(e,10))}static #aK=(()=>dt7948.n(this.prototype,"trustLevel",[(0,b.default)("trust_level")]))();previousVisitAt(e){return new Date(e)}static #aG=(()=>dt7948.n(this.prototype,"previousVisitAt",[(0,b.default)("previous_visit_at")]))();suspended(e){return e&&moment(e).isAfter()}static #aJ=(()=>dt7948.n(this.prototype,"suspended",[(0,b.default)("suspended_till")]))();suspendedForever(e){return J(e)}static #aQ=(()=>dt7948.n(this.prototype,"suspendedForever",[(0,b.default)("suspended_till")]))();silencedForever(e){return J(e)}static #aX=(()=>dt7948.n(this.prototype,"silencedForever",[(0,b.default)("silenced_till")]))();suspendedTillDate(e){return(0,T.longDate)(e)}static #aZ=(()=>dt7948.n(this.prototype,"suspendedTillDate",[(0,b.default)("suspended_till")]))();silencedTillDate(e){return(0,T.longDate)(e)}static #a1=(()=>dt7948.n(this.prototype,"silencedTillDate",[(0,b.default)("silenced_till")]))();sidebarTags(e){return e&&0!==e.length?e.sort((e,t)=>e.name.localeCompare(t.name)):[]}static #a0=(()=>dt7948.n(this.prototype,"sidebarTags",[(0,b.default)("sidebar_tags.[]")]))();changeUsername(e){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/preferences/username`),{type:"PUT",data:{new_username:e}})}addEmail(e){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/preferences/email`),{type:"POST",data:{email:e}}).then(()=>{this.unconfirmed_emails||this.set("unconfirmed_emails",[]),this.unconfirmed_emails.pushObject(e)})}changeEmail(e){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/preferences/email`),{type:"PUT",data:{email:e}}).then(()=>{this.unconfirmed_emails||this.set("unconfirmed_emails",[]),this.unconfirmed_emails.pushObject(e)})}save(e){let t=this.getProperties(Q.filter(t=>!e||e.includes(t)));(e?Z.filter(t=>e.includes(t)):Z).forEach(e=>{t[e]=this.get(`user_option.${e}`)});let i={};return["muted","regular","watched","tracked","watched_first_post"].forEach(s=>{if(void 0===e||e.includes(`${s}_category_ids`)){let e=this.get(`${(0,p.camelize)(s)}Categories`);if(e){let n=e.map(e=>e.get("id"));i[`${s}_category_ids`]=n,t[`${s}_category_ids`]=0===n.length?[-1]:n}}}),["muted_tags","tracked_tags","watched_tags","watching_first_post_tags"].forEach(i=>{(void 0===e||e.includes(i))&&(t[i]=this.get(i)?this.get(i).join(","):"")}),["sidebar_category_ids","sidebar_tag_names"].forEach(e=>{t[e]?.length===0&&(t[e]=null)}),this.set("isSaving",!0),(0,f.ajax)((0,L.userPath)(`${this.username_lower}.json`),{data:t,type:"PUT"}).then(e=>(this.setProperties(i),this.setProperties((0,r.getProperties)(e.user,"bio_excerpt")),e)).finally(()=>{this.set("isSaving",!1)})}setPrimaryEmail(e){return(0,f.ajax)((0,L.userPath)(`${this.username}/preferences/primary-email.json`),{type:"PUT",data:{email:e}}).then(()=>{this.secondary_emails.removeObject(e),this.secondary_emails.pushObject(this.email),this.set("email",e)})}destroyEmail(e){return(0,f.ajax)((0,L.userPath)(`${this.username}/preferences/email.json`),{type:"DELETE",data:{email:e}}).then(()=>{this.unconfirmed_emails.includes(e)?this.unconfirmed_emails.removeObject(e):this.secondary_emails.removeObject(e)})}changePassword(){return(0,f.ajax)("/session/forgot_password",{dataType:"json",data:{login:this.email||this.username},type:"POST"})}async removePassword(){return(0,f.ajax)((0,L.userPath)(`${this.username}/remove-password`),{type:"PUT"})}loadSecondFactorCodes(){return(0,f.ajax)("/u/second_factors.json",{type:"POST"})}requestSecurityKeyChallenge(){return(0,f.ajax)("/u/create_second_factor_security_key.json",{type:"POST"})}registerSecurityKey(e){return(0,f.ajax)("/u/register_second_factor_security_key.json",{data:e,type:"POST"})}trustedSession(){return(0,f.ajax)("/u/trusted-session.json")}createPasskey(){return(0,f.ajax)("/u/create_passkey.json",{type:"POST"})}registerPasskey(e){return(0,f.ajax)("/u/register_passkey.json",{data:e,type:"POST"})}deletePasskey(e){return(0,f.ajax)(`/u/delete_passkey/${e}`,{type:"DELETE"})}createSecondFactorTotp(){return(0,f.ajax)("/u/create_second_factor_totp.json",{type:"POST"})}enableSecondFactorTotp(e,t){return(0,f.ajax)("/u/enable_second_factor_totp.json",{data:{second_factor_token:e,name:t},type:"POST"})}disableAllSecondFactors(){return(0,f.ajax)("/u/disable_second_factor.json",{type:"PUT"})}updateSecondFactor(e,t,i,s){return(0,f.ajax)("/u/second_factor.json",{data:{second_factor_target:s,name:t,disable:i,id:e},type:"PUT"})}updateSecurityKey(e,t,i){return(0,f.ajax)("/u/security_key.json",{data:{name:t,disable:i,id:e},type:"PUT"})}toggleSecondFactor(e,t,i,s){return(0,f.ajax)("/u/second_factor.json",{data:{second_factor_token:e,second_factor_method:t,second_factor_target:i,enable:s},type:"PUT"})}generateSecondFactorCodes(){return(0,f.ajax)("/u/second_factors_backup.json",{type:"PUT"})}revokeAssociatedAccount(e){return(0,f.ajax)((0,L.userPath)(`${this.username}/preferences/revoke-account`),{data:{provider_name:e},type:"POST"})}async loadUserAction(e){let t=await (0,f.ajax)(`/user_actions/${e}.json`);if(!t?.user_action)return;let i=t.user_action;if((this.get("stream.filter")||i.action_type)!==i.action_type||!this.get("stream.filter")&&!this.inAllStream(i))return;i.title=(0,E.emojiUnescape)((0,P.escapeExpression)(i.title));let s=U.default.collapseStream([U.default.create(i)]);this.stream.set("itemsLoaded",this.stream.get("itemsLoaded")+1),this.stream.get("content").insertAt(0,s[0])}inAllStream(e){return e.action_type===U.default.TYPES.posts||e.action_type===U.default.TYPES.topics}filteredGroups(){return(this.groups||[]).filter(e=>!e.automatic||"moderators"===e.name)}static #a2=(()=>dt7948.n(this.prototype,"filteredGroups",[(0,b.default)("groups.[]")]))();displayGroups(e,t){let i=e.slice(0,t);return 0===i.length?null:i}static #a3=(()=>dt7948.n(this.prototype,"displayGroups",[(0,b.default)("filteredGroups","numGroupsToDisplay")]))();statsCountNonPM(){if((0,m.isEmpty)(this.statsExcludingPms))return 0;let e=0;return this.statsExcludingPms.forEach(t=>{this.inAllStream(t)&&(e+=t.count)}),e}static #a8=(()=>dt7948.n(this.prototype,"statsCountNonPM",[(0,b.default)("statsExcludingPms.@each.count")]))();statsExcludingPms(){return(0,m.isEmpty)(this.stats)?[]:this.stats.rejectBy("isPM")}static #a4=(()=>dt7948.n(this.prototype,"statsExcludingPms",[(0,b.default)("stats.@each.isPM")]))();findDetails(t){let i=this;return M.default.getAndRemove(`user_${i.get("username")}`,()=>{if(t&&t.existingRequest)return t.existingRequest;let e=t&&t.forCard;t&&delete t.forCard;let s=e?`${i.get("username")}/card.json`:`${i.get("username")}.json`;return(0,f.ajax)((0,L.userPath)(s),{data:t})}).then(t=>{if((0,m.isEmpty)(t.user.stats)||(t.user.stats=e.groupStats(t.user.stats.map(e=>(e.count&&(e.count=parseInt(e.count,10)),B.default.create(e))))),!(0,m.isEmpty)(t.user.groups)&&!(0,m.isEmpty)(t.user.group_users)){let e=[];for(let i=0;i{e[t.get("id")]=t}),t.user.featured_user_badges=t.user.featured_user_badge_ids.map(t=>e[t])}return t.user.card_badge&&(t.user.card_badge=F.default.create(t.user.card_badge)),i.setProperties(t.user),i})}findStaffInfo(){return e.currentProp("staff")?(0,f.ajax)((0,L.userPath)(`${this.username_lower}/staff-info.json`)).then(e=>{this.setProperties(e)}):g.Promise.resolve(null)}pickAvatar(e,t){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/preferences/avatar/pick`),{type:"PUT",data:{upload_id:e,type:t}})}selectAvatar(e){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/preferences/avatar/select`),{type:"PUT",data:{url:e}})}isAllowedToUploadAFile(e){return this.staff||this.trust_level>0||this.siteSettings[`newuser_max_${"image"===e?"embedded_media":"attachments"}`]>0}createInvite(e,t,i){return(0,f.ajax)("/invites",{type:"POST",data:{email:e,group_ids:t,custom_message:i}})}generateInviteLink(e,t,i){return(0,f.ajax)("/invites",{type:"POST",data:{email:e,skip_email:!0,group_ids:t,topic_id:i}})}get mutedCategories(){return this.site.lazy_load_categories&&this.muted_category_ids&&!N.default.hasAsyncFoundAll(this.muted_category_ids)&&N.default.asyncFindByIds(this.muted_category_ids).then(()=>this.notifyPropertyChange("muted_category_ids")),N.default.findByIds(this.get("muted_category_ids"))}static #a7=(()=>dt7948.n(this.prototype,"mutedCategories",[a.dependentKeyCompat]))();set mutedCategories(e){this.set("muted_category_ids",e.map(e=>e.id))}get regularCategories(){return this.site.lazy_load_categories&&this.regular_category_ids&&!N.default.hasAsyncFoundAll(this.regular_category_ids)&&N.default.asyncFindByIds(this.regular_category_ids).then(()=>this.notifyPropertyChange("regular_category_ids")),N.default.findByIds(this.get("regular_category_ids"))}static #a9=(()=>dt7948.n(this.prototype,"regularCategories",[a.dependentKeyCompat]))();set regularCategories(e){this.set("regular_category_ids",e.map(e=>e.id))}get trackedCategories(){return this.site.lazy_load_categories&&this.tracked_category_ids&&!N.default.hasAsyncFoundAll(this.tracked_category_ids)&&N.default.asyncFindByIds(this.tracked_category_ids).then(()=>this.notifyPropertyChange("tracked_category_ids")),N.default.findByIds(this.get("tracked_category_ids"))}static #a5=(()=>dt7948.n(this.prototype,"trackedCategories",[a.dependentKeyCompat]))();set trackedCategories(e){this.set("tracked_category_ids",e.map(e=>e.id))}get watchedCategories(){return this.site.lazy_load_categories&&this.watched_category_ids&&!N.default.hasAsyncFoundAll(this.watched_category_ids)&&N.default.asyncFindByIds(this.watched_category_ids).then(()=>this.notifyPropertyChange("watched_category_ids")),N.default.findByIds(this.get("watched_category_ids"))}static #a6=(()=>dt7948.n(this.prototype,"watchedCategories",[a.dependentKeyCompat]))();set watchedCategories(e){this.set("watched_category_ids",e.map(e=>e.id))}get watchedFirstPostCategories(){return this.site.lazy_load_categories&&this.watched_first_post_category_ids&&!N.default.hasAsyncFoundAll(this.watched_first_post_category_ids)&&N.default.asyncFindByIds(this.watched_first_post_category_ids).then(()=>this.notifyPropertyChange("watched_first_post_category_ids")),N.default.findByIds(this.get("watched_first_post_category_ids"))}static #oe=(()=>dt7948.n(this.prototype,"watchedFirstPostCategories",[a.dependentKeyCompat]))();set watchedFirstPostCategories(e){this.set("watched_first_post_category_ids",e.map(e=>e.id))}canDeleteAccount(e){return!this.siteSettings.enable_discourse_connect&&e}static #ot=(()=>dt7948.n(this.prototype,"canDeleteAccount",[(0,b.default)("can_delete_account")]))();get sidebarLinkToFilteredList(){return this.get("user_option.sidebar_link_to_filtered_list")}static #oi=(()=>dt7948.n(this.prototype,"sidebarLinkToFilteredList",[a.dependentKeyCompat]))();get sidebarShowCountOfNewItems(){return this.get("user_option.sidebar_show_count_of_new_items")}static #os=(()=>dt7948.n(this.prototype,"sidebarShowCountOfNewItems",[a.dependentKeyCompat]))();delete(){return this.can_delete_account?(0,f.ajax)((0,L.userPath)(this.username+".json"),{type:"DELETE",data:{context:window.location.pathname}}):g.Promise.reject((0,z.i18n)("user.delete_yourself_not_allowed"))}updateNotificationLevel(t){let{level:i,expiringAt:s=null,actingUser:n=null}=t;return n||=e.current(),(0,f.ajax)(`${(0,L.userPath)(this.username)}/notification_level.json`,{type:"PUT",data:{notification_level:i,expiring_at:s,acting_user_id:n.id}}).then(()=>{n.ignored_users||(n.ignored_users=[]),"normal"===i||"mute"===i?n.ignored_users.removeObject(this.username):"ignore"===i&&n.ignored_users.addObject(this.username)})}dismissBanner(e){this.set("dismissed_banner_key",e),(0,f.ajax)((0,L.userPath)(this.username+".json"),{type:"PUT",data:{dismissed_banner_key:e}})}checkEmail(){return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/emails.json`),{data:{context:window.location.pathname}}).then(e=>{e&&this.setProperties({email:e.email,secondary_emails:e.secondary_emails,unconfirmed_emails:e.unconfirmed_emails,associated_accounts:e.associated_accounts})})}summary(){let e=(0,S.getOwnerWithFallback)(this).lookup("service:store");return(0,f.ajax)((0,L.userPath)(`${this.username_lower}/summary.json`)).then(t=>{let i=t.user_summary,s={},n={};return t.topics.forEach(t=>s[t.id]=e.createRecord("topic",t)),F.default.createFromJson(t).forEach(e=>n[e.id]=e),i.topics=i.topic_ids.map(e=>s[e]),i.replies.forEach(e=>{e.topic=s[e.topic_id],e.url=e.topic.urlForPostNumber(e.post_number),e.createdAt=new Date(e.created_at)}),i.links.forEach(e=>{e.topic=s[e.topic_id],e.post_url=e.topic.urlForPostNumber(e.post_number)}),i.badges&&(i.badges=i.badges.map(e=>{let t=n[e.badge_id];return t.count=e.count,t})),i.top_categories&&i.top_categories.forEach(e=>{e.parent_category_id&&(e.parentCategory=N.default.findById(e.parent_category_id))}),i})}canManageGroup(e){return e.get("can_admin_group")||e.get("is_group_owner")}availableTitles(){let e=[];return(this.groups||[]).forEach(t=>{(0,r.get)(t,"title")&&e.push((0,r.get)(t,"title"))}),(this.badges||[]).forEach(t=>{(0,r.get)(t,"allow_title")&&e.push((0,r.get)(t,"name"))}),e.uniq().sort().map(e=>({name:(0,P.escapeExpression)(e),id:e}))}static #on=(()=>dt7948.n(this.prototype,"availableTitles",[(0,b.default)("groups.@each.title","badges.[]")]))();availableFlairs(){let e=[];return this.groups&&this.groups.forEach(t=>{t.flair_url&&e.push({id:t.id,name:t.name,url:t.flair_url,bgColor:t.flair_bg_color,color:t.flair_color})}),e}static #or=(()=>dt7948.n(this.prototype,"availableFlairs",[(0,b.default)("groups.[]")]))();currentTextSize(e,t){if((0,y.default)(K)){let[t,i]=(0,y.default)(K).split("|");if(i>=e)return t}return t}static #oa=(()=>dt7948.n(this.prototype,"currentTextSize",[(0,b.default)("user_option.text_size_seq","user_option.text_size")]))();updateTextSizeCookie(e){if(e){let t=this.get("user_option.text_size_seq");(0,y.default)(K,`${e}|${t}`,{path:"/",expires:365})}else(0,y.removeCookie)(K,{path:"/"})}enforcedSecondFactor(e,t){let i=this.siteSettings.enforce_second_factor;return!e&&("all"===i||"staff"===i&&t)}static #oo=(()=>dt7948.n(this.prototype,"enforcedSecondFactor",[(0,b.default)("second_factor_enabled","staff")]))();resolvedTimezone(){return(0,w.default)("user.resolvedTimezone() has been deprecated. Use user.user_option.timezone instead",{id:"discourse.user.resolved-timezone",since:"2.9.0.beta12",dropFrom:"3.0.0.beta1"}),this.user_option.timezone}calculateMutedIds(e,t,i){let s=this.get(i);return e===D.NotificationLevels.MUTED?s.concat(t).uniq():s.filter(e=>e!==t)}setPrimaryGroup(e){return(0,f.ajax)(`/admin/users/${this.id}/primary_group`,{type:"PUT",data:{primary_group_id:e}})}enterDoNotDisturbFor(e){return(0,f.ajax)({url:"/do-not-disturb.json",type:"POST",data:{duration:e}}).then(e=>this.updateDoNotDisturbStatus(e.ends_at))}leaveDoNotDisturb(){return(0,f.ajax)({url:"/do-not-disturb.json",type:"DELETE"}).then(()=>{this.updateDoNotDisturbStatus(null)})}updateDoNotDisturbStatus(e){this.set("do_not_disturb_until",e),this.appEvents.trigger("do-not-disturb:changed",this.do_not_disturb_until),(0,u.getOwner)(this).lookup("service:notifications")._checkDoNotDisturb()}updateDraftProperties(e){this.setProperties(e),this.appEvents.trigger("user-drafts:changed")}updateReviewableCount(e){this.set("reviewable_count",e),this.appEvents.trigger("user-reviewable-count:changed",e)}isInDoNotDisturb(){if(this!==(0,u.getOwner)(this).lookup("service:current-user"))throw"isInDoNotDisturb is only supported for currentUser";return(0,u.getOwner)(this).lookup("service:notifications").isInDoNotDisturb}trackedTags(e,t,i){return[...e,...t,...i]}static #ol=(()=>dt7948.n(this.prototype,"trackedTags",[(0,b.default)("tracked_tags.[]","watched_tags.[]","watching_first_post_tags.[]")]))()},[x.default]),es=ei;ei.reopenClass({findByUsername:(e,t)=>ei.create({username:e}).findDetails(t),checkUsername:(e,t,i)=>(0,f.ajax)((0,L.userPath)("check_username"),{data:{username:e,email:t,for_user_id:i}}),checkEmail:e=>(0,f.ajax)((0,L.userPath)("check_email"),{data:{email:e}}),loadRecentSearches:()=>(0,f.ajax)("/u/recent-searches"),resetRecentSearches:()=>(0,f.ajax)("/u/recent-searches",{type:"DELETE"}),groupStats(e){let t=B.default.create({count:0,action_type:U.default.TYPES.replies});e.filterBy("isResponse").forEach(e=>{t.set("count",t.get("count")+e.get("count"))});let i=(0,n.A)();i.pushObjects(e.rejectBy("isResponse"));let s=0;return i.forEach((e,t)=>{(e.action_type===U.default.TYPES.topics||e.action_type===U.default.TYPES.posts)&&(s=t+1)}),t.count>0&&i.insertAt(s,t),i},createAccount(e){let t={name:e.accountName,email:e.accountEmail,password:e.accountPassword,username:e.accountUsername,password_confirmation:e.accountPasswordConfirm,challenge:e.accountChallenge,user_fields:e.userFields,timezone:moment.tz.guess()};return e.inviteCode&&(t.invite_code=e.inviteCode),(0,f.ajax)((0,L.userPath)(),{data:t,type:"POST"})},_saveTimezone(e){(0,f.ajax)((0,L.userPath)(e.username+".json"),{type:"PUT",dataType:"json",data:{timezone:e.user_option.timezone}})},create(e){return e=e||{},this.deleteStatusTrackingFields(e),this._super(e)},deleteStatusTrackingFields(e){e.hasOwnProperty("_subscribersCount")&&delete e._subscribersCount,e.hasOwnProperty("_clearStatusTimerId")&&delete e._clearStatusTimerId}});class en{static #e=(()=>dt7948.g(this.prototype,"appEvents",[d.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();user;_subscribersCount=0;_clearStatusTimerId=null;constructor(e){this.user=e,(0,u.setOwner)(this,(0,u.getOwner)(e))}trackStatus(){this.user.id||(0,k.isTesting)()||console.warn("It's impossible to track user status on a user model that doesn't have id. This user model won't be receiving live user status updates."),0===this._subscribersCount&&(this.user.addObserver("status",this,"_statusChanged"),this.appEvents.on("user-status:changed",this,this._updateStatus),this.user.status?.ends_at&&this._scheduleStatusClearing(this.user.status.ends_at)),this._subscribersCount++}stopTrackingStatus(){0!==this._subscribersCount&&(1===this._subscribersCount&&(this.user.removeObserver("status",this,"_statusChanged"),this.appEvents.off("user-status:changed",this,this._updateStatus),this._unscheduleStatusClearing()),this._subscribersCount--)}isTrackingStatus(){return this._subscribersCount>0}_statusChanged(){this.user.trigger("status-changed",this.user);let e=this.user.status;e&&e.ends_at?this._scheduleStatusClearing(e.ends_at):this._unscheduleStatusClearing()}_scheduleStatusClearing(e){if((0,k.isTesting)())return;this._clearStatusTimerId&&this._unscheduleStatusClearing();let t=moment.utc(),i=moment.utc(e).diff(t,"milliseconds");this._clearStatusTimerId=(0,A.default)(this,"_autoClearStatus",i)}_unscheduleStatusClearing(){(0,c.cancel)(this._clearStatusTimerId),this._clearStatusTimerId=null}_autoClearStatus(){this.user.status=null}_updateStatus(e){e.hasOwnProperty(this.user.id)&&(this.user.status=e[this.user.id])}}if("undefined"!=typeof Discourse){let e=!1;Object.defineProperty(Discourse,"User",{get:()=>(e||((0,w.default)("Import the User class instead of using Discourse.User",{since:"2.4.0",id:"discourse.globals.user"}),e=!0),ei)})}},36687:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addChildView:()=>w,clearElementView:()=>g,clearViewElement:()=>f,collectChildViews:()=>k,constructStyleDeprecationMessage:()=>a,contains:()=>x,elMatches:()=>D,getChildViews:()=>y,getElementView:()=>d,getRootViews:()=>o,getViewBoundingClientRect:()=>A,getViewBounds:()=>T,getViewClientRects:()=>C,getViewElement:()=>p,getViewId:()=>l,getViewRange:()=>S,initChildViews:()=>b,isSimpleClick:()=>r,matches:()=>M,setElementView:()=>h,setViewElement:()=>m});var s=i(2143),n=i(61535);function r(e){if(!(e instanceof MouseEvent))return!1;let t=e.shiftKey||e.metaKey||e.altKey||e.ctrlKey,i=e.which>1;return!t&&!i}function a(e){return'Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. Style affected: "'+e+'"'}function o(e){let t=e.lookup("-view-registry:main"),i=[];return Object.keys(t).forEach(e=>{let s=t[e];null===s.parentView&&i.push(s)}),i}function l(e){return""!==e.tagName&&e.elementId?e.elementId:(0,n.g)(e)}i(11191);let u=new WeakMap,c=new WeakMap;function d(e){return u.get(e)||null}function p(e){return c.get(e)||null}function h(e,t){u.set(e,t)}function m(e,t){c.set(e,t)}function g(e){u.delete(e)}function f(e){c.delete(e)}let _=new WeakMap;function y(e){let t=(0,s.getOwner)(e).lookup("-view-registry:main");return k(e,t)}function b(e){let t=new Set;return _.set(e,t),t}function w(e,t){let i=_.get(e);void 0===i&&(i=b(e)),i.add(l(t))}function k(e,t){let i=[],s=_.get(e);return void 0!==s&&s.forEach(e=>{let s=t[e];!s||s.isDestroying||s.isDestroyed||i.push(s)}),i}function T(e){return e.renderer.getBounds(e)}function S(e){let t=T(e),i=document.createRange();return i.setStartBefore(t.firstNode),i.setEndAfter(t.lastNode),i}function C(e){return S(e).getClientRects()}function A(e){return S(e).getBoundingClientRect()}let D="undefined"!=typeof Element?Element.prototype.matches:void 0;function M(e,t){return D.call(e,t)}function x(e,t){if(void 0!==e.contains)return e.contains(t);let i=t.parentNode;for(;i&&(i=i.parentNode);)if(i===e)return!0;return!1}},36702:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{default:()=>w,resetCategoryCache:()=>T});var n=i(87531);i(11191);var r=i(75527),a=i(18555),o=i(53775),l=i(72523),u=i(65319),c=i(70677),d=i(2063),p=i(98304),h=i(70278),m=i(53514),g=i(25640),f=i(9789),_=i(76655);let y={},b={};class w extends g.default{static sortCategories(e){let t=new Map;e.forEach(e=>{let i=parseInt(e.parent_category_id,10)||-1,s=t.get(i)||[];s.pushObject(e),t.set(i,s)});let i=e=>e.flatMap(e=>[e,i(t.get(e.id)||[])]).flat();return i(t.get(-1)||[])}static isUncategorized(e){return e===f.default.currentProp("uncategorized_category_id")}static slugEncoded(){return"encoded"===(0,u.getOwnerWithFallback)(this).lookup("service:site-settings").slug_generation_method}static findUncategorized(){return s=s||w.list().findBy("id",f.default.currentProp("uncategorized_category_id"))}static slugFor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;if(!e)return"";let s=(0,r.get)(e,"parentCategory"),n="";s&&i>1&&(n=w.slugFor(s,t,i-1)+t);let a=(0,r.get)(e,"id"),o=(0,r.get)(e,"slug");return o&&0!==o.trim().length?n+o:`${n}${a}-category`}static list(){return f.default.currentProp("categoriesList")}static listByActivity(){return f.default.currentProp("sortedCategories")}static _idMap(){return f.default.currentProp("categoriesById")}static findSingleBySlug(e){return this.slugEncoded()?w.list().find(t=>w.slugFor(t)===encodeURI(e)):w.list().find(t=>w.slugFor(t)===e)}static findById(e){if(e)return"string"==typeof e&&(console.warn("Category.findById called with a string ID"),e=parseInt(e,10)),w._idMap().get(e)}static findByIds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.forEach(e=>{let i=w.findById(e);i&&t.push(i)}),t}static hasAsyncFoundAll(e){let t=f.default.current().loadedCategoryIds||new Set;return e.every(e=>t.has(e))}static async asyncFindByIds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e=e.map(e=>parseInt(e,10)),!f.default.current().lazy_load_categories||this.hasAsyncFoundAll(e))return this.findByIds(e);let t=await k.fetch(e);k.hadTooManyCalls();let i=e.map(e=>f.default.current().updateCategory(t.get(e))),s=f.default.current().loadedCategoryIds||new Set;return e.forEach(e=>s.add(e)),f.default.current().set("loadedCategoryIds",s),i}static async asyncFindById(e){return(await w.asyncFindByIds([e]))[0]}static findBySlugAndParent(e,t){return this.slugEncoded()&&(e=encodeURI(e)),w.list().find(i=>i.slug===e&&(i.parentCategory||null)===t)}static findBySlugPath(e){let t=null;for(let i of e)if(!(t=this.findBySlugAndParent(i,t)))return null;return t}static async asyncFindBySlugPath(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={slug_path:e};t.includePermissions&&(i.include_permissions=!0);let s=(await (0,o.ajax)("/categories/find",{data:i})).categories.map(e=>(e=f.default.current().updateCategory(e),t.includePermissions&&e.setupGroupsAndPermissions(),e));return s[s.length-1]}static async asyncFindBySlugPathWithID(e){let t=(await (0,o.ajax)("/categories/find",{data:{slug_path_with_id:e}})).categories.map(e=>f.default.current().updateCategory(e));return t[t.length-1]}static findBySlugPathWithID(e){let t=e.split("/").filter(Boolean);this.slugEncoded()&&(t=t.map(e=>decodeURI(e)));let i=null;if(t.length>0&&t[t.length-1].match(/^\d+$/)){let e=parseInt(t.pop(),10);i=w.findById(e)}else if(!(i=w.findBySlugPath(t))&&t.length>0&&t[t.length-1].match(/^\d+-category/)){let e=parseInt(t.pop(),10);i=w.findById(e)}return i}static findBySlug(e,t){let i,s=w.list();if(t){let n=w.findSingleBySlug(t);if(n){if("none"===e)return n;i=s.find(i=>i&&i.get("parentCategory")===n&&(!this.slugEncoded()&&w.slugFor(i)===t+"/"+e||this.slugEncoded()&&w.slugFor(i)===encodeURI(t)+"/"+encodeURI(e)))}}else if((i=w.findSingleBySlug(e))&&i.get("parentCategory"))return;return i||(i=s.findBy("id",parseInt(e,10))),i}static fetchVisibleGroups(e){return(0,o.ajax)(`/c/${e}/visible_groups.json`)}static reloadById(e){return(0,o.ajax)(`/c/${e}/show.json`)}static reloadBySlugPath(e){return(0,o.ajax)(`/c/${e}/find_by_slug.json`)}static reloadCategoryWithPermissions(e,t,i){return this.reloadBySlugPath(e.slug).then(e=>this._includePermissions(e.category,t,i))}static _includePermissions(e,t,i){let s=t.createRecord("category",e);return s.setupGroupsAndPermissions(),i.updateCategory(s),s}static search(e,t){let i,s,n=5;if(t){if(0===t.limit)return[];t.limit&&(n=t.limit),t.parentCategoryId&&(i=t.parentCategoryId)}let r=""===e,a=e;r||(a=e=e.toLowerCase(),e=e.replace(/-/g," "));let o=w.listByActivity(),l=o.length,u=[],c=()=>u.length===n,d=e=>!i||e.get("parent_category_id")===i;for(s=0;s0||t.get("slug").toLowerCase().indexOf(a)>0)&&d(t)&&!u.includes(t)&&u.push(t)}return u.sortBy("read_restricted")}static async asyncHierarchicalSearch(e,t){let i={term:e,parent_category_id:(t||={}).parentCategoryId,limit:t.limit,only:t.only,except:t.except,page:t.page,offset:t.offset,include_uncategorized:t.includeUncategorized};return(b[JSON.stringify(i)]||=await (0,o.ajax)("/categories/hierarchical_search",{method:"GET",data:i})).categories.map(e=>f.default.current().updateCategory(e))}static async asyncSearch(e,t){let i={term:e,parent_category_id:(t||={}).parentCategoryId,include_uncategorized:t.includeUncategorized,select_category_ids:t.selectCategoryIds,reject_category_ids:t.rejectCategoryIds,include_subcategories:t.includeSubcategories,include_ancestors:t.includeAncestors,prioritized_category_id:t.prioritizedCategoryId,limit:t.limit,page:t.page},s=y[JSON.stringify(i)]||=await (0,o.ajax)("/categories/search",{method:"POST",data:i});return t.includeAncestors?{ancestors:s.ancestors.map(e=>f.default.current().updateCategory(e)),categories:s.categories.map(e=>f.default.current().updateCategory(e)),categoriesCount:s.categories_count}:s.categories.map(e=>f.default.current().updateCategory(e))}static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"color",[n.tracked]))();#ou=(()=>void dt7948.i(this,"color"))();static #i=(()=>dt7948.g(this.prototype,"styleType",[n.tracked],function(){return this.style_type}))();#oc=(()=>void dt7948.i(this,"styleType"))();static #s=(()=>dt7948.g(this.prototype,"emoji",[n.tracked]))();#od=(()=>void dt7948.i(this,"emoji"))();static #u=(()=>dt7948.g(this.prototype,"icon",[n.tracked]))();#op=(()=>void dt7948.i(this,"icon"))();static #c=(()=>dt7948.g(this.prototype,"localizations",[n.tracked],function(){return this.category_localizations}))();#oh=(()=>void dt7948.i(this,"localizations"))();permissions=null;init(){super.init(...arguments),this.setupGroupsAndPermissions()}setupGroupsAndPermissions(){this.available_groups&&(this.set("availableGroups",this.available_groups),this.group_permissions&&this.set("permissions",this.group_permissions.map(e=>(this.available_groups.removeObject(e.group_name),e))))}get descriptionText(){return(0,h.applyValueTransformer)("category-description-text",this.get("description_text"),{category:this})}get displayName(){return(0,h.applyValueTransformer)("category-display-name",this.get("name"),{category:this})}get textColor(){return(0,h.applyValueTransformer)("category-text-color",this.get("text_color"),{category:this})}get parentCategory(){if(this.parent_category_id)return w.findById(this.parent_category_id)}static #_=(()=>dt7948.n(this.prototype,"parentCategory",[(0,r.computed)("parent_category_id","site.categories.[]")]))();set parentCategory(e){this.set("parent_category_id",e?.id)}get subcategories(){return this.site.categoriesByParentId.get(this.id)||[]}get unloadedSubcategoryCount(){return this.subcategory_count-this.subcategories.length}get serializedSubcategories(){return this.subcategory_list?.map(e=>w.create(e))}static #b=(()=>dt7948.n(this.prototype,"serializedSubcategories",[(0,r.computed)("subcategory_list")]))();minimumRequiredTags(){return this.required_tag_groups?.length>0?Math.max(this.required_tag_groups.reduce((e,t)=>e+t.min_count,0),this.minimum_required_tags||0):this.minimum_required_tags>0?this.minimum_required_tags:null}static #v=(()=>dt7948.n(this.prototype,"minimumRequiredTags",[(0,l.default)("required_tag_groups","minimum_required_tags")]))();availablePermissions(){return[m.default.create({id:m.default.FULL}),m.default.create({id:m.default.CREATE_POST}),m.default.create({id:m.default.READONLY})]}static #w=(()=>dt7948.n(this.prototype,"availablePermissions",[l.default]))();searchContext(e){return{type:"category",id:e,category:this}}static #k=(()=>dt7948.n(this.prototype,"searchContext",[(0,l.default)("id")]))();ancestors(e){return[...e||[],this]}static #T=(()=>dt7948.n(this.prototype,"ancestors",[(0,l.default)("parentCategory.ancestors")]))();predecessors(e,t){return e?[e,...t]:[]}static #S=(()=>dt7948.n(this.prototype,"predecessors",[(0,l.default)("parentCategory","parentCategory.predecessors")]))();get descendants(){let e=[this];for(let t=0;tdt7948.n(this.prototype,"level",[(0,l.default)("parentCategory.level")]))();isParent(e,t){return e||t&&t.length>0}static #A=(()=>dt7948.n(this.prototype,"isParent",[(0,l.default)("has_children","subcategories")]))();isGrandParent(e){return e&&e.some(e=>e.subcategories&&e.subcategories.length>0)}static #D=(()=>dt7948.n(this.prototype,"isGrandParent",[(0,l.default)("subcategories")]))();isMuted(e){return e===p.NotificationLevels.MUTED}static #M=(()=>dt7948.n(this.prototype,"isMuted",[(0,l.default)("notification_level")]))();isHidden(e,t){return!!e&&(!t||!t.some(e=>!e.isHidden))}static #z=(()=>dt7948.n(this.prototype,"isHidden",[(0,l.default)("isMuted","subcategories")]))();hasMuted(e,t){return!!e||!!t&&!!t.some(e=>e.hasMuted)}static #V=(()=>dt7948.n(this.prototype,"hasMuted",[(0,l.default)("isMuted","subcategories")]))();notificationLevelString(e){let t=Object.keys(p.NotificationLevels).find(t=>p.NotificationLevels[t]===e);if(t)return t.toLowerCase()}static #W=(()=>dt7948.n(this.prototype,"notificationLevelString",[(0,l.default)("notification_level")]))();path(){return`/c/${w.slugFor(this)}/${this.id}`}static #K=(()=>dt7948.n(this.prototype,"path",[(0,l.default)("name")]))();url(e){return(0,c.default)(e)}static #G=(()=>dt7948.n(this.prototype,"url",[(0,l.default)("path")]))();fullSlug(){return w.slugFor(this).replace(/\//g,"-")}static #J=(()=>dt7948.n(this.prototype,"fullSlug",[l.default]))();nameLower(e){return e.toLowerCase()}static #e0=(()=>dt7948.n(this.prototype,"nameLower",[(0,l.default)("name")]))();unreadUrl(e){return`${e}/l/unread`}static #e2=(()=>dt7948.n(this.prototype,"unreadUrl",[(0,l.default)("url")]))();newUrl(e){return`${e}/l/new`}static #e3=(()=>dt7948.n(this.prototype,"newUrl",[(0,l.default)("url")]))();style(e,t){return`background-color: #${e}; color: #${t}`}static #e8=(()=>dt7948.n(this.prototype,"style",[(0,l.default)("color","text_color")]))();moreTopics(e){return e>(this.num_featured_topics||2)}static #e4=(()=>dt7948.n(this.prototype,"moreTopics",[(0,l.default)("topic_count")]))();totalTopicCount(e,t){return t&&t.forEach(t=>{e+=t.topic_count}),e}static #e7=(()=>dt7948.n(this.prototype,"totalTopicCount",[(0,l.default)("topic_count","subcategories.[]")]))();defaultSlowModeMinutes(e){return e?e/60:null}static #e9=(()=>dt7948.n(this.prototype,"defaultSlowModeMinutes",[(0,l.default)("default_slow_mode_seconds")]))();isTracked(e){return e>=p.NotificationLevels.TRACKING}static #e5=(()=>dt7948.n(this.prototype,"isTracked",[(0,l.default)("notification_level")]))();get unreadTopicsCount(){return this.topicTrackingState.countUnread({categoryId:this.id})}get newTopicsCount(){return this.topicTrackingState.countNew({categoryId:this.id})}save(){let e=this.id,t=e?`/categories/${e}`:"/categories";return this.styleType=this.style_type,(0,o.ajax)(t,{contentType:"application/json",data:JSON.stringify({name:this.name,slug:this.slug,color:this.color,text_color:this.text_color,secure:this.secure,permissions:this._permissionsForUpdate(),auto_close_hours:this.auto_close_hours,auto_close_based_on_last_post:this.get("auto_close_based_on_last_post"),default_slow_mode_seconds:this.default_slow_mode_seconds,position:this.position,email_in:this.email_in,email_in_allow_strangers:this.email_in_allow_strangers,mailinglist_mirror:this.mailinglist_mirror,parent_category_id:this.parent_category_id,uploaded_logo_id:this.get("uploaded_logo.id"),uploaded_logo_dark_id:this.get("uploaded_logo_dark.id"),uploaded_background_id:this.get("uploaded_background.id"),uploaded_background_dark_id:this.get("uploaded_background_dark.id"),allow_badges:this.allow_badges,category_setting_attributes:this.category_setting,custom_fields:this.custom_fields,topic_template:this.topic_template,form_template_ids:this.form_template_ids,all_topics_wiki:this.all_topics_wiki,allow_unlimited_owner_edits_on_first_post:this.allow_unlimited_owner_edits_on_first_post,allowed_tags:this.allowed_tags,allowed_tag_groups:this.allowed_tag_groups,allow_global_tags:this.allow_global_tags,required_tag_groups:this.required_tag_groups,sort_order:this.sort_order,sort_ascending:this.sort_ascending,topic_featured_link_allowed:this.topic_featured_link_allowed,show_subcategory_list:this.show_subcategory_list,num_featured_topics:this.num_featured_topics,default_view:this.default_view,subcategory_list_style:this.subcategory_list_style,default_top_period:this.default_top_period,minimum_required_tags:this.minimum_required_tags,navigate_to_first_post_after_read:this.get("navigate_to_first_post_after_read"),search_priority:this.search_priority,moderating_group_ids:this.moderating_group_ids,read_only_banner:this.read_only_banner,default_list_filter:this.default_list_filter,style_type:this.style_type,emoji:this.emoji,icon:this.icon,...this.siteSettings.experimental_content_localization&&{category_localizations_attributes:this._buildUpdatedLocalizations()}}),type:e?"PUT":"POST"})}_buildUpdatedLocalizations(){let e=this.category_localizations.filter(e=>!this.localizations.some(t=>t.id===e.id)).map(e=>({id:e.id,_destroy:!0}));return[...this.localizations,...e]}_permissionsForUpdate(){let e=this.permissions,t={};return e.length?e.forEach(e=>t[e.group_name]=e.permission_type):t.staff=m.default.FULL,t}destroy(){return(0,o.ajax)(`/categories/${this.id||this.slug}`,{type:"DELETE"})}addPermission(e){this.permissions.addObject(e),this.availableGroups.removeObject(e.group_name)}removePermission(e){let t=this.permissions.findBy("group_name",e);t&&(this.permissions.removeObject(t),this.availableGroups.addObject(e))}updatePermission(e,t){this.permissions.forEach((i,s)=>{i.group_name===e&&this.set(`permissions.${s}.permission_type`,t)})}latestTopic(e){if(e&&e.length)return e[0]}static #e6=(()=>dt7948.n(this.prototype,"latestTopic",[(0,l.default)("topics")]))();featuredTopics(e){if(e&&e.length)return e.slice(0,this.num_featured_topics||2).map(e=>_.default.create(e))}static #te=(()=>dt7948.n(this.prototype,"featuredTopics",[(0,l.default)("topics")]))();setNotification(e){this.currentUser.set("muted_category_ids",this.currentUser.calculateMutedIds(e,this.id,"muted_category_ids"));let t=`/category/${this.id}/notifications`;return(0,o.ajax)(t,{data:{notification_level:e},type:"POST"}).then(t=>{this.currentUser.set("indirectly_muted_category_ids",t.indirectly_muted_category_ids),this.set("notification_level",e),this.notifyPropertyChange("notification_level")})}isUncategorizedCategory(e){return w.isUncategorized(e)}static #tt=(()=>dt7948.n(this.prototype,"isUncategorizedCategory",[(0,l.default)("id")]))();get canCreateTopic(){return this.permission===m.default.FULL}get subcategoryWithCreateTopicPermission(){return this.subcategories?.find(e=>e.canCreateTopic)}}let k=new d.MultiCache(async e=>new Map((await (0,o.ajax)("/categories/find",{data:{ids:e}})).categories.map(e=>[e.id,e])));function T(){k.reset()}},36708:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(4781),n=i(8658),r=i(11075),a=i(14511),o=i(27659),l=i(21274),u=i(75423),c=i(22736),d=i(13796),p=i(38498),h=i(99159),m=i(29349),g=i(72799),f=i(71209),_=i(86960);let y=(0,n.default)((0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"wbCL5GE3",block:'[[[1,"\\n"],[41,[30,1,["model","canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["noContent"]],[[[1," "],[8,[32,1],null,[["@title","@body"],[[30,1,["model","emptyState","title"]],[30,1,["model","emptyState","body"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"paginated-topics-list"]],[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["top",[30,1,["bulkSelectHelper","selected"]],[30,1,["model"]],[30,1,["showResetNew"]],[30,1,["showDismissRead"]],[30,1,["resetNew"]],[52,[30,1,["showDismissRead"]],[28,[32,4],["dismissReadTopics"],null]]]],null],[1,"\\n\\n"],[41,[28,[32,5],[[30,1,["model","loadingBefore"]],[30,1,["incomingCount"]]],null],[[[1," "],[10,0],[14,0,"show-mores"],[12],[1,"\\n "],[11,3],[24,"tabindex","0"],[24,6,""],[16,0,[29,["alert alert-info clickable\\n ",[52,[30,1,["model","loadingBefore"]],"loading"]]]],[4,[32,6],["click",[30,1,["showInserted"]]],null],[12],[1,"\\n "],[8,[32,7],null,[["@key","@count"],["topic_count_latest",[28,[32,5],[[30,1,["model","loadingBefore"]],[30,1,["incomingCount"]]],null]]],null],[1,"\\n"],[41,[30,2,["loadingBefore"]],[[[1," "],[1,[28,[32,8],null,[["size"],["small"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,9],null,[["@topicList","@hideCategory","@showPosters","@tagsForUser","@canBulkSelect","@bulkSelectHelper","@changeSort","@order","@ascending","@focusLastVisitedTopic"],[[30,1,["model"]],[30,1,["hideCategory"]],[30,1,["showPosters"]],[30,1,["tagsForUser"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]],[30,1,["changeSort"]],[30,1,["order"]],[30,1,["ascending"]],true]],null],[1,"\\n\\n "],[8,[32,3],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["bottom",[30,1,["bulkSelectHelper","selected"]],[30,1,["model"]],[30,1,["showResetNew"]],[30,1,["showDismissRead"]],[30,1,["resetNew"]],[52,[30,1,["showDismissRead"]],[28,[32,4],["dismissReadTopics"],null]]]],null],[1,"\\n\\n "],[8,[32,10],null,[["@condition"],[[30,1,["model","loadingMore"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "]],["@controller","@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-topics-list.js",scope:()=>[p.default,u.default,c.default,d.default,m.default,r.or,s.on,l.default,h.default,a.default,o.default],isStrictMode:!0}),(0,_.default)(void 0,void 0)))},36715:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},s=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];return e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:s,longMonthsParse:s,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return(12===e&&(e=0),"रात"===t)?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})})},36903:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(8658),n=i(14511),r=i(27659),a=i(22736),o=i(72799),l=i(71209),u=i(86960);let c=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"j9hkryVH",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"paginated-topics-list"]],[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[8,[32,1],null,[["@topicList","@showPosters"],[[30,1,["model"]],true]],null],[1,"\\n "],[8,[32,2],null,[["@condition"],[[30,1,["model","loadingMore"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group-activity-topics.js",scope:()=>[a.default,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},36938:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(72799),n=i(25604),r=i(75527),a=i(57528),o=i(32504),l=i(58722),u=i.n(l),c=i(91514),d=i.n(c),p=i(71209);let h=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"selectedTags",[(0,a.reads)("collection.content.selectedTags.[]")]))();#om=(()=>void dt7948.i(this,"selectedTags"))();get tags(){if(!this.selectedTags)return[];let e=this.selectedTags;return e.length>=20&&this.selectKit.filter?e=e.filter(e=>e.includes(this.selectKit.filter)):e.length>=20&&(e=e.slice(0,20)),e.map(e=>({value:e,classNames:"selected-tag"}))}static #t=(()=>dt7948.n(this.prototype,"tags",[(0,r.computed)("selectedTags.[]","selectKit.filter")]))();static #i=(()=>(0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"4+VZ9I+p",block:'[[[1,"\\n"],[41,[30,0,["tags"]],[[[1," "],[10,0],[14,0,"mini-tag-chooser-selected-collection selected-tags"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["tags"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,"tabindex","0"],[16,0,[30,1,["classNames"]]]],[["@translatedTitle","@icon","@action"],[[30,1,["value"]],"xmark",[28,[32,1],[[30,0,["selectKit","deselect"]],[30,1,["value"]]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1,["value"]]],[["noHref"],[true]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["tag"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/mini-tag-chooser/selected-collection.js",scope:()=>[u(),n.fn,d()],isStrictMode:!0}),this))()},[(0,o.tagName)("")])},37115:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.H,helper:()=>s.h}),i(42700);var s=i(63578);i(50709),i(11191),i(31976),i(77667),i(86353),i(38230),i(8215)},37146:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(95766),n=i(25604),r=i(75527),a=i(18555),o=i(11075),l=i(81539),u=i(76909),c=i(54074),d=i(72799),p=i(71209);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"store",[a.service]))();#n=(()=>void dt7948.i(this,"store"))();static #s=(()=>dt7948.g(this.prototype,"adminPostMenuButtons",[a.service]))();#og=(()=>void dt7948.i(this,"adminPostMenuButtons"))();get reviewUrl(){return`/review?topic_id=${this.args.data.post.id}&status=all`}get extraButtons(){return this.adminPostMenuButtons.callbacks.map(e=>e(this.args.data.post)).filter(Boolean)}async topicAction(e){await this.args.close();try{await this.args.data[e]?.()}catch(t){console.error(`Unknown error while attempting \`${e}\`:`,t)}await this.args.data.scheduleRerender?.()}static #u=(()=>dt7948.n(this.prototype,"topicAction",[r.action]))();async extraAction(e){await this.args.close(),await e.action(this.args.data.post),await this.args.data.scheduleRerender?.()}static #c=(()=>dt7948.n(this.prototype,"extraAction",[r.action]))();static #_=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"MTujYt8P",block:'[[[1,"\\n "],[8,[32,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["currentUser","staff"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent moderation-history"]],[["@label","@icon","@href"],["review.moderation_history","list",[30,0,["reviewUrl"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,0,["currentUser","staff"]],[28,[32,3],[[30,2,["post","isWhisper"]]],null]],null],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,0,[28,[32,4],["btn btn-transparent toggle-post-type",[52,[30,2,["post","isModeratorAction"]],"btn-success"]],null]]],[["@label","@icon","@action"],[[52,[30,2,["post","isModeratorAction"]],"post.controls.revert_to_regular","post.controls.convert_to_moderator"],"shield-halved",[28,[32,5],[[30,0,["topicAction"]],"togglePostType"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["post","canEditStaffNotes"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,0,[28,[32,4],["btn btn-transparent",[52,[30,2,["post","notice"]],"change-notice","add-notice"],[52,[30,2,["post","notice"]],"btn-success"]],null]]],[["@icon","@label","@title","@action"],["user-shield",[52,[30,2,["post","notice"]],"post.controls.change_post_notice","post.controls.add_post_notice"],"post.controls.unhide",[28,[32,5],[[30,0,["topicAction"]],"changeNotice"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,0,["currentUser","staff"]],[30,2,["post","hidden"]]],null],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent unhide-post"]],[["@label","@icon","@action"],["post.controls.unhide","far-eye",[28,[32,5],[[30,0,["topicAction"]],"unhidePost"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,6],[[30,0,["currentUser","admin"]],[28,[32,2],[[30,0,["siteSettings","moderators_change_post_ownership"]],[30,0,["currentUser","staff"]]],null]],null],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent change-owner"]],[["@label","@icon","@title","@action"],["post.controls.change_owner","user","post.controls.lock_post_description",[28,[32,5],[[30,0,["topicAction"]],"changePostOwner"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,2,["post","user_id"]],[30,0,["currentUser","staff"]]],null],[[[41,[30,0,["siteSettings","enable_badges"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent grant-badge"]],[["@label","@icon","@action"],["post.controls.grant_badge","certificate",[28,[32,5],[[30,0,["topicAction"]],"grantBadge"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["post","locked"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,0,[28,[32,4],["btn btn-transparent unlock-post",[52,[30,2,["post","locked"]],"btn-success"]],null]]],[["@label","@icon","@title","@action"],["post.controls.unlock_post","unlock","post.controls.unlock_post_description",[28,[32,5],[[30,0,["topicAction"]],"unlockPost"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent lock-post"]],[["@label","@icon","@title","@action"],["post.controls.lock_post","lock","post.controls.lock_post_description",[28,[32,5],[[30,0,["topicAction"]],"lockPost"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,2,["post","canPermanentlyDelete"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent permanently-delete"]],[["@label","@icon","@action"],["post.controls.permanently_delete","trash-can",[28,[32,5],[[30,0,["topicAction"]],"permanentlyDeletePost"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,6],[[30,2,["post","canManage"]],[30,2,["post","can_wiki"]]],null],[[[41,[30,2,["post","wiki"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,0,[28,[32,4],["btn btn-transparent wiki wikied",[52,[30,2,["post","wiki"]],"btn-success"]],null]]],[["@label","@icon","@action"],["post.controls.unwiki","far-pen-to-square",[28,[32,5],[[30,0,["topicAction"]],"toggleWiki"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent wiki"]],[["@label","@icon","@action"],["post.controls.wiki","far-pen-to-square",[28,[32,5],[[30,0,["topicAction"]],"toggleWiki"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,2,["post","canPublishPage"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent publish-page"]],[["@label","@icon","@action"],["post.controls.publish_page","file",[28,[32,5],[[30,0,["topicAction"]],"showPagePublish"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["post","canManage"]],[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"btn btn-transparent rebuild-html"]],[["@label","@icon","@action"],["post.controls.rebake","rotate",[28,[32,5],[[30,0,["topicAction"]],"rebakePost"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["extraButtons"]]],null]],null],null,[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,0,[28,[32,4],["btn btn-transparent",[30,3,["className"]]],null]]],[["@label","@translatedLabel","@icon","@action"],[[30,3,["label"]],[30,3,["translatedLabel"]],[30,3,["icon"]],[28,[32,5],[[30,0,["extraAction"]],[30,3]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],null],[1," "]],[1]]]]],[1,"\\n "]],["dropdown","@data","button"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/admin-post-menu.js",scope:()=>[u.default,l.default,o.and,o.not,c.default,n.fn,o.or],isStrictMode:!0}),this))()}},37169:(e,t,i)=>{"use strict";var s=i(94950),n=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==n.exec(e)||null!==r.exec(e))},construct:function(e){var t,i,s,a,o,l,u,c,d=0,p=null;if(null===(t=n.exec(e))&&(t=r.exec(e)),null===t)throw Error("Date resolve error");if(i=+t[1],s=t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(i,s,a));if(o=+t[4],l=+t[5],u=+t[6],t[7]){for(d=t[7].slice(0,3);d.length<3;)d+="0";d*=1}return t[9]&&(p=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(p=-p)),c=new Date(Date.UTC(i,s,a,o,l,u,d)),p&&c.setTime(c.getTime()-p),c},instanceOf:Date,represent:function(e){return e.toISOString()}})},37250:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var s=i(86353),n=i(31976),r=i(20272),a=i(25633),o=i(25604);let l=a.CurriedType?.Component||0;function u(e,t,i){if(!t||!e||!i)throw Error("curryComponent requires a component class, named arguments, and an owner");let a=(0,r.dict)();for(let e of Object.keys(t))a[e]=(0,s.createComputeRef)(()=>t[e]);return(0,n.curry)(l,e,i,(0,n.createCapturedArgs)(a,n.EMPTY_POSITIONAL),!1)}class c{capabilities=(()=>(0,o.capabilities)("3.23",{hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1}))();constructor(e){this.owner=e}createHelper(e,t){return{fn:e,args:t}}getValue(e){let{fn:t,args:i}=e;return t(...i.positional,this.owner)}}(0,o.setHelperManager)(e=>new c(e),u)},37303:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(75527),i(78212),i(61535),i(11191),i(77350),i(38230),i(8215);var s=i(42938);function n(e){let t=e.__container__.lookup("service:-routing");return(0,s.g)(t,"currentPath")}i(80725),i(88919),i(76778),i(27578),i(80789),i(13834),i(21980)},37311:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(72799),n=i(4781),r=i(75527),a=i(57528),o=i(18555),l=i(81472),u=i(20976),c=i(12733),d=i(72523),p=i(82163),h=i(88820),m=i(71209);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"hasEdits",[(0,a.gt)("reviewable.post_version",1)]))();#of=(()=>void dt7948.i(this,"hasEdits"))();historyClass(e){return(0,u.historyHeat)(this.siteSettings,new Date(e))}static #i=(()=>dt7948.n(this.prototype,"historyClass",[(0,d.default)("reviewable.post_updated_at")]))();editedDate(e){return(0,p.longDate)(e)}static #s=(()=>dt7948.n(this.prototype,"editedDate",[(0,d.default)("reviewable.post_updated_at")]))();showEditHistory(e){e?.preventDefault();let t=this.get("reviewable.post_id");this.store.find("post",t).then(e=>{this.modal.show(l.default,{model:{post:e,postId:t,postVersion:"latest",topicController:null}})})}static #u=(()=>dt7948.n(this.prototype,"showEditHistory",[r.action]))();static #c=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"qNGUQxbB",block:'[[[1,"\\n"],[41,[30,0,["hasEdits"]],[[[1," "],[11,3],[24,6,""],[16,0,[29,["has-edits ",[30,0,["historyClass"]]]]],[16,"title",[28,[32,0],["post.last_edited_on"],[["dateTime"],[[30,0,["editedDate"]]]]]],[4,[32,1],["click",[30,0,["showEditHistory"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["pencil"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-post-edits.js",scope:()=>[h.i18n,n.on,c.default],isStrictMode:!0}),this))()}},37372:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;if(0===e)return e+"-ев";if(0===i)return e+"-ен";if(i>10&&i<20)return e+"-ти";if(1===t)return e+"-ви";if(2===t)return e+"-ри";else if(7===t||8===t)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})})},37390:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{constructor(e){this.name=e,this._keys={}}keyDirty(e,t){(t=t||{}).dirty=!0,this._keys[e]=t}forceAll(){this.keyDirty("*")}allDirty(){return!!this._keys["*"]}optionsFor(e){return this._keys[e]||{dirty:!1}}renderedKey(e){"*"===e?this._keys={}:delete this._keys[e]}}},37410:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(63534),n=i(77667),r=i(18555),a=i(55230),o=i(82568),l=i(72523),u=i(25687);let c="sticky-avatar",d=".post-stream .topic-post";class p extends a.default{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();element;intersectionObserver;constructor(){super(...arguments),(0,s.registerDestructor)(this,e=>e.cleanup())}modify(e){!this.site.mobileView&&"IntersectionObserver"in window&&(this.element=e,this.appEvents.on("topic:current-post-scrolled",this,this._handlePostNodes),this.appEvents.on("topic:scrolled",this,this._handleScroll),this.appEvents.on("page:topic-loaded",this,this._initIntersectionObserver),(0,o.addWidgetCleanCallback)("post-stream",this._clearIntersectionObserver))}cleanup(){!this.site.mobileView&&"IntersectionObserver"in window&&(this.appEvents.off("topic:current-post-scrolled",this,this._handlePostNodes),this.appEvents.off("topic:scrolled",this,this._handleScroll),this.appEvents.off("page:topic-loaded",this,this._initIntersectionObserver),(0,o.removeWidgetCleanCallback)("post-stream",this._clearIntersectionObserver))}_handleScroll(e){e<=0&&this.element.querySelectorAll(`${d}.${c}`).forEach(e=>e.classList.remove(c))}static #i=(()=>dt7948.n(this.prototype,"_handleScroll",[l.bind]))();_handlePostNodes(){this._clearIntersectionObserver(),this._initIntersectionObserver(),(0,n.schedule)("afterRender",()=>{this.element.querySelectorAll(d).forEach(e=>{this.intersectionObserver.observe(e)})})}static #s=(()=>dt7948.n(this.prototype,"_handlePostNodes",[l.bind]))();_initIntersectionObserver(){(0,n.schedule)("afterRender",()=>{let e=(0,u.headerOffset)(),t=e<=0?"0px":`-${e}px`;this.intersectionObserver=new IntersectionObserver(e=>{e.forEach(e=>{if(!e.isIntersecting||1===e.intersectionRatio)return void e.target.classList.remove(c);e.target.classList.add(c)})},{threshold:[0,1],rootMargin:`${t} 0px 0px 0px`})})}static #u=(()=>dt7948.n(this.prototype,"_initIntersectionObserver",[l.bind]))();_clearIntersectionObserver(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}static #c=(()=>dt7948.n(this.prototype,"_clearIntersectionObserver",[l.bind]))()}},37463:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(83426);function n(e){let t="";return e.color&&(t+=`--category-badge-color: #${e.color};`),e.textColor&&(t+=`--category-badge-text-color: #${e.textColor};`),e.parentCategory?.color&&(t+=`--parent-category-badge-color: #${e.parentCategory.color};`),e.parentCategory?.textColor&&(t+=`--parent-category-badge-text-color: #${e.parentCategory.textColor};`),(0,s.htmlSafe)(t)}},37494:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(38349),n=i(1612),r=i(2369);let a={limit:5,retryDelays:[0,1e3,3e3,5e3],getChunkSize:()=>5242880,onStart(){},onProgress(){},onChunkComplete(){},onSuccess(){},onError(e){throw e}};class o{constructor(e,t){this.options={...a,...t},this.file=e,this.options.getChunkSize||(this.options.getChunkSize=a.getChunkSize,this.chunkSize=this.options.getChunkSize(this.file)),this.abortController=new s.AbortController,this._initChunks()}_aborted(){return this.abortController.signal.aborted}_initChunks(){this.chunksInProgress=0,this.chunks=null,this.chunkState=null;let e=[];if(0===this.file.size)e.push(this.file.data);else for(let t=0;t({bytesUploaded:0,busy:!1,done:!1}))}_createUpload(){if(this._aborted())throw(0,s.createAbortError)();this.options.onStart(),this._uploadChunks()}_uploadChunks(){if(this.chunkState.every(e=>e.done))return void this._completeUpload();let e=this.options.limit-this.chunksInProgress,t=this.chunkState.filter(e=>e.done).length,i=this.chunks.length-t,s=Math.ceil(this.options.limit/2);if(s>i&&(s=i),e=e))break}0!==n.length&&n.forEach(e=>{this._uploadChunkRetryable(e).then(()=>{this._uploadChunks()},e=>{this._onError(e)})})}_shouldRetry(e){if(e.source&&"number"==typeof e.source.status){let{status:t}=e.source;return 0===t||409===t||423===t||t>=500&&t<600}return!1}_retryable(e){let{before:t,attempt:i,after:r}=e,{retryDelays:a}=this.options,{signal:o}=this.abortController;t&&t();let l=e=>i().catch(t=>{if(this._aborted())throw(0,s.createAbortError)();if(this._shouldRetry(t)&&el(e+1));throw t});return l(0).then(e=>(r&&r(),e),e=>{throw r&&r(),e})}_uploadChunkRetryable(e){return this._retryable({before:()=>{this.chunksInProgress+=1},attempt:()=>this._uploadChunk(e),after:()=>{this.chunksInProgress-=1}})}_uploadChunk(e){if(this.chunkState[e].busy=!0,this._aborted())throw this.chunkState[e].busy=!1,(0,s.createAbortError)();return this._uploadChunkBytes(e,this.options.url,this.options.headers)}_onChunkProgress(e,t){this.chunkState[e].bytesUploaded=parseInt(t,10);let i=this.chunkState.reduce((e,t)=>e+t.bytesUploaded,0);this.options.onProgress(i,this.file.data.size)}_onChunkComplete(e){this.chunkState[e].done=!0,this.options.onChunkComplete(e)}_uploadChunkBytes(e,t,i){let n=this.chunks[e],{signal:a}=this.abortController;return new r.Promise((r,o)=>{let l=new XMLHttpRequest;function u(){a.removeEventListener("abort",()=>l.abort())}a.addEventListener("abort",l.abort()),l.open(this.options.method||"POST",t,!0),i&&Object.keys(i).forEach(e=>{l.setRequestHeader(e,i[e])}),l.responseType="text",l.upload.addEventListener("progress",t=>{t.lengthComputable&&this._onChunkProgress(e,t.loaded,t.total)}),l.addEventListener("abort",()=>{u(),this.chunkState[e].busy=!1,o((0,s.createAbortError)())}),l.addEventListener("load",t=>{if(u(),this.chunkState[e].busy=!1,t.target.status<200||t.target.status>=300){let e=Error("Non 2xx");e.source=t.target,o(e);return}this.chunks[e]=null,this._onChunkProgress(e,n.size,n.size),this._onChunkComplete(e),r()}),l.addEventListener("error",t=>{u(),this.chunkState[e].busy=!1;let i=Error("Unknown error");i.source=t.target,o(i)}),l.send(this._buildFormData(e+1,n))})}async _completeUpload(){this.options.onSuccess()}_buildFormData(e,t){let i=this.file.data.size+"-"+this.file.data.name.replace(/[^0-9a-zA-Z_-]/gim,""),s=new FormData;return s.append("file",t),s.append("resumableChunkNumber",e),s.append("resumableCurrentChunkSize",t.size),s.append("resumableChunkSize",this.chunkSize),s.append("resumableTotalSize",this.file.data.size),s.append("resumableFilename",this.file.data.name),s.append("resumableIdentifier",i),s}_abortUpload(){this.abortController.abort()}_onError(e){e&&"AbortError"===e.name||this.options.onError(e)}start(){this._createUpload()}abort(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;e?.really&&this._abortUpload()}}},37510:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(95766),n=i(18555),r=i(55230),a=i(81539),o=i(34918),l=i(28078),u=i(54074),c=i(72799),d=i(71209);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #s=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #u=(()=>dt7948.g(this.prototype,"search",[n.service]))();#ej=(()=>void dt7948.i(this,"search"))();advancedSearchButtonHref="/search?expanded=true";handleKeyboardShortcut=(()=>(0,r.modifier)(()=>{let e=e=>{("search"===e.type||"page-search"===e.type)&&(this.search.focusSearchInput(),e.event.preventDefault())};return this.appEvents.on("header:keyboard-trigger",e),()=>this.appEvents.off("header:keyboard-trigger",e)}))();get shouldDisplay(){return this.siteSettings.login_required&&this.currentUser||!this.siteSettings.login_required}static #c=(()=>(0,c.setComponentTemplate)((0,d.createTemplateFactory)({id:"g/PADAmx",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[1,[28,[32,0],["header-search--enabled"],null]],[1,"\\n "],[11,0],[24,0,"floating-search-input-wrapper"],[4,[30,0,["handleKeyboardShortcut"]],null,null],[12],[1,"\\n "],[10,0],[14,0,"floating-search-input"],[12],[1,"\\n "],[10,0],[14,0,"search-banner"],[12],[1,"\\n "],[10,0],[14,0,"search-banner-inner wrap"],[12],[1,"\\n "],[10,0],[14,0,"search-menu"],[12],[1,"\\n "],[8,[32,1],[[16,0,[28,[32,2],["btn search-icon",[30,1]],null]]],[["@icon","@translatedLabel","@title","@href"],["magnifying-glass",[30,2],"search.open_advanced",[30,0,["advancedSearchButtonHref"]]]],null],[1,"\\n\\n "],[8,[32,3],null,[["@location","@searchInputId"],["header","header-search-input"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@buttonClass","@buttonText"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/header-search.js",scope:()=>[l.default,a.default,u.default,o.default],isStrictMode:!0}),this))()}},37553:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return s?n[i][0]:n[i][1]}return e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return(12===e&&(e=0),"rati"===t)?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})})},37599:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(12715)},37609:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(61037);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();beforeModel(){this.router.transitionTo("group.index")}}},37613:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(4781),r=i(75527),a=i(18555),o=i(83426),l=i(81539),u=i(72799),c=i(71209);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"userTips",[a.service]))();#nd=(()=>void dt7948.i(this,"userTips"))();get safeHtmlContent(){return(0,o.htmlSafe)(this.args.data.contentHtml)}get showSkipButton(){return this.args.data.showSkipButton}handleDismiss(e,t){t.preventDefault(),this.args.close(),this.userTips.hideUserTipForever(this.args.data.id)}static #t=(()=>dt7948.n(this.prototype,"handleDismiss",[r.action]))();handleSkip(e,t){t.preventDefault(),this.args.close(),this.userTips.skipTips()}static #i=(()=>dt7948.n(this.prototype,"handleSkip",[r.action]))();onClick(e){"A"===e.target.nodeName&&this.args.close()}static #s=(()=>dt7948.n(this.prototype,"onClick",[r.action]))();static #u=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"L+Hs1ZMu",block:'[[[1,"\\n "],[10,0],[14,0,"user-tip__container"],[12],[1,"\\n "],[10,0],[14,0,"user-tip__title"],[12],[1,[30,1,["titleText"]]],[13],[1,"\\n"],[1," "],[11,0],[24,0,"user-tip__content"],[4,[32,0],["click",[30,0,["onClick"]]],null],[12],[1,"\\n"],[41,[30,1,["contentHtml"]],[[[1," "],[1,[30,0,["safeHtmlContent"]]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["contentText"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"user-tip__buttons"],[12],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@forwardEvent"],[[30,1,["buttonText"]],[30,0,["handleDismiss"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showSkipButton"]],[[[1," "],[8,[32,1],[[24,0,"btn-flat btn-text"]],[["@translatedLabel","@action","@forwardEvent"],[[30,1,["buttonSkipText"]],[30,0,["handleSkip"]],true]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@data"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-tip-container.js",scope:()=>[n.on,l.default],isStrictMode:!0}),this))()}},37671:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21980),n=i(75527),r=i(18555),a=i(53775),o=i(70412),l=i(72523),u=i(70677),c=i(35352),d=i(90211);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();secondFactorMethod;secondFactorToken;lockImageUrl=(()=>(0,u.default)("/images/lock.svg"))();secondFactorRequired(e){return e.security_key_required||e.second_factor_required}static #t=(()=>dt7948.n(this.prototype,"secondFactorRequired",[(0,l.default)("model")]))();async finishLogin(){let e={second_factor_method:this.secondFactorMethod,timezone:moment.tz.guess()};this.securityKeyCredential?e.second_factor_token=this.securityKeyCredential:e.second_factor_token=this.secondFactorToken;try{let t=await (0,a.ajax)({url:`/session/email-login/${this.model.token}`,type:"POST",data:e});if(!t.success)return void this.set("model.error",t.error);let i="/",s=new URL(this.router.currentURL,window.location.origin).searchParams.get("safe_mode");if(s){let e=new URLSearchParams;e.set("safe_mode",s),i+=`?${e.toString()}`}c.default.redirectTo(i)}catch(e){(0,o.popupAjaxError)(e)}}static #i=(()=>dt7948.n(this.prototype,"finishLogin",[n.action]))();authenticateSecurityKey(){(0,d.getWebauthnCredential)(this.model.challenge,this.model.allowed_credential_ids,e=>{this.set("securityKeyCredential",e),this.send("finishLogin")},e=>{this.set("model.error",e)})}static #s=(()=>dt7948.n(this.prototype,"authenticateSecurityKey",[n.action]))()}},37715:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(72799),n=i(57528),r=i(32504),a=i(88008),o=i(12733),l=i(56731),u=i(72523),c=i(36702),d=i(88820),p=i(71209);let h=dt7948.c(class extends s.default{isPrivateMessage=!1;static #e=(()=>dt7948.g(this.prototype,"sortedTags",[(0,n.sort)("tags","sortProperties")]))();#o_=(()=>void dt7948.i(this,"sortedTags"))();title(e){return e&&(0,d.i18n)(e)}static #t=(()=>dt7948.n(this.prototype,"title",[(0,u.default)("titleKey")]))();category(e){return e&&c.default.findById(e)}static #i=(()=>dt7948.n(this.prototype,"category",[(0,u.default)("categoryId")]))();categoryClass(e){return e&&`tag-list-${e}`}static #s=(()=>dt7948.n(this.prototype,"categoryClass",[(0,u.default)("category.fullSlug")]))();tagGroupNameClass(e){if(e)return(e=e.replace(/\s+/g,"-").replace(/[!\"#$%&'\(\)\*\+,\.\/:;<=>\?\@\[\\\]\^`\{\|\}~]/g,"").toLowerCase())&&`tag-group-${e}`}static #u=(()=>dt7948.n(this.prototype,"tagGroupNameClass",[(0,u.default)("tagGroupName")]))();static #c=(()=>(0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"4NQ7mlKo",block:'[[[1,"\\n"],[41,[30,0,["title"]],[[[1," "],[10,"h3"],[12],[1,[30,0,["title"]]],[13],[1,"\\n"]],[]],null],[41,[30,0,["category"]],[[[1," "],[8,[32,0],null,[["@category"],[[30,0,["category"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["tagGroupName"]],[[[1," "],[10,"h3"],[12],[1,[30,0,["tagGroupName"]]],[13],[1,"\\n"]],[]],null],[42,[28,[31,2],[[28,[31,2],[[30,0,["sortedTags"]]],null]],null],null,[[[1," "],[10,0],[14,0,"tag-box"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["id"]]],[["description","isPrivateMessage","pmOnly","tagsForUser"],[[30,1,["description"]],[30,0,["isPrivateMessage"]],[30,1,["pmOnly"]],[30,0,["tagsForUser"]]]]]],[1,"\\n"],[41,[30,1,["pmOnly"]],[[[1," "],[1,[28,[32,2],["envelope"],null]],[1,"\\n"]],[]],null],[41,[30,1,["totalCount"]],[[[1," "],[10,1],[14,0,"tag-count"],[12],[1,"\\n x\\n "],[1,[30,1,["totalCount"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[1]],null],[1," "],[10,0],[14,0,"clearfix"],[12],[13],[1,"\\n "]],["tag"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/tag-list.js",scope:()=>[a.default,l.default,o.default],isStrictMode:!0}),this))()},[(0,r.classNameBindings)(":tags-list",":tag-list","categoryClass","tagGroupNameClass")])},37749:(e,t,i)=>{"use strict";i.r(t),i.d(t,{buildResolver:()=>P,clearResolverOptions:()=>x,expireModuleTrieCache:()=>L,getResolverOption:()=>M,setResolverOption:()=>D});var s=i(53518);class n{constructor(e,t,i){this.limit=e,this.func=t,this.store=i,this.size=0,this.misses=0,this.hits=0,this.store=i||new Map}get(e){let t=this.store.get(e);return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,t=this.set(e,this.func(e)))}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}let r=/[ _]/g,a=new n(1e3,e=>(function(e){return g.get(e)})(e).replace(r,"-")),o=/^(\-|_)+(.)?/,l=/(.)(\-|\_|\.|\s)+(.)?/g,u=/(^|\/|\.)([a-z])/g,c=new n(1e3,e=>{let t=(e,t,i)=>i?`_${i.toUpperCase()}`:"",i=(e,t,i,s)=>t+(s?s.toUpperCase():""),s=e.split("/");for(let e=0;ee.toUpperCase())}),d=/([a-z\d])([A-Z]+)/g,p=/\-|\s+/g,h=new n(1e3,e=>e.replace(d,"$1_$2").replace(p,"_").toLowerCase()),m=/([a-z\d])([A-Z])/g,g=new n(1e3,e=>e.replace(m,"$1_$2").toLowerCase());class f{constructor(e){this._entries=e||globalThis.requirejs.entries}moduleNames(){return Object.keys(this._entries)}has(e){return e in this._entries}get(){return globalThis.require(...arguments)}}class _{static moduleBasedResolver=!0;moduleBasedResolver=!0;_deprecatedPodModulePrefix=!1;_normalizeCache=(()=>Object.create(null))();static create(e){return new this(e)}moduleNameLookupPatterns=[this.podBasedModuleName,this.podBasedComponentsInSubdir,this.mainModuleName,this.defaultModuleName,this.nestedColocationComponentModuleName];static withModules(e){return class extends this{static explicitModules=(()=>e)()}}constructor(e){if(Object.assign(this,e),!this._moduleRegistry){let e=this.constructor.explicitModules;e?this._moduleRegistry={moduleNames:()=>Object.keys(e),has:t=>!!e[t],get:t=>e[t],addModules(t){e=Object.assign({},e,t)}}:(void 0===globalThis.requirejs.entries&&(globalThis.requirejs.entries=globalThis.requirejs._eak_seen),this._moduleRegistry=new f)}this.pluralizedTypes=this.pluralizedTypes||Object.create(null),this.pluralizedTypes.config||(this.pluralizedTypes.config="config")}makeToString(e,t){return""+this.namespace.modulePrefix+"@"+t+":"}shouldWrapInClassFactory(){return!1}parseName(e){let t,i,s;if(!0===e.parsedName)return e;let n=e.split("@");if(3===n.length){if(0===n[0].length){t=`@${n[1]}`;let e=n[2].split(":");i=e[0],s=e[1]}else t=`@${n[1]}`,i=n[0].slice(0,-1),s=n[2];"template:components"===i&&(s=`components/${s}`,i="template")}else if(2===n.length){let e=n[0].split(":");if(2===e.length)0===e[1].length?(i=e[0],s=`@${n[1]}`):(t=e[1],i=e[0],s=n[1]);else{let e=n[1].split(":");t=n[0],i=e[0],s=e[1]}"template"===i&&0===t.lastIndexOf("components/",0)&&(s=`components/${s}`,t=t.slice(11))}else i=(n=e.split(":"))[0],s=n[1];let r=s,a=this.namespace;return{parsedName:!0,fullName:e,prefix:t||this.prefix({type:i}),type:i,fullNameWithoutType:r,name:s,root:a,resolveMethodName:"resolve"+function(e){return c.get(e)}(i)}}resolveOther(e){y("`modulePrefix` must be defined",this.namespace.modulePrefix);let t=this.findModuleName(e);if(t){let i=this._extractDefaultExport(t,e);if(void 0===i)throw Error(` Expected to find: '${e.fullName}' within '${t}' but got 'undefined'. Did you forget to 'export default' within '${t}'?`);return this.shouldWrapInClassFactory(i,e)&&(i=function(e){return{create:t=>"function"==typeof e.extend?e.extend(t):e}}(i)),i}}normalize(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this._normalize(e))}resolve(e){let t;if("resolver:current"===e)return{create:()=>this};let i=this.parseName(e),s=i.resolveMethodName;return"function"==typeof this[s]&&(t=this[s](i)),null==t&&(t=this.resolveOther(i)),t}addModules(e){if(!this._moduleRegistry.addModules)throw Error("addModules is only supported when your Resolver has been configured to use static modules via Resolver.withModules()");this._moduleRegistry.addModules(e)}_normalize(e){let t=e.split(":");if(!(t.length>1))return e;{let e=t[0];return"component"===e||"helper"===e||"modifier"===e||"template"===e&&0===t[1].indexOf("components/")?e+":"+t[1].replace(/_/g,"-"):e+":"+function(e){return a.get(e)}(t[1].replace(/\./g,"/"))}}pluralize(e){return this.pluralizedTypes[e]||(this.pluralizedTypes[e]=e+"s")}podBasedLookupWithPrefix(e,t){let i=t.fullNameWithoutType;return"template"===t.type&&(i=i.replace(/^components\//,"")),e+"/"+i+"/"+t.type}podBasedModuleName(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;return this.podBasedLookupWithPrefix(t,e)}podBasedComponentsInSubdir(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;if(t+="/components","component"===e.type||/^components/.test(e.fullNameWithoutType))return this.podBasedLookupWithPrefix(t,e)}resolveEngine(e){let t=e.fullNameWithoutType+"/engine";if(this._moduleRegistry.has(t))return this._extractDefaultExport(t)}resolveRouteMap(e){let t=e.fullNameWithoutType,i=t+"/routes";if(this._moduleRegistry.has(i)){let e=this._extractDefaultExport(i);return y(`The route map for ${t} should be wrapped by 'buildRoutes' before exporting.`,e.isRouteMap),e}}resolveTemplate(e){return this.resolveOther(e)}mainModuleName(e){if("main"===e.fullNameWithoutType)return e.prefix+"/"+e.type}defaultModuleName(e){return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType}nestedColocationComponentModuleName(e){if("component"===e.type)return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType+"/index"}prefix(e){let t=this.namespace.modulePrefix;return this.namespace[e.type+"Prefix"]&&(t=this.namespace[e.type+"Prefix"]),t}findModuleName(e){let t,i=this.moduleNameLookupPatterns;for(let s=0,n=i.length;ss.length+n.length)return e+":"+t.slice(r+s.length,a);let o=i+"/"+this.pluralize(e)+"/";if(0===t.indexOf(o)&&t.length>o.length)return e+":"+t.slice(o.length)}_extractDefaultExport(e){let t=this._moduleRegistry.get(e,null,null,!0);return t&&t.default&&(t=t.default),t}}function y(e,t){if(!t)throw Error(e)}var b=i(19888),w=i(60232),k=i(37868),T=i(69449);let S={},C=null,A=new Map(Object.entries({"controller:discovery.categoryWithID":{newName:"controller:discovery.category",since:"2.6.0"},"controller:discovery.parentCategory":{newName:"controller:discovery.category",since:"2.6.0"},"controller:tags-show":{newName:"controller:tag-show",since:"2.6.0"},"controller:tags.show":{newName:"controller:tag.show",since:"2.6.0"},"controller:tagsShow":{newName:"controller:tagShow",since:"2.6.0"},"route:discovery.categoryWithID":{newName:"route:discovery.category",since:"2.6.0"},"route:discovery.parentCategory":{newName:"route:discovery.category",since:"2.6.0"},"route:tags-show":{newName:"route:tag-show",since:"2.6.0"},"route:tags.show":{newName:"route:tag.show",since:"2.6.0"},"route:tagsShow":{newName:"route:tagShow",since:"2.6.0"},"app-events:main":{newName:"service:app-events",since:"2.4.0",dropFrom:"2.9.0.beta1"},"store:main":{newName:"service:store",since:"2.8.0.beta8",dropFrom:"2.9.0.beta1",silent:!0},"search-service:main":{newName:"service:search",since:"2.8.0.beta8",dropFrom:"2.9.0.beta1",silent:!0},"key-value-store:main":{newName:"service:key-value-store",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"pm-topic-tracking-state:main":{newName:"service:pm-topic-tracking-state",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"message-bus:main":{newName:"service:message-bus",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"site-settings:main":{newName:"service:site-settings",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"capabilities:main":{newName:"service:capabilities",since:"3.1.0.beta4",dropFrom:"3.2.0.beta1",silent:!0},"current-user:main":{newName:"service:current-user",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"session:main":{newName:"service:session",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"site:main":{newName:"service:site",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"topic-tracking-state:main":{newName:"service:topic-tracking-state",since:"2.9.0.beta7",dropFrom:"3.0.0",silent:!0},"controller:composer":{newName:"service:composer",since:"3.1.0.beta3",dropFrom:"3.2.0",silent:!0}}));function D(e,t){S[e]=t}function M(e){return S[e]}function x(){S={}}function E(e){if(!C){C=new T.default("/");let e=["discourse/","select-kit/","admin/"];Object.keys(requirejs.entries).forEach(t=>{e.some(e=>t.startsWith(e))&&!t.includes("/templates/")&&C.add(t)})}return C.withSuffix(e,1)[0]||C.withSuffix(`${e}/index`,1)[0]}function L(){C=null}function P(e){return class extends _{resolveRouter(){let t=`${e}/router`;if(requirejs.entries[t])return requirejs(t,null,null,!0).default}_normalize(e){let t,i=A.get(e);i&&(i.silent||(0,b.default)(`"${e}" is deprecated, use "${i.newName}" instead`,{since:i.since,dropFrom:i.dropFrom,id:"discourse.resolver-resolutions"}),e=i.newName);let n=e.split(":"),r=n[0];if(t="template"===r&&n[1]?.includes("connectors/")?"template:"+n[1].replace(/_/g,"-"):super._normalize(e),n.length>1&&("controller"===r||"route"===r||"template"===r)){let e;if(n[1].includes(".")||n[1].includes("/")){let t=(0,s.dasherize)(n[1].replace(/[\.\/]/g,"-")),i=`admin/${r}s/`;(E(`${r}s/${t}`)||requirejs.entries[i+t]||requirejs.entries[i+t.replace(/^admin[-]/,"")]||requirejs.entries[i+t.replace(/^admin[-]/,"").replace(/-/g,"_")])&&(e=r+":"+t)}e&&e!==t&&(t=e)}return t}findModuleName(e){let t=super.findModuleName(e);if(t)return t;let i=e.fullNameWithoutType,n=[i];for(let r of(i.includes("/")&&n.push(i.replace(/\//g,"-")),n)){let i=e.type+"s/"+r;if(t=E((0,s.dasherize)(i)))return t}}resolveHelper(e){return(0,k.findHelper)(e.fullNameWithoutType)}resolveRoute(e){if("basic"===e.fullNameWithoutType)return requirejs("discourse/routes/discourse",null,null,!0).default}resolveTemplate(e){return this.findMobileTemplate(e)||this.findTemplate(e)||this.findAdminTemplate(e)||this.findLoadingTemplate(e)||this.findConnectorTemplate(e)||this.discourseTemplateModule("not_found")}findLoadingTemplate(e){if(e.fullNameWithoutType.match(/loading$/))return this.discourseTemplateModule("loading")}findConnectorTemplate(e){if(e.fullName.startsWith("template:connectors/")){let t=this.parseName(e.fullName.replace("template:connectors/","template:").replace("components/",""));return this.findTemplate(t)}}findMobileTemplate(e){let t=this.findTemplate(e,"mobile/");if(t&&(0,b.default)(`Mobile-specific hbs templates are deprecated. Use responsive CSS or {{#if this.site.mobileView}} instead. [${e}]`,{id:"discourse.mobile-templates"}),S.mobileView)return t}discourseTemplateModule(e){let t=w.default.resolve(e);if(t)return window.require(t).default}findTemplate(e,t){t=t||"";let i=e.fullNameWithoutType,n=(0,s.decamelize)(i).replace(/-/g,"_"),r=i.split("/");return this.discourseTemplateModule(t+i.replace(/[\.-]/g,"/"))||this.discourseTemplateModule(t+i)||this.discourseTemplateModule(t+n)||this.discourseTemplateModule(t+n.replace("_","/"))||this.discourseTemplateModule(`${t}${r.slice(0,-1).join("/")}/${r[r.length-1].replace(/-/g,"_")}`)||this.discourseTemplateModule(t+i.replace(/\//g,"-"))}findAdminTemplate(e){let t,i,s;if("admin"===e.fullNameWithoutType)return this.discourseTemplateModule("admin/templates/admin");if(e.fullNameWithoutType.startsWith("components/"))return this.findTemplate(e,"admin/templates/")||this.findTemplate(e,"admin/");if(/^admin[_\.-]/.test(e.fullNameWithoutType)?t=e.fullNameWithoutType.slice(6):(i=e.fullNameWithoutType.match(/^admin([A-Z])(.+)$/))&&(t=`${i[1].toLowerCase()}${i[2]}`),t){let i=this.parseName(`template:${t}`);s=this.findTemplate(i,"admin/templates/")||this.findTemplate(e,"admin/templates/")||this.findTemplate(i,"admin/")}return s}}}},37819:(e,t,i)=>{"use strict";i.r(t),i.d(t,{FLOAT_UI_PLACEMENTS:()=>n,MENU:()=>a,TOAST:()=>o,TOOLTIP:()=>r});var s=i(68001);let n=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],r={options:{animated:!0,arrow:!0,beforeTrigger:null,closeOnClickOutside:!0,closeOnEscape:!0,closeOnScroll:!0,component:null,content:null,identifier:null,interactive:!1,listeners:!1,maxWidth:350,data:null,offset:10,triggers:{mobile:["click"],desktop:["hover","click"]},untriggers:{mobile:["click"],desktop:["hover","click"]},placement:"top",fallbackPlacements:n,autoUpdate:!0,trapTab:!0,onClose:null,onShow:null,onRegisterApi:null},portalOutletId:"d-tooltip-portal-outlet"},a={options:{animated:!0,arrow:!1,autofocus:!1,beforeTrigger:null,closeOnEscape:!0,closeOnClickOutside:!0,closeOnScroll:!1,component:null,content:null,identifier:null,interactive:!0,listeners:!1,maxWidth:400,data:null,offset:10,triggers:["click"],untriggers:["click"],placement:"bottom-start",fallbackPlacements:n,autoUpdate:!0,trapTab:!0,onClose:null,onShow:null,onRegisterApi:null,modalForMobile:!1,inline:null,groupIdentifier:null,parentIdentifier:null,triggerClass:null,contentClass:null,class:null},portalOutletId:"d-menu-portal-outlet"},o={options:{autoClose:!0,duration:3e3,component:s.default,showProgressBar:!1,views:["desktop","mobile"]}}},37831:(e,t,i)=>{"use strict";function s(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}i.d(t,{A:()=>l});var n=0;function r(e){return"__private_"+n+++"_"+e}var a=r("uppy"),o=r("events");class l{constructor(e){Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:[]}),s(this,a)[a]=e}on(e,t){return s(this,o)[o].push([e,t]),s(this,a)[a].on(e,t)}remove(){for(let[e,t]of s(this,o)[o].splice(0))s(this,a)[a].off(e,t)}onFilePause(e,t){this.on("upload-pause",(i,s)=>{e===(null==i?void 0:i.id)&&t(s)})}onFileRemove(e,t){this.on("file-removed",i=>{e===i.id&&t(i.id)})}onPause(e,t){this.on("upload-pause",(i,s)=>{e===(null==i?void 0:i.id)&&t(s)})}onRetry(e,t){this.on("upload-retry",i=>{e===(null==i?void 0:i.id)&&t()})}onRetryAll(e,t){this.on("retry-all",()=>{s(this,a)[a].getFile(e)&&t()})}onPauseAll(e,t){this.on("pause-all",()=>{s(this,a)[a].getFile(e)&&t()})}onCancelAll(e,t){var i=this;this.on("cancel-all",function(){s(i,a)[a].getFile(e)&&t(...arguments)})}onResumeAll(e,t){this.on("resume-all",()=>{s(this,a)[a].getFile(e)&&t()})}}},37854:e=>{e.exports="2"},37868:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{createHelperContext:()=>m,findHelper:()=>p,helperContext:()=>g,htmlHelper:()=>u,makeArray:()=>l,registerHelper:()=>d,registerHelpers:()=>h,registerRawHelper:()=>_,registerUnbound:()=>f});var n=i(37115),r=i(53518),a=i(83426),o=i(19888);function l(e){return null==e?[]:Array.isArray(e)?e:[e]}function u(e){return(0,o.default)('htmlHelper is deprecated. Use a plain function and `htmlSafe()` from "@ember/template" instead.',{id:"discourse.html-helper"}),n.default.helper(function(){for(var t=arguments.length,i=Array(t),s=0;s1?i[0].concat({hash:i[i.length-1]}):i,(0,a.htmlSafe)(e.apply(this,i)||"")})}let c={};function d(e,t){c[e]=n.default.helper(t)}function p(e){return c[e]||c[(0,r.dasherize)(e)]}function h(e){Object.keys(c).forEach(t=>{e.register(`helper:${t}`,c[t],{singleton:!1})})}function m(e){s=e}function g(){return s}function f(e,t){(0,o.default)(`[registerUnbound ${e}] registerUnbound is deprecated. Instead, you should export a default function from 'discourse/helpers/${e}.js'.`,{id:"discourse.register-unbound"}),c[e]=class extends n.default{compute(e,i){return t(...e,i)}}}function _(e){(0,o.default)(`[registerRawHelper ${e}] the raw handlebars system has been removed, so calls to registerRawHelper should be removed.`,{id:"discourse.register-raw-helper"})}},37943:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(25604),r=i(4781),a=i(54074),o=i(88820),l=i(72799),u=i(71209);class c extends s.default{get topicsActive(){return"topics"===this.args.current}get repliesActive(){return"replies"===this.args.current}get allActive(){return!this.topicsActive&&!this.repliesActive}get repliesButtonLabel(){return this.args.newRepliesCount>0?(0,o.i18n)("filters.new.replies_with_count",{count:this.args.newRepliesCount}):(0,o.i18n)("filters.new.replies")}get topicsButtonLabel(){return this.args.newTopicsCount>0?(0,o.i18n)("filters.new.topics_with_count",{count:this.args.newTopicsCount}):(0,o.i18n)("filters.new.topics")}get staticLabel(){if(!this.args.noStaticLabel&&(!(this.args.newTopicsCount>0)||!(this.args.newRepliesCount>0)))if(this.args.newTopicsCount>0)return this.topicsButtonLabel;else return this.repliesButtonLabel}static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"ZkiV61Jr",block:'[[[1,"\\n"],[41,[30,0,["staticLabel"]],[[[1," "],[10,1],[14,0,"static-label"],[12],[1,[30,0,["staticLabel"]]],[13],[1,"\\n"]],[]],[[[1," "],[11,"button"],[16,0,[28,[32,0],["topics-replies-toggle --all",[52,[30,0,["allActive"]],"active"]],null]],[4,[32,1],["click",[28,[32,2],[[30,1],null],null]],null],[12],[1,"\\n "],[1,[28,[32,3],["filters.new.all"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[11,"button"],[16,0,[28,[32,0],["topics-replies-toggle --topics",[52,[30,0,["topicsActive"]],"active"]],null]],[4,[32,1],["click",[28,[32,2],[[30,1],"topics"],null]],null],[12],[1,"\\n "],[1,[30,0,["topicsButtonLabel"]]],[1,"\\n "],[13],[1,"\\n\\n "],[11,"button"],[16,0,[28,[32,0],["topics-replies-toggle --replies",[52,[30,0,["repliesActive"]],"active"]],null]],[4,[32,1],["click",[28,[32,2],[[30,1],"replies"],null]],null],[12],[1,"\\n "],[1,[30,0,["repliesButtonLabel"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],["@changeNewListSubset"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/new-list-header-controls.js",scope:()=>[a.default,r.on,n.fn,o.i18n],isStrictMode:!0}),this))()}},37947:(e,t,i)=>{"use strict";i.r(t),i.d(t,{IMAGE_MARKDOWN_REGEX:()=>l,allowsAttachments:()=>M,allowsImages:()=>D,authorizedExtensions:()=>_,authorizesAllExtensions:()=>y,authorizesOneOrMoreExtensions:()=>b,authorizesOneOrMoreImageExtensions:()=>w,bindFileInputChangeListener:()=>N,dialog:()=>u,displayErrorForBulkUpload:()=>P,displayErrorForUpload:()=>F,getUploadMarkdown:()=>L,isAudio:()=>S,isBackup:()=>C,isImage:()=>k,isVideo:()=>T,markdownNameFromFileName:()=>c,uploadIcon:()=>x,validateUploadedFile:()=>p,validateUploadedFiles:()=>d});var s=i(19888),n=i(65319),r=i(73418),a=i(74089),o=i(88820);let l=/!\[(.*?)\|(\d{1,4}x\d{1,4})(,\s*\d{1,3}%)?(.*?)\]\((upload:\/\/.*?)\)(?!(.*`))/g,u={alert(e){(0,n.getOwnerWithFallback)(this).lookup("service:dialog").alert(e)}};function c(e){let t=e.slice(0,e.lastIndexOf("."));return(0,a.isAppleDevice)()&&function(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e)}(t)&&(t=(0,o.i18n)("upload_selector.default_image_alt_text")),t.replace(/\[|\]|\|/g,"")}function d(e,t){return!!e&&0!==e.length&&(e.length>1?(u.alert((0,o.i18n)("post.errors.too_many_uploads")),!1):p(e[0],t))}function p(e,t){if("undefined"!=typeof Blob&&"undefined"!=typeof File&&e instanceof Blob&&!(e instanceof File)&&"image/png"===e.type&&(e.name="image.png"),(t=t||{}).type=A(e.name),t.skipValidation)return!0;let i=t.user,s=i&&i.staff;if(!b(s,t.siteSettings))return u.alert((0,o.i18n)("post.errors.no_uploads_authorized")),!1;let n=e&&e.name;if(!n)return!1;if(t.allowStaffToUploadAnyFileInPm&&t.isPrivateMessage&&s)return!0;if(t.imagesOnly){if(!k(n)&&!function(e,t,i){return RegExp("\\.("+f(t,i).join("|")+")$","i").test(e)}(n,s,t.siteSettings))return u.alert((0,o.i18n)("post.errors.upload_not_authorized",{authorized_extensions:function(e,t){return y(e,t)?"png, jpg, jpeg, gif, svg, ico, heic, heif, webp, avif":f(e,t).join(", ")}(s,t.siteSettings)})),!1}else if(t.csvOnly){if(!/\.csv$/i.test(n))return u.alert((0,o.i18n)("user.invited.bulk_invite.error")),!1}else if(!y(s,t.siteSettings)&&!function(e,t,i){return!!(t&&RegExp("\\.("+g(i).join("|")+")$","i").test(e))||RegExp("\\.("+m(i).join("|")+")$","i").test(e)}(n,s,t.siteSettings))return u.alert((0,o.i18n)("post.errors.upload_not_authorized",{authorized_extensions:_(s,t.siteSettings).join(", ")})),!1;return t.bypassNewUserRestriction||!i||i.isAllowedToUploadAFile(t.type)?0!==e.size||(console.warn("File with a 0 byte size detected, cancelling upload.",e),u.alert((0,o.i18n)("post.errors.file_size_zero")),!1):(u.alert((0,o.i18n)(`post.errors.${t.type}_upload_not_allowed_for_new_user`)),!1)}function h(e){return e.toLowerCase().replace(/[\s\.]+/g,"").split("|").filter(e=>!e.includes("*"))}function m(e){return h(e.authorized_extensions)}function g(e){return h(e.authorized_extensions_for_staff)}function f(e,t){let i=m(t).filter(e=>k(`.${e}`));if(e){let e=g(t).filter(e=>k(`.${e}`));i=i.concat(e)}return i}function _(e,t){return(e?[...m(t),...g(t)]:m(t)).filter(e=>e.length>0)}function y(e,t){return t.authorized_extensions.includes("*")||t.authorized_extensions_for_staff.includes("*")&&e}function b(e,t){return!!y(e,t)||t.authorized_extensions.split("|").filter(e=>e).length>0||t.authorized_extensions_for_staff.split("|").filter(e=>e).length>0&&e}function w(e,t){return!!y(e,t)||f(e,t).length>0}function k(e){return/\.(png|webp|jpe?g|gif|svg|ico|heic|heif|avif)$/i.test(e)}function T(e){return/\.(mov|mp4|webm|m4v|3gp|ogv|avi|mpeg)$/i.test(e)}function S(e){return/\.(mp3|og[ga]|opus|wav|m4[abpr]|aac|flac)$/i.test(e)}function C(e){return/^\w[\w\.-]*-v\d+\.(tar\.gz)$/i.test(e)}function A(e){return k(e)?"image":C(e)?"backup":"attachment"}function D(e,t){return y(e,t)||_(e,t).some(e=>k(`.${e}`))}function M(e,t){return y(e,t)||_(e,t).length>f(e,t).length}function x(e,t){return M(e,t)?"upload":"far-image"}function E(e,t){return``}function L(e){return k(e.original_filename)?function(e){return``}(e):S(e.original_filename)?E(e,"audio"):T(e.original_filename)?E(e,"video"):function(e){return`[${e.original_filename}|attachment](${e.short_url}) (${o.default.toHumanSize(e.filesize)})`}(e)}function P(e){let t=(0,r.humanizeList)(e.mapBy("fileName"));u.alert((0,o.i18n)("post.errors.upload",{file_name:t}))}function F(e,t,i){if(i||((0,s.default)("Calling displayErrorForUpload without a fileName is deprecated and will be removed in a future version.",{id:"discourse.uploads.display-error-for-upload"}),i=e.files[0].name),e.jqXHR){if(I(e.jqXHR.status,e.jqXHR.responseJSON,i,t))return}else if(e.responseText&&e.status){let s=e.responseText;if("string"==typeof s)try{s=JSON.parse(s)}catch{}if(I(e.status,s,i,t))return}else if(e.errors&&e.errors.length>0)return void u.alert(e.errors.join(`
`));u.alert((0,o.i18n)("post.errors.upload",{file_name:i}))}function I(e,t,i,s){switch(e){case 0:return u.alert((0,o.i18n)("post.errors.upload",{file_name:i})),!0;case 413:let n=A(i);if("backup"===n)u.alert((0,o.i18n)("post.errors.backup_too_large"));else{let e=s[`max_${n}_size_kb`];u.alert((0,o.i18n)("post.errors.file_too_large_humanized",{max_size:o.default.toHumanSize(1024*e)}))}return!0;case 422:return t.message?u.alert(t.message):u.alert(t.errors.join(`
`)),!0}}function N(e,t){function i(e){Array.from(e.target.files).forEach(e=>{t(e)})}return e.addEventListener("change",i),i}},38040:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(97527),n=i(18555),r=i(72523);class a{static #e=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();static #t=(()=>dt7948.g(this.prototype,"site",[n.service]))();#r=(()=>void dt7948.i(this,"site"))();constructor(e){(0,s.setOwner)(this,e),this.messageBus.subscribe("/site/read-only",this.onMessage)}teardown(){this.messageBus.unsubscribe("/site/read-only",this.onMessage)}onMessage(e){this.site.set("isReadOnly",e)}static #i=(()=>dt7948.n(this.prototype,"onMessage",[r.bind]))()}let o={after:"message-bus",initialize(e){this.instance=new a(e)},teardown(){this.instance.teardown(),this.instance=null}}},38173:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(25604),n=i(86326),r=i(88820),a=i(52605),o=i(70105),l=i(72799),u=i(71209);class c extends o.default{static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"8eJpAxC6",block:'[[[1,"\\n "],[10,"label"],[14,0,"control-label alt-placeholder"],[15,"for",[28,[32,0],["user-",[30,0,["elementId"]]],null]],[12],[1,"\\n "],[1,[30,0,["field","name"]]],[41,[51,[30,0,["field","required"]]],[[[1," "],[1,[28,[32,1],["user_fields.optional"],null]]],[]],null],[13],[1,"\\n\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,2],null,[["@id","@content","@valueProperty","@nameProperty","@value","@onChange","@options"],[[28,[32,0],["user-",[30,0,["elementId"]]],null],[30,0,["field","options"]],null,null,[30,0,["value"]],[28,[32,3],[[28,[31,1],[[30,0,["value"]]],null]],null],[28,[32,4],null,[["none"],[[30,0,["noneLabel"]]]]]]],null],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,5],[[30,0,["field","description"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-fields/dropdown.js",scope:()=>[s.concat,r.i18n,a.default,s.fn,s.hash,n.default],isStrictMode:!0}),this))()}},38230:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{ALLOW_CYCLES:()=>s,COMPUTE:()=>d,CONSTANT:()=>a,CONSTANT_TAG:()=>w,CURRENT_TAG:()=>A,CurrentTag:()=>C,INITIAL:()=>o,VOLATILE:()=>l,VOLATILE_TAG:()=>S,VolatileTag:()=>T,beginTrackFrame:()=>R,beginUntrackFrame:()=>B,bump:()=>c,combine:()=>D,consumeTag:()=>$,createCache:()=>G,createTag:()=>y,createUpdatableTag:()=>b,debug:()=>r,dirtyTag:()=>f,dirtyTagFor:()=>P,endTrackFrame:()=>U,endUntrackFrame:()=>Y,getValue:()=>J,isConst:()=>Q,isConstTag:()=>k,isTracking:()=>q,resetTracking:()=>H,tagFor:()=>I,tagMetaFor:()=>F,track:()=>Z,trackedData:()=>et,untrack:()=>ee,updateTag:()=>_,validateTag:()=>h,valueForTag:()=>p});var n=i(98613);i(20272);let r={},a=0,o=1,l=NaN,u=1;function c(){u++}let d=Symbol("TAG_COMPUTE");function p(e){return e[d]()}function h(e,t){return t>=e[d]()}let m=Symbol("TAG_TYPE");class g{static combine(e){switch(e.length){case 0:return w;case 1:return e[0];default:{let t=new g(2);return t.subtag=e,t}}}revision=1;lastChecked=1;lastValue=1;isUpdating=(()=>!1)();subtag=null;subtagBufferCache=null;[m];constructor(e){this[m]=e}[d](){let{lastChecked:e}=this;if(!0===this.isUpdating)this.lastChecked=++u;else if(e!==u){this.isUpdating=!0,this.lastChecked=u;try{let{subtag:e,revision:t}=this;if(null!==e)if(Array.isArray(e))for(let i of e){let e=i[d]();t=Math.max(e,t)}else{let i=e[d]();i===this.subtagBufferCache?t=Math.max(t,this.lastValue):(this.subtagBufferCache=null,t=Math.max(t,i))}this.lastValue=t}finally{this.isUpdating=!1}}return this.lastValue}static updateTag(e,t){t===w?e.subtag=null:(e.subtagBufferCache=t[d](),e.subtag=t)}static dirtyTag(e,t){e.revision=++u,(0,n.scheduleRevalidate)()}}let f=g.dirtyTag,_=g.updateTag;function y(){return new g(0)}function b(){return new g(1)}let w=new g(3);function k(e){return e===w}class T{[m]=100;[d](){return NaN}}let S=new T;class C{[m]=101;[d](){return u}}let A=new C,D=g.combine,M=b(),x=b(),E=b();p(M),f(M),p(M),_(M,D([x,E])),p(M),f(x),p(M),f(E),p(M),_(M,E),p(M),f(E),p(M);let L=new WeakMap;function P(e,t,i){let s=void 0===i?L.get(e):i;if(void 0===s)return;let n=s.get(t);void 0!==n&&f(n,!0)}function F(e){let t=L.get(e);return void 0===t&&(t=new Map,L.set(e,t)),t}function I(e,t,i){let s=void 0===i?F(e):i,n=s.get(t);return void 0===n&&(n=b(),s.set(t,n)),n}class N{tags=(()=>new Set)();last=null;add(e){e!==w&&(this.tags.add(e),this.last=e)}combine(){let{tags:e}=this;return 0===e.size?w:1===e.size?this.last:D(Array.from(this.tags))}}let j=null,O=[];function R(e){O.push(j),j=new N}function U(){let e=j;return j=O.pop()||null,(function(e){if(null==e)throw Error("Expected value to be present");return e})(e).combine()}function B(){O.push(j),j=null}function Y(){j=O.pop()||null}function H(){for(;O.length>0;)O.pop();j=null}function q(){return null!==j}function $(e){null!==j&&j.add(e)}let z=Symbol("FN"),V=Symbol("LAST_VALUE"),W=Symbol("TAG"),K=Symbol("SNAPSHOT");function G(e,t){return{[z]:e,[V]:void 0,[W]:void 0,[K]:-1}}function J(e){let t=e[z],i=e[W],s=e[K];if(void 0!==i&&h(i,s))$(i);else{R();try{e[V]=t()}finally{i=U(),e[W]=i,e[K]=p(i),$(i)}}return e[V]}function Q(e){return k(e[W])}function X(e,t){}function Z(e,t){let i;R(t);try{e()}finally{i=U()}return i}function ee(e){B();try{return e()}finally{Y()}}function et(e,t){let i=new WeakMap,s="function"==typeof t;return{getter:function(n){let r;return $(I(n,e)),s&&!i.has(n)?(r=t.call(n),i.set(n,r)):r=i.get(n),r},setter:function(t,s){P(t,e),i.set(t,s)}}}Symbol("DEBUG_LABEL");let ei=Symbol("GLIMMER_VALIDATOR_REGISTRATION"),es=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();if(!0===es[ei])throw Error("The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.");es[ei]=!0},38349:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AbortController:()=>n,AbortSignal:()=>r,createAbortError:()=>a});var s=i(42154);let{AbortController:n}=globalThis,{AbortSignal:r}=globalThis,a=function(e,t){void 0===e&&(e="Aborted");let i=new DOMException(e,"AbortError");return null!=t&&(0,s.A)(t,"cause")&&Object.defineProperty(i,"cause",{__proto__:null,configurable:!0,writable:!0,value:t.cause}),i}},38491:(e,t,i)=>{"use strict";let s,n,r;i.r(t),i.d(t,{cacheShortUploadUrl:()=>m,lookupCachedUploadUrl:()=>d,lookupUncachedUploadUrls:()=>h,resetCache:()=>g,resolveAllShortUrls:()=>k,resolveCachedShortUrls:()=>w});var a=i(2369),o=i(42667),l=i.n(o),u=i(88820);let c={};function d(e){return c[e]||{}}let p="missing";function h(e,t){if(0!==(e=e.filter(Boolean)).length)return t("/uploads/lookup-urls",{type:"POST",data:{short_urls:e}}).then(t=>(t.forEach(e=>{m(e.short_url,{url:e.url,short_path:e.short_path})}),e.forEach(e=>m(e,{url:d(e).url||p,short_path:d(e).short_path||p})),t))}function m(e,t){c[e]=t}function g(){c={}}function f(e,t,i,s,n){let r=d(e.getAttribute(`data-${i}`)),a=function(e,t,i){if(t.url)return"orig-href"!==e||i.secure_uploads&&(t.url.includes("secure-media-uploads")||t.url.includes("secure-uploads"))?t.url:t.short_path}(i,r,t);if(a){if(e.removeAttribute(`data-${i}`),a!==p)n(a);else if(s&&s.removeMissing){let t,i=getComputedStyle(document.body),s=document.createElement("canvas");s.width=e.width,s.height=e.height;let n=s.getContext("2d");n.fillStyle=getComputedStyle(document.body).backgroundColor,n.strokeRect(0,0,s.width,s.height),n.lineWidth=2,n.strokeStyle=getComputedStyle(document.body).color,n.strokeRect(0,0,s.width,s.height);let r=25,a=(0,u.i18n)("image_removed");do--r,n.font=`${r}px ${i.fontFamily}`,t=n.measureText(a);while(t.width>s.width)n.fillStyle=getComputedStyle(document.body).color,n.fillText(a,(s.width-t.width)/2,(s.height+r)/2),e.parentNode.replaceChild(s,e)}}}function _(e,t,i){e.forEach(e=>{switch(e.tagName){case"A":f(e,t,"orig-href",i,t=>{e.href=t});break;case"IMG":f(e,t,"orig-src",i,t=>{e.src=t});break;case"SOURCE":f(e,t,"orig-src",i,t=>{if(t.startsWith(`//${window.location.host}`)){let e=RegExp("//"+window.location.host,"g");t=t.replace(e,"")}e.src=t;let i=e.parentElement.querySelector("a");i&&(i.href=t,i.textContent=t)});break;case"DIV":f(e,t,"orig-src-id",i,t=>{e.style.backgroundImage=`url('${t}')`,e.querySelector(".placeholder-icon.video").style.backgroundColor="rgba(0, 0, 0, 0.3)"})}})}function y(e){h(s,e).then(r),s=r=null}let b="img[data-orig-src], a[data-orig-href], source[data-orig-src], div[data-orig-src-id], div[data-orig-src]";function w(e,t,i){let s=t.querySelectorAll(b);s.length>0&&_(s,e,i)}function k(e,t,i,o){w(t,i,o);let u=i.querySelectorAll(b);if(u.length>0)return function(e,t,i,o){let u=[...e].map(e=>e.getAttribute("data-orig-src")||e.getAttribute("data-orig-href")||e.getAttribute("data-orig-src-id")||e.getAttribute("data-orig-src"));return s?s.push(...u):(s=[...u],n=new a.Promise(e=>{r=e}),l()(null,y,t,450)),n.then(()=>{_(e,i,o)})}(u,e,t,o)}},38498:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(37115),n=i(18555);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"footer",[n.service]))();#oy=(()=>void dt7948.i(this,"footer"))();constructor(){super(...arguments),this.footer.registerHider(this)}compute(){}}},38543:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(5886);class n extends s.default{pathFor(e,t,i){return"/tag/"+i+"/info"}}},38631:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(97527),n=i(18555),r=i(72523),a=i(62411);class o{static #e=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();static #t=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tk=(()=>void dt7948.i(this,"session"))();constructor(e){(0,s.setOwner)(this,e);let t=new URLSearchParams(window.location.search),i=["preview_theme_id","pp","safe_mode"].map(e=>[e,t.get(e)]).filter(e=>{let[,t]=e;return t});i.length&&["replaceState","pushState"].forEach(e=>{let t=window.history[e];window.history[e]=(e,s,n)=>{let r=new URL(n,window.location);for(let[e,t]of i)r.searchParams.set(e,t);return t.call(window.history,e,s,r.href)}}),this.messageBus.subscribe("/file-change",this.onFileChange,this.session.mbLastFileChangeId)}teardown(){this.messageBus.unsubscribe("/file-change",this.onFileChange)}onFileChange(e){e.forEach(e=>{if("refresh"===e)document.location.reload(!0);else if("development-mode-theme-changed"===e)window.location.pathname.startsWith("/admin/customize/themes")||window.location.pathname.startsWith("/admin/config/look-and-feel")?this.session.requiresRefresh=!0:document.location.reload(!0);else if(e.new_href&&e.target){let t=`link[data-target='${e.target}']`;e.theme_id&&(t+=`[data-theme-id='${e.theme_id}']`);let i=document.querySelectorAll(t);if(i.length>0){let t=i[i.length-1];t.href.split("/").pop()!==e.new_href.split("/").pop()&&this.refreshCSS(t,e.new_href)}}})}static #i=(()=>dt7948.n(this.prototype,"onFileChange",[r.bind]))();refreshCSS(e,t){let i=e.cloneNode(!0);i.href=t,e.insertAdjacentElement("afterend",i),(0,a.default)(()=>e?.parentNode?.removeChild(e),500)}}let l={initialize(e){this.instance=new o(e)},teardown(){this.instance.teardown(),this.instance=null}}},38634:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(75527),r=i(8658),a=i(19216),o=i(92951),l=i(88820),u=i(72799),c=i(71209);let d=(0,r.default)(class extends s.default{async loadMorePosts(){let e=this.args.model,t=e[e.length-1].id;return o.default.find({before:t})}static #e=(()=>dt7948.n(this.prototype,"loadMorePosts",[n.action]))();static #t=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"izMa6TDw",block:'[[[1,"\\n "],[10,"section"],[14,0,"posts-page"],[12],[1,"\\n "],[10,"h2"],[14,0,"posts-page__title"],[12],[1,[28,[32,0],["post_list.title"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@posts","@fetchMorePosts","@titlePath"],[[30,1],[30,0,["loadMorePosts"]],"topic_html_title"]],null],[1,"\\n "],[13],[1,"\\n "]],["@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/posts.js",scope:()=>[l.i18n,a.default],isStrictMode:!0}),this))()})},38679:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(55230),r=i(54390),a=i(72799),o=i(71209);class l extends s.default{highlight=(()=>(0,n.modifier)(e=>{(0,r.default)(e,this.args.highlight)}))();static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"wVEhS+Hk",block:'[[[1,"\\n "],[11,1],[4,[30,0,["highlight"]],null,null],[12],[18,1,null],[13],[1,"\\n "]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/highlight-search.js",isStrictMode:!0}),this))()}},38728:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];return e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})},38734:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(87531),n=i(21980),r=i(97527),a=i(18555),o=i(72490),l=i(9281),u=i(24886);class c{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"bookmarkApi",[a.service]))();#ob=(()=>void dt7948.i(this,"bookmarkApi"))();static #i=(()=>dt7948.g(this.prototype,"topicController",[(0,n.inject)("topic")]))();#ov=(()=>void dt7948.i(this,"topicController"))();static #s=(()=>dt7948.g(this.prototype,"trackedBookmark",[s.tracked]))();#ow=(()=>void dt7948.i(this,"trackedBookmark"))();static #u=(()=>dt7948.g(this.prototype,"bookmarkModel",[s.tracked]))();#ok=(()=>void dt7948.i(this,"bookmarkModel"))();constructor(e,t){(0,r.setOwner)(this,e),this.model=t,this.type="Post",this.bookmarkModel=this.topicController.model?.bookmarks.find(e=>e.bookmarkable_id===this.model.id&&e.bookmarkable_type===this.type)||this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new l.BookmarkFormData(this.bookmarkModel)}create(){return this.bookmarkApi.create(this.trackedBookmark).then(e=>{this.trackedBookmark=e})}delete(){return this.bookmarkApi.delete(this.trackedBookmark.id)}save(){return this.bookmarkApi.update(this.trackedBookmark)}afterModalClose(e){e&&(e.closeWithoutSaving||e.initiatedBy===o.CLOSE_INITIATED_BY_ESC||e.initiatedBy===o.CLOSE_INITIATED_BY_BUTTON)&&this.model.appEvents.trigger("post-stream:refresh",{id:this.model.id})}afterSave(e){return this.trackedBookmark=e,this._syncBookmarks(e.saveData),this.topicController.model.set("bookmarking",!1),this.model.createBookmark(e.saveData),this.topicController.model.afterPostBookmarked(this.model,e.saveData),[this.model.id]}afterDelete(e,t){this.topicController.model.removeBookmark(t),this.model.deleteBookmark(e.topic_bookmarked),this.bookmarkModel=this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new l.BookmarkFormData(this.bookmarkModel)}_syncBookmarks(e){this.topicController.bookmarks||this.topicController.set("bookmarks",[]);let t=this.topicController.bookmarks.findBy("id",e.id);t?(t.reminder_at=e.reminder_at,t.name=e.name,t.auto_delete_preference=e.auto_delete_preference):this.topicController.bookmarks.pushObject(u.default.create(e))}}},38767:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(8658),n=i(81539),r=i(29349),a=i(88820),o=i(72799),l=i(71209),u=i(86960);let c=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"CYmJWpDB",block:'[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,0],["login.to_continue"],null]],[13],[1,"\\n\\n "],[10,2],[14,5,"margin-top: 1em"],[12],[1,[28,[32,0],["login.preferences"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@action","@label"],[[28,[32,2],["showLogin"],null],"log_in"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/login-preferences.js",scope:()=>[a.i18n,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},38831:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{values;isQueryParams=!0;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.values=e}}},38936:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(43079),n=i(99110),r=i(75289),a=i(57528),o=i(75527),l=i(25156);let{meta:u}=s.default,c=Object.prototype.hasOwnProperty;function d(e,t){(0,o.notifyPropertyChange)(e,t)}let p=n.default.create({buffer:null,hasBufferedChanges:!1,hasChanges:(0,a.readOnly)("hasBufferedChanges"),applyChanges:(0,l.aliasMethod)("applyBufferedChanges"),discardChanges:(0,l.aliasMethod)("discardBufferedChanges"),init(){this.initializeBuffer(),(0,o.set)(this,"hasBufferedChanges",!1),this._super(...arguments)},initializeBuffer(e){(0,r.isArray)(e)&&!(0,l.empty)(e)?e.forEach(e=>delete this.buffer[e]):(0,o.set)(this,"buffer",Object.create(null))},unknownProperty(e){let t=(0,o.get)(this,"buffer");return c.call(t,e)?t[e]:this._super(e)},setUnknownProperty(e,t){let i,s=u(this);if(s.proto===this||s.isInitializing&&s.isInitializing())return(0,o.defineProperty)(this,e,null,t),t;let{buffer:n,content:r}=(0,o.getProperties)(this,["buffer","content"]);if(null!=r&&(i=(0,o.get)(r,e)),(c.call(n,e)?n[e]:i)!==t)return i===t?(delete n[e],(0,l.empty)(n)&&(0,o.set)(this,"hasBufferedChanges",!1)):(n[e]=t,(0,o.set)(this,"hasBufferedChanges",!0)),d(this,e),t},applyBufferedChanges(e){let{buffer:t,content:i}=(0,o.getProperties)(this,["buffer","content"]);Object.keys(t).forEach(s=>{(0,r.isArray)(e)&&-1===e.indexOf(s)||(0,o.set)(i,s,t[s])}),this.initializeBuffer(e),(0,l.empty)((0,o.get)(this,"buffer"))&&(0,o.set)(this,"hasBufferedChanges",!1)},discardBufferedChanges(e){let t=(0,o.get)(this,"buffer");this.initializeBuffer(e),Object.keys(t).forEach(t=>{(0,r.isArray)(e)&&-1===e.indexOf(t)||d(this,t)}),(0,l.empty)((0,o.get)(this,"buffer"))&&(0,o.set)(this,"hasBufferedChanges",!1)},hasChanged(e){let{buffer:t,content:i}=(0,o.getProperties)(this,["buffer","content"]);return"string"==typeof e&&void 0!==(0,o.get)(t,e)&&(0,o.get)(t,e)!==(0,o.get)(i,e)}})},39054:(e,t,i)=>{"use strict";i.r(t),i.d(t,{normalizeEmberEventHandling:()=>o});var s=i(20110),n=i(72799),r=i(75527),a=i(73027);function o(e){(function(){s.EventDispatcher.reopen({events:{}})})(),function(e){let t={...l};if(e.customEvents)for(let[i,s]of Object.entries(e.customEvents))t[i]=s;let i={};for(let[e,s]of Object.entries(t))i[s]=e;r.default.reopen.call(n.default,{_trigger(e){for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n{let i=e.trigger.call(e,c,n,t);return!1===i&&(t.preventDefault(),t.stopPropagation()),i};s.addEventListener(r,a),i.push({event:r,listener:a})}}(this,i)},willDestroyElement(){(function(e){let t=u.get(e);if(t?.length>0){let{element:i}=e;if(i)for(let{event:e,listener:s}of t)i.removeEventListener(e,s);u.delete(e)}})(this),this._super(...arguments)}})}(e),e.instanceInitializer({name:"rewire-action-modifier",initialize:e=>(function(e){let t=e.lookup("renderer:-dom"),i=t._runtimeResolver.lookupModifier;t._runtimeResolver.lookupModifier=(e,t)=>"action"===e?a.actionModifier:i(e,t)})(e)})}let l={touchstart:"touchStart",touchmove:"touchMove",touchend:"touchEnd",touchcancel:"touchCancel",keydown:"keyDown",keyup:"keyUp",keypress:"keyPress",mousedown:"mouseDown",mouseup:"mouseUp",contextmenu:"contextMenu",click:"click",dblclick:"doubleClick",focusin:"focusIn",focusout:"focusOut",submit:"submit",input:"input",change:"change",dragstart:"dragStart",drag:"drag",dragenter:"dragEnter",dragleave:"dragLeave",dragover:"dragOver",drop:"drop",dragend:"dragEnd"},u=new WeakMap,c=Symbol("INTERNAL")},39081:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(21980);class n extends s.default{}},39157:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8658),n=i(38498),r=i(99159),a=i(72799),o=i(71209),l=i(86960);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"3nQHdRvt",block:'[[[1,"\\n "],[1,[32,0]],[1,"\\n "],[1,[32,1]],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/loading.js",scope:()=>[r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},39176:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95766),n=i(18555),r=i(12733),a=i(88820),o=i(72799),l=i(71209);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#r=(()=>void dt7948.i(this,"site"))();get groups(){return this.site.whispers_allowed_groups_names}get title(){return this.groups?.length>0?(0,a.i18n)("post.whisper_groups",{groupNames:this.groups.join(", ")}):(0,a.i18n)("post.whisper")}static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Tpv8dI2E",block:'[[[1,"\\n "],[10,0],[14,0,"post-info whisper"],[15,"title",[30,0,["title"]]],[12],[1,"\\n "],[1,[28,[32,0],["far-eye-slash"],null]],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/whisper-indicator.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},39190:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>I});var s=i(95766),n=i(87531),r=i(72799),a=i(25604),o=i(75527),l=i(57528),u=i(5845),c=i(18555),d=i(99864),p=i.n(d),h=i(2369),m=i(81539),g=i(72490),f=i(24633),_=i(70127),y=i(90100),b=i(12733),w=i(86326),k=i(70412),T=i(33309),S=i(23594),C=i(62411),A=i(73418),D=i(11171),M=i(85484),x=i(24886),E=i(88820),L=i(52605),P=i(71209);let F={enter:{handler:"saveAndClose"},"d d":{handler:"delete"}};class I extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[c.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[c.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"site",[c.service]))();#r=(()=>void dt7948.i(this,"site"))();static #s=(()=>dt7948.g(this.prototype,"bookmarkApi",[c.service]))();#ob=(()=>void dt7948.i(this,"bookmarkApi"))();static #u=(()=>dt7948.g(this.prototype,"postDetectedLocalDate",[n.tracked],function(){return null}))();#oT=(()=>void dt7948.i(this,"postDetectedLocalDate"))();static #c=(()=>dt7948.g(this.prototype,"postDetectedLocalTime",[n.tracked],function(){return null}))();#oS=(()=>void dt7948.i(this,"postDetectedLocalTime"))();static #_=(()=>dt7948.g(this.prototype,"postDetectedLocalTimezone",[n.tracked],function(){return null}))();#oC=(()=>void dt7948.i(this,"postDetectedLocalTimezone"))();static #b=(()=>dt7948.g(this.prototype,"prefilledDatetime",[n.tracked],function(){return null}))();#oA=(()=>void dt7948.i(this,"prefilledDatetime"))();static #v=(()=>dt7948.g(this.prototype,"flash",[n.tracked],function(){return null}))();#Q=(()=>void dt7948.i(this,"flash"))();static #w=(()=>dt7948.g(this.prototype,"userTimezone",[n.tracked],function(){return this.currentUser.user_option.timezone}))();#oD=(()=>void dt7948.i(this,"userTimezone"))();static #k=(()=>dt7948.g(this.prototype,"showOptions",[n.tracked],function(){return!!this.args.model.bookmark.id}))();#oM=(()=>void dt7948.i(this,"showOptions"))();static #T=(()=>dt7948.g(this.prototype,"userHasTimezoneSet",[(0,l.notEmpty)("userTimezone")]))();#ox=(()=>void dt7948.i(this,"userHasTimezoneSet"))();static #S=(()=>dt7948.g(this.prototype,"showDelete",[(0,l.notEmpty)("bookmark.id")]))();#oE=(()=>void dt7948.i(this,"showDelete"))();static #C=(()=>dt7948.g(this.prototype,"editingExistingBookmark",[(0,l.notEmpty)("bookmark.id")]))();#oL=(()=>void dt7948.i(this,"editingExistingBookmark"))();static #A=(()=>dt7948.g(this.prototype,"existingBookmarkHasReminder",[(0,l.and)("bookmark.id","bookmark.reminderAt")]))();#oP=(()=>void dt7948.i(this,"existingBookmarkHasReminder"))();static #D=(()=>dt7948.g(this.prototype,"_closeWithoutSaving",[n.tracked],function(){return!1}))();#oF=(()=>void dt7948.i(this,"_closeWithoutSaving"))();static #M=(()=>dt7948.g(this.prototype,"_savingBookmarkManually",[n.tracked],function(){return!1}))();#oI=(()=>void dt7948.i(this,"_savingBookmarkManually"))();static #z=(()=>dt7948.g(this.prototype,"_saving",[n.tracked],function(){return!1}))();#oN=(()=>void dt7948.i(this,"_saving"))();static #V=(()=>dt7948.g(this.prototype,"_deleting",[n.tracked],function(){return!1}))();#oj=(()=>void dt7948.i(this,"_deleting"))();_itsatrap=(()=>new(p()))();willDestroy(){super.willDestroy(...arguments),this._itsatrap?.destroy(),this._itsatrap=null,S.default.unpause()}get bookmark(){return this.args.model.bookmark}get modalTitle(){return(0,E.i18n)(this.bookmark.id?"bookmarks.edit":"bookmarks.create")}get autoDeletePreferences(){return Object.keys(x.AUTO_DELETE_PREFERENCES).map(e=>({id:x.AUTO_DELETE_PREFERENCES[e],name:(0,E.i18n)(`bookmarks.auto_delete_preference.${e.toLowerCase()}`)}))}get showExistingReminderAt(){return this.bookmark.reminderAt&&Date.parse(this.bookmark.reminderAt)>new Date().getTime()}get existingReminderAtFormatted(){return(0,T.formattedReminderTime)(this.bookmark.reminderAt,this.userTimezone)}get timeOptions(){let e=(0,D.defaultTimeShortcuts)(this.userTimezone);return this.showPostLocalDate&&e.push({icon:"globe-americas",id:D.TIME_SHORTCUT_TYPES.POST_LOCAL_DATE,label:"time_shortcut.post_local_date",time:this.#oO(),timeFormatKey:"dates.long_no_year",hidden:!1}),e}get showPostLocalDate(){return!(!this.postDetectedLocalTime||!this.postDetectedLocalDate||this.#oO()<(0,M.now)(this.userTimezone))}get hiddenTimeShortcutOptions(){return this.editingExistingBookmark&&!this.existingBookmarkHasReminder?[D.TIME_SHORTCUT_TYPES.NONE]:[]}get customTimeShortcutLabels(){let e={};return this.existingBookmarkHasReminder&&(e[D.TIME_SHORTCUT_TYPES.NONE]="bookmarks.remove_reminder_keep_bookmark"),e}didInsert(){(0,C.default)(()=>{this.site.isMobileDevice&&document.getElementById("bookmark-name").blur()}),this.args.model.bookmark.id||document.getElementById("tap_tile_none").classList.add("active"),this.#oR(),this.#oU(),this.#oB()}static #W=(()=>dt7948.n(this.prototype,"didInsert",[o.action]))();saveAndClose(){if(this.flash=null,!this._saving&&!this._deleting)return this._saving=!0,this._savingBookmarkManually=!0,this.#oY().then(()=>this.args.closeModal()).catch(e=>this.#oH(e)).finally(()=>{this._saving=!1})}static #K=(()=>dt7948.n(this.prototype,"saveAndClose",[o.action]))();toggleShowOptions(){this.showOptions=!this.showOptions}static #G=(()=>dt7948.n(this.prototype,"toggleShowOptions",[o.action]))();onTimeSelected(e,t){if(this.bookmark.selectedReminderType=e,this.bookmark.selectedDatetime=t,this.bookmark.reminderAt=t,![D.TIME_SHORTCUT_TYPES.CUSTOM,D.TIME_SHORTCUT_TYPES.RELATIVE].includes(e))return this.saveAndClose()}static #J=(()=>dt7948.n(this.prototype,"onTimeSelected",[o.action]))();closingModal(e){e.initiatedBy!==g.CLOSE_INITIATED_BY_CLICK_OUTSIDE||this._closeWithoutSaving||this._savingBookmarkManually?this.args.closeModal(e):this.#oY().catch(e=>this.#oH(e)).then(()=>{this.args.closeModal(e)})}static #e0=(()=>dt7948.n(this.prototype,"closingModal",[o.action]))();closeWithoutSavingBookmark(){this._closeWithoutSaving=!0,this.args.closeModal({closeWithoutSaving:this._closeWithoutSaving})}static #e2=(()=>dt7948.n(this.prototype,"closeWithoutSavingBookmark",[o.action]))();delete(){if(!this.bookmark.id)return;this._deleting=!0;let e=()=>{this._closeWithoutSaving=!0,this.#oq().then(()=>{this._deleting=!1,this.args.closeModal({closeWithoutSaving:this._closeWithoutSaving})}).catch(e=>this.#oH(e))};this.existingBookmarkHasReminder?this.dialog.deleteConfirm({message:(0,E.i18n)("bookmarks.confirm_delete"),didConfirm:()=>e()}):e()}static #e3=(()=>dt7948.n(this.prototype,"delete",[o.action]))();#oO(){let e=(0,M.parseCustomDatetime)(this.postDetectedLocalDate,this.postDetectedLocalTime,this.userTimezone,this.postDetectedLocalTimezone);return this.postDetectedLocalTime?e:(0,M.startOfDay)(e)}#oY(){return this.bookmark.selectedReminderType!==D.TIME_SHORTCUT_TYPES.CUSTOM||this.bookmark.reminderAtISO?this.editingExistingBookmark?this.bookmarkApi.update(this.bookmark).then(()=>{this.args.model.afterSave?.(this.bookmark)}):this.bookmarkApi.create(this.bookmark).then(()=>{this.args.model.afterSave?.(this.bookmark)}):h.Promise.reject((0,E.i18n)("bookmarks.invalid_custom_datetime"))}#oq(){return this.bookmarkApi.delete(this.bookmark.id).then(e=>{this.args.model.afterDelete?.(e,this.bookmark.id)})}#oH(e){this._savingBookmarkManually=!1,"string"==typeof e?this.flash=(0,A.sanitize)(e):this.flash=(0,A.sanitize)((0,k.extractError)(e))}#oR(){S.default.pause(),Object.keys(F).forEach(e=>{this._itsatrap.bind(e,()=>(this[F[e].handler](),!1))})}#oU(){this.existingBookmarkHasReminder&&this.editingExistingBookmark&&(this.prefilledDatetime=this.bookmark.reminderAt,this.bookmark.selectedDatetime=(0,M.parseCustomDatetime)(this.prefilledDatetime,null,this.userTimezone))}#oB(){if("Post"!==this.bookmark.bookmarkableType)return;let e=document.querySelector(`[data-post-id="${this.bookmark.bookmarkableId}"]`),t=e?.querySelector(".discourse-local-date");t&&(this.postDetectedLocalDate=t.dataset.date,this.postDetectedLocalTime=t.dataset.time,this.postDetectedLocalTimezone=t.dataset.timezone)}static #e8=(()=>(0,r.setComponentTemplate)((0,P.createTemplateFactory)({id:"Z/TUUM+K",block:'[[[1,"\\n "],[8,[32,0],[[24,1,"bookmark-reminder-modal"],[24,0,"bookmark-reminder-modal"],[16,"data-bookmark-id",[30,0,["bookmark","id"]]],[4,[32,1],[[30,0,["didInsert"]]],null]],[["@closeModal","@title","@flash","@flashType"],[[30,0,["closingModal"]],[30,0,["modalTitle"]],[30,0,["flash"]],"error"]],[["headerPrimaryAction","body","footer"],[[[[1,"\\n "],[8,[32,2],[[24,0,"btn-transparent btn-primary"]],[["@label","@action","@title"],["bookmarks.save",[30,0,["saveAndClose"]],"modal.close"]],null],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"control-group bookmark-name-wrap"],[12],[1,"\\n "],[8,[32,3],[[24,1,"bookmark-name"],[24,3,"bookmark-name"],[24,0,"bookmark-name"],[16,"placeholder",[28,[32,4],["post.bookmarks.name_placeholder"],null]],[16,"aria-label",[28,[32,4],["post.bookmarks.name_input_label"],null]]],[["@value"],[[30,0,["bookmark","name"]]]],null],[1,"\\n "],[8,[32,2],[[24,0,"bookmark-options-button"]],[["@icon","@action","@ariaLabel","@title"],["gear",[30,0,["toggleShowOptions"]],"post.bookmarks.options","post.bookmarks.options"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["showOptions"]],[[[1," "],[10,0],[14,0,"bookmark-options-panel"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","bookmark_auto_delete_preference"],[12],[1,[28,[32,4],["bookmarks.auto_delete_preference.label"],null]],[13],[1,"\\n "],[8,[32,5],[[24,0,"bookmark-option-selector"]],[["@content","@value","@id","@onChange"],[[30,0,["autoDeletePreferences"]],[30,0,["bookmark","autoDeletePreference"]],"bookmark-auto-delete-preference",[28,[32,6],[[28,[31,1],[[30,0,["bookmark","autoDeletePreference"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showExistingReminderAt"]],[[[1," "],[10,0],[14,0,"alert alert-info existing-reminder-at-alert"],[12],[1,"\\n "],[1,[28,[32,7],["far-clock"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,4],["bookmarks.reminders.existing_reminder"],[["at_date_time"],[[30,0,["existingReminderAtFormatted"]]]]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,4],["post.bookmarks.set_reminder"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["userHasTimezoneSet"]],[[[1," "],[8,[32,8],null,[["@timeShortcuts","@prefilledDatetime","@onTimeSelected","@hiddenOptions","@customLabels","@_itsatrap"],[[30,0,["timeOptions"]],[30,0,["prefilledDatetime"]],[30,0,["onTimeSelected"]],[30,0,["hiddenTimeShortcutOptions"]],[30,0,["customTimeShortcutLabels"]],[30,0,["_itsatrap"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,9],[[28,[32,4],["bookmarks.no_timezone"],[["basePath"],[[28,[32,10],null,null]]]]],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,1,"save-bookmark"],[24,0,"btn-primary"]],[["@label","@action"],["bookmarks.save",[30,0,["saveAndClose"]]]],null],[1,"\\n "],[8,[32,11],null,[["@close"],[[30,0,["closeWithoutSavingBookmark"]]]],null],[1,"\\n"],[41,[30,0,["showDelete"]],[[[1," "],[8,[32,2],[[24,1,"delete-bookmark"],[24,0,"delete-bookmark btn-danger"]],[["@icon","@action","@ariaLabel","@title"],["trash-can",[30,0,["delete"]],"post.bookmarks.actions.delete_bookmark.name","post.bookmarks.actions.delete_bookmark.name"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/bookmark.js",scope:()=>[g.default,u.default,m.default,r.Input,E.i18n,L.default,a.fn,b.default,_.default,w.default,y.default,f.default],isStrictMode:!0}),this))()}},39214:(e,t,i)=>{"use strict";function s(e,t){let i=e.factoryFor("controller:basic").class;i=i.extend({toString:()=>`(generated ${t} controller)`});let s=`controller:${t}`;return e.register(s,i),e.factoryFor(s)}function n(e,t){s(e,t);let i=`controller:${t}`;return e.lookup(i)}i.r(t),i.d(t,{default:()=>n,generateControllerFactory:()=>s}),i(78212),i(61535),i(11191),i(77350),i(38230),i(8215),i(42938),i(80725),i(21980)},39225:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(8658),n=i(40140),r=i(72799),a=i(71209),o=i(86960);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"NLHKiPHg",block:'[[[8,[32,0],null,[["@group"],[[30,1,["model"]]]],null]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/email.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},39246:(e,t,i)=>{e.exports=i(50725)},39268:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83426),n=i(88761),r=i(78388);function a(e,t,i){return(0,n.isEmpty)(e)?(0,s.htmlSafe)(""):(0,s.htmlSafe)((0,r.avatarImg)({size:t,avatarTemplate:e,...i}))}},39274:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(61037);class n extends s.default{model(){return this.store.find("reviewable-settings")}setupController(e,t){e.set("settings",t)}}},39301:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return(12===e&&(e=0),"राति"===t)?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})})},39392:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cleanUpHashtagTypeClasses:()=>r,getHashtagTypeClasses:()=>a,registerHashtagType:()=>n});let s={};function n(e,t){s[e]=t}function r(){s={}}function a(){return s}},39492:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(72799),n=i(25604),r=i(32504),a=i(81539),o=i(72523),l=i(88820),u=i(71209);let c=dt7948.c(class extends s.default{label(e){return(0,l.i18n)(`groups.manage.logs.${e}`)}static #e=(()=>dt7948.n(this.prototype,"label",[(0,o.default)("type")]))();filterText(e,t){return"action"===t?(0,l.i18n)(`group_histories.actions.${e}`):e}static #t=(()=>dt7948.n(this.prototype,"filterText",[(0,o.default)("value","type")]))();static #i=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"6nCCQQmp",block:'[[[1,"\\n"],[41,[30,0,["value"]],[[[1," "],[8,[32,0],[[24,0,"btn-default group-manage-logs-filter"]],[["@action","@icon","@translatedLabel"],[[28,[32,1],[[30,0,["clearFilter"]],[30,0,["type"]]],null],"circle-xmark",[28,[32,2],[[30,0,["label"]],": ",[30,0,["filterText"]]],null]]],null],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-manage-logs-filter.js",scope:()=>[a.default,n.fn,n.concat],isStrictMode:!0}),this))()},[(0,r.tagName)("")])},39578:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},39623:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21980),n=i(75527),r=i(18555),a=i(70412),o=i(72523),l=i(3023);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();accountCreated;newEmail;submitDisabled(e,t){return e===t}static #t=(()=>dt7948.n(this.prototype,"submitDisabled",[(0,o.default)("newEmail","accountCreated.email")]))();updateNewEmail(e){this.set("newEmail",e)}static #i=(()=>dt7948.n(this.prototype,"updateNewEmail",[n.action]))();async changeEmail(){try{await (0,l.changeEmail)({email:this.newEmail}),this.set("accountCreated.email",this.newEmail),this.router.transitionTo("account-created.resent")}catch(e){(0,a.popupAjaxError)(e)}}static #s=(()=>dt7948.n(this.prototype,"changeEmail",[n.action]))();cancel(){this.router.transitionTo("account-created.index")}static #u=(()=>dt7948.n(this.prototype,"cancel",[n.action]))()}},39637:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(72799),n=i(71209),r=i(86960);let a=(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"6/Eb6fBg",block:'[[[1,"\\n"],[1," "],[10,"svg"],[14,0,"fa d-icon d-icon-custom-google-oauth2 svg-icon"],[14,"viewBox","0 0 48 48"],[12],[10,"defs"],[12],[10,"path"],[14,1,"google-icon-a"],[14,"d","M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z"],[12],[13],[13],[10,"clipPath"],[14,1,"google-icon-b"],[12],[10,"use"],[14,6,"#google-icon-a"],[14,"overflow","visible"],[12],[13],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#FBBC05"],[14,"d","M0 37V11l17 13z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#EA4335"],[14,"d","M0 11l17 13 7-6.1L48 14V0H0z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#34A853"],[14,"d","M0 37l30-23 7.9 1L48 0v48H0z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#4285F4"],[14,"d","M48 48L17 24l-4-3 35-10z"],[12],[13],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/google-icon.js",isStrictMode:!0}),(0,r.default)(void 0,"google-icon:GoogleIcon"))},39656:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(92960),n=i(98595);class r extends n.default{constructor(e){e.html=`${(0,s.categoryBadgeHTML)(e.category,e)}`,super(e)}}},39665:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var s=i(83777),n=i(11821),r=i(83914),a=i(61938),o=i(24124),l=i(13623),u=i(73046),c=i(51196),d=i(29553),p=i(67191);let h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,h=e.name,m=i.mainAxis,g=i.altAxis,f=i.boundary,_=i.rootBoundary,y=i.altBoundary,b=i.padding,w=i.tether,k=void 0===w||w,T=i.tetherOffset,S=void 0===T?0:T,C=(0,u.A)(t,{boundary:f,rootBoundary:_,padding:b,altBoundary:y}),A=(0,n.A)(t.placement),D=(0,c.A)(t.placement),M=!D,x=(0,r.A)(A),E=function(e){return"x"===e?"y":"x"}(x),L=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,I="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,N="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(L){if(void 0===m||m){var R,U="y"===x?s.Mn:s.kb,B="y"===x?s.sQ:s.pG,Y="y"===x?"height":"width",H=L[x],q=H+C[U],$=H-C[B],z=k?-F[Y]/2:0,V=D===s.ni?P[Y]:F[Y],W=D===s.ni?-F[Y]:-P[Y],K=t.elements.arrow,G=k&&K?(0,o.A)(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,d.A)(),Q=J[U],X=J[B],Z=(0,a.u)(0,P[Y],G[Y]),ee=M?P[Y]/2-z-Z-Q-N.mainAxis:V-Z-Q-N.mainAxis,et=M?-P[Y]/2+z+Z+X+N.mainAxis:W+Z+X+N.mainAxis,ei=t.elements.arrow&&(0,l.A)(t.elements.arrow),es=ei?"y"===x?ei.clientTop||0:ei.clientLeft||0:0,en=null!=(R=null==j?void 0:j[x])?R:0,er=(0,a.u)(k?(0,p.jk)(q,H+ee-en-es):q,H,k?(0,p.T9)($,H+et-en):$);L[x]=er,O[x]=er-H}if(void 0!==g&&g){var ea,eo="x"===x?s.Mn:s.kb,el="x"===x?s.sQ:s.pG,eu=L[E],ec="y"===E?"height":"width",ed=eu+C[eo],ep=eu-C[el],eh=-1!==[s.Mn,s.kb].indexOf(A),em=null!=(ea=null==j?void 0:j[E])?ea:0,eg=eh?ed:eu-P[ec]-F[ec]-em+N.altAxis,ef=eh?eu+P[ec]+F[ec]-em-N.altAxis:ep,e_=k&&eh?(0,a.P)(eg,eu,ef):(0,a.u)(k?eg:ed,eu,k?ef:ep);L[E]=e_,O[E]=e_-eu}t.modifiersData[h]=O}},requiresIfExists:["offset"]}},39724:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(75527),n=i(18555),r=i(26961),a=i(43779),o=i(12999),l=i(88820);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#p=(()=>void dt7948.i(this,"modal"))();model(){let e=this.modelFor("user");return this.siteSettings.enable_badges?a.default.findByUsername(e.get("username")).then(t=>(e.set("badges",t.map(e=>e.badge)),e)):e}setupController(e,t){e.reset(),e.setProperties({model:t,newNameInput:t.get("name"),newTitleInput:t.get("title"),newPrimaryGroupInput:t.get("primary_group_id"),newFlairGroupId:t.get("flair_group_id"),newStatus:t.status,subpageTitle:(0,l.i18n)("user.preferences_nav.account")})}showAvatarSelector(e){this.modal.show(r.default,{model:{user:e}})}static #t=(()=>dt7948.n(this.prototype,"showAvatarSelector",[s.action]))()}},39751:(e,t,i)=>{"use strict";function s(e){return e<10?`0${e}`:e.toString()}function n(){let e=new Date,t=s(e.getHours()),i=s(e.getMinutes()),n=s(e.getSeconds());return`${t}:${i}:${n}`}i.d(t,{w:()=>a,I:()=>r});let r={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(87531);class n{static #e=(()=>dt7948.g(this.prototype,"postId",[s.tracked],function(){return null}))();#o$=(()=>void dt7948.i(this,"postId"))();static #t=(()=>dt7948.g(this.prototype,"buffer",[s.tracked],function(){return""}))();#oz=(()=>void dt7948.i(this,"buffer"))();static #i=(()=>dt7948.g(this.prototype,"opts",[s.tracked],function(){return null}))();#iz=(()=>void dt7948.i(this,"opts"))();selected(e,t,i){this.postId=e,this.buffer=t,this.opts=i}clear(){this.buffer="",this.postId=null,this.opts=null}}},39845:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(25604),n=i(53769),r=i(56607),a=i(59592),o=i(72799),l=i(71209),u=i(86960);let c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"ncHvJzH4",block:'[[[1,"\\n"],[41,[51,[30,1,["postStream","loadingFilter"]]],[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["topic-map",[28,[32,1],null,[["topic","postStream"],[[30,1],[30,2]]]]]],[["default"],[[[[1,"\\n "],[10,"section"],[14,0,"topic-map__contents"],[12],[1,"\\n "],[8,[32,2],null,[["@topic","@topicDetails","@postStream"],[[30,1],[30,3],[30,2]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@defaultGlimmer","@outletArgs"],["topic-map-expanded-after",true,[28,[32,1],null,[["topic","postStream"],[[30,1],[30,2]]]]]],null],[1,"\\n\\n"],[41,[30,4],[[[1," "],[10,"section"],[14,0,"topic-map__private-message-map"],[12],[1,"\\n "],[8,[32,3],null,[["@topicDetails","@showInvite","@removeAllowedGroup","@removeAllowedUser"],[[30,3],[30,5],[30,6],[30,7]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null]],["@model","@postStream","@topicDetails","@showPMMap","@showInvite","@removeAllowedGroup","@removeAllowedUser"],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/index.js",scope:()=>[n.default,s.hash,a.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,"topic-map:TopicMap"))},39846:(e,t,i)=>{"use strict";i.r(t),i.d(t,{g:()=>n});var s=i(78212);function n(e,t){let i=(0,s.peekMeta)(e);return i?i.valueFor(t):void 0}},39873:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(60202);class r extends s.default{STORE_NAMESPACE="discourse_search_preferences_manager_";store=(()=>new n.default(this.STORE_NAMESPACE))();get sortOrder(){return this.store.getObject("sortOrder")}set sortOrder(e){this.store.setObject({key:"sortOrder",value:e})}}},39877:(e,t,i)=>{"use strict";function s(){for(var e=arguments.length,t=Array(e),i=0;is})},39977:(e,t,i)=>{"use strict";i.r(t),i.d(t,{g:()=>a,s:()=>r});var s=i(61535);let n=new WeakMap;function r(e,t){(0,s.e)(e)&&n.set(e,t)}function a(e){return n.get(e)}},39997:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(95766),n=i(88820),r=i(72799),a=i(71209);class o extends s.default{adjustAggregatedData(e){let t=[];return e.forEach(e=>{let i=new Date(`${e.viewed_at}T00:00:00Z`),s=i.toLocaleDateString(n.default.currentBcp47Locale,{year:"numeric",month:"2-digit",day:"2-digit"}),r=t.find(e=>e.dateStr===s);r?r.views+=e.views:t.push({dateStr:s,views:e.views,localDate:i})}),t.map(e=>({viewed_at:e.localDate.toISOString().split("T")[0],views:e.views}))}formatDate(e){return e.toLocaleDateString(n.default.currentBcp47Locale,{month:"2-digit",day:"2-digit"})}get updatedStats(){let e=this.adjustAggregatedData(this.args.views.stats).map(e=>{let t=new Date(new Date(`${e.viewed_at}T00:00:00`).getTime());return{...e,statDate:t,label:this.formatDate(t)}}),t=e[e.length-1];return t.views=Math.max(t.views,1),e}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"bsuWRop4",block:'[[[1,"\\n "],[10,0],[14,0,"topic-views__wrapper"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["updatedStats"]]],null]],null],null,[[[1," "],[10,0],[14,0,"topic-views"],[12],[1,"\\n "],[10,0],[14,0,"topic-views__count"],[12],[1,"\\n "],[1,[30,1,["views"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"topic-views__date"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "]],["stat"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-views.js",isStrictMode:!0}),this))()}},40048:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(88820);let n={after:"inject-objects",isVerboseLocalizationEnabled(e){if(e.lookup("service:site-settings").verbose_localization)return!0;try{return sessionStorage&&sessionStorage.getItem("verbose_localization")}catch{return!1}},initialize(e){for(let[t,i]of(this.isVerboseLocalizationEnabled(e)&&s.default.enableVerboseLocalization(),Object.entries(s.default._overrides||{}))){for(let[e,n]of Object.entries(i)){let i=e.replace(/^admin_js\./,"js.").split("."),r=s.default.translations[t]||{};for(let e=0;e{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(95766),n=i(18555),r=i(72799),a=i(71209);class o extends s.default{static #e=(()=>dt7948.g(this.prototype,"renderGlimmer",[n.service]))();#oV=(()=>void dt7948.i(this,"renderGlimmer"))();static #t=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"yBAYBs89",block:'[[[42,[28,[31,1],[[28,[31,1],[[30,0,["renderGlimmer","_registrations"]]],null]],null],null,[[[40,[[[8,[30,1,["component"]],null,[["@data","@setWrapperElementAttrs"],[[30,1,["data"]],[30,1,["setWrapperElementAttrs"]]]],null]],[]],"%cursor:0%",[28,[31,3],[[30,1,["element"]]],null],null]],[1]],null]],["info"],false,["each","-track-array","in-element","-in-el-null"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/render-glimmer-container.js",isStrictMode:!0}),this))()}},40056:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(25604),r=i(75527),a=i(18555),o=i(53518),l=i(81539),u=i(54074),c=i(12214),d=i(32019),p=i(72799),h=i(71209);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();get multiple(){return this.args.bundle.actions.length>1}get first(){return this.args.bundle.actions[0]}get placement(){let e=this.site.mobileView?"top":"bottom",t=(0,c.isRTL)()?"end":"start";return`${e}-${t}`}perform(e){if(e){let t=this.args.bundle.actions.find(t=>t.id===e);this.args.performAction(t)}else this.args.performAction(this.first)}static #t=(()=>dt7948.n(this.prototype,"perform",[r.action]))();static #i=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"9U3p/RCO",block:'[[[1,"\\n"],[41,[30,0,["multiple"]],[[[1," "],[8,[32,0],[[16,0,[28,[32,1],["reviewable-action-dropdown","btn-icon-text",[28,[32,2],[[30,0,["first","id"]]],null],[30,0,["first","button_class"]]],null]]],[["@nameProperty","@content","@onChange","@options"],["label",[30,1,["actions"]],[30,0,["perform"]],[28,[32,3],null,[["showCaret","disabled","placement","translatedNone"],[true,[30,2],[30,0,["placement"]],[30,1,["label"]]]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[16,0,[28,[32,1],["btn-default reviewable-action",[28,[32,2],[[30,0,["first","id"]]],null],[30,0,["first","button_class"]]],null]]],[["@action","@translatedLabel","@disabled"],[[30,0,["perform"]],[30,0,["first","label"]],[30,2]]],null],[1,"\\n"]],[]]],[1," "]],["@bundle","@reviewableUpdating"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-bundled-action.js",scope:()=>[d.default,u.default,o.dasherize,n.hash,l.default],isStrictMode:!0}),this))()}},40076:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return(12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t)?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var s=100*e+t;if(s<600)return"يېرىم كېچە";if(s<900)return"سەھەر";if(s<1130)return"چۈشتىن بۇرۇن";if(s<1230)return"چۈش";if(s<1800)return"چۈشتىن كېيىن";else return"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})})},40131:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(32504),r=i(88820),a=i(32019),o=i(84190);let l=dt7948.c(class extends a.default{get content(){let e=[{id:"create",name:(0,r.i18n)("category.create"),description:(0,r.i18n)("category.create_long"),icon:"plus"}];return e.push({id:"reorder",name:(0,r.i18n)("categories.reorder.title"),description:(0,r.i18n)("categories.reorder.title_long"),icon:"shuffle"}),e}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();_onChange(e,t){t.onChange?t.onChange(e,t):this.onChange&&this.onChange(e,t)}},[(0,o.pluginApiIdentifiers)(["categories-admin-dropdown"]),(0,o.selectKitOptions)({icons:["wrench","caret-down"],showFullTitle:!1,autoFilterable:!1,filterable:!1,none:"select_kit.components.categories_admin_dropdown.title",focusAfterOnChange:!1}),(0,n.classNames)("categories-admin-dropdown")])},40140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(72799),n=i(4781),r=i(75527),a=i(18555),o=i(83426),l=i(88761),u=i(32504),c=i(67289),d=i(11075),p=i(89192),h=i(11032),m=i(75449),g=i(72523),f=i(88820),_=i(71209);let y=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#d=(()=>void dt7948.i(this,"dialog"))();imapSettingsValid=!1;smtpSettingsValid=!1;_determineSettingsValid(){this.set("imapSettingsValid",this.group.imap_enabled&&this.group.imap_server),this.set("smtpSettingsValid",this.group.smtp_enabled&&this.group.smtp_server)}static #t=(()=>dt7948.n(this.prototype,"_determineSettingsValid",[(0,c.on)("init")]))();enableImapSettings(e,t,i){return t&&(e||i)}static #i=(()=>dt7948.n(this.prototype,"enableImapSettings",[(0,g.default)("emailSettingsValid","group.smtp_enabled","group.imap_enabled")]))();emailSettingsValid(e,t,i,s){return(!i||e)&&(!s||t)}static #s=(()=>dt7948.n(this.prototype,"emailSettingsValid",[(0,g.default)("smtpSettingsValid","imapSettingsValid","group.smtp_enabled","group.imap_enabled")]))();_anySmtpFieldsFilled(){return[this.group.smtp_server,this.group.smtp_port,this.group.email_username,this.group.email_password].some(e=>!(0,l.isEmpty)(e))}_anyImapFieldsFilled(){return[this.group.imap_server,this.group.imap_port].some(e=>!(0,l.isEmpty)(e))}onChangeSmtpSettingsValid(e){this.set("smtpSettingsValid",e)}static #u=(()=>dt7948.n(this.prototype,"onChangeSmtpSettingsValid",[r.action]))();smtpEnabledChange(e){!e.target.checked&&this.group.smtp_enabled&&this._anySmtpFieldsFilled()&&this.dialog.confirm({message:(0,f.i18n)("groups.manage.email.smtp_disable_confirm"),didConfirm:()=>this.group.set("smtp_enabled",!0),didCancel:()=>this.group.set("imap_enabled",!1)}),this.group.set("smtp_enabled",e.target.checked)}static #c=(()=>dt7948.n(this.prototype,"smtpEnabledChange",[r.action]))();imapEnabledChange(e){!e.target.checked&&this.group.imap_enabled&&this._anyImapFieldsFilled()&&this.dialog.confirm({message:(0,f.i18n)("groups.manage.email.imap_disable_confirm"),didConfirm:()=>this.group.set("imap_enabled",!0)}),this.group.set("imap_enabled",e.target.checked)}static #_=(()=>dt7948.n(this.prototype,"imapEnabledChange",[r.action]))();afterSave(){this.store.find("group",this.group.name).then(()=>{this._determineSettingsValid()})}static #b=(()=>dt7948.n(this.prototype,"afterSave",[r.action]))();static #v=(()=>(0,s.setComponentTemplate)((0,_.createTemplateFactory)({id:"S0GAte8P",block:'[[[1,"\\n "],[10,0],[14,0,"group-manage-email-settings"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.smtp_title"],null]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["groups.manage.email.smtp_instructions"],null]],[13],[1,"\\n\\n "],[10,"label"],[14,"for","enable_smtp"],[12],[1,"\\n "],[8,[32,1],[[24,1,"enable_smtp"],[24,"tabindex","1"],[4,[32,2],["input",[30,0,["smtpEnabledChange"]]],null]],[["@type","@checked"],["checkbox",[30,0,["group","smtp_enabled"]]]],null],[1,"\\n "],[1,[28,[32,0],["groups.manage.email.enable_smtp"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","smtp_enabled"]],[[[1," "],[8,[32,3],null,[["@group","@smtpSettingsValid","@onChangeSmtpSettingsValid"],[[30,0,["group"]],[30,0,["smtpSettingsValid"]],[30,0,["onChangeSmtpSettingsValid"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["siteSettings","enable_imap"]],[[[1," "],[10,0],[14,0,"group-manage-email-imap-wrapper"],[12],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.imap_title"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,4],[[28,[32,0],["groups.manage.email.imap_instructions"],null]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"alert alert-warning"],[12],[1,[28,[32,0],["groups.manage.email.imap_alpha_warning"],null]],[13],[1,"\\n\\n "],[10,"label"],[14,"for","enable_imap"],[12],[1,"\\n "],[8,[32,1],[[16,"disabled",[28,[32,5],[[30,0,["enableImapSettings"]]],null]],[24,1,"enable_imap"],[24,"tabindex","8"],[4,[32,2],["input",[30,0,["imapEnabledChange"]]],null]],[["@type","@checked"],["checkbox",[30,0,["group","imap_enabled"]]]],null],[1,"\\n "],[1,[28,[32,0],["groups.manage.email.enable_imap"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","imap_enabled"]],[[[1," "],[8,[32,6],null,[["@group","@imapSettingsValid"],[[30,0,["group"]],[30,0,["imapSettingsValid"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-manage-email-additional-settings-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.imap_additional_settings"],null]],[13],[1,"\\n "],[10,"label"],[14,0,"control-group-inline"],[14,"for","allow_unknown_sender_topic_replies"],[12],[1,"\\n "],[8,[32,1],[[24,3,"allow_unknown_sender_topic_replies"],[24,1,"allow_unknown_sender_topic_replies"],[24,"tabindex","13"]],[["@type","@checked"],["checkbox",[30,0,["group","allow_unknown_sender_topic_replies"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["groups.manage.email.settings.allow_unknown_sender_topic_replies"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["groups.manage.email.settings.allow_unknown_sender_topic_replies_hint"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"br"],[12],[13],[1,"\\n "],[8,[32,7],null,[["@model","@disabled","@beforeSave","@afterSave","@tabindex"],[[30,0,["group"]],[28,[32,5],[[30,0,["emailSettingsValid"]]],null],[30,0,["beforeSave"]],[30,0,["afterSave"]],"15"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-manage-email-settings.js",scope:()=>[f.i18n,s.Input,n.on,m.default,o.htmlSafe,d.not,p.default,h.default],isStrictMode:!0}),this))()},[(0,u.tagName)("")])},40224:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(72799),n=i(8658),r=i(72725),a=i(27659),o=i(81539),l=i(75423),u=i(53769),c=i(28078),d=i(88820),p=i(71209),h=i(86960);let m=(0,n.default)((0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"yljuARog",block:'[[[1,"\\n "],[1,[28,[32,0],["user-activity-bookmarks-page"],null]],[1,"\\n\\n "],[8,[32,1],null,[["@condition"],[[30,1,["loading"]]]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName"],["above-user-bookmarks","div"]],null],[1,"\\n\\n"],[41,[30,1,["permissionDenied"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,3],["bookmarks.list_permission_denied"],null]],[13],[1,"\\n"]],[]],[[[41,[30,1,["userDoesNotHaveBookmarks"]],[[[1," "],[8,[32,4],null,[["@title","@body"],[[28,[32,3],["user.no_bookmarks_title"],null],[30,1,["emptyStateBody"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"inline-form full-width bookmark-search-form"],[12],[1,"\\n "],[8,[32,5],[[16,"placeholder",[28,[32,3],["bookmarks.search_placeholder"],null]],[24,1,"bookmark-search"],[24,"autocomplete","off"]],[["@type","@value","@enter"],["text",[30,1,["searchTerm"]],[30,1,["search"]]]],null],[1,"\\n "],[8,[32,6],[[24,0,"btn-primary"]],[["@action","@icon"],[[30,1,["search"]],"magnifying-glass"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["nothingFound"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,3],["user.no_bookmarks_search"],null]],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,7],null,[["@bulkSelectHelper","@loadMore","@reload","@loadingMore","@content"],[[30,1,["bulkSelectHelper"]],[30,1,["loadMore"]],[30,1,["reload"]],[30,1,["loadingMore"]],[30,1,["model","bookmarks"]]]],null],[1,"\\n"]],[]]],[1," "]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/bookmarks.js",scope:()=>[c.default,a.default,u.default,d.i18n,l.default,s.Input,o.default,r.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},40230:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(25604),n=i(81539),r=i(30616),a=i(29349),o=i(88820),l=i(72799),u=i(71209),c=i(86960);let d=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"86gpcRDu",block:'[[[1,"\\n"],[41,[30,1,["userApiKeys"]],[[[1," "],[10,0],[14,0,"control-group pref-user-api-keys"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label pref-user-api-keys__label"],[12],[1,[28,[32,0],["user.apps"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["userApiKeys"]]],null]],null],null,[[[1," "],[10,0],[12],[1,"\\n "],[10,1],[14,0,"pref-user-api-keys__application-name"],[12],[1,[30,2,["application_name"]]],[13],[1,"\\n\\n"],[41,[30,2,["revoked"]],[[[1," "],[8,[32,1],null,[["@action","@label"],[[28,[32,2],[[28,[32,3],["undoRevokeApiKey"],null],[30,2]],null],"user.undo_revoke_access"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@action","@label"],[[28,[32,2],[[28,[32,3],["revokeApiKey"],null],[30,2]],null],"user.revoke_access"]],null],[1,"\\n"]],[]]],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"ul"],[14,0,"pref-user-api-keys__scopes-list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2,["scopes"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"pref-user-api-keys__scopes-list-item"],[12],[1,[30,3]],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[14,0,"pref-user-api-keys__created-at"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["user.api_approved"],null]],[13],[1,"\\n "],[1,[28,[32,4],[[30,2,["created_at"]]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[14,0,"pref-user-api-keys__last-used-at"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["user.api_last_used_at"],null]],[13],[1,"\\n "],[1,[28,[32,4],[[30,2,["last_used_at"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],["@model","key","scope"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-preferences/user-api-keys.js",scope:()=>[o.i18n,n.default,s.fn,a.default,r.default],isStrictMode:!0}),(0,c.default)(void 0,"user-api-keys:UserApiKeys"))},40231:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(72799),r=i(75527),a=i(81539),o=i(72490),l=i(88820),u=i(71209);class c extends s.default{rejectReason;sendEmail=!1;async perform(){this.args.model.reviewable.setProperties({rejectReason:this.rejectReason,sendEmail:this.sendEmail}),this.args.closeModal(),await this.args.model.performConfirmed(this.args.model.action)}static #e=(()=>dt7948.n(this.prototype,"perform",[r.action]))();static #t=(()=>(0,n.setComponentTemplate)((0,u.createTemplateFactory)({id:"t30zsGq5",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"reject-reason-reviewable-modal"]],[["@bodyClass","@closeModal","@title"],["reject-reason-reviewable-modal__explain-reviewable",[30,1],[28,[32,1],["review.reject_reason.title"],null]]],[["body","footer"],[[[[1,"\\n "],[8,[32,2],null,[["@value"],[[30,0,["rejectReason"]]]],null],[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,3],[[24,0,"reject-reason-reviewable-modal__send_email--inline"]],[["@type","@checked"],["checkbox",[30,0,["sendEmail"]]]],null],[1,"\\n "],[1,[28,[32,1],["review.reject_reason.send_email"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,4],[[24,0,"btn-danger"]],[["@icon","@action","@label"],["trash-can",[30,0,["perform"]],"admin.user.delete"]],null],[1,"\\n "],[8,[32,4],[[24,0,"cancel"]],[["@action","@label"],[[30,1],"cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/reject-reason-reviewable.js",scope:()=>[o.default,l.i18n,n.Textarea,n.Input,a.default],isStrictMode:!0}),this))()}},40236:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a,rollbackAllPrepends:()=>c,withPrependsRolledBack:()=>u});var s=i(61152);let n=["prototype","name","length"],r=["constructor"];function a(e,t){(function(e,t){let i=e;for(;i;){if(i===t)return!0;i=Object.getPrototypeOf(i)}return!1})(e,s.default)&&e.proto();let i=Object.getOwnPropertyDescriptors(e),a=Object.getOwnPropertyDescriptors(e.prototype);for(let s of(function(e,t,i,s){let n=o.get(e)||{klassDescs:t,protoDescs:i,modifyCallbacks:[]};n.modifyCallbacks.push(s),o.set(e,n)}(e,i,a,t),n))delete i[s];for(let e of r)delete a[e];let l=Object.getPrototypeOf(e),u=l!==Function.prototype?class extends l{}:class{};Object.defineProperties(u,i),Object.defineProperties(u.prototype,a);let c=t(u);if(Object.getPrototypeOf(c)!==u)throw Error("The class returned from the callback must extend the provided superclass");for(let[t,s]of Object.entries(Object.getOwnPropertyDescriptors(c)))i[t]===s||n.includes(t)||Object.defineProperty(e,t,s);for(let[t,i]of Object.entries(Object.getOwnPropertyDescriptors(c.prototype)))a[t]===i||r.includes(t)||Object.defineProperty(e.prototype,t,i)}let o=new Map;function l(e){let{klassDescs:t,protoDescs:i}=o.get(e);for(let[i,s]of Object.entries(t))Object.defineProperty(e,i,s);for(let i of Object.getOwnPropertyNames(e))n.includes(i)||t[i]||delete e[i];for(let[t,s]of Object.entries(i))Object.defineProperty(e.prototype,t,s);for(let t of Object.getOwnPropertyNames(e.prototype))r.includes(t)||i[t]||delete e.prototype[t];o.delete(e)}function u(e,t){let i=o.get(e);if(!i)return void t();l(e);try{t()}finally{i.modifyCallbacks.forEach(t=>a(e,t))}}function c(){for(let e of o.keys())l(e)}},40261:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21980),n=i(75527),r=i(18555),a=i(30914),o=i(41422),l=i(72523),u=i(19888),c=i(69164);let d="sidebar-hidden";class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"footer",[r.service]))();#oy=(()=>void dt7948.i(this,"footer"))();static #i=(()=>dt7948.g(this.prototype,"header",[r.service]))();#eR=(()=>void dt7948.i(this,"header"))();static #s=(()=>dt7948.g(this.prototype,"sidebarState",[r.service]))();#eb=(()=>void dt7948.i(this,"sidebarState"))();queryParams=[{navigationMenuQueryParamOverride:"navigation_menu"}];showTop=!0;showSidebar=this.calculateShowSidebar();sidebarDisabledRouteOverride=!1;navigationMenuQueryParamOverride=null;showSiteHeader=!0;showSkipToContent=!0;get showFooter(){return this.footer.showFooter}set showFooter(e){(0,u.default)("showFooter state is now stored in the `footer` service, and should be controlled by adding the {{hide-application-footer}} helper to an Ember template.",{id:"discourse.application-show-footer"}),this.footer.showFooter=e}get showPoweredBy(){return this.showFooter&&this.siteSettings.enable_powered_by_discourse}canSignUp(){return!this.siteSettings.invite_only&&this.siteSettings.allow_new_registrations&&!this.siteSettings.enable_discourse_connect}static #u=(()=>dt7948.n(this.prototype,"canSignUp",[l.default]))();canDisplaySidebar(){return this.currentUser||!this.siteSettings.login_required}static #c=(()=>dt7948.n(this.prototype,"canDisplaySidebar",[l.default]))();loginRequired(){return this.siteSettings.login_required&&!this.currentUser}static #_=(()=>dt7948.n(this.prototype,"loginRequired",[l.default]))();showFooterNav(){return this.capabilities.isAppWebview||this.capabilities.isiOSPWA}static #b=(()=>dt7948.n(this.prototype,"showFooterNav",[l.default]))();_mainOutletAnimate(){document.body.classList.remove("sidebar-animate")}get sidebarEnabled(){return!!this.canDisplaySidebar&&!this.sidebarState.sidebarHidden&&!this.sidebarDisabledRouteOverride&&("sidebar"===this.navigationMenuQueryParamOverride||"header_dropdown"!==this.navigationMenuQueryParamOverride&&!this.site.mobileView&&(!!this.sidebarState.isForcingSidebar||"sidebar"===this.siteSettings.navigation_menu))}calculateShowSidebar(){return this.canDisplaySidebar&&!this.keyValueStore.getItem(d)&&!this.site.narrowDesktopView}toggleSidebar(){document.body.classList.add("sidebar-animate"),(0,o.default)(this,this._mainOutletAnimate,250),this.toggleProperty("showSidebar"),this.site.desktopView&&(this.showSidebar?this.keyValueStore.removeItem(d):this.keyValueStore.setItem(d,"true"))}static #v=(()=>dt7948.n(this.prototype,"toggleSidebar",[n.action]))();trackDiscoursePainted(){(0,c.isTesting)()||(0,a.default)(()=>{performance.mark("discourse-paint");try{performance.measure("discourse-init-to-paint","discourse-init","discourse-paint")}catch(e){console.warn("Failed to measure init-to-paint",e)}})}static #w=(()=>dt7948.n(this.prototype,"trackDiscoursePainted",[n.action]))()}},40278:(e,t,i)=>{"use strict";i.r(t),i.d(t,{callbacks:()=>s,invokeInjectHelpersCallbacks:()=>r,onInjectHelpers:()=>n});let s=[];function n(e){s.push(e)}function r(e){for(let t of s)t(e)}},40399:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(70043),n=i(21115),r=i(88820);let a=(0,n.createWidget)("topic-post-visited-line",{tagName:"div.small-action.topic-post-visited",html:e=>(0,s.h)(`div.topic-post-visited-line.post-${e.post_number}}`,(0,s.h)("span.topic-post-visited-message",(0,r.i18n)("topics.new_messages_marker")))})},40420:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(87531),n=i(72799),r=i(73993),a=i(32504),o=i(72523),l=i(63811),u=i(71209);let c=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"filterMode",[s.tracked]))();#r6=(()=>void dt7948.i(this,"filterMode"))();hidden=!1;activeClass="";hrefLink=null;get filterType(){return(0,l.filterTypeForMode)(this.filterMode)}static #t=(()=>dt7948.n(this.prototype,"filterType",[r.dependentKeyCompat]))();active(e,t,i){return void 0!==i?i:e===t}static #i=(()=>dt7948.n(this.prototype,"active",[(0,o.default)("content.filterType","filterType","content.active")]))();isHidden(e,t){return!this.active&&this.currentUser&&!this.currentUser.new_new_view_enabled&&this.currentUser.trust_level>0&&("new"===t||"unread"===t)&&e<1}static #s=(()=>dt7948.n(this.prototype,"isHidden",[(0,o.default)("content.count","content.name")]))();didReceiveAttrs(){super.didReceiveAttrs(...arguments);let e=this.content,[t,i]=e.get("href")?.split("?")||[],s=new URLSearchParams(i),n=!1;if(e.get("includeCategoryId")){let e=this.get("content.category.id");e&&s.set("category_id",e)}e.currentRouteQueryParams&&(e.currentRouteQueryParams.filter&&(n=!0),e.currentRouteQueryParams.f&&s.set("f",e.currentRouteQueryParams.f)),"categories_and_latest_topics_created_date"===this.siteSettings.desktop_category_page_style&&null==s.get("order")&&s.set("order","created");let r=s.toString();(n||r&&t)&&(t=(t||"")+`?${r}`),this.set("hrefLink",t),this.set("activeClass",this.active?"active":"")}static #u=(()=>(0,n.setComponentTemplate)((0,u.createTemplateFactory)({id:"eYDq9iOM",block:'[[[1,"\\n "],[10,3],[15,6,[30,0,["hrefLink"]]],[15,0,[30,0,["activeClass"]]],[15,"aria-current",[52,[30,0,["activeClass"]],"page"]],[12],[1,"\\n"],[41,[30,0,["hasIcon"]],[[[1," "],[10,1],[15,0,[30,0,["content","name"]]],[12],[13],[1,"\\n"]],[]],null],[1," "],[1,[30,0,["content","displayName"]]],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/navigation-item.js",isStrictMode:!0}),this))()},[(0,a.attributeBindings)("content.title:title"),(0,a.classNameBindings)("active","content.hasIcon:has-icon","content.classNames","isHidden:hidden","content.name"),(0,a.tagName)("li")])},40438:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(87531),n=i(2950),r=i(77667),a=i(18555),o=i(72523),l=i(72577);class u{static #e=(()=>dt7948.g(this.prototype,"average",[s.tracked]))();#oW=(()=>void dt7948.i(this,"average"))();#oK=[];#oG=0;#np;constructor(e,t){this.#np=e,this.average=t}record(e){this.#oK[this.#oG]=e,this.#oG=(this.#oG+1)%this.#np,this.average=this.#oK.reduce((e,t)=>e+t,0)/this.#oK.length}}class c{#oJ=[];cancelAll(){this.#oJ.forEach(e=>(0,r.cancel)(e)),this.#oJ=[]}schedule(){this.#oJ.push((0,r.schedule)(...arguments))}later(){this.#oJ.push((0,r.later)(...arguments))}}class d{#oQ;start(){this.#oQ=Date.now()}stop(){return(Date.now()-this.#oQ)/1e3}}let p=dt7948.c(class extends a.default.extend(n.default){static #e=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #t=(()=>dt7948.g(this.prototype,"loading",[s.tracked],function(){return!1}))();#eg=(()=>void dt7948.i(this,"loading"))();static #i=(()=>dt7948.g(this.prototype,"stillLoading",[s.tracked],function(){return!1}))();#oX=(()=>void dt7948.i(this,"stillLoading"))();rollingAverage=(()=>new u(5,.3))();scheduleManager=(()=>new c)();timer=(()=>new d)();get mode(){return this.siteSettings.page_loading_indicator}get averageLoadingDuration(){return this.rollingAverage.average}transitionStarted(){this.loading||(this.timer.start(),this.loading=!0,this.trigger("stateChanged",!0),this.scheduleManager.cancelAll(),this.scheduleManager.later(this.setStillLoading,2e3))}transitionEnded(){if(!this.loading)return;let e=this.timer.stop();e<.2&&(e=.2),this.rollingAverage.record(e),this.loading=!1,this.stillLoading=!1,this.trigger("stateChanged",!1),this.scheduleManager.cancelAll(),this.scheduleManager.schedule("render",this.removeClasses)}static #s=(()=>dt7948.n(this.prototype,"transitionEnded",[o.bind]))();setStillLoading(){this.stillLoading=!0,this.scheduleManager.schedule("render",this.addStillLoadingClass)}static #u=(()=>dt7948.n(this.prototype,"setStillLoading",[o.bind]))();addStillLoadingClass(){document.body.classList.add("still-loading")}static #c=(()=>dt7948.n(this.prototype,"addStillLoadingClass",[o.bind]))();removeClasses(){document.body.classList.remove("loading","still-loading")}static #_=(()=>dt7948.n(this.prototype,"removeClasses",[o.bind]))()},[l.disableImplicitInjections])},40618:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(61037);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();afterModel(){let e=this.paramsFor("editCategory");this.router.replaceWith(`/c/${e.slug}/edit/general`)}}},40639:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(1968);class n extends s.default{pageId="rules"}},40640:(e,t,i)=>{"use strict";i.r(t),i.d(t,{NodeDOMTreeConstruction:()=>r,serializeBuilder:()=>l});var s=i(31976),n=i(57141);class r extends s.DOMTreeConstruction{constructor(e){super(e||(0,n.default)())}setupUselessElement(){}insertHTMLBefore(e,t,i){let n=this.document.createRawHTMLSection(i);return e.insertBefore(n,t),new s.ConcreteBounds(e,n,n)}createElement(e){return this.document.createElement(e)}setAttribute(e,t,i){e.setAttribute(t,i)}}let a=new WeakMap;class o extends s.NewElementBuilder{serializeBlockDepth=0;__openBlock(){let{tagName:e}=this.element;if("TITLE"!==e&&"SCRIPT"!==e&&"STYLE"!==e){let e=this.serializeBlockDepth++;this.__appendComment(`%+b:${e}%`)}super.__openBlock()}__closeBlock(){let{tagName:e}=this.element;if(super.__closeBlock(),"TITLE"!==e&&"SCRIPT"!==e&&"STYLE"!==e){let e=--this.serializeBlockDepth;this.__appendComment(`%-b:${e}%`)}}__appendHTML(e){let{tagName:t}=this.element;if("TITLE"===t||"SCRIPT"===t||"STYLE"===t)return super.__appendHTML(e);let i=this.__appendComment("%glmr%");if("TABLE"===t){let t=e.indexOf("<");t>-1&&"tr"===e.slice(t+1,t+3)&&(e=`${e}`)}""===e?this.__appendComment("% %"):super.__appendHTML(e);let n=this.__appendComment("%glmr%");return new s.ConcreteBounds(this.element,i,n)}__appendText(e){let{tagName:t}=this.element,i=function(e){let{element:t,nextSibling:i}=e;return null===i?t.lastChild:i.previousSibling}(this);return"TITLE"===t||"SCRIPT"===t||"STYLE"===t?super.__appendText(e):""===e?this.__appendComment("% %"):(i&&3===i.nodeType&&this.__appendComment("%|%"),super.__appendText(e))}closeElement(){return a.has(this.element)&&(a.delete(this.element),super.closeElement()),super.closeElement()}openElement(e){return"tr"===e&&"TBODY"!==this.element.tagName&&"THEAD"!==this.element.tagName&&"TFOOT"!==this.element.tagName&&(this.openElement("tbody"),a.set(this.constructing,!0),this.flushElement(null)),super.openElement(e)}pushRemoteElement(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{dom:s}=this,n=s.createElement("script");return n.setAttribute("glmr",t),s.insertBefore(e,n,i),super.pushRemoteElement(e,t,i)}}function l(e,t){return o.forInitialRender(e,t)}},40673:(e,t,i)=>{"use strict";function s(e){let t=document.createElement("div");t.classList.add("cooked-selection-barrier"),t.ariaHidden="true",t.appendChild(document.createElement("br")),e.appendChild(t)}i.r(t),i.d(t,{default:()=>s})},40682:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addApiImageWrapperButtonClickEvent:()=>J,addComposerUploadHandler:()=>Y,addComposerUploadMarkdownResolver:()=>W,addComposerUploadPreProcessor:()=>$,cleanUpComposerUploadHandler:()=>H,cleanUpComposerUploadMarkdownResolver:()=>K,cleanUpComposerUploadPreProcessor:()=>z,default:()=>Q});var s=i(87531),n=i(72799),r=i(25604),a=i(75527),o=i(97527),l=i(77667),u=i(18555),c=i(32504),d=i(67289),p=i(41322),h=i(89179),m=i.n(h),g=i(38491),f=i(11075),_=i(61810),y=i(10959),b=i(18945),w=i(32288),k=i(53775),T=i(78388),S=i(35990),C=i(72523),A=i(41284),D=i(65797),M=i(35794),x=i(62411),E=i(29381),L=i(32571),P=i(73418),F=i(37947),I=i(88416),N=i(74089),j=i(81644),O=i(88820),R=i(23808),U=i(71209);let B=[];function Y(e,t){B.push({extensions:e,method:t})}function H(){B.length=0}let q=[];function $(e,t){if(!(e.prototype instanceof p.A))throw Error("Composer upload preprocessors must inherit from the Uppy BasePlugin class.");q.push({pluginClass:e,optionsResolverFn:t})}function z(){q=[]}let V=[];function W(e){V.push(e)}function K(){V=[]}let G=[];function J(e){G.push(e)}let Q=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"composer",[u.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"preview",[s.tracked]))();#oZ=(()=>void dt7948.i(this,"preview"))();composerEventPrefix="composer";shouldBuildScrollMap=!0;scrollMap=null;fileUploadElementId="file-uploader";init(){super.init(...arguments),this.warnedCannotSeeMentions=[],this.warnedGroupMentions=[],this.uppyComposerUpload=new I.default((0,o.getOwner)(this),{composerEventPrefix:this.composerEventPrefix,composerModel:this.composer.model,uploadMarkdownResolvers:V,uploadPreProcessors:q,uploadHandlers:B,fileUploadElementId:this.fileUploadElementId})}get topic(){return this.composer.get("model.topic")}replyPlaceholder(e){if(e)return"composer.reply_placeholder_choose_category";{let e=(0,F.authorizesOneOrMoreImageExtensions)(this.currentUser.staff,this.siteSettings)?"reply_placeholder":"reply_placeholder_no_images";return`composer.${e}`}}static #i=(()=>dt7948.n(this.prototype,"replyPlaceholder",[(0,C.default)("composer.model.requiredCategoryMissing")]))();showLink(){return this.currentUser&&"none"!==this.currentUser.link_posting_access}static #s=(()=>dt7948.n(this.prototype,"showLink",[C.default]))();setFocus(){"editor"===this.composer.focusTarget&&this.textManipulation.putCursorAtEnd()}static #u=(()=>dt7948.n(this.prototype,"setFocus",[(0,d.observes)("composer.focusTarget")]))();markdownOptions(){return{previewing:!0,formatUsername:N.formatUsername,lookupAvatarByPostNumber:(e,t)=>{let i=this.topic;if(!i)return;let s=i.get("postStream.posts");if(s&&t===i.get("id")){let t=s.findBy("post_number",e);if(t)return(0,T.tinyAvatar)(t.get("avatar_template"))}},lookupPrimaryUserGroupByPostNumber:(e,t)=>{let i=this.topic;if(!i)return;let s=i.get("postStream.posts");if(s&&t===i.get("id")){let t=s.findBy("post_number",e);if(t)return t.primary_group_name}},hashtagTypesInPriorityOrder:this.site.hashtag_configurations["topic-composer"],hashtagIcons:this.site.hashtag_icons}}static #c=(()=>dt7948.n(this.prototype,"markdownOptions",[C.default]))();_composerEditorInit(){let e=this.element.querySelector(".d-editor-preview-wrapper");this._registerImageAltTextButtonClick(e),this.composer.allowUpload&&this.uppyComposerUpload.setup(this.element),this.appEvents.trigger(`${this.composerEventPrefix}:will-open`)}static #_=(()=>dt7948.n(this.prototype,"_composerEditorInit",[(0,d.on)("didInsertElement")]))();setupEditor(e){this.textManipulation=e,this.uppyComposerUpload.placeholderHandler=e.placeholder;let t=this.element.querySelector(".d-editor-input");t.addEventListener("scroll",this._throttledSyncEditorAndPreviewScroll),this.composer.set("allowPreview",this.textManipulation.allowPreview),this.get("composer.model.canEditTitle")&&"BODY"!==document.activeElement.tagName||this.textManipulation.putCursorAtEnd();let i=(0,S.setupComposerPosition)(t);return()=>{i(),t.removeEventListener("scroll",this._throttledSyncEditorAndPreviewScroll)}}static #b=(()=>dt7948.n(this.prototype,"setupEditor",[C.bind]))();validation(e,t,i,s,n){let r;if(this.get("composer.post.post_type")!==this.site.get("post_types.small_action")){if(t<1)r=(0,O.i18n)("composer.error.post_missing");else if(i>0){r=(0,O.i18n)("composer.error.post_length",{count:s});let e=this.get("currentUser.trust_level");0!==e&&1!==e||this._isNewTopic||(r+="
"+(0,O.i18n)("composer.error.try_like",{heart:(0,M.iconHTML)("heart",{label:(0,O.i18n)("likes_lowercase",{count:1})})}))}if(r)return a.default.create({failed:!0,reason:r,lastShownAt:n})}}static #v=(()=>dt7948.n(this.prototype,"validation",[(0,C.default)("composer.model.reply","composer.model.replyLength","composer.model.missingReplyCharacters","composer.model.minimumPostLength","composer.lastValidatedAt")]))();get _isNewTopic(){return this.composer.model.creatingTopic||this.composer.model.editingFirstPost||this.composer.model.creatingSharedDraft}static #w=(()=>dt7948.n(this.prototype,"_isNewTopic",[(0,a.computed)("composer.{creatingTopic,editingFirstPost,creatingSharedDraft}")]))();_resetShouldBuildScrollMap(){this.set("shouldBuildScrollMap",!0)}_handleInputInteraction(e){let t=this.element.querySelector(".d-editor-preview-wrapper");m()(t).is(":visible")&&(t.removeEventListener("scroll",this._handleInputOrPreviewScroll),e.target.addEventListener("scroll",this._handleInputOrPreviewScroll))}static #k=(()=>dt7948.n(this.prototype,"_handleInputInteraction",[C.bind]))();_handleInputOrPreviewScroll(e){this._syncScroll(this._syncEditorAndPreviewScroll,m()(e.target),m()(this.element.querySelector(".d-editor-preview-wrapper")))}static #T=(()=>dt7948.n(this.prototype,"_handleInputOrPreviewScroll",[C.bind]))();_handlePreviewInteraction(e){this.element.querySelector(".d-editor-input")?.removeEventListener("scroll",this._handleInputOrPreviewScroll),e.target?.addEventListener("scroll",this._handleInputOrPreviewScroll)}static #S=(()=>dt7948.n(this.prototype,"_handlePreviewInteraction",[C.bind]))();_syncScroll(e,t,i){(!this.scrollMap||this.shouldBuildScrollMap)&&(this.set("scrollMap",this._buildScrollMap(t,i)),this.set("shouldBuildScrollMap",!1)),(0,l.throttle)(this,e,t,i,this.scrollMap,20)}_buildScrollMap(e,t){let i=m()("").css({position:"absolute",height:"auto",visibility:"hidden",width:e[0].clientWidth,"font-size":e.css("font-size"),"font-family":e.css("font-family"),"line-height":e.css("line-height"),"white-space":e.css("white-space")}).appendTo("body"),s=[],n=0;e.val().split(`
`).forEach(e=>{if(s.push(n),0===e.length)n++;else{let t,s;i.text(e),t=parseFloat(i.css("height")),s=parseFloat(i.css("line-height")),n+=Math.round(t/s)}}),s.push(n),i.remove();let r=t.offset().top,a=t.scrollTop()-r-(e.offset().top-r),o=[],l=[];for(let e=0;e{let i=m()(t),n=s[i.data("line-number")];0!==n&&o.push(n),l[n]=Math.round(i.offset().top+a)}),o.push(n),l[n]=t[0].scrollHeight;let u=0;for(let e=1;edt7948.n(this.prototype,"_throttledSyncEditorAndPreviewScroll",[C.bind]))();_syncEditorAndPreviewScroll(e,t){if(!e)return;if(0===e.scrollTop())return void t.scrollTop(0);let i=e[0].scrollHeight,s=t[0].scrollHeight;if(e.height()+e.scrollTop()+100>i)return void t.scrollTop(s);let n=e.scrollTop(),r=s/i;t.scrollTop(n*r+50)}_renderMentions(e){let t=(0,E.linkSeenMentions)(e,this.siteSettings);t.length>0?this._renderUnseenMentions(e,t):(this._warnMentionedGroups(e),this._warnCannotSeeMention(e))}_renderUnseenMentions(e,t){(0,E.fetchUnseenMentions)({names:t,topicId:this.get("composer.model.topic.id"),allowedNames:this.get("composer.model.targetRecipients")?.split(",")}).then(t=>{(0,E.linkSeenMentions)(e,this.siteSettings),this._warnMentionedGroups(e),this._warnCannotSeeMention(e),this._warnHereMention(t.here_count)})}static #A=(()=>dt7948.n(this.prototype,"_renderUnseenMentions",[(0,C.debounce)(450)]))();_renderHashtags(e){let t=this.site.hashtag_configurations["topic-composer"],i=(0,D.linkSeenHashtagsInContext)(t,e);i.length>0&&this._renderUnseenHashtags(e,i,t)}_renderUnseenHashtags(e,t,i){(0,D.fetchUnseenHashtagsInContext)(i,t).then(()=>(0,D.linkSeenHashtagsInContext)(i,e))}static #D=(()=>dt7948.n(this.prototype,"_renderUnseenHashtags",[(0,C.debounce)(450)]))();_refreshOneboxes(e){let t=this.get("composer.post"),i=t&&!t.get("refreshedPost"),s=(0,L.loadOneboxes)(e,k.ajax,this.get("composer.topic.id"),this.get("composer.category.id"),this.siteSettings.max_oneboxes_per_post,i);i&&s>0&&t.set("refreshedPost",!0)}static #M=(()=>dt7948.n(this.prototype,"_refreshOneboxes",[(0,C.debounce)(450)]))();_expandShortUrls(e){(0,g.resolveAllShortUrls)(k.ajax,this.siteSettings,e)}_decorateCookedElement(e,t){this.appEvents.trigger("decorate-non-stream-cooked-element",e,t)}_warnMentionedGroups(e){(0,l.schedule)("afterRender",()=>{e.querySelectorAll(".mention-group[data-mentionable-user-count]").forEach(e=>{let{name:t}=e.dataset;this.warnedGroupMentions.includes(t)||this._isInQuote(e)||(this.warnedGroupMentions.push(t),this.composer.groupsMentioned({name:t,userCount:e.dataset.mentionableUserCount,maxMentions:e.dataset.maxMentions}))})})}static #z=(()=>dt7948.n(this.prototype,"_warnMentionedGroups",[(0,C.debounce)(2e3)]))();_warnCannotSeeMention(e){this.composer.model?.draftKey!==j.default.NEW_PRIVATE_MESSAGE_KEY&&(e.querySelectorAll(".mention[data-reason]").forEach(e=>{let{name:t}=e.dataset;this.warnedCannotSeeMentions.includes(t)||(this.warnedCannotSeeMentions.push(t),this.composer.cannotSeeMention({name:t,reason:e.dataset.reason}))}),e.querySelectorAll(".mention-group[data-reason]").forEach(e=>{let{name:t}=e.dataset;this.warnedCannotSeeMentions.includes(t)||(this.warnedCannotSeeMentions.push(t),this.composer.cannotSeeMention({name:t,reason:e.dataset.reason,notifiedCount:e.dataset.notifiedUserCount,isGroup:!0}))}))}static #V=(()=>dt7948.n(this.prototype,"_warnCannotSeeMention",[(0,C.debounce)(2e3)]))();_warnHereMention(e){e&&0!==e&&this.composer.hereMention(e)}_handleImageScaleButtonClick(e){if(!e.target.classList.contains("scale-btn"))return;let t=parseInt(e.target.closest(".button-wrapper").dataset.imageIndex,10),i=e.target.dataset.scale,s=this.get("composer.model.reply").match(F.IMAGE_MARKDOWN_REGEX);if(s){let e=s[t];if(e){let n=e.replace(F.IMAGE_MARKDOWN_REGEX,``);this.appEvents.trigger(`${this.composerEventPrefix}:replace-text`,s[t],n,{regex:F.IMAGE_MARKDOWN_REGEX,index:t})}}e.preventDefault()}static #W=(()=>dt7948.n(this.prototype,"_handleImageScaleButtonClick",[C.bind]))();resetImageControls(e){let t=e.querySelector(".scale-btn-container"),i=e.querySelector(".delete-image-button"),s=e.querySelector(".alt-text-readonly-container"),n=e.querySelector(".alt-text-edit-container");t.removeAttribute("hidden"),i.removeAttribute("hidden"),s.removeAttribute("hidden"),e.removeAttribute("editing"),n.setAttribute("hidden","true")}commitAltText(e){let t=parseInt(e.getAttribute("data-image-index"),10),i=this.get("composer.model.reply").match(F.IMAGE_MARKDOWN_REGEX)[t],s=e.querySelector("input.alt-text-input"),n=i.replace(F.IMAGE_MARKDOWN_REGEX,``);this.appEvents.trigger(`${this.composerEventPrefix}:replace-text`,i,n),this.resetImageControls(e)}_handleAltTextInputKeypress(e){if(e.target.classList.contains("alt-text-input")&&(("["===e.key||"]"===e.key)&&e.preventDefault(),"Enter"===e.key)){let t=e.target.closest(".button-wrapper");this.commitAltText(t)}}static #K=(()=>dt7948.n(this.prototype,"_handleAltTextInputKeypress",[C.bind]))();_handleAltTextEditButtonClick(e){if(!e.target.classList.contains("alt-text-edit-btn"))return;let t=e.target.closest(".button-wrapper"),i=t.querySelector(".scale-btn-container"),s=t.querySelector(".delete-image-button"),n=t.querySelector(".alt-text-readonly-container"),r=n.querySelector(".alt-text"),a=t.querySelector(".alt-text-edit-container"),o=a.querySelector(".alt-text-input");t.setAttribute("editing","true"),i.setAttribute("hidden","true"),s.setAttribute("hidden","true"),n.setAttribute("hidden","true"),o.value=r.textContent,a.removeAttribute("hidden"),o.focus(),e.preventDefault()}static #G=(()=>dt7948.n(this.prototype,"_handleAltTextEditButtonClick",[C.bind]))();_handleAltTextOkButtonClick(e){if(!e.target.classList.contains("alt-text-edit-ok"))return;let t=e.target.closest(".button-wrapper");this.commitAltText(t)}static #J=(()=>dt7948.n(this.prototype,"_handleAltTextOkButtonClick",[C.bind]))();_handleAltTextCancelButtonClick(e){if(!e.target.classList.contains("alt-text-edit-cancel"))return;let t=e.target.closest(".button-wrapper");this.resetImageControls(t)}static #e0=(()=>dt7948.n(this.prototype,"_handleAltTextCancelButtonClick",[C.bind]))();_handleImageDeleteButtonClick(e){if(!e.target.classList.contains("delete-image-button"))return;let t=parseInt(e.target.closest(".button-wrapper").dataset.imageIndex,10),i=this.get("composer.model.reply").match(F.IMAGE_MARKDOWN_REGEX);this.appEvents.trigger(`${this.composerEventPrefix}:replace-text`,i[t],"",{regex:F.IMAGE_MARKDOWN_REGEX,index:t})}static #e2=(()=>dt7948.n(this.prototype,"_handleImageDeleteButtonClick",[C.bind]))();_handleImageGridButtonClick(e){if(!e.target.classList.contains("wrap-image-grid-button"))return;let t=parseInt(e.target.closest(".button-wrapper").dataset.imageIndex,10),i=this.get("composer.model.reply"),s=i.match(F.IMAGE_MARKDOWN_REGEX),n=t+parseInt(e.target.dataset.imageCount,10)-1,r=this.element.querySelector(".d-editor-input");r.selectionStart=i.indexOf(s[t]),r.selectionEnd=i.indexOf(s[n])+s[n].length,this.appEvents.trigger(`${this.composerEventPrefix}:apply-surround`,"[grid]","[/grid]","grid_surround",{useBlockMode:!0})}static #e3=(()=>dt7948.n(this.prototype,"_handleImageGridButtonClick",[C.bind]))();_registerImageAltTextButtonClick(e){e&&(e.addEventListener("click",this._handleAltTextCancelButtonClick),e.addEventListener("click",this._handleAltTextEditButtonClick),e.addEventListener("click",this._handleAltTextOkButtonClick),e.addEventListener("click",this._handleImageDeleteButtonClick),e.addEventListener("click",this._handleImageGridButtonClick),e.addEventListener("click",this._handleImageScaleButtonClick),e.addEventListener("keypress",this._handleAltTextInputKeypress),G.forEach(t=>e.addEventListener("click",t)))}_composerClosed(){let e=this.element.querySelector(".d-editor-preview-wrapper");this.composer.allowUpload&&this.uppyComposerUpload.teardown(),this.appEvents.trigger(`${this.composerEventPrefix}:will-close`),(0,x.default)(()=>this.appEvents.trigger(`${this.composerEventPrefix}:closed`),400),e?.removeEventListener("click",this._handleAltTextCancelButtonClick),e?.removeEventListener("click",this._handleAltTextEditButtonClick),e?.removeEventListener("click",this._handleAltTextOkButtonClick),e?.removeEventListener("click",this._handleImageDeleteButtonClick),e?.removeEventListener("click",this._handleImageGridButtonClick),e?.removeEventListener("click",this._handleImageScaleButtonClick),e?.removeEventListener("keypress",this._handleAltTextInputKeypress),G.forEach(t=>e?.removeEventListener("click",t))}static #e8=(()=>dt7948.n(this.prototype,"_composerClosed",[(0,d.on)("willDestroyElement")]))();onExpandPopupMenuOptions(e){let t=e.selected;e.selectText(t.start,t.end-t.start),this.composer.storeToolbarState(e)}static #e4=(()=>dt7948.n(this.prototype,"onExpandPopupMenuOptions",[a.action]))();showPreview(){this.composer.togglePreview()}_isInQuote(e){let t=e.parentElement;for(;t&&!this._isPreviewRoot(t);){if(this._isQuote(t))return!0;t=t.parentElement}return!1}_isPreviewRoot(e){return"DIV"===e.tagName&&e.classList.contains("d-editor-preview")}_isQuote(e){return"ASIDE"===e.tagName&&e.classList.contains("quote")}extraButtons(e){e.addButton({id:"quote",group:"fontStyles",icon:"far-comment",sendAction:this.composer.importQuote,title:"composer.quote_post_title",unshift:!0}),this.composer.allowUpload&&this.composer.uploadIcon&&this.site.desktopView&&e.addButton({id:"upload",group:"insertions",icon:this.composer.uploadIcon,title:"upload",sendAction:this.showUploadModal}),e.addButton({id:"options",group:"extras",icon:"gear",title:"composer.options",sendAction:this.onExpandPopupMenuOptions.bind(this),popupMenu:!0})}static #e7=(()=>dt7948.n(this.prototype,"extraButtons",[a.action]))();previewUpdated(e,t){this._renderMentions(e),this._renderHashtags(e),this._refreshOneboxes(e),this._expandShortUrls(e),this._decorateCookedElement(e,t),this.composer.afterRefresh(e)}static #e9=(()=>dt7948.n(this.prototype,"previewUpdated",[a.action]))();get selectedFormTemplateId(){return this._selectedFormTemplateId?this._selectedFormTemplateId:this.composer.model.formTemplateId||this.composer.formTemplateIds?.[0]}static #e5=(()=>dt7948.n(this.prototype,"selectedFormTemplateId",[(0,a.computed)("composer.formTemplateIds")]))();set selectedFormTemplateId(e){this._selectedFormTemplateId=e}async updateFormPreview(){let e=(0,A.default)(document.querySelector("#form-template-form"),this.composer.selectedFormTemplate,!1);this.preview=await this.cachedCookAsync(e,this.markdownOptions)}static #e6=(()=>dt7948.n(this.prototype,"updateFormPreview",[a.action]))();async cachedCookAsync(e,t){return this._cachedCookFunction||=await (0,P.generateCookFunction)(t||{}),await this._cachedCookFunction(e)}updateSelectedFormTemplateId(e){this.selectedFormTemplateId=e}static #te=(()=>dt7948.n(this.prototype,"updateSelectedFormTemplateId",[a.action]))();showFormTemplateForm(e,t,i){return e?.length>0&&!t&&!i}static #tt=(()=>dt7948.n(this.prototype,"showFormTemplateForm",[(0,C.default)("composer.formTemplateIds","composer.model.replyingToTopic","composer.model.editingPost")]))();showUploadModal(){document.getElementById(this.fileUploadElementId).click()}static #ti=(()=>dt7948.n(this.prototype,"showUploadModal",[a.action]))();static #sF=(()=>(0,n.setComponentTemplate)((0,U.createTemplateFactory)({id:"Q0ilX8Oa",block:'[[[1,"\\n"],[41,[30,0,["showFormTemplateForm"]],[[[1," "],[10,0],[14,0,"d-editor"],[12],[1,"\\n "],[10,0],[14,0,"d-editor-textarea-column"],[12],[1,"\\n "],[18,1,null],[1,"\\n\\n"],[41,[28,[32,0],[[30,0,["composer","formTemplateIds","length"]],1],null],[[[1," "],[8,[32,1],[[24,0,"composer-select-form-template"]],[["@filteredIds","@value","@onChange","@options"],[[30,0,["composer","formTemplateIds"]],[30,0,["selectedFormTemplateId"]],[30,0,["updateSelectedFormTemplateId"]],[28,[32,2],null,[["maximum"],[1]]]]],null],[1,"\\n"]],[]],null],[1," "],[10,"form"],[14,1,"form-template-form"],[12],[1,"\\n "],[8,[32,3],null,[["@id","@initialValues","@onSelectFormTemplate","@onChange"],[[30,0,["selectedFormTemplateId"]],[30,0,["composer","formTemplateInitialValues"]],[30,0,["composer","onSelectFormTemplate"]],[30,0,["updateFormPreview"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["siteSettings","show_preview_for_form_templates"]],[[[1," "],[8,[32,4],null,[["@preview","@forcePreview","@onPreviewUpdated","@outletArgs"],[[30,0,["preview"]],[30,0,["forcePreview"]],[30,0,["previewUpdated"]],[30,0,["outletArgs"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,5],null,[["@value","@placeholder","@previewUpdated","@markdownOptions","@extraButtons","@processPreview","@validation","@loading","@forcePreview","@showLink","@composerEvents","@onPopupMenuAction","@popupMenuOptions","@disabled","@outletArgs","@topicId","@categoryId","@replyingToUserId","@onSetup","@disableSubmit"],[[30,0,["composer","model","reply"]],[30,0,["replyPlaceholder"]],[30,0,["previewUpdated"]],[30,0,["markdownOptions"]],[30,0,["extraButtons"]],[30,0,["composer","isPreviewVisible"]],[30,0,["validation"]],[30,0,["composer","loading"]],[30,0,["forcePreview"]],[30,0,["showLink"]],true,[30,0,["composer","onPopupMenuAction"]],[30,0,["composer","popupMenuOptions"]],[30,0,["composer","disableTextarea"]],[28,[32,2],null,[["composer","editorType"],[[30,0,["composer","model"]],"composer"]]],[30,0,["composer","model","topic","id"]],[30,0,["composer","model","category","id"]],[30,0,["composer","replyingToUserId"]],[30,0,["setupEditor"]],[30,0,["composer","disableSubmit"]]]],[["default"],[[[[1,"\\n "],[18,1,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["composer","allowUpload"]],[[[1," "],[8,[32,6],[[24,3,"file-uploader"]],[["@fileInputId","@allowMultiple"],[[30,0,["fileUploadElementId"]],true]],null],[1,"\\n"]],[]],null],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer-editor.js",scope:()=>[f.gt,R.default,r.hash,b.default,y.default,_.default,w.default],isStrictMode:!0}),this))()},[(0,c.classNameBindings)("composer.showToolbar:toolbar-visible",":wmd-controls")])},40767:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(70043),n=i(70677),r=i(35794),a=i(18674),o=i(35352),l=i(21115),u=i(88820);let c=(0,l.createWidget)("link",{tagName:"a",href(e){if(!e.route)return(0,n.default)(e.href);{let t=this.register.lookup("service:router");return e.model?t.urlFor(e.route,e.model):t.urlFor(e.route)}},buildClasses(e){let t=[];return t.push("widget-link"),e.className&&t.push(e.className),t},buildAttributes(e){let t={href:this.href(e),title:e.title?(0,u.i18n)(e.title,e.titleOptions):this.label(e)};return e.attributes&&Object.keys(e.attributes).forEach(i=>t[i]=e.attributes[i]),t},label:e=>e.labelCount&&e.count?(0,u.i18n)(e.labelCount,{count:e.count}):e.rawLabel||(e.label?(0,u.i18n)(e.label):""),html(e){if(e.contents)return e.contents();let t=[];if(e.icon){if(e["aria-label"]){let i=(0,r.iconNode)(e.icon);i.properties.attributes["aria-label"]=(0,u.i18n)(e["aria-label"],e.ariaLabelOptions),i.properties.attributes.role="img",i.properties.attributes["aria-hidden"]=!1,t.push(i)}else t.push((0,r.iconNode)(e.icon));t.push(" ")}if(!e.hideLabel){let i=this.label(e);e.omitSpan?t.push(i):t.push((0,s.h)("span.d-label",i))}let i=this.currentUser;if(i&&e.badgeCount){let n=parseInt(i.get(e.badgeCount),10);if(n>0){let i=e.badgeTitle?(0,u.i18n)(e.badgeTitle):"";t.push(" "),t.push((0,s.h)("span.badge-notification",{className:e.badgeClass,attributes:{title:i}},n))}}return t},click(e){if((!this.attrs.attributes||"_blank"!==this.attrs.attributes.target)&&!(0,a.wantsNewWindow)(e))return(e.preventDefault(),this.attrs.action)?(e.preventDefault(),this.sendWidgetAction(this.attrs.action,this.attrs.actionParam)):(this.sendWidgetEvent("linkClicked",this.attrs),o.default.routeToTag(e.target.closest("a")))}})},40773:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(75527),n=i(18555),r=i(46550),a=i(72523),o=i(36649),l=i(61037),u=i(88820);class c extends l.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"searchService",[(0,n.service)("search")]))();#nl=(()=>void dt7948.i(this,"searchService"))();static #i=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #s=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();beforeModel(){if(this.siteSettings.hide_user_profiles_from_public&&!this.currentUser)throw new r.RouteException({status:403,desc:(0,u.i18n)("user.login_to_view_profile")})}model(e){return this.currentUser&&e.username.toLowerCase()===this.currentUser.username_lower?this.currentUser:o.default.create({username:encodeURIComponent(e.username)})}afterModel(){let e=this.modelFor("user");return e.findDetails().then(()=>e.findStaffInfo()).then(()=>e.statusManager.trackStatus()).catch(()=>this.router.replaceWith("/404"))}serialize(e){return e?{username:(e.username||"").toLowerCase()}:{}}setupController(e,t){e.set("model",t),this.searchService.searchContext=t.searchContext}activate(){super.activate(...arguments);let e=this.modelFor("user");this.messageBus.subscribe(`/u/${e.username_lower}`,this.onUserMessage),this.messageBus.subscribe(`/u/${e.username_lower}/counters`,this.onUserCountersMessage)}deactivate(){super.deactivate(...arguments);let e=this.modelFor("user");this.messageBus.unsubscribe(`/u/${e.username_lower}`,this.onUserMessage),this.messageBus.unsubscribe(`/u/${e.username_lower}/counters`,this.onUserCountersMessage),e.statusManager.stopTrackingStatus(),this.searchService.searchContext=null}onUserMessage(e){return this.modelFor("user").loadUserAction(e)}static #u=(()=>dt7948.n(this.prototype,"onUserMessage",[a.bind]))();onUserCountersMessage(e){let t=this.modelFor("user");t.setProperties(e),Object.entries(e).forEach(e=>{let[i,s]=e;return this.appEvents.trigger(`count-updated:${t.username_lower}:${i}`,s)})}static #c=(()=>dt7948.n(this.prototype,"onUserCountersMessage",[a.bind]))();titleToken(){return this.modelFor("user").username||null}undoRevokeApiKey(e){e.undoRevoke()}static #_=(()=>dt7948.n(this.prototype,"undoRevokeApiKey",[s.action]))();revokeApiKey(e){e.revoke()}static #b=(()=>dt7948.n(this.prototype,"revokeApiKey",[s.action]))()}},40783:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(83426),r=i(70677),a=i(72799),o=i(71209);class l extends s.default{get cdnSrc(){return(0,r.getURLWithCDN)(this.args.src)}get style(){if(this.args.width&&this.args.height)return(0,n.htmlSafe)(`--aspect-ratio: ${this.args.width/this.args.height};`)}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"NED4BHCL",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[11,"img"],[17,2],[16,"src",[30,0,["cdnSrc"]]],[16,"width",[30,3]],[16,"height",[30,4]],[16,5,[30,0,["style"]]],[24,"alt",""],[12],[13],[1,"\\n"]],[]],null],[1," "]],["@src","&attrs","@width","@height"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/cdn-img.js",isStrictMode:!0}),this))()}},40834:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(25604),n=i(42854),r=i(38173),a=i(46723),o=i(33531),l=i(72799),u=i(71209),c=i(86960);let d={confirm:n.default,dropdown:r.default,multiselect:a.default,text:o.default},p=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"pLhYAedh",block:'[[[1,"\\n"],[44,[[28,[32,0],[[32,1],[30,1,["field_type"]]],null]],[[[1," "],[8,[30,2],[[17,3]],[["@field","@value","@validation"],[[30,1],[30,4],[30,5]]],null],[1,"\\n"]],[2]]]],["@field","Component","&attrs","@value","@validation"],false,["let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-field.js",scope:()=>[s.get,d],isStrictMode:!0}),(0,c.default)(void 0,"user-field:UserField"))},40905:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(87531),n=i(72523),r=i(54807),a=i(88820);class o extends r.default{static #e=(()=>dt7948.g(this.prototype,"totalUnread",[s.tracked],function(){return 0}))();#o1=(()=>void dt7948.i(this,"totalUnread"))();static #t=(()=>dt7948.g(this.prototype,"totalNew",[s.tracked],function(){return 0}))();#o0=(()=>void dt7948.i(this,"totalNew"))();constructor(e){let{topicTrackingState:t}=e;super(...arguments),this.topicTrackingState=t,this.refreshCounts()}refreshCounts(){this.totalUnread=this.topicTrackingState.countUnread({tagId:this.tagName}),(0===this.totalUnread||this.#I)&&(this.totalNew=this.topicTrackingState.countNew({tagId:this.tagName}))}static #i=(()=>dt7948.n(this.prototype,"refreshCounts",[n.bind]))();get showCount(){return this.currentUser?.sidebarShowCountOfNewItems}get models(){return[this.tagName]}get route(){if(this.currentUser?.sidebarLinkToFilteredList){if(this.#I&&this.#o2>0)return"tag.showNew";else if(this.totalUnread>0)return"tag.showUnread";else if(this.totalNew>0)return"tag.showNew"}return"tag.show"}get currentWhen(){return"tag.show tag.showNew tag.showUnread tag.showTop tag.showHot tag.showLatest"}get badgeText(){if(this.showCount){if(this.#I&&this.#o2>0)return this.#o2.toString();else if(this.totalUnread>0)return(0,a.i18n)("sidebar.unread_count",{count:this.totalUnread});else if(this.totalNew>0)return(0,a.i18n)("sidebar.new_count",{count:this.totalNew})}}get suffixCSSClass(){return"unread"}get suffixType(){return"icon"}get suffixValue(){if(!this.showCount&&(this.totalUnread||this.totalNew))return"circle"}get #o2(){return this.totalUnread+this.totalNew}get #I(){return!!this.currentUser?.new_new_view_enabled}}},40930:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18555),n=i(61037),r=i(88820);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();beforeModel(){if(!this.siteSettings.enable_smtp)return this.router.transitionTo("group.manage.profile")}titleToken(){return(0,r.i18n)("groups.manage.email.title")}}},41004:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(83426),n=i(8658),r=i(22075),a=i(72702),o=i(77586),l=i(72799),u=i(71209),c=i(86960);let d=(0,n.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"1CUw2K9e",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[8,[32,1],null,[["@header"],[[30,1,["welcomeTitle"]]]],null],[1,"\\n "],[10,0],[14,0,"success-info"],[12],[1,"\\n "],[1,[28,[32,2],[[30,1,["accountCreated","message"]]],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["accountCreated","show_controls"]],[[[1," "],[8,[32,3],null,[["@sendActivationEmail","@editActivationEmail"],[[30,1,["sendActivationEmail"]],[30,1,["editActivationEmail"]]]],null],[1,"\\n"]],[]],null],[1," "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/index.js",scope:()=>[a.default,o.default,s.htmlSafe,r.default],isStrictMode:!0}),(0,c.default)(void 0,void 0)))},41014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4781),n=i(8658),r=i(37715),a=i(88820),o=i(72799),l=i(71209),u=i(86960);let c=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"lMJ4NY+V",block:'[[[1,"\\n "],[10,0],[14,0,"list-controls"],[12],[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,0],["tagging.tags"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"tag-sort-options"],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by"],null]],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-count ",[52,[30,1,["sortedByCount"]],"active"]]]],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,1],["click",[30,1,["sortByCount"]]],null],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by_count"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-name ",[52,[30,1,["sortedByName"]],"active"]]]],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,1],["click",[30,1,["sortById"]]],null],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by_name"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[12],[13],[1,"\\n\\n"],[41,[30,1,["model"]],[[[1," "],[8,[32,2],null,[["@tags","@sortProperties","@titleKey","@isPrivateMessage","@tagsForUser"],[[30,1,["model"]],[30,1,["sortProperties"]],"tagging.all_tags",true,[30,1,["tagsForUser"]]]],null],[1,"\\n"]],[]],null],[1," "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-private-messages-tags-index.js",scope:()=>[a.i18n,s.on,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},41016:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8215),n=i(72799),r=i(19888),a=i(60232),o=i(67518);function l(e){let t=e.match(/^discourse\/plugins\/([^\/]+)\//)?.[1];if(t)return{type:"plugin",name:t};let i=e.match(/^discourse\/theme-(\d+)\//)?.[1];if(i)return{...(0,o.getThemeInfo)(parseInt(i,10)),type:"theme"}}let u={after:["populate-template-map","mobile"],initialize(e){this.site=e.lookup("service:site"),this.eachThemePluginTemplate((t,i,o)=>{if(!o&&a.default.coreTemplates.has(t))return;let u=t,c=i.at(-1);o&&((0,r.default)(`Mobile-specific hbs templates are deprecated. Use responsive CSS or {{#if this.site.mobileView}} instead. [${t}]`,{id:"discourse.mobile-templates",url:"https://meta.discourse.org/t/355668",source:l(c)}),this.site.mobileView&&(u=u.slice(7))),u=u.slice(11);let d=e.resolveRegistration(`component:${u}`);if(!d)return void e.register(`component:${u}`,n.default);if(s.getComponentTemplate(d)){(0,r.default)(`Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [${c}]`,{id:"discourse.component-template-overrides",url:"https://meta.discourse.org/t/355668",source:l(c)});let e=window.require(c).default;s.setComponentTemplate(e,d)}})},eachThemePluginTemplate(e){let{coreTemplates:t,pluginTemplates:i,themeTemplates:s}=a.default;for(let[n,r,a]of[[i,"components/",!1],[s,"components/",!1],[t,"mobile/components/",!0],[i,"mobile/components/",!0],[s,"mobile/components/",!0]])for(let[t,i]of n)t.startsWith(r)&&e(t,i,a)},teardown(){s.clearTemplateOverrides()}}},41031:(e,t,i)=>{"use strict";function s(e,t){return e}i.r(t),i.d(t,{default:()=>s}),(0,i(11829).default)("@ember/test-waiters:promise-waiter")},41045:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addPluginOutletDecorator:()=>l,default:()=>c,resetDecorators:()=>u});var s=i(72799),n=i(75527),r=i(72523),a=i(11895);let o={};function l(e,t){o[e]=o[e]||[],o[e].push(t)}function u(){o={}}class c extends s.default{init(){super.init(...arguments),this.args&&Object.keys(this.args).forEach(e=>{(0,n.defineProperty)(this,e,(0,n.computed)("args",function(){return this.args[e]}))});let e={outletName:this.connector?.outletName,connectorName:this.connector?.connectorName,classModuleName:this.connector?.classModuleName,templateModule:this.connector?.templateModule,layoutName:this.layoutName};this.deprecatedArgs&&Object.keys(this.deprecatedArgs).forEach(t=>{(0,n.defineProperty)(this,t,(0,n.computed)("deprecatedArgs",function(){return(0,a.deprecatedArgumentValue)(this.deprecatedArgs[t],{...e,argumentName:t})}))});let t=this.connector.connectorClass;if(this.set("actions",t?.actions),this.actions)for(let[e,t]of Object.entries(this.actions))this.set(e,t.bind(this));let i=(0,a.buildArgsWithDeprecations)(this.args,this.deprecatedArgs,e);t?.setupComponent?.call(this,i,this)}didReceiveAttrs(){super.didReceiveAttrs(...arguments),this._decoratePluginOutlets()}_decoratePluginOutlets(){(o[this.connector.outletName]||[]).forEach(e=>e(this.element,this.args))}static #e=(()=>dt7948.n(this.prototype,"_decoratePluginOutlets",[r.afterRender]))();willDestroyElement(){super.willDestroyElement(...arguments);let e=this.connector.connectorClass;e?.teardownComponent?.call(this,this)}send(e){let t=this.connector.connectorClass,i=t?.actions?.[e];for(var s=arguments.length,n=Array(s>1?s-1:0),r=1;r{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(25604),n=i(8658),r=i(29638),a=i(81539),o=i(33503),l=i(53769),u=i(85062),c=i(28078),d=i(29349),p=i(72799),h=i(71209),m=i(86960);let g=(0,n.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"48lfeXEi",block:'[[[1,"\\n "],[1,[28,[32,0],["user-messages-page"],null]],[1,"\\n\\n "],[8,[32,1],null,[["@name","@outletArgs"],["user-messages-above-navigation",[28,[32,2],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"user-navigation user-navigation-secondary"],[12],[1,"\\n "],[10,"ol"],[14,0,"category-breadcrumb"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,3],null,[["@content","@value","@onChange"],[[30,1,["messagesDropdownContent"]],[30,1,["messagesDropdownValue"]],[30,1,["onMessagesDropdownChange"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],[[24,1,"user-navigation-secondary__horizontal-nav"],[24,0,"messages-nav"]],[["@ariaLabel"],["User secondary - messages"]],null],[1,"\\n\\n "],[10,0],[14,0,"navigation-controls"],[12],[1,"\\n"],[41,[30,1,["site","mobileView"]],[[[41,[30,1,["currentUser","admin"]],[[[1," "],[8,[32,5],null,[["@bulkSelectHelper"],[[30,1,["bulkSelectHelper"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[10,1],[14,1,"navigation-controls__button"],[12],[13],[1,"\\n\\n"],[41,[30,1,["showNewPM"]],[[[1," "],[8,[32,6],[[24,0,"btn-primary new-private-message"]],[["@action","@icon","@label"],[[28,[32,7],["composePrivateMessage"],null],"envelope","user.new_private_message"]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,1],null,[["@name","@outletArgs"],["user-messages-controls-bottom",[28,[32,2],null,[["showNewPM"],[[30,1,["showNewPM"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/messages.js",scope:()=>[c.default,l.default,s.hash,u.default,o.default,r.default,a.default,d.default],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},41223:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(27144);function n(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&(0,s.Ng)(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}},41230:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(53775),n=i(61037),r=i(88820);class a extends n.default{titleToken(){return(0,r.i18n)("user.change_email.title")}model(e){return(0,s.ajax)(`/u/confirm-new-email/${e.token}.json`)}}},41284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r,getFormTemplateObject:()=>n});var s=i(88820);function n(e){let t=new FormData(e),i={};return t.forEach((e,t)=>{i[t]=e}),i}function r(e,t){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=t.reduce((e,t)=>(e[t.id]=t.attributes.label,e),{}),r=new FormData(e);if(i&&(function(e){Array.from(e.elements).forEach(e=>{e.setAttribute("aria-invalid",!1);let t=document.createElement("div");t.classList.add("form-template-field__error","popup-tip");let i=e.id+"-error";e.addEventListener("invalid",()=>{e.setAttribute("aria-invalid",!0),t.classList.add("bad"),t.setAttribute("id",i),e.setAttribute("aria-describedby",i),e.nextElementSibling||e.insertAdjacentElement("afterend",t),function(e,t){e.validity.valueMissing?a(t,e,"form_templates.errors.value_missing",["select-one","select-multiple","checkbox"],{"select-one":"select_one","select-multiple":"select_multiple"}):e.validity.typeMismatch?a(t,e,"form_templates.errors.type_mismatch",["color","date","email","number","password","tel","text","url"]):e.validity.tooShort?t.textContent=(0,s.i18n)("form_templates.errors.too_short",{count:e.minLength}):e.validity.tooLong?t.textContent=(0,s.i18n)("form_templates.errors.too_long",{count:e.maxLength}):e.validity.rangeOverflow?t.textContent=(0,s.i18n)("form_templates.errors.range_overflow",{count:e.max}):e.validity.rangeUnderflow?t.textContent=(0,s.i18n)("form_templates.errors.range_underflow",{count:e.min}):e.validity.patternMismatch?t.textContent=(0,s.i18n)("form_templates.errors.pattern_mismatch"):e.validity.badInput&&(t.textContent=(0,s.i18n)("form_templates.errors.bad_input"))}(e,t)}),e.addEventListener("input",()=>{e.checkValidity()&&(e.setAttribute("aria-invalid",!1),t.classList.remove("bad"),t.textContent="")}),e.addEventListener("blur",()=>{e.checkValidity()})})}(e),!e.checkValidity()))return!1;let o=[];for(let[e,t]of r.entries())o.push({[e]:t});let l=[],u=new Set;for(let e of o){let t=Object.keys(e)[0];u.has(t)?l[l.length-1][t]+=`
`+e[t]:(l.push(e),u.add(t))}return l.map(e=>{let t=Object.keys(e)[0],i=e[t];if(i)return`### ${n[t]}
${i}`}).join(`
`)}function a(e,t,i,n,r){n.includes(t.type)?n.forEach(n=>{t.type===n&&(e.textContent=(0,s.i18n)(`${i}.${r&&r[n]?r[n]:n}`))}):e.textContent=(0,s.i18n)(`${i}.default`)}},41322:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(86481);class n{constructor(e,t){this.uppy=e,this.opts=null!=t?t:{}}getPluginState(){let{plugins:e}=this.uppy.getState();return(null==e?void 0:e[this.id])||{}}setPluginState(e){let{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(void 0),this.i18nInit()}i18nInit(){let e=new s.A([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState(void 0)}addTarget(e){throw Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}update(e){}afterUpdate(){}}},41342:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(12733),n=i(88820),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"LjksxoXE",block:'[[[1,"\\n "],[10,0],[14,0,"post-info post-locked"],[15,"title",[28,[32,0],["post.locked"],null]],[12],[1,"\\n "],[1,[28,[32,1],["lock"],null]],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/locked-indicator.js",scope:()=>[n.i18n,s.default],isStrictMode:!0}),(0,o.default)(void 0,"locked-indicator:PostMetaDataLockedIndicator"))},41422:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(77667),n=i(69164);function r(){if(!(0,n.isTesting)())return(0,s.debounce)(...arguments);{let e=arguments[arguments.length-1],t="boolean"==typeof e,i=[].slice.call(arguments,0,t?-2:-1);return i.push(10),t&&i.push(e),s.debounce.apply(void 0,i)}}},41437:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(18555),r=i(65110),a=i(72799),o=i(71209);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();static #s=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #u=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#ec=(()=>void dt7948.i(this,"topicTrackingState"))();static #c=(()=>dt7948.g(this.prototype,"site",[n.service]))();#r=(()=>void dt7948.i(this,"site"))();static #_=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();anonymous=!1;get sections(){return this.anonymous?this.site.anonymous_sidebar_sections:this.currentUser.sidebarSections}static #b=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"OV58iLbc",block:'[[[1,"\\n "],[10,0],[14,0,"sidebar-custom-sections"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sections"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@sectionData","@collapsable","@toggleNavigationMenu"],[[30,1],[30,2],[30,3]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "]],["section","@collapsable","@toggleNavigationMenu"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/common/custom-sections.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},41475:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(8658),n=i(28078),r=i(78108),a=i(59989),o=i(72799),l=i(71209),u=i(86960);let c=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"XSCTV8cN",block:'[[[1,"\\n "],[1,[28,[32,0],["account-created-page"],null]],[1,"\\n "],[1,[28,[32,1],["search","login","signup","menu"],null]],[1,"\\n "],[1,[32,2]],[1,"\\n "],[10,0],[14,0,"account-created"],[12],[1,"\\n "],[46,[28,[31,1],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[],false,["component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created.js",scope:()=>[n.default,r.default,a.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},41581:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(18555),r=i(74142),a=i(72799),o=i(71209);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"sidebarState",[n.service]))();#eb=(()=>void dt7948.i(this,"sidebarState"))();get panelCssClass(){return`${this.sidebarState.currentPanel.key}-panel`}static #t=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"gOOLDH59",block:'[[[1,"\\n "],[10,0],[15,0,[29,["sidebar-sections ",[30,0,["panelCssClass"]]]]],[12],[1,"\\n "],[8,[32,0],null,[["@collapsable","@expandActiveSection","@scrollActiveLinkIntoView"],[[30,1],[30,0,["sidebarState","currentPanel","expandActiveSection"]],[30,0,["sidebarState","currentPanel","scrollActiveLinkIntoView"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@collapsableSections"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/api-panels.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},41597:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(72799),n=i(71209);class r extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"fbGQpiKm",block:'[[[1,"\\n"],[41,[30,0,["value"]],[[[1," "],[10,0],[15,0,[30,0,["classes"]]],[12],[1,"\\n "],[10,0],[14,0,"name"],[12],[1,[30,0,["name"]]],[13],[1,"\\n "],[10,0],[14,0,"value"],[12],[1,[30,0,["value"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field.js",isStrictMode:!0}),this))()}},41628:(e,t,i)=>{"use strict";i.r(t),i.d(t,{destroyUserStatusOnMentions:()=>o,updateUserStatusOnMention:()=>a});var s=i(88405),n=i(69723);let r={};function a(e,t,i){if(function(e){r[(0,s.guidFor)(e)]?.destroy(),e.querySelector("span.user-status-message")?.remove()}(t),i){let a=new n.UserStatusMessage(e,i);r[(0,s.guidFor)(t)]=a,t.appendChild(a.html)}}function o(){Object.values(r).forEach(e=>{e.destroy()})}},41689:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var s=i(95766),n=i(87531),r=i(4781),a=i(75527),o=i(88405),l=i(97527),u=i(18555),c=i(83426),d=i(88761),p=i(55230),h=i(89179),m=i.n(h),g=i(81539),f=i(32288),_=i(12733),y=i(70677),b=i(83368),w=i(37947),k=i(66904),T=i(88820),S=i(72799),C=i(71209);class A extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[u.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[u.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"imageFilesize",[n.tracked]))();#o3=(()=>void dt7948.i(this,"imageFilesize"))();static #s=(()=>dt7948.g(this.prototype,"imageFilename",[n.tracked]))();#o8=(()=>void dt7948.i(this,"imageFilename"))();static #u=(()=>dt7948.g(this.prototype,"imageWidth",[n.tracked]))();#o4=(()=>void dt7948.i(this,"imageWidth"))();static #c=(()=>dt7948.g(this.prototype,"imageHeight",[n.tracked]))();#o7=(()=>void dt7948.i(this,"imageHeight"))();uppyUpload=(()=>new k.default((0,l.getOwner)(this),{id:this.args.id,type:this.args.type,additionalParams:this.args.additionalParams,validateUploadedFilesOptions:{imagesOnly:!0},uploadDropTargetOptions:()=>({target:document.querySelector(`#${this.args.id} .uploaded-image-preview`)}),uploadDone:e=>{this.imageFilesize=e.human_filesize,this.imageFilename=e.original_filename,this.imageWidth=e.width,this.imageHeight=e.height,this.args.onUploadDone(e)}}))();applyLightbox=(()=>(0,p.modifier)(()=>(0,b.default)(document.querySelector(`#${this.args.id}.image-uploader`),this.siteSettings)))();willDestroy(){super.willDestroy(...arguments),m().magnificPopup?.instance.close()}get disabled(){return this.args.disabled||this.notAllowed||this.uppyUpload?.uploading||this.uppyUpload?.processing}get computedId(){return this.args.id?`${this.args.id}__input`:`${(0,o.guidFor)(this)}__input`}get disabledReason(){if(this.disabled&&this.notAllowed)return(0,T.i18n)("post.errors.no_uploads_authorized")}get notAllowed(){return!(0,w.authorizesOneOrMoreExtensions)(this.currentUser?.staff,this.siteSettings)}get showingPlaceholder(){return!this.args.imageUrl&&this.args.placeholderUrl}get placeholderStyle(){return(0,d.isEmpty)(this.args.placeholderUrl)?(0,c.htmlSafe)(""):(0,c.htmlSafe)(`background-image: url(${this.args.placeholderUrl})`)}get imageCdnUrl(){return(0,d.isEmpty)(this.args.imageUrl)?(0,c.htmlSafe)(""):(0,y.getURLWithCDN)(this.args.imageUrl)}get backgroundStyle(){return(0,c.htmlSafe)(`background-image: url(${this.imageCdnUrl})`)}get imageBaseName(){if(!(0,d.isEmpty)(this.args.imageUrl))return this.args.imageUrl.split("/").slice(-1)[0]}get progressBarStyle(){let e=this.uppyUpload.uploadProgress||0;return(0,c.htmlSafe)(`width: ${e}%`)}toggleLightbox(){let e=document.querySelector(`#${this.args.id} a.lightbox`);e&&m()(e).magnificPopup("open")}static #_=(()=>dt7948.n(this.prototype,"toggleLightbox",[a.action]))();handleKeyboardActivation(e){if("Enter"===e.key||" "===e.key){e.preventDefault();let t=document.getElementById(this.computedId);t&&!this.disabled&&t.click()}}static #b=(()=>dt7948.n(this.prototype,"handleKeyboardActivation",[a.action]))();static #v=(()=>(0,S.setComponentTemplate)((0,C.createTemplateFactory)({id:"9EQ0UMep",block:'[[[1,"\\n "],[11,0],[16,1,[30,1]],[16,0,[29,["image-uploader ",[52,[30,2],"has-image","no-image"]]]],[17,3],[12],[1,"\\n "],[10,0],[14,0,"uploaded-image-preview input-xxlarge"],[15,5,[30,0,["backgroundStyle"]]],[12],[1,"\\n"],[41,[30,0,["showingPlaceholder"]],[[[1," "],[10,0],[14,0,"placeholder-overlay"],[15,5,[30,0,["placeholderStyle"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2],[[[1," "],[11,3],[16,6,[30,0,["imageCdnUrl"]]],[16,"title",[30,0,["imageFilename"]]],[24,"rel","nofollow ugc noopener"],[24,0,"lightbox"],[4,[30,0,["applyLightbox"]],null,null],[12],[1,"\\n "],[10,0],[14,0,"meta"],[12],[1,"\\n "],[10,1],[14,0,"informations"],[12],[1,"\\n "],[1,[30,0,["imageWidth"]]],[1,"x"],[1,[30,0,["imageHeight"]]],[1,"\\n "],[1,[30,0,["imageFilesize"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"expand-overlay"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-default btn-small image-uploader-lightbox-btn"]],[["@action","@icon","@title"],[[30,0,["toggleLightbox"]],"discourse-expand","expand"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"image-upload-controls"],[12],[1,"\\n "],[11,"label"],[16,0,[29,["btn btn-default btn-small btn-transparent\\n ",[52,[30,0,["disabled"]],"disabled"],"\\n ",[52,[30,0,["uppyUpload","uploading"]],"hidden"]]]],[16,"title",[30,0,["disabledReason"]]],[16,"for",[30,0,["computedId"]]],[24,"tabindex","0"],[4,[32,1],["keydown",[30,0,["handleKeyboardActivation"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["upload"],null]],[1,"\\n "],[8,[32,3],null,[["@registerFileInput","@fileInputDisabled","@acceptedFormatsOverride","@fileInputId"],[[30,0,["uppyUpload","setup"]],[30,0,["disabled"]],"image/*",[30,0,["computedId"]]]],null],[1,"\\n "],[1,[28,[32,4],["upload_selector.select_file"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,["progress-status\\n ",[52,[51,[30,0,["uppyUpload","uploading"]]],"hidden"]]]],[12],[1,"\\n "],[10,0],[15,"aria-label",[29,[[28,[32,4],["upload_selector.uploading"],null],"\\n ",[30,0,["uppyUpload","uploadProgress"]],"%"]]],[14,"role","progressbar"],[14,0,"progress-bar-container"],[12],[1,"\\n "],[10,0],[14,0,"progress-bar"],[15,5,[30,0,["progressBarStyle"]]],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[1,[28,[32,4],["upload_selector.uploading"],null]],[1,"\\n "],[1,[30,0,["uppyUpload","uploadProgress"]]],[1,"%\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"image-upload-controls"],[12],[1,"\\n "],[11,"label"],[16,0,[29,["btn btn-default btn-small ",[52,[30,0,["disabled"]],"disabled"]]]],[16,"title",[30,0,["disabledReason"]]],[16,"for",[30,0,["computedId"]]],[24,"tabindex","0"],[4,[32,1],["keydown",[30,0,["handleKeyboardActivation"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["upload"],null]],[1,"\\n "],[8,[32,3],null,[["@registerFileInput","@fileInputDisabled","@acceptedFormatsOverride","@fileInputId"],[[30,0,["uppyUpload","setup"]],[30,0,["disabled"]],"image/*",[30,0,["computedId"]]]],null],[1,"\\n "],[1,[28,[32,4],["upload_selector.change"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],[[24,0,"btn-danger btn-small"]],[["@action","@icon","@disabled","@label"],[[30,4],"trash-can",[30,0,["disabled"]],"upload_selector.delete"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@id","@imageUrl","&attrs","@onUploadDeleted"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/uppy-image-uploader.js",scope:()=>[g.default,r.on,_.default,f.default,T.i18n],isStrictMode:!0}),this))()}},41693:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(83426),n=function(){return(n=Object.assign||function(e){for(var t,i=1,s=arguments.length;io;o++){for(var l=r[o].split("~"),u=0;u~quot~\"~apos~'~amp~&"),o.html4=r("apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~~zwj~~lrm~~rlm~~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~\"~amp~&~lt~<~gt~>"),o.html5=r(`Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~\xb8~CenterDot~\xb7~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~\xb4~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~\`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~\xa8~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~\xa8~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~~InvisibleTimes~~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~~NegativeThickSpace~~NegativeThinSpace~~NegativeVeryThinSpace~~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~
~Nfr~𝔑~NoBreak~~NonBreakingSpace~\xa0~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~\xb1~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~ ~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~ ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~\xc5~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~\xb7~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~\xae~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~\xa8~digamma~ϝ~disin~⋲~div~\xf7~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~\`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~\xbd~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~\xb1~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~\xaf~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~\xa9~GT~>~LT~<~QUOT~"~REG~\xae`,o.html4);var l={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)};String.prototype.codePointAt;var c=function(){return(c=Object.assign||function(e){for(var t,i=1,s=arguments.length;i"watched_word"===e.reason_type?e.reason_data:[]).flat();if(!i.length)return(0,s.htmlSafe)(e);let n=document.createElement("span");return n.innerHTML=e,i.forEach(e=>{(0,b.default)(n,e,{nodeName:"mark",className:"watched-word-highlight"})}),(0,s.htmlSafe)(function(e,t){var i=p,s=p.level,n=void 0===s?"all":s,r=p.scope,a=void 0===r?"xml"===n?"strict":"body":r;if(!e)return"";var o=f[n][a],c=d[n].entities,h="attribute"===a,m="strict"===a;return e.replace(o,function(e){return function(e,t,i,s){var n=e,r=e[e.length-1];if(i&&"="===r)n=e;else if(s&&";"!==r)n=e;else{var a=t[e];if(a)n=a;else if("&"===e[0]&&"#"===e[1]){var o=e[2],c="x"==o||"X"==o?parseInt(e.substr(3),16):parseInt(e.substr(2));n=c>=1114111?y:c>65535?u(c):_(l[c]||c)}}return n}(e,c,h,m)})}(n.innerHTML))}},41795:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(75527),n=i(57528),r=i(88761),a=i(2369),o=i(53775),l=i(70412),u=i(72523),c=i(35352),d=i(76655),p=i(36649);class h extends s.default{static create(){let e=super.create(...arguments);return e.user&&(e.user=p.default.create(e.user)),e}static findInvitedBy(e,t,i,n){e||a.Promise.resolve();let l={};return(0,r.isNone)(t)||(l.filter=t),(0,r.isNone)(i)||(l.search=i),l.offset=n||0,(0,o.ajax)((0,c.userPath)(`${e.username_lower}/invited.json`),{data:l}).then(e=>(e.invites=e.invites.map(e=>h.create(e)),s.default.create(e)))}static reinviteAll(){return(0,o.ajax)("/invites/reinvite-all",{type:"POST"})}static destroyAllExpired(){return(0,o.ajax)("/invites/destroy-all-expired",{type:"POST"})}static #e=(()=>dt7948.g(this.prototype,"topicId",[(0,n.alias)("topics.firstObject.id")]))();#o9=(()=>void dt7948.i(this,"topicId"))();static #t=(()=>dt7948.g(this.prototype,"topicTitle",[(0,n.alias)("topics.firstObject.title")]))();#o5=(()=>void dt7948.i(this,"topicTitle"))();save(e){return(this.id?(0,o.ajax)(`/invites/${this.id}`,{type:"PUT",data:e}):(0,o.ajax)("/invites",{type:"POST",data:e})).then(e=>this.setProperties(e))}destroy(){return(0,o.ajax)("/invites",{type:"DELETE",data:{id:this.id}}).then(()=>this.set("destroyed",!0))}reinvite(){return(0,o.ajax)("/invites/reinvite",{type:"POST",data:{email:this.email}}).then(()=>this.set("reinvited",!0)).catch(l.popupAjaxError)}shortKey(e){return e.slice(0,4)+"..."}static #i=(()=>dt7948.n(this.prototype,"shortKey",[(0,u.default)("invite_key")]))();groupIds(e){return e?e.map(e=>e.id):[]}static #s=(()=>dt7948.n(this.prototype,"groupIds",[(0,u.default)("groups")]))();topic(e){return e?d.default.create(e):null}static #u=(()=>dt7948.n(this.prototype,"topic",[(0,u.default)("topics.firstObject")]))();emailOrDomain(e,t){return e||t}static #c=(()=>dt7948.n(this.prototype,"emailOrDomain",[(0,u.default)("email","domain")]))()}},41809:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})},41859:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(4781),n=i(72799),r=i(71209),a=i(86960);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"nY6zB+Ly",block:'[[[1,"\\n "],[10,"td"],[14,0,"bulk-select topic-list-data"],[12],[1,"\\n "],[10,"label"],[15,"for",[29,["bulk-select-",[30,1,["id"]]]]],[12],[1,"\\n "],[11,"input"],[16,"checked",[30,2]],[16,1,[29,["bulk-select-",[30,1,["id"]]]]],[24,0,"bulk-select"],[24,4,"checkbox"],[4,[32,0],["click",[30,3]],null],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@topic","@isSelected","@onBulkSelectToggle"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/bulk-select-cell.js",scope:()=>[s.on],isStrictMode:!0}),(0,a.default)(void 0,"bulk-select-cell:BulkSelectCell"))},41877:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u,renderCategory:()=>a,renderOption:()=>l,renderTag:()=>o});var s=i(92960),n=i(35794),r=i(74089);function a(e){let t=(0,s.default)(e.model,{allowUncategorized:!0,link:!1});return`${t}`}function o(e){let t=`${(0,r.escapeExpression)(e.name)} x ${(0,r.escapeExpression)(e.count)}`;return`${(0,n.iconHTML)("tag")}${t}`}function l(e){return e.model?a(e):o(e)}function u(e){let{options:t}=e;return`
`}},41898:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(61037),n=i(88820);class r extends s.default{titleToken(){return(0,n.i18n)("review.title")}}},41909:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(85739);class n extends s.default{}},41911:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});class s extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}let n=s},41966:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addListener:()=>s.G,removeListener:()=>s.H,sendEvent:()=>s.k}),i(78212),i(61535),i(11191),i(77350),i(38230),i(8215);var s=i(42938);i(80725)},42012:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(72799),n=i(25604),r=i(4781),a=i(75527),o=i(57528),l=i(29204),u=i(21714),c=i(53769),d=i(28106),p=i(72523),h=i(8610),m=i(88820),g=i(52605),f=i(94314),_=i(71209);class y extends s.default{tokenSeparator="|";static #e=(()=>dt7948.g(this.prototype,"showAssociatedGroups",[(0,o.readOnly)("site.can_associate_groups")]))();#o6=(()=>void dt7948.i(this,"showAssociatedGroups"))();static #t=(()=>dt7948.g(this.prototype,"canEdit",[(0,o.not)("model.automatic")]))();#n0=(()=>void dt7948.i(this,"canEdit"))();trustLevelOptions=(()=>[{name:(0,m.i18n)("admin.groups.manage.membership.trust_levels_none"),value:0},{name:1,value:1},{name:2,value:2},{name:3,value:3},{name:4,value:4}])();init(){super.init(...arguments),this.showAssociatedGroups&&this.loadAssociatedGroups()}get groupTrustLevel(){return this.model.get("grant_trust_level")||this.trustLevelOptions.firstObject.value}static #i=(()=>dt7948.n(this.prototype,"groupTrustLevel",[(0,a.computed)("model.grant_trust_level","trustLevelOptions")]))();disableMembershipRequestSetting(e,t){return e=parseInt(e,10),t||e>1}static #s=(()=>dt7948.n(this.prototype,"disableMembershipRequestSetting",[(0,p.default)("model.visibility_level","model.public_admission")]))();disablePublicSetting(e,t){return e=parseInt(e,10),t||e>1}static #u=(()=>dt7948.n(this.prototype,"disablePublicSetting",[(0,p.default)("model.visibility_level","model.allow_membership_requests")]))();get emailDomains(){return this.model.emailDomains.split(this.tokenSeparator).filter(Boolean)}static #c=(()=>dt7948.n(this.prototype,"emailDomains",[(0,a.computed)("model.emailDomains")]))();loadAssociatedGroups(){h.default.list().then(e=>this.set("associatedGroups",e))}onChangeEmailDomainsSetting(e){this.set("model.automatic_membership_email_domains",e.join(this.tokenSeparator))}static #_=(()=>dt7948.n(this.prototype,"onChangeEmailDomainsSetting",[a.action]))();static #b=(()=>(0,s.setComponentTemplate)((0,_.createTemplateFactory)({id:"eFyZvefN",block:'[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["groups.manage.membership.access"],null]],[13],[1,"\\n\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,1],[[24,0,"group-form-public-admission"],[16,"disabled",[30,0,["disablePublicSetting"]]]],[["@type","@checked"],["checkbox",[30,0,["model","public_admission"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],["groups.public_admission"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,1],[[24,0,"group-form-public-exit"]],[["@type","@checked"],["checkbox",[30,0,["model","public_exit"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],["groups.public_exit"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,1],[[24,0,"group-form-allow-membership-requests"],[16,"disabled",[30,0,["disableMembershipRequestSetting"]]]],[["@type","@checked"],["checkbox",[30,0,["model","allow_membership_requests"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],["groups.allow_membership_requests"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["model","allow_membership_requests"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"label"],[14,"for","membership-request-template"],[12],[1,"\\n "],[1,[28,[32,0],["groups.membership_request_template"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],[[16,2,[30,0,["model","membership_request_template"]]],[24,3,"membership-request-template"],[24,0,"group-form-membership-request-template input-xxlarge"],[4,[32,3],["input",[28,[32,4],[[28,[32,5],[[28,[31,1],[[30,0,["model","membership_request_template"]]],null]],null]],null]],null]],null,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["model","can_admin_group"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["admin.groups.manage.membership.automatic"],null]],[13],[1,"\\n\\n "],[10,"label"],[14,"for","automatic_membership"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.membership.automatic_membership_email_domains"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,6],[[24,0,"group-form-automatic-membership-automatic"]],[["@name","@value","@choices","@settingName","@nameProperty","@valueProperty","@onChange","@options"],["automatic_membership",[30,0,["emailDomains"]],[30,0,["emailDomains"]],"name",null,null,[30,0,["onChangeEmailDomainsSetting"]],[28,[32,7],null,[["allowAny"],[true]]]]],null],[1,"\\n\\n"],[41,[30,0,["showAssociatedGroups"]],[[[1," "],[10,"label"],[14,"for","automatic_membership_associated_groups"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.membership.automatic_membership_associated_groups"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,6],[[24,0,"group-form-automatic-membership-associated-groups"]],[["@name","@value","@choices","@settingName","@nameProperty","@valueProperty","@onChange"],["automatic_membership_associated_groups",[30,0,["model","associatedGroupIds"]],[30,0,["associatedGroups"]],"name","label","id",[28,[32,5],[[28,[31,1],[[30,0,["model","associated_group_ids"]]],null]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,8],null,[["@name","@connectorTagName","@outletArgs"],["groups-form-membership-below-automatic","div",[28,[32,7],null,[["model"],[[30,0,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["admin.groups.manage.membership.effects"],null]],[13],[1,"\\n "],[10,"label"],[14,"for","grant_trust_level"],[12],[1,[28,[32,0],["admin.groups.manage.membership.trust_levels_title"],null]],[13],[1,"\\n\\n "],[8,[32,9],[[24,0,"groups-form-grant-trust-level"]],[["@name","@valueProperty","@value","@content","@onChange"],["grant_trust_level","value",[30,0,["groupTrustLevel"]],[30,0,["trustLevelOptions"]],[28,[32,5],[[28,[31,1],[[30,0,["model","grant_trust_level"]]],null]],null]]],null],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,1],[[24,0,"groups-form-primary-group"]],[["@type","@checked"],["checkbox",[30,0,["model","primary_group"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],["admin.groups.manage.membership.primary_group"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","title"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.default_title"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,1],[[24,3,"title"],[24,0,"input-xxlarge"]],[["@value"],[[30,0,["model","title"]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.default_title_description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canEdit"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[8,[32,10],null,[["@model"],[[30,0,["model"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/groups-form-membership-fields.js",scope:()=>[m.i18n,s.Input,l.default,r.on,d.default,n.fn,f.default,n.hash,c.default,g.default,u.default],isStrictMode:!0}),this))()}},42016:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(77667),n=i(18555),r=i(25239),a=i(42919),o=i(61037),l=i(88820);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"composer",[n.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();beforeModel(e){let t=e.to.queryParams,i=t.username,s=t.groupname||t.group_name;if(!this.currentUser){(0,r.default)("destination_url",window.location.href),this.router.replaceWith("login");return}if(e.from)return(e.abort(),i)?this.openComposer(e,i):s?a.default.messageable(s).then(t=>{t.messageable?this.openComposer(e,s):this.dialog.alert((0,l.i18n)("composer.cant_send_pm",{username:s}))}).catch(()=>this.dialog.alert((0,l.i18n)("composer.create_message_error"))):this.openComposer(e);this.router.replaceWith("discovery.latest").followRedirects().then(()=>i?this.openComposer(e,i):s?a.default.messageable(s).then(t=>{t.messageable?this.openComposer(e,s):this.dialog.alert((0,l.i18n)("composer.cant_send_pm",{username:s}))}).catch(()=>this.dialog.alert((0,l.i18n)("composer.create_message_error"))):this.openComposer(e))}openComposer(e,t){(0,s.next)(()=>{this.composer.openNewMessage({recipients:t,title:e.to.queryParams.title,body:e.to.queryParams.body})})}}},42029:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return i[e]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},42129:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83426),n=i(88761),r=i(44904),a=i(78388);function o(e,t){return(0,n.isEmpty)(e)?(0,s.htmlSafe)(""):(0,s.htmlSafe)((0,a.avatarImg)((0,r.addExtraUserClasses)(e,{size:t,avatarTemplate:e.avatar_template})))}},42154:(e,t,i)=>{"use strict";function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}i.d(t,{A:()=>s})},42188:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(43027),n=i(88820);let r=class extends(0,s.default)("tags","private-messages-tags"){titleToken(){return[this.get("tagId"),(0,n.i18n)("tagging.tags"),(0,n.i18n)("user.private_messages")]}model(e){this.controllerFor("user-private-messages").set("tagId",e.id),this.controllerFor("user-private-messages-tags").set("tagName",e.id);let t=this.modelFor("user").get("username_lower");return this.set("tagId",e.id),this.store.findFiltered("topicList",{filter:`topics/private-messages-tags/${t}/${e.id}`})}}},42233:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>x});var s=i(87531),n=i(75289),r=i(72799),a=i(25604),o=i(4781),l=i(75527),u=i(18555),c=i(88761),d=i(11075),p=i(81539),h=i(72490),m=i(21794),g=i(12733),f=i(28106),_=i(53775),y=i(70412),b=i(23064),w=i(72523),k=i(73418),T=i(88820),S=i(16929),C=i(71209);let A=(0,i(74828).A)(i(87531)).cached;class D{static #e=(()=>dt7948.g(this.prototype,"title",[s.tracked]))();#iD=(()=>void dt7948.i(this,"title"))();static #t=(()=>dt7948.g(this.prototype,"links",[s.tracked]))();#ta=(()=>void dt7948.i(this,"links"))();static #i=(()=>dt7948.g(this.prototype,"secondaryLinks",[s.tracked]))();#le=(()=>void dt7948.i(this,"secondaryLinks"))();constructor(e){let{title:t,links:i,secondaryLinks:s,id:n,publicSection:r,sectionType:a,hideTitleInput:o}=e;this.title=t,this.public=r,this.sectionType=a,this.links=i,this.secondaryLinks=s,this.id=n,this.hideTitleInput=o}get valid(){let e=this.links.filter(e=>!e._destroy).concat(this.secondaryLinks?.filter(e=>!e._destroy)||[]),t=e.length>0&&e.every(e=>e.valid);return this.validTitle&&t}get validTitle(){return!this.#lt&&!this.#li}get invalidTitleMessage(){if(void 0!==this.title){if(this.#lt)return(0,T.i18n)("sidebar.sections.custom.title.validation.blank");if(this.#li)return(0,T.i18n)("sidebar.sections.custom.title.validation.maximum",{count:b.SIDEBAR_SECTION.max_title_length})}}get titleCssClass(){return void 0===this.title||this.validTitle?"":"warning"}get #lt(){return(0,c.isEmpty)(this.title)}get #li(){return this.title.length>b.SIDEBAR_SECTION.max_title_length}}class M{static #e=(()=>dt7948.g(this.prototype,"icon",[s.tracked]))();#op=(()=>void dt7948.i(this,"icon"))();static #t=(()=>dt7948.g(this.prototype,"name",[s.tracked]))();#is=(()=>void dt7948.i(this,"name"))();static #i=(()=>dt7948.g(this.prototype,"value",[s.tracked]))();#sm=(()=>void dt7948.i(this,"value"))();static #s=(()=>dt7948.g(this.prototype,"_destroy",[s.tracked]))();#ls=(()=>void dt7948.i(this,"_destroy"))();constructor(e){let{router:t,icon:i,name:s,value:n,id:r,objectId:a,segment:o}=e;this.router=t,this.icon=i||"link",this.name=s,this.value=n,this.id=r,this.httpHost="http://"+window.location.host,this.httpsHost="https://"+window.location.host,this.objectId=a,this.segment=o}get path(){return this.value?.replace(this.httpHost,"").replace(this.httpsHost,"")}get valid(){return this.validIcon&&this.validName&&this.validValue}get validIcon(){return!this.#ln&&!this.#lr}get validName(){return!this.#la&&!this.#lo}get validValue(){return!this.#ll&&!this.#lu&&!this.#lc}get invalidIconMessage(){return this.#ln?(0,T.i18n)("sidebar.sections.custom.links.icon.validation.blank"):this.#lr?(0,T.i18n)("sidebar.sections.custom.links.icon.validation.maximum",{count:b.SIDEBAR_URL.max_icon_length}):void 0}get invalidNameMessage(){if(void 0!==this.name){if(this.#la)return(0,T.i18n)("sidebar.sections.custom.links.name.validation.blank");if(this.#lo)return(0,T.i18n)("sidebar.sections.custom.links.name.validation.maximum",{count:b.SIDEBAR_URL.max_name_length})}}get invalidValueMessage(){if(void 0!==this.value){if(this.#ll)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.blank");if(this.#lu)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.maximum",{count:b.SIDEBAR_URL.max_value_length});if(this.#lc)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.invalid")}}get iconCssClass(){return void 0===this.icon||this.validIcon?"":"warning"}get nameCssClass(){return void 0===this.name||this.validName?"":"warning"}get valueCssClass(){return void 0===this.value||this.validValue?"":"warning"}get isPrimary(){return"primary"===this.segment}get #ln(){return(0,c.isEmpty)(this.icon)}get #lr(){return this.icon.length>b.SIDEBAR_URL.max_icon_length}get #la(){return(0,c.isEmpty)(this.name)}get #lo(){return this.name.length>b.SIDEBAR_URL.max_name_length}get #ll(){return(0,c.isEmpty)(this.value)}get #lu(){return this.value.length>b.SIDEBAR_URL.max_value_length}get #lc(){return this.path&&!this.#ld()}#ld(){try{return new URL(this.value,document.location.origin)}catch{return!1}}}class x extends r.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[u.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"router",[u.service]))();#a=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"flash",[s.tracked]))();#Q=(()=>void dt7948.i(this,"flash"))();static #s=(()=>dt7948.g(this.prototype,"flashType",[s.tracked]))();#nA=(()=>void dt7948.i(this,"flashType"))();nextObjectId=0;get transformedModel(){let e=this.model?.section;return new D(e?{title:e.title,publicSection:e.public,sectionType:e.section_type,links:e.links.reduce((e,t)=>("primary"===t.segment&&(this.nextObjectId++,e.push(this.initLink(t))),e),(0,n.A)()),secondaryLinks:e.links.reduce((e,t)=>("secondary"===t.segment&&(this.nextObjectId++,e.push(this.initLink(t))),e),(0,n.A)()),id:e.id,hideTitleInput:this.model.hideSectionHeader}:{links:(0,n.A)([new M({router:this.router,objectId:this.nextObjectId,segment:"primary"})])})}static #u=(()=>dt7948.n(this.prototype,"transformedModel",[A]))();initLink(e){return new M({router:this.router,icon:e.icon,name:e.name,value:e.value,id:e.id,objectId:this.nextObjectId,segment:e.segment})}create(){return(0,_.ajax)("/sidebar_sections",{type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({title:this.transformedModel.title,public:this.transformedModel.public,links:this.transformedModel.links.map(e=>({icon:e.icon,name:e.name,value:e.path}))})}).then(e=>{this.currentUser.set("sidebar_sections",this.currentUser.sidebar_sections.concat(e.sidebar_section)),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})}update(){this.wasPublic||this.isPublic?this.#lp():this.#lh()}#lp(){return this.dialog.yesNoConfirm({message:this.isPublic?(0,T.i18n)("sidebar.sections.custom.update_public_confirm"):(0,T.i18n)("sidebar.sections.custom.mark_as_private_confirm"),didConfirm:()=>this.#lh()})}#lh(){return(0,_.ajax)(`/sidebar_sections/${this.transformedModel.id}`,{type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify({title:this.transformedModel.title,public:this.transformedModel.public,links:this.transformedModel.links.concat(this.transformedModel?.secondaryLinks||[]).map(e=>({id:e.id,icon:e.icon,name:e.name,value:e.path,segment:e.segment,_destroy:e._destroy}))})}).then(e=>{let t=this.currentUser.sidebar_sections.map(t=>t.id===e.sidebar_section.id?e.sidebar_section:t);this.currentUser.set("sidebar_sections",t),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})}get activeLinks(){return this.transformedModel.links.filter(e=>!e._destroy)}get activeSecondaryLinks(){return this.transformedModel.secondaryLinks?.filter(e=>!e._destroy)}get header(){return this.transformedModel.id?"sidebar.sections.custom.edit":"sidebar.sections.custom.add"}get isPublic(){return this.transformedModel.public}get wasPublic(){return this.model?.section?.public}focusNewRowInput(e){document.querySelector(`[data-row-id="${e}"] .icon-picker summary`).focus()}static #c=(()=>dt7948.n(this.prototype,"focusNewRowInput",[w.afterRender]))();setDraggedLink(e){this.draggedLink=e}static #_=(()=>dt7948.n(this.prototype,"setDraggedLink",[w.bind]))();reorder(e,t){if(this.draggedLink!==e)if(this.draggedLink.isPrimary?this.transformedModel.links.removeObject(this.draggedLink):this.transformedModel.secondaryLinks?.removeObject(this.draggedLink),e.isPrimary){let i=this.transformedModel.links.indexOf(e);this.draggedLink.segment="primary",this.transformedModel.links.insertAt(t?i:i+1,this.draggedLink)}else{this.draggedLink.segment="secondary";let i=this.transformedModel.secondaryLinks.indexOf(e);this.transformedModel.secondaryLinks.insertAt(t?i:i+1,this.draggedLink)}}static #b=(()=>dt7948.n(this.prototype,"reorder",[w.bind]))();get canDelete(){return this.transformedModel.id&&!this.transformedModel.sectionType}deleteLink(e){e.id?e._destroy="1":e.isPrimary?this.transformedModel.links.removeObject(e):this.transformedModel.secondaryLinks.removeObject(e)}static #v=(()=>dt7948.n(this.prototype,"deleteLink",[w.bind]))();addLink(){this.nextObjectId=this.nextObjectId+1,this.transformedModel.links.pushObject(new M({router:this.router,objectId:this.nextObjectId,segment:"primary"})),this.focusNewRowInput(this.nextObjectId)}static #w=(()=>dt7948.n(this.prototype,"addLink",[l.action]))();addSecondaryLink(){this.nextObjectId=this.nextObjectId+1,this.transformedModel.secondaryLinks.pushObject(new M({router:this.router,objectId:this.nextObjectId,segment:"secondary"})),this.focusNewRowInput(this.nextObjectId)}static #k=(()=>dt7948.n(this.prototype,"addSecondaryLink",[l.action]))();resetToDefault(){return this.dialog.yesNoConfirm({message:(0,T.i18n)("sidebar.sections.custom.reset_confirm"),didConfirm:()=>(0,_.ajax)(`/sidebar_sections/reset/${this.transformedModel.id}`,{type:"PUT"}).then(e=>{this.currentUser.sidebar_sections.shiftObject(),this.currentUser.sidebar_sections.unshiftObject(e.sidebar_section),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"}),didCancel:()=>{this.closeModal()}})}static #T=(()=>dt7948.n(this.prototype,"resetToDefault",[l.action]))();save(){this.transformedModel.id?this.update():this.create()}static #S=(()=>dt7948.n(this.prototype,"save",[l.action]))();delete(){return this.dialog.yesNoConfirm({message:this.model.section.public?(0,T.i18n)("sidebar.sections.custom.delete_public_confirm"):(0,T.i18n)("sidebar.sections.custom.delete_confirm"),didConfirm:()=>(0,_.ajax)(`/sidebar_sections/${this.transformedModel.id}`,{type:"DELETE"}).then(()=>{let e=this.currentUser.sidebar_sections.filter(e=>e.id!==this.transformedModel.id);this.currentUser.set("sidebar_sections",e),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})})}static #C=(()=>dt7948.n(this.prototype,"delete",[l.action]))();static #A=(()=>(0,r.setComponentTemplate)((0,C.createTemplateFactory)({id:"skFDswWr",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"sidebar-section-form-modal"]],[["@closeModal","@flash","@flashType","@title"],[[30,1],[30,0,["flash"]],[30,0,["flashType"]],[28,[32,1],[[30,0,["header"]]],null]]],[["body","footer"],[[[[1,"\\n "],[10,"form"],[14,0,"form-horizontal sidebar-section-form"],[12],[1,"\\n"],[41,[51,[30,0,["transformedModel","hideTitleInput"]]],[[[1," "],[10,0],[14,0,"sidebar-section-form__input-wrapper"],[12],[1,"\\n "],[10,"label"],[14,"for","section-name"],[12],[1,"\\n "],[1,[28,[32,1],["sidebar.sections.custom.title.label"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],[[24,3,"section-name"],[16,0,[30,0,["transformedModel","titleCssClass"]]],[24,1,"section-name"],[4,[32,3],["input",[28,[32,4],[[28,[32,5],[[28,[31,1],[[30,0,["transformedModel","title"]]],null]],null]],null]],null]],[["@type","@value"],["text",[30,0,["transformedModel","title"]]]],null],[1,"\\n\\n"],[41,[30,0,["transformedModel","invalidTitleMessage"]],[[[1," "],[10,0],[14,0,"title warning"],[12],[1,"\\n "],[1,[30,0,["transformedModel","invalidTitleMessage"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,"role","table"],[15,"aria-rowcount",[30,0,["activeLinks","length"]]],[14,0,"sidebar-section-form__links-wrapper"],[12],[1,"\\n\\n "],[10,0],[14,0,"row-wrapper header"],[14,"role","row"],[12],[1,"\\n "],[10,0],[14,0,"input-group link-icon"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.icon.label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"input-group link-name"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.name.label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"input-group link-url"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.value.label"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["activeLinks"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@link","@deleteLink","@reorderCallback","@setDraggedLinkCallback"],[[30,2],[30,0,["deleteLink"]],[30,0,["reorder"]],[30,0,["setDraggedLink"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,7],[[24,0,"btn-flat btn-text add-link"]],[["@action","@title","@icon","@label","@ariaLabel"],[[30,0,["addLink"]],"sidebar.sections.custom.links.add","plus","sidebar.sections.custom.links.add","sidebar.sections.custom.links.add"]],null],[1,"\\n\\n"],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,1],["sidebar.sections.custom.more_menu"],null]],[13],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["activeSecondaryLinks"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@link","@deleteLink","@reorderCallback","@setDraggedLinkCallback"],[[30,3],[30,0,["deleteLink"]],[30,0,["reorder"]],[30,0,["setDraggedLink"]]]],null],[1,"\\n"]],[3]],null],[1," "],[8,[32,7],[[24,0,"btn-flat btn-text add-link"]],[["@action","@title","@icon","@label","@ariaLabel"],[[30,0,["addSecondaryLink"]],"sidebar.sections.custom.links.add","plus","sidebar.sections.custom.links.add","sidebar.sections.custom.links.add"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,7],[[24,1,"save-section"],[24,0,"btn-primary"]],[["@action","@label","@ariaLabel","@disabled"],[[30,0,["save"]],"sidebar.sections.custom.save","sidebar.sections.custom.save",[28,[32,8],[[30,0,["transformedModel","valid"]]],null]]],null],[1,"\\n"],[41,[28,[32,9],[[30,0,["currentUser","admin"]]],null],[[[1," "],[10,0],[15,0,[29,["mark-public-wrapper\\n ",[52,[30,0,["transformedModel","sectionType"]],"-disabled"]]]],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n"],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[8,[32,10],[[24,0,"always-public-tooltip"]],[["@content"],[[28,[32,1],["sidebar.sections.custom.always_public"],null]]],[["trigger"],[[[[1,"\\n "],[1,[28,[32,11],["square-check"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["sidebar.sections.custom.public"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mark-public"],[16,"disabled",[30,0,["transformedModel","sectionType"]]]],[["@type","@checked"],["checkbox",[30,0,["transformedModel","public"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["sidebar.sections.custom.public"],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["canDelete"]],[[[1," "],[8,[32,7],[[24,1,"delete-section"],[24,0,"btn-danger delete"]],[["@icon","@action","@label","@ariaLabel"],["trash-can",[30,0,["delete"]],"sidebar.sections.custom.delete","sidebar.sections.custom.delete"]],null],[1,"\\n"]],[]],null],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[8,[32,7],[[24,0,"btn-flat btn-text reset-link"]],[["@action","@icon","@title","@label","@ariaLabel"],[[30,0,["resetToDefault"]],"arrow-rotate-left","sidebar.sections.custom.links.reset","sidebar.sections.custom.links.reset","sidebar.sections.custom.links.reset"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","link","link"],false,["unless","mut","if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/sidebar-section-form.js",scope:()=>[h.default,T.i18n,r.Input,o.on,f.default,a.fn,m.default,p.default,d.not,d.and,S.default,g.default],isStrictMode:!0}),this))()}},42259:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(95766),n=i(62838),r=i(18555),a=i(83426),o=i(54074),l=i(70677),u=i(35794),c=i(88820),d=i(72799),p=i(71209);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();get contents(){let e=this.args.i18nLabel||(0,c.i18n)(this.args.label);return this.args.icon?(0,a.htmlSafe)(`${(0,u.iconHTML)(this.args.icon)} ${e}`):e}get active(){if(this.args.route&&this.router.currentRoute){if(this.args.routeParam){if("adminPlugins.show.settings"===this.router.currentRoute.name)return this.router.currentRoute.parent.params.plugin_id===this.args.routeParam;if(this.router.currentRoute.params.filter)return this.router.currentRoute.params.filter===this.args.routeParam;if(this.router.currentRoute.params.field_name)return this.router.currentRoute.params.field_name===this.args.routeParam}return this.router.isActive(this.args.route)}}static #t=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"Ady/Tm2D",block:'[[[1,"\\n "],[11,"li"],[16,0,[28,[32,0],[[52,[30,0,["active"]],"active"],[30,1]],null]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[8,[32,1],null,[["@route","@model","@current-when"],[[30,4],[30,3],[30,0,["active"]]]],[["default"],[[[[1,[30,0,["contents"]]]],[]]]]],[1,"\\n"]],[]],[[[41,[30,4],[[[1," "],[8,[32,1],null,[["@route"],[[30,4]]],[["default"],[[[[1,[30,0,["contents"]]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,3],[15,6,[28,[32,2],[[30,5]],null]],[14,"data-auto-route","true"],[12],[1,[30,0,["contents"]]],[13],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["@class","&attrs","@routeParam","@route","@path"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/nav-item.js",scope:()=>[o.default,n.LinkTo,l.default],isStrictMode:!0}),this))()}},42327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CI:()=>n,DEBUG:()=>s});let s=!1,n=!1},42349:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(75527),n=i(32504),r=i(3532),a=i.n(r),o=i(56150),l=i(97689),u=i(56729),c=i(59719),d=i(32417),p=i(33571),h=i(84190);let m="MORE_ICONS_COLLECTION",g=dt7948.c(class extends p.default{init(){super.init(...arguments),this._cachedIconsList=null,this._resultCount=0,(0,l.isDevelopment)()&&(0,c.disableMissingIconWarning)(),this.insertAfterCollection(h.MAIN_COLLECTION,m)}modifyComponentForCollection(e){if(e===m)return d.default}modifyContentForCollection(e){if(e===m)return{shouldShowMoreTip:200===this._resultCount}}get content(){return(0,u.makeArray)(this.value).map(this._processIcon)}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("value.[]")]))();search(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e&&this._cachedIconsList?.length?(this._resultCount=this._cachedIconsList.length,this._cachedIconsList):(0,o.ajax)("/svg-sprite/picker-search",{data:{filter:e,only_available:this.onlyAvailable}}).then(t=>(t=t.map(this._processIcon),""===e&&(this._cachedIconsList=t),this._resultCount=t.length,t))}_processIcon(e){let t="object"==typeof e?e.id:e,i=(0,c.convertIconClass)(t),s="#svg-sprites",n="ajax-icon-holder";return"object"==typeof e&&(0===a()(`${s} .${n}`).length&&a()(s).append(``),a()(`${s} symbol#${i}`).length||a()(`${s} .${n}`).append(``)),{id:t,name:t,icon:i}}willDestroyElement(){a()("#svg-sprites .ajax-icon-holder").remove(),super.willDestroyElement(...arguments),this._cachedIconsList=null,this._resultCount=0,(0,l.isDevelopment)()&&(0,c.enableMissingIconWarning)()}_onChange(e,t){1===this.selectKit.options.maximum&&(e=e.length?e[0]:null,t=t.length?t[0]:null),this.onChange?.(e,t)}static #t=(()=>dt7948.n(this.prototype,"_onChange",[s.action]))()},[(0,h.pluginApiIdentifiers)("icon-picker"),(0,n.classNames)("icon-picker")])},42353:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(97527),r=i(18555),a=i(99864),o=i.n(a),l=i(55230),u=i(48365),c=i(72523),d=i(69989),p=i(72799),h=i(71209);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();textarea;registerTextarea=(()=>(0,l.modifier)(e=>{for(let[t,i]of(this.textarea=e,this.#lm=new(o())(e),this.textManipulation=new d.default((0,n.getOwner)(this),{markdownOptions:this.args.markdownOptions,textarea:e}),Object.entries(this.args.keymap)))this.#lm.bind(t,i);let t=this.args.onSetup(this.textManipulation);return this.setupSmartList(),()=>{this.destroySmartList(),t?.(),this.#lm?.destroy(),this.#lm=null}}))();#lm;#lg=!1;#lf=!1;onInputSmartList(){this.#lg&&this.textManipulation.maybeContinueList(),this.#lg=!1}static #t=(()=>dt7948.n(this.prototype,"onInputSmartList",[c.bind]))();onBeforeInputSmartListShiftDetect(e){this.#lf=e.shiftKey}static #i=(()=>dt7948.n(this.prototype,"onBeforeInputSmartListShiftDetect",[c.bind]))();onBeforeInputSmartList(e){this.#lf||(this.#lg="insertLineBreak"===e.inputType)}static #s=(()=>dt7948.n(this.prototype,"onBeforeInputSmartList",[c.bind]))();setupSmartList(){this.currentUser.user_option.enable_smart_lists&&(this.textarea.addEventListener("beforeinput",this.onBeforeInputSmartList),this.textarea.addEventListener("keydown",this.onBeforeInputSmartListShiftDetect),this.textarea.addEventListener("input",this.onInputSmartList))}destroySmartList(){this.currentUser.user_option.enable_smart_lists&&(this.textarea.removeEventListener("beforeinput",this.onBeforeInputSmartList),this.textarea.removeEventListener("keydown",this.onBeforeInputSmartListShiftDetect),this.textarea.removeEventListener("input",this.onInputSmartList))}static #u=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"ULJQtalr",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[30,1]],[4,[30,0,["registerTextarea"]],null,null]],[["@autocomplete","@value","@placeholder","@aria-label","@disabled","@input","@focusIn","@focusOut","@id"],["off",[30,2],[30,3],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n "]],["@class","@value","@placeholder","@disabled","@change","@focusIn","@focusOut","@id"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer/textarea-editor.js",scope:()=>[u.default],isStrictMode:!0}),this))()}},42381:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createSiteSettingsFromPreloaded:()=>a,default:()=>o});var s=i(88984),n=i(72577),r=i(13376);function a(e){let t=new s.TrackedObject(e);return t.groupSettingArray=e=>{let i=t[e];return i?i.toString().split("|").filter(Boolean).map(e=>parseInt(e,10)):[]},t}let o=dt7948.c(class{static isServiceFactory=!0;static create(){return a(r.default.get("siteSettings"))}},[n.disableImplicitInjections])},42382:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(95766),n=i(87531),r=i(25604),a=i(4781),o=i(75527),l=i(18555),u=i(88761),c=i(81539),d=i(72490),p=i(24633),h=i(28106),m=i(88820),g=i(72799),f=i(71209);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"post",[n.tracked],function(){return this.args.model.post}))();#l_=(()=>void dt7948.i(this,"post"))();static #i=(()=>dt7948.g(this.prototype,"notice",[n.tracked],function(){return this.args.model.post.notice?.raw??""}))();#ly=(()=>void dt7948.i(this,"notice"))();static #s=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#iE=(()=>void dt7948.i(this,"saving"))();resolve=this.args.model.resolve;reject=this.args.model.reject;get disabled(){return this.saving||(0,u.isEmpty)(this.notice)||this.notice===this.post.notice?.raw}saveNotice(){this.setNotice(this.notice)}static #u=(()=>dt7948.n(this.prototype,"saveNotice",[o.action]))();deleteNotice(){this.setNotice()}static #c=(()=>dt7948.n(this.prototype,"deleteNotice",[o.action]))();setNotice(e){let{resolve:t,reject:i}=this;this.saving=!0,this.resolve=null,this.reject=null,this.post.updatePostField("notice",e).then(t=>{if(e)return t.cooked_notice}).then(t=>{this.post.set("notice",t?{type:"custom",raw:e,cooked:t.toString()}:null),this.post.set("noticeCreatedByUser",this.currentUser)}).then(t,i).finally(()=>this.args.closeModal())}static #_=(()=>dt7948.n(this.prototype,"setNotice",[o.action]))();static #b=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"Z3b3bsyH",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"change-post-notice-modal"]],[["@title","@closeModal"],[[52,[30,1,["post","notice"]],[28,[32,1],["post.controls.change_post_notice"],null],[28,[32,1],["post.controls.add_post_notice"],null]],[30,2]]],[["body","footer"],[[[[1,"\\n "],[10,"form"],[12],[1,"\\n "],[11,"textarea"],[16,2,[30,0,["notice"]]],[4,[32,2],["input",[28,[32,3],[[28,[32,4],[[28,[31,1],[[30,0,["notice"]]],null]],null]],null]],null],[12],[13],[1," "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,5],[[24,0,"btn-primary"]],[["@label","@action","@disabled"],[[52,[30,0,["saving"]],"saving","save"],[28,[32,4],[[30,0,["setNotice"]],[30,0,["notice"]]],null],[30,0,["disabled"]]]],null],[1,"\\n"],[41,[30,1,["post","notice"]],[[[1," "],[8,[32,5],[[24,0,"btn-danger"]],[["@label","@action","@disabled"],["post.controls.delete_post_notice",[30,0,["setNotice"]],[30,0,["saving"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,6],null,[["@close"],[[30,2]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@model","@closeModal"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/change-post-notice.js",scope:()=>[d.default,m.i18n,a.on,h.default,r.fn,c.default,p.default],isStrictMode:!0}),this))()}},42496:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(25604),r=i(62838),a=i(18555),o=i(33503),l=i(53769),u=i(12733),c=i(88820),d=i(77444),p=i(72799),h=i(71209);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"+zvAtVD5",block:'[[[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,0],null,[["@groups","@value"],[[30,1,["extras","visible_group_names"]],[30,1,["name"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,1],[[24,0,"group-nav"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,2],null,[["@route"],["groups.index"]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],["groups.index.all"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,2],[[16,"title",[30,3,["message"]]],[16,0,[30,3,["name"]]]],[["@route","@model"],[[30,3,["route"]],[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,3,["icon"]],[[[1," "],[1,[28,[32,4],[[30,3,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[1,[30,3,["message"]]],[1,"\\n"],[41,[30,3,["count"]],[[[1," "],[10,1],[14,0,"count"],[12],[1,"\\n ("],[1,[30,3,["count"]]],[1,")\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[8,[32,5],null,[["@name","@outletArgs","@connectorTagName"],["group-reports-nav-item",[28,[32,6],null,[["group"],[[30,1]]]],"li"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@group","@tabs","tab"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-navigation.js",scope:()=>[d.default,o.default,r.LinkTo,c.i18n,u.default,l.default,n.hash],isStrictMode:!0}),this))()}},42530:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(83426),n=i(12733),r=i(88820),a=i(72799),o=i(71209),l=i(86960);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"wuevUDZD",block:'[[[1,"\\n "],[10,0],[14,0,"empty-state"],[12],[1,"\\n "],[10,1],[14,0,"empty-state-title"],[12],[1,"\\n "],[1,[28,[32,0],["user.no_bookmarks_title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"empty-state-body"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],[[28,[32,0],["user.no_bookmarks_body"],[["icon"],[[28,[32,2],["bookmark"],null]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/bookmarks-list-empty-state.js",scope:()=>[r.i18n,s.htmlSafe,n.default],isStrictMode:!0}),(0,l.default)(void 0,"bookmarks-list-empty-state:BookmarksListEmptyState"))},42668:(e,t,i)=>{"use strict";i.r(t),i.d(t,{emojiBasePath:()=>a,prioritizeNameFallback:()=>r,prioritizeNameInUx:()=>n});var s=i(37868);function n(e){return!(0,s.helperContext)().siteSettings.prioritize_username_in_ux&&e&&e.trim().length>0}function r(e,t){let i=(0,s.helperContext)().siteSettings;return i.display_name_on_posts&&!i.prioritize_username_in_ux&&e||t}function a(){let e=(0,s.helperContext)().siteSettings;return""===e.external_emoji_url?"/images/emoji":e.external_emoji_url}},42700:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{CompileTimeCompilationContextImpl:()=>er,DEFAULT_CAPABILITIES:()=>e_,EMPTY_BLOCKS:()=>E,MINIMAL_CAPABILITIES:()=>ey,StdLib:()=>M,WrappedBuilder:()=>eb,compilable:()=>eg,compileStatements:()=>ef,compileStd:()=>ei,debugCompiler:()=>s,invokeStaticBlock:()=>z,invokeStaticBlockWithStack:()=>V,meta:()=>H,programCompilationContext:()=>ea,templateCacheCounters:()=>ew,templateCompilationContext:()=>eo,templateFactory:()=>ek});var n=i(20272),r=i(25633),a=i(47444),o=i(45339),l=i(8215);function u(e){return t=>{if(!function(e){return Array.isArray(e)&&2===e.length}(t))return!1;let i=t[0];return i===o.SexpOpcodes.GetStrictKeyword||i===o.SexpOpcodes.GetLexicalSymbol||i===e}}Array(r.Op.Size).fill(null),Array(r.Op.Size).fill(null);let c=u(o.SexpOpcodes.GetFreeAsComponentHead),d=u(o.SexpOpcodes.GetFreeAsModifierHead),p=u(o.SexpOpcodes.GetFreeAsHelperHead),h=u(o.SexpOpcodes.GetFreeAsComponentOrHelperHead);function m(e){return e}function g(e,t,i,s,r){let{upvars:a}=m(i),o=(0,n.unwrap)(a[e[1]]),l=t.lookupBuiltInHelper(o);return s.helper(l,o)}let f={Modifier:1003,Component:1004,Helper:1005,ComponentOrHelper:1007,OptionalComponentOrHelper:1008,Local:1010,TemplateLocal:1011},_={Label:1e3,StartLabels:1001,StopLabels:1002,Start:1e3},y={Label:1,IsStrictMode:2,DebugSymbols:3,Block:4,StdLib:5,NonSmallInt:6,SymbolTable:7,Layout:8};function b(e){return{type:y.Label,value:e}}function w(){return{type:y.IsStrictMode,value:void 0}}function k(e){return{type:y.StdLib,value:e}}function T(e){return{type:y.SymbolTable,value:e}}function S(e){return{type:y.Layout,value:e}}class C{labels=(()=>(0,n.dict)())();targets=[];label(e,t){this.labels[e]=t}target(e,t){this.targets.push({at:e,target:t})}patch(e){let{targets:t,labels:i}=this;for(let{at:s,target:r}of t){let t=i[r]-s;(0,n.assert)(-1===e.getbyaddr(s),"Expected heap to contain a placeholder, but it did not"),e.setbyaddr(s,t)}}}function A(e,t,i,s,r){if(function(e){return e<_.Start}(r[0])){let[i,...s]=r;e.push(t,i,...s)}else switch(r[0]){case _.Label:return e.label(r[1]);case _.StartLabels:return e.startLabels();case _.StopLabels:return e.stopLabels();case f.Component:return function(e,t,i,s){let[,r,a]=s;if((0,n.assert)(c(r),"Attempted to resolve a component with incorrect opcode"),r[0]===o.SexpOpcodes.GetLexicalSymbol){let{scopeValues:e,owner:s}=i,o=(0,n.expect)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];a(t.component(o,(0,n.expect)(s,"BUG: expected owner when resolving component definition")))}else{let{upvars:s,owner:o}=m(i),l=(0,n.unwrap)(s[r[1]]),u=e.lookupComponent(l,o);a(t.resolvedComponent(u,l))}}(i,t,s,r);case f.Modifier:return function(e,t,i,s){let[,r,a]=s;(0,n.assert)(d(r),"Attempted to resolve a modifier with incorrect opcode");let l=r[0];if(l===o.SexpOpcodes.GetLexicalSymbol){let{scopeValues:e}=i,s=(0,n.expect)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];a(t.modifier(s))}else if(l===o.SexpOpcodes.GetStrictKeyword){let{upvars:s}=m(i),o=(0,n.unwrap)(s[r[1]]),l=e.lookupBuiltInModifier(o);a(t.modifier(l,o))}else{let{upvars:s,owner:o}=m(i),l=(0,n.unwrap)(s[r[1]]),u=e.lookupModifier(l,o);a(t.modifier(u,l))}}(i,t,s,r);case f.Helper:return function(e,t,i,s){let[,r,a]=s;(0,n.assert)(p(r),"Attempted to resolve a helper with incorrect opcode");let l=r[0];if(l===o.SexpOpcodes.GetLexicalSymbol){let{scopeValues:e}=i,s=(0,n.expect)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];a(t.helper(s))}else if(l===o.SexpOpcodes.GetStrictKeyword)a(g(r,e,i,t,"helper"));else{let{upvars:s,owner:o}=m(i),l=(0,n.unwrap)(s[r[1]]),u=e.lookupHelper(l,o);a(t.helper(u,l))}}(i,t,s,r);case f.ComponentOrHelper:return function(e,t,i,s){let[,r,{ifComponent:a,ifHelper:l}]=s;(0,n.assert)(h(r),"Attempted to resolve a component or helper with incorrect opcode");let u=r[0];if(u===o.SexpOpcodes.GetLexicalSymbol){let{scopeValues:e,owner:s}=i,o=(0,n.expect)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]],u=t.component(o,(0,n.expect)(s,"BUG: expected owner when resolving component definition"),!0);if(null!==u)return void a(u);let c=t.helper(o,null,!0);l((0,n.expect)(c,"BUG: helper must exist"))}else if(u===o.SexpOpcodes.GetStrictKeyword)l(g(r,e,i,t,"component or helper"));else{let{upvars:s,owner:o}=m(i),u=(0,n.unwrap)(s[r[1]]),c=e.lookupComponent(u,o);if(null!==c)a(t.resolvedComponent(c,u));else{let i=e.lookupHelper(u,o);l(t.helper(i,u))}}}(i,t,s,r);case f.OptionalComponentOrHelper:return function(e,t,i,s){let[,r,{ifComponent:a,ifHelper:l,ifValue:u}]=s;(0,n.assert)(h(r),"Attempted to resolve an optional component or helper with incorrect opcode");let c=r[0];if(c===o.SexpOpcodes.GetLexicalSymbol){let{scopeValues:e,owner:s}=i,o=(0,n.expect)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];if("function"!=typeof o&&("object"!=typeof o||null===o))return void u(t.value(o));let c=t.component(o,(0,n.expect)(s,"BUG: expected owner when resolving component definition"),!0);if(null!==c)return void a(c);let d=t.helper(o,null,!0);if(null!==d)return void l(d);u(t.value(o))}else if(c===o.SexpOpcodes.GetStrictKeyword)l(g(r,e,i,t,"value"));else{let{upvars:s,owner:o}=m(i),u=(0,n.unwrap)(s[r[1]]),c=e.lookupComponent(u,o);if(null!==c)return void a(t.resolvedComponent(c,u));let d=e.lookupHelper(u,o);null!==d&&l(t.helper(d,u))}}(i,t,s,r);case f.Local:{let e=r[1],t=(0,n.expect)(s.upvars,"BUG: attempted to resolve value but no upvars found")[e];(0,r[2])(t,s.moduleName);break}case f.TemplateLocal:{let[,e,i]=r,a=(0,n.expect)(s.scopeValues,"BUG: Attempted to get a template local, but template does not have any")[e];i(t.value(a));break}default:throw Error(`Unexpected high level opcode ${r[0]}`)}}class D{labelsStack=(()=>new n.Stack)();encoder=(()=>new a.InstructionEncoderImpl([]))();errors=[];handle;constructor(e,t,i){this.heap=e,this.meta=t,this.stdlib=i,this.handle=e.malloc()}error(e){this.encoder.encode(r.Op.Primitive,0),this.errors.push(e)}commit(e){let t=this.handle;return this.heap.pushMachine(r.MachineOp.Return),this.heap.finishMalloc(t,e),(0,n.isPresentArray)(this.errors)?{errors:this.errors,handle:t}:t}push(e,t){let{heap:i}=this,s=t|((0,r.isMachineOp)(t)?r.MACHINE_MASK:0)|(arguments.length<=2?0:arguments.length-2)<=0;t--){let i=(0,n.unwrap)(s[t]);e(_.Label,i.label),e(r.Op.Pop,1),i.callback(),0!==t&&e(r.MachineOp.Jump,b("END"))}e(_.Label,"END"),e(_.StopLabels),e(r.Op.Exit)}function G(e,t,i){e(_.StartLabels),e(r.MachineOp.PushFrame),e(r.MachineOp.ReturnTo,b("ENDINITIAL"));let s=t();e(r.Op.Enter,s),i(),e(_.Label,"FINALLY"),e(r.Op.Exit),e(r.MachineOp.Return),e(_.Label,"ENDINITIAL"),e(r.MachineOp.PopFrame),e(_.StopLabels)}function J(e,t,i,s){return G(e,t,()=>{e(r.Op.JumpUnless,b("ELSE")),i(),e(r.MachineOp.Jump,b("FINALLY")),e(_.Label,"ELSE"),void 0!==s&&s()})}function Q(e,t,i,s,a,o){let{compilable:u,capabilities:c,handle:d}=t,p=i?[i,[]]:null,h=Array.isArray(o)||null===o?L(o):o;u?(e(r.Op.PushComponentDefinition,d),function(e,t){let{capabilities:i,layout:s,elementBlock:a,positional:o,named:u,blocks:c}=t,{symbolTable:d}=s;if(d.hasEval||(0,l.hasCapability)(i,r.InternalComponentCapabilities.prepareArgs))return Z(e,{capabilities:i,elementBlock:a,positional:o,named:u,atNames:!0,blocks:c,layout:s});e(r.Op.Fetch,r.$s0),e(r.Op.Dup,r.$sp,1),e(r.Op.Load,r.$s0),e(r.MachineOp.PushFrame);let{symbols:p}=d,h=[],m=[],g=[],f=c.names;if(null!==a){let t=p.indexOf("&attrs");-1!==t&&($(e,a),h.push(t))}for(let t of f){let i=p.indexOf(`&${t}`);-1!==i&&($(e,c.get(t)),h.push(i))}if((0,l.hasCapability)(i,r.InternalComponentCapabilities.createArgs)){let t=Y(e,o)<<4;t|=8;let i=n.EMPTY_STRING_ARRAY;if(null!==u){i=u[0];let t=u[1];for(let s=0;s0)),e(r.Op.SetVariable,0),(0,n.reverse)(m)))-1===t?e(r.Op.Pop,1):e(r.Op.SetVariable,t+1);for(let t of(null!==o&&e(r.Op.Pop,o.length),(0,n.reverse)(h)))e(r.Op.SetBlock,t+1);e(r.Op.Constant,S(s)),e(r.Op.CompileBlock),e(r.MachineOp.InvokeVirtual),e(r.Op.DidRenderLayout,r.$s0),e(r.MachineOp.PopFrame),e(r.Op.PopScope),(0,l.hasCapability)(i,r.InternalComponentCapabilities.dynamicScope)&&e(r.Op.PopDynamicScope),e(r.Op.CommitComponentTransaction),e(r.Op.Load,r.$s0)}(e,{capabilities:c,layout:u,elementBlock:p,positional:s,named:a,blocks:h})):(e(r.Op.PushComponentDefinition,d),Z(e,{capabilities:c,elementBlock:p,positional:s,named:a,atNames:!0,blocks:h}))}function X(e,t,i,s,n,a,o,l){let u=i?[i,[]]:null,c=Array.isArray(a)||null===a?L(a):a;G(e,()=>(U(e,t),e(r.Op.Dup,r.$sp,0),2),()=>{e(r.Op.JumpUnless,b("ELSE")),l?e(r.Op.ResolveCurriedComponent):e(r.Op.ResolveDynamicComponent,w()),e(r.Op.PushDynamicComponentInstance),Z(e,{capabilities:!0,elementBlock:u,positional:s,named:n,atNames:o,blocks:c}),e(_.Label,"ELSE")})}function Z(e,t){let{capabilities:i,elementBlock:s,positional:a,named:o,atNames:u,blocks:c,layout:d}=t,p=!!c,h=!0===i||(0,l.hasCapability)(i,r.InternalComponentCapabilities.prepareArgs)||!(!o||0===o[0].length),m=c.with("attrs",s);e(r.Op.Fetch,r.$s0),e(r.Op.Dup,r.$sp,1),e(r.Op.Load,r.$s0),e(r.MachineOp.PushFrame),function(e,t,i,s,a){let o=s.names;for(let t of o)$(e,s.get(t));let l=Y(e,t)<<4;a&&(l|=8),s&&(l|=7);let u=n.EMPTY_ARRAY;if(i){u=i[0];let t=i[1];for(let i=0;i{d?(e(r.Op.PushSymbolTable,T(d.symbolTable)),e(r.Op.Constant,S(d)),e(r.Op.CompileBlock)):e(r.Op.GetComponentLayout,r.$s0),e(r.Op.PopulateLayout,r.$s0)}),e(r.Op.Load,r.$s0)}function ee(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;e(r.Op.BeginComponentTransaction,r.$s0),e(r.Op.PushDynamicScope),e(r.Op.CreateComponent,0|t,r.$s0),n&&n(),e(r.Op.RegisterComponentDestructor,r.$s0),e(r.Op.GetComponentSelf,r.$s0),e(r.Op.VirtualRootScope,r.$s0),e(r.Op.SetVariable,0),e(r.Op.SetupForEval,r.$s0),s&&e(r.Op.SetNamedVariables,r.$s0),i&&e(r.Op.SetBlocks,r.$s0),e(r.Op.Pop,1),e(r.Op.InvokeComponentLayout,r.$s0),e(r.Op.DidRenderLayout,r.$s0),e(r.MachineOp.PopFrame),e(r.Op.PopScope),e(r.Op.PopDynamicScope),e(r.Op.CommitComponentTransaction)}function et(e,t,i){K(e,()=>e(r.Op.ContentType),s=>{s(r.ContentType.String,()=>{t?(e(r.Op.AssertSame),e(r.Op.AppendHTML)):e(r.Op.AppendText)}),"number"==typeof i?(s(r.ContentType.Component,()=>{e(r.Op.ResolveCurriedComponent),e(r.Op.PushDynamicComponentInstance),function(e){e(r.Op.Fetch,r.$s0),e(r.Op.Dup,r.$sp,1),e(r.Op.Load,r.$s0),e(r.MachineOp.PushFrame),e(r.Op.PushEmptyArgs),e(r.Op.PrepareArgs,r.$s0),ee(e,!1,!1,!0,()=>{e(r.Op.GetComponentLayout,r.$s0),e(r.Op.PopulateLayout,r.$s0)}),e(r.Op.Load,r.$s0)}(e)}),s(r.ContentType.Helper,()=>{N(e,null,null,()=>{e(r.MachineOp.InvokeStatic,i)})})):(s(r.ContentType.Component,()=>{e(r.Op.AppendText)}),s(r.ContentType.Helper,()=>{e(r.Op.AppendText)})),s(r.ContentType.SafeString,()=>{e(r.Op.AssertSame),e(r.Op.AppendSafeHTML)}),s(r.ContentType.Fragment,()=>{e(r.Op.AssertSame),e(r.Op.AppendDocumentFragment)}),s(r.ContentType.Node,()=>{e(r.Op.AssertSame),e(r.Op.AppendNode)})})}function ei(e){let t=en(e,e=>(function(e){e(r.Op.Main,r.$s0),ee(e,!1,!1,!0)})(e)),i=en(e,e=>et(e,!0,null)),s=en(e,e=>et(e,!1,null));return new M(t,en(e,e=>et(e,!0,i)),en(e,e=>et(e,!1,s)),i,s)}O.add(o.SexpOpcodes.Concat,(e,t)=>{let[,i]=t;for(let t of i)U(e,t);e(r.Op.Concat,i.length)}),O.add(o.SexpOpcodes.Call,(e,t)=>{let[,i,s,n]=t;p(i)?e(f.Helper,i,t=>{I(e,t,s,n)}):(U(e,i),N(e,s,n))}),O.add(o.SexpOpcodes.Curry,(e,t)=>{let[,i,s,n,a]=t;!function(e,t,i,s,n){e(r.MachineOp.PushFrame),B(e,s,n,!1),e(r.Op.CaptureArgs),U(e,i),e(r.Op.Curry,t,w()),e(r.MachineOp.PopFrame),e(r.Op.Fetch,r.$v0)}(e,s,i,n,a)}),O.add(o.SexpOpcodes.GetSymbol,(e,t)=>{let[,i,s]=t;e(r.Op.GetVariable,i),R(e,s)}),O.add(o.SexpOpcodes.GetLexicalSymbol,(e,t)=>{let[,i,s]=t;e(f.TemplateLocal,i,t=>{e(r.Op.ConstantReference,t),R(e,s)})}),O.add(o.SexpOpcodes.GetStrictKeyword,(e,t)=>{e(f.Local,t[1],i=>{e(f.Helper,t,t=>{I(e,t,null,null)})})}),O.add(o.SexpOpcodes.GetFreeAsHelperHead,(e,t)=>{e(f.Local,t[1],i=>{e(f.Helper,t,t=>{I(e,t,null,null)})})}),O.add(o.SexpOpcodes.Undefined,e=>P(e,void 0)),O.add(o.SexpOpcodes.HasBlock,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.HasBlock)}),O.add(o.SexpOpcodes.HasBlockParams,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.SpreadBlock),e(r.Op.CompileBlock),e(r.Op.HasBlockParams)}),O.add(o.SexpOpcodes.IfInline,(e,t)=>{let[,i,s,n]=t;U(e,n),U(e,s),U(e,i),e(r.Op.IfInline)}),O.add(o.SexpOpcodes.Not,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.Not)}),O.add(o.SexpOpcodes.GetDynamicVar,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.GetDynamicVar)}),O.add(o.SexpOpcodes.Log,(e,t)=>{let[,i]=t;e(r.MachineOp.PushFrame),B(e,i,null,!1),e(r.Op.Log),e(r.MachineOp.PopFrame),e(r.Op.Fetch,r.$v0)});let es={evalSymbols:null,upvars:null,moduleName:"stdlib",scopeValues:null,isStrictMode:!0,owner:null,size:0};function en(e,t){let{constants:i,heap:s,resolver:n}=e,r=new D(s,es);t(function(){for(var e=arguments.length,t=Array(e),s=0;s`@${e}`),e[1]]}el.add(o.SexpOpcodes.Comment,(e,t)=>e(r.Op.Comment,t[1])),el.add(o.SexpOpcodes.CloseElement,e=>e(r.Op.CloseElement)),el.add(o.SexpOpcodes.FlushElement,e=>e(r.Op.FlushElement)),el.add(o.SexpOpcodes.Modifier,(e,t)=>{let[,i,s,n]=t;d(i)?e(f.Modifier,i,t=>{e(r.MachineOp.PushFrame),B(e,s,n,!1),e(r.Op.Modifier,t),e(r.MachineOp.PopFrame)}):(U(e,i),e(r.MachineOp.PushFrame),B(e,s,n,!1),e(r.Op.Dup,r.$fp,1),e(r.Op.DynamicModifier),e(r.MachineOp.PopFrame))}),el.add(o.SexpOpcodes.StaticAttr,(e,t)=>{let[,i,s,n]=t;e(r.Op.StaticAttr,ep(i),s,n??null)}),el.add(o.SexpOpcodes.StaticComponentAttr,(e,t)=>{let[,i,s,n]=t;e(r.Op.StaticComponentAttr,ep(i),s,n??null)}),el.add(o.SexpOpcodes.DynamicAttr,(e,t)=>{let[,i,s,n]=t;U(e,s),e(r.Op.DynamicAttr,ep(i),!1,n??null)}),el.add(o.SexpOpcodes.TrustingDynamicAttr,(e,t)=>{let[,i,s,n]=t;U(e,s),e(r.Op.DynamicAttr,ep(i),!0,n??null)}),el.add(o.SexpOpcodes.ComponentAttr,(e,t)=>{let[,i,s,n]=t;U(e,s),e(r.Op.ComponentAttr,ep(i),!1,n??null)}),el.add(o.SexpOpcodes.TrustingComponentAttr,(e,t)=>{let[,i,s,n]=t;U(e,s),e(r.Op.ComponentAttr,ep(i),!0,n??null)}),el.add(o.SexpOpcodes.OpenElement,(e,t)=>{let[,i]=t;e(r.Op.OpenElement,ed(i))}),el.add(o.SexpOpcodes.OpenElementWithSplat,(e,t)=>{let[,i]=t;e(r.Op.PutComponentOperations),e(r.Op.OpenElement,ed(i))}),el.add(o.SexpOpcodes.Component,(e,t)=>{let[,i,s,n,r]=t;c(i)?e(f.Component,i,t=>{Q(e,t,s,null,n,r)}):X(e,i,s,null,n,r,!0,!0)}),el.add(o.SexpOpcodes.Yield,(e,t)=>{let[,i,s]=t;return q(e,i,s)}),el.add(o.SexpOpcodes.AttrSplat,(e,t)=>{let[,i]=t;return q(e,i,null)}),el.add(o.SexpOpcodes.Debugger,(e,t)=>{let[,i]=t;return e(r.Op.Debugger,{type:y.DebugSymbols,value:void 0},i)}),el.add(o.SexpOpcodes.Append,(e,t)=>{let[,i]=t;if(Array.isArray(i))if(h(i))e(f.OptionalComponentOrHelper,i,{ifComponent(t){Q(e,t,null,null,null,null)},ifHelper(t){e(r.MachineOp.PushFrame),I(e,t,null,null),e(r.MachineOp.InvokeStatic,k("cautious-non-dynamic-append")),e(r.MachineOp.PopFrame)},ifValue(t){e(r.MachineOp.PushFrame),e(r.Op.ConstantReference,t),e(r.MachineOp.InvokeStatic,k("cautious-non-dynamic-append")),e(r.MachineOp.PopFrame)}});else if(i[0]===o.SexpOpcodes.Call){let[,t,s,n]=i;h(t)?e(f.ComponentOrHelper,t,{ifComponent(t){Q(e,t,null,s,eh(n),null)},ifHelper(t){e(r.MachineOp.PushFrame),I(e,t,s,n),e(r.MachineOp.InvokeStatic,k("cautious-non-dynamic-append")),e(r.MachineOp.PopFrame)}}):K(e,()=>{U(e,t),e(r.Op.DynamicContentType)},t=>{t(r.ContentType.Component,()=>{e(r.Op.ResolveCurriedComponent),e(r.Op.PushDynamicComponentInstance),Z(e,{capabilities:!0,elementBlock:null,positional:s,named:n,atNames:!1,blocks:L(null)})}),t(r.ContentType.Helper,()=>{N(e,s,n,()=>{e(r.MachineOp.InvokeStatic,k("cautious-non-dynamic-append"))})})})}else e(r.MachineOp.PushFrame),U(e,i),e(r.MachineOp.InvokeStatic,k("cautious-append")),e(r.MachineOp.PopFrame);else e(r.Op.Text,null==i?"":String(i))}),el.add(o.SexpOpcodes.TrustingAppend,(e,t)=>{let[,i]=t;Array.isArray(i)?(e(r.MachineOp.PushFrame),U(e,i),e(r.MachineOp.InvokeStatic,k("trusting-append")),e(r.MachineOp.PopFrame)):e(r.Op.Text,null==i?"":String(i))}),el.add(o.SexpOpcodes.Block,(e,t)=>{let[,i,s,n,r]=t;c(i)?e(f.Component,i,t=>{Q(e,t,null,s,eh(n),r)}):X(e,i,null,s,n,r,!1,!1)}),el.add(o.SexpOpcodes.InElement,(e,t)=>{let[,i,s,n,a]=t;J(e,()=>(U(e,s),void 0===a?P(e,void 0):U(e,a),U(e,n),e(r.Op.Dup,r.$sp,0),4),()=>{e(r.Op.PushRemoteElement),z(e,i),e(r.Op.PopRemoteElement)})}),el.add(o.SexpOpcodes.If,(e,t)=>{let[,i,s,n]=t;return J(e,()=>(U(e,i),e(r.Op.ToBoolean),1),()=>{z(e,s)},n?()=>{z(e,n)}:void 0)}),el.add(o.SexpOpcodes.Each,(e,t)=>{let[,i,s,n,a]=t;return G(e,()=>(s?U(e,s):P(e,null),U(e,i),2),()=>{e(r.Op.EnterList,b("BODY"),b("ELSE")),e(r.MachineOp.PushFrame),e(r.Op.Dup,r.$fp,1),e(r.MachineOp.ReturnTo,b("ITER")),e(_.Label,"ITER"),e(r.Op.Iterate,b("BREAK")),e(_.Label,"BODY"),V(e,n,2),e(r.Op.Pop,2),e(r.MachineOp.Jump,b("FINALLY")),e(_.Label,"BREAK"),e(r.MachineOp.PopFrame),e(r.Op.ExitList),e(r.MachineOp.Jump,b("FINALLY")),e(_.Label,"ELSE"),a&&z(e,a)})}),el.add(o.SexpOpcodes.Let,(e,t)=>{let[,i,s]=t;V(e,s,Y(e,i))}),el.add(o.SexpOpcodes.WithDynamicVars,(e,t)=>{let[,i,s]=t;if(i){let[t,n]=i;Y(e,n),function(e,t,i){e(r.Op.PushDynamicScope),e(r.Op.BindDynamicScope,t),i(),e(r.Op.PopDynamicScope)}(e,t,()=>{z(e,s)})}else z(e,s)}),el.add(o.SexpOpcodes.InvokeComponent,(e,t)=>{let[,i,s,n,r]=t;c(i)?e(f.Component,i,t=>{Q(e,t,null,s,eh(n),r)}):X(e,i,null,s,n,r,!1,!1)});class em{compiled=null;constructor(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"plain block";this.statements=e,this.meta=t,this.symbolTable=i,this.moduleName=s}compile(e){return function(e,t){if(null!==e.compiled)return e.compiled;e.compiled=-1;let{statements:i,meta:s}=e,n=ef(i,s,t);return e.compiled=n,n}(this,e)}}function eg(e,t){let[i,s,n]=e.block;return new em(i,H(e),{symbols:s,hasEval:n},t)}function ef(e,t,i){let s=eo(i,t),{encoder:n,program:{constants:r,resolver:a}}=s;function o(){for(var e=arguments.length,i=Array(e),s=0;s{t(r.Op.GetComponentTagName,r.$s0),t(r.Op.PrimitiveReference),t(r.Op.Dup,r.$sp,0)}),t(r.Op.JumpUnless,b("BODY")),t(r.Op.Fetch,r.$s1),t(r.Op.PutComponentOperations),t(r.Op.OpenDynamicElement),t(r.Op.DidCreateElement,r.$s0),q(t,s,null),t(r.Op.FlushElement),t(_.Label,"BODY"),z(t,[i.block[0],[]]),t(r.Op.Fetch,r.$s1),t(r.Op.JumpUnless,b("END")),t(r.Op.CloseElement),t(_.Label,"END"),t(r.Op.Load,r.$s1),t(_.StopLabels);let c=a.encoder.commit(n.size);return"number"!=typeof c||(this.compiled=c),c}}let ev=0,ew={cacheHit:0,cacheMiss:0};function ek(e){let{id:t,moduleName:i,block:s,scope:n,isStrictMode:r}=e,a,o=t||"client-"+ev++,l=null,u=new WeakMap,c=e=>{if(void 0===a&&(a=JSON.parse(s)),void 0===e)return null===l?(ew.cacheMiss++,l=new eT({id:o,block:a,moduleName:i,owner:null,scope:n,isStrictMode:r})):ew.cacheHit++,l;let t=u.get(e);return void 0===t?(ew.cacheMiss++,t=new eT({id:o,block:a,moduleName:i,owner:e,scope:n,isStrictMode:r}),u.set(e,t)):ew.cacheHit++,t};return c.__id=o,c.__meta={moduleName:i},c}class eT{result="ok";layout=null;wrappedLayout=null;constructor(e){this.parsedLayout=e}get moduleName(){return this.parsedLayout.moduleName}get id(){return this.parsedLayout.id}get referrer(){return{moduleName:this.parsedLayout.moduleName,owner:this.parsedLayout.owner}}asLayout(){return this.layout?this.layout:this.layout=eg((0,n.assign)({},this.parsedLayout),this.moduleName)}asWrappedLayout(){return this.wrappedLayout?this.wrappedLayout:this.wrappedLayout=new eb((0,n.assign)({},this.parsedLayout),this.moduleName)}}},42752:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{mapRoutes:()=>m});var n=i(8805),r=i(36222);{let e=(0,r.buildWaiter)("@embroider/router:lazy-route-waiter");function a(){return window}class t extends n.default{seenByRoute=(()=>new Set)();lazyRoute(e){let t=a();if(t._embroiderRouteBundles_)return t._embroiderRouteBundles_.find(t=>-1!==t.names.indexOf(e))}lazyEngine(e){let t=a(),i=this._engineInfoByRoute[e];if(i&&t._embroiderEngineBundles_){let e=i.name;return t._embroiderEngineBundles_.find(t=>-1!==t.names.indexOf(e))}}isEngine(e){return!!this._engineInfoByRoute[e]}_getQPMeta(e){let t=this.lazyRoute(e.name);if(!(t&&!t.loaded||this.isEngine(e.name)&&!this.seenByRoute.has(e.name))&&(!(t=this.lazyEngine(e.name))||t.loaded)){for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n{let s=this.lazyRoute(i)??this.lazyEngine(i);if(this.seenByRoute.add(i),!s||s.loaded)return t(i);let n=e.beginAsync();return s.load().then(()=>(e.endAsync(n),s.loaded=!0,t(i)),t=>{throw e.endAsync(n),t})};return i.isEmbroiderRouterHandler=!0,i}}s=t}var o=s,l=i(69164),u=i(70677),c=i(9789),d=i(97411);class p extends o{location=(()=>(0,l.isTesting)()?"none":"history")();setupRouter(){let e=super.setupRouter(...arguments);return e&&(0,d.default)(this),e}}class h{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.name=e,this.opts=t,this.depth=i,this.children=[],this.childrenByName={},this.paths={},this.site=c.default.current(),t.path||(t.path=e),this.paths[t.path]=!0}route(e,t,i){"function"==typeof t?(i=t,t={}):t=t||{};let s=this.childrenByName[e];if(s)t.path&&(s.paths[t.path]=!0),s.extract(i);else{let s=new h(e,t,this.depth+1);s.extract(i),this.childrenByName[e]=s,this.children.push(s)}}extract(e){e&&e.call(this)}mapRoutes(e){let t=this.children;if("root"===this.name)t.forEach(t=>t.mapRoutes(e));else{let i=0===t.length?void 0:function(){t.forEach(e=>e.mapRoutes(this))};e.route(this.name,this.opts,i)}}findSegment(e){if(e&&e.length){let t=e.shift(),i=this.childrenByName[t];if(i)return 0===e.length?i:i.findSegment(e)}}findPath(e){if(e)return this.findSegment(e.split("."))}}function m(){let e=new h("root"),t=[];return Object.keys(requirejs.entries).forEach(function(i){if(/route-map$/.test(i)){let s=requirejs(i,null,null,!0);if(!s||!s.default)throw Error(i+" must export a route map.");let n=s.default;"function"==typeof n?e.extract(n):t.push(n)}}),t.forEach(t=>{let i=e.findPath(t.resource);i&&i.extract(t.map)}),(class extends p{rootURL=(()=>(0,u.default)("/"))()}).map(function(){e.mapRoutes(this),this.route("unknown",{path:"*path"})})}},42854:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(72799),n=i(25604),r=i(83426),a=i(34722),o=i(88820),l=i(70105),u=i(71209);class c extends l.default{static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"Gxgbxjts",block:'[[[1,"\\n"],[41,[30,0,["field","name"]],[[[1," "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[30,0,["field","name"]]],[41,[51,[30,0,["field","required"]]],[[[1," "],[1,[28,[32,0],["user_fields.optional"],null]]],[]],null],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label checkbox-label"],[12],[1,"\\n "],[8,[32,1],[[16,1,[28,[32,2],["user-",[30,0,["elementId"]]],null]]],[["@checked","@type"],[[30,0,["value"]],"checkbox"]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[28,[32,3],[[30,0,["field","description"]]],null]],[1,"\\n "],[41,[51,[30,0,["field","name"]]],[[[41,[30,0,["field","required"]],[[[10,1],[14,0,"required"],[12],[1,"*"],[13]],[]],null]],[]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,4],[[16,0,[52,[51,[30,1,["reason"]]],"hidden"]]],[["@validation"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n "]],["@validation"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-fields/confirm.js",scope:()=>[o.i18n,s.Input,n.concat,r.htmlSafe,a.default],isStrictMode:!0}),this))()}},42863:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TRACKED_QUERY_PARAM_VALUE:()=>r,hasTrackedFilter:()=>a,isTrackedTopic:()=>o});var s=i(9789),n=i(36649);let r="tracked";function a(e){return!!e&&(e.f===r||e.filter===r)}function o(e){if(e.category_id){for(let t of s.default.current().trackedCategoriesList)if(t.id===e.category_id||t.subcategories&&t.subcategories.some(t=>{if(t.id===e.category_id||t.subcategories&&t.subcategories.some(t=>t.id===e.category_id))return!0}))return!0}if(e.tags){for(let t of n.default.current().trackedTags)if(e.tags.includes(t))return!0}return!1}},42884:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_FEATURES:()=>n,FEATURES:()=>r,isEnabled:()=>a});var s=i(80725);let n={},r=Object.assign(n,s.E.FEATURES);function a(e){let t=r[e];return!0===t||!1===t?t:!!s.E.ENABLE_OPTIONAL_FEATURES}},42913:(e,t,i)=>{"use strict";e.exports=new(i(94950))("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},42919:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(75527),n=i(73993),r=i(57528),a=i(88761),o=i(67289),l=i(2369),u=i(53775),c=i(72523),d=i(36702),p=i(70290),h=i(25640),m=i(9789),g=i(76655),f=i(36649);class _ extends h.default{static findAll(e){return(0,u.ajax)("/groups/search.json",{data:e}).then(e=>e.map(e=>_.create(e)))}static loadMembers(e,t){return(0,u.ajax)(`/groups/${e}/members.json`,{data:t})}static mentionable(e){return(0,u.ajax)(`/groups/${e}/mentionable`)}static messageable(e){return(0,u.ajax)(`/groups/${e}/messageable`)}static checkName(e){return(0,u.ajax)("/groups/check-name",{data:{group_name:e}})}user_count=0;limit=null;offset=null;request_count=0;requestersLimit=null;requestersOffset=null;static #e=(()=>dt7948.g(this.prototype,"canEveryoneMention",[(0,r.equal)("mentionable_level",99)]))();#lb=(()=>void dt7948.i(this,"canEveryoneMention"))();init(){super.init(...arguments),this.setProperties({members:[],requesters:[]})}emailDomains(e){return(0,a.isEmpty)(e)?"":e}static #t=(()=>dt7948.n(this.prototype,"emailDomains",[(0,c.default)("automatic_membership_email_domains")]))();associatedGroupIds(e){return(0,a.isEmpty)(e)?[]:e}static #i=(()=>dt7948.n(this.prototype,"associatedGroupIds",[(0,c.default)("associated_group_ids")]))();type(e){return e?"automatic":"custom"}static #s=(()=>dt7948.n(this.prototype,"type",[(0,c.default)("automatic")]))();async reloadMembers(e,t){if((0,a.isEmpty)(this.name)||!this.can_see_members)return;t&&this.setProperties({limit:null,offset:null}),e=Object.assign({offset:(this.offset||0)+(this.limit||0)},e);let i=await _.loadMembers(this.name,e),s=new Set;i.owners.forEach(e=>s.add(e.id));let n=t?[]:this.members;n.pushObjects(i.members.map(e=>(e.owner=s.has(e.id),e.primary=e.primary_group_name===this.name,f.default.create(e)))),this.setProperties({members:n,user_count:i.meta.total,limit:i.meta.limit,offset:i.meta.offset})}findRequesters(e,t){return(0,a.isEmpty)(this.name)||!this.can_see_members?l.Promise.reject():(t&&this.setProperties({requestersOffset:null,requestersLimit:null}),e=Object.assign({offset:(this.requestersOffset||0)+(this.requestersLimit||0),requesters:!0},e),_.loadMembers(this.name,e).then(e=>{let i=t?[]:this.requesters;i.pushObjects(e.members.map(e=>f.default.create(e))),this.setProperties({requesters:i,request_count:e.meta.total,requestersLimit:e.meta.limit,requestersOffset:e.meta.offset})}))}async removeOwner(e){await (0,u.ajax)(`/admin/groups/${this.id}/owners.json`,{type:"DELETE",data:{user_id:e.id}}),await this.reloadMembers({},!0)}async removeMember(e,t){await (0,u.ajax)(`/groups/${this.id}/members.json`,{type:"DELETE",data:{user_id:e.id}}),await this.reloadMembers(t,!0)}async leave(){await (0,u.ajax)(`/groups/${this.id}/leave.json`,{type:"DELETE"}),this.set("can_see_members",this.members_visibility_level<2),await this.reloadMembers({},!0)}async addMembers(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=await (0,u.ajax)(`/groups/${this.id}/members.json`,{type:"PUT",data:{usernames:e,emails:s,notify_users:i}});t?await this._filterMembers(n.usernames):await this.reloadMembers()}async join(){await (0,u.ajax)(`/groups/${this.id}/join.json`,{type:"PUT"}),await this.reloadMembers({},!0)}async addOwners(e,t,i){let s=await (0,u.ajax)(`/groups/${this.id}/owners.json`,{type:"PUT",data:{usernames:e,notify_users:i}});t?await this._filterMembers(s.usernames):await this.reloadMembers({},!0)}_filterMembers(e){return this.reloadMembers({filter:e.join(",")})}displayName(e,t){return e||t}static #u=(()=>dt7948.n(this.prototype,"displayName",[(0,c.default)("display_name","name")]))();flairBackgroundHexColor(e){return e?e.replace(RegExp("[^0-9a-fA-F]","g"),""):null}static #c=(()=>dt7948.n(this.prototype,"flairBackgroundHexColor",[(0,c.default)("flair_bg_color")]))();flairHexColor(e){return e?e.replace(RegExp("[^0-9a-fA-F]","g"),""):null}static #_=(()=>dt7948.n(this.prototype,"flairHexColor",[(0,c.default)("flair_color")]))();isPrivate(e){return e>1}static #b=(()=>dt7948.n(this.prototype,"isPrivate",[(0,c.default)("visibility_level")]))();_updateAllowMembershipRequests(){(this.isPrivate||!this.canEveryoneMention)&&this.set("allow_membership_requests",!1)}static #v=(()=>dt7948.n(this.prototype,"_updateAllowMembershipRequests",[(0,o.observes)("isPrivate","canEveryoneMention")]))();get watchingCategories(){return this.site.lazy_load_categories&&this.watching_category_ids&&!d.default.hasAsyncFoundAll(this.watching_category_ids)&&d.default.asyncFindByIds(this.watching_category_ids).then(()=>this.notifyPropertyChange("watching_category_ids")),d.default.findByIds(this.get("watching_category_ids"))}static #w=(()=>dt7948.n(this.prototype,"watchingCategories",[n.dependentKeyCompat]))();set watchingCategories(e){this.set("watching_category_ids",e.map(e=>e.id))}get trackingCategories(){return this.site.lazy_load_categories&&this.tracking_category_ids&&!d.default.hasAsyncFoundAll(this.tracking_category_ids)&&d.default.asyncFindByIds(this.tracking_category_ids).then(()=>this.notifyPropertyChange("tracking_category_ids")),d.default.findByIds(this.get("tracking_category_ids"))}static #k=(()=>dt7948.n(this.prototype,"trackingCategories",[n.dependentKeyCompat]))();set trackingCategories(e){this.set("tracking_category_ids",e.map(e=>e.id))}get watchingFirstPostCategories(){return this.site.lazy_load_categories&&this.watching_first_post_category_ids&&!d.default.hasAsyncFoundAll(this.watching_first_post_category_ids)&&d.default.asyncFindByIds(this.watching_first_post_category_ids).then(()=>this.notifyPropertyChange("watching_first_post_category_ids")),d.default.findByIds(this.get("watching_first_post_category_ids"))}static #T=(()=>dt7948.n(this.prototype,"watchingFirstPostCategories",[n.dependentKeyCompat]))();set watchingFirstPostCategories(e){this.set("watching_first_post_category_ids",e.map(e=>e.id))}get regularCategories(){return this.site.lazy_load_categories&&this.regular_category_ids&&!d.default.hasAsyncFoundAll(this.regular_category_ids)&&d.default.asyncFindByIds(this.regular_category_ids).then(()=>this.notifyPropertyChange("regular_category_ids")),d.default.findByIds(this.get("regular_category_ids"))}static #S=(()=>dt7948.n(this.prototype,"regularCategories",[n.dependentKeyCompat]))();set regularCategories(e){this.set("regular_category_ids",e.map(e=>e.id))}get mutedCategories(){return this.site.lazy_load_categories&&this.muted_category_ids&&!d.default.hasAsyncFoundAll(this.muted_category_ids)&&d.default.asyncFindByIds(this.muted_category_ids).then(()=>this.notifyPropertyChange("muted_category_ids")),d.default.findByIds(this.get("muted_category_ids"))}static #C=(()=>dt7948.n(this.prototype,"mutedCategories",[n.dependentKeyCompat]))();set mutedCategories(e){this.set("muted_category_ids",e.map(e=>e.id))}asJSON(){let e={name:this.name,mentionable_level:this.mentionable_level,messageable_level:this.messageable_level,visibility_level:this.visibility_level,members_visibility_level:this.members_visibility_level,automatic_membership_email_domains:this.emailDomains,title:this.title,primary_group:!!this.primary_group,grant_trust_level:this.grant_trust_level,incoming_email:this.incoming_email,smtp_server:this.smtp_server,smtp_port:this.smtp_port,smtp_ssl_mode:this.smtp_ssl_mode,smtp_enabled:this.smtp_enabled,imap_server:this.imap_server,imap_port:this.imap_port,imap_ssl:this.imap_ssl,imap_mailbox_name:this.imap_mailbox_name,imap_enabled:this.imap_enabled,email_username:this.email_username,email_from_alias:this.email_from_alias,email_password:this.email_password,flair_icon:null,flair_upload_id:null,flair_bg_color:this.flairBackgroundHexColor,flair_color:this.flairHexColor,bio_raw:this.bio_raw,public_admission:this.public_admission,public_exit:this.public_exit,allow_membership_requests:this.allow_membership_requests,full_name:this.full_name,default_notification_level:this.default_notification_level,membership_request_template:this.membership_request_template,publish_read_state:this.publish_read_state,allow_unknown_sender_topic_replies:this.allow_unknown_sender_topic_replies};["muted","regular","watching","tracking","watching_first_post"].forEach(t=>{let i=this.get("watching_first_post"===t?"watchingFirstPostCategories":t+"Categories");i&&(e[t+"_category_ids"]=i.length>0?i.map(e=>e.get("id")):[-1]);let s=this.get(t+"_tags");s&&(e[t+"_tags"]=s.length>0?s:[""])});let t=this.associated_group_ids;return t&&(e.associated_group_ids=t.length?t:[null]),"icon"===this.flair_type?e.flair_icon=this.flair_icon:"image"===this.flair_type&&(e.flair_upload_id=this.flair_upload_id),this.id||(e.usernames=this.usernames,e.owner_usernames=this.ownerUsernames),e}async create(){let e=await (0,u.ajax)("/admin/groups",{type:"POST",data:{group:this.asJSON()}});this.setProperties({id:e.basic_group.id,usernames:null,ownerUsernames:null}),await this.reloadMembers()}save(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,u.ajax)(`/groups/${this.id}`,{type:"PUT",data:{group:this.asJSON(),...e}})}destroy(){if(this.id)return(0,u.ajax)(`/admin/groups/${this.id}`,{type:"DELETE"})}findLogs(e,t){return(0,u.ajax)(`/groups/${this.name}/logs.json`,{data:{offset:e,filters:t}}).then(e=>s.default.create({logs:e.logs.map(e=>p.default.create(e)),all_loaded:e.all_loaded}))}async findPosts(e){let t=(e=e||{}).type||"posts",i={};e.before&&(i.before=e.before),e.categoryId&&(i.category_id=parseInt(e.categoryId,10));let n=await (0,u.ajax)(`/groups/${this.name}/${t}.json`,{data:i});return n.categories?.forEach(e=>{m.default.current().updateCategory(e)}),n.posts.map(e=>(e.user=f.default.create(e.user),e.topic=g.default.create(e.topic),e.category=d.default.findById(e.category_id),s.default.create(e)))}setNotification(e,t){return this.set("group_user.notification_level",e),(0,u.ajax)(`/groups/${this.name}/notifications`,{data:{notification_level:e,user_id:t},type:"POST"})}requestMembership(e){return(0,u.ajax)(`/groups/${this.name}/request_membership.json`,{type:"POST",data:{reason:e}})}}},42924:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,i,s,n){var r,a=t.words[s];return 1===s.length?"y"===s&&i?"једна година":n||i?a[0]:a[1]:(r=t.correctGrammaticalCase(e,a),"yy"===s&&i&&"годину"===r)?e+" година":e+" "+r}};return e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},42938:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{$:()=>ej,A:()=>ei,B:()=>E,C:()=>em,D:()=>n,E:()=>j,F:()=>F,G:()=>H,H:()=>q,I:()=>en,J:()=>L,K:()=>S,L:()=>D,M:()=>C,N:()=>V,O:()=>eP,P:()=>eC,Q:()=>eo,R:()=>ey,S:()=>eI,T:()=>ep,U:()=>eb,V:()=>eM,W:()=>eL,X:()=>G,Y:()=>K,Z:()=>T,_:()=>ex,a:()=>w,b:()=>N,c:()=>e_,d:()=>ev,e:()=>B,f:()=>O,g:()=>eD,h:()=>eA,i:()=>x,j:()=>X,k:()=>$,l:()=>ed,m:()=>ec,n:()=>eu,o:()=>y,p:()=>eF,q:()=>eS,r:()=>P,s:()=>R,t:()=>k,u:()=>s,v:()=>J,w:()=>Q,x:()=>z,y:()=>ek,z:()=>ew});var r=i(78212),a=i(61535);i(11191);var o=i(77350),l=i(38230),u=i(8215),c=i(80725),d=i(44255),p=i(3727),h=i(53778),m=i(63347),g=i(20151),f=i(2143),_=i(73583);function y(e,t){return Array.isArray(e)?e[t]:e.objectAt(t)}let b=(0,d.s)("SELF_TAG");function w(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0,n=(0,u.getCustomTagFor)(e);return void 0!==n?n(e,t,i):(0,l.tagFor)(e,t,s)}function k(e){return(0,a.e)(e)?(0,l.tagFor)(e,b):l.CONSTANT_TAG}function T(e,t){(0,l.dirtyTagFor)(e,t),(0,l.dirtyTagFor)(e,b)}let S=new WeakSet;function C(e,t,i){let s=e.readableLazyChainsFor(t);if(void 0!==s){if((0,a.e)(i))for(let[e,t]of s)(0,l.updateTag)(e,D(i,t,(0,l.tagMetaFor)(i),(0,r.peekMeta)(i)));s.length=0}}function A(e,t,i,s){let n=[];for(let r of t)M(n,e,r,i,s);return(0,l.combine)(n)}function D(e,t,i,s){return(0,l.combine)(M([],e,t,i,s))}function M(e,t,i,s,n){let o,u,c=t,d=s,p=n,h=i.length,m=-1;for(;;){let t=m+1;if(-1===(m=i.indexOf(".",t))&&(m=h),"@each"===(o=i.slice(t,m))&&m!==h){t=m+1,m=i.indexOf(".",t);let s=c.length;if("number"==typeof s&&(Array.isArray(c)||"objectAt"in c)){if(0===s){e.push(w(c,"[]"));break}}else break;o=-1===m?i.slice(t):i.slice(t,m);for(let t=0;tvoid 0)();_meta=(()=>void 0)();setup(e,t,i,s){s.writeDescriptors(t,this)}teardown(e,t,i){i.removeDescriptors(t)}}let P=new WeakSet;function F(e,t){let i=function(t,i,s,n,a){let o=3==arguments.length?(0,r.meta)(t):n;return e.setup(t,i,s,o),{enumerable:e.enumerable,configurable:e.configurable,get:function(e,t){return function(){return t.get(this,e)}}(i,e),set:function(e,t){let i=function(i){return t.set(this,e,i)};return P.add(i),i}(i,e)}};return R(i,e),Object.setPrototypeOf(i,t.prototype),i}let I=new WeakMap;function N(e,t,i){let s=void 0===i?(0,r.peekMeta)(e):i;if(null!==s)return s.peekDescriptors(t)}function j(e){return I.get(e)}function O(e){return"function"==typeof e&&I.has(e)}function R(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];I.set(e,t)}let U=/\.@each$/;function B(e,t){let i=e.indexOf("{");i<0?t(e.replace(U,".[]")):function e(t,i,s,n){let r=i.indexOf("}"),a=0,o,l,u=i.substring(s+1,r).split(","),c=i.substring(r+1);for(t+=i.substring(0,s),l=u.length;a5)||void 0===arguments[5]||arguments[5];s||"function"!=typeof i||(s=i,i=null),(0,r.meta)(e).addToListeners(t,i,s,!0===n,a)}function q(e,t,i,s){let n,a;"object"==typeof i?(n=i,a=s):(n=null,a=i),(0,r.meta)(e).removeFromListeners(t,n,a)}function $(e,t,i,s,n){if(void 0===s){let i=void 0===n?(0,r.peekMeta)(e):n;s=null!==i?i.matchingListeners(t):void 0}if(void 0===s||0===s.length)return!1;for(let n=s.length-3;n>=0;n-=3){let r=s[n],a=s[n+1],o=s[n+2];if(!a)continue;o&&q(e,t,r,a),r||(r=e);let l=typeof a;("string"===l||"symbol"===l)&&(a=r[a]),a.apply(r,i)}return!0}function z(e,t){let i=(0,r.peekMeta)(e);if(null===i)return!1;let s=i.matchingListeners(t);return void 0!==s&&s.length>0}function V(){for(var e=arguments.length,t=Array(e),i=0;i4&&void 0!==arguments[4]?arguments[4]:W,a=Y(t);H(e,a,i,s,!1,n);let o=(0,r.peekMeta)(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||X(e,a,n)}function Q(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:W,a=Y(t),o=(0,r.peekMeta)(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||et(e,a,n),q(e,a,i,s)}function X(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=function(e,t){let i=!0===t?K:G;return i.has(e)||(i.set(e,new Map),(0,o.registerDestructor)(e,()=>(function(e){K.size>0&&K.delete(e),G.size>0&&G.delete(e)})(e),!0)),i.get(e)}(e,i);if(s.has(t))s.get(t).count++;else{let i=t.substring(0,t.lastIndexOf(":")),n=D(e,i,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e));s.set(t,{count:1,path:i,tag:n,lastRevision:(0,l.valueForTag)(n),suspended:!1})}}let Z=!1,ee=[];function et(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!0===Z)return void ee.push([e,t,i]);let s=!0===i?K:G,n=s.get(e);if(void 0!==n){let i=n.get(t);i.count--,0===i.count&&(n.delete(t),0===n.size&&s.delete(e))}}function ei(e){G.has(e)&&G.get(e).forEach(t=>{t.tag=D(e,t.path,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e)),t.lastRevision=(0,l.valueForTag)(t.tag)}),K.has(e)&&K.get(e).forEach(t=>{t.tag=D(e,t.path,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e)),t.lastRevision=(0,l.valueForTag)(t.tag)})}let es=0;function en(e){let t=(0,l.valueForTag)(l.CURRENT_TAG);es!==t&&(es=t,G.forEach((t,i)=>{let s=(0,r.peekMeta)(i);t.forEach((t,n)=>{if(!(0,l.validateTag)(t.tag,t.lastRevision)){let a=()=>{try{$(i,n,[i,t.path],void 0,s)}finally{t.tag=D(i,t.path,(0,l.tagMetaFor)(i),(0,r.peekMeta)(i)),t.lastRevision=(0,l.valueForTag)(t.tag)}};e?e("actions",a):a()}})}))}function er(){K.forEach((e,t)=>{let i=(0,r.peekMeta)(t);e.forEach((e,s)=>{if(!e.suspended&&!(0,l.validateTag)(e.tag,e.lastRevision))try{e.suspended=!0,$(t,s,[t,e.path],void 0,i)}finally{e.tag=D(t,e.path,(0,l.tagMetaFor)(t),(0,r.peekMeta)(t)),e.lastRevision=(0,l.valueForTag)(e.tag),e.suspended=!1}})})}function ea(e,t,i){let s=K.get(e);if(!s)return;let n=s.get(Y(t));n&&(n.suspended=i)}let eo=Symbol("PROPERTY_DID_CHANGE"),el=0;function eu(e,t,i,s){let n=void 0===i?(0,r.peekMeta)(e):i;!(null!==n&&(n.isInitializing()||n.isPrototypeMeta(e)))&&(T(e,t),el<=0&&er(),eo in e&&(4==arguments.length?e[eo](t,s):e[eo](t)))}function ec(){el++,function(){Z=!0}()}function ed(){--el<=0&&(er(),function(){for(let[e,t,i]of(Z=!1,ee))et(e,t,i);ee=[]}())}function ep(e){ec();try{e()}finally{ed()}}function eh(){}class em extends L{_readOnly=!1;_hasConfig=!1;_getter=(()=>void 0)();_setter=(()=>void 0)();constructor(e){super();let t=e[e.length-1];if("function"==typeof t||null!==t&&"object"==typeof t){this._hasConfig=!0;let t=e.pop();"function"==typeof t?this._getter=t:(this._getter=t.get||eh,this._setter=t.set)}e.length>0&&this._property(...e)}setup(e,t,i,s){if(super.setup(e,t,i,s),!1===this._hasConfig){let{get:e,set:t}=i;void 0!==e&&(this._getter=e),void 0!==t&&(this._setter=function(i,s){let n=t.call(this,s);return void 0!==e&&void 0===n?e.call(this):n})}}_property(){let e=[];function t(t){e.push(t)}for(var i=arguments.length,s=Array(i),n=0;n{i=r.call(e,t)}),void 0!==o&&(0,l.updateTag)(a,A(e,o,n,s)),s.setValueFor(t,i),s.setRevisionFor(t,(0,l.valueForTag)(a)),C(s,t,i)}return(0,l.consumeTag)(a),Array.isArray(i)&&(0,l.consumeTag)((0,l.tagFor)(i,"[]")),i}set(e,t,i){let s;this._readOnly&&this._throwReadOnlyError(e,t);let n=(0,r.meta)(e);n.isInitializing()&&void 0!==this._dependentKeys&&this._dependentKeys.length>0&&"function"==typeof e[eo]&&e.isComponent&&J(e,t,()=>{e[eo](t)},void 0,!0);try{ec(),s=this._set(e,t,i,n),C(n,t,s);let r=(0,l.tagMetaFor)(e),a=(0,l.tagFor)(e,t,r),{_dependentKeys:o}=this;void 0!==o&&(0,l.updateTag)(a,A(e,o,r,n)),n.setRevisionFor(t,(0,l.valueForTag)(a))}finally{ed()}return s}_throwReadOnlyError(e,t){throw Error(`Cannot set read-only property "${t}" on object: ${(0,_.default)(e)}`)}_set(e,t,i,s){let n,r=void 0!==s.revisionFor(t),a=s.valueFor(t),{_setter:o}=this;ea(e,t,!0);try{n=o.call(e,t,i,a)}finally{ea(e,t,!1)}return r&&a===n||(s.setValueFor(t,n),eu(e,t,s,i)),n}teardown(e,t,i){void 0!==i.revisionFor(t)&&(i.setRevisionFor(t,void 0),i.setValueFor(t,void 0)),super.teardown(e,t,i)}}class eg extends em{get(e,t){let i,s=(0,r.meta)(e),n=(0,l.tagMetaFor)(e),a=(0,l.tagFor)(e,t,n),o=s.revisionFor(t);if(void 0!==o&&(0,l.validateTag)(a,o))i=s.valueFor(t);else{let{_getter:n}=this,r=(0,l.track)(()=>{i=n.call(e,t)});(0,l.updateTag)(a,r),s.setValueFor(t,i),s.setRevisionFor(t,(0,l.valueForTag)(a)),C(s,t,i)}return(0,l.consumeTag)(a),Array.isArray(i)&&(0,l.consumeTag)((0,l.tagFor)(i,"[]",n)),i}}class ef extends Function{readOnly(){return j(this)._readOnly=!0,this}meta(e){let t=j(this);return 0==arguments.length?t._meta||{}:(t._meta=e,this)}get _getter(){return j(this)._getter}set enumerable(e){j(this).enumerable=e}}function e_(){for(var e=arguments.length,t=Array(e),i=0;i4)||void 0===arguments[4]||arguments[4];return!0===s||!1===n?Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:i}):e[t]=i,i}let eT=new m.C(1e3,e=>e.indexOf("."));function eS(e){return"string"==typeof e&&-1!==eT.get(e)}let eC=(0,d.s)("PROXY_CONTENT");function eA(e){return"object"==typeof e&&null!==e&&"function"==typeof e.unknownProperty}function eD(e,t){return eS(t)?ex(e,t):eM(e,t)}function eM(e,t){let i;if(null!=e)return"object"==typeof e||"function"==typeof e?(void 0===(i=e[t])&&"object"==typeof e&&!(t in e)&&eA(e)&&(i=e.unknownProperty(t)),(0,l.isTracking)()&&((0,l.consumeTag)((0,l.tagFor)(e,t)),(Array.isArray(i)||(0,h.isEmberArray)(i))&&(0,l.consumeTag)((0,l.tagFor)(i,"[]")))):i=e[t],i}function ex(e,t,i){for(let s of"string"==typeof t?t.split("."):t){if(null==e||e.isDestroyed||i&&("__proto__"===s||"constructor"===s))return;e=eM(e,s)}return e}eM("foo","a"),eM("foo",1),eM({},"a"),eM({},1),eM({unknownProperty(){}},"a"),eM({unknownProperty(){}},1),eD({},"foo"),eD({},"foo.bar");let eE={};(0,p.s)(eE),(0,l.track)(()=>eM({},"a")),(0,l.track)(()=>eM({},1)),(0,l.track)(()=>eM({a:[]},"a")),(0,l.track)(()=>eM({a:eE},"a"));class eL{_registry;_coreLibIndex;constructor(){this._registry=[],this._coreLibIndex=0}_getLibraryByName(e){for(let t of this._registry)if(t.name===e)return t}register(e,t,i){let s=this._registry.length;this._getLibraryByName(e)||(i&&(s=this._coreLibIndex++),this._registry.splice(s,0,{name:e,version:t}))}registerCoreLibrary(e,t){this.register(e,t,!0)}deRegister(e){let t,i=this._getLibraryByName(e);i&&(t=this._registry.indexOf(i),this._registry.splice(t,1))}isRegistered;logVersions}let eP=new eL;function eF(e){let t,i;for(var s=arguments.length,n=Array(s>1?s-1:0),r=1;rs)}])};return R(n),n}return eN(t)}function eN(e){let[t,i,s]=e,{getter:n,setter:a}=(0,l.trackedData)(i,s?s.initializer:void 0);function o(){let e=n(this);return(Array.isArray(e)||(0,h.isEmberArray)(e))&&(0,l.consumeTag)((0,l.tagFor)(e,"[]")),e}function u(e){a(this,e),(0,l.dirtyTagFor)(this,b)}return P.add(u),(0,r.meta)(t).writeDescriptors(i,new ej(o,u)),{enumerable:!0,configurable:!0,isTracked:!0,get:o,set:u}}eP.registerCoreLibrary("Ember",g.default);class ej{constructor(e,t){this._get=e,this._set=t,S.add(this)}get(e){return this._get.call(e)}set(e,t,i){this._set.call(e,i)}}},43003:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(83426),n=i(32504),r=i(94069),a=i(77592),o=i.n(a),l=i(16818),u=i.n(l),c=i(79842),d=i(72799),p=i(71209);let h=dt7948.c(class extends c.default{badgeForCategory(e){return(0,s.htmlSafe)((0,r.categoryBadgeHTML)(e,{link:!1,allowUncategorized:!0,hideParent:!0}))}static #e=(()=>dt7948.n(this.prototype,"badgeForCategory",[u()("category")]))();static #t=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"8zo9gAsF",block:'[[[1,"\\n"],[41,[30,0,["category"]],[[[1," "],[10,0],[14,0,"category-status"],[14,"aria-hidden","true"],[12],[1,"\\n"],[41,[30,0,["hasParentCategory"]],[[[41,[51,[30,0,["hideParentCategory"]]],[[[1," "],[1,[30,0,["badgeForParentCategory"]]],[1,"\\n"]],[]],null]],[]],null],[1," "],[1,[30,0,["badgeForCategory"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["shouldDisplayDescription"]],[[[1," "],[10,0],[14,0,"category-desc"],[14,"aria-hidden","true"],[12],[1,[28,[32,0],[[30,0,["descriptionText"]]],[["htmlSafe"],["true"]]]],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[1,[28,[32,1],[[30,0,["label"]]],null]],[1,"\\n"]],[]]],[1," "]],[],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/none-category-row.js",scope:()=>[o(),s.htmlSafe],isStrictMode:!0}),this))()},[(0,n.classNames)("none category-row")])},43024:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(72799),n=i(4781),r=i(71209);class a extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"s7oOE0o5",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"reviewable-input-textarea"],[4,[32,1],["change",[30,0,["valueChanged"]]],null]],[["@value"],[[30,0,["value"]]]],null],[1," "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-textarea.js",scope:()=>[s.Textarea,n.on],isStrictMode:!0}),this))()}},43027:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ARCHIVE_FILTER:()=>m,INBOX_FILTER:()=>h,NEW_FILTER:()=>d,UNREAD_FILTER:()=>p,default:()=>g});var s=i(75527),n=i(83426),r=i(32414),a=i(70677),o=i(35794),l=i(2552),u=i(55384),c=i(88820);let d="new",p="unread",h="inbox",m="archive",g=(e,t,i)=>class extends u.default{userActionType=(()=>l.default.TYPES.messages_received)();titleToken(){return[(0,c.i18n)(`user.messages.${i}`),(0,c.i18n)("user.private_messages")]}async model(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=`topics/${t}/${this.modelFor("user").get("username_lower")}`,s=(0,r.findOrResetCachedTopicList)(this.session,i);if(s)return s;let n=await this.store.findFiltered("topicList",{filter:i,params:e});return n.set("emptyState",this.emptyState()),n}setupController(){super.setupController(...arguments);let t=this.controllerFor("user-private-messages"),s=this.controllerFor("user-topics-list");s.setProperties({hideCategory:!0,showPosters:!0,tagsForUser:this.modelFor("user").get("username_lower"),showToggleBulkSelect:!0,filter:i,group:null,inbox:e});let n=s.ascending;"true"===n?n=!0:"false"===n&&(n=!1),s.setProperties({ascending:n}),s.bulkSelectHelper.clear(),s.subscribe(),t.setProperties({archive:!1,group:null});let r={...this.controllerFor("user").get("model.searchContext"),type:"private_messages"};this.searchService.searchContext=r}emptyState(){return{title:(0,c.i18n)("user.no_messages_title"),body:this.currentUser?.can_send_private_messages?(0,n.htmlSafe)((0,c.i18n)("user.no_messages_body",{aboutUrl:(0,a.default)("/about"),icon:(0,o.iconHTML)("envelope")})):""}}deactivate(){this.controllerFor("user-topics-list").unsubscribe(),this.searchService.searchContext=this.controllerFor("user").get("model.searchContext")}dismissReadOptions(){return{}}dismissReadTopics(t){this.controllerFor("user-topics-list").send("dismissRead",t?"topics":"posts",{private_message_inbox:e,...this.dismissReadOptions()})}static #e=(()=>dt7948.n(this.prototype,"dismissReadTopics",[s.action]))()}},43079:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(10111);let n=new Proxy(i(88351).default,{get:(e,t,i)=>("string"==typeof t&&(0,s.deprecateUntil)(`importing ${t} from the 'ember' barrel file is deprecated.`,s.DEPRECATIONS.DEPRECATE_IMPORT_EMBER(t)),Reflect.get(e,t,i)),getOwnPropertyDescriptor:(e,t)=>("string"==typeof t&&(0,s.deprecateUntil)(`importing ${t} from the 'ember' barrel file is deprecated.`,s.DEPRECATIONS.DEPRECATE_IMPORT_EMBER(t)),Object.getOwnPropertyDescriptor(e,t))})},43089:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(32504),n=i(52605),r=i(84190);let a=dt7948.c(class extends n.default{modifyComponentForRow(){return"homepage-style-selector/homepage-style-selector-row"}},[(0,r.pluginApiIdentifiers)(["homepage-style-selector"]),(0,s.classNames)("homepage-style-selector")])},43093:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(25604),n=i(8658),r=i(11032),a=i(12733),o=i(88820),l=i(19125),u=i(72799),c=i(71209),d=i(86960);let p=(0,n.default)((0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"O7lGSKeF",block:'[[[1,"\\n "],[10,"form"],[14,0,"groups-form form-vertical groups-notifications-form"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["groups.manage.categories.long_title"],null]],[13],[1,"\\n "],[10,0],[12],[1,[28,[32,0],["groups.manage.categories.description"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-watching"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.watching.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","watchingCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","watchingCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.watched_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-tracking"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.tracking.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","trackingCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","trackingCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.tracked_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-watching-first"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.watching_first_post.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","watchingFirstPostCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","watchingFirstPostCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.watching_first_post_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-regular"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.regular.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","regularCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","regularCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.regular_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-muted"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.muted.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","mutedCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","mutedCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.muted_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/categories.js",scope:()=>[o.i18n,a.default,l.default,s.fn,r.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},43144:(e,t,i)=>{"use strict";function s(e){return e._current=null,e.createCurrent||(e.createCurrent=function(){return this.create()}),e.current=function(){return this._current||(this._current=this.createCurrent()),this._current},e.currentProp=function(e,t){let i=this.current();if(i)return void 0!==t?(i.set(e,t),t):i.get(e)},e.resetCurrent=function(e){return this._current=e,e},e}i.r(t),i.d(t,{default:()=>s})},43156:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,i){return"ი"===i?t+"ში":t+i+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})})},43183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(87531),n=i(75527),r=i(18555),a=i(75356),o=i(72577),l=i(60202),u=i(59356);let c=new l.default(a.context),d="enabled",p="subscribed",h=dt7948.c(class extends r.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"site",[r.service]))();#r=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #s=(()=>dt7948.g(this.prototype,"isEnabledBrowser",[s.tracked],function(){return!1}))();#lv=(()=>void dt7948.i(this,"isEnabledBrowser"))();static #u=(()=>dt7948.g(this.prototype,"isEnabledPush",[s.tracked],function(){return!1}))();#lw=(()=>void dt7948.i(this,"isEnabledPush"))();constructor(){super(...arguments),this.isEnabledBrowser=!!this.isGrantedPermission&&c.getItem("notifications-disabled")===d,this.isEnabledPush=!!this.currentUser&&u.keyValueStore.getItem((0,u.userSubscriptionKey)(this.currentUser))===p}get isNotSupported(){return void 0===window.Notification}get notificationsPermission(){return this.isNotSupported?"":Notification.permission}get isDeniedPermission(){return!this.isNotSupported&&"denied"===this.notificationsPermission}get isGrantedPermission(){return!this.isNotSupported&&"granted"===this.notificationsPermission}get isEnabled(){return this.isEnabledPush||this.isEnabledBrowser}get isSubscribed(){return!!this.isEnabled&&(this.isPushNotificationsPreferred?this.isEnabledPush:this.isEnabledBrowser)}get isPushNotificationsPreferred(){return(this.site.mobileView||this.siteSettings.enable_desktop_push_notifications)&&(0,u.isPushNotificationsSupported)()}setIsEnabledBrowser(e){c.setItem("notifications-disabled",e?d:"disabled"),this.isEnabledBrowser=e}setIsEnabledPush(e){let t=this.currentUser;if(!t)return!1;u.keyValueStore.setItem((0,u.userSubscriptionKey)(t),e?p:e),this.isEnabledPush=e}async disable(){return this.isEnabledBrowser&&this.setIsEnabledBrowser(!1),this.isEnabledPush&&await (0,u.unsubscribe)(this.currentUser,()=>{this.setIsEnabledPush(!1)}),!0}static #c=(()=>dt7948.n(this.prototype,"disable",[n.action]))();async enable(){if(this.isPushNotificationsPreferred)return await (0,u.subscribe)(()=>{this.setIsEnabledPush(!0)},this.siteSettings.vapid_public_key_bytes),!0;await Notification.requestPermission(e=>((0,a.confirmNotification)(this.siteSettings),"granted"===e&&(this.setIsEnabledBrowser(!0),!0)))}static #_=(()=>dt7948.n(this.prototype,"enable",[n.action]))()},[o.disableImplicitInjections])},43239:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i,s){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[i][0]:n[i][1]}return e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},43306:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(88820),n=i(72799),r=i(71209),a=i(86960);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"rSkiGlVN",block:'[[[1,"\\n"],[41,[51,[30,1,["required"]]],[[[1," "],[10,1],[14,0,"form-kit__container-optional"],[12],[1,"("],[1,[28,[32,0],["form_kit.optional"],null]],[1,")"],[13],[1,"\\n"]],[]],null]],["@field"],false,["unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/optional.js",scope:()=>[s.i18n],isStrictMode:!0}),(0,a.default)(void 0,"optional:FKOptional"))},43375:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(95766),n=i(4781),r=i(75527),a=i(18555),o=i(54074),l=i(12733),u=i(88820),c=i(72799),d=i(71209);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"navigationMenu",[a.service]))();#nc=(()=>void dt7948.i(this,"navigationMenu"))();toggleWithBlur(e){this.navigationMenu.isDesktopDropdownMode?this.args.toggleNavigationMenu("sidebar"):this.args.toggleNavigationMenu(),"button"===e.target.tagName.toLowerCase()?e.target.blur():e.target.closest("button").blur()}static #i=(()=>dt7948.n(this.prototype,"toggleWithBlur",[r.action]))();static #s=(()=>(0,c.setComponentTemplate)((0,d.createTemplateFactory)({id:"5+22QizG",block:'[[[1,"\\n "],[10,1],[14,0,"header-sidebar-toggle"],[12],[1,"\\n "],[11,"button"],[16,"title",[28,[32,0],["sidebar.title"],null]],[16,0,[28,[32,1],["btn btn-flat btn-sidebar-toggle no-text btn-icon",[52,[30,0,["site","narrowDesktopView"]],"narrow-desktop"]],null]],[16,"aria-expanded",[52,[30,1],"true","false"]],[24,"aria-controls","d-sidebar"],[4,[32,2],["click",[30,0,["toggleWithBlur"]]],null],[12],[1,"\\n "],[1,[28,[32,3],[[30,2]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@showSidebar","@icon"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/sidebar-toggle.js",scope:()=>[u.i18n,o.default,n.on,l.default],isStrictMode:!0}),this))()}},43404:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95766),n=i(25604),r=i(12733),a=i(88820),o=i(72799),l=i(71209);class u extends s.default{concatErrors(e){return e.join(", ")}get hasErrors(){return Object.keys(this.args.errors).length>0}normalizeName(e){return e.replace(/\./g,"-")}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"cB6pll1C",block:'[[[1,"\\n"],[41,[30,0,["hasErrors"]],[[[1," "],[11,0],[24,0,"form-kit__errors-summary"],[24,"aria-live","assertive"],[17,1],[12],[1,"\\n "],[10,"h2"],[14,0,"form-kit__errors-summary-title"],[12],[1,"\\n "],[1,[28,[32,0],["triangle-exclamation"],null]],[1,"\\n "],[1,[28,[32,1],["form_kit.errors_summary_title"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"ul"],[14,0,"form-kit__errors-summary-list"],[12],[1,"\\n"],[42,[28,[31,2],[[30,2]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[10,3],[14,"rel","noopener noreferrer"],[15,6,[28,[32,2],["#control-",[28,[30,0,["normalizeName"]],[[30,4]],null]],null]],[12],[1,[30,3,["title"]]],[13],[1,":\\n "],[1,[28,[30,0,["concatErrors"]],[[30,3,["messages"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[3,4]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["&attrs","@errors","error","name"],false,["if","each","-each-in"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/errors-summary.js",scope:()=>[r.default,a.i18n,n.concat],isStrictMode:!0}),this))()}},43414:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function n(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":if(t||n)return r+(s(e)?"sekundy":"sekund");return r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":if(t||n)return r+(s(e)?"minuty":"minut");return r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":if(t||n)return r+(s(e)?"hodiny":"hodin");return r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":if(t||n)return r+(s(e)?"dny":"dní");return r+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":if(t||n)return r+(s(e)?"měsíce":"měsíců");return r+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":if(t||n)return r+(s(e)?"roky":"let");return r+"lety"}}return e.defineLocale("cs",{months:{standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},43462:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72799),n=i(83426),r=i(5013),a=i(30339),o=i(88820),l=i(71209);class u extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"YIRDRiE2",block:'[[[1,"\\n"],[41,[30,0,["reviewable","reviewable_scores"]],[[[1," "],[10,0],[14,0,"reviewable-scores__table-wrapper"],[12],[1,"\\n "],[10,"table"],[14,0,"reviewable-scores"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.submitted_by"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.date"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.type"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.reviewed_by"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.reviewed_timestamp"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.scores.status"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["reviewable","reviewable_scores"]]],null]],null],null,[[[1," "],[8,[32,1],null,[["@rs","@reviewable"],[[30,1],[30,0,["reviewable"]]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["reviewable","reviewable_scores"]]],null]],null],null,[[[41,[30,2,["reason"]],[[[1," "],[10,0],[14,0,"reviewable-score-reason"],[12],[1,[28,[32,2],[[30,2,["reason"]]],null]],[13],[1,"\\n"]],[]],null],[41,[30,2,["context"]],[[[1," "],[10,0],[14,0,"reviewable-score-context"],[12],[1,[28,[32,2],[[30,2,["context"]]],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["reviewable_conversation"]],[[[1," "],[10,0],[14,0,"reviewable-conversation"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2,["reviewable_conversation","conversation_posts"]]],null]],null],null,[[[1," "],[8,[32,3],null,[["@post","@index"],[[30,3],[30,4]]],null],[1,"\\n"]],[3,4]],null],[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,3],[15,6,[30,2,["reviewable_conversation","permalink"]]],[14,0,"btn btn-small"],[12],[1,"\\n "],[1,[28,[32,0],["review.conversation.view_full"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[2]],null],[1,"\\n"]],[]],null],[1," "]],["rs","rs","p","index"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-scores.js",scope:()=>[o.i18n,a.default,n.htmlSafe,r.default],isStrictMode:!0}),this))()}},43488:(e,t,i)=>{"use strict";i.r(t),i.d(t,{destroyUserStatuses:()=>o,initUserStatusHtml:()=>r,renderUserStatusHtml:()=>a});var s=i(69723);let n=[];function r(e,t){(t||[]).forEach((t,i)=>{if(t.status){t.index=i;let r=new s.UserStatusMessage(e,t.status,{showDescription:!0});t.statusHtml=r.html,n.push(r)}})}function a(e){document.querySelectorAll(".autocomplete.ac-user li").forEach(t=>{let i=t.dataset.index,s=e.find(function(e){return e.index===parseInt(i,10)})?.statusHtml;s&&t.querySelector(".user-status").replaceWith(s)})}function o(){n.forEach(e=>{e.destroy()}),n=[]}},43499:(e,t,i)=>{"use strict";let s,n;function r(e,t){if(s||function(e){s={},n=!0,["admins","moderators","staff","trust_level_0","trust_level_1","trust_level_2","trust_level_3","trust_level_4"].forEach(t=>{let i=e.groups?.findBy("name",t);i&&i.flair_url&&(n=!1,s[t]={flair_name:i.name.replace(/_/g," "),flair_url:i.flair_url,flair_bg_color:i.flair_bg_color,flair_color:i.flair_color})})}(e),n)return null;if(t.admin&&s.admins)return s.admins;if(t.moderator&&s.moderators)return s.moderators;if(s.staff&&(t.admin||t.moderator))return s.staff;let i=t.trust_level||t.trustLevel;if(i){for(let e=i;e>=0;e--)if(s[`trust_level_${e}`])return s[`trust_level_${e}`]}}function a(){s=null,n=null}i.r(t),i.d(t,{default:()=>r,resetFlair:()=>a})},43510:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i},week:{dow:1,doy:4}})})},43530:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(600),n=i(35352),r=i(88820);let a=class extends s.default{get linkHref(){return(0,n.userPath)(`${this.currentUser.username}/notifications/links?acting_username=${this.notification.data.username}`)}get description(){return(0,r.i18n)("notifications.linked_consolidated_description",{count:this.notification.data.count})}}},43556:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21980),n=i(75527),r=i(18555),a=i(97649),o=i(72523),l=i(88820);class u extends n.default{init(){super.init(...arguments),this.setProperties({route:this.route||`group.${this.name}`,message:(0,l.i18n)(`groups.${this.i18nKey||this.name}`)})}}class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[r.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();static #s=(()=>dt7948.g(this.prototype,"composer",[r.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #u=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#im=(()=>void dt7948.i(this,"application"))();counts=null;showing="members";destroying=null;showTooltip=!1;tabs(e,t,i,s,n){let r=[u.create({name:"members",route:"group.index",icon:"users",i18nKey:"members.title",count:t}),u.create({name:"activity",icon:"bars-staggered"})];return s&&n&&r.push(u.create({name:"requests",i18nKey:"requests.title",icon:"user-plus",count:i})),e&&r.push(u.create({name:"messages",i18nKey:"messages",icon:"envelope"})),s&&r.push(u.create({name:"manage",i18nKey:"manage.title",icon:"wrench"})),r.push(u.create({name:"permissions",i18nKey:"permissions.title",icon:"id-card"})),r}static #c=(()=>dt7948.n(this.prototype,"tabs",[(0,o.default)("showMessages","model.user_count","model.request_count","canManageGroup","model.allow_membership_requests")]))();showMessages(e,t){return!!this.currentUser?.can_send_private_messages&&!!e&&(t||this.currentUser&&this.currentUser.admin)}static #_=(()=>dt7948.n(this.prototype,"showMessages",[(0,o.default)("model.has_messages","model.is_group_user","currentUser.can_send_private_messages")]))();displayGroupMessageButton(e){return this.currentUser&&e}static #b=(()=>dt7948.n(this.prototype,"displayGroupMessageButton",[(0,o.default)("model.messageable")]))();canManageGroup(e){return this.currentUser?.canManageGroup(e)}static #v=(()=>dt7948.n(this.prototype,"canManageGroup",[(0,o.default)("model","model.automatic")]))();messageGroup(){this.composer.openNewMessage({recipients:this.get("model.name"),hasGroups:!0})}static #w=(()=>dt7948.n(this.prototype,"messageGroup",[n.action]))();destroyGroup(){this.set("destroying",!0);let e=this.model;this.dialog.deleteConfirm({title:(0,l.i18n)("admin.groups.delete_confirm",{group:e.name}),bodyComponent:a.default,bodyComponentModel:e,didConfirm:()=>{e.destroy().catch(e=>{console.error(e),this.dialog.alert((0,l.i18n)("admin.groups.delete_failed"))}).then(()=>{this.router.transitionTo("groups.index")}).finally(()=>{this.set("destroying",!1)})},didCancel:()=>this.set("destroying",!1)})}static #k=(()=>dt7948.n(this.prototype,"destroyGroup",[n.action]))();toggleDeleteTooltip(){this.toggleProperty("showTooltip")}static #T=(()=>dt7948.n(this.prototype,"toggleDeleteTooltip",[n.action]))()}},43689:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(18555),r=i(41795),a=i(61037),o=i(88820);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();model(e){return this.inviteFilter=e.filter,r.default.findInvitedBy(this.modelFor("user"),e.filter)}afterModel(e){e.can_see_invite_details||this.router.replaceWith("userInvited.show","redeemed"),this.controllerFor("user.invited").setProperties({invitesCount:e.counts})}setupController(e,t){e.setProperties({model:t,invitesCount:t.counts,user:this.controllerFor("user").get("model"),filter:this.inviteFilter,searchTerm:""})}titleToken(){return(0,o.i18n)("user.invited."+this.inviteFilter+"_tab")}triggerRefresh(){this.refresh()}static #t=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},43736:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(53775),n=i(36649),r=i(61037),a=i(88820);class o extends r.default{titleToken(){return(0,a.i18n)("login.title")}model(e){return(0,s.ajax)(`/session/email-login/${e.token}.json`)}setupController(e,t){super.setupController(...arguments),e.set("secondFactorMethod",t.security_key_required?n.SECOND_FACTOR_METHODS.SECURITY_KEY:n.SECOND_FACTOR_METHODS.TOTP)}}},43768:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8658),n=i(52984),r=i(29398),a=i(72799),o=i(71209),l=i(86960);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"mtgx3wQa",block:'[[[1,"\\n "],[8,[32,0],null,[["@model","@selectedTags","@save","@siteSettings"],[[30,1,["model"]],[30,1,["selectedTags"]],[30,1,["save"]],[30,1,["siteSettings"]]]],null],[1,"\\n\\n "],[8,[32,1],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/tags.js",scope:()=>[r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},43779:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(75527),n=i(2369),r=i(53775),a=i(70412),o=i(72523),l=i(7339),u=i(76655),c=i(36649);class d extends s.default{static createFromJson(e){void 0===e.users&&(e.users=[]);let t={};e.users.forEach(function(e){t[e.id]=c.default.create(e)}),e.granted_bies=e.granted_bies??[],e.granted_bies.forEach(function(e){t[e.id]=c.default.create(e)}),void 0===e.topics&&(e.topics=[]);let i={};e.topics.forEach(function(e){i[e.id]=u.default.create(e)}),void 0===e.badges&&(e.badges=[]);let s={};l.default.createFromJson(e).forEach(function(e){s[e.get("id")]=e});let n=[];return(n=(n="user_badge"in e?[e.user_badge]:e.user_badge_info&&e.user_badge_info.user_badges||e.user_badges).map(function(e){let n=d.create(e),r=Date.parse(n.get("granted_at"));return n.set("grantedAt",r),n.set("badge",s[n.get("badge_id")]),n.get("user_id")&&n.set("user",t[n.get("user_id")]),n.get("granted_by_id")&&n.set("granted_by",t[n.get("granted_by_id")]),n.get("topic_id")&&n.set("topic",i[n.get("topic_id")]),n}),"user_badge"in e)?n[0]:(e.user_badge_info&&(n.grant_count=e.user_badge_info.grant_count,n.username=e.user_badge_info.username),n)}static findByUsername(e,t){if(!e)return n.Promise.resolve([]);let i="/user-badges/"+e+".json";return t&&t.grouped&&(i+="?grouped=true"),(0,r.ajax)(i).then(function(e){return d.createFromJson(e)})}static findByBadgeId(e,t){return t||(t={}),t.badge_id=e,(0,r.ajax)("/user_badges.json",{data:t}).then(function(e){return d.createFromJson(e)})}static grant(e,t,i){return(0,r.ajax)("/user_badges",{type:"POST",data:{username:t,badge_id:e,reason:i}}).then(function(e){return d.createFromJson(e)})}postUrl(){if(this.topic_title)return"/t/-/"+this.topic_id+"/"+this.post_number}static #e=(()=>dt7948.n(this.prototype,"postUrl",[o.default]))();revoke(){return(0,r.ajax)("/user_badges/"+this.id,{type:"DELETE"})}favorite(){return this.toggleProperty("is_favorite"),(0,r.ajax)(`/user_badges/${this.id}/toggle_favorite`,{type:"PUT"}).catch(e=>{this.toggleProperty("is_favorite"),(0,a.popupAjaxError)(e)})}}},43850:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(12999);class n extends s.default{}},43898:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(72799),n=i(25604),r=i(75527),a=i(57528),o=i(18555),l=i(88761),u=i(81539),c=i(36409),d=i(82730),p=i(67486),h=i(86326),m=i(20434),g=i(72523),f=i(99293),_=i(74089),y=i(88820),b=i(6913),w=i(20244),k=i(71209);class T extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"isStaff",[(0,a.readOnly)("currentUser.staff")]))();#lk=(()=>void dt7948.i(this,"isStaff"))();static #i=(()=>dt7948.g(this.prototype,"isAdmin",[(0,a.readOnly)("currentUser.admin")]))();#lT=(()=>void dt7948.i(this,"isAdmin"))();static #s=(()=>dt7948.g(this.prototype,"topicId",[(0,a.alias)("inviteModel.id")]))();#o9=(()=>void dt7948.i(this,"topicId"))();static #u=(()=>dt7948.g(this.prototype,"isPM",[(0,a.equal)("inviteModel.archetype","private_message")]))();#el=(()=>void dt7948.i(this,"isPM"))();static #c=(()=>dt7948.g(this.prototype,"showApprovalMessage",[(0,a.and)("isStaff","siteSettings.must_approve_users")]))();#lS=(()=>void dt7948.i(this,"showApprovalMessage"))();static #_=(()=>dt7948.g(this.prototype,"isPrivateTopic",[(0,a.and)("invitingToTopic","inviteModel.category.read_restricted")]))();#lC=(()=>void dt7948.i(this,"isPrivateTopic"))();static #b=(()=>dt7948.g(this.prototype,"allowExistingMembers",[(0,a.alias)("invitingToTopic")]))();#lA=(()=>void dt7948.i(this,"allowExistingMembers"))();static #v=(()=>dt7948.g(this.prototype,"customMessagePlaceholder",[(0,m.computedI18n)("invite.custom_message_placeholder")]))();#lD=(()=>void dt7948.i(this,"customMessagePlaceholder"))();groupIds=null;allGroups=null;invitee=null;isInviteeGroup=!1;hasCustomMessage=!1;customMessage=null;inviteIcon="envelope";invitingExistingUserToTopic=!1;init(){super.init(...arguments),this.setDefaultSelectedGroups(),this.setGroupOptions()}willDestroyElement(){super.willDestroyElement(...arguments),this.reset()}disabled(e,t,i,s,n,r,a){return!!(r||(0,l.isEmpty)(t)||!i&&!(0,_.emailValid)(t)||!e&&s&&(0,_.emailValid)(t)||s&&(0,l.isEmpty)(n)&&(0,_.emailValid)(t))}static #w=(()=>dt7948.n(this.prototype,"disabled",[(0,g.default)("isAdmin","invitee","invitingToTopic","isPrivateTopic","groupIds","inviteModel.saving","inviteModel.details.can_invite_to")]))();disabledCopyLink(e,t,i,s,n,r){return!!(r||i||(0,l.isEmpty)(t)||!(0,_.emailValid)(t)||!e&&s&&(0,_.emailValid)(t)||s&&(0,l.isEmpty)(n)&&(0,_.emailValid)(t))}static #k=(()=>dt7948.n(this.prototype,"disabledCopyLink",[(0,g.default)("isAdmin","invitee","inviteModel.saving","isPrivateTopic","groupIds","hasCustomMessage")]))();buttonTitle(e){return e?"topic.inviting":"topic.invite_reply.action"}static #T=(()=>dt7948.n(this.prototype,"buttonTitle",[(0,g.default)("inviteModel.saving")]))();invitingToTopic(e){return e!==this.currentUser}static #S=(()=>dt7948.n(this.prototype,"invitingToTopic",[(0,g.default)("inviteModel")]))();canInviteViaEmail(e,t){return e===this.currentUser||t}static #C=(()=>dt7948.n(this.prototype,"canInviteViaEmail",[(0,g.default)("inviteModel","inviteModel.details.can_invite_via_email")]))();showCopyInviteButton(e,t){return t&&!e}static #A=(()=>dt7948.n(this.prototype,"showCopyInviteButton",[(0,g.default)("isPM","canInviteViaEmail")]))();isGroupOwnerOrAdmin(e,t){return e||t&&t.some(e=>e.owner)}static #D=(()=>dt7948.n(this.prototype,"isGroupOwnerOrAdmin",[(0,g.default)("isAdmin","inviteModel.group_users")]))();showGroups(e,t,i,s,n,r){return e&&r&&!s&&((0,_.emailValid)(t)||i||!n)}static #M=(()=>dt7948.n(this.prototype,"showGroups",[(0,g.default)("isGroupOwnerOrAdmin","invitee","isPrivateTopic","isPM","invitingToTopic","canInviteViaEmail")]))();showCustomMessage(e){return this.inviteModel===this.currentUser||(0,_.emailValid)(e)}static #z=(()=>dt7948.n(this.prototype,"showCustomMessage",[(0,g.default)("invitee")]))();inviteInstructions(e,t,i,s,n,r){if(!r)return(0,y.i18n)("topic.invite_reply.discourse_connect_enabled");if(e)return(0,y.i18n)("topic.invite_private.email_or_username");if(!t)return(0,y.i18n)("topic.invite_reply.to_forum");if(s&&!n)return(0,y.i18n)("topic.invite_reply.to_username");if((0,l.isEmpty)(i))return(0,y.i18n)("topic.invite_reply.to_topic_blank");else if((0,_.emailValid)(i))return this.set("inviteIcon","envelope"),(0,y.i18n)("topic.invite_reply.to_topic_email");else return this.set("inviteIcon","hand-point-right"),(0,y.i18n)("topic.invite_reply.to_topic_username")}static #V=(()=>dt7948.n(this.prototype,"inviteInstructions",[(0,g.default)("isPM","invitingToTopic","invitee","isPrivateTopic","isAdmin","canInviteViaEmail")]))();showGroupsClass(e){return e?"required":"optional"}static #W=(()=>dt7948.n(this.prototype,"showGroupsClass",[(0,g.default)("isPrivateTopic")]))();successMessage(e,t,i){return this.isInviteeGroup?(0,y.i18n)("topic.invite_private.success_group"):e?(0,y.i18n)("topic.invite_private.success"):i?(0,y.i18n)("topic.invite_reply.success_existing_email",{invitee:t}):(0,_.emailValid)(t)?(0,y.i18n)("topic.invite_reply.success_email",{invitee:t}):(0,y.i18n)("topic.invite_reply.success_username")}static #K=(()=>dt7948.n(this.prototype,"successMessage",[(0,g.default)("isPM","invitee","invitingExistingUserToTopic")]))();errorMessage(e,t){return t||(e?(0,y.i18n)("topic.invite_private.error"):(0,y.i18n)("topic.invite_reply.error"))}static #G=(()=>dt7948.n(this.prototype,"errorMessage",[(0,g.default)("isPM","ajaxError")]))();placeholderKey(e){return e?"topic.invite_private.email_or_username_placeholder":"topic.invite_reply.username_placeholder"}static #J=(()=>dt7948.n(this.prototype,"placeholderKey",[(0,g.default)("canInviteViaEmail")]))();reset(){this.setProperties({invitee:null,isInviteeGroup:!1,hasCustomMessage:!1,customMessage:null,invitingExistingUserToTopic:!1,groupIds:[]}),this.inviteModel.setProperties({error:!1,saving:!1,finished:!1,inviteLink:null})}setDefaultSelectedGroups(){this.set("groupIds",[])}setGroupOptions(){this.set("allGroups",this.site.groups.filter(e=>!e.automatic))}createInvite(){if(this.disabled)return;let e=this.groupIds,t=this.inviteModel;t.setProperties({saving:!0,error:!1});let i=e=>{e.jqXHR.responseJSON&&e.jqXHR.responseJSON.errors?this.set("ajaxError",e.jqXHR.responseJSON.errors[0]):this.set("ajaxError",null),t.setProperties({saving:!1,error:!0})};return this.isInviteeGroup?this.inviteModel.createGroupInvite(this.invitee.trim()).then(()=>{t.setProperties({saving:!1,finished:!0}),this.inviteModel.reload().then(()=>{this.appEvents.trigger("post-stream:refresh")})}).catch(i):this.inviteModel.createInvite(this.invitee.trim(),e,this.customMessage).then(e=>{t.setProperties({saving:!1,finished:!0}),this.isPM&&e&&e.user?(this.get("inviteModel.details.allowed_users").pushObject(r.default.create(e.user)),this.appEvents.trigger("post-stream:refresh",{force:!0})):this.invitingToTopic&&(0,_.emailValid)(this.invitee.trim())&&e&&e.user&&this.set("invitingExistingUserToTopic",!0)}).catch(i)}static #e0=(()=>dt7948.n(this.prototype,"createInvite",[r.action]))();generateInviteLink(){let e;if(this.disabled)return;let t=this.groupIds,i=this.inviteModel;return i.setProperties({saving:!0,error:!1}),this.invitingToTopic&&(e=this.get("inviteModel.id")),i.generateInviteLink(this.invitee.trim(),t,e).then(e=>{i.setProperties({saving:!1,finished:!0,inviteLink:e.link})}).catch(e=>{e.jqXHR.responseJSON&&e.jqXHR.responseJSON.errors?this.set("ajaxError",e.jqXHR.responseJSON.errors[0]):this.set("ajaxError",null),i.setProperties({saving:!1,error:!0})})}static #e2=(()=>dt7948.n(this.prototype,"generateInviteLink",[r.action]))();showCustomMessageBox(){this.toggleProperty("hasCustomMessage"),this.hasCustomMessage?this.inviteModel===this.currentUser?this.set("customMessage",(0,y.i18n)("invite.custom_message_template_forum")):this.set("customMessage",(0,y.i18n)("invite.custom_message_template_topic")):this.set("customMessage",null)}static #e3=(()=>dt7948.n(this.prototype,"showCustomMessageBox",[r.action]))();searchContact(){(0,f.getNativeContact)(this.capabilities,["email"],!1).then(e=>{this.set("invitee",e[0].email[0])})}static #e8=(()=>dt7948.n(this.prototype,"searchContact",[r.action]))();updateInvitee(e,t){let i=t.findBy("id",e[0]);!i&&t.length&&(i="string"==typeof t[0]?{id:t[0]}:t[0]),i?this.setProperties({invitee:i.id.trim(),isInviteeGroup:i.isGroup||!1}):this.setProperties({invitee:null,isInviteeGroup:!1})}static #e4=(()=>dt7948.n(this.prototype,"updateInvitee",[r.action]))();static #e7=(()=>(0,s.setComponentTemplate)((0,k.createTemplateFactory)({id:"XR27KKmH",block:'[[[1,"\\n"],[41,[30,0,["inviteModel","error"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[1,[28,[32,0],[[30,0,["errorMessage"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"body"],[12],[1,"\\n"],[41,[30,0,["inviteModel","finished"]],[[[41,[30,0,["inviteModel","inviteLink"]],[[[1," "],[8,[32,1],null,[["@link","@email"],[[30,0,["inviteModel","inviteLink"]],[30,0,["invitee"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"success-message"],[12],[1,"\\n "],[1,[28,[32,0],[[30,0,["successMessage"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],[[[1," "],[10,0],[14,0,"invite-user-control"],[12],[1,"\\n "],[10,"label"],[14,0,"instructions"],[12],[1,[30,0,["inviteInstructions"]]],[13],[1,"\\n "],[10,0],[14,0,"invite-user-input-wrapper"],[12],[1,"\\n"],[41,[30,0,["allowExistingMembers"]],[[[1," "],[8,[32,2],[[24,0,"invite-user-input"]],[["@value","@onChange","@options"],[[30,0,["invitee"]],[30,0,["updateInvitee"]],[28,[32,3],null,[["maximum","allowEmails","excludeCurrentUser","includeMessageableGroups","filterPlaceholder","fullWidthWrap"],[1,[30,0,["canInviteViaEmail"]],true,[30,0,["isPM"]],[30,0,["placeholderKey"]],true]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[24,0,"email-or-username-input"]],[["@value","@placeholderKey"],[[30,0,["invitee"]],"topic.invite_reply.email_placeholder"]],null],[1,"\\n"]],[]]],[41,[30,0,["capabilities","hasContactPicker"]],[[[1," "],[8,[32,5],[[24,0,"btn-primary open-contact-picker"]],[["@icon","@action"],["address-book",[30,0,["searchContact"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["showGroups"]],[[[1," "],[10,0],[14,0,"group-access-control"],[12],[1,"\\n "],[10,"label"],[15,0,[29,["instructions ",[30,0,["showGroupsClass"]]]]],[12],[1,"\\n "],[1,[28,[32,6],["topic.automatically_add_to_groups"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,7],null,[["@content","@value","@labelProperty","@onChange"],[[30,0,["allGroups"]],[30,0,["groupIds"]],"name",[28,[32,8],[[28,[31,1],[[30,0,["groupIds"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showCustomMessage"]],[[[1," "],[10,0],[14,0,"show-custom-message-control"],[12],[1,"\\n "],[10,"label"],[14,0,"instructions"],[12],[1,"\\n "],[8,[32,9],[[24,0,"optional"]],[["@action","@text"],[[30,0,["showCustomMessageBox"]],"invite.custom_message"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["hasCustomMessage"]],[[[1," "],[8,[32,10],[[16,"placeholder",[30,0,["customMessagePlaceholder"]]]],[["@value"],[[30,0,["customMessage"]]]],null],[1,""]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["showApprovalMessage"]],[[[1," "],[10,"label"],[14,0,"instructions approval-notice"],[12],[1,"\\n "],[1,[28,[32,6],["invite.approval_not_required"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"footer"],[12],[1,"\\n"],[41,[30,0,["inviteModel","finished"]],[[[1," "],[8,[32,5],[[24,0,"btn-primary"]],[["@action","@label"],[[30,1],"close"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[24,0,"btn-primary send-invite"]],[["@icon","@action","@disabled","@label"],[[30,0,["inviteIcon"]],[30,0,["createInvite"]],[30,0,["disabled"]],[30,0,["buttonTitle"]]]],null],[1,"\\n"],[41,[30,0,["showCopyInviteButton"]],[[[1," "],[8,[32,5],[[24,0,"btn-primary generate-invite-link"]],[["@icon","@action","@disabled","@label"],["link",[30,0,["generateInviteLink"]],[30,0,["disabledCopyLink"]],"user.invited.generate_link"]],null],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n "]],["@closeModal"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/invite-panel.js",scope:()=>[h.default,d.default,b.default,n.hash,p.default,u.default,y.i18n,w.default,n.fn,c.default,s.Textarea],isStrictMode:!0}),this))()}},44060:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return("w"===t||"W"===t)&&(i="a"),e+i},week:{dow:1,doy:4}})})},44083:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addCategorySortCriteria:()=>A,default:()=>D});var s=i(72799),n=i(25604),r=i(4781),a=i(75527),o=i(57528),l=i(69058),u=i(53769),c=i(54519),d=i(67486),p=i(12733),h=i(25755),m=i(86326),g=i(28106),f=i(20434),_=i(23064),y=i(72523),b=i(70278),w=i(88820),k=i(52605),T=i(20244),S=i(71209);let C=[];function A(e){C.push(e)}class D extends(0,l.buildCategoryPanel)("settings"){static #e=(()=>dt7948.g(this.prototype,"emailInEnabled",[(0,f.setting)("email_in")]))();#lM=(()=>void dt7948.i(this,"emailInEnabled"))();static #t=(()=>dt7948.g(this.prototype,"showPositionInput",[(0,f.setting)("fixed_category_positions")]))();#lx=(()=>void dt7948.i(this,"showPositionInput"))();static #i=(()=>dt7948.g(this.prototype,"showSubcategoryListStyle",[(0,o.and)("category.show_subcategory_list","isParentCategory")]))();#lE=(()=>void dt7948.i(this,"showSubcategoryListStyle"))();static #s=(()=>dt7948.g(this.prototype,"isDefaultSortOrder",[(0,o.empty)("category.sort_order")]))();#lL=(()=>void dt7948.i(this,"isDefaultSortOrder"))();isParentCategory(e,t,i){return e||!(t||i)}static #u=(()=>dt7948.n(this.prototype,"isParentCategory",[(0,y.default)("category.isParent","category.parent_category_id","transientData.parent_category_id")]))();availableSubcategoryListStyles(){return[{name:(0,w.i18n)("category.subcategory_list_styles.rows"),value:"rows"},{name:(0,w.i18n)("category.subcategory_list_styles.rows_with_featured_topics"),value:"rows_with_featured_topics"},{name:(0,w.i18n)("category.subcategory_list_styles.boxes"),value:"boxes"},{name:(0,w.i18n)("category.subcategory_list_styles.boxes_with_featured_topics"),value:"boxes_with_featured_topics"}]}static #c=(()=>dt7948.n(this.prototype,"availableSubcategoryListStyles",[y.default]))();availableViews(e,t){let i=[{name:(0,w.i18n)("filters.latest.title"),value:"latest"},{name:(0,w.i18n)("filters.top.title"),value:"top"}];return(0,b.applyMutableValueTransformer)("category-available-views",i,{categoryId:e,customFields:t})}static #_=(()=>dt7948.n(this.prototype,"availableViews",[(0,y.default)("category.id","category.custom_fields")]))();availableTopPeriods(){return["all","yearly","quarterly","monthly","weekly","daily"].map(e=>({name:(0,w.i18n)(`filters.top.${e}.title`),value:e}))}static #b=(()=>dt7948.n(this.prototype,"availableTopPeriods",[y.default]))();availableListFilters(){return["all","none"].map(e=>({name:(0,w.i18n)(`category.list_filters.${e}`),value:e}))}static #v=(()=>dt7948.n(this.prototype,"availableListFilters",[y.default]))();searchPrioritiesOptions(){let e=[];return Object.entries(_.SEARCH_PRIORITIES).forEach(t=>{let[i,s]=t;e.push({name:(0,w.i18n)(`category.search_priority.options.${i}`),value:s})}),e}static #w=(()=>dt7948.n(this.prototype,"searchPrioritiesOptions",[y.default]))();availableSorts(){return["likes","op_likes","views","posts","activity","posters","category","created"].concat(C).map(e=>({name:(0,w.i18n)("category.sort_options."+e),value:e})).sort((e,t)=>e.name.localeCompare(t.name))}static #k=(()=>dt7948.n(this.prototype,"availableSorts",[y.default]))();sortAscendingOption(e){return"false"!==e&&("true"===e||e)}static #T=(()=>dt7948.n(this.prototype,"sortAscendingOption",[(0,y.default)("category.sort_ascending")]))();sortAscendingOptions(){return[{name:(0,w.i18n)("category.sort_ascending"),value:!0},{name:(0,w.i18n)("category.sort_descending"),value:!1}]}static #S=(()=>dt7948.n(this.prototype,"sortAscendingOptions",[y.default]))();hiddenRelativeIntervals(){return["mins"]}static #C=(()=>dt7948.n(this.prototype,"hiddenRelativeIntervals",[y.default]))();onAutoCloseDurationChange(e){this.set("category.auto_close_hours",e?e/60:null)}static #A=(()=>dt7948.n(this.prototype,"onAutoCloseDurationChange",[a.action]))();onDefaultSlowModeDurationChange(e){this.set("category.default_slow_mode_seconds",e?60*e:null)}static #D=(()=>dt7948.n(this.prototype,"onDefaultSlowModeDurationChange",[a.action]))();onCategoryModeratingGroupsChange(e){this.set("category.moderating_group_ids",e)}static #M=(()=>dt7948.n(this.prototype,"onCategoryModeratingGroupsChange",[a.action]))();static #z=(()=>(0,s.setComponentTemplate)((0,S.createTemplateFactory)({id:"Vxpmn8FK",block:'[[[1,"\\n "],[10,"section"],[12],[1,"\\n"],[41,[30,0,["showPositionInput"]],[[[1," "],[10,"section"],[14,0,"field position-fields"],[12],[1,"\\n "],[10,"label"],[14,"for","category-position"],[12],[1,"\\n "],[1,[28,[32,0],["category.position"],null]],[1,"\\n "],[13],[1,"\\n "],[11,"input"],[16,2,[30,0,["category","position"]]],[24,"min","0"],[24,1,"category-position"],[24,0,"position-input"],[24,4,"number"],[4,[32,1],["input",[28,[32,2],[[28,[32,3],[[28,[31,1],[[30,0,["category","position"]]],null]],null]],null]],null],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["showPositionInput"]]],[[[1," "],[10,"section"],[14,0,"field position-disabled"],[12],[1,"\\n "],[1,[28,[32,4],[[28,[32,0],["category.position_disabled"],[["url"],[[28,[32,5],["/admin/site_settings/category/all_results?filter=fixed_category_positions"],null]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"section"],[14,0,"field num-featured-topics"],[12],[1,"\\n "],[10,"label"],[14,"for","category-number-featured-topics"],[12],[1,"\\n"],[41,[30,0,["category","parent_category_id"]],[[[1," "],[1,[28,[32,0],["category.subcategory_num_featured_topics"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["category.num_featured_topics"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[11,"input"],[16,2,[30,0,["category","num_featured_topics"]]],[24,"min","1"],[24,1,"category-number-featured-topics"],[24,4,"number"],[4,[32,1],["input",[28,[32,2],[[28,[32,3],[[28,[31,1],[[30,0,["category","num_featured_topics"]]],null]],null]],null]],null],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field search-priority"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.search_priority.label"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],null,[["@valueProperty","@id","@content","@value","@onChange","@options"],["value","category-search-priority",[30,0,["searchPrioritiesOptions"]],[30,0,["category","search_priority"]],[28,[32,3],[[28,[31,1],[[30,0,["category","search_priority"]]],null]],null],[28,[32,7],null,[["placementStrategy"],["absolute"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["siteSettings","enable_badges"]],[[[1," "],[10,"section"],[14,0,"field allow-badges"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","allow_badges"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.allow_badges_label"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["siteSettings","topic_featured_link_enabled"]],[[[1," "],[10,"section"],[14,0,"field topic-featured-link-allowed"],[12],[1,"\\n "],[10,0],[14,0,"allowed-topic-featured-link-category"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","topic_featured_link_allowed"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.topic_featured_link_allowed"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"section"],[14,0,"field navigate-to-first-post-after-read"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","navigate_to_first_post_after_read"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.navigate_to_first_post_after_read"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field all-topics-wiki"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","all_topics_wiki"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.all_topics_wiki"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field allow-unlimited-owner-edits-on-first-post"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","allow_unlimited_owner_edits_on_first_post"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.allow_unlimited_owner_edits_on_first_post"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["category.settings_sections.moderation"],null]],[13],[1,"\\n"],[41,[30,0,["siteSettings","enable_category_group_moderation"]],[[[1," "],[10,"section"],[14,0,"field reviewable-by-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.reviewable_by_group"],null]],[13],[1,"\\n "],[8,[32,9],null,[["@content","@value","@onChange"],[[30,0,["site","groups"]],[30,0,["category","moderating_group_ids"]],[30,0,["onCategoryModeratingGroupsChange"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"section"],[14,0,"field require-topic-approval"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","category_setting","require_topic_approval"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.require_topic_approval"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field require-reply-approval"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","category_setting","require_reply_approval"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.require_reply_approval"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field default-slow-mode"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,"for","category-default-slow-mode"],[12],[1,"\\n "],[1,[28,[32,0],["category.default_slow_mode"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"category-default-slow-mode-seconds"],[12],[1,"\\n "],[8,[32,10],null,[["@id","@durationMinutes","@onChange"],["category-default-slow-mode",[30,0,["category","defaultSlowModeMinutes"]],[30,0,["onDefaultSlowModeDurationChange"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field auto-close"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,"for","topic-auto-close"],[12],[1,"\\n "],[1,[28,[32,0],["topic.auto_close.label"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"category-topic-auto-close-hours"],[12],[1,"\\n "],[8,[32,10],null,[["@id","@durationHours","@hiddenIntervals","@onChange"],["topic-auto-close",[30,0,["category","auto_close_hours"]],[30,0,["hiddenRelativeIntervals"]],[30,0,["onAutoCloseDurationChange"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","auto_close_based_on_last_post"]]]],null],[1,"\\n "],[1,[28,[32,0],["topic.auto_close.based_on_last_post"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field num-auto-bump-daily"],[12],[1,"\\n "],[10,"label"],[14,"for","category-number-daily-bump"],[12],[1,"\\n "],[1,[28,[32,0],["category.num_auto_bump_daily"],null]],[1,"\\n "],[13],[1,"\\n "],[11,"input"],[16,2,[30,0,["category","category_setting","num_auto_bump_daily"]]],[24,"min","0"],[24,1,"category-number-daily-bump"],[24,4,"number"],[4,[32,1],["input",[28,[32,2],[[28,[32,3],[[28,[31,1],[[30,0,["category","category_setting","num_auto_bump_daily"]]],null]],null]],null]],null],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field auto-bump-cooldown-days"],[12],[1,"\\n "],[10,"label"],[14,"for","category-auto-bump-cooldown-days"],[12],[1,"\\n "],[1,[28,[32,0],["category.auto_bump_cooldown_days"],null]],[1,"\\n "],[13],[1,"\\n "],[11,"input"],[16,2,[30,0,["category","category_setting","auto_bump_cooldown_days"]]],[24,"min","0"],[24,1,"category-auto-bump-cooldown-days"],[24,4,"number"],[4,[32,1],["input",[28,[32,2],[[28,[32,3],[[28,[31,1],[[30,0,["category","category_setting","auto_bump_cooldown_days"]]],null]],null]],null]],null],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["category.settings_sections.appearance"],null]],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field default-view-field"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.default_view"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],null,[["@valueProperty","@id","@content","@value","@options"],["value","category-default-view",[30,0,["availableViews"]],[30,0,["category","default_view"]],[28,[32,7],null,[["placementStrategy"],["absolute"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field default-top-period-field"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.default_top_period"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],null,[["@valueProperty","@id","@content","@value","@options"],["value","category-default-period",[30,0,["availableTopPeriods"]],[30,0,["category","default_top_period"]],[28,[32,7],null,[["placementStrategy"],["absolute"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field sort-order"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.sort_order"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],null,[["@valueProperty","@content","@value","@options","@onChange"],["value",[30,0,["availableSorts"]],[30,0,["category","sort_order"]],[28,[32,7],null,[["none"],["category.sort_options.default"]]],[28,[32,3],[[28,[31,1],[[30,0,["category","sort_order"]]],null]],null]]],null],[1,"\\n"],[41,[51,[30,0,["isDefaultSortOrder"]]],[[[1," "],[8,[32,6],null,[["@valueProperty","@content","@value","@options","@onChange"],["value",[30,0,["sortAscendingOptions"]],[30,0,["sortAscendingOption"]],[28,[32,7],null,[["none","placementStrategy"],["category.sort_options.default","absolute"]]],[28,[32,3],[[28,[31,1],[[30,0,["category","sort_ascending"]]],null]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field default-filter"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.default_list_filter"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],null,[["@id","@valueProperty","@content","@value"],["category-default-filter","value",[30,0,["availableListFilters"]],[30,0,["category","default_list_filter"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isParentCategory"]],[[[1," "],[10,"section"],[14,0,"field show-subcategory-list-field"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","show_subcategory_list"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.show_subcategory_list"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showSubcategoryListStyle"]],[[[1," "],[10,"section"],[14,0,"field subcategory-list-style-field"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["category.subcategory_list_style"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,6],null,[["@valueProperty","@id","@content","@value","@options"],["value","subcategory-list-style",[30,0,["availableSubcategoryListStyles"]],[30,0,["category","subcategory_list_style"]],[28,[32,7],null,[["placementStrategy"],["absolute"]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"section"],[14,0,"field category-read-only-banner"],[12],[1,"\\n "],[10,"label"],[14,"for","read-only-message"],[12],[1,[28,[32,0],["category.read_only_banner"],null]],[13],[1,"\\n "],[8,[32,11],null,[["@valueProperty","@id","@value","@options"],["value","read-only-message",[30,0,["category","read_only_banner"]],[28,[32,7],null,[["placementStrategy"],["absolute"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["category.settings_sections.email"],null]],[13],[1,"\\n\\n"],[41,[30,0,["emailInEnabled"]],[[[1," "],[10,"section"],[14,0,"field category-email-in"],[12],[1,"\\n "],[10,"label"],[14,"for","category-email-in"],[12],[1,"\\n "],[1,[28,[32,12],["envelope"],null]],[1,"\\n "],[1,[28,[32,0],["category.email_in"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,11],[[24,0,"email-in"]],[["@id","@value"],["category-email-in",[30,0,["category","email_in"]]]],null],[1,"\\n\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field email-in-allow-strangers"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","email_in_allow_strangers"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.email_in_allow_strangers"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field mailinglist-mirror"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,8],null,[["@type","@checked"],["checkbox",[30,0,["category","mailinglist_mirror"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.mailinglist_mirror"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,13],null,[["@name","@connectorTagName","@outletArgs"],["category-email-in","div",[28,[32,7],null,[["category"],[[30,0,["category"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["emailInEnabled"]]],[[[1," "],[10,"section"],[14,0,"field email-in-disabled"],[12],[1,"\\n "],[1,[28,[32,4],[[28,[32,0],["category.email_in_disabled"],[["setting_url"],[[28,[32,5],["/admin/site_settings/category/all_results?filter=email_in"],null]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[8,[32,13],null,[["@name","@outletArgs"],["category-custom-settings",[28,[32,7],null,[["category"],[[30,0,["category"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if","mut","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-settings.js",scope:()=>[w.i18n,r.on,g.default,n.fn,m.default,h.default,k.default,n.hash,s.Input,T.default,c.default,d.default,p.default,u.default],isStrictMode:!0}),this))()}},44155:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83426),n=i(88761);function r(e){return(0,n.isEmpty)(e)?(0,s.htmlSafe)("—"):e}},44156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(1968);class n extends s.default{pageId="conduct"}},44222:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87531),n=i(18555),r=i(72577);let a=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"isInDoNotDisturb",[s.tracked]))();#lP=(()=>void dt7948.i(this,"isInDoNotDisturb"))();#lF;constructor(){super(...arguments),this._checkDoNotDisturb()}willDestroy(){clearTimeout(this.#lF)}_checkDoNotDisturb(){if(clearTimeout(this.#lF),this.currentUser?.do_not_disturb_until){let e=new Date(this.currentUser.do_not_disturb_until)-Date.now();if(e<=0){this.isInDoNotDisturb=!1;return}this.isInDoNotDisturb=!0,this.#lF=setTimeout(()=>this._checkDoNotDisturb(),Math.min(e,6e4))}else this.isInDoNotDisturb=!1}},[r.disableImplicitInjections])},44255:(e,t,i)=>{"use strict";i.r(t),i.d(t,{e:()=>a,i:()=>r,s:()=>o,t:()=>function e(t){if("string"==typeof t)return t;if(null===t)return"null";if(void 0===t)return"undefined";if(Array.isArray(t)){let i="";for(let s=0;s0&&(i+=","),!function(e){return null==e}(t[s])&&(i+=e(t[s]));return i}return"function"==typeof t.toString?t.toString():l.call(t)}});var s=i(61535);let n=[];function r(e){return -1!==n.indexOf(e)}function a(e){let t=s.G+Math.floor(Math.random()*Date.now()).toString();return(0,s.i)(`__${e}${t}__`)}let o=Symbol,l=Object.prototype.toString},44264:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(25604),n=i(83426),r=i(8658),a=i(11075),o=i(81539),l=i(33722),u=i(3948),c=i(90403),d=i(71396),p=i(53769),h=i(77586),m=i(28078),g=i(54074),f=i(78108),_=i(59989),y=i(99159),b=i(29349),w=i(88820),k=i(72799),T=i(71209),S=i(86960);let C=(0,r.default)((0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"WUcS7Tq6",block:'[[[1,"\\n "],[1,[28,[32,0],["search","login","signup","menu"],null]],[1,"\\n "],[1,[32,1]],[1,"\\n "],[1,[28,[32,2],["login-page"],null]],[1,"\\n\\n"],[41,[30,1,["isRedirectingToExternalAuth"]],[[[1," "],[1,[32,3]],[1,"\\n"]],[]],[[[41,[28,[32,4],[[30,1,["siteSettings","full_page_login"]],[28,[32,5],[[30,1,["showLogin"]],[28,[32,6],[[30,1,["siteSettings","login_required"]]],null]],null]],null],[[[1," "],[10,0],[14,0,"login-fullpage"],[12],[1,"\\n "],[8,[32,7],null,[["@flash","@type"],[[30,1,["flash"]],[30,1,["flashType"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[28,[32,8],["login-body",[30,1,["bodyClasses"]]],null]],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["login-before-modal-body","div",[28,[32,10],null,[["flashChanged","flashTypeChanged"],[[30,0,["flashChanged"]],[30,0,["flashTypeChanged"]]]]]]],null],[1,"\\n\\n"],[41,[30,1,["hasNoLoginOptions"]],[[[1," "],[10,0],[15,0,[52,[30,1,["site","desktopView"]],"login-left-side"]],[12],[1,"\\n "],[10,0],[14,0,"login-welcome-header no-login-methods-configured"],[12],[1,"\\n "],[10,"h1"],[14,0,"login-title"],[12],[1,[28,[32,11],["login.no_login_methods.title"],null]],[13],[1,"\\n "],[10,"img"],[12],[13],[1,"\\n "],[10,2],[14,0,"login-subheader"],[12],[1,"\\n "],[1,[28,[32,12],[[28,[32,11],["login.no_login_methods.description",[28,[32,10],null,[["adminLoginPath"],[[30,1,["adminLoginPath"]]]]]],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,1,["site","mobileView"]],[[[1," "],[8,[32,13],null,[["@header"],[[28,[32,11],["login.header_title"],null]]],[["default"],[[[[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["login-header-bottom",[28,[32,10],null,[["createAccount"],[[30,1,["createAccount"]]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"],[41,[30,1,["showLoginButtons"]],[[[1," "],[8,[32,14],null,[["@externalLogin","@passkeyLogin","@context"],[[30,1,["externalLoginAction"]],[30,1,["passkeyLogin"]],"login"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,1,["canLoginLocal"]],[[[1," "],[10,0],[15,0,[52,[30,1,["site","desktopView"]],"login-left-side"]],[12],[1,"\\n"],[41,[30,1,["site","desktopView"]],[[[1," "],[8,[32,13],null,[["@header"],[[28,[32,11],["login.header_title"],null]]],[["default"],[[[[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["login-header-bottom",[28,[32,10],null,[["createAccount"],[[30,1,["createAccount"]]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[8,[32,15],null,[["@loginName","@loginNameChanged","@canLoginLocalWithEmail","@canUsePasskeys","@passkeyLogin","@loginPassword","@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@securityKeyAllowedCredentialIds","@securityKeyChallenge","@showSecurityKey","@otherMethodAllowed","@showSecondFactor","@handleForgotPassword","@login","@flashChanged","@flashTypeChanged","@securityKeyCredentialChanged"],[[30,1,["loginName"]],[30,1,["loginNameChanged"]],[30,1,["canLoginLocalWithEmail"]],[30,1,["canUsePasskeys"]],[30,1,["passkeyLogin"]],[30,1,["loginPassword"]],[30,1,["secondFactorMethod"]],[30,1,["secondFactorToken"]],[30,1,["backupEnabled"]],[30,1,["totpEnabled"]],[30,1,["securityKeyAllowedCredentialIds"]],[30,1,["securityKeyChallenge"]],[30,1,["showSecurityKey"]],[30,1,["otherMethodAllowed"]],[30,1,["showSecondFactor"]],[30,1,["handleForgotPassword"]],[30,1,["triggerLogin"]],[30,1,["flashChanged"]],[30,1,["flashTypeChanged"]],[30,1,["securityKeyCredentialChanged"]]]],null],[1,"\\n"],[41,[30,1,["site","desktopView"]],[[[1," "],[8,[32,16],null,[["@canLoginLocal","@showSecurityKey","@login","@loginButtonLabel","@loginDisabled","@showSignupLink","@createAccount","@loggingIn","@showSecondFactor"],[[30,1,["canLoginLocal"]],[30,1,["showSecurityKey"]],[30,1,["triggerLogin"]],[30,1,["loginButtonLabel"]],[30,1,["loginDisabled"]],[30,1,["showSignupLink"]],[30,1,["createAccount"]],[30,1,["loggingIn"]],[30,1,["showSecondFactor"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,4],[[30,1,["showLoginButtons"]],[30,1,["site","desktopView"]]],null],[[[41,[51,[30,1,["canLoginLocal"]]],[[[1," "],[10,0],[14,0,"login-left-side"],[12],[1,"\\n "],[8,[32,13],null,[["@header"],[[28,[32,11],["login.header_title"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["hasAtLeastOneLoginButton"]],[[[1," "],[10,0],[14,0,"login-right-side"],[12],[1,"\\n "],[8,[32,14],null,[["@externalLogin","@passkeyLogin","@context"],[[30,1,["externalLoginAction"]],[30,1,["passkeyLogin"]],"login"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null]],[]]],[1,"\\n"],[41,[30,1,["site","mobileView"]],[[[41,[51,[30,1,["hasNoLoginOptions"]]],[[[1," "],[8,[32,16],null,[["@canLoginLocal","@showSecurityKey","@login","@loginButtonLabel","@loginDisabled","@showSignupLink","@createAccount","@loggingIn","@showSecondFactor"],[[30,1,["canLoginLocal"]],[30,1,["showSecurityKey"]],[30,1,["triggerLogin"]],[30,1,["loginButtonLabel"]],[30,1,["loginDisabled"]],[30,1,["showSignupLink"]],[30,1,["createAccount"]],[30,1,["loggingIn"]],[30,1,["showSecondFactor"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"]],[]],[[[1," "],[1,[28,[32,2],["static-login"],null]],[1,"\\n "],[10,"section"],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n "],[10,0],[14,0,"login-welcome"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["above-login",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[8,[32,9],null,[["@name"],["above-static"]],null],[1,"\\n\\n "],[10,0],[14,0,"login-content"],[12],[1,"\\n "],[1,[28,[32,12],[[30,1,["model","html"]]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,9],null,[["@name"],["below-static"]],null],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["below-login",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"body-page-button-container"],[12],[1,"\\n"],[41,[30,1,["application","canSignUp"]],[[[1," "],[8,[32,17],[[24,0,"btn-primary sign-up-button"]],[["@action","@label"],[[28,[32,18],["showCreateAccount"],null],"sign_up"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,17],[[24,0,"btn-primary login-button"]],[["@action","@icon","@label"],[[52,[30,1,["shouldTriggerRouteAction"]],[28,[32,18],["showLogin"],null],[30,1,["showFullPageLogin"]]],"user","log_in"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,9],null,[["@name","@outletArgs"],["below-login-buttons",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]]],[1," "]],["@controller"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/login.js",scope:()=>[f.default,_.default,m.default,y.default,a.and,a.or,a.not,l.default,g.default,p.default,s.hash,w.i18n,n.htmlSafe,h.default,c.default,u.default,d.default,o.default,b.default],isStrictMode:!0}),(0,S.default)(void 0,void 0)))},44271:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(12999);class n extends s.default{model(){return this.modelFor("user")}setupController(e,t){e.reset(),e.setProperties({model:t,oldEmail:e.new?"":t.email,newEmail:e.new?"":t.email})}resetController(e,t){t&&e.set("new",void 0)}}},44286:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(1176)},44297:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(22407)},44316:(e,t,i)=>{"use strict";var s=i(31821),n=i(11979);function r(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=i(94950),e.exports.Schema=i(49273),e.exports.FAILSAFE_SCHEMA=i(1229),e.exports.JSON_SCHEMA=i(62090),e.exports.CORE_SCHEMA=i(96567),e.exports.DEFAULT_SCHEMA=i(11107),e.exports.load=s.load,e.exports.loadAll=s.loadAll,e.exports.dump=n.dump,e.exports.YAMLException=i(58041),e.exports.types={binary:i(67308),float:i(22419),map:i(97511),null:i(19132),pairs:i(33660),set:i(46841),timestamp:i(37169),bool:i(17021),int:i(28148),merge:i(42913),omap:i(8648),seq:i(57750),str:i(88458)},e.exports.safeLoad=r("safeLoad","load"),e.exports.safeLoadAll=r("safeLoadAll","loadAll"),e.exports.safeDump=r("safeDump","dump")},44361:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(61037),n=i(88820);class r extends s.default{titleToken(){return(0,n.i18n)("groups.manage.tags.title")}}},44380:(e,t,i)=>{"use strict";i.r(t),i.d(t,{on:()=>s});let s=i(31976).on},44421:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(95766),n=i(87531),r=i(18555),a=i(83426),o=i(55230),l=i(81539),u=i(53769),c=i(34918),d=i(28078),p=i(42668),h=i(70278),m=i(88820),g=i(72799),f=i(71209);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #s=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #u=(()=>dt7948.g(this.prototype,"search",[r.service]))();#ej=(()=>void dt7948.i(this,"search"))();static #c=(()=>dt7948.g(this.prototype,"inViewport",[n.tracked],function(){return!0}))();#lI=(()=>void dt7948.i(this,"inViewport"))();checkViewport=(()=>(0,o.modifier)(e=>{let t=new IntersectionObserver(e=>{let[t]=e;this.search.welcomeBannerSearchInViewport=t.isIntersecting},{threshold:1});return t.observe(e),()=>t.disconnect()}))();handleKeyboardShortcut=(()=>(0,o.modifier)(()=>{let e=e=>{("search"===e.type||"page-search"===e.type)&&this.search.welcomeBannerSearchInViewport&&(this.search.focusSearchInput(),e.event.preventDefault())};return this.appEvents.on("header:keyboard-trigger",e),()=>this.appEvents.off("header:keyboard-trigger",e)}))();get displayForRoute(){return this.siteSettings.top_menu.split("|").any(e=>`discovery.${e}`===this.router.currentRouteName)}get headerText(){return this.currentUser?(0,m.i18n)("welcome_banner.header.logged_in_members",{preferred_display_name:(0,p.prioritizeNameFallback)(this.currentUser.name,this.currentUser.username)}):(0,m.i18n)("welcome_banner.header.anonymous_members",{site_name:this.siteSettings.title})}get shouldDisplay(){return!!(0,h.applyValueTransformer)("site-setting-enable-welcome-banner",this.siteSettings.enable_welcome_banner)&&this.displayForRoute}static #_=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"l2VcJuvk",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[41,[30,0,["search","welcomeBannerSearchInViewport"]],[[[1," "],[1,[28,[32,0],["welcome-banner--visible"],null]],[1,"\\n"]],[]],null],[1,"\\n "],[11,0],[24,0,"welcome-banner"],[4,[30,0,["checkViewport"]],null,null],[4,[30,0,["handleKeyboardShortcut"]],null,null],[12],[1,"\\n "],[10,0],[14,0,"custom-search-banner welcome-banner__inner-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"custom-search-banner-wrap welcome-banner__wrap"],[12],[1,"\\n "],[10,0],[14,0,"welcome-banner__title"],[12],[1,"\\n "],[1,[28,[32,1],[[30,0,["headerText"]]],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@name"],["welcome-banner-below-headline"]],null],[1,"\\n "],[10,0],[14,0,"search-menu welcome-banner__search-menu"],[12],[1,"\\n "],[8,[32,3],[[24,0,"search-icon"]],[["@icon","@title","@href"],["magnifying-glass","search.open_advanced","/search?expanded=true"]],null],[1,"\\n "],[8,[32,4],null,[["@location","@searchInputId"],["welcome-banner","welcome-banner-search-input"]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@name"],["welcome-banner-below-input"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/welcome-banner.js",scope:()=>[d.default,a.htmlSafe,u.default,l.default,c.default],isStrictMode:!0}),this))()}},44426:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(95766),n=i(87531),r=i(75527),a=i(5845),o=i(18555),l=i(27659),u=i(81539),c=i(72490),d=i(24633),p=i(67486),h=i(53775),m=i(70412),g=i(23594),f=i(74089),_=i(88820),y=i(16929),b=i(72799),w=i(71209);class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"showEditReason",[n.tracked],function(){return!1}))();#lN=(()=>void dt7948.i(this,"showEditReason"))();static #i=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!0}))();#eg=(()=>void dt7948.i(this,"loading"))();spreadsheet=null;defaultColWidth=150;isEditingTable=(()=>!!this.args.model.tableTokens)();alignments=null;constructor(){super(...arguments),this.loadJspreadsheet(),g.default.pause()}willDestroy(){super.willDestroy(...arguments),g.default.unpause()}get modalAttributes(){return this.isEditingTable?{title:"table_builder.edit.modal.title",insertTable:{title:"table_builder.edit.modal.create",icon:"pencil"}}:{title:"table_builder.modal.title",insertTable:{title:"table_builder.modal.create",icon:"plus"}}}createSpreadsheet(e){this.spreadsheet=e,this.isEditingTable?this.buildPopulatedTable(this.args.model.tableTokens):this.buildNewTable()}static #s=(()=>dt7948.n(this.prototype,"createSpreadsheet",[r.action]))();showEditReasonField(){this.showEditReason=!this.showEditReason}static #u=(()=>dt7948.n(this.prototype,"showEditReasonField",[r.action]))();interceptCloseModal(){this._hasChanges()?this.dialog.yesNoConfirm({message:(0,_.i18n)("table_builder.modal.confirm_close"),didConfirm:()=>this.args.closeModal()}):this.args.closeModal()}static #c=(()=>dt7948.n(this.prototype,"interceptCloseModal",[r.action]))();insertTable(){let e=this.spreadsheet.getHeaders().split(",").map(e=>e.trim()),t=this.spreadsheet.getData(),i=this.buildTableMarkdown(e,t);return this.isEditingTable?this.updateTable(i):(this.args.model.toolbarEvent.addText(i),this.args.closeModal())}static #_=(()=>dt7948.n(this.prototype,"insertTable",[r.action]))();_hasChanges(){if(!this.isEditingTable)return this.spreadsheet.getData().flat().some(e=>""!==e);{let e=this.extractTableContent((0,f.tokenRange)(this.args.model.tableTokens,"tr_open","tr_close")),t=this.spreadsheet.getHeaders().split(","),i=this.spreadsheet.getData();return JSON.stringify(t.concat(i.flat()))!==JSON.stringify(e)}}async loadJspreadsheet(){let[e]=await Promise.all([i.e(920).then(i.t.bind(i,54920,23)),i.e(792).then(i.bind(i,10792)),Promise.all([i.e(502),i.e(539)]).then(i.bind(i,46920))]);this.jspreadsheet=e.default,this.loading=!1}buildNewTable(){let e=[{title:(0,_.i18n)("table_builder.default_header.col_1"),width:this.defaultColWidth},{title:(0,_.i18n)("table_builder.default_header.col_2"),width:this.defaultColWidth},{title:(0,_.i18n)("table_builder.default_header.col_3"),width:this.defaultColWidth},{title:(0,_.i18n)("table_builder.default_header.col_4"),width:this.defaultColWidth}];return this.buildSpreadsheet([["","",""],["","",""],["","",""],["","",""],["","",""],["","",""]],e)}extractTableContent(e){return e.flat().filter(e=>"inline"===e.type).map(e=>e.content)}extractTableAlignments(e){return e.flat().filter(e=>"td_open"===e.type).map(e=>{for(let t of e.attrs?.flat()??[])switch(t){case"text-align:left":return"left";case"text-align:center":return"center";case"text-align:right":return"right"}return null})}buildPopulatedTable(e){let t,i=(0,f.tokenRange)(e,"tr_open","tr_close"),s=[];return i.forEach((e,i)=>{0===i?t=this.extractTableContent(e).map(e=>({title:e||" ",width:Math.max(8*e.length,this.defaultColWidth)})):(null==this.alignments&&(this.alignments=this.extractTableAlignments(e)),s.push(this.extractTableContent(e)))}),t.forEach((e,t)=>{e.align=this.alignments?.[t]??"left"}),this.buildSpreadsheet(s,t)}buildSpreadsheet(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this.args.model?.post_number,n=s?`post-${s}-table-export`:"post-table-export";this.spreadsheet=this.jspreadsheet(this.spreadsheet,{data:e,columns:t,defaultColAlign:"left",wordWrap:!0,csvFileName:n,text:this.localeMapping(),...i})}buildUpdatedPost(e,t,i){let s,n=t.match((0,f.findTableRegex)());return n.length?s=(s=t.replace(n[e],i)).replace(/\0/g,"�"):t}updateTable(e){let t=this.args.model.tableIndex,i=this.args.model.post.id,s=this.editReason||(0,_.i18n)("table_builder.edit.default_edit_reason"),n=this.args.model.post.raw,r=this.buildUpdatedPost(t,n,e);return this.sendTableUpdate(i,r,s)}sendTableUpdate(e,t,i){return(0,h.ajax)(`/posts/${e}.json`,{type:"PUT",data:{post:{raw:t,edit_reason:i}}}).catch(m.popupAjaxError).finally(()=>{this.args.closeModal()})}buildTableMarkdown(e,t){let i=[];return t.forEach(t=>{let s={};e.forEach((e,i)=>s[`col${i}`]=t[i]),i.push(s)}),(0,f.arrayToTable)(i,e,"col",this.alignments)}localeMapping(){return{noRecordsFound:T("no_records_found"),show:T("show"),entries:T("entries"),insertANewColumnBefore:T("context_menu.col.before"),insertANewColumnAfter:T("context_menu.col.after"),deleteSelectedColumns:T("context_menu.col.delete"),renameThisColumn:T("context_menu.col.rename"),orderAscending:T("context_menu.order.ascending"),orderDescending:T("context_menu.order.descending"),insertANewRowBefore:T("context_menu.row.before"),insertANewRowAfter:T("context_menu.row.after"),deleteSelectedRows:T("context_menu.row.delete"),copy:T("context_menu.copy"),paste:T("context_menu.paste"),saveAs:T("context_menu.save"),about:T("about"),areYouSureToDeleteTheSelectedRows:T("prompts.delete_selected_rows"),areYouSureToDeleteTheSelectedColumns:T("prompts.delete_selected_cols"),thisActionWillDestroyAnyExistingMergedCellsAreYouSure:T("prompts.will_destroy_merged_cells"),thisActionWillClearYourSearchResultsAreYouSure:T("prompts.will_clear_search_results"),thereIsAConflictWithAnotherMergedCell:T("prompts.conflict_with_merged_cells"),invalidMergeProperties:T("invalid_merge_props"),cellAlreadyMerged:T("cells_already_merged"),noCellsSelected:T("no_cells_selected")}}static #b=(()=>(0,b.setComponentTemplate)((0,w.createTemplateFactory)({id:"25Wsu9Mm",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"insert-table-modal"]],[["@title","@closeModal"],[[28,[32,1],[[30,0,["modalAttributes","title"]]],null],[30,0,["interceptCloseModal"]]]],[["body","footer"],[[[[1,"\\n "],[8,[32,2],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n "],[11,0],[24,"tabindex","1"],[24,0,"jexcel_container"],[4,[32,3],[[30,0,["createSpreadsheet"]]],null],[12],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n"],[41,[51,[30,0,["loading"]]],[[[1," "],[10,0],[14,0,"primary-actions"],[12],[1,"\\n "],[8,[32,4],[[24,0,"btn-insert-table"]],[["@label","@icon","@action"],[[30,0,["modalAttributes","insertTable","title"]],[30,0,["modalAttributes","insertTable","icon"]],[30,0,["insertTable"]]]],null],[1,"\\n\\n "],[8,[32,5],null,[["@close"],[[30,0,["interceptCloseModal"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"secondary-actions"],[12],[1,"\\n"],[41,[30,0,["isEditingTable"]],[[[1," "],[10,0],[14,0,"edit-reason"],[12],[1,"\\n "],[8,[32,4],[[24,0,"btn-edit-reason"]],[["@icon","@title","@action"],["circle-info","table_builder.edit.modal.trigger_reason",[30,0,["showEditReasonField"]]]],null],[1,"\\n"],[41,[30,0,["showEditReason"]],[[[1," "],[8,[32,6],null,[["@value","@placeholderKey"],[[30,0,["editReason"]],"table_builder.edit.modal.reason"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,7],[[24,0,"btn btn-icon no-text"]],[["@icon","@triggers","@arrow"],["question","click",false]],[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"h4"],[12],[1,[28,[32,1],["table_builder.modal.help.title"],null]],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,"kbd"],[12],[1,"\\n "],[1,[28,[32,1],["table_builder.modal.help.enter_key"],null]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,1],["table_builder.modal.help.new_row"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,"kbd"],[12],[1,"\\n "],[1,[28,[32,1],["table_builder.modal.help.tab_key"],null]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,1],["table_builder.modal.help.new_col"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,[28,[32,1],["table_builder.modal.help.options"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/spreadsheet-editor.js",scope:()=>[c.default,_.i18n,l.default,a.default,u.default,d.default,p.default,y.default],isStrictMode:!0}),this))()}function T(e){return(0,_.i18n)(`table_builder.spreadsheet.${e}`)}},44443:(e,t,i)=>{e.exports=i(96487).Symbol},44501:(e,t,i)=>{"use strict";i.r(t),i.d(t,{fancyTitle:()=>a});var s=i(3982),n=i(73418),r=i(9789);function a(e,t){let i=(0,s.censor)((0,n.emojiUnescape)(e)||"",r.default.currentProp("censored_regexp"));return t?`${i}`:i}},44526:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(600),n=i(35352),r=i(88820);let a=class extends s.default{get linkHref(){return(0,n.userPath)(`${this.currentUser.username}/notifications/likes-received?acting_username=${this.notification.data.username}`)}get description(){return(0,r.i18n)("notifications.liked_consolidated_description",{count:this.notification.data.count})}}},44661:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(27144);function n(e){return(((0,s.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},44722:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{static forever="3000-01-01T00:00:00.000Z";static isEternal(e){return moment.utc(e).isSame(s.forever,"day")}}},44729:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},44740:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(73761),n=i(72799),r=i(71209),a=i(86960);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"A/r3ea9c",block:'[[[1,"\\n "],[11,0],[24,0,"search-menu glimmer-search-menu"],[24,"aria-live","polite"],[17,1],[12],[1,"\\n "],[8,[32,0],null,[["@searchInputId","@closeSearchMenu"],[[30,2],[30,3]]],null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@searchInputId","@closeSearchMenu"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/search-menu-wrapper.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"search-menu-wrapper"))},44791:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(95766),n=i(87531),r=i(25604),a=i(4781),o=i(75527),l=i(88761),u=i(27659),c=i(81539),d=i(72490),p=i(24633),h=i(29204),m=i(28106),g=i(70412),f=i(35352),_=i(88820),y=i(72799),b=i(71209);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#eg=(()=>void dt7948.i(this,"loading"))();static #t=(()=>dt7948.g(this.prototype,"reason",[n.tracked],function(){return this.args.model.group.membership_request_template}))();#lj=(()=>void dt7948.i(this,"reason"))();get title(){return(0,_.i18n)("groups.membership_request.title",{group_name:this.args.model.group.name})}get disableSubmit(){return this.loading||(0,l.isEmpty)(this.reason)}async requestMember(){this.loading=!0;try{let e=await this.args.model.group.requestMembership(this.reason);f.default.routeTo(e.relative_url)}catch(e){(0,g.popupAjaxError)(e)}finally{this.loading=!1}}static #i=(()=>dt7948.n(this.prototype,"requestMember",[o.action]))();static #s=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"wcq50nvC",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"request-group-membership-form"]],[["@title","@closeModal","@inline"],[[30,0,["title"]],[30,1],[30,2]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,1],["groups.membership_request.reason"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],[[16,2,[30,0,["reason"]]],[24,"maxlength","5000"],[4,[32,3],["input",[28,[32,4],[[28,[32,5],[[28,[31,0],[[30,0,["reason"]]],null]],null]],null]],null]],null,null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,6],[[24,0,"btn-primary"]],[["@action","@label","@disabled"],[[30,0,["requestMember"]],"groups.membership_request.submit",[30,0,["disableSubmit"]]]],null],[1,"\\n\\n "],[8,[32,7],null,[["@close"],[[30,1]]],null],[1,"\\n "],[8,[32,8],null,[["@size","@condition"],["small",[30,0,["loading"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@inline"],false,["mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/request-group-membership-form.js",scope:()=>[d.default,_.i18n,h.default,a.on,m.default,r.fn,c.default,p.default,u.default],isStrictMode:!0}),this))()}},44805:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(2369),n=i(69164),r=i(65319),a=i(70677),o=i(35794),l=i(13376),u=i(35352),c=i(47112),d=i(88820);let p={initialize(e){let t,i;if((0,u.setURLContainer)(e.__container__),(0,r.setDefaultOwner)(e.__container__),(0,n.isTesting)())return;let p=document.getElementById("data-discourse-setup");p&&(t=p.dataset);let h=document.getElementById("data-preloaded");h&&(i=JSON.parse(h.dataset.preloaded));let m=Object.keys(i);if(0===m.length)throw"No preload data found in #data-preloaded. Unable to boot Discourse.";m.forEach(function(e){l.default.store(e,JSON.parse(i[e])),"true"===t.debugPreloadedAppData&&console.log(e,l.default.get(e))}),(0,a.setupURL)(t.cdn,t.baseUrl,t.baseUri),(0,n.setEnvironment)(t.environment),d.default.defaultLocale=t.defaultLocale,window.Logster=window.Logster||{},window.Logster.enabled="true"===t.enableJsErrorReporting;let g=c.default.current();g.serviceWorkerURL=t.serviceWorkerUrl,g.assetVersion=t.assetVersion,g.disableCustomCSS="true"===t.disableCustomCss,t.mbLastFileChangeId&&(g.mbLastFileChangeId=parseInt(t.mbLastFileChangeId,10)),t.safeMode&&(g.safe_mode=t.safeMode),g.darkModeAvailable=document.querySelectorAll("link.dark-scheme").length>0,g.defaultColorSchemeIsDark="true"===t.colorSchemeIsDark,g.highlightJsPath=t.highlightJsPath,g.svgSpritePath=t.svgSpritePath,g.userColorSchemeId=parseInt(t.userColorSchemeId,10)||null,g.userDarkSchemeId=parseInt(t.userDarkSchemeId,10)||-1;let f=t.svgIconList;(0,n.isDevelopment)()&&f&&(0,o.setIconList)("string"==typeof f?JSON.parse(f):f),t.s3BaseUrl&&(0,a.setupS3CDN)(t.s3BaseUrl,t.s3Cdn),s.default.configure("onerror",function(e){e&&"TransitionAborted"===e.message||((0,n.isProduction)()||(e?e.message||e.stack?(console.log(e.message),console.log(e.stack)):console.log("Uncaught promise: ",e):console.log("A promise failed but was not caught.")),window.onerror(e&&e.message,null,null,null,e))})}}},44814:(e,t,i)=>{var s,n="undefined"!=typeof global?global:"undefined"!=typeof window?window:{},r=i(66883);"undefined"!=typeof document?s=document:(s=n["__GLOBAL_DOCUMENT_CACHE@4"])||(s=n["__GLOBAL_DOCUMENT_CACHE@4"]=r),e.exports=s},44881:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(72799),n=i(57528),r=i(18555),a=i(83426),o=i(32504),l=i(12733),u=i(72523),c=i(71209);let d=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[r.service]))();#eM=(()=>void dt7948.i(this,"composer"))();tipReason=null;tabindex="0";static #t=(()=>dt7948.g(this.prototype,"lastShownAt",[(0,n.or)("shownAt","validation.lastShownAt")]))();#lO=(()=>void dt7948.i(this,"lastShownAt"))();static #i=(()=>dt7948.g(this.prototype,"bad",[(0,n.reads)("validation.failed")]))();#lR=(()=>void dt7948.i(this,"bad"))();static #s=(()=>dt7948.g(this.prototype,"good",[(0,n.not)("bad")]))();#lU=(()=>void dt7948.i(this,"good"))();role(e){if(e)return"alert"}static #u=(()=>dt7948.n(this.prototype,"role",[(0,u.default)("bad")]))();ariaLabel(e){return e?.replace(/(<([^>]+)>)/gi,"")}static #c=(()=>dt7948.n(this.prototype,"ariaLabel",[(0,u.default)("validation.reason")]))();dismiss(){this.set("shownAt",null),this.composer.clearLastValidatedAt(),this.element.previousElementSibling?.focus()}click(){this.dismiss()}keyDown(e){"Enter"===e.key&&this.dismiss()}didReceiveAttrs(){super.didReceiveAttrs(...arguments);let e=this.get("validation.reason");e?this.set("tipReason",(0,a.htmlSafe)(`${e}`)):this.set("tipReason",null)}static #_=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"yXJeko6l",block:'[[[1,[30,0,["tipReason"]]],[1," "],[1,[28,[32,0],["circle-xmark"],null]]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/popup-input-tip.js",scope:()=>[l.default],isStrictMode:!0}),this))()},[(0,o.attributeBindings)("role","ariaLabel","tabindex"),(0,o.classNameBindings)(":popup-tip","good","bad","lastShownAt::hide"),(0,o.tagName)("a")])},44886:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(12999);class n extends s.default{}},44904:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addExtraUserClasses:()=>s.addExtraUserClasses,classesForUser:()=>s.classesForUser,registerCustomAvatarHelper:()=>s.registerCustomAvatarHelper,renderAvatar:()=>s.renderAvatar});var s=i(23722)},44922:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ADMIN_NAV_MAP:()=>s});let s=[{text:"",name:"root",hideSectionHeader:!0,links:[{name:"admin_home",route:"admin.dashboard.general",label:"admin.config.dashboard.title",description:"admin.config.dashboard.header_description",icon:"house",moderator:!0},{name:"admin_search",route:"adminSearch",label:"admin.config.search_everything.title",description:"admin.config.search_everything.header_description",icon:"magnifying-glass",moderator:!0},{name:"admin_users",route:"adminUsers",label:"admin.config.users.title",description:"admin.config.users.header_description",icon:"users",moderator:!0},{name:"admin_groups",route:"adminGroups",label:"admin.config.groups.title",description:"admin.config.groups.header_description",icon:"user-group",moderator:!0},{name:"admin_all_site_settings",route:"adminSiteSettings",label:"admin.config.site_settings.title",description:"admin.config.site_settings.header_description",icon:"gear"},{name:"admin_whats_new",route:"admin.whatsNew",label:"admin.config.whats_new.title",description:"admin.config.whats_new.header_description",icon:"gift",keywords:"admin.config.whats_new.keywords",moderator:!0}]},{name:"account",label:"admin.config_sections.account.title",links:[{name:"admin_backups",route:"admin.backups",label:"admin.config.backups.title",description:"admin.config.backups.header_description",icon:"box-archive",settings_category:"backups",multi_tabbed:!0,links:[{name:"admin_backups_logs",route:"admin.backups.logs",label:"admin.config.backups.sub_pages.logs.title",description:"admin.config.backups.sub_pages.logs.header_description"}]}]},{name:"reports",label:"admin.config_sections.reports.title",links:[{name:"admin_all_reports",route:"adminReports",label:"admin.config.reports.title",description:"admin.config.reports.header_description",icon:"chart-bar",moderator:!0,links:[{name:"admin_reports_settings",route:"adminReports.dashboardSettings",label:"settings",description:"admin.config.reports.header_description",icon:"gear",settings_area:"reports"}]}]},{name:"community",label:"admin.config_sections.community.title",links:[{name:"admin_about_your_site",route:"adminConfig.about",label:"admin.config.about.title",description:"admin.config.about.header_description",icon:"gear",settings_area:"about"},{name:"admin_content",route:"adminConfig.content",label:"admin.config.content.title",description:"admin.config.content.header_description",keywords:"admin.config.content.keywords",icon:"pencil",settings_area:"categories_and_tags",multi_tabbed:!0},{name:"admin_badges",route:"adminBadges",label:"admin.config.badges.title",description:"admin.config.badges.header_description",icon:"certificate"},{name:"admin_login_and_authentication",route:"adminConfig.loginAndAuthentication.settings",label:"admin.config.login_and_authentication.title",description:"admin.config.login_and_authentication.header_description",icon:"unlock",settings_category:"login"},{name:"admin_notifications",route:"adminConfig.notifications.settings",label:"admin.config.notifications.title",description:"admin.config.notifications.header_description",icon:"bell",settings_area:"notifications"},{name:"admin_localization",route:"adminConfig.localization.settings",label:"admin.config.localization.title",description:"admin.config.localization.header_description",keywords:"admin.config.localization.keywords",icon:"globe",settings_area:"localization"},{name:"admin_analytics",route:"adminAnalytics",label:"admin.config.analytics.title",description:"admin.config.analytics.header_description",icon:"chart-pie",settings_area:"analytics",keywords:"admin.config.analytics.keywords",multi_tabbed:!1},{name:"admin_permalinks",route:"adminPermalinks",label:"admin.config.permalinks.title",description:"admin.config.permalinks.header_description",icon:"link",settings_area:"permalinks",multi_tabbed:!0},{name:"admin_user_defaults",route:"adminConfig.userDefaults.settings",label:"admin.config.user_defaults.title",description:"admin.config.user_defaults.header_description",keywords:"admin.config.user_defaults.keywords",icon:"circle-user",settings_area:"user_defaults",multi_tabbed:!1},{name:"admin_trust_levels",route:"adminConfig.trustLevels.settings",label:"admin.config.trust_levels.title",description:"admin.config.trust_levels.header_description",icon:"user-shield",settings_area:"trust_levels"},{name:"admin_group_permissions",route:"adminConfig.groupPermissions.settings",label:"admin.config.group_permissions.title",description:"admin.config.group_permissions.header_description",icon:"user-gear",settings_area:"group_permissions"},{name:"admin_user_fields",route:"adminUserFields",label:"admin.config.user_fields.title",description:"admin.config.user_fields.header_description",icon:"user-pen"},{name:"admin_watched_words",route:"adminWatchedWords",label:"admin.config.watched_words.title",description:"admin.config.watched_words.header_description",icon:"eye",moderator:!0},{name:"admin_site_admin",route:"adminConfig.siteAdmin",label:"admin.config.site_admin.title",description:"admin.config.site_admin.header_description",keywords:"admin.config.site_admin.keywords",icon:"screwdriver-wrench",settings_area:"site_admin",multi_tabbed:!1},{name:"admin_legal",route:"adminConfig.legal.settings",label:"admin.config.legal.title",description:"admin.config.legal.header_description",icon:"gavel"},{name:"admin_moderation_flags",route:"adminConfig.flags",label:"admin.config.flags.title",description:"admin.config.flags.header_description",keywords:"admin.config.flags.keywords",icon:"flag",settings_area:"flags",multi_tabbed:!0}]},{name:"appearance",label:"admin.config_sections.appearance.title",links:[{name:"admin_logo_and_fonts",route:"adminConfig.logo-and-fonts",label:"admin.config.logo_and_fonts.title",description:"admin.config.logo_and_fonts.header_description",icon:"fab-discourse"},{name:"admin_color_palettes",route:"adminCustomize.colors",label:"admin.config.color_palettes.title",description:"admin.config.color_palettes.header_description",icon:"palette"},{name:"admin_interface",route:"adminConfig.interface",label:"admin.config.interface.title",description:"admin.config.interface.header_description",keywords:"admin.config.interface.keywords",icon:"discourse-table",settings_area:"interface",multi_tabbed:!1},{name:"admin_emoji",route:"adminEmojis",label:"admin.config.emoji.title",description:"admin.config.emoji.header_description",icon:"discourse-emojis",settings_area:"emojis",multi_tabbed:!0},{name:"admin_navigation",route:"adminConfig.navigation.settings",label:"admin.config.navigation.title",description:"admin.config.navigation.header_description",icon:"diagram-project",settings_area:"navigation"},{name:"admin_themes_and_components",route:"adminCustomizeThemes",routeModels:["themes"],currentWhen:"adminCustomizeThemes",label:"admin.config.themes_and_components.title",description:"admin.config.themes_and_components.header_description",icon:"paintbrush",keywords:"admin.config.themes_and_components.keywords"},{name:"admin_customize_site_texts",route:"adminSiteText",label:"admin.config.site_texts.title",description:"admin.config.site_texts.header_description",icon:"language"}]},{name:"email_settings",label:"admin.config_sections.email.title",links:[{name:"admin_server_setup",route:"adminEmail",label:"admin.config.email.title",description:"admin.config.email.header_description",keywords:"admin.config.email.keywords",icon:"gear",links:[{name:"admin_email_preview_summary",route:"adminEmail.previewDigest",label:"admin.config.email.sub_pages.preview_summary.title",description:"admin.config.email.sub_pages.preview_summary.header_description"},{name:"admin_email_advanced_test",route:"adminEmail.advancedTest",label:"admin.config.email.sub_pages.advanced_test.title",description:"admin.config.email.sub_pages.advanced_test.header_description"},{name:"admin_email_templates",route:"adminEmailTemplates",label:"admin.config.email.sub_pages.templates.title",description:"admin.config.email.sub_pages.templates.header_description"}]},{name:"admin_appearance",route:"adminCustomizeEmailStyle",label:"admin.config.email_appearance.title",description:"admin.config.email_appearance.header_description",icon:"palette"},{name:"admin_email_logs",route:"adminEmailLogs",label:"admin.config.email_logs.title",description:"admin.config.email_logs.header_description",keywords:"admin.config.email_logs.keywords",icon:"square-envelope",links:[{name:"admin_email_sent",route:"adminEmailLogs.sent",label:"admin.config.email_logs.sub_pages.sent.title",description:"admin.config.email_logs.sub_pages.sent.header_description"},{name:"admin_email_skipped",route:"adminEmailLogs.skipped",label:"admin.config.email_logs.sub_pages.skipped.title",description:"admin.config.email_logs.sub_pages.skipped.header_description"},{name:"admin_email_bounced",route:"adminEmailLogs.bounced",label:"admin.config.email_logs.sub_pages.bounced.title",description:"admin.config.email_logs.sub_pages.bounced.header_description"},{name:"admin_email_received",route:"adminEmailLogs.received",label:"admin.config.email_logs.sub_pages.received.title",description:"admin.config.email_logs.sub_pages.received.header_description"},{name:"admin_email_rejected",route:"adminEmailLogs.rejected",label:"admin.config.email_logs.sub_pages.rejected.title",description:"admin.config.email_logs.sub_pages.rejected.header_description"}]}]},{name:"security",label:"admin.config_sections.security.title",links:[{name:"admin_security",route:"adminConfig.security.settings",label:"admin.config.security.title",description:"admin.config.security.header_description",icon:"lock",settings_category:"security"},{name:"admin_spam",route:"adminConfig.spam.settings",label:"admin.config.spam.title",description:"admin.config.spam.header_description",icon:"robot",settings_category:"spam"},{name:"admin_logs_staff_action_logs",route:"adminLogs",label:"admin.config.staff_action_logs.title",description:"admin.config.staff_action_logs.header_description",keywords:"admin.config.staff_action_logs.keywords",icon:"user-shield",moderator:!0,links:[{name:"admin_logs_screened_emails",route:"adminLogs.screenedEmails",label:"admin.config.staff_action_logs.sub_pages.screened_emails.title",description:"admin.config.staff_action_logs.sub_pages.screened_emails.header_description"},{name:"admin_logs_screened_ip_addresses",route:"adminLogs.screenedIpAddresses",label:"admin.config.staff_action_logs.sub_pages.screened_ips.title",description:"admin.config.staff_action_logs.sub_pages.screened_ips.header_description"},{name:"admin_logs_screened_urls",route:"adminLogs.screenedUrls",label:"admin.config.staff_action_logs.sub_pages.screened_urls.title",description:"admin.config.staff_action_logs.sub_pages.screened_urls.header_description"},{name:"admin_logs_search_logs",route:"adminSearchLogs",label:"admin.config.staff_action_logs.sub_pages.search_logs.title",description:"admin.config.staff_action_logs.sub_pages.search_logs.header_description"}]}]},{name:"plugins",label:"admin.config_sections.plugins.title",links:[{name:"admin_installed_plugins",route:"adminPlugins.index",label:"admin.config.plugins.title",description:"admin.config.plugins.header_description",icon:"puzzle-piece"}]},{name:"advanced",label:"admin.config_sections.advanced.title",links:[{name:"admin_api_keys",route:"adminApiKeys",icon:"key",label:"admin.config.api_keys.title",description:"admin.config.api_keys.header_description",keywords:"admin.config.api_keys.keywords"},{name:"admin_webhooks",route:"adminWebHooks",icon:"arrows-rotate",label:"admin.config.webhooks.title",description:"admin.config.webhooks.header_description",keywords:"admin.config.webhooks.keywords"},{name:"admin_developer",route:"adminConfig.developer.settings",label:"admin.config.developer.title",description:"admin.config.developer.header_description",icon:"keyboard",settings_category:"developer"},{name:"admin_embedding",route:"adminEmbedding",label:"admin.config.embedding.title",description:"admin.config.embedding.header_description",icon:"code",settings_area:"embedding"},{name:"admin_rate_limits",route:"adminConfig.rate-limits.settings",label:"admin.config.rate_limits.title",description:"admin.config.rate_limits.header_description",icon:"rocket",settings_category:"rate_limits"},{name:"admin_onebox",route:"adminConfig.onebox.settings",label:"admin.config.onebox.title",description:"admin.config.onebox.header_description",icon:"far-square",settings_category:"onebox"},{name:"admin_files",route:"adminConfig.files.settings",label:"admin.config.files.title",description:"admin.config.files.header_description",icon:"file",settings_category:"files"},{name:"admin_search",route:"adminConfig.search.settings",label:"admin.config.search.title",description:"admin.config.search.header_description",icon:"magnifying-glass",settings_category:"search"},{name:"admin_experimental",route:"adminConfig.experimental.settings",label:"admin.config.experimental.title",description:"admin.config.experimental.header_description",icon:"discourse-sparkles",settings_category:"experimental"}]}]},44983:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(25604),n=i(97527),r=i(8658),a=i(11075),o=i(4033),l=i(81539),u=i(59759),c=i(15370),d=i(86326),p=i(72799),h=i(71209),m=i(86960);function g(e,t){return(0,n.getOwner)(e).resolveRegistration(`component:${t}`)}let f=(0,r.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"PfmG8VRF",block:'[[[1,"\\n "],[10,0],[15,0,[29,["edit-category ",[52,[30,1,["expandedMenu"]],"expanded-menu"]]]],[12],[1,"\\n "],[10,0],[14,0,"edit-category-title-bar"],[12],[1,"\\n "],[10,0],[14,0,"edit-category-title"],[12],[1,"\\n "],[10,"h2"],[12],[1,[30,1,["title"]]],[13],[1,"\\n"],[41,[30,1,["model","id"]],[[[1," "],[8,[32,0],null,[["@categories","@category","@noSubcategories","@editingCategory","@editingCategoryTab"],[[30,1,["breadcrumbCategories"]],[30,1,["model"]],[30,1,["model","noSubcategories"]],true,[30,1,["selectedTab"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[28,[32,1],[[30,1,["site","desktopView"]],[30,1,["model","id"]]],null],[[[1," "],[8,[32,2],[[24,0,"category-back"]],[["@action","@label","@icon"],[[30,1,["goBack"]],"category.back","caret-left"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"edit-category-nav"],[12],[1,"\\n "],[10,"ul"],[14,0,"nav nav-stacked"],[12],[1,"\\n "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"general"]],null],[1,"\\n "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"security"]],null],[1,"\\n "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"settings"]],null],[1,"\\n "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"images"]],null],[1,"\\n "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"topic-template"]],null],[1,"\\n"],[41,[30,1,["siteSettings","tagging_enabled"]],[[[1," "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"tags"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["siteSettings","experimental_content_localization"]],[[[1," "],[8,[32,3],null,[["@panels","@selectedTab","@params","@tab"],[[30,1,["panels"]],[30,1,["selectedTab"]],[30,1,["parentParams"]],"localizations"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@data","@onDirtyCheck"],[[30,1,["formData"]],[30,1,["isLeavingForm"]]]],[["default"],[[[[1,"\\n "],[8,[30,2,["Section"]],[[24,0,"edit-category-content"]],[["@title"],[[30,1,["selectedTabTitle"]]]],[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["panels"]]],null]],null],null,[[[44,[[28,[32,5],[[30,1],[30,4]],null]],[[[1," "],[8,[30,5],null,[["@selectedTab","@category","@action","@transientData","@form"],[[30,1,["selectedTab"]],[30,1,["model"]],[30,1,["registerValidator"]],[30,3],[30,2]]],null],[1,"\\n"]],[5]]]],[4]],null],[1," "]],[]]]]],[1,"\\n\\n"],[41,[30,1,["showDeleteReason"]],[[[1," "],[8,[30,2,["Alert"]],[[24,0,"edit-category-delete-warning"]],[["@type"],["warning"]],[["default"],[[[[1,"\\n "],[1,[28,[32,6],[[30,1,["model","cannot_delete_reason"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,2,["Actions"]],[[24,0,"edit-category-footer"]],null,[["default"],[[[[1,"\\n "],[8,[30,2,["Button"]],[[24,1,"save-category"],[24,0,"btn-primary"]],[["@disabled","@action","@label"],[[28,[32,7],[[28,[30,1,["canSaveForm"]],[[30,3]],null]],null],[28,[32,8],[[30,1,["saveCategory"]],[30,3]],null],[30,1,["saveLabel"]]]],null],[1,"\\n\\n"],[41,[30,1,["model","can_delete"]],[[[1," "],[8,[30,2,["Button"]],[[24,0,"btn-danger"]],[["@disabled","@action","@icon","@label"],[[30,1,["deleteDisabled"]],[30,1,["deleteCategory"]],"trash-can","category.delete"]],null],[1,"\\n"]],[]],[[[41,[30,1,["model","id"]],[[[1," "],[8,[30,2,["Button"]],[[24,0,"btn-default"]],[["@disabled","@action","@icon","@label"],[[30,1,["deleteDisabled"]],[30,1,["toggleDeleteTooltip"]],"circle-question","category.delete"]],null],[1,"\\n "]],[]],null]],[]]],[1," "]],[]]]]],[1,"\\n "]],[2,3]]]]],[1,"\\n "],[13],[1,"\\n "]],["@controller","form","transientData","tabName","Tab"],false,["if","each","-track-array","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/edit-category-tabs.js",scope:()=>[o.default,a.and,l.default,u.default,c.default,g,d.default,a.not,s.fn],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},45015:(e,t,i)=>{"use strict";i.r(t);var s=i(12526),n=i(65871),r=i(37303),a=i(80405),o=i(14503),l=i(70473),u=i(96859),c=i(15471);(0,s.registerAsyncHelper)("visit",u.default),(0,s.registerAsyncHelper)("wait",c.default),(0,s.registerAsyncHelper)("andThen",n.default),(0,s.registerAsyncHelper)("pauseTest",l.pauseTest),(0,s.registerHelper)("currentRouteName",a.default),(0,s.registerHelper)("currentPath",r.default),(0,s.registerHelper)("currentURL",o.default),(0,s.registerHelper)("resumeTest",l.resumeTest)},45019:(e,t,i)=>{"use strict";function s(e){return e}function n(e){return e}i.r(t),i.d(t,{assertIsDeprecation:()=>s,assertIsDeprecations:()=>n}),i(11191),i(94780)},45027:(e,t,i)=>{"use strict";function s(e,t,i){return i.modifyComponentForRow(e,t)}i.r(t),i.d(t,{default:()=>s})},45042:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(18555),r=i(12733),a=i(72523),o=i(88820),l=i(72799),u=i(71209);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();constructor(){super(...arguments),this.messageBus.subscribe(this.unreadIndicatorChannel,this.onMessage)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe(this.unreadIndicatorChannel,this.onMessage)}onMessage(e){this.args.topic.set("unread_by_group_member",e.show_indicator)}static #t=(()=>dt7948.n(this.prototype,"onMessage",[a.bind]))();get unreadIndicatorChannel(){return`/private-messages/unread-indicator/${this.args.topic.id}`}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"0Ndbfukh",block:'[[[41,[30,1,["unread_by_group_member"]],[[[1," "],[10,1],[15,"title",[28,[32,0],["topic.unread_indicator"],null]],[14,0,"badge badge-notification unread-indicator"],[12],[1,[28,[32,1],["asterisk"],null]],[13]],[]],null]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/unread-indicator.js",scope:()=>[o.i18n,r.default],isStrictMode:!0}),this))()}},45089:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,i){return e>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var i=this._calendarEl[e],s=t&&t.hours();return function(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}(i)&&(i=i.apply(t)),i.replace("{}",s%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})},45098:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isDestroyed:()=>r,isDestroying:()=>n});var s=i(43079);let n=s.default._isDestroying,r=s.default._isDestroyed},45114:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var s=i(25604),n=i(4781),r=i(62838),a=i(8658),o=i(81539),l=i(22090),u=i(53769),c=i(98423),d=i(46641),p=i(74736),h=i(12733),m=i(32441),g=i(86326),f=i(74512),_=i(29349),y=i(28267),b=i(88820),w=i(52199),k=i(76453),T=i(72799),S=i(71209),C=i(86960);let A=(0,a.default)((0,T.setComponentTemplate)((0,S.createTemplateFactory)({id:"S4JoFMEN",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["above-user-profile","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[10,0],[15,0,[29,["container\\n ",[52,[30,1,["viewingSelf"]],"viewing-self"],"\\n ",[52,[30,1,["model","profile_hidden"]],"profile-hidden"],"\\n ",[30,1,["primaryGroup"]]]]],[12],[1,"\\n "],[10,"section"],[14,0,"user-main"],[12],[1,"\\n "],[10,3],[14,6,"#user-content"],[14,1,"user-nav-skip-link"],[14,0,"skip-link__user-nav"],[12],[1,"\\n "],[1,[28,[32,2],["skip_user_nav"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[15,0,[29,[[52,[30,1,["collapsedInfo"]],"collapsed-info"],"\\n about\\n ",[52,[30,1,["hasProfileBackgroundUrl"]],"has-background","no-background"]]]],[12],[1,"\\n"],[41,[51,[30,1,["collapsedInfo"]]],[[[41,[30,1,["showStaffCounters"]],[[[1," "],[10,0],[14,0,"staff-counters"],[12],[1,"\\n"],[41,[30,1,["model","number_of_flags_given"]],[[[1," "],[10,0],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.flags_given"],[["className","count"],["helpful-flags",[30,1,["model","number_of_flags_given"]]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_flagged_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@query"],["review",[28,[32,1],null,[["username","status","type"],[[30,1,["model","username"]],"all","ReviewableFlaggedPost"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.flagged_posts"],[["className","count"],["flagged-posts",[30,1,["model","number_of_flagged_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_rejected_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@query"],["review",[28,[32,1],null,[["username","status","type"],[[30,1,["model","username"]],"rejected","ReviewableQueuedPost"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.rejected_posts"],[["className","count"],["flagged-posts",[30,1,["model","number_of_rejected_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","number_of_deleted_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@model"],["user.deletedPosts",[30,1,["model"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.deleted_posts"],[["className","count"],["deleted-posts",[30,1,["model","number_of_deleted_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_suspensions"]],[[[1," "],[10,0],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,5],["click",[30,1,["showSuspensions"]]],null],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.suspensions"],[["className","count"],["suspensions",[30,1,["model","number_of_suspensions"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","warnings_received_count"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@model"],["userPrivateMessages.user.warnings",[30,1,["model"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.warnings_received"],[["className","count"],["warnings-received",[30,1,["model","warnings_received_count"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"user-profile-image"],[15,5,[30,1,["model","profileBackgroundUrl"]]],[12],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"details"],[12],[1,"\\n "],[10,0],[14,0,"primary"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["before-user-profile-avatar",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[8,[32,6],null,[["@user","@tagName"],[[30,1,["model"]],""]],null],[1,"\\n "],[10,0],[14,0,"primary-textual"],[12],[1,"\\n "],[10,0],[14,0,"user-profile-names"],[12],[1,"\\n\\n "],[10,0],[15,0,[29,[[52,[30,1,["nameFirst"]],"full-name","username"],"\\n user-profile-names__primary"]]],[12],[1,"\\n "],[1,[52,[30,1,["nameFirst"]],[30,1,["model","name"]],[28,[32,7],[[30,1,["model","username"]]],null]]],[1,"\\n "],[1,[28,[32,8],[[30,1,["model"]]],[["currentUser"],[[30,1,["currentUser"]]]]]],[1,"\\n"],[41,[30,1,["model","status"]],[[[1," "],[8,[32,9],null,[["@status"],[[30,1,["model","status"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[15,0,[29,[[52,[30,1,["nameFirst"]],"username","full-name"],"\\n user-profile-names__secondary"]]],[12],[41,[30,1,["nameFirst"]],[[[1,[30,1,["model","username"]]]],[]],[[[1,[30,1,["model","name"]]]],[]]],[13],[1,"\\n"],[41,[30,1,["model","staged"]],[[[1," "],[10,0],[14,0,"staged user-profile-names__secondary"],[12],[1,[28,[32,2],["user.staged"],null]],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","title"]],[[[1," "],[10,0],[14,0,"user-profile-names__title"],[12],[1,[30,1,["model","title"]]],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-post-names","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["showFeaturedTopic"]],[[[1," "],[10,0],[14,0,"featured-topic user-profile__featured-topic"],[12],[1,"\\n "],[10,1],[15,"title",[28,[32,2],["user.featured_topic"],null]],[12],[1,"\\n "],[1,[28,[32,10],["book"],null]],[13],[8,[32,4],null,[["@route","@models"],["topic",[28,[32,11],[[30,1,["model","featured_topic","slug"]],[30,1,["model","featured_topic","id"]]],null]]],[["default"],[[[[1,[28,[32,12],[[28,[32,3],[[30,1,["model","featured_topic","fancy_title"]]],null]],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"location-and-website user-profile__location-and-website"],[12],[1,"\\n "],[41,[30,1,["model","location"]],[[[10,0],[14,0,"user-profile-location"],[12],[1,[28,[32,10],["location-dot"],null]],[1,[30,1,["model","location"]]],[13]],[]],null],[1,"\\n"],[41,[30,1,["model","website_name"]],[[[1," "],[10,0],[14,0,"user-profile-website"],[12],[1,"\\n"],[1," "],[1,[28,[32,10],["globe"],null]],[41,[30,1,["linkWebsite"]],[[[10,3],[15,6,[30,1,["model","website"]]],[15,"rel",[29,["noopener ",[52,[51,[30,1,["removeNoFollow"]]],"nofollow ugc"]]]],[14,"target","_blank"],[12],[1,[30,1,["model","website_name"]]],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[15,"title",[30,1,["model","website"]]],[12],[1,[30,1,["model","website_name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-location-and-website","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["before-user-profile-bio","div",[28,[32,1],null,[["model","publicUserFields","collapsedInfo","hasTrustLevel","canCheckEmails","canDeleteUser","adminDelete"],[[30,1,["model"]],[30,1,["publicUserFields"]],[30,1,["collapsedInfo"]],[30,1,["hasTrustLevel"]],[30,1,["canCheckEmails"]],[30,1,["canDeleteUser"]],[30,1,["adminDelete"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"bio"],[12],[1,"\\n"],[41,[30,1,["model","suspended"]],[[[1," "],[10,0],[14,0,"suspended"],[12],[1,"\\n "],[1,[28,[32,10],["ban"],null]],[1,"\\n "],[10,"b"],[12],[1,"\\n"],[41,[30,1,["model","suspendedForever"]],[[[1," "],[1,[28,[32,2],["user.suspended_permanently"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["user.suspended_notice"],[["date"],[[30,1,["model","suspendedTillDate"]]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"],[41,[30,1,["model","suspend_reason"]],[[[1," "],[10,"b"],[12],[1,[28,[32,2],["user.suspended_reason"],null]],[13],[1,"\\n "],[1,[30,1,["model","suspend_reason"]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[41,[30,1,["isNotSuspendedOrIsStaff"]],[[[1," "],[8,[32,13],null,null,[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[30,1,["model","bio_cooked"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["publicUserFields"]],[[[1," "],[10,0],[14,0,"public-user-fields"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["publicUserFields"]]],null]],null],null,[[[1,"\\n"],[41,[30,2,["value"]],[[[1," "],[10,0],[15,0,[29,["public-user-field ",[30,2,["field","dasherized_name"]]]]],[12],[1,"\\n "],[10,1],[14,0,"user-field-name"],[12],[1,[30,2,["field","name"]]],[13],[1,":\\n "],[10,1],[14,0,"user-field-value"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,2,["value"]]],null]],null],null,[[[1," "],[10,1],[14,0,"user-field-value-list-item"],[12],[1,"\\n"],[41,[30,2,["field","searchable"]],[[[1," "],[8,[32,4],null,[["@route","@query"],["users",[28,[32,1],null,[["name"],[[30,3]]]]]],[["default"],[[[[1,[30,3]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[30,3]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[3]],[[[1," "],[1,[30,2,["value"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[2]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-public-fields","div",[28,[32,1],null,[["publicUserFields","model"],[[30,1,["publicUserFields"]],[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-primary","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"controls"],[12],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[41,[30,1,["model","can_send_private_message_to_user"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,14],[[24,0,"btn-primary compose-pm"]],[["@action","@icon","@label"],[[28,[32,15],[[28,[32,16],["composePrivateMessage"],null],[30,1,["model"]]],null],"envelope","user.private_message"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canMuteOrIgnoreUser"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,17],null,[["@user","@value","@updateNotificationLevel"],[[30,1,["model"]],[30,1,["userNotificationLevel"]],[30,1,["updateNotificationLevel"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["displayTopLevelAdminButton"]],[[[1," "],[10,"li"],[12],[10,3],[15,6,[30,1,["model","adminPath"]]],[14,0,"btn btn-default user-admin"],[12],[1,[28,[32,10],["wrench"],null]],[10,1],[14,0,"d-button-label"],[12],[1,[28,[32,2],["admin.user.show_admin_profile"],null]],[13],[13],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-controls","li",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n"],[41,[30,1,["canExpandProfile"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,14],[[24,"aria-controls","collapsed-info-panel"],[16,"aria-expanded",[52,[30,1,["collapsedInfoState","isExpanded"]],"true","false"]],[24,0,"btn-default"]],[["@ariaLabel","@label","@icon","@action"],[[30,1,["collapsedInfoState","ariaLabel"]],[28,[32,18],["user.",[30,1,["collapsedInfoState","label"]]],null],[30,1,["collapsedInfoState","icon"]],[30,1,["collapsedInfoState","action"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,19],null,[["@model","@collapsedInfo","@hasTrustLevel","@canCheckEmails","@canDeleteUser","@adminDelete"],[[30,1,["model"]],[30,1,["collapsedInfo"]],[30,1,["hasTrustLevel"]],[30,1,["canCheckEmails"]],[30,1,["canDeleteUser"]],[30,1,["adminDelete"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"new-user-wrapper"],[12],[1,"\\n "],[8,[32,20],null,[["@user","@isStaff","@isMobileView","@showActivityTab","@showNotificationsTab","@showPrivateMessages","@canInviteToForum","@showBadges","@currentParentRoute","@showRead","@showDrafts","@showBookmarks"],[[30,1,["model"]],[30,1,["currentUser","staff"]],[30,1,["site","mobileView"]],[30,1,["showActivityTab"]],[30,1,["showNotificationsTab"]],[30,1,["showPrivateMessages"]],[30,1,["canInviteToForum"]],[30,1,["showBadges"]],[30,1,["currentParentRoute"]],[30,1,["showRead"]],[30,1,["showDrafts"]],[30,1,["showBookmarks"]]]],null],[1,"\\n\\n "],[10,0],[14,0,"new-user-content-wrapper"],[12],[1,"\\n "],[46,[28,[31,5],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller","uf","v"],false,["if","unless","each","-track-array","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user.js",scope:()=>[u.default,s.hash,b.i18n,g.default,r.LinkTo,n.on,d.default,m.default,y.default,p.default,h.default,s.array,f.default,l.default,o.default,s.fn,_.default,w.default,s.concat,k.default,c.default],isStrictMode:!0}),(0,C.default)(void 0,void 0)))},45151:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addCardClickListenerSelector:()=>f,default:()=>y,resetCardClickListenerSelector:()=>_});var s=i(72799),n=i(57528),r=i(77667),a=i(18555),o=i(72523),l=i(18674),u=i(62411),c=i(25687),d=i(35352),p=i(74089);let h="#main-outlet",m="scroll.mobile-card-cloak",g=[h];function f(e){g.push(e)}function _(){g=[h]}class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[a.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"menu",[a.service]))();#ty=(()=>void dt7948.i(this,"menu"))();static #s=(()=>dt7948.g(this.prototype,"router",[a.service]))();#a=(()=>void dt7948.i(this,"router"))();static #u=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #c=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();elementId=null;visible=!1;username=null;loading=null;cardTarget=null;post=null;isDocked=!1;static #_=(()=>dt7948.g(this.prototype,"postStream",[(0,n.alias)("topic.postStream")]))();#tx=(()=>void dt7948.i(this,"postStream"))();static #b=(()=>dt7948.g(this.prototype,"viewingTopic",[(0,n.match)("router.currentRouteName",/^topic\./)]))();#lB=(()=>void dt7948.i(this,"viewingTopic"))();_menuInstance=null;_show(e,t,i){if(this.siteSettings.hide_user_profiles_from_public&&!this.currentUser)return!0;if(e=(0,p.escapeExpression)(e.toString()),t.closest(".card-content"))return this._close(),d.default.routeTo(t.href),!1;this.appEvents.trigger("card:show",e,t,i);let s=t.closest("article")?.dataset?.postId||null;if(this.visible&&(this._close(),t===this.cardTarget))return;let n=this.viewingTopic&&s?this.postStream.findLoadedPost(s):null;return this.setProperties({username:e,loading:e,cardTarget:t,post:n}),document.querySelector(".card-cloak")?.classList.remove("hidden"),this.appEvents.trigger("user-card:show",{username:e}),(0,r.next)(()=>{this._positionCard(t,i),this._showCallback(e).then(e=>{this.appEvents.trigger("user-card:after-show",{user:e})})}),this.site.mobileView&&this._bindMobileScroll(),!1}didInsertElement(){super.didInsertElement(...arguments),document.addEventListener("mousedown",this._clickOutsideHandler),document.addEventListener("keyup",this._escListener),g.forEach(e=>{document.querySelector(e).addEventListener("click",this._cardClickHandler)}),this.appEvents.on(`d-editor:preview-click-${this.elementId}`,this,"_previewClick"),this.appEvents.on(`topic-header:trigger-${this.elementId}`,this,"_topicHeaderTrigger"),this.appEvents.on("card:close",this,"_close")}_cardClickHandler(e){this.avatarSelector&&this._showCardOnClick(e,this.avatarSelector,e=>e.dataset[this.avatarDataAttrKey])||this._showCardOnClick(e,this.mentionSelector,e=>e.innerText.replace(/^@/,""))}static #v=(()=>dt7948.n(this.prototype,"_cardClickHandler",[o.bind]))();_showCardOnClick(e,t,i){let s=e.target.closest(t);if(s){if((0,l.wantsNewWindow)(e))return!0;this._show(i(s),s,e)||(e.preventDefault(),e.stopPropagation())}return!1}_topicHeaderTrigger(e,t,i){return this.set("isDocked",!0),this._show(e,t,i)}_onScroll(){(0,r.throttle)(this,this._close,1e3)}static #w=(()=>dt7948.n(this.prototype,"_onScroll",[o.bind]))();_bindMobileScroll(){window.addEventListener(m,this._onScroll)}_unbindMobileScroll(){window.removeEventListener(m,this._onScroll)}_previewClick(e,t){return this._show(e.innerText.replace(/^@/,""),e,t)}_positionCard(e){(0,r.schedule)("afterRender",async()=>{this.site.desktopView?this._menuInstance=await this.menu.show(e,{content:this.element,autoUpdate:!1,identifier:"usercard",padding:{top:54+(0,c.headerOffset)(),right:10,bottom:10,left:10},maxWidth:"unset"}):this._menuInstance=await this.menu.show(e,{content:this.element,strategy:"fixed",identifier:"usercard",computePosition:e=>{e.style.left="10px",e.style.right="10px",e.style.top="54px"}}),this.element.classList.toggle("docked-card",this.isDocked),(0,u.default)(()=>{this.element.setAttribute("tabindex","-1"),this.element.focus()},350)})}_hide(){!this.visible&&this.site.mobileView&&document.querySelector(".card-cloak")?.classList.add("hidden"),this._menuInstance?.destroy()}static #k=(()=>dt7948.n(this.prototype,"_hide",[o.bind]))();_close(){this.setProperties({visible:!1,username:null,loading:null,cardTarget:null,post:null,isDocked:!1}),this.site.mobileView&&this._unbindMobileScroll(),this._hide(),this.appEvents.trigger("card:hide")}willDestroyElement(){super.willDestroyElement(...arguments),document.removeEventListener("mousedown",this._clickOutsideHandler),document.removeEventListener("keyup",this._escListener),g.forEach(e=>{document.querySelector(e).removeEventListener("click",this._cardClickHandler)}),this.appEvents.off(`d-editor:preview-click-${this.elementId}`,this,"_previewClick"),this.appEvents.off(`topic-header:trigger-${this.elementId}`,this,"_topicHeaderTrigger"),this.appEvents.off("card:close",this,"_close"),this._hide()}_clickOutsideHandler(e){!this.visible||e.target.closest(`[data-${this.elementId}]`)?.getAttribute(`data-${this.elementId}`)||e.target.closest(`a.${this.triggeringLinkClass}`)||e.target.closest(`#${this.elementId}`)||this._close()}static #T=(()=>dt7948.n(this.prototype,"_clickOutsideHandler",[o.bind]))();_escListener(e){this.visible&&"Escape"===e.key&&(this.cardTarget?.focus(),this._close())}static #S=(()=>dt7948.n(this.prototype,"_escListener",[o.bind]))()}},45152:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(54806)},45218:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(95766),n=i(4781),r=i(75527),a=i(18555),o=i(54074),l=i(12733),u=i(88820),c=i(72799),d=i(71209);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();get canViewRawEmail(){return this.currentUser?.can_view_raw_email}get icon(){return this.args.post.is_auto_generated?"envelope":"far-envelope"}get title(){return this.args.post.is_auto_generated?(0,u.i18n)("post.via_auto_generated_email"):(0,u.i18n)("post.via_email")}onShowRawEmail(){this.canViewRawEmail&&this.args.showRawEmail()}static #t=(()=>dt7948.n(this.prototype,"onShowRawEmail",[r.action]))();static #i=(()=>(0,c.setComponentTemplate)((0,d.createTemplateFactory)({id:"XDCYAQmf",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[28,[32,0],["post-info","via-email",[52,[30,0,["canViewRawEmail"]],"raw-email"]],null]],[16,"title",[30,0,["title"]]],[4,[32,1],["click",[30,0,["onShowRawEmail"]]],null],[12],[1,"\\n "],[1,[28,[32,2],[[30,0,["icon"]]],null]],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/email-indicator.js",scope:()=>[o.default,n.on,l.default],isStrictMode:!0}),this))()}},45323:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TAG_HASHTAG_POSTFIX:()=>s});let s="::tag"},45339:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SexpOpcodes:()=>s,VariableResolutionContext:()=>n,WellKnownAttrNames:()=>r,WellKnownTagNames:()=>a,getStringFromValue:()=>d,is:()=>o,isArgument:()=>p,isAttribute:()=>u,isFlushElement:()=>l,isGet:()=>m,isHelper:()=>h,isStringLiteral:()=>c});let s={Append:1,TrustingAppend:2,Comment:3,Modifier:4,StrictModifier:5,Block:6,StrictBlock:7,Component:8,OpenElement:10,OpenElementWithSplat:11,FlushElement:12,CloseElement:13,StaticAttr:14,DynamicAttr:15,ComponentAttr:16,AttrSplat:17,Yield:18,DynamicArg:20,StaticArg:21,TrustingDynamicAttr:22,TrustingComponentAttr:23,StaticComponentAttr:24,Debugger:26,Undefined:27,Call:28,Concat:29,GetSymbol:30,GetLexicalSymbol:32,GetStrictKeyword:31,GetFreeAsComponentOrHelperHead:35,GetFreeAsHelperHead:37,GetFreeAsModifierHead:38,GetFreeAsComponentHead:39,InElement:40,If:41,Each:42,Let:44,WithDynamicVars:45,InvokeComponent:46,HasBlock:48,HasBlockParams:49,Curry:50,Not:51,IfInline:52,GetDynamicVar:53,Log:54},n={Strict:0,ResolveAsComponentOrHelperHead:1,ResolveAsHelperHead:5,ResolveAsModifierHead:6,ResolveAsComponentHead:7},r={class:0,id:1,value:2,name:3,type:4,style:5,href:6},a={div:0,span:1,p:2,a:3};function o(e){return function(t){return Array.isArray(t)&&t[0]===e}}let l=o(s.FlushElement);function u(e){return e[0]===s.StaticAttr||e[0]===s.DynamicAttr||e[0]===s.TrustingDynamicAttr||e[0]===s.ComponentAttr||e[0]===s.StaticComponentAttr||e[0]===s.TrustingComponentAttr||e[0]===s.AttrSplat||e[0]===s.Modifier}function c(e){return"string"==typeof e}function d(e){return e}function p(e){return e[0]===s.StaticArg||e[0]===s.DynamicArg}function h(e){return Array.isArray(e)&&e[0]===s.Call}let m=o(s.GetSymbol)},45415:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(72799),n=i(75527),r=i(18555),a=i(32504),o=i(81539),l=i(70412),u=i(25239),c=i(72523),d=i(88820),p=i(44791),h=i(71209);let m=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[r.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #s=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#p=(()=>void dt7948.i(this,"modal"))();canJoinGroup(e,t){return e&&!t}static #u=(()=>dt7948.n(this.prototype,"canJoinGroup",[(0,c.default)("model.public_admission","userIsGroupUser")]))();canLeaveGroup(e,t){return e&&t}static #c=(()=>dt7948.n(this.prototype,"canLeaveGroup",[(0,c.default)("model.public_exit","userIsGroupUser")]))();canRequestMembership(e,t){return e&&!t}static #_=(()=>dt7948.n(this.prototype,"canRequestMembership",[(0,c.default)("model.allow_membership_requests","userIsGroupUser")]))();userIsGroupUser(e){return!!e}static #b=(()=>dt7948.n(this.prototype,"userIsGroupUser",[(0,c.default)("model.is_group_user")]))();_showLoginModal(){this.showLogin(),(0,u.default)("destination_url",window.location.href)}removeFromGroup(){let e=this.model;e.leave().then(()=>{e.set("is_group_user",!1),this.appEvents.trigger("group:leave",e)}).catch(l.popupAjaxError).finally(()=>this.set("updatingMembership",!1))}joinGroup(){if(this.currentUser){this.set("updatingMembership",!0);let e=this.model;e.join().then(()=>{e.set("is_group_user",!0),this.appEvents.trigger("group:join",e)}).catch(l.popupAjaxError).finally(()=>{this.set("updatingMembership",!1)})}else this._showLoginModal()}static #v=(()=>dt7948.n(this.prototype,"joinGroup",[n.action]))();leaveGroup(){if(this.set("updatingMembership",!0),!this.model.public_admission)return this.dialog.yesNoConfirm({message:(0,d.i18n)("groups.confirm_leave"),didConfirm:()=>this.removeFromGroup(),didCancel:()=>this.set("updatingMembership",!1)});this.removeFromGroup()}static #w=(()=>dt7948.n(this.prototype,"leaveGroup",[n.action]))();showRequestMembershipForm(){this.currentUser?this.modal.show(p.default,{model:{group:this.model}}):this._showLoginModal()}static #k=(()=>dt7948.n(this.prototype,"showRequestMembershipForm",[n.action]))();static #T=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"hv3Vhabi",block:'[[[1,"\\n"],[41,[30,0,["canJoinGroup"]],[[[1," "],[8,[32,0],[[24,0,"btn-default group-index-join"]],[["@action","@icon","@label","@disabled"],[[30,0,["joinGroup"]],"user-plus","groups.join",[30,0,["updatingMembership"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["canLeaveGroup"]],[[[1," "],[8,[32,0],[[24,0,"btn-danger group-index-leave"]],[["@action","@icon","@label","@disabled"],[[30,0,["leaveGroup"]],"user-xmark","groups.leave",[30,0,["updatingMembership"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["canRequestMembership"]],[[[1," "],[8,[32,0],[[24,0,"btn-default group-index-request"]],[["@action","@disabled","@icon","@label"],[[30,0,["showRequestMembershipForm"]],[30,0,["loading"]],"user-plus","groups.request"]],null],[1,"\\n"]],[]],[[[1," "],[18,1,null],[1,"\\n "]],[]]]],[]]]],[]]],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-membership-button.js",scope:()=>[o.default],isStrictMode:!0}),this))()},[(0,a.classNames)("group-membership-button")])},45427:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})})},45431:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(63534),n=i(55230),r=i(72523);let a="details:not(.is-disabled) summary, [autofocus], a, input, select, textarea, summary";class o extends n.default{element=null;constructor(e,t){super(e,t),(0,s.registerDestructor)(this,e=>e.cleanup())}modify(e,t,i){let{preventScroll:s,autofocus:n}=i;n??=!0,this.preventScroll=s??!0,this.originalElement=e,this.element=e.querySelector(".d-modal__container")||e,this.originalElement.addEventListener("keydown",this.trapTab);let r=this.element.querySelector("[autofocus]");n&&(!r||document.activeElement!==r)&&(r||this.element.querySelector(a+", button:not(.modal-close)")||this.element.querySelector(".d-modal__body"))?.focus({preventScroll:this.preventScroll})}trapTab(e){if("Tab"!==e.key)return;let t=Array.from(this.element.querySelectorAll(a+", button:enabled")).filter(e=>"-1"!==e.getAttribute("tabindex")),i=t[0],s=t[t.length-1];e.shiftKey?document.activeElement===i&&(s?.focus(),e.preventDefault()):document.activeElement===s&&(e.preventDefault(),(this.element.querySelector(".modal-close")||i)?.focus({preventScroll:this.preventScroll}))}static #e=(()=>dt7948.n(this.prototype,"trapTab",[r.bind]))();cleanup(){this.originalElement.removeEventListener("keydown",this.trapTab)}}},45478:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var s=i(15501),n=i(44661),r=i(47009);function a(e){return(0,s.A)((0,n.A)(e)).left+(0,r.A)(e).scrollLeft}},45558:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createCache:()=>s.createCache,getValue:()=>s.getValue,isConst:()=>s.isConst}),i(78212),i(61535),i(11191),i(77350);var s=i(38230);i(8215),i(42938),i(80725)},45568:(e,t,i)=>{"use strict";function s(e){return e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}function n(e){return e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}function r(e){return e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1_").toLowerCase()}i.r(t),i.d(t,{camelCaseToDash:()=>n,camelCaseToSnakeCase:()=>r,snakeCaseToCamelCase:()=>s})},45604:(e,t,i)=>{"use strict";i.r(t),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).A11yDialog=t()}(void 0,function(){let e=":not([inert]):not([inert] *)",t=':not([tabindex^="-"])',i=":not(:disabled)";var s=[`a[href]${e}${t}`,`area[href]${e}${t}`,`input:not([type="hidden"]):not([type="radio"])${e}${t}${i}`,`input[type="radio"]${e}${t}${i}`,`select${e}${t}${i}`,`textarea${e}${t}${i}`,`button${e}${t}${i}`,`details${e} > summary:first-of-type${t}`,`iframe${e}${t}`,`audio[controls]${e}${t}`,`video[controls]${e}${t}`,`[contenteditable]${e}${t}`,`[tabindex]${e}${t}`];function n(e){(e.querySelector("[autofocus]")||e).focus()}function r(e,t){if(t&&u(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let i=a(e.shadowRoot,t);for(;i;){let e=r(i,t);if(e)return e;i=o(i,t)}}else if("slot"===e.localName){let i=e.assignedElements({flatten:!0});for(let e of(t||i.reverse(),i)){let i=r(e,t);if(i)return i}}else{let i=a(e,t);for(;i;){let e=r(i,t);if(e)return e;i=o(i,t)}}return!t&&u(e)?e:null}function a(e,t){return t?e.firstElementChild:e.lastElementChild}function o(e,t){return t?e.nextElementSibling:e.previousElementSibling}let l=e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),u=e=>!e.shadowRoot?.delegatesFocus&&e.matches(s.join(","))&&!l(e);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.activeElement;return t?t.shadowRoot?c(t.shadowRoot)||document.activeElement:t:null}function d(e,t){return function t(i){if(!i||i===document||i===window)return null;let s=function e(t){return t.assignedSlot||(t.parentNode?e(t.parentNode):null)}(i);return s&&(i=s),i.closest(e)||t(i.getRootNode().host)}(t)}let p="data-a11y-dialog";class h{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(p)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){return this.shown||this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=c(),this.previouslyFocused?.tagName==="BODY"&&e?.target&&(this.previouslyFocused=e.target),e?.type==="focus"?this.maintainFocus():n(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){return!this.shown||this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this.previouslyFocused?.focus?.(),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0)),this}on(e,t,i){return this.$el.addEventListener(e,t,i),this}off(e,t,i){return this.$el.removeEventListener(e,t,i),this}fire(e,t){let i=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(i),i}handleTriggerClicks(e){let t=e.composedPath()[0],i=d(`[${p}-show="${this.id}"]`,t),s=d(`[${p}-hide="${this.id}"]`,t),n=d(`[${p}-hide]`,t)&&d('[aria-modal="true"]',t)===this.$el;i&&this.show(e),(s||n)&&this.hide(e)}bindKeypress(e){if(d('[aria-modal="true"]',c())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&function(e,t){let[i,s]=function(e){let t=r(e,!0),i=t?r(e,!1)||t:null;return[t,i]}(e);if(!i)return t.preventDefault();let n=c();t.shiftKey&&n===i?(s.focus(),t.preventDefault()):t.shiftKey||n!==s||(i.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(){d(`[aria-modal="true"], [${p}-ignore-focus-trap]`,c())||n(this.$el)}}function m(){for(let e of document.querySelectorAll("[data-a11y-dialog]"))new h(e)}return"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",m):m()),h})},45614:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y,filterQueryParams:()=>g,findTopicList:()=>f});var s=i(75527),n=i(18555),r=i(88761),a=i(74888),o=i(72577),l=i(74922),u=i(69098),c=i(74089),d=i(47112),p=i(9789),h=i(61037),m=i(88820);function g(e,t){let i={...t||{}};return e&&Object.keys(a.queryParams).forEach(function(t){(0,r.isEmpty)(e[t])||(i[t]=e[t])}),i}async function f(e,t,i){let s,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=d.default.current();if(r.cached){let e=a.get("topicList");e&&e.get("filter")===i&&(e.get("topics.length")||0)>e.get("per_page")&&(0,l.deepEqual)(e.get("listParams"),n)&&(e.set("loaded",!0),t?.updateTopics(e.get("topics")),s=e),a.set("topicList",null)}else a.setProperties({topicList:null});return(s||=await e.findFiltered("topicList",{filter:i,params:n})).set("listParams",n),t&&(t.sync(s,s.filter,n),t.trackIncoming(s.filter)),d.default.currentProp("topicList",s),s.topic_list?.top_tags&&(s.filter.startsWith("c/")||s.filter.startsWith("tags/c/")?p.default.currentProp("category_top_tags",s.topic_list.top_tags):p.default.currentProp("top_tags",s.topic_list.top_tags)),s}let _=dt7948.c(class extends h.default{static #e=(()=>dt7948.g(this.prototype,"screenTrack",[n.service]))();#nP=(()=>void dt7948.i(this,"screenTrack"))();static #t=(()=>dt7948.g(this.prototype,"store",[n.service]))();#n=(()=>void dt7948.i(this,"store"))();static #i=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#ec=(()=>void dt7948.i(this,"topicTrackingState"))();static #s=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #u=(()=>dt7948.g(this.prototype,"historyStore",[n.service]))();#eG=(()=>void dt7948.i(this,"historyStore"))();queryParams=(()=>a.queryParams)();templateName="discovery/list";async model(e){this.screenTrack.stop();let t=g(e),i={cached:this.historyStore.isPoppedState},s=f(this.store,this.topicTrackingState,this.routeConfig.filter,t,i);return{list:await s,filterType:this.routeConfig.filter.split("/")[0]}}titleToken(){if(this.routeConfig.filter===(0,c.defaultHomepage)())return;let e=(0,m.i18n)("filters."+this.routeConfig.filter.replace("/",".")+".title");return(0,m.i18n)("filters.with_topics",{filter:e})}setupController(e,t){super.setupController(...arguments),e.bulkSelectHelper.clear(),(0,u.setTopicList)(t.list)}resetParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a.resetParams.call(this,e)}static #c=(()=>dt7948.n(this.prototype,"resetParams",[s.action]))();willTransition(){return"top"===this.routeConfig.filter&&this.currentUser&&(this.currentUser.set("user_option.should_be_redirected_to_top",!1),this.currentUser.user_option?.redirected_to_top&&this.currentUser.set("user_option.redirected_to_top.reason",null)),super.willTransition(...arguments)}static #_=(()=>dt7948.n(this.prototype,"willTransition",[s.action]))()},[o.disableImplicitInjections]);function y(e){return class extends _{routeConfig=(()=>({filter:e}))()}}},45677:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(97527),n=i(53518),r=i(32414),a=i(43027),o=i(88820);let l=(e,t)=>class extends(0,a.default)(e,"private-messages-groups",t){groupName=null;titleToken(){let e=this.groupName;if(e){let i=(0,n.capitalize)(e);return"inbox"!==t&&(i=`${i} ${(0,o.i18n)("user.messages."+t)}`),[i,(0,o.i18n)("user.private_messages")]}}async model(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.modelFor("user").get("username_lower"),s=this.modelFor("userPrivateMessages.group").name,n=`topics/private-messages-group/${i}/${s}`;"inbox"!==t&&(n=`${n}/${t}`);let a=(0,r.findOrResetCachedTopicList)(this.session,n);if(a)return a;let o=await this.store.findFiltered("topicList",{filter:n,params:e});return o.set("emptyState",this.emptyState()),o}afterModel(e){let i,s=e.get("filter").split("/");i="inbox"!==t?s[s.length-2]:s.pop();let n=this.modelFor("userPrivateMessages.group");this.setProperties({groupName:i,group:n})}setupController(){super.setupController(...arguments),this.controllerFor("user-topics-list").set("group",this.group),(0,s.getOwner)(this).lookup("service:pm-topic-tracking-state").activeGroup=this.group,this.controllerFor("user-private-messages").set("group",this.group)}emptyState(){return{title:(0,o.i18n)("user.no_messages_title"),body:""}}dismissReadOptions(){return{group_name:this.get("groupName")}}}},45678:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(21980),n=i(75527),r=i(57528),a=i(18555),o=i(20511),l=i(21401),u=i(87071),c=i(18958),d=i(31728),p=i(57749),h=i(11714),m=i(70412),g=i(72523),f=i(35352),_=i(85899),y=i(36649),b=i(88820);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();loading=!1;dirty=!1;errorMessage=null;newUsername=null;static #s=(()=>dt7948.g(this.prototype,"backupEnabled",[(0,r.alias)("model.second_factor_backup_enabled")]))();#ns=(()=>void dt7948.i(this,"backupEnabled"))();secondFactorMethod=(()=>y.SECOND_FACTOR_METHODS.TOTP)();totps=[];security_keys=[];get isCurrentUser(){return this.currentUser?.id===this.model.id}hasOAuth(){return(0,_.findAll)().length>0}static #u=(()=>dt7948.n(this.prototype,"hasOAuth",[g.default]))();displayOAuthWarning(){return this.hasOAuth&&this.siteSettings.enforce_second_factor_on_external_auth}static #c=(()=>dt7948.n(this.prototype,"displayOAuthWarning",[g.default]))();showEnforcedWithOAuthNotice(e){return e&&e.enforcedSecondFactor&&this.hasOAuth&&!this.siteSettings.enforce_second_factor_on_external_auth}static #_=(()=>dt7948.n(this.prototype,"showEnforcedWithOAuthNotice",[(0,g.default)("currentUser")]))();showEnforcedNotice(e){return e&&e.enforcedSecondFactor&&this.siteSettings.enforce_second_factor_on_external_auth}static #b=(()=>dt7948.n(this.prototype,"showEnforcedNotice",[(0,g.default)("currentUser")]))();hasSecondFactors(e,t){return e.length>0||t.length>0}static #v=(()=>dt7948.n(this.prototype,"hasSecondFactors",[(0,g.default)("totps","security_keys")]))();async createToTpModal(){try{await this.modal.show(c.default,{model:{secondFactor:this.model,enforcedSecondFactor:this.currentUser.enforcedSecondFactor,markDirty:()=>this.markDirty(),onError:e=>this.handleError(e)}}),this.loadSecondFactors()}catch(e){(0,m.popupAjaxError)(e)}}async createSecurityKeyModal(){try{await this.modal.show(u.default,{model:{secondFactor:this.model,enforcedSecondFactor:this.currentUser.enforcedSecondFactor,markDirty:this.markDirty,onError:this.handleError}}),this.loadSecondFactors()}catch(e){(0,m.popupAjaxError)(e)}}handleError(e){if(e.jqXHR&&(e=e.jqXHR),"invalid_access"===e.responseJSON.error_type){let e=this.model.username.toLowerCase();f.default.redirectTo((0,f.userPath)(`${e}/preferences/second-factor`))}else(0,m.popupAjaxError)(e)}static #w=(()=>dt7948.n(this.prototype,"handleError",[n.action]))();setBackupEnabled(e){this.set("backupEnabled",e)}static #k=(()=>dt7948.n(this.prototype,"setBackupEnabled",[n.action]))();setCodesRemaining(e){this.model.set("second_factor_remaining_backup_codes",e)}static #T=(()=>dt7948.n(this.prototype,"setCodesRemaining",[n.action]))();loadSecondFactors(){!1!==this.dirty&&(this.set("loading",!0),this.model.loadSecondFactorCodes().then(e=>{if(e.error)return void this.set("errorMessage",e.error);this.setProperties({errorMessage:null,totps:e.totps,security_keys:e.security_keys,dirty:!1})}).catch(e=>this.handleError(e)).finally(()=>this.set("loading",!1)))}static #S=(()=>dt7948.n(this.prototype,"loadSecondFactors",[n.action]))();markDirty(){this.set("dirty",!0)}static #C=(()=>dt7948.n(this.prototype,"markDirty",[n.action]))();async createTotp(){try{(await this.model.trustedSession()).success?await this.createToTpModal():this.dialog.dialog({title:(0,b.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:o.default,didConfirm:()=>this.createToTpModal()})}catch(e){(0,m.popupAjaxError)(e)}}static #A=(()=>dt7948.n(this.prototype,"createTotp",[n.action]))();async createSecurityKey(){try{(await this.model.trustedSession()).success?await this.createSecurityKeyModal():this.dialog.dialog({title:(0,b.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:o.default,didConfirm:()=>this.createSecurityKeyModal()})}catch(e){(0,m.popupAjaxError)(e)}}static #D=(()=>dt7948.n(this.prototype,"createSecurityKey",[n.action]))();disableAllSecondFactors(){this.loading||this.dialog.deleteConfirm({title:(0,b.i18n)("user.second_factor.disable_confirm"),bodyComponent:l.default,bodyComponentModel:{totps:this.totps,security_keys:this.security_keys},confirmButtonLabel:"user.second_factor.disable",confirmButtonDisabled:!0,confirmButtonIcon:"ban",cancelButtonClass:"btn-flat",didConfirm:()=>{this.model.disableAllSecondFactors().then(()=>{let e=this.model.username.toLowerCase();f.default.redirectTo((0,f.userPath)(`${e}/preferences`))}).catch(e=>this.handleError(e)).finally(()=>this.set("loading",!1))}})}static #M=(()=>dt7948.n(this.prototype,"disableAllSecondFactors",[n.action]))();disableSingleSecondFactor(e){if(1===this.totps.concat(this.security_keys).length)return void this.send("disableAllSecondFactors");this.dialog.deleteConfirm({title:(0,b.i18n)("user.second_factor.delete_single_confirm_title"),message:(0,b.i18n)("user.second_factor.delete_single_confirm_message",{name:e.name}),confirmButtonLabel:"user.second_factor.delete",confirmButtonIcon:"ban",cancelButtonClass:"btn-flat",didConfirm:()=>{this.totps.includes(e)&&this.currentUser.updateSecondFactor(e.id,e.name,!0,e.method).then(t=>{t.error||(this.markDirty(),this.set("totps",this.totps.filter(t=>t.id!==e.id||t.method!==e.method)))}).catch(e=>this.handleError(e)).finally(()=>{this.set("loading",!1)}),this.security_keys.includes(e)&&this.currentUser.updateSecurityKey(e.id,e.name,!0).then(t=>{t.error||(this.markDirty(),this.set("security_keys",this.security_keys.filter(t=>t.id!==e.id)))}).catch(e=>this.handleError(e)).finally(()=>{this.set("loading",!1)})}})}static #z=(()=>dt7948.n(this.prototype,"disableSingleSecondFactor",[n.action]))();disableSecondFactorBackup(){this.dialog.deleteConfirm({title:(0,b.i18n)("user.second_factor.delete_backup_codes_confirm_title"),message:(0,b.i18n)("user.second_factor.delete_backup_codes_confirm_message"),confirmButtonLabel:"user.second_factor.delete",confirmButtonIcon:"ban",cancelButtonClass:"btn-flat",didConfirm:()=>{this.set("backupCodes",[]),this.set("loading",!0),this.model.updateSecondFactor(0,"",!0,y.SECOND_FACTOR_METHODS.BACKUP_CODE).then(e=>{if(e.error)return void this.set("errorMessage",e.error);this.set("errorMessage",null),this.model.set("second_factor_backup_enabled",!1),this.markDirty(),this.send("closeModal")}).catch(e=>{this.send("closeModal"),this.onError(e)}).finally(()=>this.set("loading",!1))}})}static #V=(()=>dt7948.n(this.prototype,"disableSecondFactorBackup",[n.action]))();async editSecurityKey(e){await this.modal.show(h.default,{model:{securityKey:e,user:this.model,markDirty:()=>this.markDirty(),onError:e=>this.handleError(e)}}),this.loadSecondFactors()}static #W=(()=>dt7948.n(this.prototype,"editSecurityKey",[n.action]))();async editSecondFactor(e){await this.modal.show(p.default,{model:{secondFactor:e,user:this.model,markDirty:()=>this.markDirty(),onError:e=>this.handleError(e)}}),this.loadSecondFactors()}static #K=(()=>dt7948.n(this.prototype,"editSecondFactor",[n.action]))();async editSecondFactorBackup(){await this.modal.show(d.default,{model:{secondFactor:this.model,markDirty:()=>this.markDirty(),onError:e=>this.handleError(e),setBackupEnabled:e=>this.setBackupEnabled(e),setCodesRemaining:e=>this.setCodesRemaining(e)}})}static #G=(()=>dt7948.n(this.prototype,"editSecondFactorBackup",[n.action]))()}},45735:(e,t,i)=>{"use strict";var s=i(28170);e.exports=function(e,t,i){var n="__INDIVIDUAL_ONE_VERSION_"+e,r=s(n+"_ENFORCE_SINGLETON",t);if(r!==t)throw Error("Can only have one copy of "+e+`.
You already have version `+r+` installed.
This means you cannot install version `+t);return s(n,i)}},45763:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(72799),n=i(75527),r=i(77667),a=i(32504),o=i(67289),l=i(72523),u=i(349),c=i(88820),d=i(71209);let p="YYYY-MM-DD",h=dt7948.c(class extends s.default{value=null;minDate=null;maxDate=null;_picker=null;inputType(e){return e?"date":"text"}static #e=(()=>dt7948.n(this.prototype,"inputType",[(0,l.default)("site.mobileView")]))();_loadDatePicker(){if(this.site.mobileView)this._loadNativePicker();else{let e=document.getElementById(this.containerId);this._loadPikadayPicker(e)}}static #t=(()=>dt7948.n(this.prototype,"_loadDatePicker",[(0,o.on)("didInsertElement")]))();_loadPikadayPicker(e){(0,u.default)("/javascripts/pikaday.js").then(()=>{(0,r.schedule)("afterRender",()=>{let t={field:this.element.querySelector(".date-picker"),container:e||null,bound:null===e,format:p,firstDay:1,minDate:this.minDate,maxDate:this.maxDate,i18n:{previousMonth:(0,c.i18n)("dates.previous_month"),nextMonth:(0,c.i18n)("dates.next_month"),months:moment.months(),weekdays:moment.weekdays(),weekdaysShort:moment.weekdaysMin()},onSelect:e=>this._handleSelection(e)};this._picker=new Pikaday(Object.assign(t,this._opts())),this.value?this._picker.setDate(moment(this.value).toDate(),!0):this._picker.setDate(null)})})}_loadNativePicker(){let e=this.element.querySelector("input.date-picker");e.onchange=()=>this._handleSelection(e.value),e.hide=()=>{},e.destroy=()=>{},this._picker=e}_handleSelection(e){let t=moment(e).format(p);this.element&&!this.isDestroying&&!this.isDestroyed&&this.onSelect&&this.onSelect(t)}_destroy(){this._picker&&(this._picker.destroy(),this._picker=null)}static #i=(()=>dt7948.n(this.prototype,"_destroy",[(0,o.on)("willDestroyElement")]))();get placeholder(){return this._placeholder||(0,c.i18n)("dates.placeholder")}static #s=(()=>dt7948.n(this.prototype,"placeholder",[(0,n.computed)("_placeholder")]))();set placeholder(e){this.set("_placeholder",e)}_opts(){return null}static #u=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"m/7B92ed",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"date-picker"],[16,"placeholder",[30,0,["placeholder"]]],[24,"autocomplete","off"],[17,1]],[["@type","@value"],[[30,0,["inputType"]],[30,0,["value"]]]],null],[1,"\\n "]],["&attrs"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/date-picker.js",scope:()=>[s.Input],isStrictMode:!0}),this))()},[(0,a.classNames)("date-picker-wrapper")])},45820:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(87531),r=i(75527),a=i(18555),o=i(81539),l=i(54074),u=i(12733),c=i(62411),d=i(88820),p=i(72799),h=i(71209);class m extends s.default{static shouldRender(e){return e.post.showLike||e.post.likeCount>0}static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"isAnimated",[n.tracked],function(){return!1}))();#lY=(()=>void dt7948.i(this,"isAnimated"))();get disabled(){return this.currentUser&&!this.args.post.canToggleLike}get title(){return this.args.post.liked&&!this.args.post.canToggleLike?"post.controls.has_liked":this.args.post.liked?"post.controls.undo_like":"post.controls.like"}async toggleLike(){return this.isAnimated=!0,new Promise(e=>{(0,c.default)(async()=>{this.isAnimated=!1,await this.args.buttonActions.toggleLike(),e()},400)})}static #i=(()=>dt7948.n(this.prototype,"toggleLike",[r.action]))();static #s=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"XhAR4DZE",block:'[[[1,"\\n"],[41,[30,1,["showLike"]],[[[1," "],[10,0],[14,0,"double-button"],[12],[1,"\\n "],[8,[32,0],[[17,2]],[["@action","@state","@post"],[[30,3,["toggleWhoLiked"]],[30,4],[30,1]]],null],[1,"\\n "],[8,[32,1],[[16,0,[28,[32,2],["post-action-menu__like","toggle-like","btn-icon",[52,[30,0,["isAnimated"]],"heart-animation"],[52,[30,1,["liked"]],"has-like","like"]],null]],[17,2],[16,"data-post-id",[30,1,["id"]]],[16,"disabled",[30,0,["disabled"]]]],[["@action","@icon","@label","@title"],[[30,0,["toggleLike"]],[52,[30,1,["liked"]],"d-liked","d-unliked"],[52,[30,5],"post.controls.like_action"],[30,0,["title"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"double-button"],[12],[1,"\\n "],[8,[32,0],[[17,2]],[["@action","@state","@post"],[[30,3,["toggleWhoLiked"]],[30,4],[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],["@post","&attrs","@buttonActions","@state","@showLabel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/like.js",scope:()=>[g,o.default,l.default],isStrictMode:!0}),this))()}class g extends s.default{get icon(){return this.args.post.showLike?this.args.post.yours?"d-liked":void 0:this.args.post.yours?"d-liked":"d-unliked"}get translatedTitle(){let e;return e=this.args.post.liked?1===this.args.post.likeCount?"post.has_likes_title_only_you":"post.has_likes_title_you":"post.has_likes_title",(0,d.i18n)(e,{count:this.args.post.liked?this.args.post.likeCount-1:this.args.post.likeCount})}static #e=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"+7KsLmti",block:'[[[1,"\\n"],[41,[30,1,["likeCount"]],[[[1," "],[8,[32,0],[[16,0,[28,[32,1],["post-action-menu__like-count","like-count","button-count","highlight-action",[52,[30,1,["yours"]],"my-likes","regular-likes"]],null]],[17,2]],[["@ariaPressed","@translatedAriaLabel","@translatedTitle","@action"],[[30,3,["isWhoLikedVisible"]],[28,[32,2],["post.sr_post_like_count_button"],[["count"],[[30,1,["likeCount"]]]]],[30,0,["translatedTitle"]],[30,4]]],[["default"],[[[[1,"\\n "],[1,[30,1,["likeCount"]]],[1,"\\n"],[41,[30,0,["icon"]],[[[1,[28,[32,3],[[30,0,["icon"]]],null]]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],["@post","&attrs","@state","@action"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/like.js",scope:()=>[o.default,l.default,d.i18n,u.default],isStrictMode:!0}),this))()}},45871:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(12999);class n extends s.default{}},45901:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(83426),n=i(8658),r=i(92673),a=i(58837),o=i(12733),l=i(88820),u=i(72799),c=i(71209),d=i(86960);let p=(0,n.default)((0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"rOeJtMHR",block:'[[[1,"\\n"],[41,[30,1,["showWarningsWarning"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,0],[[28,[32,1],["admin.user.warnings_list_warning"],null]],null]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,null,[["default"],[[[[1,"\\n "],[8,[32,3],[[24,0,"user-nav__messages-latest"]],[["@route","@ariaCurrentContext"],["userPrivateMessages.user.index","subNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["envelope"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["categories.latest"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,3],[[24,0,"user-nav__messages-sent"]],[["@route","@ariaCurrentContext"],["userPrivateMessages.user.sent","subNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["reply"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["user.messages.sent"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,1,["viewingSelf"]],[[[1," "],[8,[32,3],[[24,0,"user-nav__messages-new"]],[["@route","@ariaCurrentContext"],["userPrivateMessages.user.new","subNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["circle-exclamation"],null]],[1,"\\n "],[10,1],[12],[1,[30,1,["newLinkText"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,3],[[24,0,"user-nav__messages-unread"]],[["@route","@ariaCurrentContext"],["userPrivateMessages.user.unread","subNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["circle-plus"],null]],[1,"\\n "],[10,1],[12],[1,[30,1,["unreadLinkText"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"]],[]],null],[1,"\\n "],[8,[32,3],[[24,0,"user-nav__messages-archive"]],[["@route","@ariaCurrentContext"],["userPrivateMessages.user.archive","subNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["box-archive"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["user.messages.archive"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "]],[]]]]],[1,"\\n\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-private-messages-user.js",scope:()=>[s.htmlSafe,l.i18n,a.default,r.default,o.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},45972:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87531),n=i(21980),r=i(75527);let a=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"tagsForUser",[s.tracked],function(){return null}))();#lH=(()=>void dt7948.i(this,"tagsForUser"))();static #t=(()=>dt7948.g(this.prototype,"sortedByCount",[s.tracked],function(){return!0}))();#lq=(()=>void dt7948.i(this,"sortedByCount"))();static #i=(()=>dt7948.g(this.prototype,"sortedByName",[s.tracked],function(){return!1}))();#l$=(()=>void dt7948.i(this,"sortedByName"))();static #s=(()=>dt7948.g(this.prototype,"sortProperties",[s.tracked],function(){return["count:desc","id"]}))();#lz=(()=>void dt7948.i(this,"sortProperties"))();sortByCount(e){e?.preventDefault(),this.sortProperties=["count:desc","id"],this.sortedByCount=!0,this.sortedByName=!1}static #u=(()=>dt7948.n(this.prototype,"sortByCount",[r.action]))();sortById(e){e?.preventDefault(),this.sortProperties=["id"],this.sortedByCount=!1,this.sortedByName=!0}static #c=(()=>dt7948.n(this.prototype,"sortById",[r.action]))()}},45997:(e,t,i)=>{var s=i(44443),n=Object.prototype,r=n.hasOwnProperty,a=n.toString,o=s?s.toStringTag:void 0;e.exports=function(e){var t=r.call(e,o),i=e[o];try{e[o]=void 0;var s=!0}catch(e){}var n=a.call(e);return s&&(t?e[o]=i:delete e[o]),n}},46051:(e,t,i)=>{"use strict";function s(e){return e?(e.nodeName||"").toLowerCase():null}i.d(t,{A:()=>s})},46175:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={narrowDesktopView:!1,init(){this.narrowDesktopView=this.isNarrowDesktopView(document.body.getBoundingClientRect().width)},isNarrowDesktopView:e=>e<768}},46185:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(28487),n=i(74956),r=i(48535),a=i(13376);let o={initialize(e){e.lookup("service:site-settings").enable_emoji&&((0,r.withPluginApi)("0.1",e=>{e.onToolbarCreate(t=>{t.addButton({id:"emoji",group:"extras",icon:"face-smile",sendAction:()=>{e.container.lookup("service:menu").show(document.querySelector(".insert-composer-emoji"),{identifier:"emoji-picker",groupIdentifier:"emoji-picker",component:n.default,modalForMobile:!0,data:{didSelectEmoji:e=>{t.context.textManipulation.emojiSelected(e)}}})},title:"composer.emoji",className:"emoji insert-composer-emoji"})})}),(a.default.get("customEmoji")||[]).forEach(e=>(0,s.registerEmoji)(e.name,e.url,e.group)))}}},46189:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(62888);async function n(){let e=i.e(342).then(i.bind(i,14342));return(0,s.YZ)(e),await e}},46216:(e,t,i)=>{"use strict";function s(e,t,i){return class{static create(e){return new this(t(e))}constructor(t){!function(e,t,i){(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t||"default");if("object"!=typeof s)return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}(this,"capabilities",i),e(this,t)}createComponent(e,i){return new e(t(this),i.named)}getContext(e){return e}}}i.r(t),i.d(t,{default:()=>s}),i(89198)},46238:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(72490),n=i(88820),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"X46oBiVi",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"fullscreen-table-modal -max"]],[["@title","@closeModal"],[[28,[32,1],["fullscreen_table.view_table"],null],[30,1]]],[["body"],[[[[1,"\\n "],[1,[30,2,["tableHtml"]]],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/fullscreen-table.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"fullscreen-table:FullscreenTable"))},46414:(e,t,i)=>{"use strict";i.r(t),i.d(t,{a:()=>l,b:()=>r,c:()=>a,d:()=>d,e:()=>p,r:()=>u}),i(11191);var s=i(78212),n=i(42938);function r(e,t,i,s){return void 0===t?(t=0,i=s=-1):(void 0===i&&(i=-1),void 0===s&&(s=-1)),(0,n.k)(e,"@array:before",[e,t,i,s]),e}function a(e,t,i,r){let a=!(arguments.length>4)||void 0===arguments[4]||arguments[4];void 0===t?(t=0,i=r=-1):(void 0===i&&(i=-1),void 0===r&&(r=-1));let o=(0,s.peekMeta)(e);if(a&&((r<0||i<0||r-i!=0)&&(0,n.n)(e,"length",o),(0,n.n)(e,"[]",o)),(0,n.k)(e,"@array:change",[e,t,i,r]),null!==o){let s=e.length,a=-1===i?0:i,l=s-((-1===r?0:r)-a),u=t<0?l+t:t;void 0!==o.revisionFor("firstObject")&&0===u&&(0,n.n)(e,"firstObject",o),void 0!==o.revisionFor("lastObject")&&l-13&&void 0!==arguments[3]?arguments[3]:o;!function(e){return null!=e&&"function"==typeof e.replace}(e)?u(e,t,i,s):e.replace(t,i,s)}function u(e,t,i,s){if(r(e,t,i,s.length),s.length<=6e4)e.splice(t,i,...s);else{e.splice(t,i);for(let i=0;i{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(61037);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();model(e){return this.store.find("post",e.id)}afterModel(e){this.router.transitionTo(e.url)}}},46545:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(18555),r=i(53518),a=i(54074),o=i(70278),l=i(51607),u=i(82182),c=i(26354),d=i(72799),p=i(71209);let h={custom:l.default,new_user:u.default,returning_user:c.default};class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();get Component(){return(0,o.applyValueTransformer)("post-notice-component",h[this.type],{type:this.type,post:this.args.post})}get classNames(){let e=[(0,r.dasherize)(this.type)];return new Date-new Date(this.args.post.created_at)>864e5*this.siteSettings.old_post_notice_days&&e.push("old"),e}get type(){return this.args.post.notice.type}static #t=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"RCwJw/W0",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["post-notice",[30,0,["classNames"]]],null]],[12],[1,"\\n "],[8,[30,0,["Component"]],null,[["@notice","@post"],[[30,1,["notice"]],[30,1]]],null],[1,"\\n "],[13],[1,"\\n "]],["@post"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/notice.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},46550:(e,t,i)=>{"use strict";i.r(t),i.d(t,{RouteException:()=>d,default:()=>p}),i(87531);var s=i(21980),n=i(75527),r=i(57528),a=i(77667),o=i(72523),l=i(35352),u=i(88820);let c=(0,i(74828).A)(i(87531)).cached;class d{status;reason;constructor(e){let{status:t,reason:i,desc:s}=e;this.status=t,this.reason=i,this.desc=s}}class p extends s.default{thrown;lastTransition;static #e=(()=>dt7948.g(this.prototype,"isNotFound",[(0,r.equal)("thrown.status",404)]))();#lV=(()=>void dt7948.i(this,"isNotFound"))();static #t=(()=>dt7948.g(this.prototype,"isForbidden",[(0,r.equal)("thrown.status",403)]))();#lW=(()=>void dt7948.i(this,"isForbidden"))();static #i=(()=>dt7948.g(this.prototype,"isServer",[(0,r.gte)("thrown.status",500)]))();#lK=(()=>void dt7948.i(this,"isServer"))();static #s=(()=>dt7948.g(this.prototype,"isUnknown",[(0,r.none)("isNetwork","isServer")]))();#lG=(()=>void dt7948.i(this,"isUnknown"))();static #u=(()=>dt7948.g(this.prototype,"errorHtml",[(0,r.alias)("thrown.responseJSON.extras.html")]))();#lJ=(()=>void dt7948.i(this,"errorHtml"))();networkFixed=!1;loading=!1;static #c=(()=>dt7948.g(this.prototype,"requestUrl",[(0,r.alias)("thrown.requestedUrl")]))();#lQ=(()=>void dt7948.i(this,"requestUrl"))();isNetwork(e){return!!e&&0===e.readyState||!!e&&"timeout"===e.jqTextStatus}static #_=(()=>dt7948.n(this.prototype,"isNetwork",[(0,o.default)("thrown")]))();reason(e,t,i){if(i.reason)return i.reason;if(e)return(0,u.i18n)("errors.reasons.network");if(t>=500)return(0,u.i18n)("errors.reasons.server");if(404===t)return(0,u.i18n)("errors.reasons.not_found");if(403===t)return(0,u.i18n)("errors.reasons.forbidden");else if(null===i)return(0,u.i18n)("errors.reasons.unknown");else return(0,u.i18n)("errors.reasons.unknown")}static #b=(()=>dt7948.n(this.prototype,"reason",[(0,o.default)("isNetwork","thrown.status","thrown")]))();desc(e,t,i,s,n){if(n.desc)return n.desc;if(e)return(0,u.i18n)("errors.desc.network_fixed");if(t)return(0,u.i18n)("errors.desc.network");if(404===i)return(0,u.i18n)("errors.desc.not_found");if(403===i)return(0,u.i18n)("errors.desc.forbidden");else if(i>=500)return(0,u.i18n)("errors.desc.server",{status:i+" "+s});else if(null===n)return(0,u.i18n)("errors.desc.unknown");else return(0,u.i18n)("errors.desc.unknown")}static #v=(()=>dt7948.n(this.prototype,"desc",[(0,o.default)("networkFixed","isNetwork","thrown.status","thrown.statusText","thrown")]))();get buttons(){return{ButtonBackBright:{classes:"btn-primary",action:this.back,key:"errors.buttons.back"},ButtonBackDim:{classes:"",action:this.back,key:"errors.buttons.back"},ButtonTryAgain:{classes:"btn-primary",action:this.tryLoading,key:"errors.buttons.again",icon:"arrows-rotate"},ButtonLoadPage:{classes:"btn-primary",action:this.tryLoading,key:"errors.buttons.fixed"}}}static #w=(()=>dt7948.n(this.prototype,"buttons",[c]))();enabledButtons(e,t,i){return e?[this.buttons.ButtonLoadPage]:t?[this.buttons.ButtonBackDim,this.buttons.ButtonTryAgain]:i?[this.buttons.ButtonBackBright,this.buttons.ButtonTryAgain]:[this.buttons.ButtonBackBright]}static #k=(()=>dt7948.n(this.prototype,"enabledButtons",[(0,o.default)("networkFixed","isNetwork","lastTransition")]))();back(){let e=l.default.router.location.getURL();this.lastTransition?.method==="replace"?(this.setProperties({lastTransition:null,thrown:null}),l.default.handleURL(e)):window.history.back()}static #T=(()=>dt7948.n(this.prototype,"back",[n.action]))();tryLoading(){this.set("loading",!0),(0,a.schedule)("afterRender",()=>{let e=this.lastTransition;this.setProperties({lastTransition:null,thrown:null}),e.retry(),this.set("loading",!1)})}static #S=(()=>dt7948.n(this.prototype,"tryLoading",[n.action]))()}},46556:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(72799),n=i(25604),r=i(62838),a=i(32504),o=i(72523),l=i(88820),u=i(71209);let c=dt7948.c(class extends s.default{hasMore(e){return e>=6}static #e=(()=>dt7948.n(this.prototype,"hasMore",[(0,o.default)("items.length")]))();static #t=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"FGRAA2/N",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1]],null]],null],null,[[[1," "],[18,5,[[30,2]]],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["hasMore"]],[[[1," "],[10,2],[12],[1,"\\n "],[8,[32,0],[[24,0,"more"]],[["@route","@model"],[[28,[32,1],["userActivity.",[30,3]],null],[30,4]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[28,[32,1],["user.summary.more_",[30,3]],null]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,2],[12],[1,[28,[32,2],[[28,[32,1],["user.summary.no_",[30,3]],null]],null]],[13],[1,"\\n"]],[]]],[1," "]],["@items","item","@type","@user","&default"],false,["if","each","-track-array","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-topics-list.js",scope:()=>[r.LinkTo,n.concat,l.i18n],isStrictMode:!0}),this))()},[(0,a.tagName)("")])},46641:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72799),n=i(25604),r=i(53769),a=i(87470),o=i(42129),l=i(71209);class u extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"4rqXLWE1",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-profile-avatar-wrapper",[28,[32,1],null,[["user"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"user-profile-avatar"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-profile-avatar-img-wrapper",[28,[32,1],null,[["user"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1],"huge"],null]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,3],null,[["@user"],[[30,1]]],null],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-profile-avatar-flair",[28,[32,1],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@user"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-profile-avatar.js",scope:()=>[r.default,n.hash,o.default,a.default],isStrictMode:!0}),this))()}},46689:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(4781),n=i(83426),r=i(66929),a=i(93432),o=i(91238),l=i(18674),u=i(72799),c=i(71209),d=i(86960);let p=function(e){(0,l.wantsNewWindow)(e)?e.stopPropagation():e.preventDefault()},h=(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"Hin+EWAY",block:'[[[1,"\\n "],[10,0],[15,"data-topic-id",[30,1,["id"]]],[14,0,"featured-topic --glimmer"],[12],[1,"\\n "],[8,[32,0],null,[["@topic","@context"],[[30,1],"topic-list"]],null],[1,"\\n\\n "],[10,3],[15,6,[30,1,["lastUnreadUrl"]]],[14,0,"title"],[12],[1,[28,[32,1],[[30,1,["fancyTitle"]]],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@unreadPosts","@unseen","@url"],[[30,1,["unread_posts"]],[30,1,["unseen"]],[30,1,["lastUnreadUrl"]]]],null],[1,"\\n\\n "],[11,3],[16,6,[30,1,["lastPostUrl"]]],[24,0,"last-posted-at"],[4,[32,3],["click",[32,4]],null],[12],[1,[28,[32,5],[[30,1,["last_posted_at"]]],null]],[13],[1,"\\n "],[13],[1,"\\n"]],["@topic"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/featured-topic.js",scope:()=>[a.default,n.htmlSafe,r.default,s.on,p,o.default],isStrictMode:!0}),(0,d.default)(void 0,"featured-topic:FeaturedTopic"))},46711:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(75527),n=i(53775);class r extends s.default{static clear(e,t){return(0,n.ajax)(`/drafts/${e}.json`,{type:"DELETE",data:{draft_key:e,sequence:t}})}static get(e){return(0,n.ajax)(`/drafts/${e}.json`)}static getLocal(e,t){return t}static save(e,t,i,s){let{forceSave:r=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return i="string"==typeof i?i:JSON.stringify(i),(0,n.ajax)("/drafts.json",{type:"POST",data:{draft_key:e,sequence:t,data:i,owner:s,force_save:r},ignoreUnsent:!1})}}},46719:(e,t,i)=>{var s=i(51600);e.exports=function(e,t){";"!==(e=s.trimRight(e))[e.length-1]&&(e+=";");var i=e.length,n=!1,r=0,a=0,o="";function l(){if(!n){var i=s.trim(e.slice(r,a)),l=i.indexOf(":");if(-1!==l){var u=s.trim(i.slice(0,l)),c=s.trim(i.slice(l+1));if(u){var d=t(r,o.length,u,c,i);d&&(o+=d+"; ")}}}r=a+1}for(;a{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(25604),n=i(86326),r=i(88820),a=i(33571),o=i(70105),l=i(72799),u=i(71209);class c extends o.default{static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"ggtfYYXu",block:'[[[1,"\\n "],[10,"label"],[14,0,"control-label alt-placeholder"],[15,"for",[28,[32,0],["user-",[30,0,["elementId"]]],null]],[12],[1,"\\n "],[1,[30,0,["field","name"]]],[41,[51,[30,0,["field","required"]]],[[[1," "],[1,[28,[32,1],["user_fields.optional"],null]]],[]],null],[13],[1,"\\n\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,2],null,[["@id","@content","@valueProperty","@nameProperty","@value","@onChange","@options"],[[28,[32,0],["user-",[30,0,["elementId"]]],null],[30,0,["field","options"]],null,null,[30,0,["value"]],[28,[32,3],[[28,[31,1],[[30,0,["value"]]],null]],null],[28,[32,4],null,[["none"],[[30,0,["noneLabel"]]]]]]],null],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,5],[[30,0,["field","description"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-fields/multiselect.js",scope:()=>[s.concat,r.i18n,a.default,s.fn,s.hash,n.default],isStrictMode:!0}),this))()}},46776:(e,t,i)=>{var s=i(25356),n=i(19308);function r(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}e.exports=function e(t,i){var a;for(var o in t){o in i||((a=a||{})[o]=void 0);var l=t[o],u=i[o];if(l!==u)if(s(l)&&s(u))if(r(u)!==r(l))(a=a||{})[o]=u;else if(n(u))(a=a||{})[o]=u;else{var c=e(l,u);c&&((a=a||{})[o]=c)}else(a=a||{})[o]=u}for(var d in i)d in t||((a=a||{})[d]=i[d]);return a}},46781:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(57528),n=i(83426),r=i(32504),a=i(32020),o=i.n(a),l=i(81185),u=i(72799),c=i(71209);let d=dt7948.c(class extends l.default{static #e=(()=>dt7948.g(this.prototype,"description",[(0,s.readOnly)("item.description")]))();#n7=(()=>void dt7948.i(this,"description"))();static #t=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"C0I27RWl",block:'[[[1,"\\n"],[41,[30,0,["icons"]],[[[1," "],[10,0],[14,0,"icons"],[12],[1,"\\n "],[10,1],[14,0,"selection-indicator"],[12],[13],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"texts"],[12],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[28,[32,1],[[30,0,["label"]]],null]],[13],[1,"\\n"],[41,[30,0,["description"]],[[[1," "],[10,1],[14,0,"desc"],[12],[1,[28,[32,1],[[30,0,["description"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["i"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/dropdown-select-box/dropdown-select-box-row.js",scope:()=>[o(),n.htmlSafe],isStrictMode:!0}),this))()},[(0,r.classNames)("dropdown-select-box-row")])},46826:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(87531),n=i(88761),r=i(41422),a=i(36649),o=i(88820);function l(e){return{shouldCheck:!1,failed:!0,ok:!1,element:document.querySelector("#new-account-username"),...e}}function u(e){return{ok:!0,...e}}class c{static #e=(()=>dt7948.g(this.prototype,"usernameValidationResult",[s.tracked]))();#lX=(()=>void dt7948.i(this,"usernameValidationResult"))();checkedUsername=null;constructor(e){let{getAccountEmail:t,getAccountUsername:i,getPrefilledUsername:s,getAuthOptionsUsername:n,getForceValidationReason:r,siteSettings:a,isInvalid:o,updateIsDeveloper:l,updateUsernames:u}=e;this.getAccountEmail=t,this.getAccountUsername=i,this.getPrefilledUsername=s,this.getAuthOptionsUsername=n,this.getForceValidationReason=r,this.siteSettings=a,this.isInvalid=o,this.updateIsDeveloper=l,this.updateUsernames=u}async fetchExistingUsername(){let e=this.getAccountUsername(),t=await a.default.checkUsername(null,this.getAccountEmail());t.suggestion&&((0,n.isEmpty)(e)||e===this.getAuthOptionsUsername())&&this.updateUsernames(t.suggestion)}get usernameValidation(){let e=this.getAccountUsername();if(this.usernameValidationResult&&this.checkedUsername===e)return this.usernameValidationResult;let t=this.basicUsernameValidation(e);return t.shouldCheck&&(0,r.default)(this,this.checkUsernameAvailability,500),t}basicUsernameValidation(e){return e&&e===this.getPrefilledUsername()?u({reason:(0,o.i18n)("user.username.prefilled")}):(0,n.isEmpty)(e)?l({message:(0,o.i18n)("user.username.required"),reason:this.getForceValidationReason()?(0,o.i18n)("user.username.required"):null}):e.lengththis.siteSettings.max_username_length?l({reason:(0,o.i18n)("user.username.too_long")}):l({shouldCheck:!0,reason:(0,o.i18n)("user.username.checking")})}async checkUsernameAvailability(){let e=this.getAccountUsername(),t=await a.default.checkUsername(e,this.getAccountEmail());this.isInvalid()||(this.checkedUsername=e,this.updateIsDeveloper(!!t.is_developer),t.available?this.usernameValidationResult=u({reason:(0,o.i18n)("user.username.available")}):t.suggestion?this.usernameValidationResult=l({reason:(0,o.i18n)("user.username.not_available",t)}):this.usernameValidationResult=l({reason:t.errors?t.errors.join(" "):(0,o.i18n)("user.username.not_available_no_suggestion")}))}}},46841:(e,t,i)=>{"use strict";var s=i(94950),n=Object.prototype.hasOwnProperty;e.exports=new s("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){var t;if(null===e)return!0;for(t in e)if(n.call(e,t)&&null!==e[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},46871:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(e,t,i,s){switch(i){case"s":return s||t?"néhány másodperc":"néhány másodperce";case"ss":return e+(s||t)?" másodperc":" másodperce";case"m":return"egy"+(s||t?" perc":" perce");case"mm":return e+(s||t?" perc":" perce");case"h":return"egy"+(s||t?" óra":" órája");case"hh":return e+(s||t?" óra":" órája");case"d":return"egy"+(s||t?" nap":" napja");case"dd":return e+(s||t?" nap":" napja");case"M":return"egy"+(s||t?" hónap":" hónapja");case"MM":return e+(s||t?" hónap":" hónapja");case"y":return"egy"+(s||t?" év":" éve");case"yy":return e+(s||t?" év":" éve")}return""}function s(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}return e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return s.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return s.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},46917:(e,t,i)=>{"use strict";i.r(t),i(61535),i(80725),i(11191),i(77667),i(78212),i(77350),i(38230),i(8215),i(42938);var s=i(85213);i(25711),i(52087),i(6167),i(338),i(6234),i(81004),i(62903),i(77051),i(75527),i(69206),i(19694),i(66498),i(34286),i(99482),i(84186),i(71888),i(80919),i(86019),i(8805),i(88608),i(88919),i(76778),i(27578),i(80789),i(13834),i(21980),i(42700),i(63578),i(50709),i(31976),i(86353),i(54538),i(66019);let n="deferReadiness in `testing` mode";(0,s.onLoad)("Ember.Application",function(e){e.initializers[n]||e.initializer({name:n,initialize(e){e.testing&&e.deferReadiness()}})})},47009:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(14508);function n(e){var t=(0,s.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},47019:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(61037),n=i(88820);class r extends s.default{queryParams={order:{refreshModel:!0,replace:!0},asc:{refreshModel:!0,replace:!0},filter:{refreshModel:!0},type:{refreshModel:!0,replace:!0},username:{refreshModel:!0}};titleToken(){return(0,n.i18n)("groups.index.title")}async model(e){return{groups:await this.store.findAll("group",e)}}setupController(e,t){super.setupController(e,t),e.set("groups",t.groups)}}},47112:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(43144),n=i(25640);let r=dt7948.c(class extends n.default{hasFocus=null;init(){this.set("highestSeenByTopic",{})}},[s.default])},47151:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(95766),n=i(75527),r=i(18555),a=i(81539),o=i(54074),l=i(70677),u=i(53514),c=i(88820),d=i(72799),p=i(71209);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();get everyonePermissionType(){return this.args.everyonePermission?.permission_type}get canReply(){return this.args.type===u.default.CREATE_POST||this.args.type===u.default.FULL}get canCreate(){return this.args.type===u.default.FULL}get canCreateIcon(){return this.canCreate?"square-check":"far-square"}get canReplyIcon(){return this.canReply?"square-check":"far-square"}get replyGrantedClass(){return this.args.type<=u.default.CREATE_POST?"reply-granted":""}get createGrantedClass(){return this.args.type===u.default.FULL?"create-granted":""}get isEveryoneGroup(){return"everyone"===this.args.groupName}get replyDisabled(){return!this.isEveryoneGroup&&!!this.everyonePermissionType&&!!(this.everyonePermissionType<=u.default.CREATE_POST)}get replyTooltip(){return this.replyDisabled?(0,c.i18n)("category.permissions.inherited"):(0,c.i18n)("category.permissions.toggle_reply")}get createDisabled(){return!this.isEveryoneGroup&&!!this.everyonePermissionType&&this.everyonePermissionType===u.default.FULL}get createTooltip(){return this.createDisabled?(0,c.i18n)("category.permissions.inherited"):(0,c.i18n)("category.permissions.toggle_full")}get groupLink(){return(0,l.default)(`/g/${this.args.groupName}`)}removeRow(e){e?.preventDefault(),this.args.category.removePermission(this.args.groupName)}static #t=(()=>dt7948.n(this.prototype,"removeRow",[n.action]))();setPermissionReply(){this.args.type<=u.default.CREATE_POST?this.#lZ(u.default.READONLY):this.#lZ(u.default.CREATE_POST)}static #i=(()=>dt7948.n(this.prototype,"setPermissionReply",[n.action]))();setPermissionFull(){(this.isEveryoneGroup||this.everyonePermissionType!==u.default.FULL)&&(this.args.type===u.default.FULL?this.#lZ(u.default.CREATE_POST):this.#lZ(u.default.FULL))}static #s=(()=>dt7948.n(this.prototype,"setPermissionFull",[n.action]))();#lZ(e){this.args.category.updatePermission(this.args.groupName,e),this.isEveryoneGroup&&this.args.onChangeEveryonePermission(e)}static #u=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"N1S2cY6F",block:'[[[1,"\\n "],[10,0],[14,0,"permission-row row-body"],[15,"data-group-name",[30,1]],[12],[1,"\\n "],[10,1],[14,0,"group-name"],[12],[1,"\\n"],[41,[30,0,["isEveryoneGroup"]],[[[1," "],[10,1],[14,0,"group-name-label"],[12],[1,[30,1]],[13],[1,"\\n"]],[]],[[[1," "],[10,3],[14,0,"group-name-link"],[15,6,[30,0,["groupLink"]]],[12],[1,[30,1]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,1],[14,0,"options actionable"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-flat see"]],[["@icon","@disabled"],["square-check",true]],null],[1,"\\n\\n "],[8,[32,0],[[16,0,[28,[32,1],["btn btn-flat reply-toggle",[30,0,["replyGrantedClass"]]],null]]],[["@icon","@action","@translatedTitle","@disabled"],[[30,0,["canReplyIcon"]],[30,0,["setPermissionReply"]],[30,0,["replyTooltip"]],[30,0,["replyDisabled"]]]],null],[1,"\\n\\n "],[8,[32,0],[[16,0,[28,[32,1],["btn-flat create-toggle",[30,0,["createGrantedClass"]]],null]]],[["@icon","@action","@translatedTitle","@disabled"],[[30,0,["canCreateIcon"]],[30,0,["setPermissionFull"]],[30,0,["createTooltip"]],[30,0,["createDisabled"]]]],null],[1,"\\n\\n "],[8,[32,0],[[24,0,"remove-permission btn-flat"]],[["@action","@icon"],[[30,0,["removeRow"]],"trash-can"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@groupName"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-permission-row.js",scope:()=>[a.default,o.default],isStrictMode:!0}),this))()}},47250:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Y});var s=i(95766),n=i(87531),r=i(25604),a=i(75527),o=i(97527),l=i(18555),u=i(88761),c=i(11075),d=i(37146),p=i(3172),h=i(53769),m=i(83202),g=i(20775),f=i(54074),_=i(67909),y=i(70278),b=i(88820),w=i(50172),k=i(55243),T=i(52664),S=i(14867),C=i(1283),A=i(58164),D=i(911),M=i(84857),x=i(45820),E=i(30479),L=i(98531),P=i(3919),F=i(58964),I=i(24506),N=i(72799),j=i(71209);let O=(0,i(74828).A)(i(87531)).cached,R=Object.freeze({ADMIN:"admin",BOOKMARK:"bookmark",COPY_LINK:"copyLink",DELETE:"delete",EDIT:"edit",FLAG:"flag",LIKE:"like",READ:"read",REPLIES:"replies",REPLY:"reply",SHARE:"share",SHOW_MORE:"showMore"}),U=new Map([[R.ADMIN,T.default],[R.BOOKMARK,S.default],[R.COPY_LINK,C.default],[R.DELETE,A.default],[R.EDIT,D.default],[R.FLAG,M.default],[R.LIKE,x.default],[R.READ,E.default],[R.REPLIES,L.default],[R.REPLY,P.default],[R.SHARE,F.default],[R.SHOW_MORE,I.default]]),B={defaultPosition:{before:R.SHOW_MORE},throwErrorOnCycle:!1};class Y extends s.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[l.service]))();#j=(()=>void dt7948.i(this,"capabilities"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"keyValueStore",[l.service]))();#iR=(()=>void dt7948.i(this,"keyValueStore"))();static #s=(()=>dt7948.g(this.prototype,"modal",[l.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #u=(()=>dt7948.g(this.prototype,"menu",[l.service]))();#ty=(()=>void dt7948.i(this,"menu"))();static #c=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #_=(()=>dt7948.g(this.prototype,"store",[l.service]))();#n=(()=>void dt7948.i(this,"store"))();static #b=(()=>dt7948.g(this.prototype,"collapsed",[n.tracked],function(){return(0,y.applyValueTransformer)("post-menu-collapsed",!0,this.#l1({collapsed:!0}))}))();#iJ=(()=>void dt7948.i(this,"collapsed"))();static #v=(()=>dt7948.g(this.prototype,"isWhoLikedVisible",[n.tracked],function(){return!1}))();#l0=(()=>void dt7948.i(this,"isWhoLikedVisible"))();static #w=(()=>dt7948.g(this.prototype,"likedUsers",[n.tracked],function(){return[]}))();#l2=(()=>void dt7948.i(this,"likedUsers"))();static #k=(()=>dt7948.g(this.prototype,"totalLikedUsers",[n.tracked]))();#l3=(()=>void dt7948.i(this,"totalLikedUsers"))();static #T=(()=>dt7948.g(this.prototype,"isWhoReadVisible",[n.tracked],function(){return!1}))();#l8=(()=>void dt7948.i(this,"isWhoReadVisible"))();static #S=(()=>dt7948.g(this.prototype,"readers",[n.tracked],function(){return[]}))();#l4=(()=>void dt7948.i(this,"readers"))();static #C=(()=>dt7948.g(this.prototype,"totalReaders",[n.tracked]))();#l7=(()=>void dt7948.i(this,"totalReaders"))();get buttonActions(){return{copyLink:this.args.copyLink,deletePost:this.args.deletePost,editPost:this.args.editPost,toggleLike:this.toggleLike,openAdminMenu:this.openAdminMenu,recoverPost:this.args.recoverPost,replyToPost:this.args.replyToPost,setCollapsed:e=>this.collapsed=e,share:this.args.share,showDeleteTopicModal:this.showDeleteTopicModal,showFlags:this.args.showFlags,showMoreActions:this.showMoreActions,showLogin:this.args.showLogin,toggleReplies:this.args.toggleReplies,toggleWhoLiked:this.toggleWhoLiked,toggleWhoRead:this.toggleWhoRead}}static #A=(()=>dt7948.n(this.prototype,"buttonActions",[O]))();get staticMethodsState(){return this.#l1()}static #D=(()=>dt7948.n(this.prototype,"staticMethodsState",[O]))();get staticMethodsArgs(){return{post:this.args.post,state:this.staticMethodsState}}static #M=(()=>dt7948.n(this.prototype,"staticMethodsArgs",[O]))();get state(){return Object.freeze({...this.staticMethodsState,collapsedButtons:this.renderableCollapsedButtons})}static #z=(()=>dt7948.n(this.prototype,"state",[O]))();get registeredButtons(){let e,t=new WeakMap,i=this.configuredItems,s=this.configuredPositions,n=Array.from(U.entries()).sort((e,t)=>{let[s]=e,[n]=t,r=i.indexOf(s),a=i.indexOf(n);return -1===r?-1:r-a}),r=_.default.from(Array.from(n).map(e=>{let[t,n]=e,r=-1!==i.indexOf(t)?s.get(t):null;return[t,n,r]}),{...B,onAddItem(t){e?.add(t)},onDeleteItem(t){e?.delete(t)},onReplaceItem:(e,i,s)=>{i!==s&&t.set(i,s)}});e=new Set;let a=new Map,l=new Map,u=i.indexOf(R.SHOW_MORE),c=this.configuredItems.filter(e=>this.#l9.includes(e));return new Map((0,y.applyMutableValueTransformer)("post-menu-buttons",r,{...this.staticMethodsArgs,buttonLabels:{hide(e){a.set(e,!1)},show(e){a.set(e,!0)},default:e=>a.delete(e)},collapsedButtons:{hide(e){l.set(e,!0)},show(e){l.set(e,!1)},default:e=>l.delete(e)},buttonKeys:R,firstButtonKey:this.configuredItems[0],lastHiddenButtonKey:c.length?c[c.length-1]:null,lastItemBeforeMoreItemsButtonKey:u>0?this.configuredItems[u-1]:null,secondLastHiddenButtonKey:c.length>1?c[c.length-2]:null}).entries().map(i=>{let[s,n,r]=i,u=new w.default({key:s,Component:n,apiAdded:e.has(s),hidden:l.get(s),owner:(0,o.getOwner)(this),position:r,replacementMap:t,showLabel:a.get(s)});return[s,u]}))}static #V=(()=>dt7948.n(this.prototype,"registeredButtons",[O]))();get configuredItems(){let e=this.siteSettings.post_menu.split("|").filter(Boolean).map(e=>{if(this.isWikiMode)switch(e){case R.EDIT:return R.REPLY;case R.REPLY:return R.EDIT}return e});return e.length>0&&!e.includes(R.SHOW_MORE)&&e.splice(e.length-1,0,R.SHOW_MORE),e}static #W=(()=>dt7948.n(this.prototype,"configuredItems",[O]))();get configuredPositions(){let e="before",t=this.configuredItems;return new Map(t.map((i,s)=>i===R.SHOW_MORE?(e="after",[i,null]):"before"===e&&s0?[i,{[e]:[R.SHOW_MORE]}]:[i,null]))}static #K=(()=>dt7948.n(this.prototype,"configuredPositions",[O]))();get extraControls(){let e=Array.from(this.registeredButtons.values()).filter(e=>(0,u.isPresent)(e)&&e.extraControls(this.staticMethodsArgs)).map(e=>[e.key,e,e.position]);return _.default.from(e,B).resolve().map(e=>{let{value:t}=e;return t})}static #G=(()=>dt7948.n(this.prototype,"extraControls",[O]))();get availableButtons(){let e=this.configuredItems;return Array.from(this.registeredButtons.values()).filter(t=>(t.apiAdded||e.includes(t.key))&&!t.extraControls(this.staticMethodsArgs))}static #J=(()=>dt7948.n(this.prototype,"availableButtons",[O]))();get availableCollapsedButtons(){let e=this.#l9;if((0,u.isEmpty)(e)||!this.collapsed||!this.isShowMoreButtonAvailable)return[];let t=this.availableButtons.filter(t=>{let i=t.hidden(this.staticMethodsArgs);return!1!==i&&t.key!==R.SHOW_MORE&&(!this.args.post.reviewable_id||t.key!==R.FLAG)&&(i||e.includes(t.key))});return t.length<=1?[]:t}static #e0=(()=>dt7948.n(this.prototype,"availableCollapsedButtons",[O]))();get renderableCollapsedButtons(){return this.availableCollapsedButtons.filter(e=>e.shouldRender(this.staticMethodsArgs))}static #e2=(()=>dt7948.n(this.prototype,"renderableCollapsedButtons",[O]))();get visibleButtons(){let e=this.availableButtons;return this.renderableCollapsedButtons.length>1&&(e=e.filter(e=>!this.renderableCollapsedButtons.includes(e))),_.default.from(e.map(e=>[e.key,e,e.position]),B).resolve().map(e=>{let{value:t}=e;return t})}static #e3=(()=>dt7948.n(this.prototype,"visibleButtons",[O]))();get repliesButton(){return this.registeredButtons.get(R.REPLIES)}get showMoreButton(){return this.registeredButtons.get(R.SHOW_MORE)}get remainingLikedUsers(){return this.totalLikedUsers-this.likedUsers.length}get remainingReaders(){return this.totalReaders-this.readers.length}get isWikiMode(){return this.args.post.wiki&&this.args.post.can_edit}get isShowMoreButtonAvailable(){return this.availableButtons.some(e=>e.key===R.SHOW_MORE)||this.extraControls.some(e=>e.key===R.SHOW_MORE)}async toggleLike(){await (0,y.applyBehaviorTransformer)("post-menu-toggle-like-action",async()=>{if(!this.currentUser){this.keyValueStore&&this.keyValueStore.set({key:"likedPostId",value:this.args.post.id}),this.args.showLogin();return}this.capabilities.userHasBeenActive&&this.capabilities.canVibrate&&navigator.vibrate(5),await this.args.toggleLike(),this.collapsed||await this.#l5()},this.staticMethodsArgs)}static #e8=(()=>dt7948.n(this.prototype,"toggleLike",[a.action]))();openAdminMenu(e,t){this.menu.show(t.target,{identifier:"admin-post-menu",component:d.default,modalForMobile:!0,autofocus:!0,data:{post:this.args.post,changeNotice:this.args.changeNotice,changePostOwner:this.args.changePostOwner,grantBadge:this.args.grantBadge,lockPost:this.args.lockPost,permanentlyDeletePost:this.args.permanentlyDeletePost,rebakePost:this.args.rebakePost,showPagePublish:this.args.showPagePublish,togglePostType:this.args.togglePostType,toggleWiki:this.args.toggleWiki,unhidePost:this.args.unhidePost,unlockPost:this.args.unlockPost}})}static #e4=(()=>dt7948.n(this.prototype,"openAdminMenu",[a.action]))();refreshReaders(){if(this.readers.length)return this.#l6()}static #e7=(()=>dt7948.n(this.prototype,"refreshReaders",[a.action]))();showDeleteTopicModal(){this.modal.show(p.default)}static #e9=(()=>dt7948.n(this.prototype,"showDeleteTopicModal",[a.action]))();async showMoreActions(){this.collapsed=!1;let e=[!this.isWhoLikedVisible&&this.#l5(),!this.isWhoReadVisible&&this.args.showReadIndicator&&this.#l6()].filter(Boolean);await Promise.all(e)}static #e5=(()=>dt7948.n(this.prototype,"showMoreActions",[a.action]))();toggleWhoLiked(){if(this.isWhoLikedVisible){this.isWhoLikedVisible=!1;return}this.#l5()}static #e6=(()=>dt7948.n(this.prototype,"toggleWhoLiked",[a.action]))();toggleWhoRead(){if(this.isWhoReadVisible){this.isWhoReadVisible=!1;return}this.#l6()}static #te=(()=>dt7948.n(this.prototype,"toggleWhoRead",[a.action]))();get #l9(){let e=this.siteSettings.post_menu_hidden_items;return(0,u.isEmpty)(e)?[]:e.split("|").filter(e=>!this.args.post.bookmarked||e!==R.BOOKMARK)}async #l5(){let e=await this.store.find("post-action-user",{id:this.args.post.id,post_action_type_id:2});this.likedUsers=e.map(m.smallUserAttrs),this.totalLikedUsers=e.totalRows,this.isWhoLikedVisible=!0}async #l6(){let e=await this.store.find("post-reader",{id:this.args.post.id});this.readers=e.map(m.smallUserAttrs),this.totalReaders=e.totalRows,this.isWhoReadVisible=!0}#l1(){let{collapsed:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.freeze({canCreatePost:this.args.canCreatePost,collapsed:e??this.collapsed,currentUser:this.currentUser,filteredRepliesView:this.args.filteredRepliesView,isWhoLikedVisible:this.isWhoLikedVisible,isWhoReadVisible:this.isWhoReadVisible,isWikiMode:this.isWikiMode,repliesShown:this.args.repliesShown,replyDirectlyBelow:this.args.nextPost?.reply_to_post_number===this.args.post.post_number&&this.args.post.post_number!==this.args.post.filteredRepliesPostNumber,showReadIndicator:this.args.showReadIndicator,suppressReplyDirectlyBelow:this.siteSettings.suppress_reply_directly_below})}static #tt=(()=>(0,N.setComponentTemplate)((0,j.createTemplateFactory)({id:"eXgpJcGL",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@name","@outletArgs"],["post-menu",[28,[32,1],null,[["post","state"],[[30,1],[30,0,["state"]]]]]]],[["default"],[[[[1,"\\n "],[10,"nav"],[15,0,[28,[32,2],["post-controls",[52,[28,[32,3],[[28,[30,0,["showMoreButton","shouldRender"]],[[28,[32,1],null,[["post","state"],[[30,0,["post"]],[30,0,["state"]]]]]],null],[30,0,["collapsed"]]],null],"collapsed","expanded"],[52,[30,0,["siteSettings","enable_filtered_replies_view"]],"replies-button-visible"]],null]],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["extraControls"]]],null]],null],"key",[[[1," "],[8,[32,4],null,[["@buttonActions","@buttonConfig","@post","@state"],[[30,0,["buttonActions"]],[30,2],[30,1],[30,0,["state"]]]],null],[1,"\\n"]],[2]],null],[1," "],[10,0],[14,0,"actions"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["visibleButtons"]]],null]],null],"key",[[[1," "],[8,[32,4],null,[["@buttonActions","@buttonConfig","@post","@state"],[[30,0,["buttonActions"]],[30,3],[30,1],[30,0,["state"]]]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,5],[[24,0,"who-read"]],[["@addSelf","@isVisible","@count","@description","@users"],[false,[30,0,["isWhoReadVisible"]],[52,[30,0,["remainingReaders"]],[30,0,["remainingReaders"]],[30,0,["totalReaders"]]],[52,[30,0,["remainingReaders"]],"post.actions.people.read_capped","post.actions.people.read"],[30,0,["readers"]]]],null],[1,"\\n "],[8,[32,5],[[24,0,"who-liked"]],[["@addSelf","@isVisible","@count","@description","@users"],[[28,[32,3],[[30,1,["liked"]],[28,[32,6],[[30,0,["remainingLikedUsers"]],0],null]],null],[30,0,["isWhoLikedVisible"]],[52,[30,0,["remainingLikedUsers"]],[30,0,["remainingLikedUsers"]],[30,0,["totalLikedUsers"]]],[52,[30,0,["remainingLikedUsers"]],"post.actions.people.like_capped","post.actions.people.like"],[30,0,["likedUsers"]]]],null],[1,"\\n"],[41,[28,[30,0,["showMoreButton","shouldRender"]],[[28,[32,1],null,[["post","state"],[[30,0,["post"]],[30,0,["state"]]]]]],null],[[[1," "],[8,[32,7],null,[["@id","@triggerSelector","@placement","@titleText","@contentText"],["post_menu",".post-controls .actions .show-more-actions","top",[28,[32,8],["user_tips.post_menu.title"],null],[28,[32,8],["user_tips.post_menu.content"],null]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"],[1," "]],["@post","extraControl","button"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu.js",scope:()=>[h.default,r.hash,f.default,c.and,k.default,m.default,c.eq,g.default,b.i18n],isStrictMode:!0}),this))()}},47281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SEARCH_TYPE_CATS_TAGS:()=>C,SEARCH_TYPE_DEFAULT:()=>S,SEARCH_TYPE_USERS:()=>A,default:()=>x,registerFullPageSearchType:()=>M});var s=i(21980),n=i(75527),r=i(57528),a=i(18555),o=i(88761),l=i(67289),u=i(2369),c=i(53775),d=i(63427),p=i(15893),h=i(72523),m=i(61927),g=i(31142),f=i(68997),_=i(70278),y=i(20579),b=i(74089),w=i(36702),k=i(81644),T=i(88820);let S="topics_posts",C="categories_tags",A="users",D=[];function M(e,t,i){D.push({translationKey:e,searchTypeId:t,searchFunc:i})}class x extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"appEvents",[a.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();static #s=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #u=(()=>dt7948.g(this.prototype,"searchPreferencesManager",[a.service]))();#ue=(()=>void dt7948.i(this,"searchPreferencesManager"))();static #c=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #_=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#im=(()=>void dt7948.i(this,"application"))();bulkSelectEnabled=null;loading=!1;queryParams=["q","expanded","context_id","context","skip_context","search_type"];q;context_id=null;search_type=(()=>S)();context=null;searching=!1;sortOrder=0;sortOrders=null;invalidSearch=!1;page=1;resultCount=null;searchTypes=null;additionalSearchResults=[];error=null;static #b=(()=>dt7948.g(this.prototype,"hasSelection",[(0,r.gt)("bulkSelectHelper.selected.length",0)]))();#ut=(()=>void dt7948.i(this,"hasSelection"))();static #v=(()=>dt7948.g(this.prototype,"searchButtonDisabled",[(0,r.or)("searching","loading")]))();#ui=(()=>void dt7948.i(this,"searchButtonDisabled"))();_searchOnSortChange=!0;init(){super.init(...arguments),this.set("sortOrder",this.searchPreferencesManager.sortOrder||this.siteSettings.search_default_sort_order);let e=[{name:(0,T.i18n)("search.type.default"),id:S},{name:this.siteSettings.tagging_enabled?(0,T.i18n)("search.type.categories_and_tags"):(0,T.i18n)("search.type.categories"),id:C},{name:(0,T.i18n)("search.type.users"),id:A}];D.forEach(t=>{e.push({name:(0,T.i18n)(t.translationKey),id:t.searchTypeId})}),this.set("searchTypes",e),this.sortOrders=[{name:(0,T.i18n)("search.relevance"),id:0},{name:(0,T.i18n)("search.latest_post"),id:1,term:"order:latest"},{name:(0,T.i18n)("search.most_liked"),id:2,term:"order:likes"},{name:(0,T.i18n)("search.most_viewed"),id:3,term:"order:views"},{name:(0,T.i18n)("search.latest_topic"),id:4,term:"order:latest_topic"}],this.bulkSelectHelper=new d.default(this)}hasResults(e){return(e||0)>0}static #w=(()=>dt7948.n(this.prototype,"hasResults",[(0,h.default)("resultCount")]))();expandFilters(e){return"true"===e}static #k=(()=>dt7948.n(this.prototype,"expandFilters",[(0,h.default)("expanded")]))();hasAutofocus(e){return(0,o.isEmpty)(e)}static #T=(()=>dt7948.n(this.prototype,"hasAutofocus",[(0,h.default)("q")]))();highlightQuery(e){if(e)return e.split(/\s+/).filter(e=>"l"!==e).join(" ")}static #S=(()=>dt7948.n(this.prototype,"highlightQuery",[(0,h.default)("q")]))();get searchContextEnabled(){return!this.skip_context&&this.context||"false"===this.skip_context}static #C=(()=>dt7948.n(this.prototype,"searchContextEnabled",[(0,n.computed)("skip_context","context")]))();set searchContextEnabled(e){this.set("skip_context",!e)}searchContextDescription(e,t){let i=t;if("category"===e){let e=w.default.findById(t);if(!e)return;i=e.get("name")}return(0,f.searchContextDescription)(e,i)}static #A=(()=>dt7948.n(this.prototype,"searchContextDescription",[(0,h.default)("context","context_id")]))();searchActive(e){return(0,f.isValidSearchTerm)(e,this.siteSettings)}static #D=(()=>dt7948.n(this.prototype,"searchActive",[(0,h.default)("q")]))();noSortQ(e){return e=this.cleanTerm(e),(0,b.escapeExpression)(e)}static #M=(()=>dt7948.n(this.prototype,"noSortQ",[(0,h.default)("q")]))();showSuggestion(e,t){return e||!t}static #z=(()=>dt7948.n(this.prototype,"showSuggestion",[(0,h.default)("canCreateTopic","siteSettings.login_required")]))();setSearchTerm(e){this._searchOnSortChange=!1,e=this.cleanTerm(e),this._searchOnSortChange=!0,this.set("searchTerm",e)}cleanTerm(e){return e&&this.sortOrders.forEach(t=>{t.term&&e.match(RegExp(`${t.term}\\b`))&&(this.set("sortOrder",t.id),e=(e=e.replace(RegExp(`${t.term}\\b`,"g"),"")).trim())}),e}triggerSearch(){this._searchOnSortChange&&(this.set("page",1),this._search())}static #V=(()=>dt7948.n(this.prototype,"triggerSearch",[(0,l.observes)("sortOrder")]))();triggerSearchOnTypeChange(){this.searchActive&&(this.set("page",1),this._search())}static #W=(()=>dt7948.n(this.prototype,"triggerSearchOnTypeChange",[(0,l.observes)("search_type")]))();modelChanged(){this.searchTerm!==this.q&&this.setSearchTerm(this.q)}static #K=(()=>dt7948.n(this.prototype,"modelChanged",[(0,l.observes)("model")]))();showLikeCount(e){return e?.includes("order:likes")}static #G=(()=>dt7948.n(this.prototype,"showLikeCount",[(0,h.default)("q")]))();qChanged(){this.model&&this.get("model.q")!==this.q&&(this.setSearchTerm(this.q),this.send("search"))}static #J=(()=>dt7948.n(this.prototype,"qChanged",[(0,l.observes)("q")]))();isPrivateMessage(e){return e&&this.currentUser&&(e.includes("in:messages")||e.includes("in:personal")||e.includes(`personal_messages:${this.currentUser.get("username_lower")}`))}static #e0=(()=>dt7948.n(this.prototype,"isPrivateMessage",[(0,h.default)("q")]))();resultCountLabel(e,t){return(0,T.i18n)("search.result_count",{count:e,plus:e%50==0?"+":"",term:t})}static #e2=(()=>dt7948.n(this.prototype,"resultCountLabel",[(0,h.default)("resultCount","noSortQ")]))();resultCountChanged(){if(!this.model.posts)return 0;this.set("resultCount",this.searchResultPosts.length+this.model.categories.length+this.model.tags.length+this.model.users.length)}static #e3=(()=>dt7948.n(this.prototype,"resultCountChanged",[(0,l.observes)("model.{posts,categories,tags,users}.length","searchResultPosts")]))();canBulkSelect(e){return this.currentUser&&this.currentUser.staff&&e}static #e8=(()=>dt7948.n(this.prototype,"canBulkSelect",[(0,h.default)("hasResults")]))();hasUnselectedResults(e,t){return edt7948.n(this.prototype,"hasUnselectedResults",[(0,h.default)("bulkSelectHelper.selected.length","searchResultPosts.length")]))();canCreateTopic(e){return this.currentUser&&e}static #e7=(()=>dt7948.n(this.prototype,"canCreateTopic",[(0,h.default)("model.grouped_search_result.can_create_topic")]))();isLastPage(e){return 10===e}static #e9=(()=>dt7948.n(this.prototype,"isLastPage",[(0,h.default)("page")]))();usingDefaultSearchType(e){return e===S}static #e5=(()=>dt7948.n(this.prototype,"usingDefaultSearchType",[(0,h.default)("search_type")]))();customSearchType(e){return D.find(t=>e===t.searchTypeId)}static #e6=(()=>dt7948.n(this.prototype,"customSearchType",[(0,h.default)("search_type")]))();searchInfoClassNames(e){return e?"search-info bulk-select-visible":"search-info"}static #te=(()=>dt7948.n(this.prototype,"searchInfoClassNames",[(0,h.default)("bulkSelectEnabled")]))();searchResultPosts(e,t){return t?.list?.length>0?(0,f.reciprocallyRankedList)([e,t.list],["topic_id",t.identifier]):e}static #tt=(()=>dt7948.n(this.prototype,"searchResultPosts",[(0,h.default)("model.posts","additionalSearchResults")]))();_search(){if(this.searching)return;this.set("invalidSearch",!1);let e=this.searchTerm;if(!(0,f.isValidSearchTerm)(e,this.siteSettings))return void this.set("invalidSearch",!0);let t={q:e,page:this.page};1===t.page?(this.set("bulkSelectEnabled",!1),this.bulkSelectHelper.selected.clear(),this.set("searching",!0),(0,g.scrollTop)()):this.set("loading",!0);let i=this.sortOrder;i&&this.sortOrders[i].term&&(t.q+=" "+this.sortOrders[i].term),this.set("q",t.q);let s=this.skip_context;(!s&&this.context||"false"===s)&&(t.search_context={type:this.context,id:this.context_id});let n=(0,f.getSearchKey)(t);if(this.customSearchType)return void(0,this.customSearchType.searchFunc)(this,t,n);switch(this.search_type){case C:let r=(0,p.search)(e,this.siteSettings);u.Promise.resolve(r).then(async e=>{let t=e.filter(e=>!!e.model),i=e.filter(e=>!e.model),s=await (0,f.translateResults)({categories:t,tags:i})||{};this.set("model",s)}).finally(()=>{this.setProperties({searching:!1,loading:!1})});break;case A:(0,y.default)({term:e,limit:20}).then(async e=>{let t=await (0,f.translateResults)({users:e})||{};this.set("model",t)}).finally(()=>{this.setProperties({searching:!1,loading:!1})});break;default:this.currentUser&&(0,f.updateRecentSearches)(this.currentUser,e),(0,c.ajax)("/search",{data:t}).then(async e=>{let i=await (0,f.translateResults)(e)||{};e.grouped_search_result&&this.set("q",e.grouped_search_result.term),t.page>1?i&&(this.model.set("posts",this.model.posts.concat(i.posts)),this.model.set("topics",this.model.topics.concat(i.topics)),this.model.set("grouped_search_result",e.grouped_search_result)):((0,m.setTransient)("lastSearch",{searchKey:n,model:i},5),i.grouped_search_result=e.grouped_search_result,this.set("model",i)),this.set("error",null)}).catch(e=>{this.set("error",e.jqXHR.responseJSON?.message)}).finally(()=>{this.setProperties({searching:!1,loading:!1}),this.appEvents.trigger("search:search_result_view",{page:t.page})})}}static #ti=(()=>dt7948.n(this.prototype,"_search",[h.bind]))();_afterTransition(){0===Object.keys(this.model).length&&this.reset()}reset(){this.setProperties({searching:!1,page:1,resultCount:null}),this.bulkSelectHelper.clear()}afterBulkActionComplete(){return u.Promise.resolve(this._search())}static #sF=(()=>dt7948.n(this.prototype,"afterBulkActionComplete",[n.action]))();createTopic(e,t){let i;if(t?.preventDefault(),e.includes("category:")){let t=e.match(/category:(\S*)/);t&&t[1]&&(i=t[1])}this.composer.open({action:k.default.CREATE_TOPIC,draftKey:k.default.NEW_TOPIC_KEY,topicCategory:i})}static #sI=(()=>dt7948.n(this.prototype,"createTopic",[n.action]))();addSearchResults(e,t){this.set("additionalSearchResults",{list:e,identifier:t})}static #sN=(()=>dt7948.n(this.prototype,"addSearchResults",[n.action]))();setSortOrder(e){this.set("sortOrder",e),this.searchPreferencesManager.sortOrder=e}static #sj=(()=>dt7948.n(this.prototype,"setSortOrder",[n.action]))();selectAll(){this.bulkSelectHelper.selected.addObjects(this.get("searchResultPosts").mapBy("topic")),document.querySelectorAll(".fps-result input[type=checkbox]").forEach(e=>{e.checked=!0})}static #sO=(()=>dt7948.n(this.prototype,"selectAll",[n.action]))();clearAll(){this.bulkSelectHelper.selected.clear(),document.querySelectorAll(".fps-result input[type=checkbox]").forEach(e=>{e.checked=!1})}static #sR=(()=>dt7948.n(this.prototype,"clearAll",[n.action]))();toggleBulkSelect(){this.toggleProperty("bulkSelectEnabled"),this.bulkSelectHelper.selected.clear()}static #sU=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[n.action]))();search(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.searching||(e.collapseFilters&&document.querySelector("details.advanced-filters")?.removeAttribute("open"),this.set("page",1),this.appEvents.trigger("full-page-search:trigger-search"),this._search())}static #sB=(()=>dt7948.n(this.prototype,"search",[n.action]))();get canLoadMore(){return this.get("model.grouped_search_result.more_full_page_results")&&!this.loading&&this.page<10}loadMore(){this.canLoadMore&&(0,_.applyBehaviorTransformer)("full-page-search-load-more",()=>{this.incrementProperty("page"),this._search()})}static #sY=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();logClick(e){this.get("model.grouped_search_result.search_log_id")&&e&&(0,f.logSearchLinkClick)({searchLogId:this.get("model.grouped_search_result.search_log_id"),searchResultId:e,searchResultType:"topic"})}static #sH=(()=>dt7948.n(this.prototype,"logClick",[n.action]))()}},47291:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ENGINE_PARENT:()=>s,getEngineParent:()=>n,setEngineParent:()=>r});let s=Symbol("ENGINE_PARENT");function n(e){return e[s]}function r(e,t){e[s]=t}},47317:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8658),n=i(92960),r=i(88820),a=i(72799),o=i(71209),l=i(86960);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"hg7EapCk",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n"],[41,[30,1,["model","permissions"]],[[[1," "],[10,"label"],[14,0,"group-category-permissions-desc"],[12],[1,"\\n "],[1,[28,[32,0],["groups.permissions.description"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"table"],[14,0,"group-category-permissions"],[12],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","permissions"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[12],[1,[28,[32,1],[[30,2,["category"]]],null]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,2,["description"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["groups.permissions.none"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@controller","permission"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/permissions.js",scope:()=>[r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},47352:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(86019),n=i(18555);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();beforeModel(){this.modelFor("group").can_see_members?this.router.transitionTo("group.activity.posts"):this.router.transitionTo("group.activity.mentions")}}},47398:(e,t,i)=>{var s=i(25356),n=i(19308);function r(e,t,i,s){if(s){var r=s[t];if(n(r))r.unhook&&r.unhook(e,t,i);else if("attributes"===t)for(var a in r)e.removeAttribute(a);else if("style"===t)for(var o in r)e.style[o]="";else"string"==typeof r?e[t]="":e[t]=null}}function a(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}e.exports=function(e,t,i){for(var o in t){var l=t[o];void 0===l?r(e,o,l,i):n(l)?(r(e,o,l,i),l.hook&&l.hook(e,o,i?i[o]:void 0)):s(l)?function(e,t,i,n,r){var o=i?i[n]:void 0;if("attributes"===n){for(var l in r){var u=r[l];void 0===u?e.removeAttribute(l):e.setAttribute(l,u)}return}if(o&&s(o)&&a(o)!==a(r)){e[n]=r;return}s(e[n])||(e[n]={});var c="style"===n?"":void 0;for(var d in r){var p=r[d];e[n][d]=void 0===p?c:p}}(e,0,i,o,l):e[o]=l}}},47444:(e,t,i)=>{"use strict";i.r(t),i.d(t,{InstructionEncoderImpl:()=>n});var s=i(25633);class n{constructor(e){this.buffer=e}size=0;encode(e,t){for(var i=arguments.length,n=Array(i>2?i-2:0),r=2;rs.TYPE_SIZE)throw Error(`Opcode type over 8-bits. Got ${e}.`);let a=e|t|arguments.length-2<{"use strict";i.r(t),i.d(t,{default:()=>L});var s=i(72799),n=i(25604),r=i(75527),a=i(57528),o=i(97527),l=i(32504),u=i(11075),c=i(11282),d=i(81539),p=i(76909),h=i(53769),m=i(2015),g=i(20775),f=i(54074),_=i(12733),y=i(72523),b=i(98304),w=i(86773),k=i(10600),T=i(80422),S=i(88820),C=i(32019),A=i(17446),D=i(24654),M=i(22407),x=i(71209);function E(e,t){return e.bind(t)}let L=dt7948.c(class extends s.default{elementId="topic-footer-buttons";role="region";static #e=(()=>dt7948.g(this.prototype,"inlineButtons",[(0,w.getTopicFooterButtons)()]))();#us=(()=>void dt7948.i(this,"inlineButtons"))();static #t=(()=>dt7948.g(this.prototype,"inlineDropdowns",[(0,k.getTopicFooterDropdowns)()]))();#un=(()=>void dt7948.i(this,"inlineDropdowns"))();static #i=(()=>dt7948.g(this.prototype,"canSendPms",[(0,a.alias)("currentUser.can_send_private_messages")]))();#ur=(()=>void dt7948.i(this,"canSendPms"))();static #s=(()=>dt7948.g(this.prototype,"canInviteTo",[(0,a.alias)("topic.details.can_invite_to")]))();#ua=(()=>void dt7948.i(this,"canInviteTo"))();static #u=(()=>dt7948.g(this.prototype,"canDefer",[(0,a.alias)("currentUser.user_option.enable_defer")]))();#uo=(()=>void dt7948.i(this,"canDefer"))();static #c=(()=>dt7948.g(this.prototype,"inviteDisabled",[(0,a.or)("topic.archived","topic.closed","topic.deleted")]))();#ul=(()=>void dt7948.i(this,"inviteDisabled"))();canArchive(e,t){return e&&t}static #_=(()=>dt7948.n(this.prototype,"canArchive",[(0,y.default)("canSendPms","topic.isPrivateMessage")]))();get inlineActionables(){return this.inlineButtons.filterBy("dropdown",!1).filterBy("anonymousOnly",!1).concat(this.inlineDropdowns).sortBy("priority").reverse()}static #b=(()=>dt7948.n(this.prototype,"inlineActionables",[(0,r.computed)("inlineButtons.[]","inlineDropdowns.[]")]))();get topicBookmarkManager(){return new T.default((0,o.getOwner)(this),this.topic)}static #v=(()=>dt7948.n(this.prototype,"topicBookmarkManager",[(0,r.computed)("topic")]))();dropdownButtons(e){return e.filter(e=>e.dropdown)}static #w=(()=>dt7948.n(this.prototype,"dropdownButtons",[(0,y.default)("inlineButtons.[]","topic.assigned_to_user")]))();loneDropdownButton(e){return 1===e.length?e[0]:null}static #k=(()=>dt7948.n(this.prototype,"loneDropdownButton",[(0,y.default)("dropdownButtons.[]")]))();showNotificationsButton(e){return!e||this.canSendPms}static #T=(()=>dt7948.n(this.prototype,"showNotificationsButton",[(0,y.default)("topic.isPrivateMessage")]))();showNotificationUserTip(e){return e>=b.NotificationLevels.TRACKING}static #S=(()=>dt7948.n(this.prototype,"showNotificationUserTip",[(0,y.default)("topic.details.notification_level")]))();archiveIcon(e){return e?"envelope":"folder"}static #C=(()=>dt7948.n(this.prototype,"archiveIcon",[(0,y.default)("topic.message_archived")]))();archiveTitle(e){return e?"topic.move_to_inbox.help":"topic.archive_message.help"}static #A=(()=>dt7948.n(this.prototype,"archiveTitle",[(0,y.default)("topic.message_archived")]))();archiveLabel(e){return e?"topic.move_to_inbox.title":"topic.archive_message.title"}static #D=(()=>dt7948.n(this.prototype,"archiveLabel",[(0,y.default)("topic.message_archived")]))();showBookmarkLabel(e){return!e}static #M=(()=>dt7948.n(this.prototype,"showBookmarkLabel",[(0,y.default)("topic.isPrivateMessage")]))();static #z=(()=>(0,s.setComponentTemplate)((0,x.createTemplateFactory)({id:"C9fVKZ6n",block:'[[[1,"\\n "],[10,0],[14,0,"topic-footer-main-buttons"],[12],[1,"\\n "],[10,0],[14,0,"topic-footer-main-buttons__actions"],[12],[1,"\\n "],[8,[32,0],null,[["@topic","@toggleMultiSelect","@showTopicSlowModeUpdate","@deleteTopic","@recoverTopic","@toggleFeaturedOnProfile","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@buttonClasses"],[[30,0,["topic"]],[30,0,["toggleMultiSelect"]],[30,0,["showTopicSlowModeUpdate"]],[30,0,["deleteTopic"]],[30,0,["recoverTopic"]],[30,0,["toggleFeaturedOnProfile"]],[30,0,["toggleClosed"]],[30,0,["toggleArchived"]],[30,0,["toggleVisibility"]],[30,0,["showTopicTimerModal"]],[30,0,["showFeatureTopic"]],[30,0,["showChangeTimestamp"]],[30,0,["resetBumpDate"]],[30,0,["convertToPublicTopic"]],[30,0,["convertToPrivateMessage"]],"topic-footer-button"]],null],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["inlineActionables"]]],null]],null],null,[[[41,[28,[32,1],[[30,1,["type"]],"inline-button"],null],[[[41,[28,[32,1],[[30,1,["id"]],"bookmark"],null],[[[1," "],[8,[32,2],null,[["@showLabel","@bookmarkManager","@buttonClasses"],[[30,0,["showBookmarkLabel"]],[30,0,["topicBookmarkManager"]],"btn-default topic-footer-button"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,1,["id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,1,["classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,1,["action"]],[30,1,["icon"]],[30,1,["label"]],[30,1,["title"]],[30,1,["ariaLabel"]],[30,1,["disabled"]]]],null],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[32,6],[[16,0,[28,[32,5],["topic-footer-dropdown",[30,1,["classNames"]]],null]]],[["@id","@value","@content","@onChange","@options"],[[28,[32,4],["topic-footer-dropdown-",[30,1,["id"]]],null],[30,1,["value"]],[30,1,["content"]],[28,[32,7],[[30,1,["action"]],[30,0]],null],[28,[32,8],null,[["icon","none","disabled"],[[30,1,["icon"]],[30,1,["noneItem"]],[30,1,["disabled"]]]]]]],null],[1,"\\n"]],[]]]],[1]],null],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[41,[30,0,["loneDropdownButton"]],[[[1," "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,0,["loneDropdownButton","id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,0,["loneDropdownButton","classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,0,["loneDropdownButton","action"]],[30,0,["loneDropdownButton","icon"]],[30,0,["loneDropdownButton","label"]],[30,0,["loneDropdownButton","title"]],[30,0,["loneDropdownButton","ariaLabel"]],[30,0,["loneDropdownButton","disabled"]]]],null],[1,"\\n"]],[]],[[[41,[28,[32,9],[[30,0,["dropdownButtons","length"]],1],null],[[[1," "],[8,[32,10],[[24,0,"topic-footer-button btn-default"]],[["@modalForMobile","@identifier"],[true,"topic-footer-mobile-dropdown"]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,11],["ellipsis-vertical"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,12],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["dropdownButtons"]]],null]],null],null,[[[1," "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,3,["id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,3,["classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,3,["action"]],[30,3,["icon"]],[30,3,["label"]],[30,3,["title"]],[30,3,["ariaLabel"]],[30,3,["disabled"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],null],[1," "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]],[1,"\\n "],[8,[32,13],null,[["@pinned","@topic","@appendReason"],[[30,0,["topic","pinned"]],[30,0,["topic"]],false]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationsButton"]],[[[1," "],[8,[32,14],null,[["@topic","@appendReason"],[[30,0,["topic"]],false]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["topic-footer-main-buttons-before-create",[28,[32,8],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n\\n"],[41,[30,0,["topic","details","can_create_post"]],[[[1," "],[8,[32,3],[[24,0,"btn-primary create topic-footer-button"]],[["@icon","@action","@label","@title"],["reply",[30,0,["replyToPost"]],"topic.reply.title","topic.reply.help"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["after-topic-footer-main-buttons",[28,[32,8],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,13],null,[["@pinned","@topic","@appendReason"],[[30,0,["topic","pinned"]],[30,0,["topic"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationsButton"]],[[[1," "],[8,[32,14],[[24,0,"notifications-button-footer"]],[["@topic","@expanded"],[[30,0,["topic"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationUserTip"]],[[[1," "],[8,[32,16],null,[["@id","@triggerSelector","@titleText","@contentText","@priority"],["topic_notification_levels",".notifications-button-footer details",[28,[32,17],["user_tips.topic_notification_levels.title"],null],[28,[32,17],["user_tips.topic_notification_levels.content"],null],800]],null],[1,"\\n"]],[]],null]],[]],null]],[]],null],[1,"\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["after-topic-footer-buttons",[28,[32,8],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n "]],["actionable","dropdown","button"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-footer-buttons.js",scope:()=>[m.default,u.eq,c.default,d.default,n.concat,f.default,C.default,E,n.hash,u.gt,M.default,_.default,p.default,A.default,D.default,h.default,g.default,S.i18n],isStrictMode:!0}),this))()},[(0,l.attributeBindings)("role")])},47684:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(81539),n=i(72799),r=i(71209),a=i(86960);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"RacGJQty",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-primary btn-small back-button"]],[["@action","@label","@title"],[[30,1],"topic.timeline.back","topic.timeline.back_description"]],null],[1,"\\n"]],["@onGoBack"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-timeline/back-button.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"back-button:BackButton"))},47761:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,i){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})},47775:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addFeaturedLinkMetaDecorator:()=>o,default:()=>u,extractLinkMeta:()=>l,topicFeaturedLinkNode:()=>c});var s=i(70043),n=i(35794),r=i(36649);let a=[];function o(e){a.push(e)}function l(e){let t=e.get("featured_link"),i=r.default.currentProp("user_option.external_links_in_new_tab")?"_blank":"",s=e.get("featured_link_root_domain"),n=e.siteSettings.exclude_rel_nofollow_domains,o="nofollow ugc";if(n&&(n=n.split("|")).includes(s)&&(o=o.replace("nofollow ","")),!t)return;let l={target:i,href:t,domain:s,rel:o};return a.length&&a.forEach(e=>e(l)),l}function u(e){let t=l(e);return t?`${(0,n.renderIcon)("string","up-right-from-square")} ${t.domain}`:""}function c(e){let t=l(e);if(t)return(0,s.h)("a.topic-featured-link",{attributes:{href:t.href,rel:t.rel,target:t.target}},[(0,n.renderIcon)("node","up-right-from-square"),t.domain])}},47782:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(25604),n=i(72684),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"YRUquOU1",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__input-group"],[12],[1,"\\n "],[18,9,[[28,[32,0],null,[["Field"],[[50,[32,1],0,null,[["errors","addError","data","set","remove","registerField","unregisterField","triggerRevalidationFor","showMeta"],[[30,1],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],false]]]]]]]],[1,"\\n "],[13],[1,"\\n"]],["@errors","@addError","@data","@set","@remove","@registerField","@unregisterField","@triggerRevalidationFor","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/input-group.js",scope:()=>[s.hash,n.default],isStrictMode:!0}),(0,o.default)(void 0,"input-group:FKInputGroup"))},47799:(e,t,i)=>{"use strict";i.r(t),i.d(t,{POPULAR_THEMES:()=>s,descriptionForRemoteUrl:()=>n});let s=[{name:"Air",value:"https://github.com/discourse/discourse-air",preview:"https://discourse.theme-creator.io/theme/Discourse/air-theme",description:"A clean and modern theme for Discourse.",meta_url:"https://meta.discourse.org/t/air-theme/197703"},{name:"Graceful",value:"https://github.com/discourse/graceful",preview:"https://discourse.theme-creator.io/theme/Discourse/graceful-theme",description:"A light and graceful theme for Discourse.",meta_url:"https://meta.discourse.org/t/graceful-theme/93040"},{name:"Material Design Theme",value:"https://github.com/discourse/material-design-stock-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/material-design-theme",description:"Inspired by Material Design, this theme comes with several color palettes.",meta_url:"https://meta.discourse.org/t/material-design-theme/47142"},{name:"Mint",value:"https://github.com/discourse/discourse-mint-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/mint-theme",description:"A minty colored theme with featured homepage categories and a search banner.",meta_url:"https://meta.discourse.org/t/mint-theme/202822"},{name:"Sam's Simple Theme",value:"https://github.com/discourse/discourse-simple-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/sams-simple-theme",description:"Simplified front page design with classic colors and typography.",meta_url:"https://meta.discourse.org/t/sams-simple-theme/23552"},{name:"Brand Header",value:"https://github.com/discourse/discourse-brand-header",preview:"https://discourse.theme-creator.io/theme/Discourse/brand-header",description:"Add an extra top header with your logo, navigation links and social icons.",meta_url:"https://meta.discourse.org/t/brand-header/77977",component:!0},{name:"Custom Header Links",value:"https://github.com/discourse/discourse-custom-header-links",preview:"https://discourse.theme-creator.io/theme/Discourse/custom-header-links",description:"Easily add custom text-based links to the header.",meta_url:"https://meta.discourse.org/t/custom-header-links/90588",component:!0},{name:"Discourse GIFS",value:"https://github.com/discourse/discourse-gifs",description:"Adds a button to easily search and insert GIFs in posts.",meta_url:"https://meta.discourse.org/t/discourse-gifs/158738",component:!0},{name:"Category Banners",value:"https://github.com/discourse/discourse-category-banners",preview:"https://discourse.theme-creator.io/theme/Discourse/category-banners",description:"Show banners on category pages using your existing category details.",meta_url:"https://meta.discourse.org/t/category-banners/86241",component:!0},{name:"Tag Banners",value:"https://github.com/discourse/discourse-tag-banners",preview:"https://discourse.theme-creator.io/theme/Discourse/tag-banners",description:"Show banners on tag pages using your existing tag details.",meta_url:"https://meta.discourse.org/t/tag-banners/124240",component:!0},{name:"Kanban Board",value:"https://github.com/discourse/discourse-kanban-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/kanban-board",description:"Display and organize topics using a Kanban board interface.",meta_url:"https://meta.discourse.org/t/kanban-board/118164",component:!0},{name:"Sidebar Theme Toggle",value:"https://github.com/discourse/discourse-sidebar-theme-toggle",description:"Displays a theme selector in the sidebar menu’s footer provided there is more than one user-selectable theme.",meta_url:"https://meta.discourse.org/t/sidebar-theme-toggle/242802",component:!0},{name:"Header Submenus",value:"https://github.com/discourse/discourse-header-submenus",preview:"https://discourse.theme-creator.io/theme/Discourse/header-submenus",description:"Lets you build a header menu with submenus (dropdowns).",meta_url:"https://meta.discourse.org/t/header-submenus/94584",component:!0},{name:"Automatic Table of Contents",value:"https://github.com/discourse/DiscoTOC",preview:"https://discourse.theme-creator.io/theme/Discourse/discotoc",description:"Generates an interactive table of contents on the sidebar of your topic with a simple click in the composer.",meta_url:"https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143",component:!0},{name:"Easy Responsive Footer",value:"https://github.com/discourse/Discourse-easy-footer",preview:"https://discourse.theme-creator.io/theme/Discourse/easy-responsive-footer",description:"Add a fully responsive footer without writing any HTML.",meta_url:"https://meta.discourse.org/t/easy-responsive-footer/95818",component:!0}];function n(e){return e=e.replace(/\.git$/,""),s.find(t=>t.value===e)?.description}},47827:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(77667),n=i(18555),r=i(72577);let a=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();listeners=(()=>new Map)();bindScrolling(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.throttle||100,n=this.router._router._routerMicrolib,r=()=>{if(!n.activeTransition)return(0,s.scheduleOnce)("afterRender",e,"scrolled")},a=i?()=>(0,s.throttle)(e,r,i,!1):r;this.listeners.set(e,a),document.addEventListener("touchmove",a,{passive:!0}),window.addEventListener("scroll",a,{passive:!0})}unbindScrolling(e){let t=this.listeners.get(e);t&&(document.removeEventListener("touchmove",t),window.removeEventListener("scroll",t),this.listeners.delete(e))}},[r.disableImplicitInjections])},47851:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(25604),n=i(4781),r=i(8658),a=i(75466),o=i(53769),l=i(37715),u=i(56969),c=i(88820),d=i(72799),p=i(71209),h=i(86960);let m=(0,r.default)((0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"E79MarNO",block:'[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"container tags-index"],[12],[1,"\\n\\n "],[10,0],[14,0,"container tags-controls"],[12],[1,"\\n"],[41,[30,1,["canAdminTags"]],[[[1," "],[8,[32,1],null,[["@actionsMapping"],[[30,1,["actionsMapping"]]]],null],[1,"\\n"]],[]],null],[1," "],[10,"h2"],[12],[1,[28,[32,2],["tagging.tags"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["tags-below-title","div",[28,[32,4],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"tag-sort-options"],[12],[1,"\\n "],[1,[28,[32,2],["tagging.sort_by"],null]],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-count ",[52,[30,1,["sortedByCount"]],"active"]]]],[12],[11,3],[24,6,""],[4,[32,5],["click",[30,1,["sortByCount"]]],null],[12],[1,[28,[32,2],["tagging.sort_by_count"],null]],[13],[13],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-name ",[52,[30,1,["sortedByName"]],"active"]]]],[12],[11,3],[24,6,""],[4,[32,5],["click",[30,1,["sortById"]]],null],[12],[1,[28,[32,2],["tagging.sort_by_name"],null]],[13],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"all-tag-lists"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","extras","categories"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@tags","@sortProperties","@categoryId"],[[30,2,["tags"]],[30,1,["sortProperties"]],[30,2,["id"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","extras","tag_groups"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@tags","@sortProperties","@tagGroupName"],[[30,3,["tags"]],[30,1,["sortProperties"]],[30,3,["name"]]]],null],[1,"\\n"]],[3]],null],[1,"\\n"],[41,[30,1,["model"]],[[[1," "],[8,[32,6],null,[["@tags","@sortProperties","@titleKey"],[[30,1,["model"]],[30,1,["sortProperties"]],[30,1,["otherTagsTitleKey"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[13],[1,"\\n "]],["@controller","category","tagGroup"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/tags/index.js",scope:()=>[a.default,u.default,c.i18n,o.default,s.hash,n.on,l.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},47875:(e,t,i)=>{var s=i(37854);e.exports=function(e){return e&&"VirtualNode"===e.type&&e.version===s}},47876:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(25604),n=i(8658),r=i(11435),a=i(53769),o=i(10147),l=i(52984),u=i(12733),c=i(88820),d=i(69812),p=i(72799),h=i(71209),m=i(86960);let g=(0,n.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"kV5UGZPZ",block:'[[[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.users"],null]],[13],[1,"\\n\\n"],[41,[30,1,["model","can_ignore_users"]],[[[1," "],[10,0],[14,0,"control-group user-ignore"],[14,"data-setting-name","user-ignored-users"],[12],[1,"\\n "],[10,0],[14,0,"controls tracking-controls user-notifications"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["far-eye-slash"],[["class"],["icon"]]]],[1,"\\n "],[1,[28,[32,0],["user.ignored_users"],null]],[13],[1,"\\n "],[8,[32,2],null,[["@model","@items"],[[30,1,["model"]],[30,1,["model","ignored_usernames"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","can_mute_users"]],[[[1," "],[10,0],[14,0,"control-group user-mute"],[14,"data-setting-name","user-muted-users"],[12],[1,"\\n "],[10,0],[14,0,"controls tracking-controls"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,1],["d-muted"],[["class"],["icon"]]]],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["user.muted_users"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],null,[["@value","@onChange","@options"],[[30,1,["mutedUsernames"]],[30,1,["onChangeMutedUsernames"]],[28,[32,4],null,[["excludeCurrentUser"],[true]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,0],["user.muted_users_instructions"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","can_send_private_messages"]],[[[1," "],[10,0],[14,0,"control-group private-messages"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.private_messages"],null]],[13],[1,"\\n "],[10,0],[14,0,"control-group user-allow-pm"],[14,"data-setting-name","user-allow-private-messages"],[12],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,5],null,[["@labelKey","@checked"],["user.allow_private_messages",[30,1,["model","user_option","allow_private_messages"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group user-allow-pm"],[14,"data-setting-name","user-allow-private-messages-from-specific-users"],[12],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,5],null,[["@labelKey","@checked","@disabled"],["user.allow_private_messages_from_specific_users",[30,1,["model","user_option","enable_allowed_pm_users"]],[30,1,["disableAllowPmUsersSetting"]]]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["allowPmUsersEnabled"]],[[[1," "],[10,0],[14,0,"controls tracking-controls"],[12],[1,"\\n "],[8,[32,3],null,[["@value","@onChange","@options"],[[30,1,["allowedPmUsernames"]],[30,1,["onChangeAllowedPmUsernames"]],[28,[32,4],null,[["excludeCurrentUser"],[true]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,0],["user.allowed_pm_users_instructions"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,6],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-controls","div",[28,[32,4],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,7],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/users.js",scope:()=>[c.i18n,u.default,r.default,d.default,s.hash,o.default,a.default,l.default],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},47952:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(72799),n=i(25604),r=i(75527),a=i(83426),o=i(88761),l=i(32504),u=i(52605),c=i(71209);function d(e){return{hours:Math.floor(e/60),minutes:e%60}}let p=dt7948.c(class extends s.default{hours=null;minutes=null;relativeDate=null;didReceiveAttrs(){super.didReceiveAttrs(...arguments),(0,o.isPresent)(this.date)&&this.setProperties({hours:this.date.hours(),minutes:this.date.minutes()}),(0,o.isPresent)(this.date)||(0,o.isPresent)(this.hours)||(0,o.isPresent)(this.minutes)||this.setProperties({hours:null,minutes:null})}get minimumTime(){if(this.relativeDate)if(!this.date)return 60*this.relativeDate.hours()+this.relativeDate.minutes();else if(!this.date.isSame(this.relativeDate,"day"))return 0;else return 60*this.relativeDate.hours()+this.relativeDate.minutes()}static #e=(()=>dt7948.n(this.prototype,"minimumTime",[(0,r.computed)("relativeDate","date")]))();get timeOptions(){let e=[],t=this.minimumTime?this.minimumTime>this.time?this.time:this.minimumTime:0,i=0,s=t;for(e.push(s);i<95&&!((s+=this.minimumTime?i<=3?15:30:15)>1440);)e.push(s),i++;return this.time&&!e.includes(this.time)&&(e=[this.time].concat(e)),(e=e.sort((e,t)=>e-t)).map(e=>{let t,i=function(e){let t=d(e);return`${t.hours.toString().padStart(2,"0")}:${t.minutes.toString().padStart(2,"0")}`}(e);if(this.date&&this.relativeDate){let s=this.date.clone().startOf("day").add(e,"minutes").diff(this.relativeDate,"minutes");s<1440&&(t=(0,a.htmlSafe)(`${i} (${function(e){let t=d(e),i="";return t.hours?(i=`${t.hours}h`,t.minutes>0&&(i=`${i} ${t.minutes} min`)):i=`${t.minutes} min`,i}(s)})`))}return{id:e,name:i,label:t,title:i}})}static #t=(()=>dt7948.n(this.prototype,"timeOptions",[(0,r.computed)("minimumTime","hours","minutes")]))();get time(){if((0,o.isPresent)(this.hours)&&(0,o.isPresent)(this.minutes))return 60*parseInt(this.hours,10)+parseInt(this.minutes,10)}static #i=(()=>dt7948.n(this.prototype,"time",[(0,r.computed)("minimumTime","hours","minutes")]))();onFocusIn(e,t){e&&t.target&&t.target.select()}static #s=(()=>dt7948.n(this.prototype,"onFocusIn",[r.action]))();onChangeTime(e){if((0,o.isPresent)(e)&&this.onChange)if("string"==typeof e&&e.length){let[t,i]=e.split(":");t&&i&&(t<0&&(t=0),t>23&&(t=23),i<0&&(i=0),i>59&&(i=59),this.onChange({hours:parseInt(t,10),minutes:parseInt(i,10)}))}else this.onChange({hours:d(e).hours,minutes:d(e).minutes})}static #u=(()=>dt7948.n(this.prototype,"onChangeTime",[r.action]))();static #c=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"7sUkC2AP",block:'[[[1,"\\n "],[8,[32,0],null,[["@value","@content","@onChange","@options"],[[30,0,["time"]],[30,0,["timeOptions"]],[30,0,["onChangeTime"]],[28,[32,1],null,[["translatedNone","allowAny","filterable","autoInsertNoneItem","translatedFilterPlaceholder"],["--:--",true,false,false,"--:--"]]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/time-input.js",scope:()=>[u.default,n.hash],isStrictMode:!0}),this))()},[(0,l.classNames)("d-time-input")])},48036:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};return e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return(12===e&&(e=0),"રાત"===t)?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})})},48062:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a,getLastPromise:()=>u,promise:()=>o,resolve:()=>l}),i(25711),i(52087),i(6167),i(338),i(6234),i(81004),i(62903),i(77051);var s=i(69394),n=i(27578);let r=null;class a extends n.R.Promise{constructor(e,t){super(e,t),r=this}then(e,t,i){let n="function"==typeof e?t=>(function(e,t){r=null;let i=e(t),n=r;return(r=null,i&&i instanceof a||!n)?i:(0,s.default)(()=>l(n).then(()=>i))})(e,t):void 0;return super.then(n,t,i)}}function o(e,t){return new a(e,`Ember.Test.promise: ${t||""}`)}function l(e,t){return a.resolve(e,t)}function u(){return r}},48147:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>B});var s=i(25604),n=i(5845),r=i(77977),a=i(8658),o=i(11075),l=i(78524),u=i(67948),c=i(2717),d=i(49930),p=i(95629),h=i(56266),m=i(76e3),g=i(70247),f=i(99063),_=i(12860),y=i(85677),b=i(68353),w=i(29039),k=i(97329),T=i(7834),S=i(53769),C=i(70594),A=i(13123),D=i(40052),M=i(96062),x=i(7194),E=i(34868),L=i(44421),P=i(29349),F=i(88820),I=i(32018),N=i(93452),j=i(33300),O=i(72799),R=i(71209),U=i(86960);let B=(0,a.default)((0,O.setComponentTemplate)((0,R.createTemplateFactory)({id:"F057ntew",block:'[[[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[8,[32,1],null,null,null],[1,"\\n\\n "],[8,[32,2],[[4,[32,3],[[30,1,["trackDiscoursePainted"]]],null]],null,[["default"],[[[[1,"\\n"],[41,[30,1,["showSkipToContent"]],[[[1," "],[10,3],[14,6,"#main-container"],[14,1,"skip-link"],[12],[1,[28,[32,4],["skip_to_main_content"],null]],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,5],null,null,null],[1,"\\n "],[8,[32,6],null,null,null],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["above-site-header","div",[28,[32,8],null,[["currentPath"],[[30,1,["router","_router","currentPath"]]]]]]],null],[1,"\\n\\n"],[41,[30,1,["showSiteHeader"]],[[[1," "],[8,[32,9],null,[["@canSignUp","@showCreateAccount","@showLogin","@showKeyboard","@toggleMobileView","@logout","@sidebarEnabled","@showSidebar","@toggleSidebar"],[[30,1,["canSignUp"]],[28,[32,10],["showCreateAccount"],null],[28,[32,10],["showLogin"],null],[28,[32,10],["showKeyboardShortcutsHelp"],null],[28,[32,10],["toggleMobileView"],null],[28,[32,10],["logout"],null],[30,1,["sidebarEnabled"]],[30,1,["showSidebar"]],[30,1,["toggleSidebar"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n\\n"],[41,[30,1,["siteSettings","enable_offline_indicator"]],[[[1," "],[8,[32,12],null,null,null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["below-site-header","div",[28,[32,8],null,[["currentPath"],[[30,1,["router","_router","currentPath"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,1,"main-outlet-wrapper"],[14,0,"wrap"],[14,"role","main"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-wrapper"],[12],[1,"\\n"],[41,[28,[32,13],[[30,1,["sidebarEnabled"]],[30,1,["showSidebar"]]],null],[[[1," "],[8,[32,14],null,[["@toggleSidebar"],[[30,1,["toggleSidebar"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,15],null,null,null],[1,"\\n\\n "],[8,[32,7],null,[["@name"],["before-main-outlet"]],null],[1,"\\n\\n "],[10,0],[14,1,"main-outlet"],[12],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName"],["above-main-container","div"]],null],[1,"\\n\\n "],[8,[32,16],null,null,null],[1,"\\n\\n "],[10,0],[14,0,"container"],[14,1,"main-container"],[12],[1,"\\n"],[41,[30,1,["showTop"]],[[[1," "],[8,[32,17],null,[["@name"],["top"]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,18],null,null,null],[1,"\\n "],[8,[32,19],null,null,null],[1,"\\n "],[8,[32,20],null,null,null],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["top-notices","div",[28,[32,8],null,[["currentPath"],[[30,1,["router","_router","currentPath"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n\\n "],[8,[32,21],null,null,null],[1,"\\n "],[8,[32,7],null,[["@name","@outletArgs"],["main-outlet-bottom",[28,[32,8],null,[["showFooter"],[[30,1,["showFooter"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,7],null,[["@name"],["after-main-outlet"]],null],[1,"\\n\\n"],[41,[30,1,["showPoweredBy"]],[[[1," "],[8,[32,22],null,null,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["above-footer","div",[28,[32,8],null,[["showFooter"],[[30,1,["showFooter"]]]]]]],null],[1,"\\n"],[41,[30,1,["showFooter"]],[[[1," "],[8,[32,17],null,[["@name","@triggerAppEvent","@classNames"],["footer","true","custom-footer-content"]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["below-footer","div",[28,[32,8],null,[["showFooter"],[[30,1,["showFooter"]]]]]]],null],[1,"\\n\\n "],[8,[32,23],null,null,null],[1,"\\n "],[8,[32,24],null,null,null],[1,"\\n "],[8,[32,25],null,null,null],[1,"\\n "],[8,[32,26],null,null,null],[1,"\\n "],[8,[32,27],null,null,null],[1,"\\n\\n"],[41,[30,1,["showFooterNav"]],[[[1," "],[8,[32,7],null,[["@name"],["footer-nav"]],[["default"],[[[[1,"\\n "],[8,[32,28],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,29],null,null,null],[1,"\\n "],[8,[32,30],null,null,null],[1,"\\n "],[8,[32,31],null,null,null],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/application.js",scope:()=>[p.default,h.default,m.default,n.default,F.i18n,d.default,T.default,S.default,s.hash,f.default,P.default,x.default,k.default,o.and,M.default,y.default,L.default,c.default,w.default,A.default,_.default,l.default,C.default,b.default,r.default,E.default,u.default,D.default,g.default,I.default,j.default,N.default],isStrictMode:!0}),(0,U.default)(void 0,void 0)))},48199:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(32504),r=i(88820),a=i(32019),o=i(84190);let l=dt7948.c(class extends a.default{get content(){let e=[];return e.push({id:"removeMembers",name:(0,r.i18n)("groups.members.remove_members"),description:(0,r.i18n)("groups.members.remove_members_description"),icon:"user-xmark"}),this.bulkSelection.some(e=>!e.owner)&&e.push({id:"makeOwners",name:(0,r.i18n)("groups.members.make_owners"),description:(0,r.i18n)("groups.members.make_owners_description"),icon:"shield-halved"}),this.bulkSelection.some(e=>e.owner)&&e.push({id:"removeOwners",name:(0,r.i18n)("groups.members.remove_owners"),description:(0,r.i18n)("groups.members.remove_owners_description"),icon:"shield-halved"}),this.currentUser.staff&&(this.bulkSelection.some(e=>!e.primary)&&e.push({id:"setPrimary",name:(0,r.i18n)("groups.members.make_all_primary"),description:(0,r.i18n)("groups.members.make_all_primary_description"),icon:"id-card"}),this.bulkSelection.some(e=>e.primary)&&e.push({id:"unsetPrimary",name:(0,r.i18n)("groups.members.remove_all_primary"),description:(0,r.i18n)("groups.members.remove_all_primary_description"),icon:"id-card"})),e}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("bulkSelection.[]")]))()},[(0,o.pluginApiIdentifiers)("bulk-group-member-dropdown"),(0,o.selectKitOptions)({icon:"gear",showFullTitle:!1}),(0,n.classNames)("bulk-group-member-dropdown")])},48220:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},48365:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(84650),n=i(32504);let r=dt7948.c(class extends s.TextArea{},[(0,n.attributeBindings)("aria-label")])},48392:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21980),n=i(75527),r=i(57528),a=i(18555),o=i(83426),l=i(2369),u=i(53775),c=i(63427),d=i(72523),p=i(35794),h=i(24886),m=i(88820);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#im=(()=>void dt7948.i(this,"application"))();static #i=(()=>dt7948.g(this.prototype,"user",[s.inject]))();#tH=(()=>void dt7948.i(this,"user"))();queryParams=["q"];q=null;loading=!1;loadingMore=!1;permissionDenied=!1;bulkSelectHelper=(()=>new c.default(this))();static #s=(()=>dt7948.g(this.prototype,"inSearchMode",[(0,r.notEmpty)("q")]))();#uu=(()=>void dt7948.i(this,"inSearchMode"))();static #u=(()=>dt7948.g(this.prototype,"noContent",[(0,r.equal)("model.bookmarks.length",0)]))();#uc=(()=>void dt7948.i(this,"noContent"))();get searchTerm(){return void 0!==this._searchTerm?this._searchTerm:this.q}static #c=(()=>dt7948.n(this.prototype,"searchTerm",[(0,n.computed)("q")]))();set searchTerm(e){this._searchTerm=e}emptyStateBody(){return(0,o.htmlSafe)((0,m.i18n)("user.no_bookmarks_body",{icon:(0,p.iconHTML)("bookmark")}))}static #_=(()=>dt7948.n(this.prototype,"emptyStateBody",[(0,d.default)()]))();userDoesNotHaveBookmarks(e,t){return!e&&t}static #b=(()=>dt7948.n(this.prototype,"userDoesNotHaveBookmarks",[(0,d.default)("inSearchMode","noContent")]))();nothingFound(e,t){return e&&t}static #v=(()=>dt7948.n(this.prototype,"nothingFound",[(0,d.default)("inSearchMode","noContent")]))();search(){this.router.transitionTo({queryParams:{q:this._searchTerm}})}static #w=(()=>dt7948.n(this.prototype,"search",[n.action]))();reload(){this.send("triggerRefresh")}static #k=(()=>dt7948.n(this.prototype,"reload",[n.action]))();loadMore(){return this.loadingMore?l.Promise.resolve():(this.set("loadingMore",!0),this._loadMoreBookmarks(this.q).then(e=>this._processLoadResponse(this.q,e)).catch(()=>this._bookmarksListDenied()).finally(()=>this.set("loadingMore",!1)))}static #T=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();updateAutoAddBookmarksToBulkSelect(e){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=e}static #S=(()=>dt7948.n(this.prototype,"updateAutoAddBookmarksToBulkSelect",[n.action]))();_loadMoreBookmarks(e){if(!this.model.loadMoreUrl)return l.Promise.resolve();let t=this.model.loadMoreUrl;if(e){let i=t.includes("?")?"&":"?",s=encodeURIComponent(e);t+=`${i}q=${s}`}return(0,u.ajax)({url:t})}_bookmarksListDenied(){this.set("permissionDenied",!0)}async _processLoadResponse(e,t){if(!t||!t.user_bookmark_list){this.model.loadMoreUrl=null;return}if(t=t.user_bookmark_list,this.model.searchTerm=e,this.model.loadMoreUrl=t.more_bookmarks_url,t.bookmarks){let e=t.bookmarks.map(this.transform);await h.default.applyTransformations(e),this.model.bookmarks.pushObjects(e),this.session.set("bookmarksModel",this.model)}}transform(e){let t=h.default.create(e);return t.topicStatus=n.default.create({closed:e.closed,archived:e.archived,is_warning:e.is_warning,pinned:!1,unpinned:!1,invisible:e.invisible}),t}}},48415:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(12733),r=i(47775),a=i(72799),o=i(71209);class l extends s.default{get meta(){return(0,r.extractLinkMeta)(this.args.topicInfo)}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Eo/Kk45z",block:'[[[1,"\\n"],[41,[30,0,["meta"]],[[[1," "],[10,3],[14,0,"topic-featured-link"],[15,"rel",[30,0,["meta","rel"]]],[15,"target",[30,0,["meta","target"]]],[15,6,[30,0,["meta","href"]]],[12],[1,"\\n "],[1,[28,[32,0],["up-right-from-square"],null]],[1,"\\n "],[1,[30,0,["meta","domain"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/topic/featured-link.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},48535:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PLUGIN_API_VERSION:()=>eW,withPluginApi:()=>e0});var s=i(95766),n=i(89179),r=i.n(n),a=i(70043),o=i(87899),l=i(66374),u=i(45151),c=i(40682),d=i(49930),p=i(61810),h=i(44083),m=i(99063),g=i(12860),f=i(4866),_=i(32612),y=i(22426),b=i(82568),w=i(41045),k=i(55133),T=i(22477),S=i(49342),C=i(92144),A=i(70552),D=i(14514),M=i(55231),x=i(88168),E=i(87139),L=i(77802),P=i(9165),F=i(81213),I=i(73687),N=i(74888),j=i(47281),O=i(97464),R=i(9013),U=i(67971),B=i(92960),Y=i(20099),H=i(44904),q=i(25495),$=i(22935),z=i(85494),V=i(26970),W=i(40236),K=i(24315),G=i(13227),J=i(19888),Q=i(75356),X=i(32828),Z=i(69164),ee=i(65319),et=i(39392),ei=i(37868),es=i(23369),en=i(35794),er=i(23594),ea=i(84489),eo=i(27764),el=i(61927),eu=i(11895),ec=i(86773),ed=i(10600),ep=i(88012),eh=i(13379),em=i(47775),eg=i(68997),ef=i(62421),e_=i(91692),ey=i(92161),eb=i(49584),ev=i(2354),ew=i(54807),ek=i(67518),eT=i(1780),eS=i(70278),eC=i(96201),eA=i(58572),eD=i(74089),eM=i(81644),ex=i(69549),eE=i(57576),eL=i(76655),eP=i(36649),eF=i(21171),eI=i(96436),eN=i(60206),ej=i(23085),eO=i(5279),eR=i(85890),eU=i(57118),eB=i(10056),eY=i(21115),eH=i(91729),eq=i(69812),e$=i(7099),ez=i(72799),eV=i(71209);let eW="2.1.1",eK=["actions-summary","avatar-flair","embedded-post","expand-hidden","expand-post-button","filter-jump-to-post","filter-show-all","post-article","post-article","post-avatar-user-info","post-avatar","post-body","post-contents","post-date","post-edits-indicator","post-email-indicator","post-gap","post-group-request","post-links","post-locked-indicator","post-meta-data","post-notice","post-placeholder","post-stream","post","poster-name","poster-name-title","posts-filtered-notice","reply-to-tab","select-post","topic-post-visited-line"],eG={since:"v3.5.0.beta1-dev",id:"discourse.post-stream-widget-overrides"},eJ=["component:topic-list"],eQ=new WeakMap;function eX(e,t,i,s){if("function"==typeof s)return!0;if(!s.pluginId)return console.warn((0,ek.consolePrefix)(),"To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once."),!0;let n="_"+t+"/"+s.pluginId+"/"+i;if(eQ.get(e.class)?.includes(n))return!1;{let t=eQ.get(e.class)||[];return t.push(n),eQ.set(e.class,t),!0}}function eZ(e,t){return function(){try{return e.call(this,...arguments)}catch(e){if(document.dispatchEvent(new CustomEvent("discourse-error",{detail:{messageKey:t,error:e}})),(0,Z.isTesting)())throw e;return}}}class e1{constructor(e,t){this.version=e,this.container=t,this.h=a.h}getCurrentUser(){return this._lookupContainer("service:current-user")}_lookupContainer(e){if(this.container&&!this.container.isDestroying&&!this.container.isDestroyed)return this.container.lookup(e)}_resolveClass(e,t){let i;t=t||{};let s=this.container.registry.normalize(e);if(this.container.cache[s]||"model:user"===s&&this.container.lookup("service:current-user"))return void console.error((0,ek.consolePrefix)(),`Attempted to modify "${e}", but it was already initialized earlier in the boot process (e.g. via a lookup()). Remove that lookup, or move the modifyClass call earlier in the boot process for changes to take effect. https://meta.discourse.org/t/262064`);if(eJ.includes(s)||(i=this.container.factoryFor(s)),!i){t.ignoreMissing||console.warn((0,ek.consolePrefix)(),`"${s}" was not found by modifyClass`);return}return i}modifyClass(e,t,i){let s=this._resolveClass(e,i);if(s)return eX(s,"member",e,t)&&(delete t.pluginId,"function"==typeof t?(0,W.default)(s.class,t):s.class.reopen?(0,W.withPrependsRolledBack)(s.class,()=>{s.class.reopen(t)}):Object.defineProperties(s.class.prototype||s.class,Object.getOwnPropertyDescriptors(t))),s}modifyClassStatic(e,t,i){let s=this._resolveClass(e,i);if(s)return eX(s,"static",e,t)&&(delete t.pluginId,(0,W.withPrependsRolledBack)(s.class,()=>{s.class.reopenClass(t)})),s}addBehaviorTransformerName(e){(0,eS._addTransformerName)(e,eS.transformerTypes.BEHAVIOR)}registerBehaviorTransformer(e,t){return(0,eS._registerTransformer)(e,eS.transformerTypes.BEHAVIOR,t)}addValueTransformerName(e){(0,eS._addTransformerName)(e,eS.transformerTypes.VALUE)}registerValueTransformer(e,t){return(0,eS._registerTransformer)(e,eS.transformerTypes.VALUE,t)}registerIconRenderer(e){(0,en.registerIconRenderer)(e)}replaceIcon(e,t){(0,en.replaceIcon)(e,t)}decorateCooked(e,t){this.decorateCookedElement((t,i)=>e(r()(t),i),t)}decorateCookedElement(e,t){t=t||{},e=eZ(e,"broken_decorator_alert"),(0,eO.addDecorator)(e,{afterAdopt:!!t.afterAdopt}),this.onAppEvent(t.afterAdopt?"decorate-post-cooked-element:after-adopt":"decorate-post-cooked-element:before-adopt",e),t.onlyStream||this.onAppEvent("decorate-non-stream-cooked-element",e)}addKeyboardShortcut(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};er.default.addShortcut(e,t,i)}removeKeyboardShortcut(e,t){er.default.unbind({[e]:t})}disableDefaultKeyboardShortcuts(e){(0,er.disableDefaultKeyboardShortcuts)(e)}addPosterIcon(e){this.addPosterIcons(e)}addPosterIcons(e){let t=this._lookupContainer("service:site"),i=t&&t.mobileView?"before":"after",n=class extends s.default{get definitions(){return(0,ei.makeArray)(e(this.args.outletArgs.post.user_custom_fields||{},this.args.outletArgs.post))}static #e=(()=>(0,ez.setComponentTemplate)((0,eV.createTemplateFactory)({id:"Bsc94Vx6",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["definitions"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@className","@emoji","@emojiTitle","@icon","@text","@title","@url"],[[30,1,["className"]],[30,1,["emoji"]],[30,1,["emojiTitle"]],[30,1,["icon"]],[30,1,["text"]],[30,1,["title"]],[30,1,["url"]]]],null],[1,"\\n"]],[1]],null],[1," "]],["definition"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/lib/plugin-api.js",scope:()=>[k.default],isStrictMode:!0}),this))()};"after"===i?this.renderAfterWrapperOutlet("post-meta-data-poster-name",n):this.renderBeforeWrapperOutlet("post-meta-data-poster-name",n),(0,J.withSilencedDeprecations)("discourse.post-stream-widget-overrides",()=>{(0,eY.decorateWidget)(`poster-name:${i}`,t=>{let i=t.attrs,s=e(i.userCustomFields||{},i);if(s)return Array.isArray(s)||(s=[s]),s.map(e=>{let i;return e.icon?i=(0,en.iconNode)(e.icon):e.emoji&&(i=e.emoji.split("|").map(i=>{let s={name:i};return e.emojiTitle&&(s.title=!0),t.attach("emoji",s)})),e.text&&(i=[i,e.text]),e.url&&(i=t.h("a",{attributes:{href:e.url}},i)),t.h("span.poster-icon",{className:e.className,attributes:{title:e.title}},i)})})})}decorateWidget(e,t){let i=e.split(":")[0];this.#ud(i,"decorateWidget"),(0,eY.decorateWidget)(e,t)}attachWidgetAction(e,t,i){let s=(0,eY.queryRegistry)(e)||this.container.factoryFor(`widget:${e}`)?.class;if(!s)return void console.error((0,ek.consolePrefix)(),`attachWidgetAction: Could not find widget ${e} in registry`);this.#ud(e,"attachWidgetAction"),s.prototype[t]=i}includePostAttributes(){(0,eT.includeAttributes)(...arguments)}addTrackedPostProperties(){for(var e=arguments.length,t=Array(e),i=0;i(0,eE._addTrackedPostProperty)(e)),(0,eT.includeAttributes)(...t)}addPostMenuButton(){console.error("`api.addPostMenuButton`: This API was decommissioned. Use the value transformer `post-menu-buttons` instead.")}addPostAdminMenuButton(e){this.container.lookup("service:admin-post-menu-buttons").addButton(e)}addTopicAdminMenuButton(e){this.container.lookup("service:admin-topic-menu-buttons").addButton(e)}removePostMenuButton(){console.error("`api.removePostMenuButton`: This API was decommissioned. Use the value transformer `post-menu-buttons` instead.")}replacePostMenuButton(){console.error("`api.replacePostMenuButton`: This API was decommissioned. Use the value transformer `post-menu-buttons` instead.")}onToolbarCreate(e){(0,p.addToolbarCallback)(e)}addComposerToolbarPopupMenuOption(e){(0,K.addPopupMenuOption)(e)}addToolbarPopupMenuOptionsCallback(e){(0,J.default)("`addToolbarPopupMenuOptionsCallback` has been renamed to `addComposerToolbarPopupMenuOption`",{id:"discourse.add-toolbar-popup-menu-options-callback",since:"3.2",dropFrom:"3.3"}),this.addComposerToolbarPopupMenuOption(e)}cleanupStream(e){(0,b.addWidgetCleanCallback)("post-stream",e)}onPageChange(e){let t=eZ(e,"broken_page_change_alert");this.onAppEvent("page:changed",e=>t(e.url,e.title))}onAppEvent(e,t){let i=this._lookupContainer("service:app-events");i&&i.on(e,t)}customUserAvatarClasses(e){(0,H.registerCustomAvatarHelper)(e)}disableNameSuppressionOnPosts(){(0,eB.disableNameSuppression)(),this.registerValueTransformer("post-meta-data-poster-name-suppress-similar-name",()=>!0)}registerCustomPostMessageCallback(e,t){(0,O.registerCustomPostMessageCallback)(e,t)}addBeforeLoadMoreNotificationsCallback(e){(0,R.addBeforeLoadMoreCallback)(e)}changeWidgetSetting(e,t,i){this.#ud(e,"changeWidgetSetting"),(0,eY.changeSetting)(e,t,i)}preventCloak(e){(0,eU.preventCloak)(e)}createWidget(e,t){return(0,eY.createWidget)(e,t)}reopenWidget(e,t){return this.#ud(e,"reopenWidget"),(0,eY.reopenWidget)(e,t)}addFlagProperty(){(0,J.default)("addFlagProperty has been removed. Use the reviewable API instead.",{id:"discourse.add-flag-property"})}addHeaderPanel(){console.error((0,ek.consolePrefix)(),"api.addHeaderPanel: This API was decommissioned. Use api.headerIcons instead.")}addStorePluralization(e,t){let i=this._lookupContainer("service:store");i&&i.addPluralization(e,t)}registerConnectorClass(e,t,i){(0,eu.extraConnectorClass)(`${e}/${t}`,i)}renderInOutlet(e,t){(0,eu.extraConnectorComponent)(e,t)}renderBeforeWrapperOutlet(e,t){this.renderInOutlet(`${e}__before`,t)}renderAfterWrapperOutlet(e,t){this.renderInOutlet(`${e}__after`,t)}registerTopicFooterButton(e){(0,ec.registerTopicFooterButton)(e)}registerTopicFooterDropdown(e){(0,ed.registerTopicFooterDropdown)(e)}registerDesktopNotificationHandler(e){(0,Q.registerDesktopNotificationHandler)(e)}addPostSmallActionIcon(e,t){this.registerValueTransformer("post-small-action-icon",i=>{let{value:s,context:{code:n}}=i;return e===n?t:s}),(0,eR.addPostSmallActionIcon)(e,t)}addGroupPostSmallActionCode(e){(0,T.addGroupPostSmallActionCode)(e)}addPostSmallActionClassesCallback(e){this.registerValueTransformer("post-small-action-class",t=>{let{value:i,context:{post:s}}=t;return[...(0,ei.makeArray)(i),...(0,ei.makeArray)(e(s))]}),(0,eR.addPostSmallActionClassesCallback)(e)}addDiscoveryQueryParam(e,t){(0,N.addDiscoveryQueryParam)(e,t)}addTagsHtmlCallback(e,t){(0,eh.addTagsHtmlCallback)(e,t)}addUserMenuGlyph(){(0,J.default)("addUserMenuGlyph has been removed. Use api.registerUserMenuTab instead.",{id:"discourse.add-user-menu-glyph"})}addPostClassesCallback(e){this.registerValueTransformer("post-class",t=>{let{value:i,context:{post:s}}=t;return[...(0,ei.makeArray)(i),...(0,ei.makeArray)(e(s))]}),(0,ej.addPostClassesCallback)(e)}addTopicParticipantClassesCallback(e){(0,L.addTopicParticipantClassesCallback)(e)}addCustomUserFieldValidationCallback(e){(0,eC.addCustomUserFieldValidationCallback)(e)}addPostTransformCallback(e){(0,J.default)("`api.addPostTransformCallback` has been deprecated.",eG),(0,eU.addPostTransformCallback)(e)}addNavigationBarItem(e){if(e.name){let t=e.customHref;if(t){let i=this.container.lookup("service:router");e.customHref=function(e,s){return t(e,s,i)}}let i=e.customFilter;if(i){let t=this.container.lookup("service:router");e.customFilter=function(e,s){return i(e,s,t)}}let s=e.forceActive;if(s){let t=this.container.lookup("service:router");e.forceActive=function(e,i){return s(e,i,t)}}let n=e.init;if(n){let t=this.container.lookup("service:router");e.init=function(e,i,s){n(e,i,s,t)}}(0,ex.addNavItem)(e)}else console.warn((0,ek.consolePrefix)(),"A 'name' is required when adding a Navigation Bar Item.",e)}formatUsername(e){(0,eD.replaceFormatter)(e)}modifySelectKit(e){return(0,e$.modifySelectKit)(e)}addGTMPageChangedCallback(e){(0,el.addGTMPageChangedCallback)(e)}addSharingSource(e){ef.default.addSharingId(e.id),ef.default.addSource(e)}addComposerUploadHandler(e,t){(0,c.addComposerUploadHandler)(e,t)}addComposerUploadPreProcessor(e,t){(0,c.addComposerUploadPreProcessor)(e,t)}addComposerUploadMarkdownResolver(e){(0,c.addComposerUploadMarkdownResolver)(e)}addUsernameSelectorDecorator(e){(0,Y.addUsernameSelectorDecorator)(e)}composerBeforeSave(e){eM.default.reopen({beforeSave:e})}addComposerSaveErrorCallback(e){(0,eN.addComposerSaveErrorCallback)(e)}serializeToTopic(e,t){eM.default.serializeToTopic(e,t)}serializeToDraft(e,t){eM.default.serializeToDraft(e,t)}serializeOnCreate(e,t){eM.default.serializeOnCreate(e,t)}serializeOnUpdate(e,t){eM.default.serializeOnUpdate(e,t)}addCategorySortCriteria(e){(0,h.addCategorySortCriteria)(e)}addCardClickListenerSelector(e){(0,u.addCardClickListenerSelector)(e)}replaceCategoryLinkRenderer(e){(0,B.replaceCategoryLinkRenderer)(e)}replaceTagRenderer(e){(0,ep.replaceTagRenderer)(e)}registerCustomLastUnreadUrlCallback(e){(0,eL.registerCustomLastUnreadUrlCallback)(e)}registerHighlightJSLanguage(e,t){(0,es.registerHighlightJSLanguage)(e,t)}registerHighlightJSPlugin(e){(0,es.registerHighlightJSPlugin)(e)}addGlobalNotice(e,t,i){(0,g.addGlobalNotice)(e,t,i)}addDocumentTitleCounter(e){(0,d.addPluginDocumentTitleCounter)(e)}decoratePluginOutlet(e,t,i){(0,J.default)("decoratePluginOutlet is deprecated because modifying an Ember-rendered DOM tree can lead to very unexpected errors. Use CSS or plugin outlet connectors instead",{id:"discourse.decorate-plugin-outlet"}),(0,w.addPluginOutletDecorator)(e,t,i||{})}setDesktopTopicTimelineScrollAreaHeight(e){(0,P.setDesktopScrollAreaHeight)(e)}setUserMenuNotificationsLimit(e){(0,F.setNotificationsLimit)(e)}addCategoryLinkIcon(e){(0,B.addExtraIconRenderer)(e)}get headerIcons(){return(0,_.headerIconsDAG)()}get headerButtons(){return(0,f.headerButtonsDAG)()}addToHeaderIcons(e){console.error((0,ek.consolePrefix)(),"api.addToHeaderIcons: This API was decommissioned. Use api.headerIcons instead.")}registerHomeLogoHrefCallback(e){(0,eS._registerTransformer)("home-logo-href",eS.transformerTypes.VALUE,t=>{let{value:i}=t;return e(i)})}addQuickAccessProfileItem(e){(0,I.addUserMenuProfileTabItem)(e)}addFeaturedLinkMetaDecorator(e){(0,em.addFeaturedLinkMetaDecorator)(e)}addAdvancedSearchOptions(e){(0,C.addAdvancedSearchOptions)(e)}addSaveableUserField(e){(0,eP.addSaveableUserField)(e)}addSaveableUserOptionField(e){(0,eP.addSaveableUserOptionField)(e)}addPluginReviewableParam(e,t){(0,S.addPluginReviewableParam)(e,t)}registerReviewableActionModal(e,t){(0,S.registerReviewableActionModal)(e,t)}setNewCategoryDefaultColors(e,t){(0,eF.setNewCategoryDefaultColors)(e,t)}setNotificationsLimit(e){(0,eI.setNotificationsLimit)(e)}addSearchResultsCallback(e){(0,eg.addSearchResultsCallback)(e)}addLogSearchLinkClickedCallbacks(e){(0,eg.addLogSearchLinkClickedCallbacks)(e)}addSearchSuggestion(e){(0,A.addSearchSuggestion)(e)}addSearchMenuAssistantSelectCallback(e){(0,D.addItemSelectCallback)(e)}forceDropdownForMenuPanels(e){(0,m.forceDropdownForMenuPanels)(e)}downloadCalendar(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,X.downloadCalendar)(e,t,i)}addSearchMenuOnKeyDownCallback(e){(0,x.addOnKeyUpCallback)(e)}addQuickSearchRandomTip(e){(0,M.addQuickSearchRandomTip)(e)}removeDefaultQuickSearchRandomTips(){(0,M.removeDefaultQuickSearchRandomTips)()}addUserSearchOption(e){eq.CUSTOM_USER_SEARCH_OPTIONS.push(e)}dispatchWidgetAppEvent(e,t,i){this.modifyClass(`component:${e}`,{pluginId:`${e}/${t}/${i}`,didInsertElement(){this._super(),this.dispatch(i,t)}},{ignoreMissing:!0})}customizeComposerText(e){(0,eM.registerCustomizationCallback)(e)}addCommunitySectionLink(e,t){(0,ey.addSectionLink)(e,t)}registerUserCategorySectionLinkCountable(e){let{badgeTextFunction:t,route:i,routeQuery:s,shouldRegister:n,refreshCountFunction:r,prioritizeOverDefaults:a}=e;(0,ev.registerCustomCountable)({badgeTextFunction:t,route:i,routeQuery:s,shouldRegister:n,refreshCountFunction:r,prioritizeOverDefaults:a})}registerCustomCategorySectionLinkLockIcon(e){return(0,ev.registerCustomCategoryLockIcon)(e)}registerCustomCategorySectionLinkPrefix(e){let{categoryId:t,prefixType:i,prefixValue:s,prefixColor:n}=e;(0,ev.registerCustomCategorySectionLinkPrefix)({categoryId:t,prefixType:i,prefixValue:s,prefixColor:n})}registerCustomTagSectionLinkPrefixIcon(e){let{tagName:t,prefixValue:i,prefixColor:s}=e;(0,ew.registerCustomTagSectionLinkPrefixIcon)({tagName:t,prefixValue:i,prefixColor:s})}refreshUserSidebarCategoriesSectionCounts(){let e=this._lookupContainer("service:app-events");e?.trigger(E.REFRESH_COUNTS_APP_EVENT_NAME)}addSidebarPanel(e){(0,eb.addSidebarPanel)(e)}addAdminSidebarSectionLink(e,t){(0,e_.addAdminSidebarSectionLink)(e,t)}setSidebarPanel(e){this._lookupContainer("service:sidebar-state")?.setPanel(e)}getSidebarPanel(){return this._lookupContainer("service:sidebar-state")?.currentPanel}setCombinedSidebarMode(){this._lookupContainer("service:sidebar-state")?.setCombinedMode()}setSeparatedSidebarMode(){this._lookupContainer("service:sidebar-state").setSeparatedMode()}showSidebarSwitchPanelButtons(){this._lookupContainer("service:sidebar-state").showSwitchPanelButtons()}hideSidebarSwitchPanelButtons(){this._lookupContainer("service:sidebar-state")?.hideSwitchPanelButtons()}addSidebarSection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main";(0,eb.addSidebarSection)(e,t)}registerNotificationTypeRenderer(e,t){(0,eo.registerNotificationTypeRenderer)(e,t)}registerUserMenuTab(e){(0,eA.registerUserMenuTab)(e)}registerModelTransformer(e,t){(0,ea.registerModelTransformer)(e,t)}addUserMessagesNavigationDropdownRow(e,t,i){(0,U.registerCustomUserNavMessagesDropdownRow)(e,t,i)}addFullPageSearchType(e,t,i){(0,j.registerFullPageSearchType)(e,t,i)}addBeforeAuthCompleteCallback(e){(0,q.addBeforeAuthCompleteCallback)(e)}registerHashtagType(e,t){(0,et.registerHashtagType)(e,t)}addBulkActionButton(e){(0,l.addBulkDropdownButton)(e)}includeUserFieldPropertyOnSave(e){this.container.lookup("service:admin-custom-user-fields").addProperty(e)}addComposerImageWrapperButton(e,t,i,s){(0,eH.addImageWrapperButton)(e,t,i),(0,c.addApiImageWrapperButtonClickEvent)(s)}addAdminPluginConfigurationNav(e,t){if(!e)return void console.warn((0,ek.consolePrefix)(),"A pluginId must be provided!");(0,$.registerAdminPluginConfigNav)(e,t)}addAboutPageActivity(e,t){(0,o.addAboutPageActivity)(e,t)}registerPluginHeaderActionComponent(e,t){(0,z.registerPluginHeaderActionComponent)(e,t)}registerMoreTopicsTab(e){y.registeredTabs.push(e)}registerReportModeComponent(e,t){(0,V.registerReportModeComponent)(e,t)}registerRichEditorExtension(e){(0,G.registerRichEditorExtension)(e)}#ud(e,t){eK.includes(e)&&(0,J.default)(`The \`${e}\` widget has been deprecated and \`api.${t}\` is no longer a supported override.`,eG)}}function e0(){let e,t,i;for(var s=arguments.length,n=Array(s),r=0;r=function(e,t){let i,s,n=/(\.0+)+$/,r=e.replace(n,"").split("."),a=t.replace(n,"").split("."),o=Math.min(r.length,a.length);for(i=0;i9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,i){return e<12?"a.m.":"g.m."}})})},48581:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(72799),n=i(25604),r=i(75527),a=i(32504),o=i(81539),l=i(54074),u=i(29349),c=i(86773),d=i(71209);let p=dt7948.c(class extends s.default{elementId="topic-footer-buttons";role="region";static #e=(()=>dt7948.g(this.prototype,"allButtons",[(0,c.getTopicFooterButtons)()]))();#up=(()=>void dt7948.i(this,"allButtons"))();get buttons(){return this.allButtons.filterBy("anonymousOnly",!0).sortBy("priority").reverse()}static #t=(()=>dt7948.n(this.prototype,"buttons",[(0,r.computed)("allButtons.[]")]))();static #i=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"Tx4S0jDw",block:'[[[1,"\\n "],[10,0],[14,0,"topic-footer-main-buttons"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["buttons"]]],null]],null],null,[[[1," "],[8,[32,0],[[16,1,[28,[32,1],["topic-footer-button-",[30,1,["id"]]],null]],[16,0,[28,[32,2],["btn-default","topic-footer-button",[30,1,["classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,1,["action"]],[30,1,["icon"]],[30,1,["label"]],[30,1,["title"]],[30,1,["ariaLabel"]],[30,1,["disabled"]]]],null],[1,"\\n"]],[1]],null],[1," "],[8,[32,0],[[24,0,"btn-primary"]],[["@icon","@action","@label"],["reply",[28,[32,3],["showLogin"],null],"topic.reply.title"]],null],[1,"\\n "],[13],[1,"\\n "]],["button"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/anonymous-topic-footer-buttons.js",scope:()=>[o.default,n.concat,l.default,u.default],isStrictMode:!0}),this))()},[(0,a.attributeBindings)("role")])},48679:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(87531),n=i(75289),r=i(21980),a=i(75527),o=i(73993),l=i(57528),u=i(18555),c=i(88761),d=i(67289),p=i(2369),h=i(53775),m=i(20434),g=i(25239),f=i(41422),_=i(72523),y=i(49077),b=i(25431),w=i(35352),k=i(96201),T=i(46826),S=i(74089),C=i(85899),A=i(36649),D=i(88820);class M extends r.default{static #e=(()=>dt7948.g(this.prototype,"site",[u.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[u.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"login",[u.service]))();#eQ=(()=>void dt7948.i(this,"login"))();static #s=(()=>dt7948.g(this.prototype,"accountName",[s.tracked]))();#uh=(()=>void dt7948.i(this,"accountName"))();static #u=(()=>dt7948.g(this.prototype,"accountPassword",[s.tracked]))();#s5=(()=>void dt7948.i(this,"accountPassword"))();static #c=(()=>dt7948.g(this.prototype,"accountEmail",[s.tracked]))();#um=(()=>void dt7948.i(this,"accountEmail"))();static #_=(()=>dt7948.g(this.prototype,"accountUsername",[s.tracked]))();#ug=(()=>void dt7948.i(this,"accountUsername"))();static #b=(()=>dt7948.g(this.prototype,"isDeveloper",[s.tracked],function(){return!1}))();#s6=(()=>void dt7948.i(this,"isDeveloper"))();static #v=(()=>dt7948.g(this.prototype,"authOptions",[s.tracked]))();#uf=(()=>void dt7948.i(this,"authOptions"))();static #w=(()=>dt7948.g(this.prototype,"skipConfirmation",[s.tracked]))();#u_=(()=>void dt7948.i(this,"skipConfirmation"))();accountChallenge=0;accountHoneypot=0;formSubmitted=!1;rejectedEmails=(()=>(0,n.A)())();prefilledUsername=null;maskPassword=!0;emailValidationVisible=!1;nameValidationHelper=(()=>new y.default(this))();usernameValidationHelper=(()=>new T.default({getAccountEmail:()=>this.accountEmail,getAccountUsername:()=>this.accountUsername,getPrefilledUsername:()=>this.prefilledUsername,getAuthOptionsUsername:()=>this.authOptions?.username,getForceValidationReason:()=>this.forceValidationReason,siteSettings:this.siteSettings,isInvalid:()=>this.isDestroying||this.isDestroyed,updateIsDeveloper:e=>this.isDeveloper=e,updateUsernames:e=>{this.accountUsername=e,this.prefilledUsername=e}}))();passwordValidationHelper=(()=>new b.default(this))();userFieldsValidationHelper=(()=>new k.default({getUserFields:()=>this.site.get("user_fields"),getAccountPassword:()=>this.accountPassword,showValidationOnInit:!1}))();static #k=(()=>dt7948.g(this.prototype,"hasAuthOptions",[(0,l.notEmpty)("authOptions")]))();#uy=(()=>void dt7948.i(this,"hasAuthOptions"))();static #T=(()=>dt7948.g(this.prototype,"canCreateLocal",[(0,m.setting)("enable_local_logins")]))();#ub=(()=>void dt7948.i(this,"canCreateLocal"))();static #S=(()=>dt7948.g(this.prototype,"requireInviteCode",[(0,m.setting)("require_invite_code")]))();#uv=(()=>void dt7948.i(this,"requireInviteCode"))();init(){super.init(...arguments),(0,g.default)("email")&&(this.accountEmail=(0,g.default)("email")),this.fetchConfirmationValue()}get userFields(){return this.userFieldsValidationHelper.userFields}static #C=(()=>dt7948.n(this.prototype,"userFields",[o.dependentKeyCompat]))();get userFieldsValidation(){return this.userFieldsValidationHelper.userFieldsValidation}static #A=(()=>dt7948.n(this.prototype,"userFieldsValidation",[o.dependentKeyCompat]))();get usernameValidation(){return this.usernameValidationHelper.usernameValidation}static #D=(()=>dt7948.n(this.prototype,"usernameValidation",[o.dependentKeyCompat]))();get passwordValidation(){return this.passwordValidationHelper.passwordValidation}static #M=(()=>dt7948.n(this.prototype,"passwordValidation",[o.dependentKeyCompat]))();get nameTitle(){return this.nameValidationHelper.nameTitle}get nameValidation(){return this.nameValidationHelper.nameValidation}get forceValidationReason(){return this.nameValidationHelper.forceValidationReason}static #z=(()=>dt7948.n(this.prototype,"forceValidationReason",[o.dependentKeyCompat]))();actionOnEnter(e){if(!this.submitDisabled&&"Enter"===e.key)return e.preventDefault(),e.stopPropagation(),this.createAccount(),!1}static #V=(()=>dt7948.n(this.prototype,"actionOnEnter",[_.bind]))();selectKitFocus(e){let t=document.getElementById(e.target.getAttribute("for"));t?.classList.contains("select-kit")&&(e.preventDefault(),t.querySelector(".select-kit-header").click())}static #W=(()=>dt7948.n(this.prototype,"selectKitFocus",[_.bind]))();showCreateForm(e,t,i){return(e||t)&&!i}static #K=(()=>dt7948.n(this.prototype,"showCreateForm",[(0,_.default)("hasAuthOptions","canCreateLocal","skipConfirmation")]))();showExternalLoginButtons(e,t){return e&&!t}static #G=(()=>dt7948.n(this.prototype,"showExternalLoginButtons",[(0,_.default)("site.desktopView","hasAuthOptions")]))();submitDisabled(){return this.formSubmitted}static #J=(()=>dt7948.n(this.prototype,"submitDisabled",[(0,_.default)("formSubmitted")]))();bodyClasses(e,t,i){let s=[];return e&&s.push("has-user-fields"),t&&!i&&s.push("has-alt-auth"),this.canCreateLocal||s.push("no-local-logins"),s.join(" ")}static #e0=(()=>dt7948.n(this.prototype,"bodyClasses",[(0,_.default)("userFields","hasAtLeastOneLoginButton","hasAuthOptions")]))();usernameDisabled(e,t){return e&&!t}static #e2=(()=>dt7948.n(this.prototype,"usernameDisabled",[(0,_.default)("authOptions","authOptions.can_edit_username")]))();nameDisabled(e,t){return e&&!t}static #e3=(()=>dt7948.n(this.prototype,"nameDisabled",[(0,_.default)("authOptions","authOptions.can_edit_name")]))();showFullname(){return this.site.full_name_visible_in_signup}static #e8=(()=>dt7948.n(this.prototype,"showFullname",[_.default]))();fullnameRequired(){return this.site.full_name_required_for_signup}static #e4=(()=>dt7948.n(this.prototype,"fullnameRequired",[_.default]))();showEmailValidation(e,t,i){return e||t&&i}static #e7=(()=>dt7948.n(this.prototype,"showEmailValidation",[(0,_.default)("emailValidation.ok","emailValidation.reason","emailValidationVisible")]))();get showPasswordValidation(){return this.passwordValidation.ok||this.passwordValidation.reason}get showUsernameInstructions(){return this.siteSettings.show_signup_form_username_instructions&&!this.usernameValidation.reason}get passwordRequired(){return(0,c.isEmpty)(this.authOptions?.auth_provider)}disclaimerHtml(){if(this.site.tos_url&&this.site.privacy_policy_url)return(0,D.i18n)("create_account.disclaimer",{tos_link:this.site.tos_url,privacy_link:this.site.privacy_policy_url})}static #e9=(()=>dt7948.n(this.prototype,"disclaimerHtml",[_.default]))();emailValidation(e,t,i,s,n){let r={failed:!0,ok:!1,element:document.querySelector("#new-account-email")};return e===i&&t?t:(0,c.isEmpty)(i)?a.default.create(Object.assign(r,{message:(0,D.i18n)("user.email.required"),reason:n?(0,D.i18n)("user.email.required"):null})):s.includes(i)||!(0,S.emailValid)(i)?a.default.create(Object.assign(r,{reason:(0,D.i18n)("user.email.invalid")})):this.authOptions?.email===i&&this.authOptions?.email_valid?a.default.create({ok:!0,reason:(0,D.i18n)("user.email.authenticated",{provider:this.authProviderDisplayName(this.authOptions?.auth_provider)})}):a.default.create({ok:!0,reason:(0,D.i18n)("user.email.ok")})}static #e5=(()=>dt7948.n(this.prototype,"emailValidation",[(0,_.default)("serverAccountEmail","serverEmailValidation","accountEmail","rejectedEmails.[]","forceValidationReason")]))();setAccountUsername(e){this.accountUsername=e.target.value}static #e6=(()=>dt7948.n(this.prototype,"setAccountUsername",[a.action]))();checkEmailAvailability(){if(this.emailValidation.reason?this.set("emailValidationVisible",!0):this.set("emailValidationVisible",!1),this.emailValidation.ok&&this.serverAccountEmail!==this.accountEmail)return A.default.checkEmail(this.accountEmail).then(e=>{this.isDestroying||this.isDestroyed||(e.failed?this.setProperties({serverAccountEmail:this.accountEmail,serverEmailValidation:a.default.create({failed:!0,element:document.querySelector("#new-account-email"),reason:e.errors[0]})}):this.setProperties({serverAccountEmail:this.accountEmail,serverEmailValidation:a.default.create({ok:!0,reason:(0,D.i18n)("user.email.ok")})}))}).catch(()=>{this.setProperties({serverAccountEmail:null,serverEmailValidation:null})})}static #te=(()=>dt7948.n(this.prototype,"checkEmailAvailability",[a.action]))();get emailDisabled(){return this.authOptions?.email===this.accountEmail&&this.authOptions?.email_valid}authProviderDisplayName(e){let t=(0,C.findAll)().find(t=>t.name===e);return t?t.get("prettyName"):e}prefillUsername(){this.prefilledUsername&&(this.accountUsername===this.prefilledUsername&&(this.accountUsername=""),this.set("prefilledUsername",null)),this.get("emailValidation.ok")&&((0,c.isEmpty)(this.accountUsername)||this.authOptions?.email)&&(0,f.default)(this,()=>this.usernameValidationHelper.fetchExistingUsername(),500)}static #tt=(()=>dt7948.n(this.prototype,"prefillUsername",[(0,d.observes)("emailValidation","accountEmail")]))();hasAtLeastOneLoginButton(){return(0,C.findAll)().length>0}static #ti=(()=>dt7948.n(this.prototype,"hasAtLeastOneLoginButton",[_.default]))();fetchConfirmationValue(){return void 0===this._challengeDate&&this._hpPromise||(this._hpPromise=(0,h.ajax)("/session/hp.json").then(e=>{this.isDestroying||this.isDestroyed||(this._challengeDate=new Date,this._challengeExpiry=parseInt(e.expires_in,10)-30,this._challengeExpiry<30&&(this._challengeExpiry=30),this.setProperties({accountHoneypot:e.value,accountChallenge:e.challenge.split("").reverse().join("")}))}).finally(()=>this._hpPromise=void 0)),this._hpPromise}handleSkipConfirmation(){this.skipConfirmation&&this.performAccountCreation().finally(()=>this.skipConfirmation=!1)}performAccountCreation(){if(!this._challengeDate||new Date-this._challengeDate>1e3*this._challengeExpiry)return this.fetchConfirmationValue().then(()=>this.performAccountCreation());let e={accountName:this.accountName,accountEmail:this.accountEmail,accountPassword:this.accountPassword,accountUsername:this.accountUsername,accountChallenge:this.accountChallenge,inviteCode:this.inviteCode,accountPasswordConfirm:this.accountHoneypot},t=this.authOptions?.destination_url;return(0,c.isEmpty)(t)||(0,g.default)("destination_url",t,{path:"/"}),(0,c.isEmpty)(this.userFields)||(e.userFields={},this.userFields.forEach(t=>e.userFields[t.field.id]=t.value)),this.set("formSubmitted",!0),A.default.createAccount(e).then(t=>{if(!this.isDestroying&&!this.isDestroyed){if(this.isDeveloper=!1,t.success){this._challengeExpiry=1;let t=document.querySelector("#hidden-login-form");return t&&(t.querySelector("input[name=username]").value=e.accountUsername,t.querySelector("input[name=password]").value=e.accountPassword,t.querySelector("input[name=redirect]").value=(0,w.userPath)("account-created"),t.submit()),new p.Promise(()=>{})}this.set("flash",t.message||(0,D.i18n)("create_account.failed")),t.is_developer&&(this.isDeveloper=!0),t.errors&&t.errors.email&&t.errors.email.length>0&&t.values&&this.rejectedEmails.pushObject(t.values.email),t.errors?.["user_password.password"]?.length>0&&this.passwordValidationHelper.rejectedPasswords.push(e.accountPassword),this.set("formSubmitted",!1),(0,g.removeCookie)("destination_url")}},()=>(this.set("formSubmitted",!1),(0,g.removeCookie)("destination_url"),this.set("flash",(0,D.i18n)("create_account.failed"))))}associateHtml(e,t){if(e)return(0,D.i18n)("create_account.associate",{associate_link:e,provider:(0,D.i18n)(`login.${t}.name`)})}static #sF=(()=>dt7948.n(this.prototype,"associateHtml",[(0,_.default)("authOptions.associate_url","authOptions.auth_provider")]))();scrollInputIntoView(e){e.target.scrollIntoView({behavior:"smooth",block:"center"})}static #sI=(()=>dt7948.n(this.prototype,"scrollInputIntoView",[a.action]))();togglePasswordMask(){this.toggleProperty("maskPassword")}static #sN=(()=>dt7948.n(this.prototype,"togglePasswordMask",[a.action]))();externalLogin(e){this.login.externalLogin(e,{signup:!0})}static #sj=(()=>dt7948.n(this.prototype,"externalLogin",[a.action]))();createAccount(){this.set("flash",""),this.nameValidationHelper.forceValidationReason=!0,this.userFieldsValidationHelper.validationVisible=!0,this.set("emailValidationVisible",!0);let e=[this.emailValidation,this.usernameValidation,this.nameValidation,this.passwordValidation,this.userFieldsValidation].find(e=>e.failed);if(e){let t=e.element;t&&("DIV"===t.tagName?(t.scrollIntoView&&t.scrollIntoView(),t.click()):t.focus());return}this.userFieldsValidationHelper.validationVisible=!1,this.nameValidationHelper.forceValidationReason=!1,this.performAccountCreation()}static #sO=(()=>dt7948.n(this.prototype,"createAccount",[a.action]))()}},48754:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(86019);class n extends s.default{setupController(e){let t=this.controllerFor("account-created").get("accountCreated");e.set("accountCreated",t),e.set("newEmail",t.email)}}},48857:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})})},48877:(e,t,i)=>{"use strict";i.r(t),i.d(t,{updatePosition:()=>d});var s=i(48573),n=i(27187),r=i.n(n),a=i(97689),o=i(59719),l=i(41006),u=i(37819);let c=(0,s.offset)(e=>{let{rects:t}=e;return-t.reference.height/2-t.floating.height/2});async function d(e,t,i){let n,d=0;(0,a.isTesting)()||(d=i.padding||{top:(0,l.headerOffset)(),left:10,right:10,bottom:10});let p={fallbackPlacements:i.fallbackPlacements??u.FLOAT_UI_PLACEMENTS,padding:d},h=[],m="center"===i.placement;m?h.push(c):(h.push((0,s.offset)(i.offset?parseInt(i.offset,10):10)),i.inline&&h.push((0,s.inline)()),h.push((0,s.flip)(p)),h.push((0,s.shift)({padding:d}))),i.arrow&&((n=t.querySelector(".arrow"))||(n=r()((0,o.iconHTML)("tippy-rounded-arrow",{class:"arrow"}))[0],t.appendChild(n)),h.push((0,s.arrow)({element:n}))),t.dataset.strategy=i.strategy||"absolute";let{x:g,y:f,placement:_,middlewareData:y}=await (0,s.computePosition)(e,t,{placement:m?"bottom":i.placement,strategy:i.strategy||"absolute",middleware:h});if(i.computePosition)i.computePosition(t,{x:g,y:f,placement:_,middlewareData:y,arrowElement:n});else if(t.dataset.placement=_,Object.assign(t.style,{left:`${g}px`,top:`${f}px`}),y.arrow&&n){let e=y.arrow.x,t=y.arrow.y;Object.assign(n.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:""})}}},48946:(e,t,i)=>{"use strict";i.r(t),i.d(t,{exportEntity:()=>u,exportUserArchive:()=>l});var s=i(53775),n=i(70412),r=i(65319),a=i(88820);function o(e,t,i){return(0,s.ajax)("/export_csv/export_entity.json",{type:"POST",data:{entity:t,args:i}})}function l(){let e=(0,r.getOwnerWithFallback)(this).lookup("service:dialog");return o("user","user_archive").then(function(){e.alert((0,a.i18n)("user.download_archive.success"))}).catch(n.popupAjaxError)}function u(e,t){return o("admin",e,t)}},49042:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(s,n,r,a){var o=t(s),l=i[e][t(s)];return 2===o&&(l=l[+!n]),l.replace(/%d/i,s)}},n=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar-dz",{months:n,monthsShort:n,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})})},49077:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87531),n=i(88761),r=i(88820);class a{static #e=(()=>dt7948.g(this.prototype,"forceValidationReason",[s.tracked],function(){return!1}))();#uw=(()=>void dt7948.i(this,"forceValidationReason"))();constructor(e){this.owner=e}get nameTitle(){return(0,r.i18n)(this.owner.site.full_name_required_for_signup?"user.name.title":"user.name.title_optional")}get nameValidation(){return this.owner.site.full_name_required_for_signup&&(0,n.isEmpty)(this.owner.get("accountName"))?{failed:!0,ok:!1,message:(0,r.i18n)("user.name.required"),reason:this.forceValidationReason?(0,r.i18n)("user.name.required"):null,element:document.querySelector("#new-account-name")}:{ok:!0}}}},49166:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(77667),n=i(18555),r=i(59830),a=i(25239),o=i(61037),l=i(88820);let u=class extends o.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #s=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();async beforeModel(e){this.currentUser?e.from?(e.abort(),this.#uk()):this.router.replaceWith("discovery.latest").followRedirects().then(()=>{this.#uk()}):((0,a.default)("destination_url",window.location.href),this.router.replaceWith("login"))}#uk(){(0,s.next)(()=>{this.currentUser.can_invite_to_forum?this.modal.show(r.default,{model:{invites:[]}}):this.dialog.alert((0,l.i18n)("user.invited.cannot_invite_to_forum"))})}}},49273:(e,t,i)=>{"use strict";var s=i(58041),n=i(94950);function r(e,t){var i=[];return e[t].forEach(function(e){var t=i.length;i.forEach(function(i,s){i.tag===e.tag&&i.kind===e.kind&&i.multi===e.multi&&(t=s)}),i[t]=e}),i}function a(e){return this.extend(e)}a.prototype.extend=function(e){var t=[],i=[];if(e instanceof n)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new s("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof n))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new s("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(e){if(!(e instanceof n))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var o=Object.create(a.prototype);return o.implicit=(this.implicit||[]).concat(t),o.explicit=(this.explicit||[]).concat(i),o.compiledImplicit=r(o,"implicit"),o.compiledExplicit=r(o,"explicit"),o.compiledTypeMap=function(){var e,t,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(e){e.multi?(i.multi[e.kind].push(e),i.multi.fallback.push(e)):i[e.kind][e.tag]=i.fallback[e.tag]=e}for(e=0,t=arguments.length;e{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(43027).default)("user","private-messages-sent","sent")},49305:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(72799),n=i(25604),r=i(75527),a=i(57528),o=i(97527),l=i(18555),u=i(22002),c=i(81539),d=i(72490),p=i(59830),h=i(53769),m=i(71831),g=i(72523),f=i(82163),_=i(70677),y=i(62421),b=i(36702),w=i(88820),k=i(71209);class T extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[l.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"topic",[(0,a.readOnly)("model.topic")]))();#ig=(()=>void dt7948.i(this,"topic"))();static #i=(()=>dt7948.g(this.prototype,"post",[(0,a.readOnly)("model.post")]))();#l_=(()=>void dt7948.i(this,"post"))();static #s=(()=>dt7948.g(this.prototype,"category",[(0,a.readOnly)("model.category")]))();#uT=(()=>void dt7948.i(this,"category"))();static #u=(()=>dt7948.g(this.prototype,"allowInvites",[(0,a.readOnly)("model.allowInvites")]))();#uS=(()=>void dt7948.i(this,"allowInvites"))();didInsertElement(){this._showRestrictedGroupWarning(),this._selectUrl(),super.didInsertElement()}_showRestrictedGroupWarning(){this.category&&b.default.fetchVisibleGroups(this.category.id).then(e=>{e.groups.length>0&&this.setProperties({flash:(0,w.i18n)("topic.share.restricted_groups",{count:e.groups.length,groupNames:e.groups.join(", ")}),flashType:"warning"})})}static #c=(()=>dt7948.n(this.prototype,"_showRestrictedGroupWarning",[g.afterRender]))();_selectUrl(){let e=document.querySelector("input.invite-link");e&&this.site.desktopView&&(e.setSelectionRange(0,this.url.length),e.focus())}static #_=(()=>dt7948.n(this.prototype,"_selectUrl",[g.afterRender]))();url(e,t){return e?(0,_.getAbsoluteURL)(e):t?(0,_.getAbsoluteURL)(t):void 0}static #b=(()=>dt7948.n(this.prototype,"url",[(0,g.default)("post.shareUrl","topic.shareUrl")]))();displayDate(e,t,i){return(0,f.longDateNoYear)(new Date(t&&i?i:e))}static #v=(()=>dt7948.n(this.prototype,"displayDate",[(0,g.default)("post.created_at","post.wiki","post.last_wiki_edit")]))();sources(e){let t=this.siteSettings.login_required||e?.isPrivateMessage||e?.invisible||e?.category?.read_restricted;return y.default.activeSources(this.siteSettings.share_links,t)}static #w=(()=>dt7948.n(this.prototype,"sources",[(0,g.default)("topic.{isPrivateMessage,invisible,category.read_restricted}")]))();share(e){y.default.shareSource(e,{title:this.topic.title,url:this.url})}static #k=(()=>dt7948.n(this.prototype,"share",[r.action]))();inviteUsers(){this.modal.show(p.default,{model:{inviteToTopic:!0,topics:[this.topic],topicId:this.topic.id,topicTitle:this.topic.title}})}static #T=(()=>dt7948.n(this.prototype,"inviteUsers",[r.action]))();replyAsNewTopic(){let e=this.topic.postStream,t=this.post?.id||e.findPostIdForPostNumber(1),i=e.findLoadedPost(t),s=(0,o.getOwner)(this).lookup("controller:topic");s.actions.replyAsNewTopic.call(s,i),this.closeModal()}static #S=(()=>dt7948.n(this.prototype,"replyAsNewTopic",[r.action]))();static #C=(()=>(0,s.setComponentTemplate)((0,k.createTemplateFactory)({id:"+X2SdJjF",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"share-topic-modal"]],[["@title","@subtitle","@closeModal","@flash","@flashType"],[[52,[30,0,["post"]],[28,[32,1],["post.share.title"],[["post_number"],[[30,0,["post","post_number"]]]]],[28,[32,1],["topic.share.title"],null]],[52,[30,0,["post"]],[30,0,["displayDate"]]],[30,1],[30,0,["flash"]],[30,0,["flashType"]]]],[["default"],[[[[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,0],[14,0,"input-group invite-link"],[12],[1,"\\n "],[10,"label"],[14,"for","invite-link"],[12],[1,"\\n "],[1,[52,[30,0,["post"]],[28,[32,1],["post.share.instructions"],[["post_number"],[[30,0,["post","post_number"]]]]],[28,[32,1],["topic.share.instructions"],null]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"link-share-container"],[12],[1,"\\n "],[8,[32,2],[[24,1,"invite-link"],[24,3,"invite-link"],[24,0,"invite-link"],[16,"readonly",true],[24,"size","200"]],[["@value"],[[30,0,["url"]]]],null],[1,"\\n "],[8,[32,3],null,[["@selector","@ariaLabel"],["input.invite-link","share.url"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"link-share-actions"],[12],[1,"\\n "],[10,0],[14,0,"sources"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["sources"]]],null]],null],null,[[[1," "],[8,[32,4],null,[["@source","@action"],[[30,2],[30,0,["share"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n"],[41,[30,0,["allowInvites"]],[[[1," "],[8,[32,5],[[24,0,"btn-default invite"]],[["@label","@icon","@action"],["topic.share.invite_users","user-plus",[30,0,["inviteUsers"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["topic","details","can_reply_as_new_topic"]],[[[41,[30,0,["topic","isPrivateMessage"]],[[[1," "],[8,[32,5],[[24,0,"btn-default new-topic"]],[["@action","@icon","@ariaLabel","@title","@label"],[[30,0,["replyAsNewTopic"]],"plus","post.reply_as_new_private_message","post.reply_as_new_private_message","user.new_private_message"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[24,0,"btn-default new-topic"]],[["@action","@icon","@ariaLabel","@title","@label"],[[30,0,["replyAsNewTopic"]],"plus","post.reply_as_new_topic","post.reply_as_new_topic","topic.create"]],null],[1,"\\n"]],[]]]],[]],null],[1," "],[8,[32,6],null,[["@name","@outletArgs"],["share-topic-sources",[28,[32,7],null,[["topic","post"],[[30,0,["topic"]],[30,0,["post"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","source"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/share-topic.js",scope:()=>[d.default,w.i18n,s.Input,u.default,m.default,c.default,h.default,n.hash],isStrictMode:!0}),this))()}},49310:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(75527),r=i(83426),a=i(61810),o=i(54074),l=i(74089),u=i(72799),c=i(71209);class d extends s.default{static controlType="composer";handleInput(e){this.args.field.set(e.target.value)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[n.action]))();get style(){if(this.args.height)return(0,r.htmlSafe)(`height: ${(0,l.escapeExpression)(this.args.height)}px`)}static #t=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"5o4nAI8v",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[28,[32,1],["form-kit__control-composer",[52,[30,1],"--preview"]],null]],[16,5,[30,0,["style"]]]],[["@value","@change","@disabled","@textAreaId"],[[28,[31,1],[[30,2,["value"]]],null],[30,0,["handleInput"]],[30,2,["disabled"]],[30,2,["id"]]]],null],[1,"\\n "]],["@preview","@field"],false,["if","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/composer.js",scope:()=>[a.default,o.default],isStrictMode:!0}),this))()}},49342:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addPluginReviewableParam:()=>W,default:()=>J,registerReviewableActionModal:()=>K});var s=i(87531),n=i(72799),r=i(25604),a=i(4781),o=i(75527),l=i(57528),u=i(97527),c=i(62838),d=i(18555),p=i(53518),h=i(32504),m=i(81539),g=i(2856),f=i(40231),_=i(62840),y=i(53769),b=i(40056),w=i(34230),k=i(52903),T=i(27899),S=i(23722),C=i(54074),A=i(12733),D=i(94848),M=i(5751),x=i(86326),E=i(6),L=i(53775),P=i(70412),F=i(72523),I=i(88896),N=i(74089),j=i(36702),O=i(81644),R=i(76655),U=i(88820),B=i(43462),Y=i(71209);let H=(0,N.optionalRequire)("admin/components/ip-lookup"),q={},$={},z={revise_and_reject_post:_.default},V={...z};function W(e,t){$[e]?$[e].push(t):$[e]=[t]}function K(e,t){if(Object.keys(z).includes(e))throw Error(`Cannot override default action modal class for ${e} (mapped to ${z[e].name})!`);V[e]=t}function G(e,t){return(0,u.getOwner)(e).resolveRegistration(`component:${t}`)}let J=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[d.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[d.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[d.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #s=(()=>dt7948.g(this.prototype,"currentUser",[d.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #u=(()=>dt7948.g(this.prototype,"composer",[d.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #c=(()=>dt7948.g(this.prototype,"store",[d.service]))();#n=(()=>void dt7948.i(this,"store"))();static #_=(()=>dt7948.g(this.prototype,"toasts",[d.service]))();#iC=(()=>void dt7948.i(this,"toasts"))();static #b=(()=>dt7948.g(this.prototype,"adminTools",[I.default]))();#sg=(()=>void dt7948.i(this,"adminTools"))();static #v=(()=>dt7948.g(this.prototype,"disabled",[s.tracked],function(){return!1}))();#eq=(()=>void dt7948.i(this,"disabled"))();static #w=(()=>dt7948.g(this.prototype,"autoClaimed",[(0,l.alias)("reviewable.claimed_by.automatic")]))();#uC=(()=>void dt7948.i(this,"autoClaimed"))();updating=null;editing=!1;_updates=null;constructor(){super(...arguments),this.messageBus.subscribe("/reviewable_claimed",this._updateClaimedBy),this.messageBus.subscribe("/reviewable_action",this._updateStatus)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe("/reviewable_claimed",this._updateClaimedBy),this.messageBus.unsubscribe("/reviewable_action",this._updateStatus)}customClasses(e,t,i,s,n){let r=(0,p.dasherize)(e);return t&&(r=`${r} reviewable-stale`),i&&0===s&&(r=`${r} blur-images`),n&&(r=`${r} reviewable-deleted`),r}static #k=(()=>dt7948.n(this.prototype,"customClasses",[(0,F.default)("reviewable.type","reviewable.last_performing_username","siteSettings.blur_tl0_flagged_posts_media","reviewable.target_created_by_trust_level","reviewable.deleted_at")]))();displayContextQuestion(e,t,i,s,n){return e&&0===t&&(i||s&&null!==n)}static #T=(()=>dt7948.n(this.prototype,"displayContextQuestion",[(0,F.default)("reviewable.created_from_flag","reviewable.status","claimOptional","claimRequired","reviewable.claimed_by")]))();topicId(e,t,i){return e&&e.id||t||i}static #S=(()=>dt7948.n(this.prototype,"topicId",[(0,F.default)("reviewable.topic","reviewable.topic_id","reviewable.removed_topic_id")]))();claimEnabled(e,t,i){return("disabled"!==e||i)&&!!t}static #C=(()=>dt7948.n(this.prototype,"claimEnabled",[(0,F.default)("siteSettings.reviewable_claiming","topicId","reviewable.claimed_by.automatic")]))();claimOptional(e,t){return!t||"optional"===e}static #A=(()=>dt7948.n(this.prototype,"claimOptional",[(0,F.default)("siteSettings.reviewable_claiming","claimEnabled")]))();claimRequired(e,t){return t&&"required"===e}static #D=(()=>dt7948.n(this.prototype,"claimRequired",[(0,F.default)("siteSettings.reviewable_claiming","claimEnabled")]))();canPerform(e,t,i){return!e||(i?i.user.id===this.currentUser.id:"required"!==t)}static #M=(()=>dt7948.n(this.prototype,"canPerform",[(0,F.default)("claimEnabled","siteSettings.reviewable_claiming","reviewable.claimed_by")]))();claimHelp(e,t){if(t)if(t.user.id===this.currentUser.id)return(0,U.i18n)("review.claim_help.claimed_by_you");else if(t.automatic)return(0,U.i18n)("review.claim_help.automatically_claimed_by",{username:t.user.username});else return(0,U.i18n)("review.claim_help.claimed_by_other",{username:t.user.username});return"optional"===e?(0,U.i18n)("review.claim_help.optional"):(0,U.i18n)("review.claim_help.required")}static #z=(()=>dt7948.n(this.prototype,"claimHelp",[(0,F.default)("siteSettings.reviewable_claiming","reviewable.claimed_by")]))();reviewableComponent(e){if(void 0!==q[e])return q[e];let t=(0,p.dasherize)(e),i=(0,u.getOwner)(this),s=i.hasRegistration(`component:${t}`)||i.hasRegistration(`template:components/${t}`);return q[e]=s?t:null,q[e]}static #V=(()=>dt7948.n(this.prototype,"reviewableComponent",[(0,F.default)("reviewable.type")]))();tagCategoryId(e,t){return e||t}static #W=(()=>dt7948.n(this.prototype,"tagCategoryId",[(0,F.default)("_updates.category_id","reviewable.category.id")]))();showIpLookup(e){return"ReviewableUser"!==e&&this.currentUser.staff&&this.reviewable.target_created_by}static #K=(()=>dt7948.n(this.prototype,"showIpLookup",[(0,F.default)("reviewable.type","reviewable.target_created_by")]))();_updateClaimedBy(e){let t=e.user?this.store.createRecord("user",e.user):null;e.topic_id===this.reviewable.topic.id&&(t?this.reviewable.set("claimed_by",{user:t,automatic:e.automatic}):this.reviewable.set("claimed_by",null))}static #G=(()=>dt7948.n(this.prototype,"_updateClaimedBy",[F.bind]))();_updateStatus(e){e.remove_reviewable_ids.includes(this.reviewable.id)&&(delete e.remove_reviewable_ids,this._performResult(e,{},this.reviewable))}static #J=(()=>dt7948.n(this.prototype,"_updateStatus",[F.bind]))();async _performConfirmed(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.reviewable,s=async()=>{this.disabled=!0;let s=i.get("version");this.set("updating",!0);let n={send_email:i.sendEmail,reject_reason:i.rejectReason,...t};return($[i.type]||[]).forEach(e=>{i[e]&&(n[e]=i[e])}),(0,L.ajax)(`/review/${i.id}/perform/${e.server_action}?version=${s}`,{type:"PUT",dataType:"json",data:n}).then(t=>this._performResult(t.reviewable_perform_result,e,i)).catch(P.popupAjaxError).finally(()=>{this.set("updating",!1),this.disabled=!1})};if(e.client_action){let t=this[`client${(0,p.classify)(e.client_action)}`];t?await this.#uA()&&await t.call(this,i,s):console.error(`No handler for ${e.client_action} found`)}else await s();return this.#uD()}static #e0=(()=>dt7948.n(this.prototype,"_performConfirmed",[F.bind]))();_performResult(e,t,i){if(void 0!==e.reviewable_count&&this.currentUser.updateReviewableCount(e.reviewable_count),void 0!==e.unseen_reviewable_count&&this.currentUser.set("unseen_reviewable_count",e.unseen_reviewable_count),t.completed_message&&this.toasts.success({data:{message:t.completed_message}}),!this.remove||!e.remove_reviewable_ids)return this.store.find("reviewable",i.id);this.remove(e.remove_reviewable_ids)}clientSuspend(e,t){return this._penalize("showSuspendModal",e,t)}clientSilence(e,t){return this._penalize("showSilenceModal",e,t)}async clientEdit(e,t){if(!this.currentUser)return this.dialog.alert((0,U.i18n)("post.controls.edit_anonymous"));let i=await this.store.find("post",e.post_id),s=await R.default.find(i.topic_id,{}),n=R.default.create(s);if(i.set("topic",n),!i.can_edit)return!1;let r={post:i,action:O.default.EDIT,draftKey:i.get("topic.draft_key"),draftSequence:i.get("topic.draft_sequence"),skipJumpOnSave:!0};return this.composer.open(r),t()}_penalize(e,t,i){let s=this.adminTools;if(s){let n=t.get("target_created_by"),r=t.get("post_id"),a=t.get("raw");return s[e](n,{postId:r,postEdit:a,before:i})}}async #uA(){if(!this.reviewable.topic)return!0;if(!this.reviewable.claimed_by){let e=this.store.createRecord("reviewable-claimed-topic");try{await e.save({topic_id:this.reviewable.topic.id,automatic:!0}),this.reviewable.set("claimed_by",{user:this.currentUser,automatic:!0})}catch(e){return(0,P.popupAjaxError)(e),!1}}return this.reviewable.claimed_by?.user?.id===this.currentUser.id}async #uD(){if(this.reviewable.topic&&this.reviewable.claimed_by?.automatic)try{await (0,L.ajax)(`/reviewable_claimed_topics/${this.reviewable.topic.id}`,{type:"DELETE",data:{automatic:!0}}),this.reviewable.set("claimed_by",null)}catch(e){(0,P.popupAjaxError)(e)}}explainReviewable(e,t){t.preventDefault(),this.modal.show(g.default,{model:{reviewable:e}})}static #e2=(()=>dt7948.n(this.prototype,"explainReviewable",[o.action]))();edit(){this.set("editing",!0),this.set("_updates",{payload:{}})}static #e3=(()=>dt7948.n(this.prototype,"edit",[o.action]))();cancelEdit(){this.set("editing",!1)}static #e8=(()=>dt7948.n(this.prototype,"cancelEdit",[o.action]))();saveEdit(){let e=this._updates;return Object.keys(e).forEach(t=>{let i=e[t];"object"==typeof i&&0===Object.keys(i).length&&delete e[t]}),this.set("updating",!0),this.reviewable.update(e).then(()=>this.set("editing",!1)).catch(P.popupAjaxError).finally(()=>this.set("updating",!1))}static #e4=(()=>dt7948.n(this.prototype,"saveEdit",[o.action]))();categoryChanged(e){let t=j.default.findById(e);t||(t=j.default.findUncategorized()),(0,o.set)(this._updates,"category_id",t.id)}static #e7=(()=>dt7948.n(this.prototype,"categoryChanged",[o.action]))();valueChanged(e,t){(0,o.set)(this._updates,e,t.target.value)}static #e9=(()=>dt7948.n(this.prototype,"valueChanged",[o.action]))();async perform(e){if(this.updating)return;let t=e.get("confirm_message"),i=e.get("require_reject_reason")?f.default:V[e.server_action];if(t)await this.#uA()&&this.dialog.confirm({message:t,didConfirm:()=>this._performConfirmed(e)});else{if(!i)return this._performConfirmed(e);await this.#uA()&&this.modal.show(i,{model:{reviewable:this.reviewable,performConfirmed:this._performConfirmed,action:e}})}}static #e5=(()=>dt7948.n(this.prototype,"perform",[o.action]))();static #e6=(()=>(0,n.setComponentTemplate)((0,Y.createTemplateFactory)({id:"zWtYUs1D",block:'[[[1,"\\n "],[10,0],[15,"data-reviewable-id",[30,0,["reviewable","id"]]],[15,0,[29,["reviewable-item ",[30,0,["customClasses"]]]]],[12],[1,"\\n "],[10,0],[14,0,"reviewable-meta-data"],[12],[1,"\\n "],[10,1],[15,0,[28,[32,0],["reviewable-type",[30,0,["reviewable","humanTypeCssClass"]]],null]],[12],[1,[30,0,["reviewable","humanType"]]],[13],[1,"\\n"],[41,[30,0,["reviewable","reply_count"]],[[[1," "],[10,1],[14,0,"reply-count"],[12],[1,[28,[32,1],["review.replies"],[["count"],[[30,0,["reviewable","reply_count"]]]]]],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"created-at"],[12],[1,"\\n "],[8,[32,2],null,[["@route","@model"],["review.show",[30,0,["reviewable","id"]]]],[["default"],[[[[1,[28,[32,3],[[30,0,["reviewable","created_at"]]],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"status"],[12],[1,"\\n "],[1,[28,[32,4],[[30,0,["reviewable","status"]],[30,0,["reviewable","type"]]],null]],[1,"\\n "],[13],[1,"\\n "],[11,3],[24,6,""],[16,"title",[28,[32,1],["review.explain.why"],null]],[24,0,"explain"],[4,[32,5],["click",[28,[32,6],[[30,0,["explainReviewable"]],[30,0,["reviewable"]]],null]],null],[12],[1,"\\n "],[1,[28,[32,7],["circle-question"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-contents"],[12],[1,"\\n"],[41,[30,0,["editing"]],[[[1," "],[10,0],[14,0,"editable-fields"],[12],[1,"\\n"],[41,[30,0,["reviewable","created_by"]],[[[1," "],[10,0],[14,0,"editable-created-by"],[12],[1,"\\n "],[1,[28,[32,8],[[30,0,["reviewable","created_by"]]],[["imageSize"],["tiny"]]]],[1,"\\n "],[8,[32,9],null,[["@user"],[[30,0,["reviewable","created_by"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["reviewable","editable_fields"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,["editable-field ",[28,[32,10],[[30,1,["id"]]],null]]]],[12],[1,"\\n"],[44,[[28,[32,11],[[30,0],[28,[32,12],["reviewable-field-",[30,1,["type"]]],null]],null]],[[[1," "],[8,[30,2],null,[["@tagName","@value","@tagCategoryId","@valueChanged","@categoryChanged"],["",[28,[32,13],[[30,0,["reviewable"]],[30,1,["id"]]],null],[30,0,["tagCategoryId"]],[28,[32,6],[[30,0,["valueChanged"]],[30,1,["id"]]],null],[30,0,["categoryChanged"]]]],null],[1,"\\n"]],[2]]],[1," "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],[[[44,[[28,[32,11],[[30,0],[30,0,["reviewableComponent"]]],null]],[[[1," "],[8,[30,3],null,[["@reviewable","@tagName"],[[30,0,["reviewable"]],""]],[["default"],[[[[1,"\\n "],[8,[32,14],null,[["@reviewable","@tagName"],[[30,0,["reviewable"]],""]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]]]],[]]],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["displayContextQuestion"]],[[[1," "],[10,"h3"],[14,0,"reviewable-item__context-question"],[12],[1,"\\n "],[1,[30,0,["reviewable","flaggedReviewableContextQuestion"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"reviewable-actions"],[12],[1,"\\n"],[41,[51,[30,0,["reviewable","last_performing_username"]]],[[[41,[30,0,["canPerform"]],[[[41,[30,0,["editing"]],[[[1," "],[8,[32,15],[[24,0,"btn-primary reviewable-action save-edit"]],[["@disabled","@icon","@action","@label"],[[30,0,["disabled"]],"check",[30,0,["saveEdit"]],"review.save"]],null],[1,"\\n "],[8,[32,15],[[24,0,"btn-danger reviewable-action cancel-edit"]],[["@disabled","@icon","@action","@label"],[[30,0,["disabled"]],"xmark",[30,0,["cancelEdit"]],"review.cancel"]],null],[1,"\\n"]],[]],[[[42,[28,[31,2],[[28,[31,2],[[30,0,["reviewable","bundled_actions"]]],null]],null],null,[[[1," "],[8,[32,16],null,[["@bundle","@performAction","@reviewableUpdating"],[[30,4],[30,0,["perform"]],[30,0,["disabled"]]]],null],[1,"\\n"]],[4]],null],[1,"\\n"],[41,[30,0,["reviewable","can_edit"]],[[[1," "],[8,[32,15],[[24,0,"reviewable-action btn-default edit"]],[["@disabled","@icon","@action","@label"],[[30,0,["disabled"]],"pencil",[30,0,["edit"]],"review.edit"]],null],[1,"\\n"]],[]],null]],[]]]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["reviewable","last_performing_username"]],[[[1," "],[10,0],[14,0,"stale-help"],[12],[1,[28,[32,17],[[28,[32,1],["review.stale_help"],[["username"],[[30,0,["reviewable","last_performing_username"]]]]]],null]],[13],[1,"\\n"]],[]],[[[41,[30,0,["claimEnabled"]],[[[1," "],[10,0],[14,0,"claimed-actions"],[12],[1,"\\n "],[10,1],[14,0,"help"],[12],[1,[28,[32,17],[[30,0,["claimHelp"]]],null]],[13],[1,"\\n"],[41,[51,[30,0,["autoClaimed"]]],[[[1," "],[8,[32,18],null,[["@topicId","@claimedBy","@onClaim"],[[30,0,["topicId"]],[30,0,["reviewable","claimed_by"]],[28,[32,6],[[28,[31,5],[[30,0,["reviewable","claimed_by"]]],null]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["showIpLookup"]],[[[1," "],[8,[32,19],null,[["@ip","@userId"],["adminLookup",[30,0,["reviewable","target_created_by","id"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,20],null,[["@name","@connectorTagName","@outletArgs"],["reviewable-item-actions","div",[28,[32,21],null,[["reviewable"],[[30,0,["reviewable"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["f","FieldComponent","ReviewableComponent","bundle"],false,["if","each","-track-array","let","unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-item.js",scope:()=>[C.default,U.i18n,c.LinkTo,T.default,E.default,a.on,r.fn,A.default,S.default,k.default,D.default,G,r.concat,M.default,B.default,m.default,b.default,x.default,w.default,H,y.default,r.hash],isStrictMode:!0}),this))()},[(0,h.tagName)("")])},49384:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(61037),n=i(88820);class r extends s.default{templateName="user/stream";queryParams={acting_username:{refreshModel:!0}};model(){return{stream:this.modelFor("user").get("stream"),emptyState:this.emptyState()}}afterModel(e,t){return e.stream.filterBy({filter:this.userActionType,actingUsername:t.to.queryParams.acting_username})}setupController(){super.setupController(...arguments),this.controllerFor("user-activity").userActionType=this.userActionType}emptyState(){return{title:(0,n.i18n)("user_activity.no_activity_title"),body:""}}}},49466:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})},49576:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,i){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})},49584:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{addSidebarPanel:()=>p,addSidebarSection:()=>h,currentPanelKey:()=>n,customPanels:()=>s,resetPanelSections:()=>m,resetSidebarPanels:()=>g});var r=i(89395),a=i(23666),o=i(36483),l=i(14679),u=i(88820),c=i(91692);class d{sections=[];get key(){return"main"}get switchButtonLabel(){return(0,u.i18n)("sidebar.panels.forum.label")}get switchButtonIcon(){return"shuffle"}get switchButtonDefaultUrl(){return this?.lastKnownURL||"/"}}function p(e){let t=e.call(this,r.default);s.push(new t)}function h(e,t){let i=s.findBy("key",t);if(!i)return console.warn(`Error adding section to ${t} because panel doesn't exist. Check addSidebarPanel API.`);i.sections.push(e.call(this,a.default,o.default))}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.findBy("key",e);t?(n.sections=[],i(t)):n.sections=[]}function g(){s=[new d,new c.default],n=l.MAIN_PANEL}g()},49589:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95766),n=i(18555),r=i(40783),a=i(70677),o=i(72799),l=i(71209);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tk=(()=>void dt7948.i(this,"session"))();static #t=(()=>dt7948.g(this.prototype,"interfaceColor",[n.service]))();#ev=(()=>void dt7948.i(this,"interfaceColor"))();get isDarkImageAvailable(){return this.args.lightImg?.url&&this.args.darkImg?.url&&(this.session.defaultColorSchemeIsDark||this.session.darkModeAvailable)}get defaultImg(){return this.session.defaultColorSchemeIsDark&&this.args.darkImg?this.args.darkImg:this.args.lightImg}get darkImgCdnSrc(){return(0,a.getURLWithCDN)(this.args.darkImg.url)}get darkMediaQuery(){return this.interfaceColor.darkModeForced?"all":this.interfaceColor.lightModeForced?"none":"(prefers-color-scheme: dark)"}static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"cuLhbJ2K",block:'[[[1,"\\n"],[41,[30,0,["isDarkImageAvailable"]],[[[1," "],[10,"picture"],[12],[1,"\\n "],[10,"source"],[15,"srcset",[30,0,["darkImgCdnSrc"]]],[15,"width",[30,1,["width"]]],[15,"height",[30,1,["height"]]],[15,"media",[30,0,["darkMediaQuery"]]],[12],[13],[1,"\\n "],[8,[32,0],[[17,2]],[["@src","@width","@height"],[[30,0,["defaultImg","url"]],[30,0,["defaultImg","width"]],[30,0,["defaultImg","height"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,3,["url"]],[[[1," "],[8,[32,0],[[17,2]],[["@src","@width","@height"],[[30,3,["url"]],[30,3,["width"]],[30,3,["height"]]]],null],[1,"\\n "]],[]],null]],[]]],[1," "]],["@darkImg","&attrs","@lightImg"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/light-dark-img.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},49614:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(72799),n=i(86960),r=i(71209);let a=(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"/uZUJG9V",block:'[[[1,"\\n "],[11,0],[24,0,"fk-d-button-tooltip"],[17,1],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","&button","&tooltip"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-button-tooltip.js",isStrictMode:!0}),(0,n.default)(void 0,"d-button-tooltip:DButtonTooltip"))},49663:(e,t,i)=>{"use strict";function s(){return()=>{}}i.r(t),i.d(t,{default:()=>s})},49734:e=>{e.exports={indexOf:function(e,t){var i,s;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,s=e.length;i{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(75527),n=i(32504),r=i(56729),a=i(33571),o=i(84190),l=i(15500);let u=dt7948.c(class extends a.default.extend(l.default){modifyComponentForRow(){return"tag-chooser-row"}get value(){return(0,r.makeArray)(this.tagGroups).uniq()}static #e=(()=>dt7948.n(this.prototype,"value",[(0,s.computed)("tagGroups.[]")]))();get content(){return(0,r.makeArray)(this.tagGroups).uniq().map(e=>this.defaultItem(e,e))}static #t=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("tagGroups.[]")]))();search(e){let t={q:e,limit:this.siteSettings.max_tag_search_results};return this.searchTags("/tag_groups/filter/search",t,this._transformJson).then(e=>{if(e&&e.length)return e.filter(e=>!(0,r.makeArray)(this.tagGroups).includes(this.getValue(e)))})}_transformJson(e,t){return t.results.sort((e,t)=>e.name>t.name).map(e=>({id:e.name,name:e.name,count:e.count}))}},[(0,o.pluginApiIdentifiers)("tag-group-chooser"),(0,o.selectKitOptions)({allowAny:!1,filterable:!0,filterPlaceholder:"category.tag_groups_placeholder",limit:null}),(0,n.classNames)("tag-group-chooser","tag-chooser")])},49757:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(54264);function n(e,t){return(0,s.default)("round",e,t)}},49795:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})})},49801:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(29165);let n={initialize(e){let{serviceWorkerURL:t}=e.lookup("service:session");(0,s.registerServiceWorker)(t)}}},49805:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g,showEntrance:()=>m});var s=i(72799),n=i(32504),r=i(89179),a=i.n(r),o=i(53988),l=i(93432),u=i(86862),c=i(91238),d=i(70126),p=i(4425),h=i(71209);function m(e){let t=a()(e.target);if(t.hasClass("posts-map")||t.parents(".posts-map").length>0)return"A"!==t.prop("tagName")&&0===(t=t.find("a")).length&&(t=t.end()),this.appEvents.trigger("topic-entrance:show",{topic:this.topic,position:t.offset()}),!1}let g=dt7948.c(class extends s.default{click=(()=>m)();static #e=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"dCiS5RaI",block:'[[[1,"\\n "],[10,"td"],[14,0,"main-link"],[12],[1,"\\n "],[10,0],[14,0,"topic-inset"],[12],[1,"\\n "],[8,[32,0],null,[["@topic","@disableActions"],[[30,0,["topic"]],true]],null],[1,"\\n "],[1,[28,[32,1],[[30,0,["topic"]]],null]],[1,"\\n"],[41,[30,0,["topic","unseen"]],[[[1," "],[10,1],[14,0,"badge-notification new-topic"],[12],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[15,0,[28,[32,2],[[30,0,["topic","last_posted_at"]]],null]],[15,"title",[28,[32,3],[[30,0,["topic","last_posted_at"]]],null]],[12],[1,[28,[32,4],[[30,0,["topic","last_posted_at"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"num posts"],[12],[1,"\\n "],[8,[32,5],null,[["@topic","@postBadgesEnabled"],[[30,0,["topic"]],true]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/mobile-category-topic.js",scope:()=>[l.default,p.default,u.default,d.default,c.default,o.default],isStrictMode:!0}),this))()},[(0,n.classNameBindings)(":category-topic-link","topic.archived","topic.visited"),(0,n.tagName)("tr")])},49852:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(95766),n=i(25604),r=i(18555),a=i(99027),o=i(34103),l=i(78592),u=i(7490),c=i(51303),d=i(17373),p=i(27659),h=i(22736),m=i(53769),g=i(50321),f=i(23064),_=i(72799),y=i(71209);let b={boxes_with_featured_topics:u.default,boxes:l.default,rows_with_featured_topics:d.default,rows:c.default},w={categories_and_latest_topics_created_date:a.default,categories_and_latest_topics:a.default,categories_and_top_topics:o.default,categories_boxes_with_topics:u.default,categories_boxes:l.default,categories_only:c.default,categories_with_featured_topics:d.default,subcategories_with_featured_topics:g.default};class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"site",[r.service]))();#r=(()=>void dt7948.i(this,"site"))();get #uM(){let e=this.args.parentCategory.subcategory_list_style,t=b[e];return t||(console.error("Unknown subcategory list style: "+e),c.default)}get style(){let e=this.siteSettings.desktop_category_page_style;return this.site.mobileView&&(e=this.siteSettings.mobile_category_page_style),this.site.categories.length>f.MAX_UNOPTIMIZED_CATEGORIES&&(e="categories_only"),e}get #ux(){let e=w[this.style];return e||(console.error("Unknown category list style: "+this.style),c.default)}get categoriesComponent(){return this.args.parentCategory&&"discovery.subcategories"!==this.router.currentRouteName?this.#uM:this.#ux}get canLoadMore(){return this.args.loadMore&&(this.site.lazy_load_categories||this.site.categories.length>f.MAX_UNOPTIMIZED_CATEGORIES)}static #s=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"bB5+GQGh",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["above-discovery-categories","div",[28,[32,1],null,[["categories","topics"],[[30,1],[30,2]]]]]],null],[1,"\\n"],[41,[30,0,["canLoadMore"]],[[[1," "],[8,[32,2],null,[["@action"],[[30,3]]],[["default"],[[[[1,"\\n "],[8,[30,0,["categoriesComponent"]],null,[["@categories","@topics"],[[30,1],[30,2]]],null],[1,"\\n "],[8,[32,3],null,[["@condition"],[[30,4]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,0,["categoriesComponent"]],null,[["@categories","@topics"],[[30,1],[30,2]]],null],[1,"\\n"]],[]]],[1," "]],["@categories","@topics","@loadMore","@loadingMore"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/categories-display.js",scope:()=>[m.default,n.hash,h.default,p.default],isStrictMode:!0}),this))()}},49898:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(25604),n=i(75527),r=i(57528),a=i(32504),o=i(11075),l=i(32020),u=i.n(l),c=i(19047),d=i(84190),p=i(58744),h=i(72799),m=i(71209);let g=dt7948.c(class extends p.default{static #e=(()=>dt7948.g(this.prototype,"caretUpIcon",[(0,r.reads)("selectKit.options.caretUpIcon")]))();#uE=(()=>void dt7948.i(this,"caretUpIcon"))();static #t=(()=>dt7948.g(this.prototype,"caretDownIcon",[(0,r.reads)("selectKit.options.caretDownIcon")]))();#uL=(()=>void dt7948.i(this,"caretDownIcon"))();static #i=(()=>dt7948.g(this.prototype,"ariaLabel",[(0,r.reads)("selectKit.options.headerAriaLabel")]))();#tL=(()=>void dt7948.i(this,"ariaLabel"))();get caretIcon(){return this.selectKit.isExpanded?this.caretUpIcon:this.caretDownIcon}static #s=(()=>dt7948.n(this.prototype,"caretIcon",[(0,n.computed)("selectKit.isExpanded","caretUpIcon","caretDownIcon")]))();static #u=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"aRzRoUHB",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[1]],null],[1,"\\n"],[41,[30,0,["selectKit","options","useHeaderFilter"]],[[[1," "],[10,0],[14,0,"select-kit-header--filter"],[12],[1,"\\n"],[41,[30,0,["selectedContent","length"]],[[[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedChoiceComponent"]]],null]],[[[42,[28,[31,1],[[28,[31,1],[[30,0,["selectedContent"]]],null]],null],null,[[[1," "],[8,[30,2],null,[["@selectKit","@item"],[[30,0,["selectKit"]],[30,3]]],null],[1,"\\n"]],[3]],null]],[2]]]],[]],null],[1,"\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","filterComponent"]]],null]],[[[1," "],[8,[30,4],null,[["@selectKit","@id","@hidePlaceholderWithSelection"],[[30,0,["selectKit"]],[28,[32,2],[[30,0,["selectKit","uniqueID"]],"-filter"],null],true]],null],[1,"\\n"]],[4]]],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@content","@selectKit"],[[28,[32,4],[[30,0,["selectedContent"]],[30,0,["selectKit","noneItem"]]],null],[30,0,["selectKit"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["iconName","SelectedChoiceComponent","item","FilterComponent"],false,["each","-track-array","if","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/multi-select/multi-select-header.js",scope:()=>[u(),d.resolveComponent,s.concat,c.default,o.or],isStrictMode:!0}),this))()},[(0,a.attributeBindings)("ariaLabel:aria-label"),(0,a.classNames)("multi-select-header"),(0,a.tagName)("summary")])},49930:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addPluginDocumentTitleCounter:()=>p,default:()=>h});var s=i(72799),n=i(18555),r=i(32504),a=i(53775),o=i(34903),l=i(72523),u=i(62195),c=i(88820);let d=[];function p(e){d.push(e)}let h=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"documentTitle",[n.service]))();#eK=(()=>void dt7948.i(this,"documentTitle"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#d=(()=>void dt7948.i(this,"dialog"))();_showingLogout=!1;didInsertElement(){super.didInsertElement(...arguments),this.documentTitle.setTitle(document.title),document.addEventListener("visibilitychange",this._focusChanged),document.addEventListener("resume",this._focusChanged),document.addEventListener("freeze",this._focusChanged),this.session.hasFocus=!0,this.appEvents.on("notifications:changed",this,this._updateNotifications),(0,a.setLogoffCallback)(()=>this.displayLogoff())}willDestroyElement(){super.willDestroyElement(...arguments),(0,a.setLogoffCallback)(null),document.removeEventListener("visibilitychange",this._focusChanged),document.removeEventListener("resume",this._focusChanged),document.removeEventListener("freeze",this._focusChanged),this.appEvents.off("notifications:changed",this,this._updateNotifications)}_updateNotifications(e){if(!this.currentUser)return;let t=d.reduce((e,t)=>e+t(),0);t+=this.currentUser.all_unread_notifications_count,this.currentUser.unseen_reviewable_count&&(t+=this.currentUser.unseen_reviewable_count),this.documentTitle.updateNotificationCount(t,{forced:e?.forced})}_focusChanged(){(0,o.clearAllBodyScrollLocks)(),"hidden"===document.visibilityState?this.session.hasFocus&&this.documentTitle.setFocus(!1):this.hasFocus||this.documentTitle.setFocus(!0)}static #i=(()=>dt7948.n(this.prototype,"_focusChanged",[l.bind]))();displayLogoff(){this._showingLogout||(this._showingLogout=!0,this.messageBus.stop(),this.dialog.alert({message:(0,c.i18n)("logout"),confirmButtonLabel:"refresh",didConfirm:()=>(0,u.default)(),didCancel:()=>(0,u.default)()}))}},[(0,r.tagName)("")])},50018:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(75527),n=i(83426),r=i(88761),a=i(35794);function o(e){let t=(0,s.get)(e,"icon"),i=(0,s.get)(e,"image");return(0,r.isEmpty)(i)?(0,r.isEmpty)(t)?"":(0,n.htmlSafe)((0,a.iconHTML)((0,a.convertIconClass)(t))):(0,n.htmlSafe)(`
`)}},50092:(e,t,i)=>{"use strict";function s(){console.log("Templates should be precompiled server side")}i.r(t),i.d(t,{default:()=>s})},50141:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(77412),n=i(88820);class r extends s.default{get shouldDisplay(){return!!this.currentUser?.can_review}get name(){return"review"}get route(){return"review"}get title(){return(0,n.i18n)("sidebar.sections.community.links.review.title")}get text(){return(0,n.i18n)(`sidebar.sections.community.links.${this.overridenName.toLowerCase()}.content`,{defaultValue:this.overridenName})}get badgeText(){if(this.currentUser?.get("reviewable_count")>0)return(0,n.i18n)("sidebar.sections.community.links.review.pending_count",{count:this.currentUser.reviewable_count})}get defaultPrefixValue(){return"flag"}}},50164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(25604),n=i(62838),r=i(8658),a=i(11075),o=i(27659),l=i(81539),u=i(9237),c=i(22736),d=i(53769),p=i(49342),h=i(12733),m=i(86326),g=i(88820),f=i(17787),_=i(52605),y=i(6913),b=i(72799),w=i(71209),k=i(86960);let T=(0,r.default)((0,b.setComponentTemplate)((0,w.createTemplateFactory)({id:"Mc93bxUt",block:'[[[1,"\\n"],[41,[30,1,["displayUnknownReviewableTypesWarning"]],[[[1," "],[10,0],[14,0,"alert alert-info unknown-reviewables"],[12],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,[28,[32,0],["review.unknown.title"],[["count"],[[30,1,["unknownReviewableTypes","length"]]]]]],[13],[1,"\\n\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["unknownReviewableTypes"]]],null]],null],null,[[[41,[28,[32,1],[[30,2,["source"]],[30,1,["unknownTypeSource"]]],null],[[[1," "],[10,"li"],[12],[1,[28,[32,0],["review.unknown.reviewable_unknown_source"],[["reviewableType"],[[30,2,["type"]]]]]],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[12],[1,[28,[32,0],["review.unknown.reviewable_known_source"],[["reviewableType","pluginName"],[[30,2,["type"]],[30,2,["source"]]]]]],[13],[1,"\\n"]],[]]]],[2]],null],[1," "],[13],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,[28,[32,2],[[28,[32,0],["review.unknown.instruction"],[["url"],["https://meta.discourse.org/t/350179"]]]],null]],[13],[1,"\\n "],[10,0],[14,0,"unknown-reviewables__options"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn"]],[["@route"],["adminPlugins.index"]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],["puzzle-piece"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["review.unknown.enable_plugins"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,5],[[24,0,"btn-default"]],[["@label","@icon","@action"],["review.unknown.ignore_all","trash-can",[30,1,["ignoreAllUnknownTypes"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"reviewable-container"],[12],[1,"\\n "],[10,0],[14,0,"reviewable-list"],[12],[1,"\\n"],[41,[30,1,["reviewables"]],[[[1," "],[8,[32,6],null,[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"reviewables"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["reviewables"]]],null]],null],null,[[[1," "],[8,[32,7],null,[["@reviewable","@remove"],[[30,3],[30,1,["remove"]]]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,8],null,[["@condition"],[[30,1,["reviewables","loadingMore"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"no-review"],[12],[1,"\\n "],[1,[28,[32,0],["review.none"],null]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filters"],[12],[1,"\\n "],[10,0],[14,0,"reviewable-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filters.status"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,9],null,[["@value","@content","@onChange"],[[30,1,["filterStatus"]],[30,1,["statuses"]],[28,[32,10],[[28,[31,3],[[30,1,["filterStatus"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["filtersExpanded"]],[[[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,11],null,[["@name","@connectorTagName","@outletArgs"],["above-review-filters","div",[28,[32,12],null,[["model","additionalFilters"],[[30,1,["model"]],[30,1,["additionalFilters"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filters.type.title"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,9],null,[["@value","@content","@onChange","@options"],[[30,1,["filterType"]],[30,1,["allTypes"]],[28,[32,10],[[28,[31,3],[[30,1,["filterType"]]],null]],null],[28,[32,12],null,[["none"],["review.filters.type.all"]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filters.score_type.title"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,9],null,[["@value","@content","@onChange","@options"],[[30,1,["filterScoreType"]],[30,1,["allScoreTypes"]],[28,[32,10],[[28,[31,3],[[30,1,["filterScoreType"]]],null]],null],[28,[32,12],null,[["none"],["review.filters.score_type.all"]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filters.priority.title"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,9],null,[["@value","@content","@onChange"],[[30,1,["filterPriority"]],[30,1,["priorities"]],[28,[32,10],[[28,[31,3],[[30,1,["filterPriority"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filters.category"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,13],null,[["@value","@onChange","@options"],[[30,1,["filterCategoryId"]],[28,[32,10],[[28,[31,3],[[30,1,["filterCategoryId"]]],null]],null],[28,[32,12],null,[["none","clearable"],["review.filters.all_categories",true]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter topic-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filtered_flagged_by"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,14],null,[["@value","@onChange","@options"],[[30,1,["filterFlaggedBy"]],[30,1,["updateFilterFlaggedBy"]],[28,[32,12],null,[["maximum","excludeCurrentUser","fullWidthWrap"],[1,false,true]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter topic-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filtered_reviewed_by"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,14],null,[["@value","@onChange","@options"],[[30,1,["filterReviewedBy"]],[30,1,["updateFilterReviewedBy"]],[28,[32,12],null,[["maximum","excludeCurrentUser","fullWidthWrap"],[1,false,true]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter topic-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filtered_user"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,14],[[24,0,"user-selector"]],[["@value","@onChange","@options"],[[30,1,["filterUsername"]],[30,1,["updateFilterUsername"]],[28,[32,12],null,[["maximum","excludeCurrentUser","fullWidthWrap"],[1,false,true]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["filterTopic"]],[[[1," "],[10,0],[14,0,"reviewable-filter topic-filter"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.filtered_topic"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,5],[[24,0,"btn-default"]],[["@label","@icon","@action"],["review.show_all_topics","xmark",[30,1,["resetTopic"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"reviewable-filter date-range"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.date_filter"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,15],null,[["@from","@to","@onChange","@showFromTime","@showToTime"],[[30,1,["filterFromDate"]],[30,1,["filterToDate"]],[30,1,["setRange"]],false,false]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reviewable-filter sort-order"],[12],[1,"\\n "],[10,"label"],[14,0,"filter-label"],[12],[1,"\\n "],[1,[28,[32,0],["review.order_by"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,9],null,[["@value","@content","@onChange"],[[30,1,["filterSortOrder"]],[30,1,["sortOrders"]],[28,[32,10],[[28,[31,3],[[30,1,["filterSortOrder"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"reviewable-filters-actions"],[12],[1,"\\n "],[8,[32,5],[[24,0,"btn-primary refresh"]],[["@icon","@label","@action"],["arrows-rotate","review.filters.refresh",[30,1,["refresh"]]]],null],[1,"\\n\\n"],[41,[30,1,["site","mobileView"]],[[[1," "],[8,[32,5],[[24,0,"btn-default expand-secondary-filters"]],[["@label","@icon","@action"],["show_help",[30,1,["toggleFiltersIcon"]],[30,1,["toggleFilters"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller","reviewable","r"],false,["if","each","-track-array","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/review-index.js",scope:()=>[g.i18n,a.eq,m.default,n.LinkTo,h.default,l.default,c.default,p.default,o.default,_.default,s.fn,d.default,s.hash,f.default,y.default,u.default],isStrictMode:!0}),(0,k.default)(void 0,void 0)))},50172:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(72523),n=i(37868);class r{#uP;#uF;#iU;#uI;#uN;#s3;#uj;#uO;constructor(e){let{key:t,Component:i,apiAdded:s,hidden:n,owner:r,position:a,replacementMap:o,showLabel:l}=e;this.#uP=i,this.#uF=s,this.#iU=n,this.#uI=t,this.#uN=r,this.#s3=a,this.#uj=o,this.#uO=l}get Component(){return this.#uP}get apiAdded(){return this.#uF}hidden(e){return this.#iU??this.#uR({property:"hidden",args:e,defaultValue:null})}static #e=(()=>dt7948.n(this.prototype,"hidden",[s.bind]))();delegateShouldRenderToTemplate(e){return this.#uR({property:"delegateShouldRenderToTemplate",args:e,defaultValue:!1})}static #t=(()=>dt7948.n(this.prototype,"delegateShouldRenderToTemplate",[s.bind]))();extraControls(e){return this.#uR({property:"extraControls",args:e,defaultValue:!1})}static #i=(()=>dt7948.n(this.prototype,"extraControls",[s.bind]))();get key(){return this.#uI}get position(){return this.#s3}setShowLabel(e){this.#uO=e}static #s=(()=>dt7948.n(this.prototype,"setShowLabel",[s.bind]))();shouldRender(e){return this.#uR({property:"shouldRender",args:e,defaultValue:!0})}static #u=(()=>dt7948.n(this.prototype,"shouldRender",[s.bind]))();showLabel(e){return this.#uO??this.#uR({property:"showLabel",args:e,defaultValue:null})}static #c=(()=>dt7948.n(this.prototype,"showLabel",[s.bind]))();#uR(e){let{klass:t=this.#uP,property:i,args:s,defaultValue:r}=e,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakSet;return!t||a.has(t)?r:void 0===t[i]?this.#uR({klass:this.#uj.get(t)||null,property:i,args:s,defaultValue:r},a.add(t)):"function"==typeof t[i]?t[i](s,(0,n.helperContext)(),this.#uN):t[i]}}},50320:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(72799),n=i(71209),r=i(86960);let a=(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"AUqDwDAl",block:'[[[1,"\\n "],[10,0],[14,0,"sidebar-section-message-wrapper sidebar-row"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-section-message"],[12],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/section-message.js",isStrictMode:!0}),(0,r.default)(void 0,"section-message:SidebarSectionMessage"))},50321:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(72799),n=i(25604),r=i(83426),a=i(88008),o=i(73784),l=i(53769),u=i(88820),c=i(71209);class d extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"dYd6XFk6",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["categories"]]],null]],null],null,[[[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["mobile-subcategories-with-featured-topics-list",[28,[32,1],null,[["category"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"category-list subcategory-list with-topics"],[12],[1,"\\n "],[10,0],[14,0,"parent-category"],[12],[1,"\\n "],[8,[32,2],null,[["@category"],[[30,1]]],null],[1,"\\n "],[10,1],[14,0,"stat"],[15,"title",[30,1,["statTitle"]]],[12],[1,[28,[32,3],[[30,1,["stat"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"subcategories"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["serializedSubcategories"]]],null]],null],null,[[[1," "],[8,[32,4],null,[["@category","@showTopics"],[[30,2],true]],null],[1,"\\n"]],[2]],[[[1," "],[8,[32,4],null,[["@category","@showTopics"],[[30,1],true]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["subcategories-with-featured-topics-list",[28,[32,1],null,[["category"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,"table"],[14,0,"category-list subcategory-list with-topics"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[14,0,"parent-category"],[12],[1,"\\n "],[8,[32,2],null,[["@category"],[[30,1]]],null],[1,"\\n "],[10,1],[14,0,"stat"],[15,"title",[30,1,["statTitle"]]],[12],[1,[28,[32,3],[[30,1,["stat"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"th"],[14,0,"topics"],[12],[1,[28,[32,5],["categories.topics"],null]],[13],[1,"\\n "],[10,"th"],[14,0,"latest"],[12],[1,[28,[32,5],["categories.latest"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[14,"aria-labelledby","categories-only-category"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["serializedSubcategories"]]],null]],null],null,[[[1," "],[8,[32,4],null,[["@category","@showTopics"],[[30,3],true]],null],[1,"\\n"]],[3]],[[[1," "],[8,[32,4],null,[["@category","@showTopics"],[[30,1],true]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],[1]],null],[1," "]],["category","subCategory","subCategory"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/subcategories-with-featured-topics.js",scope:()=>[l.default,n.hash,a.default,r.htmlSafe,o.default,u.i18n],isStrictMode:!0}),this))()}},50332:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(8658),n=i(81539),r=i(88820),a=i(72799),o=i(71209),l=i(86960);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"gysEgiLG",block:'[[[1,"\\n "],[10,0],[14,1,"simple-container"],[12],[1,"\\n "],[10,0],[14,0,"confirm-old-email"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,0],["user.change_email.authorizing_old.title"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n"],[41,[30,1,["model","old_email"]],[[[1," "],[1,[28,[32,0],["user.change_email.authorizing_old.description"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["user.change_email.authorizing_old.description_add"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"],[41,[30,1,["model","old_email"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["user.change_email.authorizing_old.old_email"],[["email"],[[30,1,["model","old_email"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["user.change_email.authorizing_old.new_email"],[["email"],[[30,1,["model","new_email"]]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],[[28,[32,0],["user.change_email.confirm"],null],[30,1,["confirm"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/confirm-old-email.js",scope:()=>[r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},50358:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(77412),n=i(88820);class r extends s.default{get name(){return"about"}get route(){return"about"}get title(){return(0,n.i18n)("sidebar.sections.community.links.about.title")}get text(){return(0,n.i18n)(`sidebar.sections.community.links.${this.overridenName.toLowerCase()}.content`,{defaultValue:this.overridenName})}get defaultPrefixValue(){return"circle-info"}}},50369:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})},50377:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(54807);class n extends s.default{get models(){return[this.currentUser,this.tagName]}get route(){return"userPrivateMessages.tags.show"}}},50446:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(18555),r=i(17900),a=i(61037),o=i(88820);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#a=(()=>void dt7948.i(this,"router"))();model(){return this.store.findAll("tag").then(e=>(e.extras&&(e.extras.categories&&e.extras.categories.forEach(e=>{e.tags=e.tags.map(e=>r.default.create(e))}),e.extras.tag_groups&&e.extras.tag_groups.forEach(e=>{e.tags=e.tags.map(e=>r.default.create(e))})),e))}titleToken(){return(0,o.i18n)("tagging.tags")}setupController(e,t){this.controllerFor("tags.index").setProperties({model:t,sortProperties:this.siteSettings.tags_sort_alphabetically?["id"]:["totalCount:desc","id"]})}showTagGroups(){return this.router.transitionTo("tagGroups"),!0}static #t=(()=>dt7948.n(this.prototype,"showTagGroups",[s.action]))();triggerRefresh(){this.refresh()}static #i=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},50602:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(95766),n=i(87531),r=i(25604),a=i(75527),o=i(18555),l=i(11075),u=i(81539),c=i(76909),d=i(35352),p=i(81644),h=i(88820),m=i(22407),g=i(72799),f=i(71209);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"composer",[o.service]))();#eM=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"drafts",[n.tracked],function(){return[]}))();#uU=(()=>void dt7948.i(this,"drafts"))();static #s=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#eg=(()=>void dt7948.i(this,"loading"))();get draftCount(){return this.currentUser.draft_count}get otherDraftsCount(){return this.draftCount>4?this.draftCount-4:0}get otherDraftsText(){return this.otherDraftsCount>0?(0,h.i18n)("drafts.dropdown.other_drafts",{count:this.otherDraftsCount}):""}draftIcon(e){return e.draft_key.startsWith(p.NEW_TOPIC_KEY)?"layer-group":e.draft_key.startsWith(p.NEW_PRIVATE_MESSAGE_KEY)?"envelope":"reply"}get showViewAll(){return this.draftCount>4}onRegisterApi(e){this.dMenu=e}static #u=(()=>dt7948.n(this.prototype,"onRegisterApi",[a.action]))();async onShowMenu(){if(!this.loading){this.loading=!0;try{let e=this.currentUser.userDraftsStream;e.reset(),await e.findItems(this.site),this.drafts=e.content.slice(0,4)}catch(e){console.error("Failed to fetch drafts with error:",e)}finally{this.loading=!1}}}static #c=(()=>dt7948.n(this.prototype,"onShowMenu",[a.action]))();async resumeDraft(e){await this.dMenu.close(),e.postUrl?d.default.routeTo(e.postUrl):this.composer.open({draft:e,draftKey:e.draft_key,draftSequence:e.sequence,...e.data})}static #_=(()=>dt7948.n(this.prototype,"resumeDraft",[a.action]))();static #b=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"D1pNLkUz",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-small btn-default"]],[["@identifier","@title","@icon","@onShow","@onRegisterApi","@modalForMobile","@disabled"],["topic-drafts-menu",[28,[32,1],["drafts.dropdown.title"],null],"chevron-down",[30,0,["onShowMenu"]],[30,0,["onRegisterApi"]],true,[30,1]]],[["content"],[[[[1,"\\n "],[8,[32,2],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["drafts"]]],null]],null],null,[[[1," "],[8,[30,2,["item"]],[[24,0,"topic-drafts-item"]],null,[["default"],[[[[1,"\\n "],[8,[32,3],[[24,0,"btn-secondary"]],[["@action","@icon","@translatedLabel"],[[28,[32,4],[[30,0,["resumeDraft"]],[30,3]],null],[28,[30,0,["draftIcon"]],[[30,3]],null],[28,[32,5],[[30,3,["title"]],[28,[32,1],["drafts.dropdown.untitled"],null]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],null],[1,"\\n"],[41,[30,0,["showViewAll"]],[[[1," "],[8,[30,2,["divider"]],null,null,null],[1,"\\n\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,3],[[24,0,"btn-link view-all-drafts"]],[["@href","@model"],["/my/activity/drafts",[30,0,["currentUser"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,"data-other-drafts",[30,0,["otherDraftsCount"]]],[12],[1,[30,0,["otherDraftsText"]]],[13],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["drafts.dropdown.view_all"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["@disabled","dropdown","draft"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-drafts-dropdown.js",scope:()=>[m.default,h.i18n,c.default,u.default,r.fn,l.or],isStrictMode:!0}),this))()}},50610:(e,t,i)=>{"use strict";i.r(t),i.d(t,{arrow:()=>ev,autoPlacement:()=>eg,autoUpdate:()=>ep,computePosition:()=>eT,detectOverflow:()=>eh,flip:()=>e_,getOverflowAncestors:()=>G,hide:()=>eb,inline:()=>ew,limitShift:()=>ek,offset:()=>em,platform:()=>ec,shift:()=>ef,size:()=>ey});let s=["top","right","bottom","left"],n=s.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,a=Math.max,o=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function p(e,t,i){return a(e,r(t,i))}function h(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function _(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(m(e))?"y":"x"}function b(e){return f(y(e))}function w(e,t,i){void 0===i&&(i=!1);let s=g(e),n=b(e),r=_(n),a="x"===n?s===(i?"end":"start")?"right":"left":"start"===s?"bottom":"top";return t.reference[r]>t.floating[r]&&(a=T(a)),[a,T(a)]}function k(e){return e.replace(/start|end/g,e=>d[e])}function T(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function S(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:i,width:s,height:n}=e;return{width:s,height:n,top:i,left:t,right:t+s,bottom:i+n,x:t,y:i}}function A(e,t,i){let s,{reference:n,floating:r}=e,a=y(t),o=b(t),l=_(o),u=m(t),c="y"===a,d=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2,h=n[l]/2-r[l]/2;switch(u){case"top":s={x:d,y:n.y-r.height};break;case"bottom":s={x:d,y:n.y+n.height};break;case"right":s={x:n.x+n.width,y:p};break;case"left":s={x:n.x-r.width,y:p};break;default:s={x:n.x,y:n.y}}switch(g(t)){case"start":s[o]-=h*(i&&c?-1:1);break;case"end":s[o]+=h*(i&&c?-1:1)}return s}let D=async(e,t,i)=>{let{placement:s="bottom",strategy:n="absolute",middleware:r=[],platform:a}=i,o=r.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=A(u,s,l),p=s,h={},m=0;for(let i=0;ie[t]>=0)}function L(e){let t=r(...e.map(e=>e.left)),i=r(...e.map(e=>e.top));return{x:t,y:i,width:a(...e.map(e=>e.right))-t,height:a(...e.map(e=>e.bottom))-i}}async function P(e,t){let{placement:i,platform:s,elements:n}=e,r=await (null==s.isRTL?void 0:s.isRTL(n.floating)),a=m(i),o=g(i),l="y"===y(i),u=["left","top"].includes(a)?-1:1,c=r&&l?-1:1,d=h(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:_}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return o&&"number"==typeof _&&(f="end"===o?-1*_:_),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}function F(){return"undefined"!=typeof window}function I(e){return O(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(O(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function O(e){return!!F()&&(e instanceof Node||e instanceof N(e).Node)}function R(e){return!!F()&&(e instanceof Element||e instanceof N(e).Element)}function U(e){return!!F()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function B(e){return!!F()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function Y(e){let{overflow:t,overflowX:i,overflowY:s,display:n}=V(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+i)&&!["inline","contents"].includes(n)}function H(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function q(e){let t=$(),i=R(e)?V(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(i.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(i.contain||"").includes(e))}function $(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function z(e){return["html","body","#document"].includes(I(e))}function V(e){return N(e).getComputedStyle(e)}function W(e){return R(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===I(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||j(e);return B(t)?t.host:t}function G(e,t,i){var s;void 0===t&&(t=[]),void 0===i&&(i=!0);let n=function e(t){let i=K(t);return z(i)?t.ownerDocument?t.ownerDocument.body:t.body:U(i)&&Y(i)?i:e(i)}(e),r=n===(null==(s=e.ownerDocument)?void 0:s.body),a=N(n);if(r){let e=J(a);return t.concat(a,a.visualViewport||[],Y(n)?n:[],e&&i?G(e):[])}return t.concat(n,G(n,[],i))}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=V(e),i=parseFloat(t.width)||0,s=parseFloat(t.height)||0,n=U(e),r=n?e.offsetWidth:i,a=n?e.offsetHeight:s,l=o(i)!==r||o(s)!==a;return l&&(i=r,s=a),{width:i,height:s,$:l}}function X(e){return R(e)?e:e.contextElement}function Z(e){let t=X(e);if(!U(t))return u(1);let i=t.getBoundingClientRect(),{width:s,height:n,$:r}=Q(t),a=(r?o(i.width):i.width)/s,l=(r?o(i.height):i.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let ee=u(0);function et(e){let t=N(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ee}function ei(e,t,i,s){void 0===t&&(t=!1),void 0===i&&(i=!1);let n=e.getBoundingClientRect(),r=X(e),a=u(1);t&&(s?R(s)&&(a=Z(s)):a=Z(e));let o=!function(e,t,i){return void 0===t&&(t=!1),!!i&&(!t||i===N(e))&&t}(r,i,s)?u(0):et(r),l=(n.left+o.x)/a.x,c=(n.top+o.y)/a.y,d=n.width/a.x,p=n.height/a.y;if(r){let e=N(r),t=s&&R(s)?N(s):s,i=e,n=J(i);for(;n&&s&&t!==i;){let e=Z(n),t=n.getBoundingClientRect(),s=V(n),r=t.left+(n.clientLeft+parseFloat(s.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(s.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,p*=e.y,l+=r,c+=a,n=J(i=N(n))}}return C({width:d,height:p,x:l,y:c})}function es(e,t){let i=W(e).scrollLeft;return t?t.left+i:ei(j(e)).left+i}function en(e,t,i){void 0===i&&(i=!1);let s=e.getBoundingClientRect();return{x:s.left+t.scrollLeft-(i?0:es(e,s)),y:s.top+t.scrollTop}}function er(e,t,i){let s;if("viewport"===t)s=function(e,t){let i=N(e),s=j(e),n=i.visualViewport,r=s.clientWidth,a=s.clientHeight,o=0,l=0;if(n){r=n.width,a=n.height;let e=$();(!e||e&&"fixed"===t)&&(o=n.offsetLeft,l=n.offsetTop)}return{width:r,height:a,x:o,y:l}}(e,i);else if("document"===t)s=function(e){let t=j(e),i=W(e),s=e.ownerDocument.body,n=a(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),r=a(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight),o=-i.scrollLeft+es(e),l=-i.scrollTop;return"rtl"===V(s).direction&&(o+=a(t.clientWidth,s.clientWidth)-n),{width:n,height:r,x:o,y:l}}(j(e));else if(R(t))s=function(e,t){let i=ei(e,!0,"fixed"===t),s=i.top+e.clientTop,n=i.left+e.clientLeft,r=U(e)?Z(e):u(1),a=e.clientWidth*r.x,o=e.clientHeight*r.y;return{width:a,height:o,x:n*r.x,y:s*r.y}}(t,i);else{let i=et(e);s={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return C(s)}function ea(e){return"static"===V(e).position}function eo(e,t){if(!U(e)||"fixed"===V(e).position)return null;if(t)return t(e);let i=e.offsetParent;return j(e)===i&&(i=i.ownerDocument.body),i}function el(e,t){let i=N(e);if(H(e))return i;if(!U(e)){let t=K(e);for(;t&&!z(t);){if(R(t)&&!ea(t))return t;t=K(t)}return i}let s=eo(e,t);for(;s&&function(e){return["table","td","th"].includes(I(e))}(s)&&ea(s);)s=eo(s,t);return s&&z(s)&&ea(s)&&!q(s)?i:s||function(e){let t=K(e);for(;U(t)&&!z(t);){if(q(t))return t;if(H(t))break;t=K(t)}return null}(e)||i}let eu=async function(e){let t=this.getOffsetParent||el,i=this.getDimensions,s=await i(e.floating);return{reference:function(e,t,i){let s=U(t),n=j(t),r="fixed"===i,a=ei(e,!0,r,t),o={scrollLeft:0,scrollTop:0},l=u(0);if(s||!s&&!r)if(("body"!==I(t)||Y(n))&&(o=W(t)),s){let e=ei(t,!0,r,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&(l.x=es(n));let c=!n||s||r?u(0):en(n,o);return{x:a.left+o.scrollLeft-l.x-c.x,y:a.top+o.scrollTop-l.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}},ec={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:s,strategy:n}=e,r="fixed"===n,a=j(s),o=!!t&&H(t.floating);if(s===a||o&&r)return i;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),p=U(s);if((p||!p&&!r)&&(("body"!==I(s)||Y(a))&&(l=W(s)),U(s))){let e=ei(s);c=Z(s),d.x=e.x+s.clientLeft,d.y=e.y+s.clientTop}let h=!a||p||r?u(0):en(a,l,!0);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:i.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:s,strategy:n}=e,o=[..."clippingAncestors"===i?H(t)?[]:function(e,t){let i=t.get(e);if(i)return i;let s=G(e,[],!1).filter(e=>R(e)&&"body"!==I(e)),n=null,r="fixed"===V(e).position,a=r?K(e):e;for(;R(a)&&!z(a);){let t=V(a),i=q(a);i||"fixed"!==t.position||(n=null),(r?!i&&!n:!i&&"static"===t.position&&!!n&&["absolute","fixed"].includes(n.position)||Y(a)&&!i&&function e(t,i){let s=K(t);return!(s===i||!R(s)||z(s))&&("fixed"===V(s).position||e(s,i))}(e,a))?s=s.filter(e=>e!==a):n=t,a=K(a)}return t.set(e,s),s}(t,this._c):[].concat(i),s],l=o[0],u=o.reduce((e,i)=>{let s=er(t,i,n);return e.top=a(s.top,e.top),e.right=r(s.right,e.right),e.bottom=r(s.bottom,e.bottom),e.left=a(s.left,e.left),e},er(t,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:el,getElementRects:eu,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:i}=Q(e);return{width:t,height:i}},getScale:Z,isElement:R,isRTL:function(e){return"rtl"===V(e).direction}};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ep(e,t,i,s){let n;void 0===s&&(s={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=s,h=X(e),m=o||u?[...h?G(h):[],...G(t)]:[];m.forEach(e=>{o&&e.addEventListener("scroll",i,{passive:!0}),u&&e.addEventListener("resize",i)});let g=h&&d?function(e,t){let i,s=null,n=j(e);function o(){var e;clearTimeout(i),null==(e=s)||e.disconnect(),s=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),o();let p=e.getBoundingClientRect(),{left:h,top:m,width:g,height:f}=p;if(c||t(),!g||!f)return;let _=l(m),y=l(n.clientWidth-(h+g)),b={rootMargin:-_+"px "+-y+"px "+-l(n.clientHeight-(m+f))+"px "+-l(h)+"px",threshold:a(0,r(1,d))||1},w=!0;function k(t){let s=t[0].intersectionRatio;if(s!==d){if(!w)return u();s?u(!1,s):i=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==s||ed(p,e.getBoundingClientRect())||u(),w=!1}try{s=new IntersectionObserver(k,{...b,root:n.ownerDocument})}catch(e){s=new IntersectionObserver(k,b)}s.observe(e)}(!0),o}(h,i):null,f=-1,_=null;c&&(_=new ResizeObserver(e=>{let[s]=e;s&&s.target===h&&_&&(_.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=_)||e.observe(t)})),i()}),h&&!p&&_.observe(h),_.observe(t));let y=p?ei(e):null;return p&&function t(){let s=ei(e);y&&!ed(y,s)&&i(),y=s,n=requestAnimationFrame(t)}(),i(),()=>{var e;m.forEach(e=>{o&&e.removeEventListener("scroll",i),u&&e.removeEventListener("resize",i)}),null==g||g(),null==(e=_)||e.disconnect(),_=null,p&&cancelAnimationFrame(n)}}let eh=M,em=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,s;let{x:n,y:r,placement:a,middlewareData:o}=t,l=await P(t,e);return a===(null==(i=o.offset)?void 0:i.placement)&&null!=(s=o.arrow)&&s.alignmentOffset?{}:{x:n+l.x,y:r+l.y,data:{...l,placement:a}}}}},eg=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,s,r;let{rects:a,middlewareData:o,placement:l,platform:u,elements:c}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:f=n,autoAlignment:_=!0,...y}=h(e,t),b=void 0!==p||f===n?function(e,t,i){return(e?[...i.filter(t=>g(t)===e),...i.filter(t=>g(t)!==e)]:i.filter(e=>m(e)===e)).filter(i=>!e||g(i)===e||!!t&&k(i)!==i)}(p||null,_,f):f,T=await M(t,y),S=(null==(i=o.autoPlacement)?void 0:i.index)||0,C=b[S];if(null==C)return{};let A=w(C,a,await (null==u.isRTL?void 0:u.isRTL(c.floating)));if(l!==C)return{reset:{placement:b[0]}};let D=[T[m(C)],T[A[0]],T[A[1]]],x=[...(null==(s=o.autoPlacement)?void 0:s.overflows)||[],{placement:C,overflows:D}],E=b[S+1];if(E)return{data:{index:S+1,overflows:x},reset:{placement:E}};let L=x.map(e=>{let t=g(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),P=(null==(r=L.filter(e=>e[2].slice(0,g(e[0])?2:3).every(e=>e<=0))[0])?void 0:r[0])||L[0][0];return P!==l?{data:{index:S+1,overflows:x},reset:{placement:P}}:{}}}},ef=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:i,y:s,placement:n}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:o={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...l}=h(e,t),u={x:i,y:s},c=await M(t,l),d=y(m(n)),g=f(d),_=u[g],b=u[d];if(r){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",i=_+c[e],s=_-c[t];_=p(i,_,s)}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",i=b+c[e],s=b-c[t];b=p(i,b,s)}let w=o.fn({...t,[g]:_,[d]:b});return{...w,data:{x:w.x-i,y:w.y-s}}}}},e_=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,s,n,r,a;let{placement:o,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:f=!0,crossAxis:_=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:A=!0,...D}=h(e,t);if(null!=(i=l.arrow)&&i.alignmentOffset)return{};let x=m(o),E=y(c),L=m(c)===c,P=await (null==d.isRTL?void 0:d.isRTL(p.floating)),F=b||(L||!A?[T(c)]:function(e){let t=T(e);return[k(e),t,k(t)]}(c)),I="none"!==C;!b&&I&&F.push(...function(e,t,i,s){let n=g(e),r=function(e,t,i){let s=["left","right"],n=["right","left"];switch(e){case"top":case"bottom":if(i)return t?n:s;return t?s:n;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===i,s);return n&&(r=r.map(e=>e+"-"+n),t&&(r=r.concat(r.map(k)))),r}(c,A,C,P));let N=[c,...F],j=await M(t,D),O=[],R=(null==(s=l.flip)?void 0:s.overflows)||[];if(f&&O.push(j[x]),_){let e=w(o,u,P);O.push(j[e[0]],j[e[1]])}if(R=[...R,{placement:o,overflows:O}],!O.every(e=>e<=0)){let e=((null==(n=l.flip)?void 0:n.index)||0)+1,t=N[e];if(t)return{data:{index:e,overflows:R},reset:{placement:t}};let i=null==(r=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:r.placement;if(!i)switch(S){case"bestFit":{let e=null==(a=R.filter(e=>{if(I){let t=y(e.placement);return t===E||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(i=e);break}case"initialPlacement":i=c}if(o!==i)return{reset:{placement:i}}}return{}}}},ey=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let i,s,{placement:n,rects:o,platform:l,elements:u}=t,{apply:c=()=>{},...d}=h(e,t),p=await M(t,d),f=m(n),_=g(n),b="y"===y(n),{width:w,height:k}=o.floating;"top"===f||"bottom"===f?(i=f,s=_===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(s=f,i="end"===_?"top":"bottom");let T=k-p.top-p.bottom,S=w-p.left-p.right,C=r(k-p[i],T),A=r(w-p[s],S),D=!t.middlewareData.shift,x=C,E=A;if(b?E=_||D?r(A,S):S:x=_||D?r(C,T):T,D&&!_){let e=a(p.left,0),t=a(p.right,0),i=a(p.top,0),s=a(p.bottom,0);b?E=w-2*(0!==e||0!==t?e+t:a(p.left,p.right)):x=k-2*(0!==i||0!==s?i+s:a(p.top,p.bottom))}await c({...t,availableWidth:E,availableHeight:x});let L=await l.getDimensions(u.floating);return w!==L.width||k!==L.height?{reset:{rects:!0}}:{}}}},eb=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:i}=t,{strategy:s="referenceHidden",...n}=h(e,t);switch(s){case"referenceHidden":{let e=x(await M(t,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:E(e)}}}case"escaped":{let e=x(await M(t,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:E(e)}}}default:return{}}}}},ev=e=>({name:"arrow",options:e,async fn(t){let{x:i,y:s,placement:n,rects:a,platform:o,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=h(e,t)||{};if(null==c)return{};let m=S(d),f={x:i,y:s},y=b(n),w=_(y),k=await o.getDimensions(c),T="y"===y,C=T?"clientHeight":"clientWidth",A=a.reference[w]+a.reference[y]-f[y]-a.floating[w],D=f[y]-a.reference[y],M=await (null==o.getOffsetParent?void 0:o.getOffsetParent(c)),x=M?M[C]:0;x&&await (null==o.isElement?void 0:o.isElement(M))||(x=l.floating[C]||a.floating[w]);let E=x/2-k[w]/2-1,L=r(m[T?"top":"left"],E),P=r(m[T?"bottom":"right"],E),F=x-k[w]-P,I=x/2-k[w]/2+(A/2-D/2),N=p(L,I,F),j=!u.arrow&&null!=g(n)&&I!==N&&a.reference[w]/2-(Ie.y-t.y),i=[],s=null;for(let e=0;es.height/2?i.push([n]):i[i.length-1].push(n),s=n}return i.map(e=>C(L(e)))}(p),f=C(L(p)),_=S(u),b=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=c&&null!=d)return g.find(e=>c>e.left-_.left&&ce.top-_.top&&d=2){if("y"===y(i)){let e=g[0],t=g[g.length-1],s="top"===m(i),n=e.top,r=t.bottom,a=s?e.left:t.left,o=s?e.right:t.right;return{top:n,bottom:r,left:a,right:o,width:o-a,height:r-n,x:a,y:n}}let e="left"===m(i),t=a(...g.map(e=>e.right)),s=r(...g.map(e=>e.left)),n=g.filter(i=>e?i.left===s:i.right===t),o=n[0].top,l=n[n.length-1].bottom;return{top:o,bottom:l,left:s,right:t,width:t-s,height:l-o,x:s,y:o}}return f}},floating:s.floating,strategy:l});return n.reference.x!==b.reference.x||n.reference.y!==b.reference.y||n.reference.width!==b.reference.width||n.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ek=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:i,y:s,placement:n,rects:r,middlewareData:a}=t,{offset:o=0,mainAxis:l=!0,crossAxis:u=!0}=h(e,t),c={x:i,y:s},d=y(n),p=f(d),g=c[p],_=c[d],b=h(o,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){let e="y"===p?"height":"width",t=r.reference[p]-r.floating[e]+w.mainAxis,i=r.reference[p]+r.reference[e]-w.mainAxis;gi&&(g=i)}if(u){var k,T;let e="y"===p?"width":"height",t=["top","left"].includes(m(n)),i=r.reference[d]-r.floating[e]+(t&&(null==(k=a.offset)?void 0:k[d])||0)+(t?0:w.crossAxis),s=r.reference[d]+r.reference[e]+(t?0:(null==(T=a.offset)?void 0:T[d])||0)-(t?w.crossAxis:0);_s&&(_=s)}return{[p]:g,[d]:_}}}},eT=(e,t,i)=>{let s=new Map,n={platform:ec,...i},r={...n.platform,_c:s};return D(e,t,{...n,platform:r})}},50642:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i,s){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[i][0]:n[i][1]}function i(e){if(isNaN(e=parseInt(e,10)))return!1;if(e<0)return!0;if(e<10)return!!(4<=e)&&!!(e<=7);if(e<100){var t=e%10,s=e/10;return 0===t?i(s):i(t)}if(!(e<1e4))return i(e/=1e3);for(;e>=10;)e/=10;return i(e)}return e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},50703:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(72799),n=i(25604),r=i(75527),a=i(71369),o=i(71209);class l extends s.default{onChange(e){this.set("value",e),this.valueChanged&&this.valueChanged({target:{value:e}})}static #e=(()=>dt7948.n(this.prototype,"onChange",[r.action]))();static #t=(()=>(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"4IkCBHF5",block:'[[[1,"\\n "],[8,[32,0],null,[["@value","@onChange","@options"],[[30,0,["value"]],[30,0,["onChange"]],[28,[32,1],null,[["categoryId"],[[30,0,["tagCategoryId"]]]]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-tags.js",scope:()=>[a.default,n.hash],isStrictMode:!0}),this))()}},50709:(e,t,i)=>{"use strict";i.r(t),i.d(t,{C:()=>a,I:()=>p,R:()=>_,g:()=>h,p:()=>w,s:()=>m});var s=i(61535),n=i(15890);i(11191);var r=i(2143);class a{static _leakTracking;owner;registry;cache;factoryManagerCache;validationCache;isDestroyed;isDestroying;constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.registry=e,this.owner=t.owner||null,this.cache=(0,n.m)(t.cache||null),this.factoryManagerCache=(0,n.m)(t.factoryManagerCache||null),this.isDestroyed=!1,this.isDestroying=!1}lookup(e,t){if(this.isDestroyed)throw Error(`Cannot call \`.lookup('${e}')\` after the owner has been destroyed`);return function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!0===i.singleton||void 0===i.singleton&&o(e,t)){let i=e.cache[t];if(void 0!==i)return i}return function(e,t,i,s){let n=u(e,t,i);if(void 0!==n){if(function(e,t,i){let{instantiate:s,singleton:n}=i;return!1!==n&&!1!==s&&(!0===n||o(e,t))&&l(e,t)}(e,i,s)){let i=e.cache[t]=n.create();return e.isDestroying&&"function"==typeof i.destroy&&i.destroy(),i}if(function(e,t,i){let{instantiate:s,singleton:n}=i;return!1!==s&&(!1===n||!o(e,t))&&l(e,t)}(e,i,s))return n.create();if(function(e,t,i){let{instantiate:s,singleton:n}=i;return!1!==n&&!s&&o(e,t)&&!l(e,t)}(e,i,s)||function(e,t,i){let{instantiate:s,singleton:n}=i;return!1===s&&(!1===n||!o(e,t))&&!l(e,t)}(e,i,s))return n.class;throw Error("Could not create factory")}}(e,t,t,i)}(this,this.registry.normalize(e),t)}destroy(){this.isDestroying=!0,c(this)}finalizeDestroy(){d(this),this.isDestroyed=!0}reset(e){this.isDestroyed||(void 0===e?(c(this),d(this)):function(e,t){let i=e.cache[t];delete e.factoryManagerCache[t],i&&(delete e.cache[t],i.destroy&&i.destroy())}(this,this.registry.normalize(e)))}ownerInjection(){let e={};return(0,r.setOwner)(e,this.owner),e}factoryFor(e){if(this.isDestroyed)throw Error(`Cannot call \`.factoryFor('${e}')\` after the owner has been destroyed`);return u(this,this.registry.normalize(e),e)}}function o(e,t){return!1!==e.registry.getOption(t,"singleton")}function l(e,t){return!1!==e.registry.getOption(t,"instantiate")}function u(e,t,i){let s=e.factoryManagerCache[t];if(void 0!==s)return s;let n=e.registry.resolve(t);if(void 0===n)return;let r=new g(e,n,i,t);return e.factoryManagerCache[t]=r,r}function c(e){let t=e.cache;for(let e of Object.keys(t)){let i=t[e];i.destroy&&i.destroy()}}function d(e){e.cache=(0,n.m)(null),e.factoryManagerCache=(0,n.m)(null)}let p=Symbol("INIT_FACTORY");function h(e){return e[p]}function m(e,t){e[p]=t}class g{container;owner;class;fullName;normalizedName;madeToString;injections;constructor(e,t,i,s){this.container=e,this.owner=e.owner,this.class=t,this.fullName=i,this.normalizedName=s,this.madeToString=void 0,this.injections=void 0}toString(){return void 0===this.madeToString&&(this.madeToString=this.container.registry.makeToString(this.class,this.fullName)),this.madeToString}create(e){let{container:t}=this;if(t.isDestroyed)throw Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);let i=e?{...e}:{};return(0,r.setOwner)(i,t.owner),m(i,this),this.class.create(i)}}let f=/^[^:]+:[^:]+$/;class _{_failSet;resolver;fallback;registrations;_normalizeCache;_options;_resolveCache;_typeOptions;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fallback=e.fallback||null,this.resolver=e.resolver||null,this.registrations=(0,n.m)(e.registrations||null),this._normalizeCache=(0,n.m)(null),this._resolveCache=(0,n.m)(null),this._failSet=new Set,this._options=(0,n.m)(null),this._typeOptions=(0,n.m)(null)}container(e){return new a(this,e)}register(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this.normalize(e);this._failSet.delete(s),this.registrations[s]=t,this._options[s]=i}unregister(e){let t=this.normalize(e);delete this.registrations[t],delete this._resolveCache[t],delete this._options[t],this._failSet.delete(t)}resolve(e){let t=function(e,t){let i,s=e._resolveCache[t];return void 0!==s?s:e._failSet.has(t)?void 0:(e.resolver&&(i=e.resolver.resolve(t)),void 0===i&&(i=e.registrations[t]),void 0===i?e._failSet.add(t):e._resolveCache[t]=i,i)}(this,this.normalize(e));return void 0===t&&null!==this.fallback&&(t=this.fallback.resolve(e)),t}describe(e){return null!==this.resolver&&this.resolver.lookupDescription?this.resolver.lookupDescription(e):null!==this.fallback?this.fallback.describe(e):e}normalizeFullName(e){return null!==this.resolver&&this.resolver.normalize?this.resolver.normalize(e):null!==this.fallback?this.fallback.normalizeFullName(e):e}normalize(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this.normalizeFullName(e))}makeToString(e,t){return null!==this.resolver&&this.resolver.makeToString?this.resolver.makeToString(e,t):null!==this.fallback?this.fallback.makeToString(e,t):"string"==typeof e?e:e.name??"(unknown class)"}has(e){return!!this.isValidFullName(e)&&function(e,t){return void 0!==e.resolve(t)}(this,this.normalize(e))}optionsForType(e,t){this._typeOptions[e]=t}getOptionsForType(e){let t=this._typeOptions[e];return void 0===t&&null!==this.fallback&&(t=this.fallback.getOptionsForType(e)),t}options(e,t){let i=this.normalize(e);this._options[i]=t}getOptions(e){let t=this.normalize(e),i=this._options[t];return void 0===i&&null!==this.fallback&&(i=this.fallback.getOptions(e)),i}getOption(e,t){let i=this._options[e];if(void 0!==i&&void 0!==i[t])return i[t];let s=e.split(":")[0];return(i=this._typeOptions[s])&&void 0!==i[t]?i[t]:null!==this.fallback?this.fallback.getOption(e,t):void 0}knownForType(e){let t,i,s=(0,n.m)(null);for(let t of Object.keys(this.registrations))t.split(":")[0]===e&&(s[t]=!0);return null!==this.fallback&&(t=this.fallback.knownForType(e)),null!==this.resolver&&this.resolver.knownForType&&(i=this.resolver.knownForType(e)),Object.assign({},t,s,i)}isValidFullName(e){return f.test(e)}}let y=(0,n.m)(null),b=`${Math.random()}${Date.now()}`.replace(".","");function w(e){let[t]=e,i=y[t];if(i)return i;let[n,r]=t.split(":");return y[t]=(0,s.i)(`${n}:${r}-${b}`)}},50725:(e,t,i)=>{var s=i(44814),n=i(47398),r=i(47875),a=i(8492),o=i(14453),l=i(94195);e.exports=function e(t,i){var u=i&&i.document||s,c=i?i.warn:null;if(o(t=l(t).a))return t.init();if(a(t))return u.createTextNode(t.text);if(!r(t))return c&&c("Item is not a valid virtual dom node",t),null;var d=null===t.namespace?u.createElement(t.tagName):u.createElementNS(t.namespace,t.tagName);n(d,t.properties);for(var p=t.children,h=0;h{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(12125),n=i(18555);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"activeTooltip",[s.tracked]))();#uB=(()=>void dt7948.i(this,"activeTooltip"))()}},50754:(e,t,i)=>{"use strict";function s(e){"function"==typeof e.constructor.proto&&e.constructor.proto()}i.r(t),i.d(t,{default:()=>s})},50771:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(75527),n=i(83426),r=i(32504),a=i(81185),o=i(72799),l=i(71209);let u=dt7948.c(class extends a.default{get palettes(){return(0,n.htmlSafe)((this.item.colors||[]).filter(e=>"secondary"!==e.name).map(e=>`#${escape(e.hex)}`).map(e=>``).join(""))}static #e=(()=>dt7948.n(this.prototype,"palettes",[(0,s.computed)("item.colors.[]")]))();get backgroundColor(){let e=(this.item.colors||[]).findBy("name","secondary");return e&&e.hex?(0,n.htmlSafe)(`background-color:#${escape(e.hex)}`):""}static #t=(()=>dt7948.n(this.prototype,"backgroundColor",[(0,s.computed)("item.colors.[]")]))();static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"GdwnG84i",block:'[[[1,"\\n "],[10,1],[14,0,"name"],[12],[1,"\\n "],[1,[30,0,["label"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["item","colors"]],[[[1," "],[10,0],[14,0,"palettes"],[15,5,[30,0,["backgroundColor"]]],[12],[1,"\\n "],[1,[30,0,["palettes"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/color-palettes/color-palettes-row.js",isStrictMode:!0}),this))()},[(0,r.classNames)("color-palettes-row")])},50798:(e,t,i)=>{"use strict";i.r(t),i.d(t,{RouterDSL:()=>n.default,controllerFor:()=>r.default,generateController:()=>s.default,generateControllerFactory:()=>s.generateControllerFactory}),i(78212),i(61535),i(11191),i(77350),i(38230),i(8215),i(42938),i(80725),i(88919),i(76778),i(27578),i(80789),i(13834);var s=i(39214),n=i(26909),r=i(78100)},51064:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e){if(e%100==11);else if(e%10==1)return!1;return!0}function i(e,i,s,n){var r=e+" ";switch(s){case"s":return i||n?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":if(t(e))return r+(i||n?"sekúndur":"sekúndum");return r+"sekúnda";case"m":return i?"mínúta":"mínútu";case"mm":if(t(e))return r+(i||n?"mínútur":"mínútum");if(i)return r+"mínúta";return r+"mínútu";case"hh":if(t(e))return r+(i||n?"klukkustundir":"klukkustundum");return r+"klukkustund";case"d":if(i)return"dagur";return n?"dag":"degi";case"dd":if(t(e)){if(i)return r+"dagar";return r+(n?"daga":"dögum")}if(i)return r+"dagur";return r+(n?"dag":"degi");case"M":if(i)return"mánuður";return n?"mánuð":"mánuði";case"MM":if(t(e)){if(i)return r+"mánuðir";return r+(n?"mánuði":"mánuðum")}if(i)return r+"mánuður";return r+(n?"mánuð":"mánuði");case"y":return i||n?"ár":"ári";case"yy":if(t(e))return r+(i||n?"ár":"árum");return r+(i||n?"ár":"ári")}}return e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},51142:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(32504),r=i(88820),a=i(32019),o=i(84190);let l=dt7948.c(class extends a.default{get content(){return[{id:"notYou",icon:"user-xmark",name:(0,r.i18n)("user.auth_tokens.not_you"),description:""},{id:"logOut",icon:"right-from-bracket",name:(0,r.i18n)("user.log_out"),description:""}]}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();onChange(e){switch(e){case"notYou":this.showToken(this.token);break;case"logOut":this.revokeAuthToken(this.token)}}static #t=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,o.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,n.classNames)("auth-token-dropdown")])},51189:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(2143),n=i(77667),r=i(75527),a=i(72613),o=i(78373),l=i(75289),u=i(38230);i(11191);var c=i(42938);i(78212),i(61535),i(77350),i(8215),i(80725);var d=i(55529);function p(e,t){if(Symbol.iterator in e)for(let i of e)t(i);else(0,d.assert)("","function"==typeof e.forEach),e.forEach(t)}class h{recordCaches=(()=>new Map)();added=[];updated=[];removed=[];getCacheForItem(e){let t=this.recordCaches.get(e);if(!t){let i=!1;t=(0,u.createCache)(()=>{i?this.updated.push(this.wrapRecord(e)):(this.added.push(this.wrapRecord(e)),i=!0)}),this.recordCaches.set(e,t)}return t}constructor(e,t,i,s,n,r){this.wrapRecord=n,this.release=r,this.recordArrayCache=(0,u.createCache)(()=>{let r=new Set;(0,u.consumeTag)((0,u.tagFor)(e,"[]")),p(e,e=>{(0,u.getValue)(this.getCacheForItem(e)),r.add(e)}),(0,u.untrack)(()=>{this.recordCaches.forEach((e,t)=>{r.has(t)||(this.removed.push(n(t)),this.recordCaches.delete(t))})}),this.added.length>0&&(t(this.added),this.added=[]),this.updated.length>0&&(i(this.updated),this.updated=[]),this.removed.length>0&&(s(this.removed),this.removed=[])})}revalidate(){(0,u.getValue)(this.recordArrayCache)}}class m{constructor(e,t,i){this.release=i;let s=!1;this.cache=(0,u.createCache)(()=>{p(e,()=>{}),(0,u.consumeTag)((0,u.tagFor)(e,"[]")),!0===s?(0,n.next)(t):s=!0}),this.release=i}revalidate(){(0,u.getValue)(this.cache)}}class g extends r.default{releaseMethods=(()=>(0,l.A)())();recordsWatchers=(()=>new Map)();typeWatchers=(()=>new Map)();flushWatchers=null;constructor(e){super(e),this.containerDebugAdapter=(0,s.getOwner)(this).lookup("container-debug-adapter:main")}attributeLimit=3;acceptsModelName=!0;getFilters(){return(0,l.A)()}watchModelTypes(e,t){let i=this.getModelTypes(),s=(0,l.A)();e(i.map(e=>{let i=e.klass,n=this.wrapModelType(i,e.name);return s.push(this.observeModelType(e.name,t)),n}));let n=()=>{s.forEach(e=>e()),this.releaseMethods.removeObject(n)};return this.releaseMethods.pushObject(n),n}_nameToClass(e){if("string"==typeof e){let t=(0,s.getOwner)(this).factoryFor(`model:${e}`);e=t&&t.class}return e}watchRecords(e,t,i,s){let n=this._nameToClass(e),r=this.getRecords(n,e),{recordsWatchers:a}=this,o=a.get(r);return o||(o=new h(r,t,i,s,e=>this.wrapRecord(e),()=>{a.delete(r),this.updateFlushWatchers()}),a.set(r,o),this.updateFlushWatchers(),o.revalidate()),o.release}updateFlushWatchers(){null===this.flushWatchers?(this.typeWatchers.size>0||this.recordsWatchers.size>0)&&(this.flushWatchers=()=>{this.typeWatchers.forEach(e=>e.revalidate()),this.recordsWatchers.forEach(e=>e.revalidate())},n._backburner.on("end",this.flushWatchers)):0===this.typeWatchers.size&&0===this.recordsWatchers.size&&(n._backburner.off("end",this.flushWatchers),this.flushWatchers=null)}willDestroy(){this._super(...arguments),this.typeWatchers.forEach(e=>e.release()),this.recordsWatchers.forEach(e=>e.release()),this.releaseMethods.forEach(e=>e()),this.flushWatchers&&n._backburner.off("end",this.flushWatchers)}detect(e){return!1}columnsForType(e){return(0,l.A)()}observeModelType(e,t){let i=this._nameToClass(e),s=this.getRecords(i,e),{typeWatchers:n}=this,r=n.get(s);return r||(r=new m(s,()=>{t([this.wrapModelType(i,e)])},()=>{n.delete(s),this.updateFlushWatchers()}),n.set(s,r),this.updateFlushWatchers(),r.revalidate()),r.release}wrapModelType(e,t){let i=this.getRecords(e,t);return{name:t,count:(0,c.g)(i,"length"),columns:this.columnsForType(e),object:e}}getModelTypes(){let e=this.containerDebugAdapter;return(e.canCatalogEntriesByType("model")?e.catalogEntriesByType("model"):this._getObjectsOnNamespaces()).map(e=>({klass:this._nameToClass(e),name:e})).filter(e=>this.detect(e.klass))}_getObjectsOnNamespaces(){let e=o.default.NAMESPACES,t=[];return e.forEach(e=>{for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||!this.detect(e[i]))continue;let s=(0,a.dasherize)(i);t.push(s)}}),t}getRecords(e,t){return(0,l.A)()}wrapRecord(e){return{object:e,columnValues:this.getRecordColumnValues(e),searchKeywords:this.getRecordKeywords(e),filterValues:this.getRecordFilterValues(e),color:this.getRecordColor(e)}}getRecordColumnValues(e){return{}}getRecordKeywords(e){return(0,l.A)()}getRecordFilterValues(e){return{}}getRecordColor(e){return null}}},51196:(e,t,i)=>{"use strict";function s(e){return e.split("-")[1]}i.d(t,{A:()=>s})},51210:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(87531),n=i(72799),r=i(25604),a=i(75527),o=i(73993),l=i(18555),u=i(88761),c=i(32504),d=i(13489),p=i(81539),h=i(74014),m=i(67486),g=i(72523),f=i(53514),_=i(88820),y=i(20244),b=i(5363),w=i(71209);let k=(0,i(74828).A)(i(87531)).cached,T=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[l.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[l.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"site",[l.service]))();#r=(()=>void dt7948.i(this,"site"))();static #s=(()=>dt7948.g(this.prototype,"model",[s.tracked]))();#i8=(()=>void dt7948.i(this,"model"))();allGroups=this.site.groups.filter(e=>{let{id:t}=e;return 0!==t});get buffered(){return d.default.create({content:this.model})}static #u=(()=>dt7948.n(this.prototype,"buffered",[o.dependentKeyCompat,k]))();selectedGroupIds(e){if(!e)return[];let t=[];for(let[i,s]of Object.entries(e)){let e=parseInt(i,10);0!==e&&s===f.default.FULL&&t.push(e)}return t}static #c=(()=>dt7948.n(this.prototype,"selectedGroupIds",[(0,g.default)("buffered.permissions")]))();setPermissionsGroups(e){let t={};e.forEach(e=>t[e]=f.default.FULL),this.buffered.set("permissions",t)}static #_=(()=>dt7948.n(this.prototype,"setPermissionsGroups",[a.action]))();save(){let e=this.buffered.getProperties("name","tag_names","parent_tag_name","one_per_topic","permissions");if((0,u.isEmpty)(e.name))return this.dialog.alert("tagging.groups.cannot_save.empty_name"),!1;if((0,u.isEmpty)(e.tag_names))return this.dialog.alert("tagging.groups.cannot_save.no_tags"),!1;e.permissions??={};let t=this.buffered.get("permissionName");if("public"===t)e.permissions={0:f.default.FULL};else if("visible"===t)e.permissions[0]=f.default.READONLY;else{if("private"!==t)return this.dialog.alert("tagging.groups.cannot_save.no_groups"),!1;delete e.permissions[0]}this.model.save(e).then(()=>this.onSave?.())}static #b=(()=>dt7948.n(this.prototype,"save",[a.action]))();destroyTagGroup(){return this.dialog.yesNoConfirm({message:(0,_.i18n)("tagging.groups.confirm_delete"),didConfirm:()=>this.model.destroyRecord().then(()=>this.onDestroy?.())})}static #v=(()=>dt7948.n(this.prototype,"destroyTagGroup",[a.action]))();static #w=(()=>(0,n.setComponentTemplate)((0,w.createTemplateFactory)({id:"b3uRz0k5",block:'[[[1,"\\n "],[10,"section"],[14,0,"group-name"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["tagging.groups.name_placeholder"],null]],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,1],null,[["@value"],[[30,0,["buffered","name"]]]],null],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"group-tags-list"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["tagging.groups.tags_label"],null]],[13],[10,"br"],[12],[13],[1,"\\n "],[8,[32,2],null,[["@tags","@everyTag","@unlimitedTagCount","@excludeSynonyms","@options"],[[30,0,["buffered","tag_names"]],true,true,true,[28,[32,3],null,[["allowAny","filterPlaceholder"],[true,"tagging.groups.tags_placeholder"]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"parent-tag-section"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["tagging.groups.parent_tag_label"],null]],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,2],null,[["@tags","@everyTag","@excludeSynonyms","@options"],[[30,0,["buffered","parent_tag_name"]],true,true,[28,[32,3],null,[["allowAny","filterPlaceholder","maximum"],[true,"tagging.groups.parent_tag_placeholder",1]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"description"],[12],[1,[28,[32,0],["tagging.groups.parent_tag_description"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"group-one-per-topic"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,4],[[24,3,"onepertopic"]],[["@type","@checked"],["checkbox",[30,0,["buffered","one_per_topic"]]]],null],[1,"\\n "],[1,[28,[32,0],["tagging.groups.one_per_topic_label"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"group-visibility"],[12],[1,"\\n "],[10,0],[14,0,"group-visibility-option"],[12],[1,"\\n "],[8,[32,5],[[24,0,"tag-permissions-choice"]],[["@name","@value","@id","@selection"],["tag-permissions-choice","public","public-permission",[30,0,["buffered","permissionName"]]]],null],[1,"\\n\\n "],[10,"label"],[14,0,"radio"],[14,"for","public-permission"],[12],[1,"\\n "],[1,[28,[32,0],["tagging.groups.everyone_can_use"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"group-visibility-option"],[12],[1,"\\n "],[8,[32,5],[[24,0,"tag-permissions-choice"]],[["@name","@value","@id","@selection"],["tag-permissions-choice","visible","visible-permission",[30,0,["buffered","permissionName"]]]],null],[1,"\\n\\n "],[10,"label"],[14,0,"radio"],[14,"for","visible-permission"],[12],[1,"\\n "],[1,[28,[32,0],["tagging.groups.usable_only_by_groups"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"group-access-control"],[12],[1,"\\n "],[8,[32,6],null,[["@content","@value","@labelProperty","@onChange","@options"],[[30,0,["allGroups"]],[30,0,["selectedGroupIds"]],"name",[30,0,["setPermissionsGroups"]],[28,[32,3],null,[["filterPlaceholder"],["tagging.groups.select_groups_placeholder"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"group-visibility-option"],[12],[1,"\\n "],[8,[32,5],[[24,0,"tag-permissions-choice"]],[["@name","@value","@id","@selection"],["tag-permissions-choice","private","private-permission",[30,0,["buffered","permissionName"]]]],null],[1,"\\n\\n "],[10,"label"],[14,0,"radio"],[14,"for","private-permission"],[12],[1,"\\n "],[1,[28,[32,0],["tagging.groups.visible_only_to_groups"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"group-access-control"],[12],[1,"\\n "],[8,[32,6],null,[["@content","@value","@labelProperty","@onChange","@options"],[[30,0,["allGroups"]],[30,0,["selectedGroupIds"]],"name",[30,0,["setPermissionsGroups"]],[28,[32,3],null,[["filterPlaceholder"],["tagging.groups.select_groups_placeholder"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"tag-group-controls"],[12],[1,"\\n "],[8,[32,7],[[24,0,"btn-primary"]],[["@action","@disabled","@label"],[[30,0,["save"]],[30,0,["buffered","isSaving"]],"tagging.groups.save"]],null],[1,"\\n\\n "],[8,[32,7],[[24,0,"btn-danger"]],[["@action","@disabled","@icon","@label"],[[30,0,["destroyTagGroup"]],[30,0,["buffered","isNew"]],"trash-can","tagging.groups.delete"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/tag-groups-form.js",scope:()=>[_.i18n,m.default,b.default,r.hash,n.Input,h.default,y.default,p.default],isStrictMode:!0}),this))()},[(0,c.tagName)("")])},51303:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(72799),n=i(25604),r=i(4781),a=i(75527),o=i(32504),l=i(73784),u=i(53769),c=i(12733),d=i(72523),p=i(88820),h=i(71209);let m=dt7948.c(class extends s.default{showMuted=!1;mutedToggleIcon(e,t){if(0!==t)return e?"minus":"plus"}static #e=(()=>dt7948.n(this.prototype,"mutedToggleIcon",[(0,d.default)("showMutedCategories","filteredCategories.length")]))();showMutedCategories(e,t){return e||0===t}static #t=(()=>dt7948.n(this.prototype,"showMutedCategories",[(0,d.default)("showMuted","filteredCategories.length")]))();filteredCategories(e,t){return e&&0!==t?e.filter(e=>!e.isHidden):[]}static #i=(()=>dt7948.n(this.prototype,"filteredCategories",[(0,d.default)("categories","categories.length")]))();mutedCategories(e,t){return!e||0===t||e.firstObject.parent_category_id?[]:e.filterBy("hasMuted")}static #s=(()=>dt7948.n(this.prototype,"mutedCategories",[(0,d.default)("categories","categories.length")]))();toggleShowMuted(e){e?.preventDefault(),this.toggleProperty("showMuted")}static #u=(()=>dt7948.n(this.prototype,"toggleShowMuted",[a.action]))();static #c=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"y5/hPRYf",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["categories-only-wrapper",[28,[32,1],null,[["categories"],[[30,0,["categories"]]]]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["categories"]],[[[41,[30,0,["filteredCategories"]],[[[41,[30,0,["site","mobileView"]],[[[1," "],[10,0],[15,0,[29,["category-list ",[52,[30,0,["showTopics"]],"with-topics"]]]],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["mobile-categories",[28,[32,1],null,[["categories"],[[30,0,["filteredCategories"]]]]]]],[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["filteredCategories"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@category","@showTopics"],[[30,1],[30,0,["showTopics"]]]],null],[1,"\\n"]],[1]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"table"],[15,0,[29,["category-list ",[52,[30,0,["showTopics"]],"with-topics"]]]],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[14,0,"category"],[12],[10,1],[14,"role","heading"],[14,"aria-level","2"],[14,1,"categories-only-category"],[12],[1,[28,[32,3],["categories.category"],null]],[13],[13],[1,"\\n "],[10,"th"],[14,0,"topics"],[12],[1,[28,[32,3],["categories.topics"],null]],[13],[1,"\\n"],[41,[30,0,["showTopics"]],[[[1," "],[10,"th"],[14,0,"latest"],[12],[1,[28,[32,3],["categories.latest"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[14,"aria-labelledby","categories-only-category"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["categories"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@category","@showTopics"],[[30,2],[30,0,["showTopics"]]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,0,["mutedCategories"]],[[[1," "],[10,0],[14,0,"muted-categories"],[12],[1,"\\n "],[11,3],[24,6,""],[24,0,"muted-categories-link"],[4,[32,4],["click",[30,0,["toggleShowMuted"]]],null],[12],[1,"\\n "],[10,"h3"],[14,0,"muted-categories-heading"],[12],[1,[28,[32,3],["categories.muted"],null]],[13],[1,"\\n"],[41,[30,0,["mutedToggleIcon"]],[[[1," "],[1,[28,[32,5],[[30,0,["mutedToggleIcon"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,0],[15,0,[29,["category-list\\n ",[52,[30,0,["showTopics"]],"with-topics"],"\\n ",[52,[51,[30,0,["showMutedCategories"]]],"hidden"]]]],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["mutedCategories"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@category","@showTopics","@listType"],[[30,3],[30,0,["showTopics"]],"muted"]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,"table"],[15,0,[29,["category-list\\n ",[52,[30,0,["showTopics"]],"with-topics"],"\\n ",[52,[51,[30,0,["showMutedCategories"]]],"hidden"]]]],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[14,0,"category"],[12],[10,1],[14,"role","heading"],[14,"aria-level","2"],[14,1,"categories-only-category-muted"],[12],[1,[28,[32,3],["categories.category"],null]],[13],[13],[1,"\\n "],[10,"th"],[14,0,"topics"],[12],[1,[28,[32,3],["categories.topics"],null]],[13],[1,"\\n"],[41,[30,0,["showTopics"]],[[[1," "],[10,"th"],[14,0,"latest"],[12],[1,[28,[32,3],["categories.latest"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[14,"aria-labelledby","categories-only-category-muted"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["categories"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@category","@showTopics","@listType"],[[30,4],[30,0,["showTopics"]],"muted"]],null],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["below-categories-only","div",[28,[32,1],null,[["categories","showTopics"],[[30,0,["categories"]],[30,0,["showTopics"]]]]]]],null],[1,"\\n "]],["c","category","c","category"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/categories-only.js",scope:()=>[u.default,n.hash,l.default,p.i18n,r.on,c.default],isStrictMode:!0}),this))()},[(0,o.tagName)("")])},51311:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(95766),n=i(25604),r=i(4781),a=i(75527),o=i(18555),l=i(53769),u=i(62768),c=i(89973),d=i(95638),p=i(54971),h=i(45042),m=i(66929),g=i(93432),f=i(92960),_=i(65358),y=i(89756),b=i(35352),w=i(88820),k=i(72799),T=i(71209);class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#tw=(()=>void dt7948.i(this,"messageBus"))();get newDotText(){return this.currentUser?.trust_level>0?"":(0,w.i18n)("filters.new.lower_title")}get participantGroups(){return this.args.topic.get("participant_groups")?this.args.topic.get("participant_groups").map(e=>({name:e,url:(0,b.groupPath)(e)})):[]}onTitleFocus(e){e.target.closest(".topic-list-item").classList.add("selected")}static #i=(()=>dt7948.n(this.prototype,"onTitleFocus",[a.action]))();onTitleBlur(e){e.target.closest(".topic-list-item").classList.remove("selected")}static #s=(()=>dt7948.n(this.prototype,"onTitleBlur",[a.action]))();static #u=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"c8/xnLbg",block:'[[[1,"\\n "],[10,"td"],[14,0,"main-link topic-list-data"],[14,"colspan","1"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-before-link",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,1],[14,0,"link-top-line"],[14,"role","heading"],[14,"aria-level","2"],[12],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-before-status",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-topic-cell-link-top-line",[28,[32,1],null,[["topic","tagsForUser"],[[30,1],[30,2]]]]]],[["default"],[[[[8,[32,2],null,[["@topic","@context"],[[30,1],"topic-list"]],null],[8,[32,3],[[24,0,"raw-link raw-topic-link"],[4,[32,4],["focus",[30,0,["onTitleFocus"]]],null],[4,[32,4],["blur",[30,0,["onTitleBlur"]]],null]],[["@topic"],[[30,1]]],null],[41,[30,1,["featured_link"]],[[[1," "],[1,[28,[32,5],[[30,1]],null]]],[]],null],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-after-title",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[8,[32,6],null,[["@topic"],[[30,1]]],null],[41,[30,3],[[[8,[32,7],null,[["@unreadPosts","@unseen","@newDotText","@url"],[[30,1,["unread_posts"]],[30,1,["unseen"]],[30,0,["newDotText"]],[30,1,["lastUnreadUrl"]]]],null]],[]],null],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-after-badges",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"link-bottom-line"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-topic-cell-link-bottom-line",[28,[32,1],null,[["topic","tagsForUser"],[[30,1],[30,2]]]]]],[["default"],[[[[1,"\\n"],[41,[51,[30,4]],[[[41,[51,[30,1,["isPinnedUncategorized"]]],[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-before-category",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[1,[28,[32,8],[[30,1,["category"]]],null]],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-after-category",[28,[32,1],null,[["topic"],[[30,1]]]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[1,[28,[32,9],[[30,1]],[["mode","tagsForUser"],["list",[30,2]]]]],[1,"\\n\\n"],[41,[30,0,["participantGroups"]],[[[1," "],[8,[32,10],null,[["@groups"],[[30,0,["participantGroups"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,11],[[24,0,"likes"]],[["@topic","@postNumbers","@icon"],[[30,1],[30,1,["liked_post_numbers"]],"heart"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,5],[[[1," "],[8,[32,12],null,[["@topic"],[[30,1]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-list-main-link-bottom",[28,[32,1],null,[["topic","expandPinned"],[[30,1],[30,5]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@topic","@tagsForUser","@showTopicPostBadges","@hideCategory","@expandPinned"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/topic-cell.js",scope:()=>[l.default,n.hash,g.default,p.default,r.on,y.default,h.default,m.default,f.default,_.default,c.default,u.default,d.default],isStrictMode:!0}),this))()}},51334:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(18555),n=i(88761),r=i(53775),a=i(70412),o=i(23064),l=i(88820);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[s.service]))();#d=(()=>void dt7948.i(this,"dialog"))();async showConfirm(e,t){if((0,n.isEmpty)(t))return Promise.resolve(!0);if(t.split("|").length>o.MAX_AUTO_MEMBERSHIP_DOMAINS_LOOKUP)return new Promise(e=>{this.dialog.confirm({message:(0,l.i18n)("admin.groups.manage.membership.automatic_membership_user_unknown_count"),didConfirm:()=>e(!0),didCancel:()=>e(!1)})});let i={automatic_membership_email_domains:t};e&&(i.id=e);try{let e=(await (0,r.ajax)("/admin/groups/automatic_membership_count.json",{type:"PUT",data:i})).user_count;if(e>0)return new Promise(t=>{this.dialog.confirm({message:(0,l.i18n)("admin.groups.manage.membership.automatic_membership_user_count",{count:e}),didConfirm:()=>t(!0),didCancel:()=>t(!1)})});return Promise.resolve(!0)}catch(e){(0,a.popupAjaxError)(e)}}}},51363:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(70677),n=i(99423),r=i(24148);class a extends r.default{constructor(e){let{reviewable:t,currentUser:i,siteSettings:s,site:r}=e;super(...arguments),this.reviewable=t,this.currentUser=i,this.siteSettings=s,this.site=r,this.renderDirector=(0,n.getRenderDirector)(this.reviewable.type,this.reviewable,this.currentUser,this.siteSettings,this.site)}get className(){let e=["reviewable"];return this.reviewable.pending?e.push("pending"):e.push("reviewed"),e.join(" ")}get linkHref(){return(0,s.default)(`/review/${this.reviewable.id}`)}get linkTitle(){return""}get icon(){return this.renderDirector.icon}get label(){return this.renderDirector.actor}get description(){return this.renderDirector.description}}},51410:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83426),n=i(82163),r=i(74089),a=i(88820);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};isNaN(e=Math.round(parseFloat(e)))&&(e=0);let i=a.default.toNumber(e,{precision:0});t.numberKey&&(i=(0,a.i18n)(t.numberKey,{number:i,count:parseInt(e,10)}));let o="number";t.class&&(o+=" "+t.class);let l=""+c+"",(0,s.htmlSafe)(l)}},51413:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var s=i(83777),n=i(13623),r=i(14508),a=i(44661),o=i(72714),l=i(11821),u=i(51196),c=i(67191),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,i,l=e.popper,u=e.popperRect,p=e.placement,h=e.variation,m=e.offsets,g=e.position,f=e.gpuAcceleration,_=e.adaptive,y=e.roundOffsets,b=e.isFixed,w=m.x,k=void 0===w?0:w,T=m.y,S=void 0===T?0:T,C="function"==typeof y?y({x:k,y:S}):{x:k,y:S};k=C.x,S=C.y;var A=m.hasOwnProperty("x"),D=m.hasOwnProperty("y"),M=s.kb,x=s.Mn,E=window;if(_){var L=(0,n.A)(l),P="clientHeight",F="clientWidth";L===(0,r.A)(l)&&(L=(0,a.A)(l),"static"!==(0,o.A)(L).position&&"absolute"===g&&(P="scrollHeight",F="scrollWidth")),(p===s.Mn||(p===s.kb||p===s.pG)&&h===s._N)&&(x=s.sQ,S-=(b&&L===E&&E.visualViewport?E.visualViewport.height:L[P])-u.height,S*=f?1:-1),(p===s.kb||(p===s.Mn||p===s.sQ)&&h===s._N)&&(M=s.pG,k-=(b&&L===E&&E.visualViewport?E.visualViewport.width:L[F])-u.width,k*=f?1:-1)}var I=Object.assign({position:g},_&&d),N=!0===y?function(e,t){var i=e.x,s=e.y,n=t.devicePixelRatio||1;return{x:(0,c.LI)(i*n)/n||0,y:(0,c.LI)(s*n)/n||0}}({x:k,y:S},(0,r.A)(l)):{x:k,y:S};return(k=N.x,S=N.y,f)?Object.assign({},I,((i={})[x]=D?"0":"",i[M]=A?"0":"",i.transform=1>=(E.devicePixelRatio||1)?"translate("+k+"px, "+S+"px)":"translate3d("+k+"px, "+S+"px, 0)",i)):Object.assign({},I,((t={})[x]=D?S+"px":"",t[M]=A?k+"px":"",t.transform="",t))}let h={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,s=i.gpuAcceleration,n=i.adaptive,r=i.roundOffsets,a=void 0===r||r,o={placement:(0,l.A)(t.placement),variation:(0,u.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===s||s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},o,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},o,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},51428:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(75527),n=i(83426),r=i(70677),a=i(35794),o=i(2552),l=i(55384),u=i(88820);class c extends l.default{userActionType=(()=>o.default.TYPES.topics)();async model(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=await this.store.findFiltered("topicList",{filter:"read",params:e});return t.set("emptyState",this.emptyState()),t}emptyState(){return{title:(0,u.i18n)("user_activity.no_read_topics_title"),body:(0,n.htmlSafe)((0,u.i18n)("user_activity.no_read_topics_body",{topUrl:(0,r.default)("/top"),categoriesUrl:(0,r.default)("/categories"),searchIcon:(0,a.iconHTML)("magnifying-glass")}))}}titleToken(){return`${(0,u.i18n)("user.read")}`}triggerRefresh(){this.refresh()}static #e=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},51444:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(37115),n=i(63534),r=i(72523);function a(e){return class extends s.default{cleanupFn=null;constructor(){super(...arguments),(0,n.registerDestructor)(this,this.cleanup)}compute(t,i){if(t.length)throw Error("Positional arguments are not permitted for helperFn-defined helpers. Use named arguments instead.");return this.cleanup(),e(i,{cleanup:e=>{if(this.cleanupFn)throw Error("on.cleanup can only be called once");this.cleanupFn=e}})}cleanup(){this.cleanupFn?.(),this.cleanupFn=null}static #e=(()=>dt7948.n(this.prototype,"cleanup",[r.bind]))()}}},51473:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(32504),n=i(34991),r=i.n(n),a=i(57104),o=i.n(a),l=i(81185),u=i(72799),c=i(71209);let d=dt7948.c(class extends l.default{static #e=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"ZFbWGwwP",block:'[[[1,"\\n "],[1,[28,[32,0],[[30,0,["item"]]],[["imageSize"],["tiny"]]]],[1,"\\n\\n "],[10,1],[14,0,"username"],[12],[1,[28,[32,1],[[30,0,["item","username"]]],null]],[13],[1,"\\n\\n"],[41,[30,0,["item","name"]],[[[1," "],[10,1],[14,0,"name"],[12],[1,[30,0,["item","name"]]],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/user-chooser/user-row.js",scope:()=>[r(),o()],isStrictMode:!0}),this))()},[(0,s.classNames)("user-row")])},51508:e=>{e.exports=function(e){var t=String.prototype.split,i=/()??/.exec("")[1]===e;return function(s,n,r){if("[object RegExp]"!==Object.prototype.toString.call(n))return t.call(s,n,r);var a,o,l,u,c=[],d=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),p=0,n=RegExp(n.source,d+"g");for(s+="",i||(a=RegExp("^"+n.source+"$(?!\\s)",d)),r=r===e?0xffffffff:r>>>0;(o=n.exec(s))&&(!((l=o.index+o[0].length)>p)||(c.push(s.slice(p,o.index)),!i&&o.length>1&&o[0].replace(a,function(){for(var t=1;t1&&o.index=r)));)n.lastIndex===o.index&&n.lastIndex++;return p===s.length?(u||!n.test(""))&&c.push(""):c.push(s.slice(p)),c.length>r?c.slice(0,r):c}}()},51510:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(95766),n=i(25604),r=i(53769),a=i(72799),o=i(71209);class l extends s.default{static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"K+Jz+69p",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@defaultGlimmer"],["group-info-details",[28,[32,1],null,[["group"],[[30,1]]]],true]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"group-info-details"],[12],[1,"\\n "],[10,1],[14,0,"group-info-name"],[12],[1,"\\n "],[1,[30,0,["name"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["mentionName"]],[[[1," "],[10,1],[14,0,"group-info-mention-name"],[12],[1,"\\n "],[1,[30,0,["mentionName"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@group"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-info.js",scope:()=>[r.default,n.hash],isStrictMode:!0}),this))();get names(){let{full_name:e,display_name:t,name:i}=this.args.group;return[...new Set([e,t,i].filter(Boolean))]}get name(){return this.names[0]}get mentionName(){return this.names[1]?`@${this.names[1]}`:null}}},51594:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(18555),r=i(14511),a=i(20775),o=i(88820),l=i(72799),u=i(71209);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();get suggestedTitle(){return this.currentUser?.pmPath(this.args.topic)&&this.args.topic.isPrivateMessage?(0,o.i18n)("suggested_topics.pm_title"):(0,o.i18n)("suggested_topics.title")}static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"RwoLwqVF",block:'[[[1,"\\n "],[10,0],[14,"role","complementary"],[14,"aria-labelledby","suggested-topics-title"],[14,1,"suggested-topics"],[14,0,"more-topics__list"],[12],[1,"\\n "],[8,[32,0],null,[["@id","@titleText","@contentText","@placement","@priority"],["suggested_topics",[28,[32,1],["user_tips.suggested_topics.title"],null],[28,[32,1],["user_tips.suggested_topics.content"],null],"top-start",700]],null],[1,"\\n\\n "],[10,"h3"],[14,1,"suggested-topics-title"],[14,0,"more-topics__list-title"],[12],[1,"\\n "],[1,[30,0,["suggestedTitle"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"topics"],[12],[1,"\\n"],[41,[30,1,["isPrivateMessage"]],[[[1," "],[8,[32,2],null,[["@topics","@hideCategory","@showPosters"],[[30,1,["suggestedTopics"]],true,true]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],null,[["@topics"],[[30,1,["suggestedTopics"]]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/suggested-topics.js",scope:()=>[a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},51600:e=>{e.exports={indexOf:function(e,t){var i,s;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,s=e.length;i{"use strict";i.r(t),i.d(t,{QUOTE_REGEXP:()=>r,buildQuote:()=>a});var s=i(37868),n=i(42668);let r=/\[quote=([^\]]*)\]((?:[\s\S](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im;function a(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!t)return"";let r=e.name;i.username&&i.username!==e.username&&(r=null);let a=[(0,n.prioritizeNameFallback)(r,i.username||e.username),`post:${i.post||e.post_number}`,`topic:${i.topic||e.topic_id}`];return i.full&&a.push("full:true"),(0,s.helperContext)().siteSettings.display_name_on_posts&&!(0,s.helperContext)().siteSettings.prioritize_username_in_ux&&r&&a.push(`username:${i.username||e.username}`),`[quote="${a.join(", ")}"]
${t.trim()}
[/quote]
`}},51607:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(87531),r=i(83426),a=i(55230),o=i(70037),l=i(67032),u=i(12733),c=i(42668),d=i(88820),p=i(72799),h=i(71209);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"createdByAnchorElement",[n.tracked]))();#uY=(()=>void dt7948.i(this,"createdByAnchorElement"))();registerCreatedByLink=(()=>(0,a.modifier)(e=>{this.createdByAnchorElement=e?.querySelector(".custom_created_by")}))();get createdByName(){if(this.args.post.notice_created_by_user)return(0,c.prioritizeNameInUx)(this.args.post.notice_created_by_user.name)?this.args.post.notice_created_by_user.name:this.args.post.notice_created_by_user.username}static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"bzWexE7r",block:'[[[1,"\\n "],[1,[28,[32,0],["user-shield"],null]],[1,"\\n "],[11,0],[24,0,"post-notice-message test"],[4,[30,0,["registerCreatedByLink"]],null,null],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["cooked"]]],null]],[1,"\\n"],[41,[30,0,["createdByName"]],[[[1," "],[1,[28,[32,1],[[28,[32,2],["post.notice.custom_created_by"],[["userLinkHTML"],[""]]]],null]],[1,"\\n"]],[]],null],[1," "],[8,[32,3],null,[["@element"],[[30,0,["createdByAnchorElement"]]]],[["default"],[[[[1,"\\n "],[8,[32,4],[[16,"title",[30,0,["createdByName"]]]],[["@username","@ariaHidden"],[[30,2,["notice_created_by_user","username"]],false]],[["default"],[[[[1,"\\n "],[1,[30,0,["createdByName"]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@notice","@post"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/notice/custom.js",scope:()=>[u.default,r.htmlSafe,d.i18n,o.default,l.default],isStrictMode:!0}),this))()}},51625:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(83426),n=i(32504),r=i(81185),a=i(72799),o=i(71209);let l=dt7948.c(class extends r.default{static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"GkX1520J",block:'[[[1,"\\n "],[10,0],[14,0,"texts"],[12],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[28,[32,0],[[30,0,["label"]]],null]],[13],[1,"\\n"],[41,[30,0,["item","description"]],[[[1," "],[10,1],[14,0,"desc"],[12],[1,[28,[32,0],[[30,0,["item","description"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/homepage-style-selector/homepage-style-selector-row.js",scope:()=>[s.htmlSafe],isStrictMode:!0}),this))()},[(0,n.classNames)("homepage-style-selector-row")])},51721:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(9295)},51916:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(25604),n=i(62838),r=i(23082),a=i(51510),o=i(45415),l=i(53769),u=i(12733),c=i(86326),d=i(29349),p=i(88820),h=i(72799),m=i(71209),g=i(86960);let f=(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"cdVmfxV/",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"group-box"],[16,"data-group-name",[30,1,["name"]]]],[["@route","@model"],["group.members",[30,1,["name"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"group-box-inner"],[12],[1,"\\n "],[10,0],[14,0,"group-info-wrapper"],[12],[1,"\\n"],[41,[30,1,["flair_url"]],[[[1," "],[10,1],[14,0,"group-avatar-flair"],[12],[1,"\\n "],[8,[32,1],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,1,["name"]],[30,1,["flair_url"]],[30,1,["flair_bg_color"]],[30,1,["flair_color"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"group-info"],[12],[1,"\\n "],[8,[32,2],null,[["@group"],[[30,1]]],null],[1,"\\n "],[10,0],[14,0,"group-user-count"],[12],[1,[28,[32,3],["user"],null]],[1,[30,1,["user_count"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"group-description"],[12],[1,[28,[32,4],[[30,1,["bio_excerpt"]]],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"group-membership"],[12],[1,"\\n "],[8,[32,5],null,[["@tagName","@model","@showLogin"],["",[30,1],[28,[32,6],["showLogin"],null]]],[["default"],[[[[1,"\\n"],[41,[30,1,["is_group_owner"]],[[[1," "],[10,1],[14,0,"is-group-owner"],[12],[1,"\\n "],[1,[28,[32,3],["shield-halved"],null]],[1,"\\n "],[1,[28,[32,7],["groups.index.is_group_owner"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,1,["is_group_user"]],[[[1," "],[10,1],[14,0,"is-group-member"],[12],[1,"\\n "],[1,[28,[32,3],["check"],null]],[1,"\\n "],[1,[28,[32,7],["groups.index.is_group_user"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,1,["public_admission"]],[[[1," "],[1,[28,[32,7],["groups.index.public"],null]],[1,"\\n"]],[]],[[[41,[30,1,["isPrivate"]],[[[1," "],[1,[28,[32,3],["far-eye-slash"],null]],[1,"\\n "],[1,[28,[32,7],["groups.index.private"],null]],[1,"\\n"]],[]],[[[41,[30,1,["automatic"]],[[[1," "],[1,[28,[32,7],["groups.index.automatic"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,3],["ban"],null]],[1,"\\n "],[1,[28,[32,7],["groups.index.closed"],null]],[1,"\\n"]],[]]],[1," "]],[]]]],[]]]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,8],null,[["@name","@connectorTagName","@outletArgs"],["group-index-box-after","div",[28,[32,9],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],["@group"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-card.js",scope:()=>[n.LinkTo,r.default,a.default,u.default,c.default,o.default,d.default,p.i18n,l.default,s.hash],isStrictMode:!0}),(0,g.default)(void 0,"group-card:GroupCard"))},52050:(e,t,i)=>{"use strict";function s(e){let t=e=>"error"in e&&!!e.error;return e.filter(e=>!t(e))}function n(e){return e.filter(e=>{var t;return!(null!=(t=e.progress)&&t.uploadStarted)||!e.isRestored})}i.d(t,{S:()=>n,Y:()=>s})},52087:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(77667);let n=i(99110).default.create({__container__:null,ownerInjection(){return this.__container__.ownerInjection()},lookup(e,t){return this.__container__.lookup(e,t)},destroy(){let e=this.__container__;e&&(0,s.join)(()=>{e.destroy(),(0,s.schedule)("destroy",e,"finalizeDestroy")}),this._super()},factoryFor(e){return this.__container__.factoryFor(e)}})},52095:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21980),n=i(75527),r=i(72523),a=i(7339),o=i(43779),l=i(88820);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#im=(()=>void dt7948.i(this,"application"))();queryParams=["username"];noMoreBadges=!1;userBadges=null;hiddenSetTitle=!0;filteredList(e){return e.filterBy("badge.allow_title",!0)}static #t=(()=>dt7948.n(this.prototype,"filteredList",[(0,r.default)("userBadgesAll")]))();selectableUserBadges(e){return[n.default.create({id:0,badge:a.default.create({name:(0,l.i18n)("badges.none")})}),...e.uniqBy("badge.name")]}static #i=(()=>dt7948.n(this.prototype,"selectableUserBadges",[(0,r.default)("filteredList")]))();user(e){if(e)return this.userBadges[0].get("user")}static #s=(()=>dt7948.n(this.prototype,"user",[(0,r.default)("username")]))();grantCount(e,t,i){return e?i:t}static #u=(()=>dt7948.n(this.prototype,"grantCount",[(0,r.default)("username","model.grant_count","userBadges.grant_count")]))();othersCount(e,t){return e-t}static #c=(()=>dt7948.n(this.prototype,"othersCount",[(0,r.default)("model.grant_count","userBadges.grant_count")]))();canSelectTitle(e,t){return this.siteSettings.enable_badges&&e&&t}static #_=(()=>dt7948.n(this.prototype,"canSelectTitle",[(0,r.default)("model.allow_title","model.has_badge","model")]))();canLoadMore(e,t,i){return!e&&t>(i||0)}static #b=(()=>dt7948.n(this.prototype,"canLoadMore",[(0,r.default)("noMoreBadges","grantCount","userBadges.length")]))();canShowOthers(e,t){return!!e&&t>1}static #v=(()=>dt7948.n(this.prototype,"canShowOthers",[(0,r.default)("user","model.grant_count")]))();loadMore(){if(!this.canLoadMore||this.loadingMore)return;this.set("loadingMore",!0);let e=this.userBadges;o.default.findByBadgeId(this.get("model.id"),{offset:e.length,username:this.username}).then(t=>{e.pushObjects(t),0===e.length&&this.set("noMoreBadges",!0)}).finally(()=>{this.set("loadingMore",!1)})}static #w=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();toggleSetUserTitle(){return this.toggleProperty("hiddenSetTitle")}static #k=(()=>dt7948.n(this.prototype,"toggleSetUserTitle",[n.action]))()}},52105:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?n[i][2]?n[i][2]:n[i][1]:s?n[i][0]:n[i][1]}return e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},52113:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(25604),n=i(62838),r=i(83426),a=i(8658),o=i(20804),l=i(53769),u=i(25286),c=i(31984),d=i(54808),p=i(26176),h=i(46556),m=i(61340),g=i(22080),f=i(28078),_=i(92960),y=i(23222),b=i(88820),w=i(72799),k=i(71209),T=i(86960);let S=(0,a.default)((0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"3zOyACAx",block:'[[[1,"\\n "],[1,[28,[32,0],["user-summary-page"],null]],[1,"\\n\\n "],[10,0],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["above-user-summary-stats",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n"],[41,[30,1,["model","can_see_summary_stats"]],[[[1," "],[10,0],[14,0,"top-section stats-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,3],["user.summary.stats"],null]],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[14,0,"stats-days-visited"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","days_visited"]],"user.summary.days_visited"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"stats-time-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label","@rawTitle","@type"],[[30,1,["timeRead"]],"user.summary.time_read",[28,[32,3],["user.summary.time_read_title"],[["duration"],[[30,1,["timeReadMedium"]]]]],"string"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["showRecentTimeRead"]],[[[1," "],[10,"li"],[14,0,"stats-recent-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label","@rawTitle","@type"],[[30,1,["recentTimeRead"]],"user.summary.recent_time_read",[28,[32,3],["user.summary.recent_time_read_title"],[["duration"],[[30,1,["recentTimeReadMedium"]]]]],"string"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"li"],[14,0,"stats-topics-entered"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topics_entered"]],"user.summary.topics_entered"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"stats-posts-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","posts_read_count"]],"user.summary.posts_read"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-likes-given linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.likesGiven"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_given"]],"heart","user.summary.likes_given"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-likes-given"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_given"]],"heart","user.summary.likes_given"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[10,"li"],[14,0,"stats-likes-received"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_received"]],"heart","user.summary.likes_received"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["model","bookmark_count"]],[[[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-bookmark-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.bookmarks"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","bookmark_count"]],"user.summary.bookmark_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-bookmark-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","bookmark_count"]],"user.summary.bookmark_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-topic-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.topics"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topic_count"]],"user.summary.topic_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-topic-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topic_count"]],"user.summary.topic_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-post-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.replies"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","post_count"]],"user.summary.post_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-post-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","post_count"]],"user.summary.post_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[8,[32,1],null,[["@name","@connectorTagName","@outletArgs"],["user-summary-stat","li",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["below-user-summary-stats",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"top-section replies-and-topics-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"replies-section pull-left"]],[["@title"],["top_replies"]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@type","@items","@user"],["replies",[30,1,["model","replies"]],[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@createdAt","@topic","@likes","@url"],[[30,2,["createdAt"]],[30,2,["topic"]],[30,2,["like_count"]],[30,2,["url"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"topics-section pull-right"]],[["@title"],["top_topics"]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@type","@items","@user"],["topics",[30,1,["model","topics"]],[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@createdAt","@topic","@likes","@url"],[[30,3,["created_at"]],[30,3],[30,3,["like_count"]],[30,3,["url"]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"top-section links-and-replied-to-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"links-section pull-left"]],[["@title"],["top_links"]],[["default"],[[[[1,"\\n"],[41,[30,1,["model","links","length"]],[[[1," "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","links"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n"],[1," "],[10,3],[14,0,"domain"],[15,6,[30,4,["url"]]],[15,"title",[30,4,["title"]]],[15,"rel",[29,["noopener ",[52,[51,[30,1,["user","removeNoFollow"]]],"nofollow ugc"]]]],[14,"target","_blank"],[15,"data-clicks",[30,4,["clicks"]]],[15,"aria-label",[28,[32,3],["topic_map.clicks"],[["count"],[[30,4,["clicks"]]]]]],[12],[1,"\\n "],[1,[28,[32,9],[[30,4,["url"]]],null]],[1,"\\n "],[13],[1,"\\n"],[1," "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,3],[15,6,[30,4,["post_url"]]],[12],[1,"\\n "],[1,[28,[32,10],[[30,4,["topic","fancyTitle"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,[28,[32,3],["user.summary.no_links"],null]],[13],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"summary-user-list replied-section pull-right"]],[["@title"],["most_replied_to_users"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_replies",[30,1,["model","most_replied_to_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,5],"reply","replies"]],null],[1,"\\n "]],[5]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"top-section most-liked-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"summary-user-list liked-by-section pull-left"]],[["@title"],["most_liked_by"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_likes",[30,1,["model","most_liked_by_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,6],"heart","likes"]],null],[1,"\\n "]],[6]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"summary-user-list liked-section pull-right"]],[["@title"],["most_liked_users"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_likes",[30,1,["model","most_liked_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,7],"heart","likes"]],null],[1,"\\n "]],[7]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","top_categories","length"]],[[[1," "],[10,0],[14,0,"top-section top-categories-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"summary-category-list pull-left"]],[["@title"],["top_categories"]],[["default"],[[[[1,"\\n "],[10,"table"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"th"],[14,0,"category-link"],[12],[13],[1,"\\n "],[10,"th"],[14,0,"topic-count"],[12],[1,[28,[32,3],["user.summary.topics"],null]],[13],[1,"\\n "],[10,"th"],[14,0,"reply-count"],[12],[1,[28,[32,3],["user.summary.replies"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","top_categories"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["user-summary-top-category-row",[28,[32,2],null,[["category","user"],[[30,8],[30,1,["user"]]]]]]],[["default"],[[[[1,"\\n "],[10,"td"],[14,0,"category-link"],[12],[1,"\\n "],[1,[28,[32,13],[[30,8]],[["allowUncategorized","hideParent"],["true",false]]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"topic-count"],[12],[1,"\\n "],[8,[32,14],null,[["@user","@category","@searchOnlyFirstPosts","@count"],[[30,1,["user"]],[30,8],true,[30,8,["topic_count"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"reply-count"],[12],[1,"\\n "],[8,[32,14],null,[["@user","@category","@searchOnlyFirstPosts","@count"],[[30,1,["user"]],[30,8],false,[30,8,["post_count"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[8]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["siteSettings","enable_badges"]],[[[1," "],[10,0],[14,0,"top-section badges-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,3],["user.summary.top_badges"],null]],[13],[1,"\\n\\n"],[41,[30,1,["model","badges"]],[[[1," "],[10,0],[14,0,"badge-group-list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","badges"]]],null]],null],null,[[[1," "],[8,[32,15],null,[["@badge","@count","@username"],[[30,9],[30,9,["count"]],[30,1,["user","username_lower"]]]],null],[1,"\\n"]],[9]],null],[1," "],[8,[32,1],null,[["@name","@outletArgs"],["after-user-summary-badges",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,[28,[32,3],["user.summary.no_badges"],null]],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,1,["moreBadges"]],[[[1," "],[8,[32,5],[[24,0,"more"]],[["@route","@model"],["user.badges",[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],["user.summary.more_badges"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@controller","reply","topic","link","user","user","user","category","badge"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/summary.js",scope:()=>[f.default,l.default,s.hash,b.i18n,u.default,n.LinkTo,d.default,h.default,p.default,y.default,r.htmlSafe,g.default,m.default,_.default,c.default,o.default],isStrictMode:!0}),(0,T.default)(void 0,void 0)))},52135:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>e9});var s=i(41322);class n extends Error{constructor(){super(...arguments),this.name="UserFacingApiError"}}var r=i(31392);let a=Object.prototype.toString,o=e=>"[object Error]"===a.call(e),l=new Set(["network error","Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Load failed","Network request failed","fetch failed","terminated"]);class u extends Error{constructor(e){super(),e instanceof Error?(this.originalError=e,{message:e}=e):(this.originalError=Error(e),this.originalError.stack=this.stack),this.name="AbortError",this.message=e}}let c=(e,t,i)=>{let s=i.retries-(t-1);return e.attemptNumber=t,e.retriesLeft=s,e};async function d(e,t){return new Promise((i,s)=>{t={onFailedAttempt(){},retries:10,shouldRetry:()=>!0,...t};let n=r.operation(t),a=()=>{n.stop(),s(t.signal?.reason)};t.signal&&!t.signal.aborted&&t.signal.addEventListener("abort",a,{once:!0});let d=()=>{t.signal?.removeEventListener("abort",a),n.stop()};n.attempt(async r=>{try{let t=await e(r);d(),i(t)}catch(e){try{if(!(e instanceof Error))throw TypeError(`Non-error was thrown: "${e}". You should only throw errors.`);if(e instanceof u)throw e.originalError;if(e instanceof TypeError&&!function(e){return!!(e&&o(e)&&"TypeError"===e.name&&"string"==typeof e.message)&&("Load failed"===e.message?void 0===e.stack:l.has(e.message))}(e))throw e;if(c(e,r,t),await t.shouldRetry(e)||(n.stop(),s(e)),await t.onFailedAttempt(e),!n.retry(e))throw n.mainError()}catch(e){c(e,r,t),d(),s(e)}}})})}var p=i(41911),h=i(42154);class m extends Error{constructor(e,t){super(e),this.cause=null==t?void 0:t.cause,this.cause&&(0,h.A)(this.cause,"isNetworkError")?this.isNetworkError=this.cause.isNetworkError:this.isNetworkError=!1}}let g=i(13004)(function(e,t,i){let{progress:s,bytesUploaded:n,bytesTotal:r}=t;if(s){var a;e.uppy.log(`Upload progress: ${s}`),e.uppy.emit("upload-progress",i,{uploadStarted:null!=(a=i.progress.uploadStarted)?a:0,bytesUploaded:n,bytesTotal:r})}},300,{leading:!0,trailing:!0});class f extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}function _(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var y=0;function b(e){return"__private_"+y+++"_"+e}class w extends Error{constructor(e){let{statusCode:t,message:i}=e;super(i),this.name="HttpError",this.statusCode=t}}async function k(e){let t;if(401===e.status)throw new f;if(e.ok)return e.json();let i=`Failed request with status: ${e.status}. ${e.statusText}`;try{(t=await e.json()).message&&(i=`${i} message: ${t.message}`),t.requestId&&(i=`${i} request-Id: ${t.requestId}`)}catch(e){throw Error(i,{cause:e})}if(e.status>=400&&e.status<=499&&t.message)throw new n(t.message);throw new w({statusCode:e.status,message:i})}var T=b("companionHeaders"),S=b("getUrl"),C=b("requestSocketToken"),A=b("awaitRemoteFileUpload");class D{constructor(e,t){Object.defineProperty(this,A,{value:x}),Object.defineProperty(this,S,{value:M}),Object.defineProperty(this,T,{writable:!0,value:void 0}),Object.defineProperty(this,C,{writable:!0,value:async e=>{var t;let{file:i,postBody:s,signal:n}=e;if((null==(t=i.remote)?void 0:t.url)==null)throw Error("Cannot connect to an undefined URL");return(await this.post(i.remote.url,{...i.remote.body,...s},{signal:n})).token}}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),_(this,T)[T]=t.companionHeaders}setCompanionHeaders(e){_(this,T)[T]=e}[Symbol.for("uppy test: getCompanionHeaders")](){return _(this,T)[T]}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return function(e){return e.replace(/\/$/,"")}(e&&e[t]?e[t]:t)}async headers(e){return void 0===e&&(e=!1),{Accept:"application/json",...e?void 0:{"Content-Type":"application/json"},..._(this,T)[T]}}onReceiveResponse(e){let{headers:t}=e,i=this.uppy.getState().companion||{},s=this.opts.companionUrl;t.has("i-am")&&t.get("i-am")!==i[s]&&this.uppy.setState({companion:{...i,[s]:t.get("i-am")}})}async request(e){let{path:t,method:i="GET",data:s,skipPostResponse:n,signal:r}=e;try{let e=await this.headers(!s),a=await function(){return fetch(...arguments).catch(e=>{if("AbortError"===e.name)throw e;throw new p.A(e)})}(_(this,S)[S](t),{method:i,signal:r,headers:e,credentials:this.opts.companionCookiesRule||"same-origin",body:s?JSON.stringify(s):null});return n||this.onReceiveResponse(a),await k(a)}catch(e){if(e.isAuthError||"UserFacingApiError"===e.name||"AbortError"===e.name)throw e;throw new m(`Could not ${i} ${_(this,S)[S](t)}`,{cause:e})}}async get(e,t){return this.request({...t,path:e})}async post(e,t,i){return this.request({...i,path:e,method:"POST",data:t})}async delete(e,t,i){return this.request({...i,path:e,method:"DELETE",data:t})}async uploadRemoteFile(e,t,i){var s=this;try{let{signal:n,getQueue:r}=i||{};return await d(async()=>{var i;let a=null==(i=this.uppy.getFile(e.id))?void 0:i.serverToken;if(null!=a)return this.uppy.log(`Connecting to exiting websocket ${a}`),_(this,A)[A]({file:e,queue:r(),signal:n});let o=r().wrapPromiseFunction(async function(){try{return await _(s,C)[C](...arguments)}catch(t){if(t.isAuthError)throw new u(t);if(null==t.cause)throw t;let e=t.cause;if("HttpError"===e.name&&!(()=>[408,409,429,418,423].includes(e.statusCode)||e.statusCode>=500&&e.statusCode<=599&&![501,505].includes(e.statusCode))())throw new u(e);throw e}},{priority:-1}),l=await o({file:e,postBody:t,signal:n}).abortOn(n);if(this.uppy.getFile(e.id))return this.uppy.setFileState(e.id,{serverToken:l}),_(this,A)[A]({file:this.uppy.getFile(e.id),queue:r(),signal:n})},{retries:10,signal:n,onFailedAttempt:e=>this.uppy.log(`Retrying upload due to: ${e.message}`,"warning")})}catch(t){if("AbortError"===t.name)return;throw this.uppy.emit("upload-error",e,t),t}}}function M(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}async function x(e){let t,{file:i,queue:s,signal:n}=e,{capabilities:r}=this.uppy.getState();try{return await new Promise((e,a)=>{let o,l,u,c=i.serverToken,p=function(e){var t;let i=null==(t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e))?void 0:t[1],s=/^http:\/\//i.test(e)?"ws":"wss";return`${s}://${i}`}(i.remote.companionUrl),{isPaused:h}=i,m=(e,t)=>{if(null==o||o.readyState!==o.OPEN){var s;this.uppy.log(`Cannot send "${e}" to socket ${i.id} because the socket state was ${String(null==(s=o)?void 0:s.readyState)}`,"warning");return}o.send(JSON.stringify({action:e,payload:null!=t?t:{}}))};function f(){r.resumableUploads&&(h?m("pause"):m("resume"))}let _=async()=>{l&&l.abort(),l=new AbortController;let t=e=>{var t;this.uppy.setFileState(i.id,{serverToken:null}),null==(t=l)||null==t.abort||t.abort(),a(e)};function n(){clearTimeout(u),h||(u=setTimeout(()=>t(Error("Timeout waiting for message from Companion socket")),3e5))}try{await s.wrapPromiseFunction(async()=>{let s=async()=>new Promise((s,r)=>{o=new WebSocket(`${p}/api/${c}`),n(),o.addEventListener("close",()=>{o=void 0,r(Error("Socket closed unexpectedly"))}),o.addEventListener("error",e=>{var t;this.uppy.log(`Companion socket error ${JSON.stringify(e)}, closing socket`,"warning"),null==(t=o)||t.close()}),o.addEventListener("open",()=>{f()}),o.addEventListener("message",s=>{n();try{let{action:t,payload:n}=JSON.parse(s.data);switch(t){case"progress":g(this,n,this.uppy.getFile(i.id));break;case"success":{var r,a,o,u;let t=null==(r=n.response)?void 0:r.responseText;this.uppy.emit("upload-success",this.uppy.getFile(i.id),{uploadURL:n.url,status:null!=(a=null==(o=n.response)?void 0:o.status)?a:200,body:t?JSON.parse(t):void 0}),null==(u=l)||null==u.abort||u.abort(),e();break}case"error":{let{message:e}=n.error;throw Object.assign(Error(e),{cause:n.error})}default:this.uppy.log(`Companion socket unknown action ${t}`,"warning")}}catch(e){t(e)}});let a=()=>{this.uppy.log(`Closing socket ${i.id}`,"info"),clearTimeout(u),o&&o.close(),o=void 0};l.signal.addEventListener("abort",()=>{a()})});await d(s,{retries:10,signal:l.signal,onFailedAttempt:()=>{l.signal.aborted||this.uppy.log(`Retrying websocket ${i.id}`,"info")}})})().abortOn(l.signal)}catch(e){if(l.signal.aborted)return;t(e)}},y=e=>{r.resumableUploads&&(h=e,o&&f())},b=t=>{var s;r.individualCancellation&&t.id===i.id&&(m("cancel"),null==(s=l)||null==s.abort||s.abort(),this.uppy.log(`upload ${i.id} was removed`,"info"),e())},w=()=>{var t;m("cancel"),null==(t=l)||null==t.abort||t.abort(),this.uppy.log(`upload ${i.id} was canceled`,"info"),e()},k=(e,t)=>{(null==e?void 0:e.id)===i.id&&y(t)},T=()=>y(!0),S=()=>y(!1);this.uppy.on("file-removed",b),this.uppy.on("cancel-all",w),this.uppy.on("upload-pause",k),this.uppy.on("pause-all",T),this.uppy.on("resume-all",S),t=()=>{this.uppy.off("file-removed",b),this.uppy.off("cancel-all",w),this.uppy.off("upload-pause",k),this.uppy.off("pause-all",T),this.uppy.off("resume-all",S)},n.addEventListener("abort",()=>{var e;null==(e=l)||e.abort()}),_()})}finally{null==t||t()}}D.VERSION="4.1.0";var E=0;var L=i(37831),P=i(59164),F=i(52050),I=i(38349),N=i(80103);function j(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var O=0;function R(e){return"__private_"+O+++"_"+e}let U={getChunkSize:e=>Math.ceil(e.size/1e4),onProgress(){},onPartComplete(){},onSuccess(){},onError(e){throw e}},B=Symbol("pausing upload, not an actual error");var Y=R("abortController"),H=R("chunks"),q=R("chunkState"),$=R("data"),z=R("file"),V=R("uploadHasStarted"),W=R("onError"),K=R("onSuccess"),G=R("shouldUseMultipart"),J=R("isRestoring"),Q=R("onReject"),X=R("maxMultipartParts"),Z=R("minPartSize"),ee=R("initChunks"),et=R("createUpload"),ei=R("resumeUpload"),es=R("onPartProgress"),en=R("onPartComplete"),er=R("abortUpload");class ea{constructor(e,t){var i;Object.defineProperty(this,er,{value:ec}),Object.defineProperty(this,ei,{value:eu}),Object.defineProperty(this,et,{value:el}),Object.defineProperty(this,ee,{value:eo}),Object.defineProperty(this,Y,{writable:!0,value:new I.AbortController}),Object.defineProperty(this,H,{writable:!0,value:[]}),Object.defineProperty(this,q,{writable:!0,value:[]}),Object.defineProperty(this,$,{writable:!0,value:void 0}),Object.defineProperty(this,z,{writable:!0,value:void 0}),Object.defineProperty(this,V,{writable:!0,value:!1}),Object.defineProperty(this,W,{writable:!0,value:void 0}),Object.defineProperty(this,K,{writable:!0,value:void 0}),Object.defineProperty(this,G,{writable:!0,value:void 0}),Object.defineProperty(this,J,{writable:!0,value:void 0}),Object.defineProperty(this,Q,{writable:!0,value:e=>(null==e?void 0:e.cause)===B?null:j(this,W)[W](e)}),Object.defineProperty(this,X,{writable:!0,value:1e4}),Object.defineProperty(this,Z,{writable:!0,value:5242880}),Object.defineProperty(this,es,{writable:!0,value:e=>t=>{if(!t.lengthComputable)return;j(this,q)[q][e].uploaded=function(e){if("string"==typeof e)return parseInt(e,10);if("number"==typeof e)return e;throw TypeError("Expected a number")}(t.loaded);let i=j(this,q)[q].reduce((e,t)=>e+t.uploaded,0);this.options.onProgress(i,j(this,$)[$].size)}}),Object.defineProperty(this,en,{writable:!0,value:e=>t=>{j(this,H)[H][e]=null,j(this,q)[q][e].etag=t,j(this,q)[q][e].done=!0,this.options.onPartComplete({PartNumber:e+1,ETag:t})}}),this.options={...U,...t},null!=(i=this.options).getChunkSize||(i.getChunkSize=U.getChunkSize),j(this,$)[$]=e,j(this,z)[z]=t.file,j(this,K)[K]=this.options.onSuccess,j(this,W)[W]=this.options.onError,j(this,G)[G]=this.options.shouldUseMultipart,j(this,J)[J]=t.uploadId&&t.key,j(this,ee)[ee]()}start(){j(this,V)[V]?(j(this,Y)[Y].signal.aborted||j(this,Y)[Y].abort(B),j(this,Y)[Y]=new I.AbortController,j(this,ei)[ei]()):j(this,J)[J]?(this.options.companionComm.restoreUploadFile(j(this,z)[z],{uploadId:this.options.uploadId,key:this.options.key}),j(this,ei)[ei]()):j(this,et)[et]()}pause(){j(this,Y)[Y].abort(B),j(this,Y)[Y]=new I.AbortController}abort(e){null!=e&&e.really?j(this,er)[er]():this.pause()}[Symbol.for("uppy test: getChunkState")](){return j(this,q)[q]}}function eo(){let e=j(this,$)[$].size,t="function"==typeof j(this,G)[G]?j(this,G)[G](j(this,z)[z]):!!j(this,G)[G];if(t&&e>j(this,Z)[Z]){let i=Math.max(this.options.getChunkSize(j(this,$)[$]),j(this,Z)[Z]),s=Math.floor(e/i);s>j(this,X)[X]&&(s=j(this,X)[X],i=e/j(this,X)[X]),j(this,H)[H]=Array(s);for(let s=0,n=0;s{let e=s;return j(this,$)[$].slice(e,r)};if(j(this,H)[H][n]={getData:a,onProgress:j(this,es)[es](n),onComplete:j(this,en)[en](n),shouldUseMultipart:t},j(this,J)[J]){let t=s+i>e?e-s:i;j(this,H)[H][n].setAsUploaded=()=>{j(this,H)[H][n]=null,j(this,q)[q][n].uploaded=t}}}}else j(this,H)[H]=[{getData:()=>j(this,$)[$],onProgress:j(this,es)[es](0),onComplete:j(this,en)[en](0),shouldUseMultipart:t}];j(this,q)[q]=j(this,H)[H].map(()=>({uploaded:0}))}function el(){this.options.companionComm.uploadFile(j(this,z)[z],j(this,H)[H],j(this,Y)[Y].signal).then(j(this,K)[K],j(this,Q)[Q]),j(this,V)[V]=!0}function eu(){this.options.companionComm.resumeUploadFile(j(this,z)[z],j(this,H)[H],j(this,Y)[Y].signal).then(j(this,K)[K],j(this,Q)[Q])}function ec(){j(this,Y)[Y].abort(),this.options.companionComm.abortFileUpload(j(this,z)[z]).catch(e=>this.options.log(e))}function ed(e){if(null!=e&&e.aborted)throw(0,I.createAbortError)("The operation was aborted",{cause:e.reason})}let ep=new TextEncoder,eh={name:"HMAC",hash:"SHA-256"};async function em(e){let{subtle:t}=globalThis.crypto;return t.digest(eh.hash,ep.encode(e))}async function eg(e){let{subtle:t}=globalThis.crypto;return t.importKey("raw","string"==typeof e?ep.encode(e):e,eh,!1,["sign"])}function ef(e){let t=new Uint8Array(e),i="";for(let e=0;e`%${e.charCodeAt(0).toString(16).toUpperCase()}`)}`,p="UNSIGNED-PAYLOAD",h=new Date().toISOString().replace(/[-:]|\.\d+/g,""),m=h.slice(0,8),g=`${m}/${a}/s3/aws4_request`,f=new URL(`https://${c}${d}`);f.searchParams.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),f.searchParams.set("X-Amz-Content-Sha256",p),f.searchParams.set("X-Amz-Credential",`${t}/${g}`),f.searchParams.set("X-Amz-Date",h),f.searchParams.set("X-Amz-Expires",o),f.searchParams.set("X-Amz-Security-Token",s),f.searchParams.set("X-Amz-SignedHeaders","host"),u&&f.searchParams.set("partNumber",u),l&&f.searchParams.set("uploadId",l),f.searchParams.set("x-id",u&&l?"UploadPart":"PutObject");let _=function(e){let{method:t="PUT",CanonicalUri:i="/",CanonicalQueryString:s="",SignedHeaders:n,HashedPayload:r}=e,a=Object.keys(n).map(e=>e.toLowerCase()).sort();return[t,i,s,...a.map(e=>`${e}:${n[e]}`),"",a.join(";"),r].join(`
`)}({CanonicalUri:d,CanonicalQueryString:f.search.slice(1),SignedHeaders:{host:c},HashedPayload:p}),y=["AWS4-HMAC-SHA256",h,g,ef(await em(_))].join(`
`),b=await e_(`AWS4${i}`,m),w=await e_(b,a),k=await e_(w,"s3"),T=await e_(k,"aws4_request"),S=ef(await e_(T,y));return f.searchParams.set("X-Amz-Signature",S),f}function eb(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var ev=0;function ew(e){return"__private_"+ev+++"_"+e}var ek=ew("abortMultipartUpload"),eT=ew("cache"),eS=ew("createMultipartUpload"),eC=ew("fetchSignature"),eA=ew("getUploadParameters"),eD=ew("listParts"),eM=ew("previousRetryDelay"),ex=ew("requests"),eE=ew("retryDelays"),eL=ew("sendCompletionRequest"),eP=ew("setS3MultipartState"),eF=ew("uploadPartBytes"),eI=ew("getFile"),eN=ew("shouldRetry"),ej=ew("nonMultipartUpload");class eO{constructor(e,t,i,s){Object.defineProperty(this,ej,{value:eU}),Object.defineProperty(this,eN,{value:eR}),Object.defineProperty(this,ek,{writable:!0,value:void 0}),Object.defineProperty(this,eT,{writable:!0,value:new WeakMap}),Object.defineProperty(this,eS,{writable:!0,value:void 0}),Object.defineProperty(this,eC,{writable:!0,value:void 0}),Object.defineProperty(this,eA,{writable:!0,value:void 0}),Object.defineProperty(this,eD,{writable:!0,value:void 0}),Object.defineProperty(this,eM,{writable:!0,value:void 0}),Object.defineProperty(this,ex,{writable:!0,value:void 0}),Object.defineProperty(this,eE,{writable:!0,value:void 0}),Object.defineProperty(this,eL,{writable:!0,value:void 0}),Object.defineProperty(this,eP,{writable:!0,value:void 0}),Object.defineProperty(this,eF,{writable:!0,value:void 0}),Object.defineProperty(this,eI,{writable:!0,value:void 0}),eb(this,ex)[ex]=e,eb(this,eP)[eP]=i,eb(this,eI)[eI]=s,this.setOptions(t)}setOptions(e){let t=eb(this,ex)[ex];if("abortMultipartUpload"in e&&(eb(this,ek)[ek]=t.wrapPromiseFunction(e.abortMultipartUpload,{priority:1})),"createMultipartUpload"in e&&(eb(this,eS)[eS]=t.wrapPromiseFunction(e.createMultipartUpload,{priority:-1})),"signPart"in e&&(eb(this,eC)[eC]=t.wrapPromiseFunction(e.signPart)),"listParts"in e&&(eb(this,eD)[eD]=t.wrapPromiseFunction(e.listParts)),"completeMultipartUpload"in e&&(eb(this,eL)[eL]=t.wrapPromiseFunction(e.completeMultipartUpload,{priority:1})),"retryDelays"in e){var i;eb(this,eE)[eE]=null!=(i=e.retryDelays)?i:[]}"uploadPartBytes"in e&&(eb(this,eF)[eF]=t.wrapPromiseFunction(e.uploadPartBytes,{priority:1/0})),"getUploadParameters"in e&&(eb(this,eA)[eA]=t.wrapPromiseFunction(e.getUploadParameters))}async getUploadId(e,t){let i;for(;null!=(i=eb(this,eT)[eT].get(e.data));)try{return await i}catch{}let s=eb(this,eS)[eS](eb(this,eI)[eI](e),t),n=()=>{s.abort(t.reason),eb(this,eT)[eT].delete(e.data)};return t.addEventListener("abort",n,{once:!0}),eb(this,eT)[eT].set(e.data,s),s.then(async i=>{t.removeEventListener("abort",n),eb(this,eP)[eP](e,i),eb(this,eT)[eT].set(e.data,i)},()=>{t.removeEventListener("abort",n),eb(this,eT)[eT].delete(e.data)}),s}async abortFileUpload(e){let t,i=eb(this,eT)[eT].get(e.data);if(null!=i){eb(this,eT)[eT].delete(e.data),eb(this,eP)[eP](e,Object.create(null));try{t=await i}catch{return}await eb(this,ek)[ek](eb(this,eI)[eI](e),t)}}async uploadFile(e,t,i){if(ed(i),1===t.length&&!t[0].shouldUseMultipart)return eb(this,ej)[ej](e,t[0],i);let{uploadId:s,key:n}=await this.getUploadId(e,i);ed(i);try{let r=await Promise.all(t.map((t,s)=>this.uploadChunk(e,s+1,t,i)));return ed(i),await eb(this,eL)[eL](eb(this,eI)[eI](e),{key:n,uploadId:s,parts:r,signal:i},i).abortOn(i)}catch(t){throw(null==t?void 0:t.cause)!==B&&(null==t?void 0:t.name)!=="AbortError"&&this.abortFileUpload(e),t}}restoreUploadFile(e,t){eb(this,eT)[eT].set(e.data,t)}async resumeUploadFile(e,t,i){if(ed(i),1===t.length&&null!=t[0]&&!t[0].shouldUseMultipart)return eb(this,ej)[ej](e,t[0],i);let{uploadId:s,key:n}=await this.getUploadId(e,i);ed(i);let r=await eb(this,eD)[eD](eb(this,eI)[eI](e),{uploadId:s,key:n,signal:i},i).abortOn(i);ed(i);let a=await Promise.all(t.map((t,s)=>{let n=s+1,a=r.find(e=>{let{PartNumber:t}=e;return t===n});return null==a?this.uploadChunk(e,n,t,i):(null==t||null==t.setAsUploaded||t.setAsUploaded(),{PartNumber:n,ETag:a.ETag})}));return ed(i),eb(this,eL)[eL](eb(this,eI)[eI](e),{key:n,uploadId:s,parts:a,signal:i},i).abortOn(i)}async uploadChunk(e,t,i,s){ed(s);let{uploadId:n,key:r}=await this.getUploadId(e,s),a=eb(this,eE)[eE].values(),o=eb(this,eE)[eE].values(),l=()=>{let e=a.next();return null==e||e.done?null:e.value};for(;;){let a;ed(s);let u=i.getData(),{onProgress:c,onComplete:d}=i;try{a=await eb(this,eC)[eC](eb(this,eI)[eI](e),{uploadId:n,key:r,partNumber:t,body:u,signal:s}).abortOn(s)}catch(t){let e=l();if(null==e||s.aborted)throw t;await new Promise(t=>setTimeout(t,e));continue}ed(s);try{return{PartNumber:t,...await eb(this,eF)[eF]({signature:a,body:u,size:u.size,onProgress:c,onComplete:d,signal:s}).abortOn(s)}}catch(e){if(!await eb(this,eN)[eN](e,o))throw e}}}}async function eR(e,t){var i;let s=eb(this,ex)[ex],n=null==e||null==(i=e.source)?void 0:i.status;if(null==n)return!1;if(403===n&&"Request has expired"===e.message){if(!s.isPaused){if(1===s.limit||null==eb(this,eM)[eM]){let e=t.next();if(null==e||e.done)return!1;eb(this,eM)[eM]=e.value}s.rateLimit(0),await new Promise(e=>setTimeout(e,eb(this,eM)[eM]))}}else if(429===n){if(!s.isPaused){let e=t.next();if(null==e||e.done)return!1;s.rateLimit(e.value)}}else if(n>400&&n<500&&409!==n)return!1;else if("undefined"!=typeof navigator&&!1===navigator.onLine)s.isPaused||(s.pause(),window.addEventListener("online",()=>{s.resume()},{once:!0}));else{let e=t.next();if(null==e||e.done)return!1;await new Promise(t=>setTimeout(t,e.value))}return!0}async function eU(e,t,i){let s,{method:n="POST",url:r,fields:a,headers:o}=await eb(this,eA)[eA](eb(this,eI)[eI](e),{signal:i}).abortOn(i),l=t.getData();if("POST"===n.toUpperCase()){let e=new FormData;Object.entries(a).forEach(t=>{let[i,s]=t;return e.set(i,s)}),e.set("file",l),s=e}else s=l;let{onProgress:u,onComplete:c}=t,d=await eb(this,eF)[eF]({signature:{url:r,headers:o,method:n},body:s,size:l.size,onProgress:u,onComplete:c,signal:i}).abortOn(i);return"location"in d?d:{location:function(e){let t=new URL(e);return t.search="",t.hash="",t.href}(r),...d}}function eB(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var eY=0;function eH(e){return"__private_"+eY+++"_"+e}function eq(e){if(null!=e&&e.error){let t=Error(e.message);throw Object.assign(t,e.error),t}return e}function e$(e){let t=e.Expiration;if(t){let e=Math.floor((new Date(t)-Date.now())/1e3);if(e>9)return e}}function ez(e){let{meta:t,allowedMetaFields:i,querify:s=!1}=e,n=null!=i?i:Object.keys(t);return t?Object.fromEntries(n.filter(e=>null!=t[e]).map(e=>[s?`metadata[${e}]`:e,String(t[e])])):{}}let eV={allowedMetaFields:!0,limit:6,getTemporarySecurityCredentials:!1,shouldUseMultipart:e=>e.size>>10>>10>100,retryDelays:[0,1e3,3e3,5e3]};var eW=eH("companionCommunicationQueue"),eK=eH("client"),eG=eH("setClient"),eJ=eH("assertHost"),eQ=eH("cachedTemporaryCredentials"),eX=eH("getTemporarySecurityCredentials"),eZ=eH("setS3MultipartState"),e1=eH("getFile"),e0=eH("uploadLocalFile"),e2=eH("getCompanionClientArgs"),e3=eH("upload"),e8=eH("setCompanionHeaders"),e4=eH("setResumableUploadsCapability"),e7=eH("resetResumableCapability");class e9 extends s.A{constructor(e,t){var i;super(e,{...eV,uploadPartBytes:e9.uploadPartBytes,createMultipartUpload:null,listParts:null,abortMultipartUpload:null,completeMultipartUpload:null,signPart:null,getUploadParameters:null,...t}),Object.defineProperty(this,e2,{value:ti}),Object.defineProperty(this,e0,{value:tt}),Object.defineProperty(this,eX,{value:te}),Object.defineProperty(this,eJ,{value:e6}),Object.defineProperty(this,eG,{value:e5}),Object.defineProperty(this,eW,{writable:!0,value:void 0}),Object.defineProperty(this,eK,{writable:!0,value:void 0}),Object.defineProperty(this,eQ,{writable:!0,value:void 0}),Object.defineProperty(this,eZ,{writable:!0,value:(e,t)=>{let{key:i,uploadId:s}=t,n=this.uppy.getFile(e.id);null!=n&&this.uppy.setFileState(e.id,{s3Multipart:{...n.s3Multipart,key:i,uploadId:s}})}}),Object.defineProperty(this,e1,{writable:!0,value:e=>this.uppy.getFile(e.id)||e}),Object.defineProperty(this,e3,{writable:!0,value:async e=>{if(0===e.length)return;let t=this.uppy.getFilesByIds(e),i=(0,F.Y)(t),s=(0,F.S)(i);this.uppy.emit("upload-start",s);let n=i.map(e=>{if(e.isRemote){eB(this,e4)[e4](!1);let t=new AbortController,i=i=>{i.id===e.id&&t.abort()};this.uppy.on("file-removed",i);let s=this.uppy.getRequestClientForFile(e).uploadRemoteFile(e,eB(this,e2)[e2](e),{signal:t.signal,getQueue:()=>this.requests});return this.requests.wrapSyncFunction(()=>{this.uppy.off("file-removed",i)},{priority:-1})(),s}return eB(this,e0)[e0](e)}),r=await Promise.all(n);return eB(this,e4)[e4](!0),r}}),Object.defineProperty(this,e8,{writable:!0,value:()=>{var e;null==(e=eB(this,eK)[eK])||e.setCompanionHeaders(this.opts.headers)}}),Object.defineProperty(this,e4,{writable:!0,value:e=>{let{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,resumableUploads:e}})}}),Object.defineProperty(this,e7,{writable:!0,value:()=>{eB(this,e4)[e4](!0)}}),this.type="uploader",this.id=this.opts.id||"AwsS3Multipart",eB(this,eG)[eG](t);let s={createMultipartUpload:this.createMultipartUpload,listParts:this.listParts,abortMultipartUpload:this.abortMultipartUpload,completeMultipartUpload:this.completeMultipartUpload,signPart:null!=t&&t.getTemporarySecurityCredentials?this.createSignedURL:this.signPart,getUploadParameters:null!=t&&t.getTemporarySecurityCredentials?this.createSignedURL:this.getUploadParameters};for(let e of Object.keys(s))null==this.opts[e]&&(this.opts[e]=s[e].bind(this));this.requests=null!=(i=this.opts.rateLimitedQueue)?i:new P.i(this.opts.limit),eB(this,eW)[eW]=new eO(this.requests,this.opts,eB(this,eZ)[eZ],eB(this,e1)[e1]),this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null)}[Symbol.for("uppy test: getClient")](){return eB(this,eK)[eK]}setOptions(e){eB(this,eW)[eW].setOptions(e),super.setOptions(e),eB(this,eG)[eG](e)}resetUploaderReferences(e,t){this.uploaders[e]&&(this.uploaders[e].abort({really:(null==t?void 0:t.abort)||!1}),this.uploaders[e]=null),this.uploaderEvents[e]&&(this.uploaderEvents[e].remove(),this.uploaderEvents[e]=null)}createMultipartUpload(e,t){eB(this,eJ)[eJ]("createMultipartUpload"),ed(t);let i=(0,N.A)(this.opts.allowedMetaFields,e.meta),s=ez({meta:e.meta,allowedMetaFields:i});return eB(this,eK)[eK].post("s3/multipart",{filename:e.name,type:e.type,metadata:s},{signal:t}).then(eq)}listParts(e,t,i){let{key:s,uploadId:n,signal:r}=t;null!=r||(r=i),eB(this,eJ)[eJ]("listParts"),ed(r);let a=encodeURIComponent(s);return eB(this,eK)[eK].get(`s3/multipart/${encodeURIComponent(n)}?key=${a}`,{signal:r}).then(eq)}completeMultipartUpload(e,t,i){let{key:s,uploadId:n,parts:r,signal:a}=t;null!=a||(a=i),eB(this,eJ)[eJ]("completeMultipartUpload"),ed(a);let o=encodeURIComponent(s),l=encodeURIComponent(n);return eB(this,eK)[eK].post(`s3/multipart/${l}/complete?key=${o}`,{parts:r.map(e=>{let{ETag:t,PartNumber:i}=e;return{ETag:t,PartNumber:i}})},{signal:a}).then(eq)}async createSignedURL(e,t){let i=await eB(this,eX)[eX](t),s=e$(i.credentials)||604800,{uploadId:n,key:r,partNumber:a}=t;return{method:"PUT",expires:s,fields:{},url:`${await ey({accountKey:i.credentials.AccessKeyId,accountSecret:i.credentials.SecretAccessKey,sessionToken:i.credentials.SessionToken,expires:s,bucketName:i.bucket,Region:i.region,Key:null!=r?r:`${crypto.randomUUID()}-${e.name}`,uploadId:n,partNumber:a})}`,headers:{"Content-Type":e.type}}}signPart(e,t){let{uploadId:i,key:s,partNumber:n,signal:r}=t;if(eB(this,eJ)[eJ]("signPart"),ed(r),null==i||null==s||null==n)throw Error("Cannot sign without a key, an uploadId, and a partNumber");let a=encodeURIComponent(s);return eB(this,eK)[eK].get(`s3/multipart/${encodeURIComponent(i)}/${n}?key=${a}`,{signal:r}).then(eq)}abortMultipartUpload(e,t){let{key:i,uploadId:s,signal:n}=t;eB(this,eJ)[eJ]("abortMultipartUpload");let r=encodeURIComponent(i),a=encodeURIComponent(s);return eB(this,eK)[eK].delete(`s3/multipart/${a}?key=${r}`,void 0,{signal:n}).then(eq)}getUploadParameters(e,t){eB(this,eJ)[eJ]("getUploadParameters");let{meta:i}=e,{type:s,name:n}=i,r=new URLSearchParams({filename:n,type:s,...ez({meta:i,allowedMetaFields:(0,N.A)(this.opts.allowedMetaFields,e.meta),querify:!0})});return eB(this,eK)[eK].get(`s3/params?${r}`,t)}static async uploadPartBytes(e){let{signature:{url:t,expires:i,headers:s,method:n="PUT"},body:r,size:a=r.size,onProgress:o,onComplete:l,signal:u}=e;if(ed(u),null==t)throw Error("Cannot upload to an undefined URL");return new Promise((e,c)=>{let d=new XMLHttpRequest;function p(){d.abort()}function h(){null==u||u.removeEventListener("abort",p)}d.open(n,t,!0),s&&Object.keys(s).forEach(e=>{d.setRequestHeader(e,s[e])}),d.responseType="text","number"==typeof i&&(d.timeout=1e3*i),null==u||u.addEventListener("abort",p),d.upload.addEventListener("progress",e=>{o(e)}),d.addEventListener("abort",()=>{h(),c((0,I.createAbortError)())}),d.addEventListener("timeout",()=>{h();let e=Error("Request has expired");e.source={status:403},c(e)}),d.addEventListener("load",()=>{if(h(),403===d.status&&d.responseText.includes("Request has expired")){let e=Error("Request has expired");e.source=d,c(e);return}if(d.status<200||d.status>=300){let e=Error("Non 2xx");e.source=d,c(e);return}null==o||o({loaded:a,lengthComputable:!0});let t=d.getAllResponseHeaders().trim().split(/[\r\n]+/),i={__proto__:null};for(let e of t){let t=e.split(": "),s=t.shift(),n=t.join(": ");i[s]=n}let{etag:s,location:r}=i;if("POST"===n.toUpperCase()&&null===r&&console.warn("AwsS3/Multipart: Could not read the Location header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."),null===s)return void c(Error("AwsS3/Multipart: Could not read the ETag header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."));null==l||l(s),e({...i,ETag:s})}),d.addEventListener("error",e=>{h();let t=Error("Unknown error");t.source=e.target,c(t)}),d.send(r)})}install(){eB(this,e4)[e4](!0),this.uppy.addPreProcessor(eB(this,e8)[e8]),this.uppy.addUploader(eB(this,e3)[e3]),this.uppy.on("cancel-all",eB(this,e7)[e7])}uninstall(){this.uppy.removePreProcessor(eB(this,e8)[e8]),this.uppy.removeUploader(eB(this,e3)[e3]),this.uppy.off("cancel-all",eB(this,e7)[e7])}}function e5(e){null!=e&&("endpoint"in e||"companionUrl"in e||"headers"in e||"companionHeaders"in e||"cookiesRule"in e||"companionCookiesRule"in e)&&("companionUrl"in e&&!("endpoint"in e)&&this.uppy.log("`companionUrl` option has been removed in @uppy/aws-s3, use `endpoint` instead.","warning"),"companionHeaders"in e&&!("headers"in e)&&this.uppy.log("`companionHeaders` option has been removed in @uppy/aws-s3, use `headers` instead.","warning"),"companionCookiesRule"in e&&!("cookiesRule"in e)&&this.uppy.log("`companionCookiesRule` option has been removed in @uppy/aws-s3, use `cookiesRule` instead.","warning"),"endpoint"in e?eB(this,eK)[eK]=new D(this.uppy,{pluginId:this.id,provider:"AWS",companionUrl:this.opts.endpoint,companionHeaders:this.opts.headers,companionCookiesRule:this.opts.cookiesRule}):("headers"in e&&eB(this,e8)[e8](),"cookiesRule"in e&&(eB(this,eK)[eK].opts.companionCookiesRule=e.cookiesRule)))}function e6(e){if(!eB(this,eK)[eK])throw Error(`Expected a \`endpoint\` option containing a URL, or if you are not using Companion, a custom \`${e}\` implementation.`)}async function te(e){if(ed(null==e?void 0:e.signal),null==eB(this,eQ)[eQ]){let{getTemporarySecurityCredentials:t}=this.opts;!0===t?(eB(this,eJ)[eJ]("getTemporarySecurityCredentials"),eB(this,eQ)[eQ]=eB(this,eK)[eK].get("s3/sts",e).then(eq)):eB(this,eQ)[eQ]=t(e),eB(this,eQ)[eQ]=await eB(this,eQ)[eQ],setTimeout(()=>{eB(this,eQ)[eQ]=null},500*(e$(eB(this,eQ)[eQ].credentials)||0))}return eB(this,eQ)[eQ]}function tt(e){var t=this;return new Promise((i,s)=>{let n=new ea(e.data,{companionComm:eB(this,eW)[eW],log:function(){return t.uppy.log(...arguments)},getChunkSize:this.opts.getChunkSize?this.opts.getChunkSize.bind(this):void 0,onProgress:(t,i)=>{var s;let n=this.uppy.getFile(e.id);this.uppy.emit("upload-progress",n,{uploadStarted:null!=(s=n.progress.uploadStarted)?s:0,bytesUploaded:t,bytesTotal:i})},onError:t=>{this.uppy.log(t),this.uppy.emit("upload-error",e,t),this.resetUploaderReferences(e.id),s(t)},onSuccess:t=>{let s={body:{...t},status:200,uploadURL:t.location};this.resetUploaderReferences(e.id),this.uppy.emit("upload-success",eB(this,e1)[e1](e),s),t.location&&this.uppy.log(`Download ${e.name} from ${t.location}`),i()},onPartComplete:t=>{this.uppy.emit("s3-multipart:part-uploaded",eB(this,e1)[e1](e),t)},file:e,shouldUseMultipart:this.opts.shouldUseMultipart,...e.s3Multipart});this.uploaders[e.id]=n;let r=new L.A(this.uppy);this.uploaderEvents[e.id]=r,r.onFileRemove(e.id,t=>{n.abort(),this.resetUploaderReferences(e.id,{abort:!0}),i(`upload ${t} was removed`)}),r.onCancelAll(e.id,()=>{n.abort(),this.resetUploaderReferences(e.id,{abort:!0}),i(`upload ${e.id} was canceled`)}),r.onFilePause(e.id,e=>{e?n.pause():n.start()}),r.onPauseAll(e.id,()=>{n.pause()}),r.onResumeAll(e.id,()=>{n.start()}),n.start()})}function ti(e){var t;return{...null==(t=e.remote)?void 0:t.body,protocol:"s3-multipart",size:e.data.size,metadata:e.meta}}e9.VERSION="4.1.0"},52151:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};return e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,i){if(e<2)return" யாமம்";if(e<6)return" வைகறை";if(e<10)return" காலை";if(e<14)return" நண்பகல்";if(e<18)return" எற்பாடு";else if(e<22)return" மாலை";else return" யாமம்"},meridiemHour:function(e,t){return(12===e&&(e=0),"யாமம்"===t)?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t?e>=10?e:e+12:e+12},week:{dow:0,doy:6}})})},52159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(75527),n=i(88761),r=i(72523),a=i(61037);class o extends a.default{model(e){return null===e.sort_order&&("reviewed"===e.status||"all"===e.status?e.sort_order="created_at":e.sort_order="score"),this.store.findAll("reviewable",e)}setupController(e,t){let i=t.resultSetMeta;void 0!==i.reviewable_count&&this.currentUser.set("reviewable_count",i.reviewable_count),void 0!==i.unseen_reviewable_count&&this.currentUser.set("unseen_reviewable_count",i.unseen_reviewable_count),e.setProperties({reviewables:t,type:i.type,filterType:i.type,filterStatus:i.status,filterTopic:i.topic_id,filterCategoryId:i.category_id,filterPriority:i.priority,reviewableTypes:i.reviewable_types,unknownReviewableTypes:i.unknown_reviewable_types_and_sources,scoreTypes:i.score_types,filterUsername:i.username,filterReviewedBy:i.reviewed_by,filterFlaggedBy:i.flagged_by,filterFromDate:(0,n.isPresent)(i.from_date)?moment(i.from_date):null,filterToDate:(0,n.isPresent)(i.to_date)?moment(i.to_date):null,filterSortOrder:i.sort_order,sort_order:i.sort_order,additionalFilters:i.additional_filters||{}}),e.reviewables.setEach("last_performing_username",null)}activate(){this.messageBus.subscribe(this._reviewableCountsChannel,this._updateReviewables)}deactivate(){this.messageBus.unsubscribe(this._reviewableCountsChannel,this._updateReviewables)}_updateReviewables(e){e.updates&&this.controller.reviewables.forEach(t=>{let i=e.updates[t.id];i&&t.setProperties(i)})}static #e=(()=>dt7948.n(this.prototype,"_updateReviewables",[r.bind]))();get _reviewableCountsChannel(){return`/reviewable_counts/${this.currentUser.id}`}refreshRoute(){this.refresh()}static #t=(()=>dt7948.n(this.prototype,"refreshRoute",[s.action]))()}},52199:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(75527),n=i(18555),r=i(32504),a=i(7860),o=i.n(a),l=i(53873),u=i(88820),c=i(32019),d=i(84190);let p=dt7948.c(class extends c.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#p=(()=>void dt7948.i(this,"modal"))();get userNotificationIcon(){return this.mainCollection&&this.mainCollection.find(e=>e.id===this.value).icon}static #t=(()=>dt7948.n(this.prototype,"userNotificationIcon",[(0,s.computed)("mainCollection.[]","value")]))();get content(){let e=[];return e.push({icon:"bell",id:"changeToNormal",description:(0,u.i18n)("user.user_notifications.normal_option_title"),name:(0,u.i18n)("user.user_notifications.normal_option")}),e.push({icon:"bell-slash",id:"changeToMuted",description:(0,u.i18n)("user.user_notifications.mute_option_title"),name:(0,u.i18n)("user.user_notifications.mute_option")}),this.get("user.can_ignore_user")&&e.push({icon:"far-eye-slash",id:"changeToIgnored",description:(0,u.i18n)("user.user_notifications.ignore_option_title"),name:(0,u.i18n)("user.user_notifications.ignore_option")}),e}static #i=(()=>dt7948.n(this.prototype,"content",[s.computed]))();changeToNormal(){this.updateNotificationLevel({level:"normal"}).catch(l.popupAjaxError)}changeToMuted(){this.updateNotificationLevel({level:"mute"}).catch(l.popupAjaxError)}changeToIgnored(){this.modal.show(o(),{model:{ignoredUsername:this.user.username,enableSelection:!1,onUserIgnored:e=>this.onUserIgnored?.(e)}})}onChange(e){this[e](),this.set("value",e)}static #s=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,d.selectKitOptions)({headerIcon:"userNotificationIcon",showCaret:!0}),(0,r.classNames)("user-notifications","user-notifications-dropdown")])},52217:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(18555),n=i(53775),r=i(36702),a=i(61037),o=i(88820);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"site",[s.service]))();#r=(()=>void dt7948.i(this,"site"))();async model(){let e=await (0,n.ajax)("/about.json"),t=Object.fromEntries(e.users.map(e=>[e.id,e]));e.categories?.forEach(e=>{this.site.updateCategory(e)});let i=moment().utc().subtract(1,"year");return e.about.admins=e.about.admin_ids.map(e=>t[e]).filter(e=>moment(e.last_seen_at)>i),e.about.moderators=e.about.moderator_ids.map(e=>t[e]).filter(e=>moment(e.last_seen_at)>i),e.about.category_moderators?.forEach(e=>{e.category=r.default.findById(e.category_id),e.moderators=e.moderator_ids.map(e=>t[e])}),e.about}titleToken(){return(0,o.i18n)("about.simple_title")}}},52238:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(83426),n=i(11075),r=i(27659),a=i(81539),o=i(72799),l=i(71209),u=i(86960);let c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"DipkX1fK",block:'[[[1,"\\n "],[10,0],[14,1,"revision-controls"],[12],[1,"\\n "],[10,0],[14,0,"revision-controls--back"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-default first-revision"]],[["@action","@icon","@title","@disabled"],[[30,1],"backward-fast","post.revisions.controls.first",[30,2]]],null],[1,"\\n "],[8,[32,0],[[24,0,"btn-default previous-revision"]],[["@action","@icon","@title","@disabled"],[[30,3],"backward","post.revisions.controls.previous",[30,4]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,1,"revision-numbers"],[15,0,[52,[51,[30,5]],"invisible"]],[12],[1,"\\n "],[8,[32,1],null,[["@condition","@size"],[[30,6],"small"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,7]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"revision-controls--forward"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-default next-revision"]],[["@action","@icon","@title","@disabled"],[[30,8],"forward","post.revisions.controls.next",[30,9]]],null],[1,"\\n "],[8,[32,0],[[24,0,"btn-default last-revision"]],[["@action","@icon","@title","@disabled"],[[30,10],"forward-fast","post.revisions.controls.last",[30,11]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,1,"revision-footer-buttons"],[12],[1,"\\n"],[41,[30,12],[[[1," "],[8,[32,0],[[24,0,"btn-default edit-post"]],[["@action","@icon","@label"],[[30,13],"pencil",[30,14]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,15],[[[41,[30,16],[[[1," "],[8,[32,0],[[24,0,"btn-danger revert-to-version"]],[["@action","@icon","@translatedLabel","@disabled"],[[30,17],"arrow-rotate-left",[30,16],[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,18,["previous_hidden"]],[[[1," "],[8,[32,0],[[24,0,"btn-default show-revision"]],[["@action","@icon","@label","@disabled"],[[30,19],"far-eye","post.revisions.controls.show",[30,6]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,0],[[24,0,"btn-danger hide-revision"]],[["@action","@icon","@label","@disabled"],[[30,20],"far-eye-slash","post.revisions.controls.hide",[30,6]]],null],[1,"\\n"]],[]]],[1,"\\n"],[41,[28,[32,3],[[30,21],[30,18,["previous_hidden"]]],null],[[[1," "],[8,[32,0],[[24,0,"btn-danger destroy-revision"]],[["@action","@icon","@label","@disabled"],[[30,22],"trash-can","post.revisions.controls.destroy",[30,6]]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n"]],["@loadFirstVersion","@loadFirstDisabled","@loadPreviousVersion","@loadPreviousDisabled","@displayRevisions","@loading","@revisionsText","@loadNextVersion","@loadNextDisabled","@loadLastVersion","@loadLastDisabled","@displayEdit","@editPost","@editButtonLabel","@isStaff","@revertToRevisionText","@revertToVersion","@model","@showVersion","@hideVersion","@canPermanentlyDelete","@permanentlyDeleteVersions"],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/history/topic-footer.js",scope:()=>[a.default,r.default,s.htmlSafe,n.and],isStrictMode:!0}),(0,u.default)(void 0,"topic-footer:TopicFooter"))},52252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(95766);i(87531);var n=i(25604),r=i(75527),a=i(18555),o=i(83426),l=i(11075),u=i(53769),c=i(75089),d=i(92960),p=i(23064),h=i(70677),m=i(36702),g=i(88820),f=i(609),_=i.n(f),y=i(17787),b=i(70148),w=i(72799),k=i(71209);let T=(0,i(74828).A)(i(87531)).cached;class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();uncategorizedSiteSettingLink=(()=>(0,h.default)("/admin/site_settings/category/all_results?filter=allow_uncategorized_topics"))();customizeTextContentLink=(()=>(0,h.default)("/admin/customize/site_texts?q=uncategorized"))();get styleTypes(){return Object.keys(p.CATEGORY_STYLE_TYPES).map(e=>({id:e,name:(0,g.i18n)(`category.styles.options.${e}`)}))}get showWarning(){return this.args.category.isUncategorizedCategory}get backgroundColors(){let e=this.site.get("categoriesList");return this.siteSettings.category_colors.split("|").filter(Boolean).map(e=>e.toUpperCase()).concat(e.map(e=>e.color.toUpperCase())).uniq()}static #s=(()=>dt7948.n(this.prototype,"backgroundColors",[T]))();get usedBackgroundColors(){let e=this.site.get("categoriesList"),t=this.args.category.id,i=this.args.category.color;return e.map(e=>t&&i.toUpperCase()===e.color.toUpperCase()?null:e.color.toUpperCase()).compact()}static #u=(()=>dt7948.n(this.prototype,"usedBackgroundColors",[T]))();get parentCategories(){return this.site.get("categoriesList").filter(e=>e.level+1dt7948.n(this.prototype,"parentCategories",[T]))();categoryBadgePreview(e){let t=this.args.category,i=m.default.create({name:e.name||(0,g.i18n)("category.untitled"),color:e.color,id:t.id,text_color:t.text_color,parent_category_id:parseInt(t.get("parent_category_id"),10),read_restricted:t.get("read_restricted")});return(0,d.categoryBadgeHTML)(i,{link:!1,previewColor:!0,styleType:e.style_type,emoji:e.emoji,icon:e.icon})}static #_=(()=>dt7948.n(this.prototype,"categoryBadgePreview",[r.action]))();get subCategories(){return this.args.category.isNew?null:m.default.list().filter(e=>e.get("parent_category_id")===this.args.category.id)}static #b=(()=>dt7948.n(this.prototype,"subCategories",[T]))();get showDescription(){let e=this.args.category;return!e.isUncategorizedCategory&&e.id&&e.topic_url}static #v=(()=>dt7948.n(this.prototype,"showDescription",[T]))();showCategoryTopic(){window.open(this.args.category.get("topic_url"),"_blank").focus()}static #w=(()=>dt7948.n(this.prototype,"showCategoryTopic",[r.action]))();updateColor(e,t){e.set(t.replace("#",""))}static #k=(()=>dt7948.n(this.prototype,"updateColor",[r.action]))();get categoryDescription(){return this.args.category.description?(0,o.htmlSafe)(this.args.category.description):(0,g.i18n)("category.no_description")}get canSelectParentCategory(){return!this.args.category.isUncategorizedCategory}get panelClass(){let e="general"===this.args.selectedTab?"active":"";return`edit-category-tab edit-category-tab-general ${e}`}static #T=(()=>(0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"a40B1hQN",block:'[[[1,"\\n "],[10,0],[15,0,[30,0,["panelClass"]]],[12],[1,"\\n"],[41,[30,0,["showWarning"]],[[[1," "],[8,[30,1,["Alert"]],null,[["@type","@icon"],["warning","triangle-exclamation"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],[[28,[32,1],["category.uncategorized_general_warning"],[["settingLink","customizeLink"],[[30,0,["uncategorizedSiteSettingLink"]],[30,0,["customizeTextContentLink"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["category-name-fields-details",[28,[32,3],null,[["form","category"],[[30,1],[30,2]]]]]],[["default"],[[[[1,"\\n"],[41,[51,[30,2,["isUncategorizedCategory"]]],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["name",[28,[32,1],["category.name"],null],"large","required"]],[["default"],[[[[1,"\\n "],[8,[30,3,["Input"]],[[16,"placeholder",[28,[32,1],["category.name_placeholder"],null]],[24,0,"category-name"]],[["@maxlength"],["50"]],null],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format"],["slug",[28,[32,1],["category.slug"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,4,["Input"]],[[16,"placeholder",[28,[32,1],["category.slug_placeholder"],null]]],[["@maxlength"],["255"]],null],[1,"\\n "]],[4]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["canSelectParentCategory"]],[[[1," "],[8,[30,1,["Field"]],[[24,0,"parent-category"]],[["@name","@title","@format"],["parent_category_id",[28,[32,1],["category.parent"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,5,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@allowSubCategories","@allowRestrictedCategories","@onChange","@options"],[[30,6,["parent_category_id"]],true,true,[30,5,["set"]],[28,[32,3],null,[["allowUncategorized","excludeCategoryId","autoInsertNoneItem","none"],[false,[30,2,["id"]],true,true]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[5]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["subCategories"]],[[[1," "],[8,[30,1,["Container"]],null,[["@title"],[[28,[32,1],["categories.subcategories"],null]]],[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["subCategories"]]],null]],null],null,[[[1," "],[1,[28,[32,5],[[30,7]],[["hideParent"],["true"]]]],[1,"\\n"]],[7]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showDescription"]],[[[1," "],[8,[30,1,["Section"]],null,[["@title"],[[28,[32,1],["category.description"],null]]],[["default"],[[[[1,"\\n"],[41,[30,2,["topic_url"]],[[[1," "],[8,[30,1,["Container"]],null,[["@subtitle"],[[30,0,["categoryDescription"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Button"]],[[24,0,"btn-default edit-category-description"]],[["@action","@icon","@label"],[[30,0,["showCategoryTopic"]],"pencil","category.change_in_category_topic"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,1,["Section"]],[[24,0,"category-style"]],[["@title"],[[28,[32,1],["category.style"],null]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["style_type",[28,[32,1],["category.styles.type"],null],"large","required"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],[[28,[30,0,["categoryBadgePreview"]],[[30,6]],null]],null]],[1,"\\n "],[8,[30,8,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["styleTypes"]]],null]],null],null,[[[1," "],[8,[30,9,["Option"]],null,[["@value"],[[30,10,["id"]]]],[["default"],[[[[1,"\\n "],[1,[30,10,["name"]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[10]],null],[1," "]],[9]]]]],[1,"\\n "]],[8]]]]],[1,"\\n\\n"],[41,[28,[32,6],[[30,6,["style_type"]],"emoji"],null],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["emoji",[28,[32,1],["category.styles.emoji"],null],"small","required"]],[["default"],[[[[1,"\\n "],[8,[30,11,["Emoji"]],null,null,null],[1,"\\n "]],[11]]]]],[1,"\\n"]],[]],[[[41,[28,[32,6],[[30,6,["style_type"]],"icon"],null],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["icon",[28,[32,1],["category.styles.icon"],null],"small","required"]],[["default"],[[[[1,"\\n "],[8,[30,12,["Icon"]],null,null,null],[1,"\\n "]],[12]]]]],[1,"\\n "]],[]],null]],[]]],[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format"],["color",[28,[32,1],["category.background_color"],null],"full"]],[["default"],[[[[1,"\\n "],[8,[30,13,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"category-color-editor"],[12],[1,"\\n "],[10,0],[14,0,"colorpicker-wrapper edit-background-color"],[12],[1,"\\n "],[8,[32,7],null,[["@hexValue","@valid","@ariaLabelledby","@onChangeColor"],[[28,[31,4],[[30,13,["value"]]],null],[30,2,["colorValid"]],"background-color-label",[28,[32,8],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[8,[32,9],null,[["@colors","@usedColors","@value","@ariaLabel","@onSelectColor"],[[30,0,["backgroundColors"]],[30,0,["usedBackgroundColors"]],[28,[31,4],[[30,13,["value"]]],null],[28,[32,1],["category.predefined_colors"],null],[28,[32,8],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[13]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@form","@category","field","field","field","@transientData","s","field","select","styleType","field","field","field"],false,["if","unless","each","-track-array","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-general.js",scope:()=>[o.htmlSafe,g.i18n,u.default,n.hash,y.default,c.default,l.eq,_(),n.fn,b.default],isStrictMode:!0}),this))()}},52375:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(63534),n=i(77667),r=i(55230),a=i(16818),o=i(31242),l=i.n(o);class u extends r.default{element;close;duration;transitionLaterHandler;closeLaterHandler;progressBar;progressAnimation;enabled;constructor(e,t){super(e,t),(0,s.registerDestructor)(this,e=>e.cleanup())}modify(e,t,i){let{close:s,duration:n,progressBar:r,enabled:a}=i;if(!1===a){this.enabled=!1;return}this.element=e,this.close=s,this.duration=n,this.timeRemaining=n,this.progressBar=r,this.element.addEventListener("touchstart",this.stopTimer,{passive:!0,once:!0}),this.element.addEventListener("mouseenter",this.stopTimer,{passive:!0}),this.element.addEventListener("mouseleave",this.startTimer,{passive:!0}),this.startTimer()}startTimer(){this.startProgressAnimation(),this.transitionLaterHandler=l()(()=>{this.element.classList.add("-fade-out"),this.closeLaterHandler=l()(()=>{this.close()},300)},this.timeRemaining)}static #e=(()=>dt7948.n(this.prototype,"startTimer",[a.bind]))();stopTimer(){this.pauseProgressAnimation(),(0,n.cancel)(this.transitionLaterHandler),(0,n.cancel)(this.closeLaterHandler)}static #t=(()=>dt7948.n(this.prototype,"stopTimer",[a.bind]))();startProgressAnimation(){if(this.progressBar){if(this.progressAnimation){this.progressAnimation.play(),this.progressBar.style.opacity=1;return}this.progressAnimation=this.progressBar.animate({transform:"scaleX(0)"},{duration:this.duration,fill:"forwards"})}}static #i=(()=>dt7948.n(this.prototype,"startProgressAnimation",[a.bind]))();pauseProgressAnimation(){this.progressAnimation&&this.progressAnimation.currentTime!==this.duration&&(this.progressAnimation.pause(),this.progressBar.style.opacity=.5,this.timeRemaining=this.duration-this.progressAnimation.currentTime)}static #s=(()=>dt7948.n(this.prototype,"pauseProgressAnimation",[a.bind]))();cleanup(){this.enabled&&(this.stopTimer(),this.element.removeEventListener("mouseenter",this.stopTimer),this.element.removeEventListener("mouseleave",this.startTimer),this.progressBar=null)}}},52376:(e,t,i)=>{"use strict";i.r(t),i.d(t,{failedCache:()=>n,localCache:()=>s,lookupCache:()=>c,normalize:()=>u,resetFailedCache:()=>a,resetLocalCache:()=>r,setFailedCache:()=>l,setLocalCache:()=>o});let s={},n={};function r(){s={}}function a(){n={}}function o(e,t){s[e]=t}function l(e,t){n[e]=t}function u(e){return e.replace(/\/$/,"")}function c(e){return s[u(e)]?.outerHTML}},52383:(e,t,i)=>{"use strict";function s(e,t,i){let s,n,r,a,o,l=e.tokens,u=0;for(n=0,r=l.length;n=0;s--)if(o=a[s],i?"link_open"===o.type||"link_close"===o.type?u-=o.nesting:"html_inline"===o.type&&("/i)&&u++:""===o.content.slice(0,4).toLowerCase()&&u--):("link_open"===o.type||"link_close"===o.type)&&"auto"===o.info&&(u-=o.nesting),"text"===o.type&&0===u){let i;(i=t(o.content,e))&&(l[n].children=a=e.md.utils.arrayReplaceAt(a,s,i))}}}i.r(t),i.d(t,{textReplace:()=>s})},52385:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(75527),r=i(81539),a=i(72490),o=i(88820),l=i(72799),u=i(71209);class c extends s.default{updateExistingUsers(){this.args.model.setUpdateExistingUsers(!0),this.args.closeModal()}static #e=(()=>dt7948.n(this.prototype,"updateExistingUsers",[n.action]))();cancel(){this.args.model.setUpdateExistingUsers(null),this.args.closeModal()}static #t=(()=>dt7948.n(this.prototype,"cancel",[n.action]))();static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"f1a4xqrs",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["admin.config.logo_and_fonts.fonts.backfill_modal.title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[1,[28,[32,1],["admin.config.logo_and_fonts.fonts.backfill_modal.description"],[["count"],[[30,2,["count"]]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["updateExistingUsers"]],"admin.config.logo_and_fonts.fonts.backfill_modal.modal_yes"]],null],[1,"\\n "],[8,[32,2],null,[["@action","@label"],[[30,0,["cancel"]],"admin.config.logo_and_fonts.fonts.backfill_modal.modal_no"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/update-default-text-size.js",scope:()=>[a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},52573:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(36702),n=i(88820),r=i(36020),a=i(3873),o=i(32266),l=i(89563),u=i(72799),c=i(71209);class d extends a.default{shouldSortCategoriesByDefault=(()=>!!this.siteSettings.default_navigation_menu_categories)();get categories(){return this.siteSettings.default_navigation_menu_categories?s.default.findByIds(this.siteSettings.default_navigation_menu_categories.split("|").map(e=>parseInt(e,10))):this.topSiteCategories}static #e=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"KOlCCP5R",block:'[[[1,"\\n "],[8,[32,0],null,[["@sectionName","@headerLinkText","@collapsable"],["categories",[28,[32,1],["sidebar.sections.categories.header_link_text"],null],[30,1]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sectionLinks"]]],null]],null],null,[[[1," "],[8,[32,2],[[16,"data-category-id",[30,2,["category","id"]]]],[["@route","@title","@content","@currentWhen","@model","@prefixType","@prefixValue","@prefixColor"],[[30,2,["route"]],[30,2,["title"]],[30,2,["text"]],[30,2,["currentWhen"]],[30,2,["model"]],[30,2,["prefixType"]],[30,2,["prefixValue"]],[30,2,["prefixColor"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[8,[32,3],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@collapsable","sectionLink"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/anonymous/categories-section.js",scope:()=>[o.default,n.i18n,l.default,r.default],isStrictMode:!0}),this))()}},52605:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(57528),n=i(32504),r=i(1020),a=i(84190);let o=dt7948.c(class extends r.default{static #e=(()=>dt7948.g(this.prototype,"autoFilterable",[(0,s.gte)("content.length",10)]))();#uH=(()=>void dt7948.i(this,"autoFilterable"))()},[(0,a.selectKitOptions)({caretUpIcon:"caret-up",caretDownIcon:"caret-down",autoFilterable:"autoFilterable",clearable:!1,headerComponent:"combo-box/combo-box-header",shouldDisplayIcon:!1}),(0,a.pluginApiIdentifiers)(["combo-box"]),(0,n.classNames)("combobox","combo-box")])},52633:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},52664:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(95766),n=i(81539),r=i(72799),a=i(71209);class o extends s.default{static shouldRender(e){return e.post.canManage||e.post.can_wiki||e.post.canEditStaffNotes}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"Ql3/K2+i",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-action-menu__admin show-post-admin-menu"],[17,1]],[["@action","@forwardEvent","@icon","@label","@title"],[[30,2,["openAdminMenu"]],true,"wrench",[52,[30,3],"post.controls.admin_action"],"post.controls.admin"]],null],[1,"\\n "]],["&attrs","@buttonActions","@showLabel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/admin.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},52666:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(87531),n=i(21980),r=i(75527),a=i(18555),o=i(83426),l=i(88761),u=i(5263),c=i(17191),d=i(53775),p=i(70412),h=i(25239),m=i(29174),g=i(70677),f=i(18674),_=i(74089),y=i(90211),b=i(85899),w=i(36649),k=i(88820);class T extends n.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #t=(()=>dt7948.g(this.prototype,"router",[a.service]))();#a=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"capabilities",[a.service]))();#j=(()=>void dt7948.i(this,"capabilities"))();static #s=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #u=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #c=(()=>dt7948.g(this.prototype,"login",[a.service]))();#eQ=(()=>void dt7948.i(this,"login"))();static #_=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #b=(()=>dt7948.g(this.prototype,"application",[n.inject]))();#im=(()=>void dt7948.i(this,"application"))();static #v=(()=>dt7948.g(this.prototype,"loggingIn",[s.tracked],function(){return!1}))();#uq=(()=>void dt7948.i(this,"loggingIn"))();static #w=(()=>dt7948.g(this.prototype,"loggedIn",[s.tracked],function(){return!1}))();#u$=(()=>void dt7948.i(this,"loggedIn"))();static #k=(()=>dt7948.g(this.prototype,"showLoginButtons",[s.tracked],function(){return!0}))();#uz=(()=>void dt7948.i(this,"showLoginButtons"))();static #T=(()=>dt7948.g(this.prototype,"showLogin",[s.tracked],function(){return!0}))();#uV=(()=>void dt7948.i(this,"showLogin"))();static #S=(()=>dt7948.g(this.prototype,"showSecondFactor",[s.tracked],function(){return!1}))();#uW=(()=>void dt7948.i(this,"showSecondFactor"))();static #C=(()=>dt7948.g(this.prototype,"loginPassword",[s.tracked],function(){return""}))();#uK=(()=>void dt7948.i(this,"loginPassword"))();static #A=(()=>dt7948.g(this.prototype,"loginName",[s.tracked],function(){return""}))();#uG=(()=>void dt7948.i(this,"loginName"))();static #D=(()=>dt7948.g(this.prototype,"canLoginLocal",[s.tracked],function(){return this.siteSettings.enable_local_logins}))();#uJ=(()=>void dt7948.i(this,"canLoginLocal"))();static #M=(()=>dt7948.g(this.prototype,"canLoginLocalWithEmail",[s.tracked],function(){return this.siteSettings.enable_local_logins_via_email}))();#uQ=(()=>void dt7948.i(this,"canLoginLocalWithEmail"))();static #z=(()=>dt7948.g(this.prototype,"secondFactorMethod",[s.tracked],function(){return w.SECOND_FACTOR_METHODS.TOTP}))();#rI=(()=>void dt7948.i(this,"secondFactorMethod"))();static #V=(()=>dt7948.g(this.prototype,"securityKeyCredential",[s.tracked]))();#uX=(()=>void dt7948.i(this,"securityKeyCredential"))();static #W=(()=>dt7948.g(this.prototype,"otherMethodAllowed",[s.tracked]))();#nr=(()=>void dt7948.i(this,"otherMethodAllowed"))();static #K=(()=>dt7948.g(this.prototype,"secondFactorRequired",[s.tracked]))();#nt=(()=>void dt7948.i(this,"secondFactorRequired"))();static #G=(()=>dt7948.g(this.prototype,"backupEnabled",[s.tracked]))();#ns=(()=>void dt7948.i(this,"backupEnabled"))();static #J=(()=>dt7948.g(this.prototype,"totpEnabled",[s.tracked]))();#uZ=(()=>void dt7948.i(this,"totpEnabled"))();static #e0=(()=>dt7948.g(this.prototype,"showSecurityKey",[s.tracked]))();#u1=(()=>void dt7948.i(this,"showSecurityKey"))();static #e2=(()=>dt7948.g(this.prototype,"securityKeyChallenge",[s.tracked]))();#u0=(()=>void dt7948.i(this,"securityKeyChallenge"))();static #e3=(()=>dt7948.g(this.prototype,"securityKeyAllowedCredentialIds",[s.tracked]))();#u2=(()=>void dt7948.i(this,"securityKeyAllowedCredentialIds"))();static #e8=(()=>dt7948.g(this.prototype,"secondFactorToken",[s.tracked]))();#sJ=(()=>void dt7948.i(this,"secondFactorToken"))();static #e4=(()=>dt7948.g(this.prototype,"flash",[s.tracked]))();#Q=(()=>void dt7948.i(this,"flash"))();static #e7=(()=>dt7948.g(this.prototype,"flashType",[s.tracked]))();#nA=(()=>void dt7948.i(this,"flashType"))();get isAwaitingApproval(){return this.awaitingApproval&&!this.canLoginLocal&&!this.canLoginLocalWithEmail}get loginDisabled(){return this.loggingIn||this.loggedIn}get bodyClasses(){let e=["login-body"];return this.isAwaitingApproval&&e.push("awaiting-approval"),!this.hasAtLeastOneLoginButton||this.showSecondFactor||this.showSecurityKey||e.push("has-alt-auth"),this.canLoginLocal||e.push("no-local-login"),(this.showSecondFactor||this.showSecurityKey)&&e.push("second-factor"),e.join(" ")}get canUsePasskeys(){return this.siteSettings.enable_local_logins&&this.siteSettings.enable_passkeys&&(0,y.isWebauthnSupported)()}get hasAtLeastOneLoginButton(){return(0,b.findAll)().length>0||this.canUsePasskeys}get hasNoLoginOptions(){return!this.hasAtLeastOneLoginButton&&!this.canLoginLocal}get loginButtonLabel(){return this.loggingIn?"login.logging_in":"login.title"}get showSignupLink(){return this.canSignUp&&!this.showSecondFactor}get adminLoginPath(){return(0,g.default)("/u/admin-login")}get shouldTriggerRouteAction(){return!this.siteSettings.full_page_login||this.siteSettings.enable_discourse_connect||this.singleExternalLogin}showFullPageLogin(){this.showLogin=!0}static #e9=(()=>dt7948.n(this.prototype,"showFullPageLogin",[r.action]))();async passkeyLogin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"optional";try{let t=await (0,y.getPasskeyCredential)(e=>this.dialog.alert(e),e,this.capabilities.isFirefox);if(t){let e;try{e=await (0,d.ajax)("/session/passkey/auth.json",{type:"POST",data:{publicKeyCredential:t}})}catch(e){(0,p.popupAjaxError)(e);return}if(e&&!e.error){let e=(0,h.default)("destination_url"),t=(0,h.default)("sso_destination_url");t?((0,h.removeCookie)("sso_destination_url"),window.location.assign(t)):e?((0,h.removeCookie)("destination_url"),window.location.assign(e)):this.referrerTopicUrl?window.location.assign(this.referrerTopicUrl):window.location.reload()}else this.dialog.alert(e.error)}}catch(e){(0,p.popupAjaxError)(e)}}static #e5=(()=>dt7948.n(this.prototype,"passkeyLogin",[r.action]))();preloadLogin(){let e=document.querySelector("#hidden-login-form input[name=username]")?.value;e?(this.loginName=e,this.loginPassword=document.querySelector("#hidden-login-form input[name=password]").value):(0,h.default)("email")&&(this.loginName=(0,h.default)("email"))}static #e6=(()=>dt7948.n(this.prototype,"preloadLogin",[r.action]))();securityKeyCredentialChanged(e){this.securityKeyCredential=e}static #te=(()=>dt7948.n(this.prototype,"securityKeyCredentialChanged",[r.action]))();flashChanged(e){this.flash=e}static #tt=(()=>dt7948.n(this.prototype,"flashChanged",[r.action]))();flashTypeChanged(e){this.flashType=e}static #ti=(()=>dt7948.n(this.prototype,"flashTypeChanged",[r.action]))();loginNameChanged(e){this.loginName=e.target.value}static #sF=(()=>dt7948.n(this.prototype,"loginNameChanged",[r.action]))();showCreateAccount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.site.isReadOnly?this.dialog.alert((0,k.i18n)("read_only_mode.login_disabled")):this.handleShowCreateAccount(e)}static #sI=(()=>dt7948.n(this.prototype,"showCreateAccount",[r.action]))();handleShowCreateAccount(e){if(this.siteSettings.enable_discourse_connect){let e=encodeURIComponent(window.location.pathname);window.location=(0,g.default)("/session/sso?return_path="+e)}else this.isOnlyOneExternalLoginMethod&&this.siteSettings.auth_immediately?this.login.externalLogin(this.externalLoginMethods[0],{signup:!0}):this.router.transitionTo("signup").then(t=>{Object.keys(e||{}).forEach(i=>{t.controller.set(i,e[i])})})}showNotActivated(e){this.modal.show(c.default,{model:e})}static #sN=(()=>dt7948.n(this.prototype,"showNotActivated",[r.action]))();async triggerLogin(){if(!this.loginDisabled){if((0,l.isEmpty)(this.loginName)||(0,l.isEmpty)(this.loginPassword)){this.flash=(0,k.i18n)("login.blank_username_or_password"),this.flashType="error";return}try{this.loggingIn=!0;let e=await (0,d.ajax)("/session",{type:"POST",data:{login:this.loginName,password:this.loginPassword,second_factor_token:this.securityKeyCredential||this.secondFactorToken,second_factor_method:this.secondFactorMethod,timezone:moment.tz.guess()}});if(e&&e.error){if(this.loggingIn=!1,this.flash=null,(e.security_key_enabled||e.totp_enabled)&&!this.secondFactorRequired){this.otherMethodAllowed=e.multiple_second_factor_methods,this.secondFactorRequired=!0,this.showLoginButtons=!1,this.backupEnabled=e.backup_enabled,this.totpEnabled=e.totp_enabled,this.showSecondFactor=e.totp_enabled,this.showSecurityKey=e.security_key_enabled,this.secondFactorMethod=e.security_key_enabled?w.SECOND_FACTOR_METHODS.SECURITY_KEY:w.SECOND_FACTOR_METHODS.TOTP,this.securityKeyChallenge=e.challenge,this.securityKeyAllowedCredentialIds=e.allowed_credential_ids;return}"not_activated"===e.reason?this.showNotActivated({username:this.loginName,sentTo:(0,m.default)(e.sent_to_email),currentEmail:(0,m.default)(e.current_email)}):"suspended"===e.reason?this.dialog.alert(e.error):("expired"===e.reason?this.flash=(0,o.htmlSafe)((0,k.i18n)("login.password_expired",{reset_url:(0,g.default)("/password-reset")})):this.flash=e.error,this.flashType="error")}else{this.loggedIn=!0;let e=document.getElementById("hidden-login-form"),t=(t,i)=>{e&&(e.querySelector(`input[name=${i}]`).value=t)},i=(0,h.default)("destination_url"),s=(0,h.default)("sso_destination_url");if(t(this.loginName,"username"),t(this.loginPassword,"password"),s){(0,h.removeCookie)("sso_destination_url"),window.location.assign(s);return}i?((0,h.removeCookie)("destination_url"),t(i,"redirect")):t(this.referrerTopicUrl?this.referrerTopicUrl:window.location.href,"redirect"),e&&(navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&navigator.userAgent.match(/Safari/g)?window.location.href=e.querySelector("input[name=redirect]").value:e.submit());return}}catch(e){e.jqXHR&&429===e.jqXHR.status?this.flash=(0,k.i18n)("login.rate_limit"):e.jqXHR&&503===e.jqXHR.status&&"read_only"===e.jqXHR.responseJSON.error_type?this.flash=(0,k.i18n)("read_only_mode.login_disabled"):(0,_.areCookiesEnabled)()?this.flash=(0,k.i18n)("login.error"):this.flash=(0,k.i18n)("login.cookies_error"),this.flashType="error",this.loggingIn=!1}}}static #sj=(()=>dt7948.n(this.prototype,"triggerLogin",[r.action]))();externalLoginAction(e){this.loginDisabled||this.login.externalLogin(e,{signup:!1,setLoggingIn:e=>this.loggingIn=e})}static #sO=(()=>dt7948.n(this.prototype,"externalLoginAction",[r.action]))();createAccount(){let e={};this.loginName&&this.loginName.indexOf("@")>0?(e.accountEmail=this.loginName,e.accountUsername=null):(e.accountUsername=this.loginName,e.accountEmail=null),this.showCreateAccount(e)}static #sR=(()=>dt7948.n(this.prototype,"createAccount",[r.action]))();interceptResetLink(e){!(0,f.wantsNewWindow)(e)&&e.target.href&&new URL(e.target.href).pathname===(0,g.default)("/password-reset")&&(e.preventDefault(),e.stopPropagation(),this.modal.show(u.default,{model:{emailOrUsername:this.loginName}}))}static #sU=(()=>dt7948.n(this.prototype,"interceptResetLink",[r.action]))()}},52691:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(72799),n=i(4781),r=i(75527),a=i(57528),o=i(88761),l=i(32504),u=i(32020),c=i.n(u),d=i(16818),p=i.n(d),h=i(88820),m=i(55800),g=i(71209);let f=dt7948.c(class extends s.default.extend(m.default){tabIndex=(()=>-1)();static #e=(()=>dt7948.g(this.prototype,"isExpanded",[(0,a.not)("isHidden")]))();#u3=(()=>void dt7948.i(this,"isExpanded"))();get isHidden(){return!this.selectKit.options.filterable&&!this.selectKit.options.allowAny&&!this.selectKit.options.autoFilterable}static #t=(()=>dt7948.n(this.prototype,"isHidden",[(0,r.computed)("selectKit.options.{filterable,allowAny,autoFilterable}","content.[]")]))();placeholder(e,t){return(0,o.isPresent)(t)?t:(0,o.isPresent)(e)?(0,h.i18n)(e):(0,h.i18n)(this.selectKit.options.allowAny?"select_kit.filter_placeholder_with_any":"select_kit.filter_placeholder")}static #i=(()=>dt7948.n(this.prototype,"placeholder",[p()("selectKit.options.filterPlaceholder","selectKit.options.translatedFilterPlaceholder","selectKit.options.allowAny")]))();onPaste(){}static #s=(()=>dt7948.n(this.prototype,"onPaste",[r.action]))();onInput(e){return this.selectKit.onInput(e),!0}static #u=(()=>dt7948.n(this.prototype,"onInput",[r.action]))();onKeyup(e){return e.preventDefault(),e.stopImmediatePropagation(),!0}static #c=(()=>dt7948.n(this.prototype,"onKeyup",[r.action]))();onKeydown(e){return!!this.selectKit.onKeydown(e)&&("Tab"===e.key&&this.selectKit.isLoading?(this.selectKit.cancelSearch(),this.selectKit.close(e),!0):"ArrowLeft"===e.key||"ArrowRight"===e.key||("Backspace"!==e.key||this.selectKit.filter?"ArrowUp"===e.key?(this.selectKit.highlightLast(),e.preventDefault(),!1):"ArrowDown"===e.key?(this.selectKit.isExpanded||this.selectKit.open(e),this.selectKit.highlightFirst(),e.preventDefault(),!1):"Escape"===e.key?(this.selectKit.close(e),this.selectKit.headerElement().focus(),e.preventDefault(),e.stopPropagation(),!1):"Enter"===e.key&&this.selectKit.highlighted?(this.selectKit.select(this.getValue(this.selectKit.highlighted),this.selectKit.highlighted),e.preventDefault(),e.stopImmediatePropagation(),!1):"Enter"===e.key&&(!this.selectKit.highlighted||this.selectKit.enterDisabled)?(this.element.querySelector("input").focus(),this.selectKit.enterDisabled&&(e.preventDefault(),e.stopImmediatePropagation()),!1):void this.selectKit.set("highlighted",null):(this.selectKit.deselectLast(),e.preventDefault(),!1)))}static #_=(()=>dt7948.n(this.prototype,"onKeydown",[r.action]))();static #b=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"TcpkY9nI",block:'[[[1,"\\n"],[41,[51,[30,0,["isHidden"]]],[[[1,"\\n "],[8,[32,0],[[16,"tabindex",0],[24,0,"filter-input"],[16,"placeholder",[30,0,["placeholder"]]],[24,"autocomplete","off"],[24,"autocorrect","off"],[24,"autocapitalize","off"],[24,3,"filter-input-search"],[16,"spellcheck",false],[4,[32,1],["paste",[30,0,["onPaste"]]],null],[4,[32,1],["keydown",[30,0,["onKeydown"]]],null],[4,[32,1],["keyup",[30,0,["onKeyup"]]],null],[4,[32,1],["input",[30,0,["onInput"]]],null]],[["@value","@type"],[[28,[31,1],[[30,0,["selectKit","filter"]]],null],"search"]],null],[1,"\\n\\n"],[41,[30,0,["selectKit","options","filterIcon"]],[[[1," "],[1,[28,[32,2],[[30,0,["selectKit","options","filterIcon"]]],[["class"],["filter-icon"]]]],[1,"\\n"]],[]],null]],[]],null],[1," "]],[],false,["unless","readonly","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/select-kit/select-kit-filter.js",scope:()=>[s.Input,n.on,c()],isStrictMode:!0}),this))()},[(0,l.attributeBindings)("role"),(0,l.classNameBindings)("isExpanded:is-expanded"),(0,l.classNames)("select-kit-filter")])},52693:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87531),n=i(84489),r=i(25640);class a extends r.default{static async applyTransformations(e){await (0,n.applyModelTransformations)("notification",e)}static async initializeNotifications(e){let t=e.map(e=>this.create(e));return await this.applyTransformations(t),t}static #e=(()=>dt7948.g(this.prototype,"read",[s.tracked]))();#u8=(()=>void dt7948.i(this,"read"))()}},52703:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(77977)},52705:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=function(){try{var e="discourse/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),i={default:JSON.parse(decodeURIComponent(t))};return Object.defineProperty(i,"__esModule",{value:!0}),i}catch(t){throw Error('Could not read config from meta tag with name "'+e+'".')}}().default},52757:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(600),n=i(35352),r=i(88820);let a=class extends s.default{get linkHref(){return(0,n.userPath)(`${this.notification.username||this.currentUser.username}/messages`)}get description(){return(0,r.i18n)("notifications.membership_request_consolidated",{group_name:this.notification.data.group_name,count:this.notification.data.count})}get label(){return null}}},52794:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(75527),n=i(57528),r=i(32504),a=i(88820),o=i(32019),l=i(84190);let u=dt7948.c(class extends o.default{static #e=(()=>dt7948.g(this.prototype,"content",[(0,n.oneWay)("site.periods")]))();#u4=(()=>void dt7948.i(this,"content"))();static #t=(()=>dt7948.g(this.prototype,"value",[(0,n.readOnly)("period")]))();#sm=(()=>void dt7948.i(this,"value"))();valueProperty=null;nameProperty=null;showPeriods=!0;modifyComponentForRow(){return"period-chooser/period-chooser-row"}_onChange(e){this.action?this.action(e):this.onChange?.(e)}static #i=(()=>dt7948.n(this.prototype,"_onChange",[s.action]))()},[(0,l.selectKitOptions)({filterable:!1,autoFilterable:!1,fullDay:"fullDay",customStyle:!0,headerComponent:"period-chooser/period-chooser-header",headerAriaLabel:(0,a.i18n)("period_chooser.aria_label")}),(0,r.classNameBindings)("showPeriods::hidden"),(0,r.classNames)("period-chooser")])},52832:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(83426),n=i(88820),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"wpD7aUZl",block:'[[[1,"\\n "],[10,0],[14,0,"empty-state"],[12],[1,"\\n "],[10,1],[14,0,"empty-state-title"],[12],[1,"\\n "],[1,[28,[32,0],["user.no_other_notifications_title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"empty-state-body"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],[[28,[32,0],["user.no_other_notifications_body"],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/other-notifications-list-empty-state.js",scope:()=>[n.i18n,s.htmlSafe],isStrictMode:!0}),(0,o.default)(void 0,"other-notifications-list-empty-state:OtherNotificationsListEmptyState"))},52842:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(95766),n=i(25604),r=i(4781),a=i(62838),o=i(18555),l=i(83426),u=i(11075),c=i(53769),d=i(39268),p=i(30616),h=i(54074),m=i(12733),g=i(88820),f=i(72799),_=i(71209);class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"Tk77/Cfo",block:'[[[1,"\\n "],[10,0],[14,1,"revision"],[12],[1,"\\n "],[10,0],[14,1,"revision-details"],[12],[1,"\\n "],[1,[28,[32,0],["pencil"],null]],[1,"\\n "],[8,[32,1],[[24,0,"revision-details__user"]],[["@route","@model"],["user",[30,1,["username"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1,["avatar_template"]],"small"],null]],[1,"\\n"],[41,[30,0,["siteSettings","prioritize_full_name_in_ux"]],[[[1," "],[1,[30,1,["acting_user_name"]]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["username"]]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "],[8,[32,3],null,[["@name","@outletArgs"],["revision-user-details-after",[28,[32,4],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[10,1],[14,0,"date"],[12],[1,[28,[32,5],[[30,1,["created_at"]]],null]],[13],[1,"\\n"],[41,[30,1,["edit_reason"]],[[[1," "],[10,1],[14,0,"edit-reason"],[12],[1,[30,1,["edit_reason"]]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[10,1],[12],[1,"\\n"],[41,[30,1,["user_changes"]],[[[1," "],[1,[28,[32,2],[[30,1,["user_changes","previous","avatar_template"]],"small"],null]],[1,"\\n "],[1,[30,1,["user_changes","previous","username"]]],[1,"\\n →\\n "],[1,[28,[32,2],[[30,1,["user_changes","current","avatar_template"]],"small"],null]],[1,"\\n "],[1,[30,1,["user_changes","current","username"]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["wiki_changes"]],[[[1," "],[1,[28,[32,0],["far-pen-to-square"],[["class"],[[52,[30,1,["wiki_changes","current"]],"diff-ins","diff-del"]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["post_type_changes"]],[[[1," "],[1,[28,[32,0],["shield-halved"],[["class"],[[52,[28,[32,6],[[30,1,["post_type_changes","current"]],[30,2,["post_types","moderator_action"]]],null],"diff-del","diff-ins"]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["archetype_changes"]],[[[1," "],[1,[28,[32,0],[[52,[28,[32,6],[[30,1,["archetype_changes","current"]],"private_message"],null],"envelope","comment"]],null]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,7],[[30,1,["category_id_changes"]],[28,[32,8],[[30,1,["archetype_changes"]]],null]],null],[[[41,[30,3],[[[1," "],[1,[28,[32,9],[[30,3]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["far-eye-slash"],[["class"],["diff-del"]]]],[1,"\\n"]],[]]],[1," →\\n"],[41,[30,4],[[[1," "],[1,[28,[32,9],[[30,4]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["far-eye-slash"],[["class"],["diff-ins"]]]],[1,"\\n"]],[]]]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[10,0],[14,1,"display-modes"],[12],[1,"\\n "],[10,"ul"],[14,0,"nav nav-pills"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,6,""],[16,0,[28,[32,10],["inline-mode",[52,[28,[32,6],[[30,5],"inline"],null],"active"]],null]],[16,"title",[28,[32,11],["post.revisions.displays.inline.title"],null]],[16,"aria-label",[28,[32,11],["post.revisions.displays.inline.title"],null]],[4,[32,12],["click",[30,6]],null],[12],[1,"\\n "],[1,[28,[32,0],["far-square"],null]],[1,"\\n "],[1,[28,[32,11],["post.revisions.displays.inline.button"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,6,""],[16,0,[28,[32,10],["side-by-side-mode",[52,[28,[32,6],[[30,5],"side_by_side"],null],"active"]],null]],[16,"title",[28,[32,11],["post.revisions.displays.side_by_side.title"],null]],[16,"aria-label",[28,[32,11],["post.revisions.displays.side_by_side.title"],null]],[4,[32,12],["click",[30,7]],null],[12],[1,"\\n "],[1,[28,[32,0],["table-columns"],null]],[1,"\\n "],[1,[28,[32,11],["post.revisions.displays.side_by_side.button"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,6,""],[16,0,[28,[32,10],["side-by-side-markdown-mode",[52,[28,[32,6],[[30,5],"side_by_side_markdown"],null],"active"]],null]],[16,"title",[28,[32,11],["post.revisions.displays.side_by_side_markdown.title"],null]],[16,"aria-label",[28,[32,11],["post.revisions.displays.side_by_side_markdown.title"],null]],[4,[32,12],["click",[30,8]],null],[12],[1,"\\n "],[1,[28,[32,0],["table-columns"],null]],[1,"\\n "],[1,[28,[32,11],["post.revisions.displays.side_by_side_markdown.button"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","@site","@previousCategory","@currentCategory","@viewMode","@displayInline","@displaySideBySide","@displaySideBySideMarkdown"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/history/revision.js",scope:()=>[m.default,a.LinkTo,d.default,c.default,n.hash,p.default,u.eq,u.and,u.not,l.htmlSafe,h.default,g.i18n,r.on],isStrictMode:!0}),this))()}},52903:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(25604),n=i(53769),r=i(67032),a=i(12733),o=i(88820),l=i(72799),u=i(71209),c=i(86960);let d=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"8ZY6CgB9",block:'[[[1,"\\n "],[10,0],[14,0,"names"],[12],[1,"\\n "],[10,1],[14,0,"username"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,[30,1,["username"]]]],[]]]]],[1,"\\n"],[41,[30,1,["silenced"]],[[[1," "],[1,[28,[32,1],["ban"],[["title"],["user.silenced_tooltip"]]]],[1,"\\n"]],[]],null]],[]],[[[1," "],[1,[28,[32,2],["review.deleted_user"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["after-reviewable-post-user","div",[28,[32,4],null,[["user"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],["@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-created-by-name.js",scope:()=>[r.default,a.default,o.i18n,n.default,s.hash],isStrictMode:!0}),(0,c.default)(void 0,"reviewable-created-by-name:ReviewableCreatedByName"))},52909:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(87531),r=i(75527),a=i(55230),o=i(9165),l=i(54074),u=i(72799),c=i(71209);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"docked",[n.tracked],function(){return!1}))();#u7=(()=>void dt7948.i(this,"docked"))();static #t=(()=>dt7948.g(this.prototype,"dockedBottom",[n.tracked],function(){return!1}))();#u9=(()=>void dt7948.i(this,"dockedBottom"))();enteredIndex=(()=>this.args.prevEvent?this.args.prevEvent.postIndex-1:this.args.enteredIndex)();addShowClass=(()=>(0,a.modifier)(e=>{this.args.fullscreen&&e.classList.add("show")}))();setDocked(e){this.docked!==e&&(this.docked=e)}static #i=(()=>dt7948.n(this.prototype,"setDocked",[r.action]))();setDockedBottom(e){this.dockedBottom!==e&&(this.dockedBottom=e)}static #s=(()=>dt7948.n(this.prototype,"setDockedBottom",[r.action]))();static #u=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"0CnzALOn",block:'[[[1,"\\n "],[11,0],[16,0,[28,[32,0],["timeline-container",[52,[30,1],"timeline-fullscreen"],[52,[30,0,["docked"]],"timeline-docked"],[52,[30,0,["dockedBottom"]],"timeline-docked-bottom"]],null]],[4,[30,0,["addShowClass"]],null,null],[12],[1,"\\n "],[10,0],[14,0,"topic-timeline"],[12],[1,"\\n "],[8,[32,1],null,[["@model","@enteredIndex","@jumpTop","@jumpBottom","@jumpEnd","@jumpToIndex","@jumpToPostPrompt","@fullscreen","@toggleMultiSelect","@showTopicSlowModeUpdate","@showTopReplies","@deleteTopic","@recoverTopic","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@replyToPost","@setDocked","@setDockedBottom"],[[30,2],[30,0,["enteredIndex"]],[30,3],[30,4],[30,5],[30,6],[30,7],[30,1],[30,8],[30,9],[30,10],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19],[30,20],[30,21],[30,22],[30,0,["setDocked"]],[30,0,["setDockedBottom"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@fullscreen","@model","@jumpTop","@jumpBottom","@jumpEnd","@jumpToIndex","@jumpToPostPrompt","@toggleMultiSelect","@showTopicSlowModeUpdate","@showTopReplies","@deleteTopic","@recoverTopic","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@replyToPost"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-timeline.js",scope:()=>[l.default,o.default],isStrictMode:!0}),this))()}},52972:function(e,t){var i;!function(s,n){void 0===(i=(function(){return s.MessageBus=n()}).apply(t,[]))||(e.exports=i)}("undefined"!=typeof self?self:this,function(){"use strict";var e,t,i,s,n=!1,r=!1,a=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}(),o=[],l=0,u=!1,c=[],d=0,p=null,h=0,m=0,g=function(){for(var e,t=["","webkit","ms","moz"],i=0;i=0&&i0&&(d--,y=!1);var k={"X-SILENCE-LOGGER":"true"};for(var S in e.headers)k[S]=e.headers[S];y||(k["Dont-Chunk"]="true");var C=y?"text":"json",A=function(e,t){var s=`\r
|\r
`,n=e.indexOf(s,t);if(-1===n)return t;var r=e.substring(t,n);r=r.replace(/\r\n\|\|\r\n/g,s);try{T(JSON.parse(r))}catch(e){console.log&&(console.log("FAILED TO PARSE CHUNKED REPLY"),console.log(i))}return A(e,n+s.length)},D=function(){e.longPoll&&(e.longPoll.abort(),d=e.retryChunkedAfterRequests)};if(!e.ajax)throw Error("Either jQuery or the ajax adapter must be loaded");return _(),n=!0,e.ajax({url:e.baseUrl+"message-bus/"+e.clientId+"/poll"+(f?"":"?dlp=t"),data:i,async:!0,dataType:C,type:"POST",headers:k,messageBus:{chunked:y,onProgressListener:function(t){var i=0;return o=setTimeout(D,e.firstChunkTimeout),t.onprogress=function(){clearTimeout(o),"application/json; charset=utf-8"===t.getResponseHeader("Content-Type")?y=!1:i=A(t.responseText,i)}}},xhr:function(){var e=jQuery.ajaxSettings.xhr();return y&&this.messageBus.onProgressListener(e),e},success:function(e){y||("string"==typeof e&&(e=JSON.parse(e)),u=T(e))},error:function(e,t){if(clearTimeout(o),429===e.status){var i=parseInt(e.getResponseHeader&&e.getResponseHeader("Retry-After"))||0;(i=i||0)<15&&(i=15),a=i,g=!0}else"abort"===t?c=!0:(l+=1,h+=1)},complete:function(){n=!1;var i,o=w();try{if(g)i=Math.max(e.minPollInterval,1e3*a);else if(c)i=e.minPollInterval;else if(l>2)i=Math.min(e.callbackInterval*l,e.maxPollInterval);else if(o&&u)i=e.minPollInterval;else{var d=o?e.callbackInterval:e.backgroundCallbackInterval,h=new Date-s;(i=d-h)<100&&(i=100)}}catch(e){console.log&&e.message&&console.log("MESSAGE BUS FAIL: "+e.message)}p&&(clearTimeout(p),p=null),r&&(p=setTimeout(function(){p=null,t()},i)),e.longPoll=null}})}};return e={minHiddenPollInterval:1500,enableChunkedEncoding:!0,enableLongPolling:!0,callbackInterval:15e3,backgroundCallbackInterval:6e4,minPollInterval:100,maxPollInterval:18e4,callbacks:o,clientId:a,alwaysLongPoll:!1,shouldLongPollCallback:void 0,firstChunkTimeout:3e3,retryChunkedAfterRequests:30,baseUrl:"/",headers:{},ajax:"undefined"!=typeof jQuery&&jQuery.ajax,diagnostics:function(){console.log("Stopped: "+i+" Started: "+r),console.log("Current callbacks"),console.log(o),console.log("Total ajax calls: "+m+" Recent failure count: "+l+" Total failures: "+h),console.log("Last ajax call: "+(new Date-s)/1e3+" seconds ago")},pause:function(){u=!0},resume:function(){u=!1,k(c),c=[]},stop:function(){i=!0,r=!1,t&&(clearTimeout(t),t=null),p&&(clearTimeout(p),p=null),e.longPoll&&e.longPoll.abort(),e.onVisibilityChange&&(document.removeEventListener("visibilitychange",e.onVisibilityChange),e.onVisibilityChange=null)},start:function(){if(!r){r=!0,i=!1;var s=function(){if(!i){if(0===o.length||y()){t||(t=setTimeout(function(){t=null,s()},parseInt(500+500*Math.random())));return}for(var n={},r=0;r=0;r--){var a,l=o[r];(a=s?l.channel.substr(0,t.length)!==t:l.channel!==t)||!i||l.func===i||(a=!0),a||(o.splice(r,1),n=!0)}return n&&e.longPoll&&e.longPoll.abort(),n}}})},52984:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(72799),n=i(57528),r=i(32504),a=i(81539),o=i(72523),l=i(88820),u=i(71209);let c=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"buttonDisabled",[(0,n.or)("model.isSaving","saveDisabled")]))();#u5=(()=>void dt7948.i(this,"buttonDisabled"))();didInsertElement(){super.didInsertElement(...arguments),this.set("saved",!1)}savingText(e){return e?"saving":"save"}static #t=(()=>dt7948.n(this.prototype,"savingText",[(0,o.default)("model.isSaving")]))();static #i=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"GcnNiOQr",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-primary save-changes"]],[["@action","@disabled","@label"],[[30,0,["action"]],[30,0,["buttonDisabled"]],[30,0,["savingText"]]]],null],[1,"\\n"],[41,[30,0,["saved"]],[[[1," "],[10,1],[14,0,"saved"],[12],[1,[28,[32,1],["saved"],null]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[18,1,null],[1,"\\n "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/save-controls.js",scope:()=>[a.default,l.i18n],isStrictMode:!0}),this))()},[(0,r.classNames)("controls","save-button")])},53107:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(5886);class n extends s.default{cache=!0}},53156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(18555),n=i(35352),r=i(85382),a=i(61037),o=i(88820);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();activate(){super.activate(...arguments),n.default.jumpToElement(document.location.hash.slice(1))}beforeModel(e){this.siteSettings.privacy_policy_url&&(e.abort(),n.default.redirectTo(this.siteSettings.privacy_policy_url))}model(){return r.default.find("privacy")}titleToken(){return(0,o.i18n)("privacy")}}},53165:e=>{"use strict";e.exports=function(e){if("number"!=typeof e||Number.isNaN(e))throw TypeError(`Expected a number, got ${typeof e}`);let t=e<0,i=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return`${(t?"-":"")+e} B`;let s=Math.min(Math.floor(Math.log(e)/Math.log(1024)),i.length-1);e=Number(e/1024**s);let n=i[s];return e>=10||e%1==0?`${(t?"-":"")+e.toFixed(0)} ${n}`:`${(t?"-":"")+e.toFixed(1)} ${n}`}},53214:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(88820);class n{constructor(e){let{reviewable:t,currentUser:i,siteSettings:s,site:n}=e;this.reviewable=t,this.currentUser=i,this.siteSettings=s,this.site=n}get actor(){let e=this.reviewable.flagger_username;return e||(0,s.i18n)("user_menu.reviewable.deleted_user")}get description(){return(0,s.i18n)("user_menu.reviewable.default_item",{reviewable_id:this.reviewable.id})}get icon(){return"flag"}}},53262:(e,t,i)=>{"use strict";function s(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}i.r(t),i.d(t,{default:()=>s})},53412:(e,t,i)=>{"use strict";i.r(t),i.d(t,{hasDOM:()=>s.h,history:()=>s.b,isChrome:()=>s.a,isFirefox:()=>s.i,location:()=>s.l,userAgent:()=>s.u,window:()=>s.w});var s=i(7217)},53507:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i){var s=e+" ";switch(i){case"ss":return 1===e?s+="sekunda":2===e||3===e||4===e?s+="sekunde":s+="sekundi",s;case"mm":return 1===e?s+="minuta":2===e||3===e||4===e?s+="minute":s+="minuta",s;case"h":return"jedan sat";case"hh":return 1===e?s+="sat":2===e||3===e||4===e?s+="sata":s+="sati",s;case"dd":return 1===e?s+="dan":s+="dana",s;case"MM":return 1===e?s+="mjesec":2===e||3===e||4===e?s+="mjeseca":s+="mjeseci",s;case"yy":return 1===e?s+="godina":2===e||3===e||4===e?s+="godine":s+="godina",s}}return e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,i,s){if("m"===i)return t?"jedna minuta":s?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},53514:(e,t,i)=>{"use strict";i.r(t),i.d(t,{buildPermissionDescription:()=>a,default:()=>o});var s=i(75527),n=i(72523),r=i(88820);function a(e){return(0,r.i18n)("permission_types."+o.DESCRIPTION_KEYS[e])}class o extends s.default{static FULL=1;static CREATE_POST=2;static READONLY=3;static DESCRIPTION_KEYS={1:"full",2:"create_post",3:"readonly"};description(e){return a(e)}static #e=(()=>dt7948.n(this.prototype,"description",[(0,n.default)("id")]))()}},53518:(e,t,i)=>{"use strict";i.r(t),i.d(t,{camelize:()=>M,capitalize:()=>L,classify:()=>x,dasherize:()=>D,decamelize:()=>A,getString:()=>o,getStrings:()=>a,setStrings:()=>r,underscore:()=>E,w:()=>C});class s{constructor(e,t,i){this.limit=e,this.func=t,this.store=i,this.size=0,this.misses=0,this.hits=0,this.store=i||new Map}get(e){let t=this.store.get(e);return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,t=this.set(e,this.func(e)))}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}let n={};function r(e){n=e}function a(){return n}function o(e){return n[e]}let l=/[ _]/g,u=new s(1e3,e=>A(e).replace(l,"-")),c=/(\-|\_|\.|\s)+(.)?/g,d=/(^|\/)([A-Z])/g,p=new s(1e3,e=>e.replace(c,(e,t,i)=>i?i.toUpperCase():"").replace(d,e=>e.toLowerCase())),h=/^(\-|_)+(.)?/,m=/(.)(\-|\_|\.|\s)+(.)?/g,g=/(^|\/|\.)([a-z])/g,f=new s(1e3,e=>{let t=(e,t,i)=>i?`_${i.toUpperCase()}`:"",i=(e,t,i,s)=>t+(s?s.toUpperCase():""),s=e.split("/");for(let e=0;ee.toUpperCase())}),_=/([a-z\d])([A-Z]+)/g,y=/\-|\s+/g,b=new s(1e3,e=>e.replace(_,"$1_$2").replace(y,"_").toLowerCase()),w=/(^|\/)([a-z\u00C0-\u024F])/g,k=new s(1e3,e=>e.replace(w,e=>e.toUpperCase())),T=/([a-z\d])([A-Z])/g,S=new s(1e3,e=>e.replace(T,"$1_$2").toLowerCase());function C(e){return e.split(/\s+/)}function A(e){return S.get(e)}function D(e){return u.get(e)}function M(e){return p.get(e)}function x(e){return f.get(e)}function E(e){return b.get(e)}function L(e){return k.get(e)}},53521:(e,t,i)=>{e.exports=i(81820)},53534:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(11075),n=i(12733),r=i(51410),a=i(72799),o=i(71209),l=i(86960);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"7U35UaQA",block:'[[[1,"\\n "],[10,"td"],[14,0,"num likes topic-list-data"],[12],[1,"\\n"],[41,[28,[32,0],[[30,1,["like_count"]],0],null],[[[1," "],[10,3],[15,6,[30,1,["summaryUrl"]]],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["like_count"]]],null]],[1,"\\n "],[1,[28,[32,2],["heart"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/likes-cell.js",scope:()=>[s.gt,r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,"likes-cell:LikesCell"))},53570:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(21980),n=i(57528);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"faqOverridden",[(0,n.gt)("siteSettings.faq_url.length",0)]))();#u6=(()=>void dt7948.i(this,"faqOverridden"))();static #t=(()=>dt7948.g(this.prototype,"renameFaqToGuidelines",[(0,n.alias)("siteSettings.experimental_rename_faq_to_guidelines")]))();#ce=(()=>void dt7948.i(this,"renameFaqToGuidelines"))()}},53577:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(63534),n=i(48573),r=i(55230),a=i(16818),o=i(48877);class l extends r.default{constructor(e,t){super(e,t),(0,s.registerDestructor)(this,e=>e.teardown())}modify(e,t){let[i,s,r]=t;r.content=e,this.instance=r,this.options=s??{},this.options.autoUpdate?this.cleanup=(0,n.autoUpdate)(i,e,this.update):this.update()}async update(){await (0,o.updatePosition)(this.instance.trigger,this.instance.content,this.options)}static #e=(()=>dt7948.n(this.prototype,"update",[a.bind]))();teardown(){this.cleanup?.()}}},53642:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21980),n=i(75527),r=i(57528),a=i(70412),o=i(72523),l=i(37868);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"allowPmUsersEnabled",[(0,r.and)("model.user_option.enable_allowed_pm_users","model.user_option.allow_private_messages")]))();#ct=(()=>void dt7948.i(this,"allowPmUsersEnabled"))();init(){super.init(...arguments),this.saveAttrNames=["allow_private_messages","muted_usernames","allowed_pm_usernames","enable_allowed_pm_users"]}get mutedUsernames(){let e=this.model.muted_usernames;return"string"==typeof e&&(e=e.split(",").filter(Boolean)),(0,l.makeArray)(e).uniq()}static #t=(()=>dt7948.n(this.prototype,"mutedUsernames",[(0,n.computed)("model.muted_usernames")]))();get allowedPmUsernames(){let e=this.model.allowed_pm_usernames;return"string"==typeof e&&(e=e.split(",").filter(Boolean)),(0,l.makeArray)(e).uniq()}static #i=(()=>dt7948.n(this.prototype,"allowedPmUsernames",[(0,n.computed)("model.allowed_pm_usernames")]))();onChangeMutedUsernames(e){this.model.set("muted_usernames",e.uniq().join(","))}static #s=(()=>dt7948.n(this.prototype,"onChangeMutedUsernames",[n.action]))();onChangeAllowedPmUsernames(e){this.model.set("allowed_pm_usernames",e.uniq().join(","))}static #u=(()=>dt7948.n(this.prototype,"onChangeAllowedPmUsernames",[n.action]))();disableAllowPmUsersSetting(e){return!e}static #c=(()=>dt7948.n(this.prototype,"disableAllowPmUsersSetting",[(0,o.default)("model.user_option.allow_private_messages")]))();save(){return this.set("saved",!1),this.model.save(this.saveAttrNames).then(()=>this.set("saved",!0)).catch(a.popupAjaxError)}static #_=(()=>dt7948.n(this.prototype,"save",[n.action]))()}},53655:(e,t,i)=>{"use strict";i.r(t),i.d(t,{renderSettled:()=>s.r}),i(42700);var s=i(63578);i(50709),i(11191),i(31976),i(77667),i(86353),i(38230),i(8215)},53676:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87531),n=i(77412),r=i(88820);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"totalUnread",[s.tracked],function(){return 0}))();#o1=(()=>void dt7948.i(this,"totalUnread"))();static #t=(()=>dt7948.g(this.prototype,"totalNew",[s.tracked],function(){return 0}))();#o0=(()=>void dt7948.i(this,"totalNew"))();constructor(){super(...arguments),this.#ci()}onTopicTrackingStateChange(){this.#ci()}#ci(){this.currentUser&&(this.totalUnread=this.topicTrackingState.countUnread(),(0===this.totalUnread||this.#I)&&(this.totalNew=this.topicTrackingState.countNew()))}get showCount(){return this.currentUser?.sidebarShowCountOfNewItems}get name(){return"everything"}get query(){return{f:void 0}}get title(){return(0,r.i18n)("sidebar.sections.community.links.topics.title")}get text(){return(0,r.i18n)(`sidebar.sections.community.links.${this.overridenName.toLowerCase()}.content`,{defaultValue:this.overridenName})}get currentWhen(){return"discovery.latest discovery.new discovery.unread discovery.top discovery.hot discovery.unseen discovery.posted"}get badgeText(){if(this.showCount){if(this.#I&&this.#o2>0)return this.#o2.toString();else if(this.totalUnread>0)return(0,r.i18n)("sidebar.unread_count",{count:this.totalUnread});else if(this.totalNew>0)return(0,r.i18n)("sidebar.new_count",{count:this.totalNew})}}get route(){if(this.currentUser?.sidebarLinkToFilteredList){if(this.#I&&this.#o2>0)return"discovery.new";else if(this.totalUnread>0)return"discovery.unread";else if(this.totalNew>0)return"discovery.new"}return"discovery.latest"}get defaultPrefixValue(){return"layer-group"}get suffixCSSClass(){return"unread"}get suffixType(){return"icon"}get suffixValue(){if(!this.showCount&&(this.totalUnread||this.totalNew))return"circle"}get #o2(){return this.totalUnread+this.totalNew}get #I(){return!!this.currentUser?.new_new_view_enabled}}},53731:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(32504),r=i(88820),a=i(32019),o=i(84190);let l=dt7948.c(class extends a.default{get content(){let e=[];return e.push({id:"edit",icon:"pencil",name:(0,r.i18n)("user.second_factor.edit")}),this.secondFactorBackupEnabled&&e.push({id:"disable",icon:"trash-can",name:(0,r.i18n)("user.second_factor.disable")}),e}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();onChange(e){switch(e){case"edit":this.editSecondFactorBackup();break;case"disable":this.disableSecondFactorBackup()}}static #t=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,o.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,n.classNames)("two-factor-backup-dropdown")])},53769:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(95766);i(87531);var n=i(72799),r=i(25604),a=i(75527),o=i(97527),l=i(18555),u=i(11075),c=i(41045),d=i(53769),p=i(72523),h=i(19888),m=i(37868),g=i(11895),f=i(71209);let _=(0,i(74828).A)(i(87531)).cached;class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"clientErrorHandler",[l.service]))();#eW=(()=>void dt7948.i(this,"clientErrorHandler"))();context={...(0,m.helperContext)(),get(){return(0,h.default)("Plugin outlet context is no longer an EmberObject - using `get()` is deprecated.",{id:"discourse.plugin-outlet-context-get"}),(0,a.get)(this,...arguments)}};constructor(){let e=super(...arguments);return this.args.tagName&&(0,h.default)(`The \`tagName\` argument to PluginOutlet is deprecated. If a wrapper element is required, define it manually around the outlet call. Using tagName will prevent wrapper PluginOutlets from functioning correctly. (outlet: ${this.args.name})`,{id:"discourse.plugin-outlet-tag-name"}),this.args.args&&(0,h.default)(`PluginOutlet arguments should now be passed using \`@outletArgs=\` instead of \`@args=\` (outlet: ${this.args.name})`,{id:"discourse.plugin-outlet-args"}),e}getConnectors(){let{hasBlock:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,g.renderedConnectorsFor)(this.args.name,this.outletArgsWithDeprecations,this.context,(0,o.getOwner)(this));if(t.length>1&&e){let e=`Multiple connectors were registered for the ${this.args.name} outlet. Using the first.`;return this.clientErrorHandler.displayErrorNotice(e),console.error(e,t.map(e=>e.humanReadableName)),[t[0]]}return t}static #t=(()=>dt7948.n(this.prototype,"getConnectors",[p.bind]))();connectorsExist(){let{hasBlock:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,g.connectorsExist)(this.args.name)||e&&((0,g.connectorsExist)(this.args.name+"__before")||(0,g.connectorsExist)(this.args.name+"__after"))}static #i=(()=>dt7948.n(this.prototype,"connectorsExist",[p.bind]))();get outletArgs(){return this.args.outletArgs||this.args.args||{}}static #s=(()=>dt7948.n(this.prototype,"outletArgs",[_]))();get outletArgsWithDeprecations(){return this.args.deprecatedArgs?(0,g.buildArgsWithDeprecations)(this.outletArgs,this.args.deprecatedArgs||{},{outletName:this.args.name}):this.outletArgs}static #u=(()=>dt7948.n(this.prototype,"outletArgsWithDeprecations",[_]))();get wrapperComponent(){return b}static #c=(()=>(0,n.setComponentTemplate)((0,f.createTemplateFactory)({id:"QTboMj3N",block:'[[[41,[30,1],[[[1," "],[8,[30,0,["wrapperComponent"]],null,[["@tagName"],[[30,1]]],[["default"],[[[[42,[28,[31,2],[[28,[31,2],[[28,[30,0,["getConnectors"]],null,null]],null]],null],null,[[[41,[30,2,["componentClass"]],[[[8,[30,2,["componentClass"]],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],null]],[]],[[[41,[30,3],[[[8,[30,2,["templateOnly"]],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],null]],[]],[[[8,[32,0],[[16,0,[30,2,["classicClassNames"]]]],[["@connector","@args","@deprecatedArgs","@outletArgs","@tagName","@layout"],[[30,2],[30,0,["outletArgs"]],[30,4],[30,0,["outletArgsWithDeprecations"]],[28,[32,1],[[30,5],""],null],[30,2,["template"]]]],null]],[]]]],[]]]],[2]],null]],[]]]]]],[]],[[[41,[28,[30,0,["connectorsExist"]],null,[["hasBlock"],[[48,[30,8]]]]],[[[41,[48,[30,8]],[[[8,[32,2],null,[["@name","@outletArgs"],[[28,[32,3],[[30,6],"__before"],null],[30,0,["outletArgsWithDeprecations"]]]],null]],[]],null],[42,[28,[31,2],[[28,[31,2],[[28,[30,0,["getConnectors"]],null,[["hasBlock"],[[48,[30,8]]]]]],null]],null],null,[[[41,[30,7,["componentClass"]],[[[8,[30,7,["componentClass"]],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],[["default"],[[[[18,8,null]],[]]]]]],[]],[[[41,[30,3],[[[8,[30,7,["templateOnly"]],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],[["default"],[[[[18,8,null]],[]]]]]],[]],[[[8,[32,0],[[16,0,[30,7,["classicClassNames"]]]],[["@connector","@args","@deprecatedArgs","@outletArgs","@tagName","@layout"],[[30,7],[30,0,["outletArgs"]],[30,4],[30,0,["outletArgsWithDeprecations"]],[28,[32,1],[[30,5],""],null],[30,7,["template"]]]],[["default"],[[[[18,8,null]],[]]]]]],[]]]],[]]]],[7]],[[[18,8,null]],[]]],[41,[48,[30,8]],[[[8,[32,2],null,[["@name","@outletArgs"],[[28,[32,3],[[30,6],"__after"],null],[30,0,["outletArgsWithDeprecations"]]]],null]],[]],null]],[]],[[[18,8,null]],[]]]],[]]]],["@tagName","c","@defaultGlimmer","@deprecatedArgs","@connectorTagName","@name","c","&default"],false,["if","each","-track-array","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/plugin-outlet.js",scope:()=>[c.default,u.or,d.default,r.concat],isStrictMode:!0}),this))()}class b extends n.default{}},53775:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{ajax:()=>A,handleLogoff:()=>S,resetAjax:()=>k,setLogoffCallback:()=>T,setTransientHeader:()=>y,trackNextAjaxAsPageview:()=>w,trackNextAjaxAsTopicView:()=>b,updateCsrfToken:()=>C});var r=i(77667),a=i(89179),o=i.n(a),l=i(2369),u=i(69164),c=i(70677),d=i(18070),p=i(47112),h=i(9789),m=i(36649);let g=!1,f=null,_=null;function y(e,t){_={key:e,value:t}}function b(e){f=e}function w(){g=!0}function k(){g=!1}function T(e){s=e}function S(e){e&&e.getResponseHeader("Discourse-Logged-Out")&&s&&s()}function C(){return n||(n=A("/session/csrf").then(e=>p.default.currentProp("csrfToken",e.csrf)).finally(()=>n=null)),n}function A(){let e,t,i,s;1==arguments.length?"string"==typeof arguments[0]?(e=arguments[0],t={}):(t=arguments[0],e=t.url,delete t.url):2==arguments.length&&(e=arguments[0],t=arguments[1]),e=(0,c.default)(e);let n=!0;function a(s,a){t.headers=t.headers||{},m.default.current()&&(t.headers["Discourse-Logged-In"]="true"),_&&(t.headers[_.key]=_.value,_=null),g&&(!t.type||"GET"===t.type)&&(g=!1,t.headers["Discourse-Track-View"]="true",f&&(t.headers["Discourse-Track-View-Topic-Id"]=f),f=null),(0,d.default)()&&(t.headers["Discourse-Present"]="true"),t.success=(e,i,n)=>{!function(e){e&&e.getResponseHeader("Discourse-Xhr-Redirect")&&(window.location=e.responseText)}(n),S(n),(0,r.run)(()=>{h.default.currentProp("isReadOnly",!!(n&&n.getResponseHeader("Discourse-Readonly")))}),t.returnXHR&&(e={result:e,xhr:n}),(0,r.run)(null,s,e)},t.error=(i,s,o)=>{if(n&&0===i.readyState){if("error"===s&&(0,u.isTesting)())throw o;return}if(S(i),403===i.status&&'["BAD CSRF"]'===i.responseText&&p.default.current().set("csrfToken",null),200===i.status)return t.success(i);i.jqTextStatus=s,i.requestedUrl=e,(0,r.run)(null,a,{jqXHR:i,textStatus:s,errorThrown:o})},t.method&&(t.type=t.method,delete t.method),t.type||(t.type="GET"),t.dataType||"GET"!==t.type.toUpperCase()||(t.dataType="json"),"script"===t.dataType&&(t.headers["Discourse-Script"]=!0),i=o().ajax(e,t)}return void 0!==t.ignoreUnsent&&(n=t.ignoreUnsent,delete t.ignoreUnsent),(s=new l.Promise(t.type&&"GET"!==t.type.toUpperCase()&&e!==(0,c.default)("/clicks/track")&&!p.default.currentProp("csrfToken")?(e,t)=>{i=C().then(()=>{a(e,t)})}:a)).abort=()=>{i&&i.abort()},s}},53778:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isEmberArray:()=>r,setEmberArray:()=>n});let s=new WeakSet;function n(e){s.add(e)}function r(e){return s.has(e)}},53800:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(75527),n=i(32504),r=i(16025);let a=dt7948.c(class extends r.default{onPaste(e){if(1===this.selectKit.options.maximum)return;let t=e?.clipboardData;if(!t)return;let i=[];if(t.getData("text").split(/[, \n]+/).forEach(e=>{(e=e.replace(/^@+/,"").trim()).length>0&&i.push(e)}),i.length>0)return e.stopPropagation(),e.preventDefault(),this.selectKit.append(i),!1}static #e=(()=>dt7948.n(this.prototype,"onPaste",[s.action]))()},[(0,n.classNames)("email-group-user-chooser-filter")])},53988:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(11075),n=i(29350),r=i(66929),a=i(72799),o=i(71209),l=i(86960);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"/EQB/oEZ",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1],[30,2,["unread_posts"]]],null],[[[1," "],[8,[32,1],null,[["@unreadPosts","@unseen","@url"],[[30,2,["unread_posts"]],[30,2,["unseen"]],[30,2,["lastUnreadUrl"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],null,[["@topic","@tagName"],[[30,2],"div"]],null],[1,"\\n"]],[]]]],["@postBadgesEnabled","@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/post-count-or-badges.js",scope:()=>[s.and,r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,"post-count-or-badges:PostCountOrBadges"))},54072:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(32504),n=i(32020),r=i.n(n),a=i(64008),o=i(84190),l=i(72799),u=i(71209);let c=dt7948.c(class extends a.default{static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"e2lrTTEo",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[41,[30,0,["icons"]],[[[1," "],[10,0],[14,0,"future-date-input-selector-icons"],[12],[1,"\\n "],[42,[28,[31,2],[[28,[31,2],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1," "]],[1]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,2],null,[["@tabindex","@item","@selectKit"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]]]],null],[1,"\\n"]],[2]]],[1,"\\n"],[41,[30,0,["selectedContent","timeFormatted"]],[[[1," "],[10,1],[14,0,"future-date-input-selector-datetime"],[12],[1,"\\n "],[1,[30,0,["selectedContent","timeFormatted"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["iconName","SelectedNameComponent"],false,["if","each","-track-array","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/future-date-input-selector/future-date-input-selector-header.js",scope:()=>[r(),o.resolveComponent],isStrictMode:!0}),this))()},[(0,s.classNames)("future-date-input-selector-header")])},54074:(e,t,i)=>{"use strict";function s(){for(var e=arguments.length,t=Array(e),i=0;is})},54183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(74888)},54264:(e,t,i)=>{"use strict";function s(e,t,i){return void 0===i||0==+i?Math[e](t):(i*=1,isNaN(t*=1)||"number"!=typeof i||i%1!=0)?NaN:+((t=(t=Math[e](+((t=t.toString().split("e"))[0]+"e"+(t[1]?t[1]-i:-i)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]+i:i))}i.r(t),i.d(t,{default:()=>s})},54297:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(95766),n=i(25604),r=i(75527),a=i(18555),o=i(81539),l=i(76909),u=i(88820),c=i(22407),d=i(72799),p=i(71209);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"interfaceColor",[a.service]))();#ev=(()=>void dt7948.i(this,"interfaceColor"))();get selectorIcon(){return this.interfaceColor.lightModeForced?"sun":this.interfaceColor.darkModeForced?"moon":"circle-half-stroke"}switchToLight(e){this.interfaceColor.forceLightMode(),e.close()}static #t=(()=>dt7948.n(this.prototype,"switchToLight",[r.action]))();switchToDark(e){this.interfaceColor.forceDarkMode(),e.close()}static #i=(()=>dt7948.n(this.prototype,"switchToDark",[r.action]))();switchToAuto(e){this.interfaceColor.removeColorModeOverride(),e.close()}static #s=(()=>dt7948.n(this.prototype,"switchToAuto",[r.action]))();static #u=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"oITpUHxJ",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"interface-color-selector icon"]],[["@icon","@triggerClass","@identifier","@animated"],[[30,0,["selectorIcon"]],"btn-flat sidebar-footer-actions-button","interface-color-selector",false]],[["content"],[[[[1,"\\n "],[8,[32,1],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,2],[[24,0,"btn-default interface-color-selector__light-option"]],[["@icon","@translatedLabel","@action"],["sun",[28,[32,3],["sidebar.footer.interface_color_selector.light"],null],[28,[32,4],[[30,0,["switchToLight"]],[30,1]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,2],[[24,0,"btn-default interface-color-selector__dark-option"]],[["@icon","@translatedLabel","@action"],["moon",[28,[32,3],["sidebar.footer.interface_color_selector.dark"],null],[28,[32,4],[[30,0,["switchToDark"]],[30,1]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,2],[[24,0,"btn-default interface-color-selector__auto-option"]],[["@icon","@translatedLabel","@action"],["circle-half-stroke",[28,[32,3],["sidebar.footer.interface_color_selector.auto"],null],[28,[32,4],[[30,0,["switchToAuto"]],[30,1]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["dMenu","dropdown"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/interface-color-selector.js",scope:()=>[c.default,l.default,o.default,u.i18n,n.fn],isStrictMode:!0}),this))()}},54390:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CLASS_NAME:()=>a,default:()=>o});var s=i(88761),n=i(23064),r=i(62515);let a="search-highlight";function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,s.isEmpty)(t)){let s=t.match(RegExp(`${n.SEARCH_PHRASE_REGEXP}|[^\\s]+`,"g")).filter(e=>"l"!==e).map(e=>e.replace(/^"(.*)"$/,"$1")),o={};i.defaultClassName||(o.className=a),(0,r.default)(e,s,o)}}},54495:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";function t(e,t,i,s){var n=e+" ";switch(i){case"s":return t||s?"nekaj sekund":"nekaj sekundami";case"ss":return 1===e?n+=t?"sekundo":"sekundi":2===e?n+=t||s?"sekundi":"sekundah":e<5?n+=t||s?"sekunde":"sekundah":n+="sekund",n;case"m":return t?"ena minuta":"eno minuto";case"mm":return 1===e?n+=t?"minuta":"minuto":2===e?n+=t||s?"minuti":"minutama":e<5?n+=t||s?"minute":"minutami":n+=t||s?"minut":"minutami",n;case"h":return t?"ena ura":"eno uro";case"hh":return 1===e?n+=t?"ura":"uro":2===e?n+=t||s?"uri":"urama":e<5?n+=t||s?"ure":"urami":n+=t||s?"ur":"urami",n;case"d":return t||s?"en dan":"enim dnem";case"dd":return 1===e?n+=t||s?"dan":"dnem":2===e?n+=t||s?"dni":"dnevoma":n+=t||s?"dni":"dnevi",n;case"M":return t||s?"en mesec":"enim mesecem";case"MM":return 1===e?n+=t||s?"mesec":"mesecem":2===e?n+=t||s?"meseca":"mesecema":e<5?n+=t||s?"mesece":"meseci":n+=t||s?"mesecev":"meseci",n;case"y":return t||s?"eno leto":"enim letom";case"yy":return 1===e?n+=t||s?"leto":"letom":2===e?n+=t||s?"leti":"letoma":e<5?n+=t||s?"leta":"leti":n+=t||s?"let":"leti",n}}return e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},54519:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(95766),n=i(87531),r=i(4781),a=i(75527),o=i(90541),l=i(88761),u=i(11075),c=i(88820),d=i(52605),p=i(72799),h=i(71209);let m=1440,g=43200,f=525600;function _(e){let t=parseFloat(e.toFixed(1));return(t=Math.round(2*t)/2)%1==0?t.toFixed(0):t}function y(e){if(!e)return null;if(e>525600)return _(e/525600);if(e>43200)return _(e/43200);if(e>1440)return _(e/1440);if(e>60)return _(e/60);else return e}function b(e){return e>525600?"years":e>43200?"months":e>1440?"days":e>60?"hours":"mins"}class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"inputValue",[n.tracked]))();#cs=(()=>void dt7948.i(this,"inputValue"))();static #t=(()=>dt7948.g(this.prototype,"duration",[n.tracked]))();#rV=(()=>void dt7948.i(this,"duration"))();static #i=(()=>dt7948.g(this.prototype,"interval",[n.tracked]))();#cn=(()=>void dt7948.i(this,"interval"))();constructor(){super(...arguments),this.initValues()}get intervals(){let e=this.duration?parseFloat(this.duration):0;return[{id:"mins",name:(0,c.i18n)("relative_time_picker.minutes",{count:e})},{id:"hours",name:(0,c.i18n)("relative_time_picker.hours",{count:e})},{id:"days",name:(0,c.i18n)("relative_time_picker.days",{count:e})},{id:"months",name:(0,c.i18n)("relative_time_picker.months",{count:e})},{id:"years",name:(0,c.i18n)("relative_time_picker.years",{count:e})}].filter(e=>!this.args.hiddenIntervals?.includes(e.id))}minutesFromInputValueAndInterval(e,t){if(isNaN(e))return null;switch(t){case"mins":return Math.ceil(e);case"hours":return 60*e;case"days":return 1440*e;case"months":return 43200*e;case"years":return 525600*e}}initValues(){let e=this.args.durationMinutes;this.args.durationHours&&(e??=60*this.args.durationHours),this.inputValue=y(e),void 0!==this.args.durationMinutes?this.interval=b(this.args.durationMinutes):null===this.args.durationHours?this.interval="hours":void 0!==this.args.durationHours?this.interval=b(60*this.args.durationHours):this.interval="mins",this.duration=this.minutesFromInputValueAndInterval(this.inputValue,this.interval)}static #s=(()=>dt7948.n(this.prototype,"initValues",[a.action]))();onChangeDuration(e){if((0,l.isBlank)(e.target.value))this.duration=null,this.inputValue=null;else{let t=this.minutesFromInputValueAndInterval(parseFloat(e.target.value),this.interval);t>this.duration&&(525600===this.duration||43200===this.duration||1440===this.duration||60===this.duration)&&(t=this.minutesFromInputValueAndInterval(1.5*parseFloat(e.target.value),this.interval)),this.duration=t,this.interval=b(this.duration),this.inputValue=y(this.duration)}this.args.onChange?.(this.duration)}static #u=(()=>dt7948.n(this.prototype,"onChangeDuration",[a.action]))();onChangeInterval(e){this.interval=e;let t=this.minutesFromInputValueAndInterval(this.inputValue,this.interval);t!==this.duration&&(this.duration=t,this.args.onChange?.(this.duration))}static #c=(()=>dt7948.n(this.prototype,"onChangeInterval",[a.action]))();static #_=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"VXuPx6YU",block:'[[[1,"\\n "],[11,0],[24,0,"relative-time-picker"],[17,1],[12],[1,"\\n "],[11,"input"],[16,"min",[52,[28,[32,0],[[30,0,["interval"]],"mins"],null],1,0.5]],[16,"step",[52,[28,[32,0],[[30,0,["interval"]],"mins"],null],1,0.5]],[16,2,[30,0,["inputValue"]]],[16,1,[30,2]],[24,0,"relative-time-duration"],[24,4,"number"],[4,[32,1],[[30,0,["initValues"]],[30,3],[30,4]],null],[4,[32,2],["change",[30,0,["onChangeDuration"]]],null],[12],[13],[1,"\\n "],[8,[32,3],[[24,0,"relative-time-intervals"]],[["@content","@value","@onChange"],[[30,0,["intervals"]],[30,0,["interval"]],[30,0,["onChangeInterval"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@id","@durationMinutes","@durationHours"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/relative-time-picker.js",scope:()=>[u.eq,o.default,r.on,d.default],isStrictMode:!0}),this))()}},54538:(e,t,i)=>{"use strict";i.r(t),i.d(t,{buildInitializerMethod:()=>_,default:()=>f,getEngineParent:()=>s.getEngineParent,setEngineParent:()=>s.setEngineParent});var s=i(47291);i(61535);var n=i(21980),r=i(78373),a=i(50709),o=i(69955);i(11191);var l=i(140);i(75527);var u=i(88919);i(78212),i(77350),i(38230),i(8215);var c=i(42938),d=i(17);i(80725),i(76778),i(27578),i(80789);var p=i(13834);i(69206);var h=i(19694);i(66498),i(34286),i(99482),i(84186),i(71888),i(80919),i(42700),i(63578);var m=i(21234);i(31976),i(77667),i(86353);var g=i(25711);i(52087),i(6167),i(338),i(6234),i(81004),i(62903),i(77051);class f extends r.default.extend(g.default){static initializers=(()=>Object.create(null))();static instanceInitializers=(()=>Object.create(null))();static initializer=(()=>_("initializers","initializer"))();static instanceInitializer=(()=>_("instanceInitializers","instance initializer"))();static buildRegistry(e){let t=new a.R({resolver:function(e){return e.Resolver.create({namespace:e})}(e)});return t.set=d.s,t.register("application:main",e,{instantiate:!1}),function(e){e.optionsForType("component",{singleton:!1}),e.optionsForType("view",{singleton:!1}),e.register("controller:basic",n.default,{instantiate:!1}),e.register("service:-routing",p.default),e.register("resolver-for-debugging:main",e.resolver,{instantiate:!1}),e.register("container-debug-adapter:main",l.default),e.register("component-lookup:main",h.default)}(t),(0,m.s)(t),t}init(e){super.init(e),this.buildRegistry()}_initializersRan=!1;ensureInitializers(){this._initializersRan||(this.runInitializers(),this._initializersRan=!0)}buildInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.ensureInitializers(),u.default.create({...e,base:this})}buildRegistry(){return this.__registry__=this.constructor.buildRegistry(this)}initializer(e){this.constructor.initializer(e)}instanceInitializer(e){this.constructor.instanceInitializer(e)}runInitializers(){this._runInitializer("initializers",(e,t)=>{t.initialize(this)})}runInstanceInitializers(e){this._runInitializer("instanceInitializers",(t,i)=>{i.initialize(e)})}_runInitializer(e,t){let i,s=(0,c.g)(this.constructor,e),n=function(e){let t=[];for(let i in e)t.push(i);return t}(s),r=new o.default;for(let e of n)i=s[e],r.add(i.name,i,i.before,i.after);r.topsort(t)}}function _(e,t){return function(t){let i=this.superclass;if(void 0!==i[e]&&i[e]===this[e]){let t={[e]:Object.create(this[e])};this.reopenClass(t)}this[e][t.name]=t}}},54594:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(65797),n=i(48535);let r={after:"hashtag-css-generator",initialize(e){let t=e.lookup("service:site");(0,n.withPluginApi)("0.8.7",e=>{e.decorateCookedElement(e=>(0,s.decorateHashtags)(e,t))})}}},54600:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{Tag:()=>m,addBlockDecorateCallback:()=>c,addTagDecorateCallback:()=>l,addTextDecorateCallback:()=>p,clearBlockDecorateCallbacks:()=>d,clearTagDecorateCallbacks:()=>u,clearTextDecorateCallbacks:()=>h,default:()=>f});let n=["MsoListParagraphCxSpFirst","MsoListParagraphCxSpMiddle","MsoListParagraphCxSpLast"],r=[],a=[],o=[];function l(e){r.push(e)}function u(){r=[]}function c(e){a.push(e)}function d(){a=[]}function p(e){o.push(e)}function h(){o=[]}class m{static named(e){let t=class extends m{};return t.tagName=e,t}static blocks(){return["address","article","dd","dl","dt","fieldset","figcaption","figure","footer","form","header","hgroup","hr","main","nav","p","pre","section"]}static headings(){return["h1","h2","h3","h4","h5","h6"]}static emphases(){return[["b","**"],["strong","**"],["i","*"],["em","*"],["s","~~"],["strike","~~"]]}static slices(){return["dt","dd","thead","tbody","tfoot"]}static trimmable(){return[...m.blocks(),...m.headings(),...m.slices(),"aside","li","td","th","br","hr","blockquote","table","ol","tr","ul"]}static allowedTags(){return["ins","del","small","big","kbd","ruby","rt","rb","rp","mark"]}static block(e,t,i){return class extends m.named(e){constructor(){super(t,i),this.gap=`
`}decorate(t){let i=this.element.parent;for(let e of a){let i=e.call(this,t);void 0!==i&&(t=i)}return"p"===e&&i?.name==="li"&&(this.gap=""),`${this.gap}${this.prefix}${t}${this.suffix}${this.gap}`}}}static div(){return class extends m.block("div"){decorate(e){let t=this.element.attributes;return/\bmathjax-math\b/.test(t.class)?"":/\bmath\b/.test(t.class)&&t["data-applied-mathjax"]?`
$$
`+e+`
$$
`:super.decorate(e)}}}static aside(){return class extends m.block("aside"){constructor(){super()}toMarkdown(){if(!/\bquote\b/.test(this.element.attributes.class))return super.toMarkdown();let e=this.element.children.find(e=>"blockquote"===e.name);if(!e)return super.toMarkdown();let t=g.parse([e],this.element)||"";if(0===(t=t.trim().replaceAll(/^> /gm,"").trim()).length)return"";let i=this.element.attributes["data-username"],s=this.element.attributes["data-post"],n=this.element.attributes["data-topic"],r=i&&s&&n?`[quote="${i}, post:${s}, topic:${n}"]`:"[quote]";return`
${r}
${t}
[/quote]
`}}}static heading(e,t){let i=`${[...Array(t)].map(()=>"#").join("")} `;return m.block(e,i,"")}static emphasis(e,t){return class extends m.named(e){constructor(){super(t,t,!0)}decorate(t){t.includes(`
`)&&(this.prefix=`<${e}>`,this.suffix=`${e}>`);let i=t.match(/^\s/);return i&&(this.prefix=i[0]+this.prefix),(i=t.match(/\s$/))&&(this.suffix=this.suffix+i[0]),super.decorate(t.trim())}}}static allowedTag(e){return class extends m.named(e){constructor(){super(`<${e}>`,`${e}>`)}}}static replace(e,t){return class extends m.named(e){constructor(){super("",""),this.text=t}toMarkdown(){return this.text}}}static span(){return class extends m.named("span"){constructor(){super()}decorate(e){let t=this.element.attributes;return"badge badge-notification clicks"===t.class||/\bmathjax-math\b/.test(t.class)?"":/\bmath\b/.test(t.class)&&t["data-applied-mathjax"]?"$"+e+"$":super.decorate(e)}}}static link(){return class extends m.named("a"){constructor(){super("","",!0)}decorate(e){let t,i=this.element,s=i.attributes;if(/^mention/.test(s.class)&&"@"===e[0]||"hashtag"===s.class&&"#"===e[0])return e;if(s.class?.includes("hashtag-cooked"))if(s["data-ref"])return`#${s["data-ref"]}`;else{let e="";return s["data-type"]&&(e=`::${s["data-type"]}`),`#${s["data-slug"]}${e}`}if(["lightbox","d-lazyload"].includes(s.class)&&(t=(i.children||[]).find(e=>"img"===e.name))){let i=s.href,n=t.attributes["data-base62-sha1"];return e=s.title||"",n&&(i=`upload://${n}`),``}if(s.href&&e!==s.href){e=e.replace(/\n{2,}/g,`
`);let t="";return s.class?.includes("attachment")&&(t="|attachment"),`[${e}${t}](${s.href})`}return e}}}static image(){return class extends m.named("img"){constructor(){super("","",!0)}toMarkdown(){let e=this.element,t=e.attributes,i=e.parent?.attributes||{},s=t.class||i.class,n=t.src||i.src,r=t["data-base62-sha1"];if(r&&(n=`upload://${r}`),s?.includes("emoji"))return s.includes("user-status")?"":t.title||i.title;if(n){if(n.match(/^data:image\/([a-zA-Z]*);base64,([^\"]*)$/))return"[image]";let e=t.alt||i.alt||"",s=t.width||i.width,r=t.height||i.height,a=t.title;if(s&&r){let t=this.element.parentNames.includes("table")?"\\|":"|";e=`${e}${t}${s}x${r}`}return``}return""}}}static slice(e,t){return class extends m.named(e){constructor(){super("",t)}decorate(e){return this.element.next||(this.suffix=""),`${e}${this.suffix}`}}}static cell(e){return class extends m.named(e){constructor(){super("|")}toMarkdown(){let e=this.element.innerMarkdown().trim();if(e.includes(`
`)){let e=this.element;for(;e=e.parent;)if("table"===e.name){e.tag().invalid();break}}return this.decorate(e)}}}static li(){return class extends m.slice("li",`
`){decorate(e){let t=this.element.attributes,i=this.element.filterParentNames(["ol","ul"]).slice(1).map(()=>" ").join("");if(n.includes(t.class))try{let e=parseInt(t.style.match(/level./)[0].replace("level",""),10);i=Array(e).join(" ")+i}finally{"MsoListParagraphCxSpFirst"===t.class?i=`
${i}`:"MsoListParagraphCxSpLast"===t.class&&(e=`${e}
`)}return super.decorate(`${i}* ${e.trimStart()}`)}}}static code(){return class extends m.named("code"){constructor(){super("`","`")}decorate(e){this.element.parentNames.includes("pre")?(this.prefix=`
\`\`\`
`,this.suffix=`
\`\`\`
`):this.inline=!0;let t=document.createElement("textarea");return t.innerHTML=e,super.decorate(t.innerText)}}}static blockquote(){return class extends m.named("blockquote"){constructor(){super(`
> `,`
`)}decorate(e){return e=e.trim().replace(/\n{2,}>/g,`
>`).replace(/\n/g,`
> `),super.decorate(e)}}}static table(){return class extends m.block("table"){constructor(){super(),this.isValid=!0}invalid(){if(this.isValid=!1,this.element.parentNames.includes("table")){let e=this.element;for(;e=e.parent;)if("table"===e.name){e.tag().invalid();break}}}countPipes(e){return(e.replace(/\\\|/,"").match(/\|/g)||[]).length}decorate(e){let t=(e=super.decorate(e).replace(/\|\n{2,}\|/g,`|
|`)).trim().split(`
`),i=this.countPipes(t[0]);if(this.isValid=this.isValid&&t.length>1&&i>2&&t.reduce((e,t)=>e&&this.countPipes(t)<=i),this.isValid){let t=[...Array(i-1)].map(()=>"| --- ").join("")+`|
`;e=e.replace(`|
`,`|
`+t)}else e=e.replace(/\|/g," "),this.invalid();return e}}}static list(e){return class extends m.block(e){decorate(e){let t="",i=this.element.parent;return i?.name==="ul"&&(this.gap="",this.suffix=`
`),this.element.filterParentNames(["li"]).length&&(this.gap="",t=`
`),t+super.decorate(e.trimEnd())}}}static ol(){return class extends m.list("ol"){decorate(e){let t=(e=`
`+e).match(/\n\t*\*/)[0],i=parseInt(this.element.attributes.start||1,10);for(;e.includes(t);)e=e.replace(t,t.replace("*",`${i}.`)),i++;return super.decorate(e.slice(1))}}}static tr(){return class extends m.slice("tr",`|
`){decorate(e){return this.element.next||(this.suffix="|"),`${e}${this.suffix}`}}}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.prefix=e,this.suffix=t,this.inline=i}decorate(e){for(let t of r){let i=t.call(this,e);void 0!==i&&(e=i)}if((this.prefix||this.suffix)&&(e=[this.prefix,e,this.suffix].join("")),this.inline){let{prev:t,next:i}=this.element;t&&"#text"!==t.name&&(e=" "+e),i&&"#text"!==i.name&&(e+=" ")}return e}toMarkdown(){let e=this.element.innerMarkdown();return e?.trim()?this.decorate(e):e}}class g{static toMarkdown(e,t,i,s,n){return new g(e,t,i,s,n).toMarkdown()}static parseChildren(e){return g.parse(e.children,e)}static parse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e){let i=[],s={};for(let n=0;nm.block(e)),...m.headings().map((e,t)=>m.heading(e,t+1)),...m.slices().map(e=>m.slice(e,`
`)),...m.emphases().map(e=>m.emphasis(e[0],e[1])),...m.allowedTags().map(e=>m.allowedTag(e)),m.aside(),m.cell("td"),m.cell("th"),m.replace("br",`
`),m.replace("hr",`
---
`),m.replace("head",""),m.li(),m.link(),m.image(),m.code(),m.blockquote(),m.table(),m.tr(),m.ol(),m.list("ul"),m.span(),m.div()]))s.set(e.tagName,e);return s.get(e)}(this.name))||m);return e.element=this,e.metadata=this.metadata,e}innerMarkdown(){return g.parseChildren(this)}leftTrimmable(){return this.previous&&m.trimmable().includes(this.previous.name)}rightTrimmable(){return this.next&&m.trimmable().includes(this.next.name)}text(){let e=this.data||"";return this.leftTrimmable()&&(e=e.trimStart()),this.rightTrimmable()&&(e=e.trimEnd()),e=e.replace(/[\s\t]+/g," "),o.forEach(t=>{let i=t.call(this,e,this.next,this.previous,this.metadata);void 0!==i&&(e=i)}),e}toMarkdown(){return"#text"===this.name?this.text():this.tag().toMarkdown()}filterParentNames(e){return this.parentNames.filter(t=>e.includes(t))}}function f(e){try{let{elements:t,placeholders:i}=function(e){let t=/]*>([\s\S]*?)<\/code>/gi,i=e,s=t.exec(i),n=[];for(;s;){let r=`DISCOURSE_PLACEHOLDER_${n.length+1}`,a=document.createElement("div");a.innerHTML=s[1];let o=a.innerText.replace(/^\n/,"").replace(/\n$/,"");n.push([r,o]),e=e.replace(s[0],`${r}
`),s=t.exec(i)}let r=e=>{if("#text"!==e.nodeName&&void 0!==e.length){let t=[];for(let i=0;i]*>([\s\S]*?)<\/body>/);for(e=(e=(e=i?i[1]:e).replace(/\r|\n| /g," ")).replace(/\u00A0/g," ");t=e.match(/<[^\s>]+[^>]*>\s{2,}<[^\s>]+[^>]*>/);)e=e.replace(t[0],t[0].replace(/>\s{2,},"> <"));return e=e.replace(/[^!]*/g,"")}(e),{elements:r(a.content.childNodes),placeholders:n}}(e),s=g.parse(t).trim();return s=(s=s.replace(/^/,"").replace(/<\/b>$/,"").trim()).replace(/\n +/g,`
`).replace(/ +\n/g,`
`).replace(/ {2,}/g," ").replace(/\n{3,}/g,`
`).replace(/\t/g," "),function(e,t){return t.forEach(t=>{e=e.replace(t[0],t[1])}),e}(s,i)}catch{return""}}},54697:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(88820);function n(e,t){return(0,s.i18n)(e?"yes_value":"no_value",t)}},54806:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(16818);class r extends s.default{dialogInstance=null;message=null;title=null;titleElementId=null;type=null;bodyComponent=null;bodyComponentModel=null;confirmButtonIcon=null;confirmButtonLabel=null;confirmButtonClass=null;confirmButtonDisabled=!1;cancelButtonLabel=null;cancelButtonClass=null;shouldDisplayCancel=null;didConfirm=null;didCancel=null;buttons=null;class=null;_confirming=!1;async dialog(e){let{message:t,bodyComponent:i,bodyComponentModel:s,type:n,title:r,confirmButtonClass:a="btn-primary",confirmButtonIcon:o,confirmButtonLabel:l="ok_value",confirmButtonDisabled:u=!1,cancelButtonClass:c="btn-default",cancelButtonLabel:d="cancel_value",shouldDisplayCancel:p,didConfirm:h,didCancel:m,buttons:g}=e;this.setProperties({show:!0,message:t,bodyComponent:i,bodyComponentModel:s,type:n,title:r,titleElementId:null!==r?"dialog-title":null,confirmButtonClass:a,confirmButtonDisabled:u,confirmButtonIcon:o,confirmButtonLabel:l,cancelButtonClass:c,cancelButtonLabel:d,shouldDisplayCancel:p,didConfirm:h,didCancel:m,buttons:g,class:e.class})}alert(e){return"string"==typeof e?this.dialog({message:e,type:"alert"}):this.dialog({...e,type:"alert"})}confirm(e){return this.dialog({...e,shouldDisplayCancel:!0,buttons:null,type:"confirm"})}notice(e){return this.dialog({message:e,type:"notice"})}yesNoConfirm(e){return this.confirm({...e,confirmButtonLabel:"yes_value",cancelButtonLabel:"no_value"})}deleteConfirm(e){return this.confirm({...e,confirmButtonClass:"btn-danger",confirmButtonLabel:e.confirmButtonLabel||"delete"})}reset(){!this._confirming&&this.didCancel&&this.didCancel(),this.setProperties({show:!1,message:null,bodyComponent:null,bodyComponentModel:null,type:null,dialogInstance:null,title:null,titleElementId:null,confirmButtonDisabled:!1,confirmButtonIcon:null,confirmButtonLabel:null,cancelButtonClass:null,cancelButtonLabel:null,shouldDisplayCancel:null,didConfirm:null,didCancel:null,buttons:null,class:null,_confirming:!1})}didConfirmWrapped(){let e=this.didConfirm;this._confirming=!0,this.reset(),e&&e()}static #e=(()=>dt7948.n(this.prototype,"didConfirmWrapped",[n.bind]))();cancel(){this.reset()}static #t=(()=>dt7948.n(this.prototype,"cancel",[n.bind]))();enableConfirmButton(){this.set("confirmButtonDisabled",!1)}static #i=(()=>dt7948.n(this.prototype,"enableConfirmButton",[n.bind]))();hide(){this.reset()}static #s=(()=>dt7948.n(this.prototype,"hide",[n.bind]))()}},54807:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,registerCustomTagSectionLinkPrefixIcon:()=>r,resetCustomTagSectionLinkPrefixIcons:()=>a});var s=i(29174);let n={};function r(e){let{tagName:t,prefixValue:i,prefixColor:s}=e;n[t]={prefixValue:i,prefixColor:s}}function a(){for(let e in n)n.hasOwnProperty(e)&&delete n[e]}class o{constructor(e){let{tag:t,currentUser:i}=e;this.tag=t,this.tagName=t.name,this.currentUser=i}get name(){return this.tagName}get text(){return this.tagName}get title(){return(0,s.default)(this.tag.description)}get prefixType(){return"icon"}get prefixValue(){return n[this.tagName]?.prefixValue||"tag"}get prefixColor(){return n[this.tagName]?.prefixColor}}},54808:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(25604),n=i(88820),r=i(72799),a=i(71209),o=i(86960);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"jqFJC3+O",block:'[[[1,"\\n "],[11,0],[24,0,"top-sub-section"],[17,1],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,0],[[28,[32,1],["user.summary.",[30,2]],null]],null]],[13],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@title","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-section.js",scope:()=>[n.i18n,s.concat],isStrictMode:!0}),(0,o.default)(void 0,"user-summary-section:UserSummarySection"))},54847:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return(12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t)?e+12:e},meridiem:function(e,t,i){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})},54873:(e,t,i)=>{"use strict";async function s(){return await i.e(943).then(i.bind(i,52943))}i.r(t),i.d(t,{default:()=>s})},54971:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95766),n=i(25604),r=i(83426),a=i(53769),o=i(72799),l=i(71209);class u extends s.default{get url(){return this.args.topic.linked_post_number?this.args.topic.urlForPostNumber(this.args.topic.linked_post_number):this.args.topic.lastUnreadUrl}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"HAN7JBt2",block:'[[[8,[32,0],null,[["@name","@outletArgs"],["topic-link",[28,[32,1],null,[["topic"],[[30,1]]]]]],[["default"],[[[[11,3],[16,6,[30,0,["url"]]],[16,"data-topic-id",[30,1,["id"]]],[24,0,"title"],[17,2],[12],[1,[28,[32,2],[[30,1,["fancyTitle"]]],null]],[13]],[]]]]]],["@topic","&attrs"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/topic-link.js",scope:()=>[a.default,n.hash,r.htmlSafe],isStrictMode:!0}),this))()}},54973:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(95766),n=i(25604),r=i(18555),a=i(83426),o=i(72490),l=i(23594),u=i(74089),c=i(88820),d=i(72799),p=i(71209);let h="keyboard_shortcuts_help",m=(0,c.i18n)("shortcut_modifier_key.shift"),g=(0,u.translateModKey)("Alt"),f=(0,u.translateModKey)("Meta"),_=(0,c.i18n)("shortcut_modifier_key.ctrl"),y=(0,c.i18n)("shortcut_modifier_key.enter"),b=(0,c.i18n)(`${h}.shortcut_key_delimiter_comma`),w=(0,c.i18n)(`${h}.shortcut_key_delimiter_plus`),k={shift:m,alt:g,meta:f,ctrl:_,enter:y,comma:b,plus:w};function T(e,t){return`${e}`}function S(e,t){let{keys1:i=[],keys2:s=[],keysDelimiter:n=b,shortcutsDelimiter:r="or"}=t,a={shortcut:function(e,t,i,s){let n=[e,t].reject(e=>0===e.length).map(e=>e.map(e=>`${e}`).join(i)).map(e=>"space"!==s&&"newline"!==s?T(e,s):e),[r,a]=n;if(1===n.length)return r;if("or"===s)return(0,c.i18n)(`${h}.shortcut_delimiter_or`,{shortcut1:r,shortcut2:a});if("slash"===s)return(0,c.i18n)(`${h}.shortcut_delimiter_slash`,{shortcut1:r,shortcut2:a});if("space"===s)return T((0,c.i18n)(`${h}.shortcut_delimiter_space`,{shortcut1:r,shortcut2:a}),s);if("newline"===s)return T((0,c.i18n)(`${h}.shortcut_delimiter_newline`,{shortcut1:r,shortcut2:a}),s)}(i,s,n,r)};return(0,c.i18n)(`${h}.${e}`,a)}class C extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();get shortcuts(){let e={jump_to:{shortcuts:this._buildJumpToSection()},application:{shortcuts:{hamburger_menu:S("application.hamburger_menu",{keys1:["="]}),user_profile_menu:S("application.user_profile_menu",{keys1:["p"]}),create:S("application.create",{keys1:["c"]}),show_incoming_updated_topics:S("application.show_incoming_updated_topics",{keys1:["."]}),search:S("application.search",{keys1:["/"],keys2:[_,g,"f"],keysDelimiter:w}),filter_sidebar:S("application.filter_sidebar",{keys1:[f,"/"],keysDelimiter:w}),help:S("application.help",{keys1:["?"]}),bulk_select:S("application.toggle_bulk_select",{keys1:[m,"b"],keysDelimiter:w}),dismiss:S("application.dismiss",{keys1:[m,"d"],keysDelimiter:w}),x:S("application.x",{keys1:["x"]}),log_out:S("application.log_out",{keys1:[m,"z"],keys2:[m,"z"],keysDelimiter:w,shortcutsDelimiter:"space"})}},actions:{shortcuts:{bookmark_topic:S("actions.bookmark_topic",{keys1:["f"]}),reply_as_new_topic:S("actions.reply_as_new_topic",{keys1:["t"]}),reply_topic:S("actions.reply_topic",{keys1:[m,"r"],keysDelimiter:w}),reply_post:S("actions.reply_post",{keys1:["r"]}),quote_post:S("actions.quote_post",{keys1:["q"]}),pin_unpin_topic:S("actions.pin_unpin_topic",{keys1:[m,"p"],keysDelimiter:w}),share_topic:S("actions.share_topic",{keys1:[m,"s"],keysDelimiter:w}),share_post:S("actions.share_post",{keys1:["s"]}),like:S("actions.like",{keys1:["l"]}),flag:S("actions.flag",{keys1:["!"]}),bookmark:S("actions.bookmark",{keys1:["b"]}),edit:S("actions.edit",{keys1:["e"]}),delete:S("actions.delete",{keys1:["d"]}),mark_muted:S("actions.mark_muted",{keys1:["m","m"]}),mark_regular:S("actions.mark_regular",{keys1:["m","r"]}),mark_tracking:S("actions.mark_tracking",{keys1:["m","t"]}),mark_watching:S("actions.mark_watching",{keys1:["m","w"]}),print:S("actions.print",{keys1:[f,"p"],keysDelimiter:w}),defer:S("actions.defer",{keys1:[m,"u"],keysDelimiter:w}),topic_admin_actions:S("actions.topic_admin_actions",{keys1:[m,"a"],keysDelimiter:w}),archive_private_message:S("actions.archive_private_message",{keys1:["a"]})}},navigation:{shortcuts:{back:S("navigation.back",{keys1:["u"]}),jump:S("navigation.jump",{keys1:["#"]}),up_down:S("navigation.up_down",{keys1:["k"],keys2:["j"],shortcutsDelimiter:"slash"}),open:S("navigation.open",{keys1:["o"],keys2:[y]}),next_prev:S("navigation.next_prev",{keys1:[m,"j"],keys2:[m,"k"],keysDelimiter:w,shortcutsDelimiter:"slash"}),go_to_unread_post:S("navigation.go_to_unread_post",{keys1:[m,"l"],keysDelimiter:w})}},composing:{shortcuts:{return:S("composing.return",{keys1:[m,"c"],keysDelimiter:w}),fullscreen:S("composing.fullscreen",{keys1:[m,"F11"],keysDelimiter:w}),insertCurrentTime:S("composing.insert_current_time",{keys1:[f,m,"."],keysDelimiter:w})}},bookmarks:{shortcuts:{enter:S("bookmarks.enter",{keys1:[y]}),later_today:S("bookmarks.later_today",{keys1:["l","t"]}),later_this_week:S("bookmarks.later_this_week",{keys1:["l","w"]}),tomorrow:S("bookmarks.tomorrow",{keys1:["n","d"]}),next_business_week:S("bookmarks.next_business_week",{keys1:["n","b","w"]}),next_business_day:S("bookmarks.next_business_day",{keys1:["n","b","d"]}),custom:S("bookmarks.custom",{keys1:["c","r"]}),none:S("bookmarks.none",{keys1:["n","r"]}),delete:S("bookmarks.delete",{keys1:["d","d"]})}},search_menu:{shortcuts:{prev_next:S("search_menu.prev_next",{keys1:["↑"],keys2:["↓"],shortcutsDelimiter:"slash"}),insert_url:S("search_menu.insert_url",{keys1:["a"]}),full_page_search:S("search_menu.full_page_search",{keys1:[f,"Enter"],keysDelimiter:w})}}};return e.admin={shortcuts:{admin_search_open:S("admin.search_open",{keys1:[f,"/"],keysDelimiter:w}),admin_search_prev_next:S("admin.search_prev_next",{keys1:["↑"],keys2:["↓"],shortcutsDelimiter:"slash"}),admin_search_full_page:S("admin.search_full_page",{keys1:["Enter"]})}},this._buildExtraShortcuts(e),this._addCountsToShortcutCategories(e),e}_buildExtraShortcuts(e){for(let[t,i]of Object.entries(l.extraKeyboardShortcutsHelp))i.forEach(i=>{e[t]||(e[t]={}),e[t].shortcuts||(e[t].shortcuts={}),e[t].shortcuts[i.name]=S(i.name,this._transformExtraDefinition(i.definition))})}_addCountsToShortcutCategories(e){for(let[t,i]of Object.entries(e))e[t].count=Object.keys(i.shortcuts).length}_transformExtraDefinition(e){return e.keys1&&(e.keys1=e.keys1.map(e=>this._translateKeys(e))),e.keys2&&(e.keys2=e.keys2.map(e=>this._translateKeys(e))),e.keysDelimiter&&(e.keysDelimiter=this._translateKeys(e.keysDelimiter)),e.shortcutsDelimiter&&(e.shortcutsDelimiter=this._translateKeys(e.shortcutsDelimiter)),e}_translateKeys(e){for(let[t,i]of Object.entries(k))e=e.replace(t,i);return e}_buildJumpToSection(){let e={home:S("jump_to.home",{keys1:["g","h"]}),latest:S("jump_to.latest",{keys1:["g","l"]}),new:S("jump_to.new",{keys1:["g","n"]}),unread:S("jump_to.unread",{keys1:["g","u"]}),categories:S("jump_to.categories",{keys1:["g","c"]}),top:S("jump_to.top",{keys1:["g","t"]}),bookmarks:S("jump_to.bookmarks",{keys1:["g","b"]}),profile:S("jump_to.profile",{keys1:["g","p"]})};return this.currentUser?.can_send_private_messages&&(e.messages=S("jump_to.messages",{keys1:["g","m"]})),Object.assign(e,{drafts:S("jump_to.drafts",{keys1:["g","d"]}),next:S("jump_to.next",{keys1:["g","j"]}),previous:S("jump_to.previous",{keys1:["g","k"]})}),e}static #t=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"6iAKkCrE",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"keyboard-shortcuts-modal -max"]],[["@title","@closeModal"],[[28,[32,1],["keyboard_shortcuts_help.title"],null],[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[14,1,"keyboard-shortcuts-help"],[12],[1,"\\n "],[10,0],[14,0,"keyboard-shortcuts-help__container"],[12],[1,"\\n "],[10,1],[14,"tabindex","0"],[12],[13],[1,"\\n"],[42,[28,[31,1],[[30,0,["shortcuts"]]],null],null,[[[1," "],[10,"section"],[15,0,[29,["shortcut-category span-",[30,2,["count"]],"\\n shortcut-category-",[30,3]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,1],[[28,[32,2],["keyboard_shortcuts_help.",[30,3],".title"],null]],null]],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,1],[[30,2,["shortcuts"]]],null],null,[[[1," "],[10,"li"],[12],[1,[28,[32,3],[[30,4]],null]],[13],[1,"\\n"]],[4,5]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[2,3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","shortcutCategory","category","shortcut","name"],false,["each","-each-in"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/keyboard-shortcuts-help.js",scope:()=>[o.default,c.i18n,n.concat,a.htmlSafe],isStrictMode:!0}),this))()}},55038:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(600),n=i(88820);let r=class extends s.default{get linkTitle(){if(this.notification.data.title)return(0,n.i18n)(this.notification.data.title)}get icon(){return`notification.${this.notification.data.message}`}}},55133:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(11075),r=i(54074),a=i(12733),o=i(60961),l=i(72799),u=i(71209),c=i(86960);class d extends s.default{get emojis(){if(this.args.emoji)return this.args.emoji.split("|")}get skipEmojiTitle(){return!this.args.emojiTitle}static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"DnhxGzVF",block:'[[[1,"\\n "],[10,1],[15,0,[28,[32,0],["poster-icon",[30,1]],null]],[15,"title",[30,2]],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,3],[15,6,[30,3]],[12],[1,"\\n "],[8,[32,1],null,[["@icon","@emojis","@emojiTitle","@text"],[[30,4],[30,0,["emojis"]],[30,5],[30,6]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@icon","@emojis","@emojiTitle","@text"],[[30,4],[30,0,["emojis"]],[30,5],[30,6]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@className","@title","@url","@icon","@emojiTitle","@text"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/poster-name/icon.js",scope:()=>[r.default,p],isStrictMode:!0}),this))()}let p=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"tCO258Bf",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[]],[[[41,[30,2],[[[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[1,[28,[32,1],[[30,3]],[["skipEmojiTitle"],[[28,[32,2],[[30,4]],null]]]]],[1,"\\n"]],[3]],null],[1," "]],[]],null]],[]]],[1," "],[1,[30,5]],[1,"\\n"]],["@icon","@emojis","emojiName","@emojiTitle","@text"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/poster-name/icon.js",scope:()=>[a.default,o.default,n.not],isStrictMode:!0}),(0,c.default)(void 0,"icon:Content"))},55215:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(95766),n=i(75527),r=i(18555),a=i(81539),o=i(24001),l=i(69857),u=i(35352),c=i(88820),d=i(72799),p=i(71209);class h extends s.default{get isViewingPostsByUsername(){return this.args.streamFilters.username_filters?.length}get isViewingRepliesToPostNumber(){return!!this.args.streamFilters.replies_to_post_number}get isViewingSubset(){return this.args.streamFilters.filter_upwards_post_id||this.args.streamFilters.mixedHiddenPosts}get isViewingSummary(){return"summary"===this.args.streamFilters.filter}get firstUserPost(){return this.args.posts[1]}get sourcePost(){return this.args.posts.find(e=>e.post_number===this.args.streamFilters.replies_to_post_number)}get userPostsCount(){return parseInt(this.args.filteredPostsCount,10)-1}jumpToPost(){u.default.jumpToPost(this.args.streamFilters.replies_to_post_number)}static #e=(()=>dt7948.n(this.prototype,"jumpToPost",[n.action]))();static #t=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"jIL8h4qE",block:'[[[1,"\\n "],[10,0],[14,0,"posts-filtered-notice"],[12],[1,"\\n"],[41,[30,0,["isViewingSubset"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_subset"],null]],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isViewingRepliesToPostNumber"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies_viewing"],[["count"],[[30,0,["sourcePost","reply_count"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"filtered-user-row"],[12],[1,"\\n "],[10,1],[14,0,"filtered-avatar"],[12],[1,"\\n "],[8,[32,2],null,[["@size","@user"],["small",[30,0,["sourcePost"]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],[[24,0,"filtered-jump-to-post"]],[["@translatedLabel","@action"],[[28,[32,0],["post.filtered_replies.post_number"],[["username","post_number"],[[30,0,["sourcePost","username"]],[30,1,["replies_to_post_number"]]]]],[30,0,["jumpToPost"]]]],null],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isViewingSummary"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_summary"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n"]],[]],[[[41,[30,0,["isViewingPostsByUsername"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_posts_by"],[["post_count"],[[30,0,["userPostsCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"filtered-avatar"],[12],[1,"\\n "],[8,[32,2],null,[["@size","@user"],["small",[30,0,["firstUserPost"]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,4],null,[["@post"],[[30,0,["firstUserPost"]]]],null],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["@streamFilters","@cancelFilter"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/filtered-notice.js",scope:()=>[c.i18n,m,l.default,a.default,o.default],isStrictMode:!0}),this))()}class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();showAll(){this.args.cancelFilter(),this.appEvents.trigger("post-stream:filter-show-all",this.args.streamFilters)}static #t=(()=>dt7948.n(this.prototype,"showAll",[n.action]))();static #i=(()=>(0,d.setComponentTemplate)((0,p.createTemplateFactory)({id:"v1CiJaO/",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-primary filtered-replies-show-all"]],[["@icon","@label","@action"],["up-down","post.filtered_replies.show_all",[30,0,["showAll"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/filtered-notice.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},55230:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,modifier:()=>c});var s=i(14110),n=i(4781),r=i(63534);class a{capabilities=(()=>(0,n.capabilities)("3.22"))();constructor(e){this.owner=e}createModifier(e,t){return{instance:new e(this.owner,t),element:null}}installModifier(e,t,i){(function(e,t){return e.element=t,e})(e,t).instance.modify(t,i.positional,i.named)}updateModifier(e,t){e.instance.modify(e.element,t.positional,t.named)}destroyModifier(e){let{instance:t}=e;(0,r.destroy)(t)}}class o{constructor(e,t){(0,s.setOwner)(this,e)}modify(e,t,i){}}(0,n.setModifierManager)(e=>new a(e),o);class l{capabilities=(()=>(0,n.capabilities)("3.22"))();createModifier(e){return{element:null,instance:e}}installModifier(e,t,i){let s=function(e,t){return e.element=t,e}(e,t),{positional:n,named:r}=i,a=e.instance(t,n,r);"function"==typeof a&&(s.teardown=a)}updateModifier(e,t){"function"==typeof e.teardown&&e.teardown();let i=e.instance(e.element,t.positional,t.named);"function"==typeof i&&(e.teardown=i)}destroyModifier(e){"function"==typeof e.teardown&&e.teardown()}getDebugName(e){return e.instance.toString()}getDebugInstance(e){return e}}let u=new l;function c(e,t){return e.toString=()=>t?.name||e.name,(0,n.setModifierManager)(()=>u,e)}},55231:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addQuickSearchRandomTip:()=>h,default:()=>f,removeDefaultQuickSearchRandomTips:()=>g,resetQuickSearchRandomTips:()=>m});var s=i(95766),n=i(4781),r=i(75527),a=i(18555),o=i(54074),l=i(88820),u=i(72799),c=i(71209);let d=[{label:"#",description:(0,l.i18n)("search.tips.category_tag"),clickable:!0},{label:"@",description:(0,l.i18n)("search.tips.author"),clickable:!0},{label:"in:",description:(0,l.i18n)("search.tips.in"),clickable:!0},{label:"status:",description:(0,l.i18n)("search.tips.status"),clickable:!0},{label:(0,l.i18n)("search.tips.full_search_key",{modifier:"Ctrl"}),description:(0,l.i18n)("search.tips.full_search")},{label:"@me",description:(0,l.i18n)("search.tips.me")}],p=[];function h(e){p.includes(e)||p.push(e)}function m(){p=[].concat(d)}function g(){p=p.filter(e=>!d.includes(e))}m();class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[a.service]))();#ej=(()=>void dt7948.i(this,"search"))();constructor(){super(...arguments),this.randomTip=p[Math.floor(Math.random()*p.length)]}tipSelected(e){e.target.classList.contains("tip-clickable")&&(this.args.searchTermChanged(this.randomTip.label),this.search.focusSearchInput(),e.stopPropagation(),e.preventDefault())}static #t=(()=>dt7948.n(this.prototype,"tipSelected",[r.action]))();static #i=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"I5QpCe4W",block:'[[[1,"\\n "],[10,"li"],[14,0,"search-random-quick-tip"],[12],[1,"\\n "],[11,"button"],[16,0,[28,[32,0],["tip-label",[52,[30,0,["randomTip","clickable"]],"tip-clickable"]],null]],[24,"aria-describedby","tip-description"],[4,[32,1],["click",[30,0,["tipSelected"]]],null],[12],[1,"\\n "],[1,[30,0,["randomTip","label"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[14,1,"tip-description"],[12],[1,"\\n "],[1,[30,0,["randomTip","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/random-quick-tip.js",scope:()=>[o.default,n.on],isStrictMode:!0}),this))()}},55243:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(95766),n=i(4781),r=i(75527),a=i(5845),o=i(11075),l=i(23088),u=i(72799),c=i(71209);class d extends s.default{#cr;get delegateShouldRenderToTemplate(){return this.args.buttonConfig.delegateShouldRenderToTemplate(this.args)}get hidden(){return this.args.buttonConfig.hidden(this.args)}get shouldRender(){if(!this.delegateShouldRenderToTemplate)return this.args.buttonConfig.shouldRender(this.args)}get showLabel(){return this.args.buttonConfig.showLabel(this.args)}setElement(e){this.#cr=e}static #e=(()=>dt7948.n(this.prototype,"setElement",[r.action]))();sharedBehaviorOnClick(e){e.currentTarget?.blur()}static #t=(()=>dt7948.n(this.prototype,"sharedBehaviorOnClick",[r.action]))();showFeedback(e){this.#cr&&(0,l.showAlert)(this.args.post.id,this.args.buttonConfig.key,e,{actionBtn:this.#cr})}static #i=(()=>dt7948.n(this.prototype,"showFeedback",[r.action]))();static #s=(()=>(0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"eOqDL3A1",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,0,["shouldRender"]],[30,0,["delegateShouldRenderToTemplate"]]],null],[[[1," "],[8,[30,1,["Component"]],[[24,0,"btn-flat"],[4,[32,1],[[30,0,["setElement"]]],null],[4,[32,2],["click",[30,0,["sharedBehaviorOnClick"]]],null]],[["@buttonActions","@hidden","@post","@shouldRender","@showFeedback","@showLabel","@state"],[[30,2],[30,0,["hidden"]],[30,3],[30,0,["shouldRender"]],[30,0,["showFeedback"]],[30,0,["showLabel"]],[30,4]]],null],[1,"\\n"]],[]],null],[1," "]],["@buttonConfig","@buttonActions","@post","@state"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/button-wrapper.js",scope:()=>[o.or,a.default,n.on],isStrictMode:!0}),this))()}},55252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(21494)},55275:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(72799),n=i(25604),r=i(75527),a=i(57528),o=i(62838),l=i(81539),u=i(69058),c=i(67486),d=i(88820),p=i(5363),h=i(49745),m=i(71209);class g extends(0,u.buildCategoryPanel)("tags"){static #e=(()=>dt7948.g(this.prototype,"allowedTagsEmpty",[(0,a.empty)("category.allowed_tags")]))();#ca=(()=>void dt7948.i(this,"allowedTagsEmpty"))();static #t=(()=>dt7948.g(this.prototype,"allowedTagGroupsEmpty",[(0,a.empty)("category.allowed_tag_groups")]))();#co=(()=>void dt7948.i(this,"allowedTagGroupsEmpty"))();static #i=(()=>dt7948.g(this.prototype,"disableAllowGlobalTags",[(0,a.and)("allowedTagsEmpty","allowedTagGroupsEmpty")]))();#cl=(()=>void dt7948.i(this,"disableAllowGlobalTags"))();onTagGroupChange(e,t){(0,r.set)(e,"name",t[0])}static #s=(()=>dt7948.n(this.prototype,"onTagGroupChange",[r.action]))();addRequiredTagGroup(){this.category.required_tag_groups.pushObject({min_count:1})}static #u=(()=>dt7948.n(this.prototype,"addRequiredTagGroup",[r.action]))();deleteRequiredTagGroup(e){this.category.required_tag_groups.removeObject(e)}static #c=(()=>dt7948.n(this.prototype,"deleteRequiredTagGroup",[r.action]))();static #_=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"myi52blS",block:'[[[1,"\\n "],[10,"section"],[14,0,"field minimum-required-tags"],[12],[1,"\\n "],[10,"label"],[14,"for","category-minimum-tags"],[12],[1,"\\n "],[1,[28,[32,0],["category.minimum_required_tags"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@value","@id","@type","@min"],[[30,0,["category","minimum_required_tags"]],"category-minimum-tags","number","0"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[14,0,"field allowed-tags"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.tags_allowed_tags"],null]],[13],[1,"\\n "],[8,[32,2],null,[["@id","@tags","@everyTag","@excludeSynonyms","@unlimitedTagCount","@onChange","@options"],["category-allowed-tags",[30,0,["category","allowed_tags"]],true,true,true,[28,[32,3],[[28,[31,0],[[30,0,["category","allowed_tags"]]],null]],null],[28,[32,4],null,[["filterPlaceholder"],["category.tags_placeholder"]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field allowed-tag-groups"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.tags_allowed_tag_groups"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@id","@tagGroups","@onChange"],["category-allowed-tag-groups",[30,0,["category","allowed_tag_groups"]],[28,[32,3],[[28,[31,0],[[30,0,["category","allowed_tag_groups"]]],null]],null]]],null],[1,"\\n "],[8,[32,6],[[24,0,"manage-tag-groups"]],[["@route"],["tagGroups"]],[["default"],[[[[1,[28,[32,0],["category.manage_tag_groups_link"],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field allow-global-tags"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,7],[[24,1,"allow_global_tags"],[16,"disabled",[30,0,["disableAllowGlobalTags"]]]],[["@type","@checked"],["checkbox",[30,0,["category","allow_global_tags"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.allow_global_tags_label"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field tags-tab-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.tags_tab_description"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field required-tag-group-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.required_tag_group.description"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field with-items"],[12],[1,"\\n "],[10,"section"],[14,0,"field-item required-tag-groups"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["category","required_tag_groups"]]],null]],null],null,[[[1," "],[10,0],[14,0,"required-tag-group-row"],[12],[1,"\\n "],[8,[32,1],null,[["@value","@type","@min"],[[30,1,["min_count"]],"number","1"]],null],[1,"\\n "],[8,[32,5],null,[["@tagGroups","@onChange","@options"],[[52,[30,1,["name"]],[28,[32,8],[[30,1,["name"]]],null],[28,[32,8],null,null]],[28,[32,3],[[30,0,["onTagGroupChange"]],[30,1]],null],[28,[32,4],null,[["maximum","filterPlaceholder"],[1,"category.required_tag_group.placeholder"]]]]],null],[1,"\\n "],[8,[32,9],[[24,0,"delete-required-tag-group"]],[["@label","@action","@icon"],["category.required_tag_group.delete",[28,[32,3],[[30,0,["deleteRequiredTagGroup"]],[30,1]],null],"trash-can"]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[8,[32,9],[[24,0,"btn-default add-required-tag-group"]],[["@label","@action","@icon"],["category.required_tag_group.add",[30,0,["addRequiredTagGroup"]],"plus"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["rtg"],false,["mut","each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-tags.js",scope:()=>[d.i18n,c.default,p.default,n.fn,n.hash,h.default,o.LinkTo,s.Input,n.array,l.default],isStrictMode:!0}),this))()}},55282:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72490),n=i(43898),r=i(88820),a=i(72799),o=i(71209),l=i(86960);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Was2YHpJ",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"add-pm-participants"]],[["@title","@closeModal","@bodyClass"],[[28,[32,1],[[30,1,["title"]]],null],[30,2],"invite modal-panel"]],[["body"],[[[[1,"\\n "],[8,[32,2],null,[["@inviteModel","@closeModal"],[[30,1,["inviteModel"]],[30,2]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],["@model","@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/add-pm-participants.js",scope:()=>[s.default,r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,"add-pm-participants:AddPmParticipants"))},55353:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83426),n=i(82163);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i,r="medium",a=!0;if(t.leaveAgo&&(i="true"===t.leaveAgo),t.format&&(r=t.format),t.noTitle&&(a=!1),e){let o=new Date(e);return(0,s.htmlSafe)((0,n.autoUpdatingRelativeAge)(o,{format:r,title:a,leaveAgo:i,prefix:t.prefix}))}}},55384:(e,t,i)=>{"use strict";i.r(t),i.d(t,{QUERY_PARAMS:()=>r,default:()=>a});var s=i(69098),n=i(61037);let r={ascending:{replace:!0,refreshModel:!0,default:!1},order:{replace:!0,refreshModel:!0}};class a extends n.default{templateName="user-topics-list";controllerName="user-topics-list";queryParams=(()=>r)();setupController(e,t){(0,s.setTopicList)(t);let i=this.userActionType;this.controllerFor("user").set("userActionType",i),this.controllerFor("user-activity").set("userActionType",i),e.setProperties({model:t,hideCategory:!1})}}},55421:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(95766),n=i(25604),r=i(75527),a=i(18555),o=i(81539),l=i(76909),u=i(53769),c=i(54074),d=i(12733),p=i(98304),h=i(88820),m=i(22407),g=i(72799),f=i(71209);function _(e,t,i,s){let n=e+"."+t;return i&&(n+=i),(0,h.i18n)(n+"."+s)}class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();get showFullTitle(){return this.args.showFullTitle??!0}get showCaret(){return this.site.desktopView&&(this.args.showCaret??!0)}get title(){return _(this.args.prefix,this.args.selectedLevel.key,this.args.suffix,"title")}static #t=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"HjDE0yfF",block:'[[[1,"\\n "],[11,"button"],[16,0,[28,[32,0],["btn btn-default",[52,[30,0,["showFullTitle"]],"btn-icon-text","no-text"]],null]],[17,1],[12],[1,"\\n "],[1,[28,[32,1],[[30,2,["icon"]]],null]],[1,"\\n\\n"],[41,[30,0,["showFullTitle"]],[[[1," "],[10,1],[14,0,"d-button-label"],[12],[1,"\\n "],[1,[30,0,["title"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showCaret"]],[[[1," "],[1,[28,[32,1],["angle-down"],[["class"],["notifications-tracking-btn__caret"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@selectedLevel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/notifications-tracking.js",scope:()=>[c.default,d.default],isStrictMode:!0}),this))()}class b extends s.default{registerDmenuApi(e){this.dmenuApi=e}static #e=(()=>dt7948.n(this.prototype,"registerDmenuApi",[r.action]))();async setNotificationLevel(e){await this.dmenuApi.close({focusTrigger:!0}),this.args.onChange?.(e)}static #t=(()=>dt7948.n(this.prototype,"setNotificationLevel",[r.action]))();description(e){return _(this.args.prefix,e.key,this.args.suffix,"description")}static #i=(()=>dt7948.n(this.prototype,"description",[r.action]))();label(e){return _(this.args.prefix,e.key,this.args.suffix,"title")}static #s=(()=>dt7948.n(this.prototype,"label",[r.action]))();isSelectedClass(e){return this.args.levelId===e.id?"-selected":""}static #u=(()=>dt7948.n(this.prototype,"isSelectedClass",[r.action]))();get selectedLevel(){return(0,p.buttonDetails)(this.args.levelId)}get levels(){return this.args.levels??p.allLevels}static #c=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"S8UxiZtY",block:'[[[1,"\\n "],[8,[32,0],[[16,"data-level-id",[30,0,["selectedLevel","id"]]],[16,"data-level-name",[30,0,["selectedLevel","key"]]],[17,1]],[["@identifier","@modalForMobile","@triggerClass","@contentClass","@onRegisterApi","@title","@autofocus","@triggerComponent"],["notifications-tracking",true,[28,[32,1],["btn-default","notifications-tracking-trigger-btn",[30,2]],null],[30,3],[30,0,["registerDmenuApi"]],[30,4],false,[50,[32,2],0,null,[["showFullTitle","showCaret","selectedLevel","suffix","prefix"],[[30,5],[30,6],[30,0,["selectedLevel"]],[30,7],[30,8]]]]]],[["content"],[[[[1,"\\n "],[8,[32,3],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["levels"]]],null]],null],null,[[[1," "],[8,[30,9,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,4],[[16,0,[28,[32,1],["notifications-tracking-btn",[28,[30,0,["isSelectedClass"]],[[30,10]],null]],null]],[16,"data-level-id",[30,10,["id"]]],[16,"data-level-name",[30,10,["key"]]]],[["@action"],[[28,[32,5],[[30,0,["setNotificationLevel"]],[30,10,["id"]]],null]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"notifications-tracking-btn__icons"],[12],[1,"\\n "],[8,[32,6],null,[["@name","@outletArgs"],["notifications-tracking-icons",[28,[32,7],null,[["selectedLevelId","level","topic"],[[30,11],[30,10],[30,12]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,8],[[30,10,["icon"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"notifications-tracking-btn__texts"],[12],[1,"\\n "],[10,1],[14,0,"notifications-tracking-btn__label"],[12],[1,"\\n "],[1,[28,[30,0,["label"]],[[30,10]],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"notifications-tracking-btn__description"],[12],[1,"\\n "],[1,[28,[30,0,["description"]],[[30,10]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[10]],null],[1," "]],[9]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@triggerClass","@contentClass","@title","@showFullTitle","@showCaret","@suffix","@prefix","dropdown","level","@levelId","@topic"],false,["component","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/notifications-tracking.js",scope:()=>[m.default,c.default,y,l.default,o.default,n.fn,u.default,n.hash,d.default],isStrictMode:!0}),this))()}},55529:(e,t,i)=>{"use strict";i.r(t),i.d(t,{assert:()=>s,setAssert:()=>n});let s=()=>{};function n(e){return s=e,e}},55592:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={initialize(){let e=new URLSearchParams(window.location.search);if(e.get("safe_mode")?.split(",").includes("deprecation_errors")){window.EmberENV.RAISE_ON_DEPRECATION=!0;return}}}},55768:(e,t,i)=>{"use strict";function s(){return"30000000-1000-4000-2000-100000000000".replace(/[0-3]/g,e=>(4*e^16*Math.random()>>(2&e)).toString(16))}i.r(t),i.d(t,{default:()=>s})},55771:(e,t,i)=>{"use strict";function s(e){let t=e.pathname;return"/"!==t[0]&&(t=`/${t}`),t}function n(e){return e.search}function r(e){return void 0!==e.hash?e.hash.substring(0):""}function a(e){return s(e)+n(e)+r(e)}function o(e){let t=e.origin;return!t&&(t=`${e.protocol}//${e.hostname}`,e.port&&(t+=`:${e.port}`)),t}function l(e,t){e.replace(o(e)+t)}i.r(t),i.d(t,{getFullPath:()=>a,getHash:()=>r,getOrigin:()=>o,getPath:()=>s,getQuery:()=>n,replacePath:()=>l})},55800:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(75527);let n=i(99110).default.create({isValidInput:e=>!/F\d+|Arrow.+|Meta|Alt|Control|Shift|Delete|Enter|Escape|Tab|Space|Insert|Backspace/.test(e),defaultItem(e,t){if(!this.selectKit.valueProperty)return t||e;{let i={};return i[this.selectKit.valueProperty]=e,i[this.selectKit.nameProperty]=t,i}},itemForValue(e,t){return this.selectKit.valueProperty?t.findBy(this.selectKit.valueProperty,e):e},getProperty(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{definedOnly:!0},{definedOnly:n}=i;if(e&&"string"==typeof t){let i=(0,s.get)(e,t);if(i)return i}return(t=(0,s.get)(this.selectKit,t),e&&(t||!n))?t?"string"==typeof t?(0,s.get)(e,t):t(e):e:null},getValue(e){return this.getProperty(e,"valueProperty",{definedOnly:!1})},getName(e){return this.getProperty(e,"nameProperty",{definedOnly:!1})},findValue(e,t){return this._findInContent(e,t,"valueProperty","getValue")},findName(e,t){return this._findInContent(e,t,"nameProperty","getName")},_findInContent(e,t,i,n){let r=(0,s.get)(this.selectKit,i);if(r){if("string"==typeof r)return e.findBy(r,this[n](t));let i=this[n](t);return e.find(e=>this[n](e)===i)}if(e.includes(t))return t},_isNumeric:e=>!isNaN(parseFloat(e))&&isFinite(e),_normalize:e=>(e&&"function"==typeof(e=e.toLowerCase()).normalize&&(e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),e)})},55910:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(8658),n=i(74212),r=i(72799),a=i(71209),o=i(86960);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"lxoJcZai",block:'[[[8,[32,0],null,[["@stream"],[[30,1,["model"]]]],null]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/posts.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},55919:(e,t,i)=>{"use strict";i.r(t),i.d(t,{autoLoadModules:()=>r,default:()=>a});var s=i(97527),n=i(37868);function r(e,t){Object.keys(requirejs.entries).forEach(e=>{(function(e){return e.includes("/helpers/")&&(e.startsWith("discourse/theme-")||e.startsWith("discourse/plugins/"))&&!e.endsWith("-test")})(e)&&requirejs(e,null,null,!0),e.includes("/widgets/")&&!e.endsWith("-test")&&requirejs(e,null,null,!0)});let i={siteSettings:e.lookup("service:site-settings"),keyValueStore:e.lookup("service:key-value-store"),capabilities:e.lookup("service:capabilities"),currentUser:e.lookup("service:current-user"),site:e.lookup("service:site"),session:e.lookup("service:session"),topicTrackingState:e.lookup("service:topic-tracking-state"),registry:t};(0,s.setOwner)(i,e),(0,n.createHelperContext)(i),(0,n.registerHelpers)(t)}let a={after:"inject-objects",initialize:e=>{r(e,e.__container__.registry)}}},55960:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(19888),n=i(6467);function r(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,initializer:()=>s(...n)}}function a(e){return function(){for(var t=arguments.length,i=Array(t),a=0;a{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(62838),n=i(8658),r=i(81539),a=i(12733),o=i(25755),l=i(88820),u=i(72799),c=i(71209),d=i(86960);let p=(0,n.default)((0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"DIIRgxwt",block:'[[[1,"\\n "],[10,3],[14,0,"tag-groups--back"],[15,6,[28,[32,0],["/tags"],null]],[12],[1,"\\n "],[1,[28,[32,1],["chevron-left"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,2],["tagging.groups.back_btn"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"container tag-groups-container"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,2],["tagging.groups.title"],null]],[13],[1,"\\n\\n"],[41,[30,1,["siteSettings","tagging_enabled"]],[[[41,[30,1,["model"]],[[[1," "],[10,0],[14,0,"tag-groups-sidebar content-list"],[12],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,3],null,[["@route","@model"],["tagGroups.edit",[30,2]]],[["default"],[[[[1,"\\n "],[1,[30,2,["name"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,4],[[24,0,"btn-default"]],[["@action","@icon","@label"],[[30,1,["newTagGroup"]],"plus","tagging.groups.new"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[46,[28,[31,4],null,null],null,null,null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"tag-group-content"],[12],[1,"\\n "],[10,0],[14,0,"alert info"],[12],[1,[28,[32,2],["tagging.groups.disabled"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@controller","tagGroup"],false,["if","each","-track-array","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/tag-groups.js",scope:()=>[o.default,a.default,l.i18n,s.LinkTo,r.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},56006:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(95766),n=i(87531),r=i(25604),a=i(75527),o=i(5845),l=i(81539),u=i(53769),c=i(95803),d=i(37311),p=i(30265),h=i(25603),m=i(72523),g=i(41693),f=i(88820),_=i(72799),y=i(71209);class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"isCollapsed",[n.tracked],function(){return!1}))();#cu=(()=>void dt7948.i(this,"isCollapsed"))();static #t=(()=>dt7948.g(this.prototype,"isLongPost",[n.tracked],function(){return!1}))();#cc=(()=>void dt7948.i(this,"isLongPost"))();maxPostHeight=300;toggleContent(){this.isCollapsed=!this.isCollapsed}static #i=(()=>dt7948.n(this.prototype,"toggleContent",[a.action]))();calculatePostBodySize(e){e?.offsetHeight>this.maxPostHeight?(this.isCollapsed=!0,this.isLongPost=!0):(this.isCollapsed=!1,this.isLongPost=!1)}static #s=(()=>dt7948.n(this.prototype,"calculatePostBodySize",[m.bind]))();get collapseButtonProps(){return this.isCollapsed?{label:"review.show_more",icon:"chevron-down"}:{label:"review.show_less",icon:"chevron-up"}}static #u=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"NZz9a5qt",block:'[[[1,"\\n "],[10,0],[14,0,"flagged-post-header"],[12],[1,"\\n "],[8,[32,0],null,[["@reviewable","@tagName"],[[30,1],""]],null],[1,"\\n "],[8,[32,1],null,[["@reviewable","@tagName"],[[30,1],""]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"post-contents-wrapper"],[12],[1,"\\n "],[8,[32,2],null,[["@user"],[[30,1,["target_created_by"]]]],null],[1,"\\n "],[10,0],[14,0,"post-contents"],[12],[1,"\\n "],[8,[32,3],null,[["@reviewable","@createdBy","@tagName"],[[30,1],[30,1,["target_created_by"]],""]],null],[1,"\\n "],[11,0],[16,0,[29,["post-body ",[52,[30,0,["isCollapsed"]],"is-collapsed"]]]],[4,[32,4],[[30,0,["calculatePostBodySize"]],[30,1]],null],[12],[1,"\\n"],[41,[30,1,["blank_post"]],[[[1," "],[10,2],[12],[1,[28,[32,5],["review.deleted_post"],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,6],[[30,1,["cooked"]],[30,1]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["isLongPost"]],[[[1," "],[8,[32,7],[[24,0,"btn-default btn-icon post-body__toggle-btn"]],[["@action","@label","@icon"],[[30,0,["toggleContent"]],[30,0,["collapseButtonProps","label"]],[30,0,["collapseButtonProps","icon"]]]],null],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,8],null,[["@name","@connectorTagName","@outletArgs"],["after-reviewable-flagged-post-body","div",[28,[32,9],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@reviewable","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-flagged-post.js",scope:()=>[h.default,d.default,c.default,p.default,o.default,f.i18n,g.default,l.default,u.default,r.hash],isStrictMode:!0}),this))()}},56012:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(87531),n=i(21980),r=i(75527),a=i(70412),o=i(88820);let l=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"saved",[s.tracked],function(){return!1}))();#rx=(()=>void dt7948.i(this,"saved"))();subpageTitle=(()=>(0,o.i18n)("user.preferences_nav.navigation_menu"))();saveAttrNames=["sidebar_link_to_filtered_list","sidebar_show_count_of_new_items"];save(){let e=this.model.sidebarLinkToFilteredList,t=this.model.sidebarShowCountOfNewItems;this.model.set("user_option.sidebar_link_to_filtered_list",this.newSidebarLinkToFilteredList),this.model.set("user_option.sidebar_show_count_of_new_items",this.newSidebarShowCountOfNewItems),this.model.save(this.saveAttrNames).then(()=>{this.saved=!0}).catch(i=>{this.model.set("user_option.sidebar_link_to_filtered_list",e),this.model.set("user_option.sidebar_show_count_of_new_items",t),(0,a.popupAjaxError)(i)})}static #t=(()=>dt7948.n(this.prototype,"save",[r.action]))()}},56042:(e,t,i)=>{"use strict";var s=i(74828);let n=window,r=n.define;(0,s.A)(i(26034)),r("discourse/adapters/email-template",function(){return(0,s.A)(i(93889))}),r("discourse/adapters/group",function(){return(0,s.A)(i(22469))}),r("discourse/adapters/list-tag",function(){return(0,s.A)(i(70765))}),r("discourse/adapters/notification",function(){return(0,s.A)(i(53107))}),r("discourse/adapters/pending-post",function(){return(0,s.A)(i(23556))}),r("discourse/adapters/post-reply-history",function(){return(0,s.A)(i(70006))}),r("discourse/adapters/post-reply",function(){return(0,s.A)(i(74323))}),r("discourse/adapters/post",function(){return(0,s.A)(i(86158))}),r("discourse/adapters/published-page",function(){return(0,s.A)(i(6170))}),r("discourse/adapters/rest",function(){return(0,s.A)(i(5886))}),r("discourse/adapters/reviewable-explanation",function(){return(0,s.A)(i(8586))}),r("discourse/adapters/reviewable-settings",function(){return(0,s.A)(i(16192))}),r("discourse/adapters/reviewable-topic",function(){return(0,s.A)(i(59266))}),r("discourse/adapters/reviewable",function(){return(0,s.A)(i(3404))}),r("discourse/adapters/tag-info",function(){return(0,s.A)(i(38543))}),r("discourse/adapters/tag-notification",function(){return(0,s.A)(i(23240))}),r("discourse/adapters/tag",function(){return(0,s.A)(i(26362))}),r("discourse/adapters/topic-list",function(){return(0,s.A)(i(27222))}),r("discourse/adapters/topic",function(){return(0,s.A)(i(66505))}),r("discourse/app",function(){return(0,s.A)(i(63748))}),r("discourse/config/environment",function(){return(0,s.A)(i(52705))}),r("discourse/deprecation-workflow",function(){return(0,s.A)(i(88757))}),r("discourse/discourse-common-loader-shims",function(){return(0,s.A)(i(97425))}),r("discourse/form-kit/components/fk/alert",function(){return(0,s.A)(i(11826))}),r("discourse/form-kit/components/fk/char-counter",function(){return(0,s.A)(i(15553))}),r("discourse/form-kit/components/fk/checkbox-group",function(){return(0,s.A)(i(18769))}),r("discourse/form-kit/components/fk/col",function(){return(0,s.A)(i(96242))}),r("discourse/form-kit/components/fk/collection",function(){return(0,s.A)(i(99842))}),r("discourse/form-kit/components/fk/container",function(){return(0,s.A)(i(28279))}),r("discourse/form-kit/components/fk/control-wrapper",function(){return(0,s.A)(i(23799))}),r("discourse/form-kit/components/fk/control/calendar",function(){return(0,s.A)(i(83546))}),r("discourse/form-kit/components/fk/control/checkbox",function(){return(0,s.A)(i(11637))}),r("discourse/form-kit/components/fk/control/code",function(){return(0,s.A)(i(86437))}),r("discourse/form-kit/components/fk/control/composer",function(){return(0,s.A)(i(49310))}),r("discourse/form-kit/components/fk/control/conditional-content",function(){return(0,s.A)(i(25258))}),r("discourse/form-kit/components/fk/control/conditional-content/condition",function(){return(0,s.A)(i(93108))}),r("discourse/form-kit/components/fk/control/conditional-content/content",function(){return(0,s.A)(i(92608))}),r("discourse/form-kit/components/fk/control/custom",function(){return(0,s.A)(i(86111))}),r("discourse/form-kit/components/fk/control/emoji",function(){return(0,s.A)(i(16036))}),r("discourse/form-kit/components/fk/control/icon",function(){return(0,s.A)(i(16197))}),r("discourse/form-kit/components/fk/control/image",function(){return(0,s.A)(i(88055))}),r("discourse/form-kit/components/fk/control/input",function(){return(0,s.A)(i(56634))}),r("discourse/form-kit/components/fk/control/menu",function(){return(0,s.A)(i(18827))}),r("discourse/form-kit/components/fk/control/menu/container",function(){return(0,s.A)(i(64875))}),r("discourse/form-kit/components/fk/control/menu/divider",function(){return(0,s.A)(i(34133))}),r("discourse/form-kit/components/fk/control/menu/item",function(){return(0,s.A)(i(80741))}),r("discourse/form-kit/components/fk/control/password",function(){return(0,s.A)(i(66605))}),r("discourse/form-kit/components/fk/control/question",function(){return(0,s.A)(i(69532))}),r("discourse/form-kit/components/fk/control/radio-group",function(){return(0,s.A)(i(27903))}),r("discourse/form-kit/components/fk/control/radio-group/radio",function(){return(0,s.A)(i(25627))}),r("discourse/form-kit/components/fk/control/select",function(){return(0,s.A)(i(65080))}),r("discourse/form-kit/components/fk/control/textarea",function(){return(0,s.A)(i(95046))}),r("discourse/form-kit/components/fk/control/toggle",function(){return(0,s.A)(i(75636))}),r("discourse/form-kit/components/fk/errors-summary",function(){return(0,s.A)(i(43404))}),r("discourse/form-kit/components/fk/errors",function(){return(0,s.A)(i(73809))}),r("discourse/form-kit/components/fk/field-data",function(){return(0,s.A)(i(4945))}),r("discourse/form-kit/components/fk/field",function(){return(0,s.A)(i(72684))}),r("discourse/form-kit/components/fk/fieldset",function(){return(0,s.A)(i(33534))}),r("discourse/form-kit/components/fk/form",function(){return(0,s.A)(i(11820))}),r("discourse/form-kit/components/fk/input-group",function(){return(0,s.A)(i(47782))}),r("discourse/form-kit/components/fk/label",function(){return(0,s.A)(i(75150))}),r("discourse/form-kit/components/fk/meta",function(){return(0,s.A)(i(84287))}),r("discourse/form-kit/components/fk/object",function(){return(0,s.A)(i(92853))}),r("discourse/form-kit/components/fk/optional",function(){return(0,s.A)(i(43306))}),r("discourse/form-kit/components/fk/row",function(){return(0,s.A)(i(96264))}),r("discourse/form-kit/components/fk/section",function(){return(0,s.A)(i(21179))}),r("discourse/form-kit/components/fk/submit",function(){return(0,s.A)(i(81726))}),r("discourse/form-kit/components/fk/text",function(){return(0,s.A)(i(84673))}),r("discourse/form-kit/components/fk/tooltip",function(){return(0,s.A)(i(86783))}),r("discourse/form-kit/lib/constants",function(){return(0,s.A)(i(79068))}),r("discourse/form-kit/lib/fk-form-data",function(){return(0,s.A)(i(26555))}),r("discourse/form-kit/lib/validation-parser",function(){return(0,s.A)(i(3644))}),r("discourse/form-kit/lib/validator",function(){return(0,s.A)(i(13003))}),r("discourse/global-compat",function(){return(0,s.A)(i(26901))}),r("discourse/initializers/deprecation-error-mode",function(){return(0,s.A)(i(55592))}),r("discourse/initializers/deprecation-identify-source",function(){return(0,s.A)(i(87802))}),r("discourse/initializers/deprecation-this-property-fallback-handler",function(){return(0,s.A)(i(62e3))}),r("discourse/initializers/dev-tools",function(){return(0,s.A)(i(93650))}),r("discourse/initializers/discourse-bootstrap",function(){return(0,s.A)(i(44805))}),r("discourse/initializers/dynamic-route-builders",function(){return(0,s.A)(i(80063))}),r("discourse/initializers/freeze-valid-transformers",function(){return(0,s.A)(i(24548))}),r("discourse/initializers/inject-discourse-objects",function(){return(0,s.A)(i(77291))}),r("discourse/initializers/map-routes",function(){return(0,s.A)(i(68872))}),r("discourse/instance-initializers/animated-images-pause-on-click",function(){return(0,s.A)(i(63173))}),r("discourse/instance-initializers/auth-complete",function(){return(0,s.A)(i(25495))}),r("discourse/instance-initializers/auto-load-modules",function(){return(0,s.A)(i(55919))}),r("discourse/instance-initializers/badging",function(){return(0,s.A)(i(74417))}),r("discourse/instance-initializers/banner",function(){return(0,s.A)(i(10651))}),r("discourse/instance-initializers/boot-services",function(){return(0,s.A)(i(94134))}),r("discourse/instance-initializers/clean-dom-on-route-change",function(){return(0,s.A)(i(68800))}),r("discourse/instance-initializers/click-interceptor",function(){return(0,s.A)(i(75223))}),r("discourse/instance-initializers/codeblock-buttons",function(){return(0,s.A)(i(91239))}),r("discourse/instance-initializers/component-templates",function(){return(0,s.A)(i(41016))}),r("discourse/instance-initializers/csrf-token",function(){return(0,s.A)(i(94599))}),r("discourse/instance-initializers/discovery-controller-shims",function(){return(0,s.A)(i(18051))}),r("discourse/instance-initializers/enable-emoji",function(){return(0,s.A)(i(46185))}),r("discourse/instance-initializers/handle-cookies",function(){return(0,s.A)(i(89265))}),r("discourse/instance-initializers/hashtag-css-generator",function(){return(0,s.A)(i(16643))}),r("discourse/instance-initializers/hashtag-post-decorations",function(){return(0,s.A)(i(54594))}),r("discourse/instance-initializers/highlight-users",function(){return(0,s.A)(i(23168))}),r("discourse/instance-initializers/image-aspect-ratio",function(){return(0,s.A)(i(66363))}),r("discourse/instance-initializers/init-route-scroll-manager",function(){return(0,s.A)(i(61983))}),r("discourse/instance-initializers/inject-objects",function(){return(0,s.A)(i(67969))}),r("discourse/instance-initializers/interface-color",function(){return(0,s.A)(i(85612))}),r("discourse/instance-initializers/jquery-plugins",function(){return(0,s.A)(i(68446))}),r("discourse/instance-initializers/keyboard-shortcuts",function(){return(0,s.A)(i(28350))}),r("discourse/instance-initializers/live-development",function(){return(0,s.A)(i(38631))}),r("discourse/instance-initializers/localization",function(){return(0,s.A)(i(40048))}),r("discourse/instance-initializers/logout",function(){return(0,s.A)(i(23783))}),r("discourse/instance-initializers/message-bus",function(){return(0,s.A)(i(34097))}),r("discourse/instance-initializers/meta-tag-updater",function(){return(0,s.A)(i(91701))}),r("discourse/instance-initializers/mobile",function(){return(0,s.A)(i(76703))}),r("discourse/instance-initializers/moment",function(){return(0,s.A)(i(91301))}),r("discourse/instance-initializers/more-topics-tabs",function(){return(0,s.A)(i(91866))}),r("discourse/instance-initializers/narrow-desktop",function(){return(0,s.A)(i(28755))}),r("discourse/instance-initializers/onebox-decorators",function(){return(0,s.A)(i(59683))}),r("discourse/instance-initializers/page-tracking",function(){return(0,s.A)(i(20746))}),r("discourse/instance-initializers/populate-template-map",function(){return(0,s.A)(i(35373))}),r("discourse/instance-initializers/post-decorations",function(){return(0,s.A)(i(98057))}),r("discourse/instance-initializers/read-only",function(){return(0,s.A)(i(38040))}),r("discourse/instance-initializers/register-hashtag-types",function(){return(0,s.A)(i(70925))}),r("discourse/instance-initializers/register-media-optimization-upload-processor",function(){return(0,s.A)(i(23964))}),r("discourse/instance-initializers/register-service-worker",function(){return(0,s.A)(i(49801))}),r("discourse/instance-initializers/relative-ages",function(){return(0,s.A)(i(25578))}),r("discourse/instance-initializers/safari-15-deprecation",function(){return(0,s.A)(i(57723))}),r("discourse/instance-initializers/sharing-sources",function(){return(0,s.A)(i(69102))}),r("discourse/instance-initializers/signup-cta",function(){return(0,s.A)(i(97190))}),r("discourse/instance-initializers/sniff-capabilities",function(){return(0,s.A)(i(30140))}),r("discourse/instance-initializers/strip-mobile-app-url-params",function(){return(0,s.A)(i(60699))}),r("discourse/instance-initializers/subscribe-user-notifications",function(){return(0,s.A)(i(74452))}),r("discourse/instance-initializers/svg-sprite-fontawesome",function(){return(0,s.A)(i(62588))}),r("discourse/instance-initializers/topic-footer-buttons",function(){return(0,s.A)(i(18564))}),r("discourse/instance-initializers/url-redirects",function(){return(0,s.A)(i(23392))}),r("discourse/instance-initializers/video-placeholder",function(){return(0,s.A)(i(19622))}),r("discourse/instance-initializers/viewport-setup",function(){return(0,s.A)(i(63591))}),r("discourse/instance-initializers/webview-background",function(){return(0,s.A)(i(24223))}),r("discourse/lib/admin-plugin-config-nav",function(){return(0,s.A)(i(22935))}),r("discourse/lib/admin-plugin-header-actions",function(){return(0,s.A)(i(85494))}),r("discourse/lib/admin-report-additional-modes",function(){return(0,s.A)(i(26970))}),r("discourse/lib/admin-utilities",function(){return(0,s.A)(i(73567))}),r("discourse/lib/after-frame-paint",function(){return(0,s.A)(i(30914))}),r("discourse/lib/ajax-error",function(){return(0,s.A)(i(70412))}),r("discourse/lib/ajax",function(){return(0,s.A)(i(53775))}),r("discourse/lib/api",function(){return(0,s.A)(i(87449))}),r("discourse/lib/attribute-hook",function(){return(0,s.A)(i(2713))}),r("discourse/lib/autocomplete",function(){return(0,s.A)(i(86165))}),r("discourse/lib/autocomplete/category-tag",function(){return(0,s.A)(i(41877))}),r("discourse/lib/autocomplete/emoji",function(){return(0,s.A)(i(56896))}),r("discourse/lib/autocomplete/group",function(){return(0,s.A)(i(75849))}),r("discourse/lib/autocomplete/user",function(){return(0,s.A)(i(99432))}),r("discourse/lib/avatar-flair",function(){return(0,s.A)(i(43499))}),r("discourse/lib/avatar-utils",function(){return(0,s.A)(i(78388))}),r("discourse/lib/body-scroll-lock",function(){return(0,s.A)(i(34903))}),r("discourse/lib/bookmark-form-data",function(){return(0,s.A)(i(9281))}),r("discourse/lib/bookmark",function(){return(0,s.A)(i(33309))}),r("discourse/lib/bulk-select-helper",function(){return(0,s.A)(i(63427))}),r("discourse/lib/cached-topic-list",function(){return(0,s.A)(i(32414))}),r("discourse/lib/can-check-emails-helper",function(){return(0,s.A)(i(68431))}),r("discourse/lib/caret-position",function(){return(0,s.A)(i(69648))}),r("discourse/lib/case-converter",function(){return(0,s.A)(i(45568))}),r("discourse/lib/category-hashtags",function(){return(0,s.A)(i(25891))}),r("discourse/lib/category-tag-search",function(){return(0,s.A)(i(15893))}),r("discourse/lib/class-prepend",function(){return(0,s.A)(i(40236))}),r("discourse/lib/click-track",function(){return(0,s.A)(i(99883))}),r("discourse/lib/codeblock-buttons",function(){return(0,s.A)(i(22531))}),r("discourse/lib/color-scheme-picker",function(){return(0,s.A)(i(76675))}),r("discourse/lib/columns",function(){return(0,s.A)(i(97426))}),r("discourse/lib/composer-video-thumbnail-uppy",function(){return(0,s.A)(i(24311))}),r("discourse/lib/composer/composer-position",function(){return(0,s.A)(i(35990))}),r("discourse/lib/composer/custom-popup-menu-options",function(){return(0,s.A)(i(24315))}),r("discourse/lib/composer/rich-editor-extensions",function(){return(0,s.A)(i(13227))}),r("discourse/lib/composer/text-manipulation",function(){return(0,s.A)(i(88223))}),r("discourse/lib/composer/toolbar",function(){return(0,s.A)(i(18479))}),r("discourse/lib/computed",function(){return(0,s.A)(i(20434))}),r("discourse/lib/constants",function(){return(0,s.A)(i(23064))}),r("discourse/lib/cookie",function(){return(0,s.A)(i(25239))}),r("discourse/lib/copy-text",function(){return(0,s.A)(i(13846))}),r("discourse/lib/d-popover",function(){return(0,s.A)(i(77514))}),r("discourse/lib/dag",function(){return(0,s.A)(i(67909))}),r("discourse/lib/debounce",function(){return(0,s.A)(i(41422))}),r("discourse/lib/decimal-adjust",function(){return(0,s.A)(i(54264))}),r("discourse/lib/decorator-alias",function(){return(0,s.A)(i(66621))}),r("discourse/lib/decorators",function(){return(0,s.A)(i(72523))}),r("discourse/lib/deprecated",function(){return(0,s.A)(i(19888))}),r("discourse/lib/desktop-notifications",function(){return(0,s.A)(i(75356))}),r("discourse/lib/dirty-keys",function(){return(0,s.A)(i(37390))}),r("discourse/lib/discourse-template-map",function(){return(0,s.A)(i(60232))}),r("discourse/lib/do-not-disturb",function(){return(0,s.A)(i(44722))}),r("discourse/lib/dom-from-string",function(){return(0,s.A)(i(17126))}),r("discourse/lib/dom-utils",function(){return(0,s.A)(i(26773))}),r("discourse/lib/download-calendar",function(){return(0,s.A)(i(32828))}),r("discourse/lib/email-provider-default-settings",function(){return(0,s.A)(i(71197))}),r("discourse/lib/ember-action-modifier",function(){return(0,s.A)(i(73027))}),r("discourse/lib/ember-events",function(){return(0,s.A)(i(39054))}),r("discourse/lib/ember-version",function(){return(0,s.A)(i(72215))}),r("discourse/lib/environment",function(){return(0,s.A)(i(69164))}),r("discourse/lib/escape-regexp",function(){return(0,s.A)(i(53262))}),r("discourse/lib/escape",function(){return(0,s.A)(i(29174))}),r("discourse/lib/export-csv",function(){return(0,s.A)(i(48946))}),r("discourse/lib/export-result",function(){return(0,s.A)(i(75921))}),r("discourse/lib/extract-value",function(){return(0,s.A)(i(27300))}),r("discourse/lib/eyeline",function(){return(0,s.A)(i(29106))}),r("discourse/lib/fabricators",function(){return(0,s.A)(i(5532))}),r("discourse/lib/filter-mode",function(){return(0,s.A)(i(63811))}),r("discourse/lib/flag-targets/flag",function(){return(0,s.A)(i(15613))}),r("discourse/lib/flag-targets/post-flag",function(){return(0,s.A)(i(64316))}),r("discourse/lib/flag-targets/topic-flag",function(){return(0,s.A)(i(58199))}),r("discourse/lib/form-template-validation",function(){return(0,s.A)(i(41284))}),r("discourse/lib/formatter",function(){return(0,s.A)(i(82163))}),r("discourse/lib/get-owner",function(){return(0,s.A)(i(65319))}),r("discourse/lib/get-url",function(){return(0,s.A)(i(70677))}),r("discourse/lib/grant-badge-utils",function(){return(0,s.A)(i(93677))}),r("discourse/lib/handle-descriptor",function(){return(0,s.A)(i(95269))}),r("discourse/lib/hash",function(){return(0,s.A)(i(73105))}),r("discourse/lib/hashtag-autocomplete",function(){return(0,s.A)(i(1482))}),r("discourse/lib/hashtag-decorator",function(){return(0,s.A)(i(65797))}),r("discourse/lib/hashtag-type-registry",function(){return(0,s.A)(i(39392))}),r("discourse/lib/hashtag-types/base",function(){return(0,s.A)(i(62609))}),r("discourse/lib/hashtag-types/category",function(){return(0,s.A)(i(26772))}),r("discourse/lib/hashtag-types/tag",function(){return(0,s.A)(i(99554))}),r("discourse/lib/helpers",function(){return(0,s.A)(i(37868))}),r("discourse/lib/highlight-html",function(){return(0,s.A)(i(62515))}),r("discourse/lib/highlight-search",function(){return(0,s.A)(i(54390))}),r("discourse/lib/highlight-syntax-merge-html-plugin",function(){return(0,s.A)(i(20722))}),r("discourse/lib/highlight-syntax",function(){return(0,s.A)(i(23369))}),r("discourse/lib/highlight-watched-words",function(){return(0,s.A)(i(41693))}),r("discourse/lib/homepage-router-overrides",function(){return(0,s.A)(i(97411))}),r("discourse/lib/icon-library",function(){return(0,s.A)(i(35794))}),r("discourse/lib/implicit-injections",function(){return(0,s.A)(i(72577))}),r("discourse/lib/intercept-click",function(){return(0,s.A)(i(18674))}),r("discourse/lib/is-descriptor",function(){return(0,s.A)(i(6467))}),r("discourse/lib/is-element-in-viewport",function(){return(0,s.A)(i(6781))}),r("discourse/lib/key-value-store",function(){return(0,s.A)(i(60202))}),r("discourse/lib/keyboard-shortcuts",function(){return(0,s.A)(i(23594))}),r("discourse/lib/later",function(){return(0,s.A)(i(62411))}),r("discourse/lib/lazy-load-images",function(){return(0,s.A)(i(72519))}),r("discourse/lib/lightbox",function(){return(0,s.A)(i(83368))}),r("discourse/lib/lightbox/constants",function(){return(0,s.A)(i(16354))}),r("discourse/lib/link-lookup",function(){return(0,s.A)(i(83024))}),r("discourse/lib/link-mentions",function(){return(0,s.A)(i(29381))}),r("discourse/lib/load-ace-editor",function(){return(0,s.A)(i(46189))}),r("discourse/lib/load-emoji-search-aliases",function(){return(0,s.A)(i(4130))}),r("discourse/lib/load-faker",function(){return(0,s.A)(i(33717))}),r("discourse/lib/load-moment",function(){return(0,s.A)(i(33286))}),r("discourse/lib/load-morphlex",function(){return(0,s.A)(i(54873))}),r("discourse/lib/load-oneboxes",function(){return(0,s.A)(i(32571))}),r("discourse/lib/load-rich-editor",function(){return(0,s.A)(i(24868))}),r("discourse/lib/load-script",function(){return(0,s.A)(i(349))}),r("discourse/lib/loader-shim",function(){return(0,s.A)(i(16938))}),r("discourse/lib/local-dates",function(){return(0,s.A)(i(35098))}),r("discourse/lib/lock-on",function(){return(0,s.A)(i(56658))}),r("discourse/lib/logout",function(){return(0,s.A)(i(62195))}),r("discourse/lib/macro-alias",function(){return(0,s.A)(i(55960))}),r("discourse/lib/media-optimization-utils",function(){return(0,s.A)(i(739))}),r("discourse/lib/mobile",function(){return(0,s.A)(i(4075))}),r("discourse/lib/model-transformers",function(){return(0,s.A)(i(84489))}),r("discourse/lib/multi-cache",function(){return(0,s.A)(i(2063))}),r("discourse/lib/name-validation-helper",function(){return(0,s.A)(i(49077))}),r("discourse/lib/narrow-desktop",function(){return(0,s.A)(i(46175))}),r("discourse/lib/notification-levels",function(){return(0,s.A)(i(98304))}),r("discourse/lib/notification-types-manager",function(){return(0,s.A)(i(27764))}),r("discourse/lib/notification-types/admin-problems",function(){return(0,s.A)(i(59771))}),r("discourse/lib/notification-types/base",function(){return(0,s.A)(i(600))}),r("discourse/lib/notification-types/bookmark-reminder",function(){return(0,s.A)(i(81600))}),r("discourse/lib/notification-types/custom",function(){return(0,s.A)(i(55038))}),r("discourse/lib/notification-types/edited",function(){return(0,s.A)(i(28168))}),r("discourse/lib/notification-types/granted-badge",function(){return(0,s.A)(i(98296))}),r("discourse/lib/notification-types/group-mentioned",function(){return(0,s.A)(i(18092))}),r("discourse/lib/notification-types/group-message-summary",function(){return(0,s.A)(i(83057))}),r("discourse/lib/notification-types/invitee-accepted",function(){return(0,s.A)(i(25635))}),r("discourse/lib/notification-types/liked-consolidated",function(){return(0,s.A)(i(44526))}),r("discourse/lib/notification-types/liked",function(){return(0,s.A)(i(23792))}),r("discourse/lib/notification-types/linked-consolidated",function(){return(0,s.A)(i(43530))}),r("discourse/lib/notification-types/membership-request-accepted",function(){return(0,s.A)(i(17119))}),r("discourse/lib/notification-types/membership-request-consolidated",function(){return(0,s.A)(i(52757))}),r("discourse/lib/notification-types/moved-post",function(){return(0,s.A)(i(10197))}),r("discourse/lib/notification-types/new-features",function(){return(0,s.A)(i(9359))}),r("discourse/lib/notification-types/watching-first-post",function(){return(0,s.A)(i(94418))}),r("discourse/lib/object",function(){return(0,s.A)(i(74922))}),r("discourse/lib/offset-calculator",function(){return(0,s.A)(i(25687))}),r("discourse/lib/optional-service",function(){return(0,s.A)(i(88896))}),r("discourse/lib/page-tracker",function(){return(0,s.A)(i(61927))}),r("discourse/lib/password-validation-helper",function(){return(0,s.A)(i(25431))}),r("discourse/lib/plugin-api",function(){return(0,s.A)(i(48535))}),r("discourse/lib/plugin-connectors",function(){return(0,s.A)(i(11895))}),r("discourse/lib/popular-themes",function(){return(0,s.A)(i(47799))}),r("discourse/lib/post-action-feedback",function(){return(0,s.A)(i(23088))}),r("discourse/lib/post-bookmark-manager",function(){return(0,s.A)(i(38734))}),r("discourse/lib/post-cooked-html-decorators/link-counts",function(){return(0,s.A)(i(19338))}),r("discourse/lib/post-cooked-html-decorators/mentions",function(){return(0,s.A)(i(71058))}),r("discourse/lib/post-cooked-html-decorators/quote-controls",function(){return(0,s.A)(i(70444))}),r("discourse/lib/post-cooked-html-decorators/search-highlight",function(){return(0,s.A)(i(33240))}),r("discourse/lib/post-cooked-html-decorators/selection-barrier",function(){return(0,s.A)(i(40673))}),r("discourse/lib/posts-with-placeholders",function(){return(0,s.A)(i(91846))}),r("discourse/lib/preload-store",function(){return(0,s.A)(i(13376))}),r("discourse/lib/public-js-versions",function(){return(0,s.A)(i(77034))}),r("discourse/lib/push-notifications",function(){return(0,s.A)(i(59356))}),r("discourse/lib/put-cursor-at-end",function(){return(0,s.A)(i(9073))}),r("discourse/lib/pwa-utils",function(){return(0,s.A)(i(99293))}),r("discourse/lib/quote-state",function(){return(0,s.A)(i(39797))}),r("discourse/lib/quote",function(){return(0,s.A)(i(51601))}),r("discourse/lib/register-service-worker",function(){return(0,s.A)(i(29165))}),r("discourse/lib/register-topic-footer-button",function(){return(0,s.A)(i(86773))}),r("discourse/lib/register-topic-footer-dropdown",function(){return(0,s.A)(i(10600))}),r("discourse/lib/render-tag",function(){return(0,s.A)(i(88012))}),r("discourse/lib/render-tags",function(){return(0,s.A)(i(13379))}),r("discourse/lib/render-topic-featured-link",function(){return(0,s.A)(i(47775))}),r("discourse/lib/reports-loader",function(){return(0,s.A)(i(96972))}),r("discourse/lib/reviewable-types-manager",function(){return(0,s.A)(i(99423))}),r("discourse/lib/reviewable-types/base",function(){return(0,s.A)(i(53214))}),r("discourse/lib/reviewable-types/flagged-post",function(){return(0,s.A)(i(98543))}),r("discourse/lib/reviewable-types/queued-post",function(){return(0,s.A)(i(5140))}),r("discourse/lib/reviewable-types/user",function(){return(0,s.A)(i(6751))}),r("discourse/lib/round",function(){return(0,s.A)(i(49757))}),r("discourse/lib/scroll-lock",function(){return(0,s.A)(i(77126))}),r("discourse/lib/scroll-top",function(){return(0,s.A)(i(31142))}),r("discourse/lib/search",function(){return(0,s.A)(i(68997))}),r("discourse/lib/settings",function(){return(0,s.A)(i(42668))}),r("discourse/lib/sharing",function(){return(0,s.A)(i(62421))}),r("discourse/lib/show-modal",function(){return(0,s.A)(i(28164))}),r("discourse/lib/sidebar/admin-nav-map",function(){return(0,s.A)(i(44922))}),r("discourse/lib/sidebar/admin-sidebar",function(){return(0,s.A)(i(91692))}),r("discourse/lib/sidebar/base-community-section-link",function(){return(0,s.A)(i(77412))}),r("discourse/lib/sidebar/base-custom-sidebar-panel",function(){return(0,s.A)(i(89395))}),r("discourse/lib/sidebar/base-custom-sidebar-section-link",function(){return(0,s.A)(i(36483))}),r("discourse/lib/sidebar/base-custom-sidebar-section",function(){return(0,s.A)(i(23666))}),r("discourse/lib/sidebar/common/community-section/about-section-link",function(){return(0,s.A)(i(50358))}),r("discourse/lib/sidebar/common/community-section/badges-section-link",function(){return(0,s.A)(i(20387))}),r("discourse/lib/sidebar/common/community-section/everything-section-link",function(){return(0,s.A)(i(53676))}),r("discourse/lib/sidebar/common/community-section/faq-section-link",function(){return(0,s.A)(i(6161))}),r("discourse/lib/sidebar/common/community-section/groups-section-link",function(){return(0,s.A)(i(77371))}),r("discourse/lib/sidebar/common/community-section/section",function(){return(0,s.A)(i(6557))}),r("discourse/lib/sidebar/common/community-section/users-section-link",function(){return(0,s.A)(i(88457))}),r("discourse/lib/sidebar/custom-community-section-links",function(){return(0,s.A)(i(92161))}),r("discourse/lib/sidebar/custom-sections",function(){return(0,s.A)(i(49584))}),r("discourse/lib/sidebar/helpers",function(){return(0,s.A)(i(93451))}),r("discourse/lib/sidebar/panels",function(){return(0,s.A)(i(14679))}),r("discourse/lib/sidebar/section-link",function(){return(0,s.A)(i(24742))}),r("discourse/lib/sidebar/section",function(){return(0,s.A)(i(21553))}),r("discourse/lib/sidebar/user/categories-section/category-section-link",function(){return(0,s.A)(i(2354))}),r("discourse/lib/sidebar/user/community-section/admin-section-link",function(){return(0,s.A)(i(27718))}),r("discourse/lib/sidebar/user/community-section/admin-section",function(){return(0,s.A)(i(81201))}),r("discourse/lib/sidebar/user/community-section/invite-section-link",function(){return(0,s.A)(i(5346))}),r("discourse/lib/sidebar/user/community-section/my-posts-section-link",function(){return(0,s.A)(i(98617))}),r("discourse/lib/sidebar/user/community-section/review-section-link",function(){return(0,s.A)(i(50141))}),r("discourse/lib/sidebar/user/messages-section/group-message-section-link",function(){return(0,s.A)(i(8909))}),r("discourse/lib/sidebar/user/messages-section/message-section-link",function(){return(0,s.A)(i(33907))}),r("discourse/lib/sidebar/user/messages-section/personal-message-section-link",function(){return(0,s.A)(i(94184))}),r("discourse/lib/sidebar/user/tags-section/base-tag-section-link",function(){return(0,s.A)(i(54807))}),r("discourse/lib/sidebar/user/tags-section/pm-tag-section-link",function(){return(0,s.A)(i(50377))}),r("discourse/lib/sidebar/user/tags-section/tag-section-link",function(){return(0,s.A)(i(40905))}),r("discourse/lib/singleton",function(){return(0,s.A)(i(43144))}),r("discourse/lib/site-settings-utils",function(){return(0,s.A)(i(88666))}),r("discourse/lib/source-identifier",function(){return(0,s.A)(i(67518))}),r("discourse/lib/suffix-trie",function(){return(0,s.A)(i(69449))}),r("discourse/lib/svg-sprite-loader",function(){return(0,s.A)(i(93537))}),r("discourse/lib/swipe-events",function(){return(0,s.A)(i(59085))}),r("discourse/lib/tag-hashtags",function(){return(0,s.A)(i(45323))}),r("discourse/lib/text-direction",function(){return(0,s.A)(i(12214))}),r("discourse/lib/text",function(){return(0,s.A)(i(73418))}),r("discourse/lib/textarea-text-manipulation",function(){return(0,s.A)(i(69989))}),r("discourse/lib/theme-selector",function(){return(0,s.A)(i(34428))}),r("discourse/lib/theme-settings-store",function(){return(0,s.A)(i(26900))}),r("discourse/lib/time-shortcut",function(){return(0,s.A)(i(11171))}),r("discourse/lib/time-utils",function(){return(0,s.A)(i(85484))}),r("discourse/lib/to-markdown",function(){return(0,s.A)(i(54600))}),r("discourse/lib/topic-bookmark-manager",function(){return(0,s.A)(i(80422))}),r("discourse/lib/topic-fancy-title",function(){return(0,s.A)(i(44501))}),r("discourse/lib/topic-list-tracked-filter",function(){return(0,s.A)(i(42863))}),r("discourse/lib/topic-list-tracker",function(){return(0,s.A)(i(69098))}),r("discourse/lib/tracked-tools",function(){return(0,s.A)(i(98817))}),r("discourse/lib/transform-post",function(){return(0,s.A)(i(1780))}),r("discourse/lib/transformer",function(){return(0,s.A)(i(70278))}),r("discourse/lib/transformer/registry",function(){return(0,s.A)(i(33574))}),r("discourse/lib/update-tab-count",function(){return(0,s.A)(i(94792))}),r("discourse/lib/update-user-status-on-mention",function(){return(0,s.A)(i(41628))}),r("discourse/lib/uploads",function(){return(0,s.A)(i(37947))}),r("discourse/lib/uppy-checksum-plugin",function(){return(0,s.A)(i(30891))}),r("discourse/lib/uppy-chunked-upload",function(){return(0,s.A)(i(37494))}),r("discourse/lib/uppy-chunked-uploader-plugin",function(){return(0,s.A)(i(5705))}),r("discourse/lib/uppy-media-optimization-plugin",function(){return(0,s.A)(i(21384))}),r("discourse/lib/uppy-plugin-base",function(){return(0,s.A)(i(6037))}),r("discourse/lib/uppy/composer-upload",function(){return(0,s.A)(i(88416))}),r("discourse/lib/uppy/s3-multipart",function(){return(0,s.A)(i(16853))}),r("discourse/lib/uppy/upload-debugging",function(){return(0,s.A)(i(87886))}),r("discourse/lib/uppy/uppy-upload",function(){return(0,s.A)(i(66904))}),r("discourse/lib/uppy/wrapper",function(){return(0,s.A)(i(84319))}),r("discourse/lib/url",function(){return(0,s.A)(i(35352))}),r("discourse/lib/user-activation",function(){return(0,s.A)(i(3023))}),r("discourse/lib/user-fields-validation-helper",function(){return(0,s.A)(i(96201))}),r("discourse/lib/user-menu/base-item",function(){return(0,s.A)(i(24148))}),r("discourse/lib/user-menu/bookmark-item",function(){return(0,s.A)(i(1551))}),r("discourse/lib/user-menu/message-item",function(){return(0,s.A)(i(25518))}),r("discourse/lib/user-menu/notification-item",function(){return(0,s.A)(i(23414))}),r("discourse/lib/user-menu/reviewable-item",function(){return(0,s.A)(i(51363))}),r("discourse/lib/user-menu/tab",function(){return(0,s.A)(i(58572))}),r("discourse/lib/user-presence",function(){return(0,s.A)(i(18070))}),r("discourse/lib/user-search",function(){return(0,s.A)(i(20579))}),r("discourse/lib/user-status-message",function(){return(0,s.A)(i(69723))}),r("discourse/lib/user-status-on-autocomplete",function(){return(0,s.A)(i(43488))}),r("discourse/lib/username-validation-helper",function(){return(0,s.A)(i(46826))}),r("discourse/lib/utilities",function(){return(0,s.A)(i(74089))}),r("discourse/lib/virtual-element-from-text-range",function(){return(0,s.A)(i(58878))}),r("discourse/lib/wait-for-keyboard",function(){return(0,s.A)(i(70326))}),r("discourse/lib/waving-hand-url",function(){return(0,s.A)(i(4457))}),r("discourse/lib/webauthn",function(){return(0,s.A)(i(90211))}),r("discourse/lib/zoom-check",function(){return(0,s.A)(i(10723))}),r("discourse/loader-shims",function(){return(0,s.A)(i(8862))}),r("discourse/mapping-router",function(){return(0,s.A)(i(42752))}),r("discourse/mixins/load-more",function(){return(0,s.A)(i(82646))}),r("discourse/models/action-summary",function(){return(0,s.A)(i(86073))}),r("discourse/models/archetype",function(){return(0,s.A)(i(99767))}),r("discourse/models/associated-group",function(){return(0,s.A)(i(8610))}),r("discourse/models/badge-grouping",function(){return(0,s.A)(i(593))}),r("discourse/models/badge",function(){return(0,s.A)(i(7339))}),r("discourse/models/bookmark",function(){return(0,s.A)(i(24886))}),r("discourse/models/category-list",function(){return(0,s.A)(i(14135))}),r("discourse/models/category",function(){return(0,s.A)(i(36702))}),r("discourse/models/composer",function(){return(0,s.A)(i(81644))}),r("discourse/models/draft",function(){return(0,s.A)(i(46711))}),r("discourse/models/form-template",function(){return(0,s.A)(i(64275))}),r("discourse/models/group-history",function(){return(0,s.A)(i(70290))}),r("discourse/models/group",function(){return(0,s.A)(i(42919))}),r("discourse/models/invite",function(){return(0,s.A)(i(41795))}),r("discourse/models/live-post-counts",function(){return(0,s.A)(i(63088))}),r("discourse/models/login-method",function(){return(0,s.A)(i(85899))}),r("discourse/models/nav-item",function(){return(0,s.A)(i(69549))}),r("discourse/models/notification",function(){return(0,s.A)(i(52693))}),r("discourse/models/pending-post",function(){return(0,s.A)(i(88522))}),r("discourse/models/permission-type",function(){return(0,s.A)(i(53514))}),r("discourse/models/post-action-type",function(){return(0,s.A)(i(97468))}),r("discourse/models/post-stream",function(){return(0,s.A)(i(73277))}),r("discourse/models/post",function(){return(0,s.A)(i(57576))}),r("discourse/models/posts",function(){return(0,s.A)(i(92951))}),r("discourse/models/published-page",function(){return(0,s.A)(i(80856))}),r("discourse/models/rest",function(){return(0,s.A)(i(25640))}),r("discourse/models/result-set",function(){return(0,s.A)(i(90086))}),r("discourse/models/reviewable-history",function(){return(0,s.A)(i(75471))}),r("discourse/models/reviewable",function(){return(0,s.A)(i(33006))}),r("discourse/models/session",function(){return(0,s.A)(i(47112))}),r("discourse/models/site",function(){return(0,s.A)(i(9789))}),r("discourse/models/static-page",function(){return(0,s.A)(i(85382))}),r("discourse/models/store",function(){return(0,s.A)(i(4269))}),r("discourse/models/tag-group",function(){return(0,s.A)(i(28690))}),r("discourse/models/tag",function(){return(0,s.A)(i(17900))}),r("discourse/models/topic-details",function(){return(0,s.A)(i(3540))}),r("discourse/models/topic-list",function(){return(0,s.A)(i(81228))}),r("discourse/models/topic-timer",function(){return(0,s.A)(i(1555))}),r("discourse/models/topic-tracking-state",function(){return(0,s.A)(i(89593))}),r("discourse/models/topic",function(){return(0,s.A)(i(76655))}),r("discourse/models/trust-level",function(){return(0,s.A)(i(6653))}),r("discourse/models/user-action-group",function(){return(0,s.A)(i(25918))}),r("discourse/models/user-action-stat",function(){return(0,s.A)(i(26863))}),r("discourse/models/user-action",function(){return(0,s.A)(i(2552))}),r("discourse/models/user-badge",function(){return(0,s.A)(i(43779))}),r("discourse/models/user-draft",function(){return(0,s.A)(i(36591))}),r("discourse/models/user-drafts-stream",function(){return(0,s.A)(i(84619))}),r("discourse/models/user-menu-reviewable",function(){return(0,s.A)(i(6502))}),r("discourse/models/user-posts-stream",function(){return(0,s.A)(i(91356))}),r("discourse/models/user-stream",function(){return(0,s.A)(i(56802))}),r("discourse/models/user",function(){return(0,s.A)(i(36649))}),r("discourse/resolver",function(){return(0,s.A)(i(37749))}),r("discourse/services/admin-custom-user-fields",function(){return(0,s.A)(i(61231))}),r("discourse/services/admin-post-menu-buttons",function(){return(0,s.A)(i(95402))}),r("discourse/services/admin-topic-menu-buttons",function(){return(0,s.A)(i(10535))}),r("discourse/services/app-events",function(){return(0,s.A)(i(33255))}),r("discourse/services/bookmark-api",function(){return(0,s.A)(i(9477))}),r("discourse/services/breadcrumbs",function(){return(0,s.A)(i(88788))}),r("discourse/services/capabilities",function(){return(0,s.A)(i(88290))}),r("discourse/services/client-error-handler",function(){return(0,s.A)(i(85733))}),r("discourse/services/composer",function(){return(0,s.A)(i(60206))}),r("discourse/services/deprecation-warning-handler",function(){return(0,s.A)(i(67664))}),r("discourse/services/desktop-notifications",function(){return(0,s.A)(i(43183))}),r("discourse/services/discovery",function(){return(0,s.A)(i(57832))}),r("discourse/services/document-title",function(){return(0,s.A)(i(11742))}),r("discourse/services/element-classes",function(){return(0,s.A)(i(76531))}),r("discourse/services/emoji-store",function(){return(0,s.A)(i(34812))}),r("discourse/services/footer",function(){return(0,s.A)(i(61503))}),r("discourse/services/group-automatic-members-dialog",function(){return(0,s.A)(i(51334))}),r("discourse/services/header",function(){return(0,s.A)(i(33245))}),r("discourse/services/history-store",function(){return(0,s.A)(i(80210))}),r("discourse/services/interface-color",function(){return(0,s.A)(i(62255))}),r("discourse/services/key-value-store",function(){return(0,s.A)(i(69985))}),r("discourse/services/loading-slider",function(){return(0,s.A)(i(40438))}),r("discourse/services/login",function(){return(0,s.A)(i(24375))}),r("discourse/services/logs-notice",function(){return(0,s.A)(i(94180))}),r("discourse/services/map-cache",function(){return(0,s.A)(i(74551))}),r("discourse/services/media-optimization-worker",function(){return(0,s.A)(i(74633))}),r("discourse/services/message-bus",function(){return(0,s.A)(i(98954))}),r("discourse/services/modal",function(){return(0,s.A)(i(14307))}),r("discourse/services/navigation-menu",function(){return(0,s.A)(i(95711))}),r("discourse/services/network-connectivity",function(){return(0,s.A)(i(31882))}),r("discourse/services/notifications",function(){return(0,s.A)(i(44222))}),r("discourse/services/pm-topic-tracking-state",function(){return(0,s.A)(i(84308))}),r("discourse/services/presence",function(){return(0,s.A)(i(78965))}),r("discourse/services/restricted-routing",function(){return(0,s.A)(i(83874))}),r("discourse/services/route-scroll-manager",function(){return(0,s.A)(i(30375))}),r("discourse/services/screen-track",function(){return(0,s.A)(i(31678))}),r("discourse/services/scroll-direction",function(){return(0,s.A)(i(74837))}),r("discourse/services/scroll-manager",function(){return(0,s.A)(i(47827))}),r("discourse/services/search-preferences-manager",function(){return(0,s.A)(i(39873))}),r("discourse/services/search",function(){return(0,s.A)(i(27752))}),r("discourse/services/sidebar-state",function(){return(0,s.A)(i(64110))}),r("discourse/services/site-settings",function(){return(0,s.A)(i(42381))}),r("discourse/services/store",function(){return(0,s.A)(i(3043))}),r("discourse/services/user-status",function(){return(0,s.A)(i(33602))}),r("discourse/services/user-tips",function(){return(0,s.A)(i(68378))}),r("discourse/setup-deprecation-workflow",function(){return(0,s.A)(i(31865))}),r("discourse/widgets/actions-summary",function(){return(0,s.A)(i(57289))}),r("discourse/widgets/avatar-flair",function(){return(0,s.A)(i(65405))}),r("discourse/widgets/bookmark-menu",function(){return(0,s.A)(i(82799))}),r("discourse/widgets/button",function(){return(0,s.A)(i(33555))}),r("discourse/widgets/category-link",function(){return(0,s.A)(i(39656))}),r("discourse/widgets/component-connector",function(){return(0,s.A)(i(5789))}),r("discourse/widgets/connector",function(){return(0,s.A)(i(59224))}),r("discourse/widgets/decorator-helper",function(){return(0,s.A)(i(89583))}),r("discourse/widgets/discourse-tags",function(){return(0,s.A)(i(8486))}),r("discourse/widgets/embedded-post",function(){return(0,s.A)(i(29228))}),r("discourse/widgets/emoji",function(){return(0,s.A)(i(30297))}),r("discourse/widgets/glue",function(){return(0,s.A)(i(75358))}),r("discourse/widgets/hbs-compiler",function(){return(0,s.A)(i(50092))}),r("discourse/widgets/hooks",function(){return(0,s.A)(i(88915))}),r("discourse/widgets/link",function(){return(0,s.A)(i(40767))}),r("discourse/widgets/menu-panel",function(){return(0,s.A)(i(89219))}),r("discourse/widgets/post-cooked",function(){return(0,s.A)(i(5279))}),r("discourse/widgets/post-edits-indicator",function(){return(0,s.A)(i(32717))}),r("discourse/widgets/post-gap",function(){return(0,s.A)(i(80220))}),r("discourse/widgets/post-links",function(){return(0,s.A)(i(25537))}),r("discourse/widgets/post-placeholder",function(){return(0,s.A)(i(10405))}),r("discourse/widgets/post-small-action",function(){return(0,s.A)(i(85890))}),r("discourse/widgets/post-stream",function(){return(0,s.A)(i(57118))}),r("discourse/widgets/post-user-status",function(){return(0,s.A)(i(59132))}),r("discourse/widgets/post-user-tip-shim",function(){return(0,s.A)(i(21367))}),r("discourse/widgets/post",function(){return(0,s.A)(i(23085))}),r("discourse/widgets/poster-name",function(){return(0,s.A)(i(10056))}),r("discourse/widgets/raw-html",function(){return(0,s.A)(i(98595))}),r("discourse/widgets/render-glimmer",function(){return(0,s.A)(i(84837))}),r("discourse/widgets/topic-post-visited-line",function(){return(0,s.A)(i(40399))}),r("discourse/widgets/topic-status",function(){return(0,s.A)(i(31415))}),r("discourse/widgets/widget-dropdown",function(){return(0,s.A)(i(75309))}),r("discourse/widgets/widget",function(){return(0,s.A)(i(21115))}),r("discourse/component-managers/glimmer",function(){return(0,s.A)(i(55252))}),r("discourse/services/dialog",function(){return(0,s.A)(i(45152))}),r("discourse/initializers/app-version",function(){return(0,s.A)(i(21398))}),r("discourse/lib/d-menu-instance",function(){return(0,s.A)(i(63504))}),r("discourse/lib/d-tooltip-instance",function(){return(0,s.A)(i(24620))}),r("discourse/services/internal-tooltip",function(){return(0,s.A)(i(71166))}),r("discourse/services/menu",function(){return(0,s.A)(i(44286))}),r("discourse/services/toasts",function(){return(0,s.A)(i(79013))}),r("discourse/services/tooltip",function(){return(0,s.A)(i(26474))}),r("discourse/components/about-page-user",function(){return(0,s.A)(i(7991))}),r("discourse/components/about-page-users",function(){return(0,s.A)(i(93890))}),r("discourse/components/about-page",function(){return(0,s.A)(i(87899))}),r("discourse/components/ace-editor",function(){return(0,s.A)(i(66219))}),r("discourse/components/activation-controls",function(){return(0,s.A)(i(22075))}),r("discourse/components/activation-email-form",function(){return(0,s.A)(i(27376))}),r("discourse/components/add-category-tag-classes",function(){return(0,s.A)(i(11398))}),r("discourse/components/add-topic-status-classes",function(){return(0,s.A)(i(98567))}),r("discourse/components/admin-post-menu",function(){return(0,s.A)(i(37146))}),r("discourse/components/anonymous-topic-footer-buttons",function(){return(0,s.A)(i(48581))}),r("discourse/components/async-content",function(){return(0,s.A)(i(8558))}),r("discourse/components/auth-token-dropdown",function(){return(0,s.A)(i(51142))}),r("discourse/components/avatar-flair",function(){return(0,s.A)(i(23082))}),r("discourse/components/avatar-uploader",function(){return(0,s.A)(i(1456))}),r("discourse/components/back-button",function(){return(0,s.A)(i(65264))}),r("discourse/components/backup-codes",function(){return(0,s.A)(i(66209))}),r("discourse/components/badge-button",function(){return(0,s.A)(i(79106))}),r("discourse/components/badge-card",function(){return(0,s.A)(i(20804))}),r("discourse/components/badge-title",function(){return(0,s.A)(i(69274))}),r("discourse/components/basic-topic-list",function(){return(0,s.A)(i(14511))}),r("discourse/components/bookmark-actions-dropdown",function(){return(0,s.A)(i(4462))}),r("discourse/components/bookmark-icon",function(){return(0,s.A)(i(81240))}),r("discourse/components/bookmark-list",function(){return(0,s.A)(i(72725))}),r("discourse/components/bookmark-menu",function(){return(0,s.A)(i(11282))}),r("discourse/components/bootstrap-mode-notice",function(){return(0,s.A)(i(34947))}),r("discourse/components/bread-crumbs",function(){return(0,s.A)(i(4033))}),r("discourse/components/bulk-actions/append-tags",function(){return(0,s.A)(i(86075))}),r("discourse/components/bulk-actions/change-category",function(){return(0,s.A)(i(81958))}),r("discourse/components/bulk-actions/change-tags",function(){return(0,s.A)(i(69515))}),r("discourse/components/bulk-actions/notification-level",function(){return(0,s.A)(i(81906))}),r("discourse/components/bulk-group-member-dropdown",function(){return(0,s.A)(i(48199))}),r("discourse/components/bulk-select-toggle",function(){return(0,s.A)(i(29638))}),r("discourse/components/bulk-select-topics-dropdown",function(){return(0,s.A)(i(66374))}),r("discourse/components/calendar-date-time-input",function(){return(0,s.A)(i(6908))}),r("discourse/components/card-container",function(){return(0,s.A)(i(78524))}),r("discourse/components/card-contents-base",function(){return(0,s.A)(i(45151))}),r("discourse/components/categories-and-latest-topics",function(){return(0,s.A)(i(99027))}),r("discourse/components/categories-and-top-topics",function(){return(0,s.A)(i(34103))}),r("discourse/components/categories-boxes-topic",function(){return(0,s.A)(i(12846))}),r("discourse/components/categories-boxes-with-topics",function(){return(0,s.A)(i(7490))}),r("discourse/components/categories-boxes",function(){return(0,s.A)(i(78592))}),r("discourse/components/categories-only",function(){return(0,s.A)(i(51303))}),r("discourse/components/categories-topic-list",function(){return(0,s.A)(i(16555))}),r("discourse/components/categories-with-featured-topics",function(){return(0,s.A)(i(17373))}),r("discourse/components/category-list-item",function(){return(0,s.A)(i(70145))}),r("discourse/components/category-logo",function(){return(0,s.A)(i(88258))}),r("discourse/components/category-name-fields",function(){return(0,s.A)(i(77070))}),r("discourse/components/category-notifications-tracking",function(){return(0,s.A)(i(23291))}),r("discourse/components/category-permission-row",function(){return(0,s.A)(i(47151))}),r("discourse/components/category-read-only-banner",function(){return(0,s.A)(i(93231))}),r("discourse/components/category-title-before",function(){return(0,s.A)(i(68919))}),r("discourse/components/category-title-link",function(){return(0,s.A)(i(88008))}),r("discourse/components/category-unread",function(){return(0,s.A)(i(14550))}),r("discourse/components/cdn-img",function(){return(0,s.A)(i(40783))}),r("discourse/components/char-counter",function(){return(0,s.A)(i(13885))}),r("discourse/components/choose-message",function(){return(0,s.A)(i(81327))}),r("discourse/components/choose-topic",function(){return(0,s.A)(i(64767))}),r("discourse/components/color-picker-choice",function(){return(0,s.A)(i(80878))}),r("discourse/components/color-picker",function(){return(0,s.A)(i(70148))}),r("discourse/components/composer-action-title",function(){return(0,s.A)(i(84426))}),r("discourse/components/composer-body",function(){return(0,s.A)(i(31003))}),r("discourse/components/composer-container",function(){return(0,s.A)(i(67948))}),r("discourse/components/composer-editor",function(){return(0,s.A)(i(40682))}),r("discourse/components/composer-fullscreen-prompt",function(){return(0,s.A)(i(14413))}),r("discourse/components/composer-message",function(){return(0,s.A)(i(57508))}),r("discourse/components/composer-messages",function(){return(0,s.A)(i(23947))}),r("discourse/components/composer-save-button",function(){return(0,s.A)(i(33115))}),r("discourse/components/composer-tip-close-button",function(){return(0,s.A)(i(7544))}),r("discourse/components/composer-title",function(){return(0,s.A)(i(7777))}),r("discourse/components/composer-toggles",function(){return(0,s.A)(i(15646))}),r("discourse/components/composer-user-selector",function(){return(0,s.A)(i(78364))}),r("discourse/components/composer/textarea-editor",function(){return(0,s.A)(i(42353))}),r("discourse/components/composer/toggle-switch",function(){return(0,s.A)(i(15470))}),r("discourse/components/conditional-in-element",function(){return(0,s.A)(i(70037))}),r("discourse/components/conditional-loading-section",function(){return(0,s.A)(i(79197))}),r("discourse/components/conditional-loading-spinner",function(){return(0,s.A)(i(27659))}),r("discourse/components/connector-container",function(){return(0,s.A)(i(98867))}),r("discourse/components/cook-text",function(){return(0,s.A)(i(82414))}),r("discourse/components/copy-button",function(){return(0,s.A)(i(22002))}),r("discourse/components/count-i18n",function(){return(0,s.A)(i(21274))}),r("discourse/components/create-invite-uploader",function(){return(0,s.A)(i(79691))}),r("discourse/components/create-topic-button",function(){return(0,s.A)(i(78715))}),r("discourse/components/custom-html",function(){return(0,s.A)(i(2717))}),r("discourse/components/d-breadcrumbs-container",function(){return(0,s.A)(i(16099))}),r("discourse/components/d-breadcrumbs-item",function(){return(0,s.A)(i(95245))}),r("discourse/components/d-button",function(){return(0,s.A)(i(81539))}),r("discourse/components/d-document",function(){return(0,s.A)(i(49930))}),r("discourse/components/d-editor-preview",function(){return(0,s.A)(i(10959))}),r("discourse/components/d-editor",function(){return(0,s.A)(i(61810))}),r("discourse/components/d-modal-cancel",function(){return(0,s.A)(i(24633))}),r("discourse/components/d-modal",function(){return(0,s.A)(i(72490))}),r("discourse/components/d-multi-select",function(){return(0,s.A)(i(9463))}),r("discourse/components/d-navigation-item",function(){return(0,s.A)(i(92673))}),r("discourse/components/d-navigation",function(){return(0,s.A)(i(35173))}),r("discourse/components/d-page-action-button",function(){return(0,s.A)(i(36164))}),r("discourse/components/d-page-header",function(){return(0,s.A)(i(6808))}),r("discourse/components/d-page-subheader",function(){return(0,s.A)(i(19742))}),r("discourse/components/d-section",function(){return(0,s.A)(i(76620))}),r("discourse/components/d-select",function(){return(0,s.A)(i(81735))}),r("discourse/components/d-stat-tiles",function(){return(0,s.A)(i(10193))}),r("discourse/components/d-styles",function(){return(0,s.A)(i(95629))}),r("discourse/components/d-textarea",function(){return(0,s.A)(i(48365))}),r("discourse/components/d-toggle-switch",function(){return(0,s.A)(i(61304))}),r("discourse/components/d-virtual-height",function(){return(0,s.A)(i(56266))}),r("discourse/components/date-input",function(){return(0,s.A)(i(35813))}),r("discourse/components/date-picker-future",function(){return(0,s.A)(i(33283))}),r("discourse/components/date-picker-past",function(){return(0,s.A)(i(84964))}),r("discourse/components/date-picker",function(){return(0,s.A)(i(45763))}),r("discourse/components/date-time-input-range",function(){return(0,s.A)(i(9237))}),r("discourse/components/date-time-input",function(){return(0,s.A)(i(58013))}),r("discourse/components/decorated-html",function(){return(0,s.A)(i(16177))}),r("discourse/components/deferred-render",function(){return(0,s.A)(i(61996))}),r("discourse/components/desktop-notification-config",function(){return(0,s.A)(i(17691))}),r("discourse/components/dialog-messages/confirm-session",function(){return(0,s.A)(i(20511))}),r("discourse/components/dialog-messages/group-delete",function(){return(0,s.A)(i(97649))}),r("discourse/components/dialog-messages/second-factor-confirm-phrase",function(){return(0,s.A)(i(21401))}),r("discourse/components/directory-item-user-field-value",function(){return(0,s.A)(i(29688))}),r("discourse/components/directory-item",function(){return(0,s.A)(i(20289))}),r("discourse/components/directory-table",function(){return(0,s.A)(i(26036))}),r("discourse/components/discourse-banner",function(){return(0,s.A)(i(75466))}),r("discourse/components/discourse-linked-text",function(){return(0,s.A)(i(36409))}),r("discourse/components/discourse-root",function(){return(0,s.A)(i(76e3))}),r("discourse/components/discourse-tag-bound",function(){return(0,s.A)(i(85359))}),r("discourse/components/discourse-topic",function(){return(0,s.A)(i(7581))}),r("discourse/components/discovery-topics-list",function(){return(0,s.A)(i(85986))}),r("discourse/components/discovery/accessible-discovery-heading",function(){return(0,s.A)(i(33073))}),r("discourse/components/discovery/categories-display",function(){return(0,s.A)(i(49852))}),r("discourse/components/discovery/filter-navigation",function(){return(0,s.A)(i(65220))}),r("discourse/components/discovery/layout",function(){return(0,s.A)(i(33765))}),r("discourse/components/discovery/navigation",function(){return(0,s.A)(i(2585))}),r("discourse/components/discovery/topics",function(){return(0,s.A)(i(96223))}),r("discourse/components/dropdown-menu",function(){return(0,s.A)(i(76909))}),r("discourse/components/edit-category-general",function(){return(0,s.A)(i(52252))}),r("discourse/components/edit-category-images",function(){return(0,s.A)(i(25692))}),r("discourse/components/edit-category-localizations",function(){return(0,s.A)(i(35838))}),r("discourse/components/edit-category-panel",function(){return(0,s.A)(i(69058))}),r("discourse/components/edit-category-security",function(){return(0,s.A)(i(90732))}),r("discourse/components/edit-category-settings",function(){return(0,s.A)(i(44083))}),r("discourse/components/edit-category-tab",function(){return(0,s.A)(i(59759))}),r("discourse/components/edit-category-tags",function(){return(0,s.A)(i(55275))}),r("discourse/components/edit-category-topic-template",function(){return(0,s.A)(i(72334))}),r("discourse/components/edit-topic-timer-form",function(){return(0,s.A)(i(2953))}),r("discourse/components/email-dropdown",function(){return(0,s.A)(i(93138))}),r("discourse/components/emoji-picker/content",function(){return(0,s.A)(i(2409))}),r("discourse/components/emoji-picker/detached",function(){return(0,s.A)(i(74956))}),r("discourse/components/emoji-picker/diversity-menu",function(){return(0,s.A)(i(62171))}),r("discourse/components/emoji-picker/index",function(){return(0,s.A)(i(33796))}),r("discourse/components/empty-state",function(){return(0,s.A)(i(75423))}),r("discourse/components/expand-post",function(){return(0,s.A)(i(85435))}),r("discourse/components/expanding-text-area",function(){return(0,s.A)(i(29204))}),r("discourse/components/fast-edit",function(){return(0,s.A)(i(70011))}),r("discourse/components/featured-topic",function(){return(0,s.A)(i(34568))}),r("discourse/components/filter-input",function(){return(0,s.A)(i(62451))}),r("discourse/components/flag-action-type",function(){return(0,s.A)(i(95270))}),r("discourse/components/flag-selection",function(){return(0,s.A)(i(65841))}),r("discourse/components/flash-message",function(){return(0,s.A)(i(33722))}),r("discourse/components/flat-button",function(){return(0,s.A)(i(74800))}),r("discourse/components/footer-message",function(){return(0,s.A)(i(67025))}),r("discourse/components/footer-nav",function(){return(0,s.A)(i(70247))}),r("discourse/components/form-template-field/checkbox",function(){return(0,s.A)(i(80990))}),r("discourse/components/form-template-field/dropdown",function(){return(0,s.A)(i(56386))}),r("discourse/components/form-template-field/input",function(){return(0,s.A)(i(72527))}),r("discourse/components/form-template-field/multi-select",function(){return(0,s.A)(i(66515))}),r("discourse/components/form-template-field/tag-chooser",function(){return(0,s.A)(i(15683))}),r("discourse/components/form-template-field/textarea",function(){return(0,s.A)(i(58257))}),r("discourse/components/form-template-field/upload",function(){return(0,s.A)(i(28958))}),r("discourse/components/form-template-field/wrapper",function(){return(0,s.A)(i(18945))}),r("discourse/components/form",function(){return(0,s.A)(i(15370))}),r("discourse/components/fullname-input",function(){return(0,s.A)(i(70091))}),r("discourse/components/future-date-input",function(){return(0,s.A)(i(72037))}),r("discourse/components/generated-invite-link",function(){return(0,s.A)(i(82730))}),r("discourse/components/glimmer-site-header",function(){return(0,s.A)(i(99063))}),r("discourse/components/global-notice",function(){return(0,s.A)(i(12860))}),r("discourse/components/google-icon",function(){return(0,s.A)(i(39637))}),r("discourse/components/google-search",function(){return(0,s.A)(i(95528))}),r("discourse/components/group-activity-filter",function(){return(0,s.A)(i(71822))}),r("discourse/components/group-card-contents",function(){return(0,s.A)(i(73795))}),r("discourse/components/group-card",function(){return(0,s.A)(i(51916))}),r("discourse/components/group-flair-inputs",function(){return(0,s.A)(i(21714))}),r("discourse/components/group-imap-email-settings",function(){return(0,s.A)(i(89192))}),r("discourse/components/group-info",function(){return(0,s.A)(i(51510))}),r("discourse/components/group-link",function(){return(0,s.A)(i(75178))}),r("discourse/components/group-list",function(){return(0,s.A)(i(95682))}),r("discourse/components/group-manage-email-settings",function(){return(0,s.A)(i(40140))}),r("discourse/components/group-manage-logs-filter",function(){return(0,s.A)(i(39492))}),r("discourse/components/group-manage-logs-row",function(){return(0,s.A)(i(56472))}),r("discourse/components/group-manage-save-button",function(){return(0,s.A)(i(11032))}),r("discourse/components/group-member-dropdown",function(){return(0,s.A)(i(97576))}),r("discourse/components/group-member",function(){return(0,s.A)(i(144))}),r("discourse/components/group-membership-button",function(){return(0,s.A)(i(45415))}),r("discourse/components/group-navigation",function(){return(0,s.A)(i(42496))}),r("discourse/components/group-notifications-tracking",function(){return(0,s.A)(i(61072))}),r("discourse/components/group-selector",function(){return(0,s.A)(i(35763))}),r("discourse/components/group-smtp-email-settings",function(){return(0,s.A)(i(75449))}),r("discourse/components/groups-form-interaction-fields",function(){return(0,s.A)(i(10682))}),r("discourse/components/groups-form-membership-fields",function(){return(0,s.A)(i(42012))}),r("discourse/components/groups-form-profile-fields",function(){return(0,s.A)(i(84709))}),r("discourse/components/header-extra-info",function(){return(0,s.A)(i(7975))}),r("discourse/components/header",function(){return(0,s.A)(i(4866))}),r("discourse/components/header/auth-buttons",function(){return(0,s.A)(i(85698))}),r("discourse/components/header/contents",function(){return(0,s.A)(i(94594))}),r("discourse/components/header/dropdown",function(){return(0,s.A)(i(77025))}),r("discourse/components/header/hamburger-dropdown-wrapper",function(){return(0,s.A)(i(20629))}),r("discourse/components/header/header-search",function(){return(0,s.A)(i(37510))}),r("discourse/components/header/home-logo-contents",function(){return(0,s.A)(i(1878))}),r("discourse/components/header/home-logo",function(){return(0,s.A)(i(85843))}),r("discourse/components/header/icons",function(){return(0,s.A)(i(32612))}),r("discourse/components/header/logo",function(){return(0,s.A)(i(10039))}),r("discourse/components/header/search-menu-wrapper",function(){return(0,s.A)(i(44740))}),r("discourse/components/header/sidebar-toggle",function(){return(0,s.A)(i(43375))}),r("discourse/components/header/topic/featured-link",function(){return(0,s.A)(i(48415))}),r("discourse/components/header/topic/info",function(){return(0,s.A)(i(28160))}),r("discourse/components/header/topic/participant",function(){return(0,s.A)(i(10407))}),r("discourse/components/header/user-dropdown",function(){return(0,s.A)(i(28941))}),r("discourse/components/header/user-dropdown/notifications",function(){return(0,s.A)(i(79202))}),r("discourse/components/header/user-dropdown/user-status-bubble",function(){return(0,s.A)(i(59329))}),r("discourse/components/header/user-menu-wrapper",function(){return(0,s.A)(i(14141))}),r("discourse/components/highlight-search",function(){return(0,s.A)(i(38679))}),r("discourse/components/honeypot-input",function(){return(0,s.A)(i(83919))}),r("discourse/components/horizontal-overflow-nav",function(){return(0,s.A)(i(33503))}),r("discourse/components/html-with-links",function(){return(0,s.A)(i(22090))}),r("discourse/components/iframed-html",function(){return(0,s.A)(i(66594))}),r("discourse/components/ignored-user-list-item",function(){return(0,s.A)(i(67003))}),r("discourse/components/ignored-user-list",function(){return(0,s.A)(i(11435))}),r("discourse/components/input-tip",function(){return(0,s.A)(i(34722))}),r("discourse/components/interface-color-selector",function(){return(0,s.A)(i(54297))}),r("discourse/components/invite-panel",function(){return(0,s.A)(i(43898))}),r("discourse/components/legacy-about-page-users",function(){return(0,s.A)(i(1138))}),r("discourse/components/light-dark-img",function(){return(0,s.A)(i(49589))}),r("discourse/components/link-to-input",function(){return(0,s.A)(i(94257))}),r("discourse/components/links-redirect",function(){return(0,s.A)(i(60408))}),r("discourse/components/load-more",function(){return(0,s.A)(i(22736))}),r("discourse/components/loading-slider-fallback-spinner",function(){return(0,s.A)(i(85677))}),r("discourse/components/local-login-form",function(){return(0,s.A)(i(3948))}),r("discourse/components/login-buttons",function(){return(0,s.A)(i(90403))}),r("discourse/components/login-page-cta",function(){return(0,s.A)(i(71396))}),r("discourse/components/menu-panel",function(){return(0,s.A)(i(84208))}),r("discourse/components/mobile-category-topic",function(){return(0,s.A)(i(49805))}),r("discourse/components/mobile-nav",function(){return(0,s.A)(i(64590))}),r("discourse/components/modal-container",function(){return(0,s.A)(i(68353))}),r("discourse/components/modal/activation-edit",function(){return(0,s.A)(i(99807))}),r("discourse/components/modal/activation-resent",function(){return(0,s.A)(i(21540))}),r("discourse/components/modal/add-pm-participants",function(){return(0,s.A)(i(55282))}),r("discourse/components/modal/anonymous-flag",function(){return(0,s.A)(i(73196))}),r("discourse/components/modal/associate-account-confirm",function(){return(0,s.A)(i(70749))}),r("discourse/components/modal/auth-token",function(){return(0,s.A)(i(29356))}),r("discourse/components/modal/avatar-selector",function(){return(0,s.A)(i(26961))}),r("discourse/components/modal/bookmark",function(){return(0,s.A)(i(39190))}),r("discourse/components/modal/bulk-topic-actions",function(){return(0,s.A)(i(93394))}),r("discourse/components/modal/change-owner",function(){return(0,s.A)(i(77336))}),r("discourse/components/modal/change-post-notice",function(){return(0,s.A)(i(42382))}),r("discourse/components/modal/change-timestamp",function(){return(0,s.A)(i(81475))}),r("discourse/components/modal/convert-to-public-topic",function(){return(0,s.A)(i(11761))}),r("discourse/components/modal/create-account",function(){return(0,s.A)(i(65520))}),r("discourse/components/modal/create-invite-bulk",function(){return(0,s.A)(i(87307))}),r("discourse/components/modal/create-invite",function(){return(0,s.A)(i(59830))}),r("discourse/components/modal/customize-form-template-view",function(){return(0,s.A)(i(26419))}),r("discourse/components/modal/delete-themes-confirm",function(){return(0,s.A)(i(58313))}),r("discourse/components/modal/delete-topic-confirm",function(){return(0,s.A)(i(78786))}),r("discourse/components/modal/delete-topic-disallowed",function(){return(0,s.A)(i(3172))}),r("discourse/components/modal/discard-draft",function(){return(0,s.A)(i(11112))}),r("discourse/components/modal/dismiss-new",function(){return(0,s.A)(i(27167))}),r("discourse/components/modal/dismiss-notification-confirmation",function(){return(0,s.A)(i(29710))}),r("discourse/components/modal/dismiss-read",function(){return(0,s.A)(i(12921))}),r("discourse/components/modal/do-not-disturb",function(){return(0,s.A)(i(2437))}),r("discourse/components/modal/download-calendar",function(){return(0,s.A)(i(92137))}),r("discourse/components/modal/edit-slow-mode",function(){return(0,s.A)(i(7848))}),r("discourse/components/modal/edit-topic-timer",function(){return(0,s.A)(i(71228))}),r("discourse/components/modal/edit-user-directory-columns",function(){return(0,s.A)(i(73724))}),r("discourse/components/modal/explain-reviewable",function(){return(0,s.A)(i(2856))}),r("discourse/components/modal/fast-edit",function(){return(0,s.A)(i(30593))}),r("discourse/components/modal/feature-topic-on-profile",function(){return(0,s.A)(i(93876))}),r("discourse/components/modal/feature-topic",function(){return(0,s.A)(i(70224))}),r("discourse/components/modal/flag",function(){return(0,s.A)(i(77528))}),r("discourse/components/modal/forgot-password",function(){return(0,s.A)(i(5263))}),r("discourse/components/modal/form-template-form-preview",function(){return(0,s.A)(i(671))}),r("discourse/components/modal/fullscreen-code",function(){return(0,s.A)(i(65021))}),r("discourse/components/modal/fullscreen-table",function(){return(0,s.A)(i(46238))}),r("discourse/components/modal/grant-badge",function(){return(0,s.A)(i(22644))}),r("discourse/components/modal/group-add-members",function(){return(0,s.A)(i(28959))}),r("discourse/components/modal/group-default-notifications",function(){return(0,s.A)(i(15290))}),r("discourse/components/modal/history",function(){return(0,s.A)(i(81472))}),r("discourse/components/modal/history/revision",function(){return(0,s.A)(i(52842))}),r("discourse/components/modal/history/revisions",function(){return(0,s.A)(i(67097))}),r("discourse/components/modal/history/topic-footer",function(){return(0,s.A)(i(52238))}),r("discourse/components/modal/ignore-duration-with-username",function(){return(0,s.A)(i(14483))}),r("discourse/components/modal/insert-hyperlink",function(){return(0,s.A)(i(19760))}),r("discourse/components/modal/json-schema-editor",function(){return(0,s.A)(i(24606))}),r("discourse/components/modal/jump-to-post",function(){return(0,s.A)(i(68229))}),r("discourse/components/modal/keyboard-shortcuts-help",function(){return(0,s.A)(i(54973))}),r("discourse/components/modal/login",function(){return(0,s.A)(i(56281))}),r("discourse/components/modal/move-to-topic",function(){return(0,s.A)(i(91851))}),r("discourse/components/modal/not-activated",function(){return(0,s.A)(i(17191))}),r("discourse/components/modal/post-enqueued",function(){return(0,s.A)(i(92199))}),r("discourse/components/modal/publish-page",function(){return(0,s.A)(i(90655))}),r("discourse/components/modal/raw-email",function(){return(0,s.A)(i(15607))}),r("discourse/components/modal/reject-reason-reviewable",function(){return(0,s.A)(i(40231))}),r("discourse/components/modal/reorder-categories",function(){return(0,s.A)(i(19868))}),r("discourse/components/modal/request-group-membership-form",function(){return(0,s.A)(i(44791))}),r("discourse/components/modal/revise-and-reject-post-reviewable",function(){return(0,s.A)(i(62840))}),r("discourse/components/modal/second-factor-add-security-key",function(){return(0,s.A)(i(87071))}),r("discourse/components/modal/second-factor-add-totp",function(){return(0,s.A)(i(18958))}),r("discourse/components/modal/second-factor-backup-edit",function(){return(0,s.A)(i(31728))}),r("discourse/components/modal/second-factor-edit-security-key",function(){return(0,s.A)(i(11714))}),r("discourse/components/modal/second-factor-edit",function(){return(0,s.A)(i(57749))}),r("discourse/components/modal/share-topic",function(){return(0,s.A)(i(49305))}),r("discourse/components/modal/sidebar-section-form",function(){return(0,s.A)(i(42233))}),r("discourse/components/modal/spreadsheet-editor",function(){return(0,s.A)(i(44426))}),r("discourse/components/modal/tag-upload",function(){return(0,s.A)(i(57008))}),r("discourse/components/modal/update-default-text-size",function(){return(0,s.A)(i(52385))}),r("discourse/components/modal/user-status",function(){return(0,s.A)(i(76072))}),r("discourse/components/more-topics",function(){return(0,s.A)(i(22426))}),r("discourse/components/more-topics/browse-more",function(){return(0,s.A)(i(23933))}),r("discourse/components/mount-widget",function(){return(0,s.A)(i(82568))}),r("discourse/components/nav-item",function(){return(0,s.A)(i(42259))}),r("discourse/components/navigation-bar",function(){return(0,s.A)(i(97822))}),r("discourse/components/navigation-item",function(){return(0,s.A)(i(40420))}),r("discourse/components/new-list-header-controls-wrapper",function(){return(0,s.A)(i(93696))}),r("discourse/components/notification-consent-banner",function(){return(0,s.A)(i(29039))}),r("discourse/components/notifications-tracking",function(){return(0,s.A)(i(55421))}),r("discourse/components/number-field",function(){return(0,s.A)(i(88492))}),r("discourse/components/offline-indicator",function(){return(0,s.A)(i(97329))}),r("discourse/components/page-loading-slider",function(){return(0,s.A)(i(7834))}),r("discourse/components/parent-category-row",function(){return(0,s.A)(i(73784))}),r("discourse/components/passkey-login-button",function(){return(0,s.A)(i(82851))}),r("discourse/components/password-field",function(){return(0,s.A)(i(3300))}),r("discourse/components/pick-files-button",function(){return(0,s.A)(i(32288))}),r("discourse/components/plugin-connector",function(){return(0,s.A)(i(41045))}),r("discourse/components/plugin-outlet",function(){return(0,s.A)(i(53769))}),r("discourse/components/popup-input-tip",function(){return(0,s.A)(i(44881))}),r("discourse/components/popup-menu",function(){return(0,s.A)(i(71062))}),r("discourse/components/post-action-description",function(){return(0,s.A)(i(98426))}),r("discourse/components/post-list/index",function(){return(0,s.A)(i(19216))}),r("discourse/components/post-list/item/details",function(){return(0,s.A)(i(82240))}),r("discourse/components/post-list/item/index",function(){return(0,s.A)(i(28338))}),r("discourse/components/post-text-selection-toolbar",function(){return(0,s.A)(i(66521))}),r("discourse/components/post-text-selection",function(){return(0,s.A)(i(7047))}),r("discourse/components/post",function(){return(0,s.A)(i(66238))}),r("discourse/components/post/actions-summary",function(){return(0,s.A)(i(87543))}),r("discourse/components/post/avatar",function(){return(0,s.A)(i(64244))}),r("discourse/components/post/cooked-html",function(){return(0,s.A)(i(61580))}),r("discourse/components/post/embedded",function(){return(0,s.A)(i(21411))}),r("discourse/components/post/filtered-notice",function(){return(0,s.A)(i(55215))}),r("discourse/components/post/gap",function(){return(0,s.A)(i(63125))}),r("discourse/components/post/links",function(){return(0,s.A)(i(15212))}),r("discourse/components/post/menu",function(){return(0,s.A)(i(47250))}),r("discourse/components/post/menu/button-config",function(){return(0,s.A)(i(50172))}),r("discourse/components/post/menu/button-wrapper",function(){return(0,s.A)(i(55243))}),r("discourse/components/post/menu/buttons/admin",function(){return(0,s.A)(i(52664))}),r("discourse/components/post/menu/buttons/bookmark",function(){return(0,s.A)(i(14867))}),r("discourse/components/post/menu/buttons/copy-link",function(){return(0,s.A)(i(1283))}),r("discourse/components/post/menu/buttons/delete",function(){return(0,s.A)(i(58164))}),r("discourse/components/post/menu/buttons/edit",function(){return(0,s.A)(i(911))}),r("discourse/components/post/menu/buttons/flag",function(){return(0,s.A)(i(84857))}),r("discourse/components/post/menu/buttons/like",function(){return(0,s.A)(i(45820))}),r("discourse/components/post/menu/buttons/read",function(){return(0,s.A)(i(30479))}),r("discourse/components/post/menu/buttons/replies",function(){return(0,s.A)(i(98531))}),r("discourse/components/post/menu/buttons/reply",function(){return(0,s.A)(i(3919))}),r("discourse/components/post/menu/buttons/share",function(){return(0,s.A)(i(58964))}),r("discourse/components/post/menu/buttons/show-more",function(){return(0,s.A)(i(24506))}),r("discourse/components/post/meta-data",function(){return(0,s.A)(i(22749))}),r("discourse/components/post/meta-data/date",function(){return(0,s.A)(i(18696))}),r("discourse/components/post/meta-data/edits-indicator",function(){return(0,s.A)(i(20976))}),r("discourse/components/post/meta-data/email-indicator",function(){return(0,s.A)(i(45218))}),r("discourse/components/post/meta-data/locked-indicator",function(){return(0,s.A)(i(41342))}),r("discourse/components/post/meta-data/poster-name",function(){return(0,s.A)(i(24001))}),r("discourse/components/post/meta-data/poster-name/icon",function(){return(0,s.A)(i(55133))}),r("discourse/components/post/meta-data/read-indicator",function(){return(0,s.A)(i(70276))}),r("discourse/components/post/meta-data/reply-to-tab",function(){return(0,s.A)(i(98332))}),r("discourse/components/post/meta-data/select-post",function(){return(0,s.A)(i(99111))}),r("discourse/components/post/meta-data/whisper-indicator",function(){return(0,s.A)(i(39176))}),r("discourse/components/post/notice",function(){return(0,s.A)(i(46545))}),r("discourse/components/post/notice/custom",function(){return(0,s.A)(i(51607))}),r("discourse/components/post/notice/new-user",function(){return(0,s.A)(i(82182))}),r("discourse/components/post/notice/returning-user",function(){return(0,s.A)(i(26354))}),r("discourse/components/post/placeholder",function(){return(0,s.A)(i(98160))}),r("discourse/components/post/small-action",function(){return(0,s.A)(i(22477))}),r("discourse/components/post/time-gap",function(){return(0,s.A)(i(81101))}),r("discourse/components/post/visited-line",function(){return(0,s.A)(i(69938))}),r("discourse/components/powered-by-discourse",function(){return(0,s.A)(i(70594))}),r("discourse/components/preference-checkbox",function(){return(0,s.A)(i(10147))}),r("discourse/components/private-message-glyph",function(){return(0,s.A)(i(31532))}),r("discourse/components/pwa-install-banner",function(){return(0,s.A)(i(13123))}),r("discourse/components/radio-button",function(){return(0,s.A)(i(74014))}),r("discourse/components/related-messages",function(){return(0,s.A)(i(5194))}),r("discourse/components/relative-date",function(){return(0,s.A)(i(96633))}),r("discourse/components/relative-time-picker",function(){return(0,s.A)(i(54519))}),r("discourse/components/render-glimmer-container",function(){return(0,s.A)(i(40052))}),r("discourse/components/responsive-table",function(){return(0,s.A)(i(5455))}),r("discourse/components/reviewable-bundled-action",function(){return(0,s.A)(i(40056))}),r("discourse/components/reviewable-claimed-topic",function(){return(0,s.A)(i(34230))}),r("discourse/components/reviewable-conversation-post",function(){return(0,s.A)(i(5013))}),r("discourse/components/reviewable-created-by-name",function(){return(0,s.A)(i(52903))}),r("discourse/components/reviewable-created-by",function(){return(0,s.A)(i(95803))}),r("discourse/components/reviewable-field-category",function(){return(0,s.A)(i(22682))}),r("discourse/components/reviewable-field-editor",function(){return(0,s.A)(i(83383))}),r("discourse/components/reviewable-field-tags",function(){return(0,s.A)(i(50703))}),r("discourse/components/reviewable-field-text",function(){return(0,s.A)(i(73937))}),r("discourse/components/reviewable-field-textarea",function(){return(0,s.A)(i(43024))}),r("discourse/components/reviewable-field",function(){return(0,s.A)(i(41597))}),r("discourse/components/reviewable-flagged-post",function(){return(0,s.A)(i(56006))}),r("discourse/components/reviewable-histories",function(){return(0,s.A)(i(90734))}),r("discourse/components/reviewable-item",function(){return(0,s.A)(i(49342))}),r("discourse/components/reviewable-post-edits",function(){return(0,s.A)(i(37311))}),r("discourse/components/reviewable-post-header",function(){return(0,s.A)(i(30265))}),r("discourse/components/reviewable-post",function(){return(0,s.A)(i(64887))}),r("discourse/components/reviewable-queued-post",function(){return(0,s.A)(i(77023))}),r("discourse/components/reviewable-score",function(){return(0,s.A)(i(30339))}),r("discourse/components/reviewable-scores",function(){return(0,s.A)(i(43462))}),r("discourse/components/reviewable-tags",function(){return(0,s.A)(i(88140))}),r("discourse/components/reviewable-topic-link",function(){return(0,s.A)(i(25603))}),r("discourse/components/reviewable-user",function(){return(0,s.A)(i(73618))}),r("discourse/components/save-controls",function(){return(0,s.A)(i(52984))}),r("discourse/components/score-value",function(){return(0,s.A)(i(35772))}),r("discourse/components/scrolling-post-stream",function(){return(0,s.A)(i(22869))}),r("discourse/components/search-advanced-options",function(){return(0,s.A)(i(92144))}),r("discourse/components/search-menu-panel",function(){return(0,s.A)(i(73761))}),r("discourse/components/search-menu",function(){return(0,s.A)(i(34918))}),r("discourse/components/search-menu/active-filters",function(){return(0,s.A)(i(61001))}),r("discourse/components/search-menu/advanced-button",function(){return(0,s.A)(i(9664))}),r("discourse/components/search-menu/clear-button",function(){return(0,s.A)(i(177))}),r("discourse/components/search-menu/highlighted-search",function(){return(0,s.A)(i(26389))}),r("discourse/components/search-menu/mobile-search-button",function(){return(0,s.A)(i(17273))}),r("discourse/components/search-menu/results",function(){return(0,s.A)(i(85051))}),r("discourse/components/search-menu/results/assistant-item",function(){return(0,s.A)(i(14514))}),r("discourse/components/search-menu/results/assistant",function(){return(0,s.A)(i(70552))}),r("discourse/components/search-menu/results/blurb",function(){return(0,s.A)(i(10077))}),r("discourse/components/search-menu/results/initial-options",function(){return(0,s.A)(i(65567))}),r("discourse/components/search-menu/results/more-link",function(){return(0,s.A)(i(97092))}),r("discourse/components/search-menu/results/random-quick-tip",function(){return(0,s.A)(i(55231))}),r("discourse/components/search-menu/results/recent-searches",function(){return(0,s.A)(i(77897))}),r("discourse/components/search-menu/results/type/category",function(){return(0,s.A)(i(1821))}),r("discourse/components/search-menu/results/type/group",function(){return(0,s.A)(i(64294))}),r("discourse/components/search-menu/results/type/post",function(){return(0,s.A)(i(71771))}),r("discourse/components/search-menu/results/type/tag",function(){return(0,s.A)(i(27685))}),r("discourse/components/search-menu/results/type/topic",function(){return(0,s.A)(i(70094))}),r("discourse/components/search-menu/results/type/user",function(){return(0,s.A)(i(15206))}),r("discourse/components/search-menu/results/types",function(){return(0,s.A)(i(69825))}),r("discourse/components/search-menu/search-term",function(){return(0,s.A)(i(88168))}),r("discourse/components/search-result-entries",function(){return(0,s.A)(i(88613))}),r("discourse/components/search-result-entry",function(){return(0,s.A)(i(14493))}),r("discourse/components/search-text-field",function(){return(0,s.A)(i(73247))}),r("discourse/components/second-factor-form",function(){return(0,s.A)(i(7505))}),r("discourse/components/second-factor-input",function(){return(0,s.A)(i(13443))}),r("discourse/components/security-key-dropdown",function(){return(0,s.A)(i(21180))}),r("discourse/components/security-key-form",function(){return(0,s.A)(i(27983))}),r("discourse/components/selected-posts",function(){return(0,s.A)(i(3515))}),r("discourse/components/share-panel",function(){return(0,s.A)(i(10366))}),r("discourse/components/share-source",function(){return(0,s.A)(i(71831))}),r("discourse/components/shared-draft-controls",function(){return(0,s.A)(i(68502))}),r("discourse/components/sidebar",function(){return(0,s.A)(i(96062))}),r("discourse/components/sidebar/anonymous/categories-section",function(){return(0,s.A)(i(52573))}),r("discourse/components/sidebar/anonymous/custom-sections",function(){return(0,s.A)(i(27161))}),r("discourse/components/sidebar/anonymous/sections",function(){return(0,s.A)(i(15391))}),r("discourse/components/sidebar/anonymous/tags-section",function(){return(0,s.A)(i(29548))}),r("discourse/components/sidebar/api-panels",function(){return(0,s.A)(i(41581))}),r("discourse/components/sidebar/api-section",function(){return(0,s.A)(i(8747))}),r("discourse/components/sidebar/api-sections",function(){return(0,s.A)(i(74142))}),r("discourse/components/sidebar/back-to-forum",function(){return(0,s.A)(i(71614))}),r("discourse/components/sidebar/common/all-categories-section-link",function(){return(0,s.A)(i(36020))}),r("discourse/components/sidebar/common/all-tags-section-link",function(){return(0,s.A)(i(34519))}),r("discourse/components/sidebar/common/categories-section",function(){return(0,s.A)(i(3873))}),r("discourse/components/sidebar/common/custom-section",function(){return(0,s.A)(i(65110))}),r("discourse/components/sidebar/common/custom-sections",function(){return(0,s.A)(i(41437))}),r("discourse/components/sidebar/edit-navigation-menu/categories-modal",function(){return(0,s.A)(i(99725))}),r("discourse/components/sidebar/edit-navigation-menu/modal",function(){return(0,s.A)(i(15412))}),r("discourse/components/sidebar/edit-navigation-menu/tags-modal",function(){return(0,s.A)(i(68932))}),r("discourse/components/sidebar/footer",function(){return(0,s.A)(i(3458))}),r("discourse/components/sidebar/hamburger-dropdown",function(){return(0,s.A)(i(31250))}),r("discourse/components/sidebar/more-section-link",function(){return(0,s.A)(i(83051))}),r("discourse/components/sidebar/more-section-links",function(){return(0,s.A)(i(4798))}),r("discourse/components/sidebar/more-section-trigger",function(){return(0,s.A)(i(33340))}),r("discourse/components/sidebar/panel-header",function(){return(0,s.A)(i(89301))}),r("discourse/components/sidebar/section-form-link",function(){return(0,s.A)(i(21794))}),r("discourse/components/sidebar/section-header",function(){return(0,s.A)(i(86866))}),r("discourse/components/sidebar/section-link-button",function(){return(0,s.A)(i(12240))}),r("discourse/components/sidebar/section-link-prefix",function(){return(0,s.A)(i(80332))}),r("discourse/components/sidebar/section-link",function(){return(0,s.A)(i(89563))}),r("discourse/components/sidebar/section-message",function(){return(0,s.A)(i(50320))}),r("discourse/components/sidebar/section",function(){return(0,s.A)(i(32266))}),r("discourse/components/sidebar/sections",function(){return(0,s.A)(i(32825))}),r("discourse/components/sidebar/switch-panel-buttons",function(){return(0,s.A)(i(28890))}),r("discourse/components/sidebar/toggle-all-sections",function(){return(0,s.A)(i(26672))}),r("discourse/components/sidebar/user/categories-section",function(){return(0,s.A)(i(87139))}),r("discourse/components/sidebar/user/custom-sections",function(){return(0,s.A)(i(7543))}),r("discourse/components/sidebar/user/messages-section",function(){return(0,s.A)(i(70879))}),r("discourse/components/sidebar/user/sections",function(){return(0,s.A)(i(57965))}),r("discourse/components/sidebar/user/tags-section",function(){return(0,s.A)(i(72342))}),r("discourse/components/signup-cta",function(){return(0,s.A)(i(619))}),r("discourse/components/signup-page-cta",function(){return(0,s.A)(i(59505))}),r("discourse/components/signup-progress-bar",function(){return(0,s.A)(i(72702))}),r("discourse/components/slow-mode-info",function(){return(0,s.A)(i(30126))}),r("discourse/components/small-user-list",function(){return(0,s.A)(i(83202))}),r("discourse/components/software-update-prompt",function(){return(0,s.A)(i(7194))}),r("discourse/components/sub-category-item",function(){return(0,s.A)(i(64973))}),r("discourse/components/sub-category-row",function(){return(0,s.A)(i(5740))}),r("discourse/components/subcategories-with-featured-topics",function(){return(0,s.A)(i(50321))}),r("discourse/components/suggested-topics",function(){return(0,s.A)(i(51594))}),r("discourse/components/table-header-toggle",function(){return(0,s.A)(i(77827))}),r("discourse/components/tag-groups-form",function(){return(0,s.A)(i(51210))}),r("discourse/components/tag-info",function(){return(0,s.A)(i(83519))}),r("discourse/components/tag-list",function(){return(0,s.A)(i(37715))}),r("discourse/components/tag-notifications-tracking",function(){return(0,s.A)(i(81533))}),r("discourse/components/tags-admin-dropdown",function(){return(0,s.A)(i(56969))}),r("discourse/components/tap-tile-grid",function(){return(0,s.A)(i(8889))}),r("discourse/components/tap-tile",function(){return(0,s.A)(i(36076))}),r("discourse/components/text-field",function(){return(0,s.A)(i(67486))}),r("discourse/components/time-input",function(){return(0,s.A)(i(47952))}),r("discourse/components/time-shortcut-picker",function(){return(0,s.A)(i(70127))}),r("discourse/components/toggle-password-mask",function(){return(0,s.A)(i(14685))}),r("discourse/components/token-based-auth-dropdown",function(){return(0,s.A)(i(96812))}),r("discourse/components/top-period-buttons",function(){return(0,s.A)(i(66007))}),r("discourse/components/topic-admin-menu",function(){return(0,s.A)(i(2015))}),r("discourse/components/topic-category",function(){return(0,s.A)(i(2358))}),r("discourse/components/topic-dismiss-buttons",function(){return(0,s.A)(i(13796))}),r("discourse/components/topic-drafts-dropdown",function(){return(0,s.A)(i(50602))}),r("discourse/components/topic-entrance",function(){return(0,s.A)(i(34868))}),r("discourse/components/topic-footer-buttons",function(){return(0,s.A)(i(47573))}),r("discourse/components/topic-label-content",function(){return(0,s.A)(i(10274))}),r("discourse/components/topic-list",function(){return(0,s.A)(i(97318))}),r("discourse/components/topic-list/action-list",function(){return(0,s.A)(i(62768))}),r("discourse/components/topic-list/featured-topic",function(){return(0,s.A)(i(46689))}),r("discourse/components/topic-list/header",function(){return(0,s.A)(i(61588))}),r("discourse/components/topic-list/header/activity-cell",function(){return(0,s.A)(i(20795))}),r("discourse/components/topic-list/header/bulk-select-cell",function(){return(0,s.A)(i(25581))}),r("discourse/components/topic-list/header/likes-cell",function(){return(0,s.A)(i(91320))}),r("discourse/components/topic-list/header/op-likes-cell",function(){return(0,s.A)(i(77310))}),r("discourse/components/topic-list/header/posters-cell",function(){return(0,s.A)(i(78102))}),r("discourse/components/topic-list/header/replies-cell",function(){return(0,s.A)(i(29232))}),r("discourse/components/topic-list/header/sortable-column",function(){return(0,s.A)(i(64042))}),r("discourse/components/topic-list/header/topic-cell",function(){return(0,s.A)(i(93825))}),r("discourse/components/topic-list/header/views-cell",function(){return(0,s.A)(i(69778))}),r("discourse/components/topic-list/item",function(){return(0,s.A)(i(57510))}),r("discourse/components/topic-list/item/activity-cell",function(){return(0,s.A)(i(87133))}),r("discourse/components/topic-list/item/bulk-select-cell",function(){return(0,s.A)(i(41859))}),r("discourse/components/topic-list/item/likes-cell",function(){return(0,s.A)(i(53534))}),r("discourse/components/topic-list/item/op-likes-cell",function(){return(0,s.A)(i(83164))}),r("discourse/components/topic-list/item/posters-cell",function(){return(0,s.A)(i(25348))}),r("discourse/components/topic-list/item/replies-cell",function(){return(0,s.A)(i(29350))}),r("discourse/components/topic-list/item/topic-cell",function(){return(0,s.A)(i(51311))}),r("discourse/components/topic-list/item/views-cell",function(){return(0,s.A)(i(76236))}),r("discourse/components/topic-list/latest-topic-list-item",function(){return(0,s.A)(i(71585))}),r("discourse/components/topic-list/list",function(){return(0,s.A)(i(2653))}),r("discourse/components/topic-list/new-list-header-controls",function(){return(0,s.A)(i(37943))}),r("discourse/components/topic-list/participant-groups",function(){return(0,s.A)(i(89973))}),r("discourse/components/topic-list/post-count-or-badges",function(){return(0,s.A)(i(53988))}),r("discourse/components/topic-list/topic-bulk-select-dropdown",function(){return(0,s.A)(i(80956))}),r("discourse/components/topic-list/topic-excerpt",function(){return(0,s.A)(i(95638))}),r("discourse/components/topic-list/topic-link",function(){return(0,s.A)(i(54971))}),r("discourse/components/topic-list/unread-indicator",function(){return(0,s.A)(i(45042))}),r("discourse/components/topic-map/index",function(){return(0,s.A)(i(39845))}),r("discourse/components/topic-map/private-message-map",function(){return(0,s.A)(i(56607))}),r("discourse/components/topic-map/topic-map-link",function(){return(0,s.A)(i(95330))}),r("discourse/components/topic-map/topic-map-summary",function(){return(0,s.A)(i(59592))}),r("discourse/components/topic-map/topic-participant",function(){return(0,s.A)(i(77802))}),r("discourse/components/topic-map/topic-participants",function(){return(0,s.A)(i(69222))}),r("discourse/components/topic-map/topic-views-chart",function(){return(0,s.A)(i(69232))}),r("discourse/components/topic-map/topic-views",function(){return(0,s.A)(i(39997))}),r("discourse/components/topic-navigation-popup",function(){return(0,s.A)(i(12847))}),r("discourse/components/topic-navigation",function(){return(0,s.A)(i(3844))}),r("discourse/components/topic-notifications-tracking",function(){return(0,s.A)(i(31276))}),r("discourse/components/topic-post-badges",function(){return(0,s.A)(i(66929))}),r("discourse/components/topic-progress",function(){return(0,s.A)(i(96701))}),r("discourse/components/topic-status",function(){return(0,s.A)(i(93432))}),r("discourse/components/topic-timeline",function(){return(0,s.A)(i(52909))}),r("discourse/components/topic-timeline/back-button",function(){return(0,s.A)(i(47684))}),r("discourse/components/topic-timeline/container",function(){return(0,s.A)(i(9165))}),r("discourse/components/topic-timeline/scroller",function(){return(0,s.A)(i(4994))}),r("discourse/components/topic-timer-info",function(){return(0,s.A)(i(34106))}),r("discourse/components/topic-title",function(){return(0,s.A)(i(12366))}),r("discourse/components/track-selected",function(){return(0,s.A)(i(29339))}),r("discourse/components/two-factor-backup-dropdown",function(){return(0,s.A)(i(53731))}),r("discourse/components/uppy-image-uploader",function(){return(0,s.A)(i(41689))}),r("discourse/components/user-avatar-flair",function(){return(0,s.A)(i(87470))}),r("discourse/components/user-avatar",function(){return(0,s.A)(i(69857))}),r("discourse/components/user-badge",function(){return(0,s.A)(i(90745))}),r("discourse/components/user-card-contents",function(){return(0,s.A)(i(67585))}),r("discourse/components/user-field",function(){return(0,s.A)(i(40834))}),r("discourse/components/user-fields/base",function(){return(0,s.A)(i(70105))}),r("discourse/components/user-fields/confirm",function(){return(0,s.A)(i(42854))}),r("discourse/components/user-fields/dropdown",function(){return(0,s.A)(i(38173))}),r("discourse/components/user-fields/multiselect",function(){return(0,s.A)(i(46723))}),r("discourse/components/user-fields/text",function(){return(0,s.A)(i(33531))}),r("discourse/components/user-flag-percentage",function(){return(0,s.A)(i(87699))}),r("discourse/components/user-info",function(){return(0,s.A)(i(99576))}),r("discourse/components/user-link",function(){return(0,s.A)(i(67032))}),r("discourse/components/user-menu/bookmarks-list-empty-state",function(){return(0,s.A)(i(42530))}),r("discourse/components/user-menu/bookmarks-list",function(){return(0,s.A)(i(88030))}),r("discourse/components/user-menu/icon-avatar",function(){return(0,s.A)(i(70753))}),r("discourse/components/user-menu/items-list-empty-state",function(){return(0,s.A)(i(27197))}),r("discourse/components/user-menu/items-list",function(){return(0,s.A)(i(88157))}),r("discourse/components/user-menu/likes-list-empty-state",function(){return(0,s.A)(i(1429))}),r("discourse/components/user-menu/likes-notifications-list",function(){return(0,s.A)(i(17946))}),r("discourse/components/user-menu/menu-item",function(){return(0,s.A)(i(29361))}),r("discourse/components/user-menu/menu-tab",function(){return(0,s.A)(i(65195))}),r("discourse/components/user-menu/menu",function(){return(0,s.A)(i(62133))}),r("discourse/components/user-menu/messages-list-empty-state",function(){return(0,s.A)(i(1096))}),r("discourse/components/user-menu/messages-list",function(){return(0,s.A)(i(79815))}),r("discourse/components/user-menu/notifications-list-empty-state",function(){return(0,s.A)(i(23997))}),r("discourse/components/user-menu/notifications-list",function(){return(0,s.A)(i(81213))}),r("discourse/components/user-menu/other-notifications-list-empty-state",function(){return(0,s.A)(i(52832))}),r("discourse/components/user-menu/other-notifications-list",function(){return(0,s.A)(i(58712))}),r("discourse/components/user-menu/profile-tab-content",function(){return(0,s.A)(i(73687))}),r("discourse/components/user-menu/replies-notifications-list",function(){return(0,s.A)(i(76194))}),r("discourse/components/user-menu/reviewables-list",function(){return(0,s.A)(i(23998))}),r("discourse/components/user-nav",function(){return(0,s.A)(i(98423))}),r("discourse/components/user-nav/messages-dropdown",function(){return(0,s.A)(i(85062))}),r("discourse/components/user-nav/messages-secondary-nav",function(){return(0,s.A)(i(58837))}),r("discourse/components/user-notification-schedule-day",function(){return(0,s.A)(i(27906))}),r("discourse/components/user-notification-schedule",function(){return(0,s.A)(i(32017))}),r("discourse/components/user-preferences/categories",function(){return(0,s.A)(i(65095))}),r("discourse/components/user-preferences/passkey-options-dropdown",function(){return(0,s.A)(i(77668))}),r("discourse/components/user-preferences/rename-passkey",function(){return(0,s.A)(i(20560))}),r("discourse/components/user-preferences/tags",function(){return(0,s.A)(i(29398))}),r("discourse/components/user-preferences/user-api-keys",function(){return(0,s.A)(i(40230))}),r("discourse/components/user-preferences/user-passkeys",function(){return(0,s.A)(i(71724))}),r("discourse/components/user-profile-avatar",function(){return(0,s.A)(i(46641))}),r("discourse/components/user-stat",function(){return(0,s.A)(i(25286))}),r("discourse/components/user-status-message",function(){return(0,s.A)(i(74736))}),r("discourse/components/user-status-picker",function(){return(0,s.A)(i(1457))}),r("discourse/components/user-stream-item",function(){return(0,s.A)(i(10790))}),r("discourse/components/user-stream",function(){return(0,s.A)(i(74212))}),r("discourse/components/user-summary-category-search",function(){return(0,s.A)(i(31984))}),r("discourse/components/user-summary-section",function(){return(0,s.A)(i(54808))}),r("discourse/components/user-summary-topic",function(){return(0,s.A)(i(26176))}),r("discourse/components/user-summary-topics-list",function(){return(0,s.A)(i(46556))}),r("discourse/components/user-summary-user",function(){return(0,s.A)(i(61340))}),r("discourse/components/user-summary-users-list",function(){return(0,s.A)(i(22080))}),r("discourse/components/user-tip-container",function(){return(0,s.A)(i(37613))}),r("discourse/components/user-tip",function(){return(0,s.A)(i(20775))}),r("discourse/components/username-preference",function(){return(0,s.A)(i(65168))}),r("discourse/components/watch-read",function(){return(0,s.A)(i(32510))}),r("discourse/components/welcome-banner",function(){return(0,s.A)(i(44421))}),r("discourse/components/welcome-header",function(){return(0,s.A)(i(77586))}),r("discourse/components/dialog-holder",function(){return(0,s.A)(i(52703))}),r("discourse/components/d-button-tooltip",function(){return(0,s.A)(i(73816))}),r("discourse/components/d-default-toast",function(){return(0,s.A)(i(91415))}),r("discourse/components/d-headless-menu",function(){return(0,s.A)(i(76141))}),r("discourse/components/d-headless-tooltip",function(){return(0,s.A)(i(27071))}),r("discourse/components/d-menu",function(){return(0,s.A)(i(44297))}),r("discourse/components/d-menus",function(){return(0,s.A)(i(24588))}),r("discourse/components/d-popover",function(){return(0,s.A)(i(51721))}),r("discourse/components/d-toasts",function(){return(0,s.A)(i(30686))}),r("discourse/components/d-tooltip",function(){return(0,s.A)(i(4651))}),r("discourse/components/d-tooltips",function(){return(0,s.A)(i(60030))}),r("discourse/helpers/age-with-tooltip",function(){return(0,s.A)(i(27899))}),r("discourse/helpers/avatar",function(){return(0,s.A)(i(23722))}),r("discourse/helpers/base-path",function(){return(0,s.A)(i(90100))}),r("discourse/helpers/base-url",function(){return(0,s.A)(i(99498))}),r("discourse/helpers/body-class",function(){return(0,s.A)(i(28078))}),r("discourse/helpers/border-color",function(){return(0,s.A)(i(95715))}),r("discourse/helpers/bound-avatar-template",function(){return(0,s.A)(i(39268))}),r("discourse/helpers/bound-avatar",function(){return(0,s.A)(i(42129))}),r("discourse/helpers/bound-category-link",function(){return(0,s.A)(i(36453))}),r("discourse/helpers/bound-date",function(){return(0,s.A)(i(30616))}),r("discourse/helpers/bound-i18n",function(){return(0,s.A)(i(60940))}),r("discourse/helpers/capitalize-string",function(){return(0,s.A)(i(94215))}),r("discourse/helpers/category-badge",function(){return(0,s.A)(i(75089))}),r("discourse/helpers/category-color-variable",function(){return(0,s.A)(i(2266))}),r("discourse/helpers/category-link",function(){return(0,s.A)(i(92960))}),r("discourse/helpers/category-variables",function(){return(0,s.A)(i(37463))}),r("discourse/helpers/cold-age-class",function(){return(0,s.A)(i(86862))}),r("discourse/helpers/component-for-collection",function(){return(0,s.A)(i(21387))}),r("discourse/helpers/component-for-row",function(){return(0,s.A)(i(45027))}),r("discourse/helpers/concat-class",function(){return(0,s.A)(i(54074))}),r("discourse/helpers/custom-html",function(){return(0,s.A)(i(9788))}),r("discourse/helpers/d-icon",function(){return(0,s.A)(i(12733))}),r("discourse/helpers/dash-if-empty",function(){return(0,s.A)(i(44155))}),r("discourse/helpers/dasherize",function(){return(0,s.A)(i(94848))}),r("discourse/helpers/decorate-username-selector",function(){return(0,s.A)(i(20099))}),r("discourse/helpers/deprecated-outlet-argument",function(){return(0,s.A)(i(86028))}),r("discourse/helpers/dir-span",function(){return(0,s.A)(i(30689))}),r("discourse/helpers/directory-column-is-automatic",function(){return(0,s.A)(i(630))}),r("discourse/helpers/directory-column-is-user-field",function(){return(0,s.A)(i(59011))}),r("discourse/helpers/directory-item-label",function(){return(0,s.A)(i(91341))}),r("discourse/helpers/directory-item-value",function(){return(0,s.A)(i(5950))}),r("discourse/helpers/directory-table-header-title",function(){return(0,s.A)(i(13768))}),r("discourse/helpers/discourse-tag",function(){return(0,s.A)(i(56731))}),r("discourse/helpers/discourse-tags",function(){return(0,s.A)(i(65358))}),r("discourse/helpers/editable-value",function(){return(0,s.A)(i(5751))}),r("discourse/helpers/element",function(){return(0,s.A)(i(70223))}),r("discourse/helpers/emoji",function(){return(0,s.A)(i(60961))}),r("discourse/helpers/fa-icon-node",function(){return(0,s.A)(i(85043))}),r("discourse/helpers/fa-icon",function(){return(0,s.A)(i(75870))}),r("discourse/helpers/float",function(){return(0,s.A)(i(63325))}),r("discourse/helpers/format-age",function(){return(0,s.A)(i(91238))}),r("discourse/helpers/format-date",function(){return(0,s.A)(i(55353))}),r("discourse/helpers/format-duration",function(){return(0,s.A)(i(29281))}),r("discourse/helpers/format-username",function(){return(0,s.A)(i(32441))}),r("discourse/helpers/get-url",function(){return(0,s.A)(i(25755))}),r("discourse/helpers/helper-fn",function(){return(0,s.A)(i(51444))}),r("discourse/helpers/hide-application-footer",function(){return(0,s.A)(i(38498))}),r("discourse/helpers/hide-application-header-buttons",function(){return(0,s.A)(i(78108))}),r("discourse/helpers/hide-application-sidebar",function(){return(0,s.A)(i(59989))}),r("discourse/helpers/html-class",function(){return(0,s.A)(i(62943))}),r("discourse/helpers/html-safe",function(){return(0,s.A)(i(86326))}),r("discourse/helpers/i18n-yes-no",function(){return(0,s.A)(i(54697))}),r("discourse/helpers/i18n",function(){return(0,s.A)(i(23803))}),r("discourse/helpers/icon-or-image",function(){return(0,s.A)(i(50018))}),r("discourse/helpers/inline-date",function(){return(0,s.A)(i(60731))}),r("discourse/helpers/loading-spinner",function(){return(0,s.A)(i(99159))}),r("discourse/helpers/node",function(){return(0,s.A)(i(75691))}),r("discourse/helpers/noop",function(){return(0,s.A)(i(49663))}),r("discourse/helpers/number",function(){return(0,s.A)(i(51410))}),r("discourse/helpers/page-reloader",function(){return(0,s.A)(i(2259))}),r("discourse/helpers/period-title",function(){return(0,s.A)(i(59021))}),r("discourse/helpers/raw-date",function(){return(0,s.A)(i(70126))}),r("discourse/helpers/replace-emoji",function(){return(0,s.A)(i(74512))}),r("discourse/helpers/reviewable-history-description",function(){return(0,s.A)(i(87549))}),r("discourse/helpers/reviewable-status",function(){return(0,s.A)(i(6))}),r("discourse/helpers/route-action",function(){return(0,s.A)(i(29349))}),r("discourse/helpers/share-url",function(){return(0,s.A)(i(72032))}),r("discourse/helpers/shorten-url",function(){return(0,s.A)(i(23222))}),r("discourse/helpers/slice",function(){return(0,s.A)(i(39877))}),r("discourse/helpers/slow-mode",function(){return(0,s.A)(i(68784))}),r("discourse/helpers/theme-i18n",function(){return(0,s.A)(i(11275))}),r("discourse/helpers/theme-prefix",function(){return(0,s.A)(i(34459))}),r("discourse/helpers/theme-setting",function(){return(0,s.A)(i(7355))}),r("discourse/helpers/topic-featured-link",function(){return(0,s.A)(i(89756))}),r("discourse/helpers/topic-link",function(){return(0,s.A)(i(4425))}),r("discourse/helpers/unique-id",function(){return(0,s.A)(i(55768))}),r("discourse/helpers/user-avatar",function(){return(0,s.A)(i(44904))}),r("discourse/helpers/user-prioritized-name",function(){return(0,s.A)(i(34864))}),r("discourse/helpers/user-status",function(){return(0,s.A)(i(28267))}),r("discourse/helpers/value-entered",function(){return(0,s.A)(i(98544))}),r("discourse/helpers/with-event-value",function(){return(0,s.A)(i(28106))}),r("discourse/helpers/and",function(){return(0,s.A)(i(16009))}),r("discourse/helpers/eq",function(){return(0,s.A)(i(20704))}),r("discourse/helpers/gt",function(){return(0,s.A)(i(72497))}),r("discourse/helpers/gte",function(){return(0,s.A)(i(61522))}),r("discourse/helpers/includes",function(){return(0,s.A)(i(1707))}),r("discourse/helpers/lt",function(){return(0,s.A)(i(92878))}),r("discourse/helpers/lte",function(){return(0,s.A)(i(27191))}),r("discourse/helpers/not-eq",function(){return(0,s.A)(i(61328))}),r("discourse/helpers/not",function(){return(0,s.A)(i(95085))}),r("discourse/helpers/or",function(){return(0,s.A)(i(84851))}),r("discourse/helpers/load",function(){return(0,s.A)(i(75265))}),r("discourse/helpers/app-version",function(){return(0,s.A)(i(92156))}),r("discourse/modifiers/auto-focus",function(){return(0,s.A)(i(65464))}),r("discourse/modifiers/close-on-click-outside",function(){return(0,s.A)(i(67143))}),r("discourse/modifiers/delayed-destroy",function(){return(0,s.A)(i(84773))}),r("discourse/modifiers/draggable",function(){return(0,s.A)(i(25303))}),r("discourse/modifiers/observe-intersection",function(){return(0,s.A)(i(23804))}),r("discourse/modifiers/on-resize",function(){return(0,s.A)(i(984))}),r("discourse/modifiers/sticky-avatars",function(){return(0,s.A)(i(37410))}),r("discourse/modifiers/swipe",function(){return(0,s.A)(i(13230))}),r("discourse/modifiers/trap-tab",function(){return(0,s.A)(i(45431))}),r("discourse/modifiers/did-insert",function(){return(0,s.A)(i(15827))}),r("discourse/modifiers/did-update",function(){return(0,s.A)(i(58071))}),r("discourse/modifiers/will-destroy",function(){return(0,s.A)(i(73221))}),r("discourse/templates/about",function(){return(0,s.A)(i(28900))}),r("discourse/controllers/about",function(){return(0,s.A)(i(53570))}),r("discourse/routes/about",function(){return(0,s.A)(i(52217))}),r("discourse/controllers/account-created-edit-email",function(){return(0,s.A)(i(39623))}),r("discourse/routes/account-created-edit-email",function(){return(0,s.A)(i(48754))}),r("discourse/controllers/account-created-index",function(){return(0,s.A)(i(19396))}),r("discourse/routes/account-created-index",function(){return(0,s.A)(i(98363))}),r("discourse/templates/application",function(){return(0,s.A)(i(48147))}),r("discourse/controllers/application",function(){return(0,s.A)(i(40261))}),r("discourse/routes/application",function(){return(0,s.A)(i(5934))}),r("discourse/templates/badges/index",function(){return(0,s.A)(i(93238))}),r("discourse/controllers/badges/index",function(){return(0,s.A)(i(71932))}),r("discourse/templates/badges/show",function(){return(0,s.A)(i(2085))}),r("discourse/controllers/badges/show",function(){return(0,s.A)(i(52095))}),r("discourse/controllers/composer",function(){return(0,s.A)(i(65865))}),r("discourse/templates/composer/dominating-topic",function(){return(0,s.A)(i(72098))}),r("discourse/templates/composer/education",function(){return(0,s.A)(i(19834))}),r("discourse/templates/composer/get-a-room",function(){return(0,s.A)(i(36188))}),r("discourse/templates/composer/group-mentioned",function(){return(0,s.A)(i(8057))}),r("discourse/templates/composer/similar-topics",function(){return(0,s.A)(i(77118))}),r("discourse/templates/confirm-new-email",function(){return(0,s.A)(i(80023))}),r("discourse/controllers/confirm-new-email",function(){return(0,s.A)(i(29145))}),r("discourse/routes/confirm-new-email",function(){return(0,s.A)(i(41230))}),r("discourse/templates/confirm-old-email",function(){return(0,s.A)(i(50332))}),r("discourse/controllers/confirm-old-email",function(){return(0,s.A)(i(12826))}),r("discourse/routes/confirm-old-email",function(){return(0,s.A)(i(71065))}),r("discourse/routes/discovery",function(){return(0,s.A)(i(88174))}),r("discourse/templates/discovery/categories",function(){return(0,s.A)(i(7214))}),r("discourse/controllers/discovery/categories",function(){return(0,s.A)(i(26348))}),r("discourse/templates/discovery/filter",function(){return(0,s.A)(i(28748))}),r("discourse/controllers/discovery/filter",function(){return(0,s.A)(i(5846))}),r("discourse/templates/discovery/list",function(){return(0,s.A)(i(4018))}),r("discourse/controllers/discovery/list",function(){return(0,s.A)(i(74888))}),r("discourse/templates/discovery/custom",function(){return(0,s.A)(i(7617))}),r("discourse/templates/edit-category-tabs",function(){return(0,s.A)(i(44983))}),r("discourse/controllers/edit-category-tabs",function(){return(0,s.A)(i(81505))}),r("discourse/routes/edit-category-tabs",function(){return(0,s.A)(i(8160))}),r("discourse/templates/email-login",function(){return(0,s.A)(i(15085))}),r("discourse/controllers/email-login",function(){return(0,s.A)(i(37671))}),r("discourse/routes/email-login",function(){return(0,s.A)(i(43736))}),r("discourse/templates/exception",function(){return(0,s.A)(i(29476))}),r("discourse/controllers/exception",function(){return(0,s.A)(i(46550))}),r("discourse/routes/exception",function(){return(0,s.A)(i(87150))}),r("discourse/templates/full-page-search",function(){return(0,s.A)(i(1443))}),r("discourse/controllers/full-page-search",function(){return(0,s.A)(i(47281))}),r("discourse/routes/full-page-search",function(){return(0,s.A)(i(86932))}),r("discourse/templates/group-activity-posts",function(){return(0,s.A)(i(66812))}),r("discourse/controllers/group-activity-posts",function(){return(0,s.A)(i(57102))}),r("discourse/routes/group-activity-posts",function(){return(0,s.A)(i(3155))}),r("discourse/templates/group-activity-topics",function(){return(0,s.A)(i(36903))}),r("discourse/controllers/group-activity-topics",function(){return(0,s.A)(i(67493))}),r("discourse/routes/group-activity-topics",function(){return(0,s.A)(i(83569))}),r("discourse/controllers/group-activity",function(){return(0,s.A)(i(31808))}),r("discourse/templates/group-index",function(){return(0,s.A)(i(15103))}),r("discourse/controllers/group-index",function(){return(0,s.A)(i(3253))}),r("discourse/routes/group-index",function(){return(0,s.A)(i(69634))}),r("discourse/controllers/group-manage-categories",function(){return(0,s.A)(i(21083))}),r("discourse/routes/group-manage-categories",function(){return(0,s.A)(i(84188))}),r("discourse/controllers/group-manage-logs",function(){return(0,s.A)(i(26016))}),r("discourse/routes/group-manage-logs",function(){return(0,s.A)(i(30543))}),r("discourse/controllers/group-manage-profile",function(){return(0,s.A)(i(88974))}),r("discourse/routes/group-manage-profile",function(){return(0,s.A)(i(56115))}),r("discourse/controllers/group-manage-tags",function(){return(0,s.A)(i(67762))}),r("discourse/routes/group-manage-tags",function(){return(0,s.A)(i(44361))}),r("discourse/controllers/group-manage",function(){return(0,s.A)(i(2846))}),r("discourse/routes/group-manage",function(){return(0,s.A)(i(92139))}),r("discourse/controllers/group-messages",function(){return(0,s.A)(i(13373))}),r("discourse/routes/group-messages",function(){return(0,s.A)(i(83280))}),r("discourse/controllers/group-permissions",function(){return(0,s.A)(i(39081))}),r("discourse/routes/group-permissions",function(){return(0,s.A)(i(74078))}),r("discourse/templates/group-requests",function(){return(0,s.A)(i(98781))}),r("discourse/controllers/group-requests",function(){return(0,s.A)(i(10191))}),r("discourse/routes/group-requests",function(){return(0,s.A)(i(62))}),r("discourse/templates/group",function(){return(0,s.A)(i(16522))}),r("discourse/controllers/group",function(){return(0,s.A)(i(43556))}),r("discourse/routes/group",function(){return(0,s.A)(i(75123))}),r("discourse/templates/group/activity",function(){return(0,s.A)(i(84908))}),r("discourse/templates/group/manage",function(){return(0,s.A)(i(75666))}),r("discourse/templates/group/manage/categories",function(){return(0,s.A)(i(43093))}),r("discourse/templates/group/manage/email",function(){return(0,s.A)(i(39225))}),r("discourse/templates/group/manage/interaction",function(){return(0,s.A)(i(35741))}),r("discourse/templates/group/manage/logs",function(){return(0,s.A)(i(99570))}),r("discourse/templates/group/manage/membership",function(){return(0,s.A)(i(10865))}),r("discourse/templates/group/manage/profile",function(){return(0,s.A)(i(77252))}),r("discourse/templates/group/manage/tags",function(){return(0,s.A)(i(76096))}),r("discourse/templates/group/messages",function(){return(0,s.A)(i(10945))}),r("discourse/templates/group/permissions",function(){return(0,s.A)(i(47317))}),r("discourse/controllers/groups-index",function(){return(0,s.A)(i(81178))}),r("discourse/routes/groups-index",function(){return(0,s.A)(i(47019))}),r("discourse/controllers/groups-new",function(){return(0,s.A)(i(21328))}),r("discourse/routes/groups-new",function(){return(0,s.A)(i(23265))}),r("discourse/controllers/invites-show",function(){return(0,s.A)(i(83387))}),r("discourse/routes/invites-show",function(){return(0,s.A)(i(81534))}),r("discourse/templates/login",function(){return(0,s.A)(i(44264))}),r("discourse/controllers/login",function(){return(0,s.A)(i(52666))}),r("discourse/routes/login",function(){return(0,s.A)(i(65453))}),r("discourse/templates/password-reset",function(){return(0,s.A)(i(32310))}),r("discourse/controllers/password-reset",function(){return(0,s.A)(i(20316))}),r("discourse/routes/password-reset",function(){return(0,s.A)(i(95057))}),r("discourse/templates/preferences",function(){return(0,s.A)(i(83))}),r("discourse/controllers/preferences",function(){return(0,s.A)(i(88169))}),r("discourse/routes/preferences",function(){return(0,s.A)(i(71590))}),r("discourse/templates/preferences/account",function(){return(0,s.A)(i(59871))}),r("discourse/controllers/preferences/account",function(){return(0,s.A)(i(21545))}),r("discourse/controllers/preferences/email",function(){return(0,s.A)(i(6890))}),r("discourse/templates/preferences/emails",function(){return(0,s.A)(i(82431))}),r("discourse/controllers/preferences/emails",function(){return(0,s.A)(i(8185))}),r("discourse/templates/preferences/interface",function(){return(0,s.A)(i(73051))}),r("discourse/controllers/preferences/interface",function(){return(0,s.A)(i(63365))}),r("discourse/templates/preferences/navigation-menu",function(){return(0,s.A)(i(57194))}),r("discourse/controllers/preferences/navigation-menu",function(){return(0,s.A)(i(56012))}),r("discourse/templates/preferences/notifications",function(){return(0,s.A)(i(19240))}),r("discourse/controllers/preferences/notifications",function(){return(0,s.A)(i(18622))}),r("discourse/templates/preferences/profile",function(){return(0,s.A)(i(57237))}),r("discourse/controllers/preferences/profile",function(){return(0,s.A)(i(1947))}),r("discourse/controllers/preferences/second-factor",function(){return(0,s.A)(i(45678))}),r("discourse/templates/preferences/security",function(){return(0,s.A)(i(93932))}),r("discourse/controllers/preferences/security",function(){return(0,s.A)(i(79454))}),r("discourse/templates/preferences/tags",function(){return(0,s.A)(i(43768))}),r("discourse/controllers/preferences/tags",function(){return(0,s.A)(i(73393))}),r("discourse/templates/preferences/tracking",function(){return(0,s.A)(i(1919))}),r("discourse/controllers/preferences/tracking",function(){return(0,s.A)(i(31521))}),r("discourse/templates/preferences/users",function(){return(0,s.A)(i(47876))}),r("discourse/controllers/preferences/users",function(){return(0,s.A)(i(53642))}),r("discourse/templates/preferences/apps",function(){return(0,s.A)(i(63402))}),r("discourse/templates/preferences/categories",function(){return(0,s.A)(i(62282))}),r("discourse/templates/review-index",function(){return(0,s.A)(i(50164))}),r("discourse/controllers/review-index",function(){return(0,s.A)(i(90326))}),r("discourse/routes/review-index",function(){return(0,s.A)(i(52159))}),r("discourse/templates/review-settings",function(){return(0,s.A)(i(82859))}),r("discourse/controllers/review-settings",function(){return(0,s.A)(i(77309))}),r("discourse/routes/review-settings",function(){return(0,s.A)(i(39274))}),r("discourse/templates/second-factor-auth",function(){return(0,s.A)(i(90696))}),r("discourse/controllers/second-factor-auth",function(){return(0,s.A)(i(57722))}),r("discourse/routes/second-factor-auth",function(){return(0,s.A)(i(70567))}),r("discourse/templates/signup",function(){return(0,s.A)(i(89777))}),r("discourse/controllers/signup",function(){return(0,s.A)(i(48679))}),r("discourse/routes/signup",function(){return(0,s.A)(i(63498))}),r("discourse/templates/tag-groups-edit",function(){return(0,s.A)(i(97535))}),r("discourse/controllers/tag-groups-edit",function(){return(0,s.A)(i(56897))}),r("discourse/routes/tag-groups-edit",function(){return(0,s.A)(i(75746))}),r("discourse/templates/tag-groups-new",function(){return(0,s.A)(i(7725))}),r("discourse/controllers/tag-groups-new",function(){return(0,s.A)(i(1011))}),r("discourse/routes/tag-groups-new",function(){return(0,s.A)(i(60090))}),r("discourse/templates/tag-groups",function(){return(0,s.A)(i(55986))}),r("discourse/controllers/tag-groups",function(){return(0,s.A)(i(35104))}),r("discourse/routes/tag-groups",function(){return(0,s.A)(i(4429))}),r("discourse/controllers/tag/show",function(){return(0,s.A)(i(54183))}),r("discourse/controllers/tags-index",function(){return(0,s.A)(i(9091))}),r("discourse/routes/tags-index",function(){return(0,s.A)(i(50446))}),r("discourse/controllers/tags-intersection",function(){return(0,s.A)(i(4174))}),r("discourse/routes/tags-intersection",function(){return(0,s.A)(i(30037))}),r("discourse/templates/topic",function(){return(0,s.A)(i(92202))}),r("discourse/controllers/topic",function(){return(0,s.A)(i(97464))}),r("discourse/routes/topic",function(){return(0,s.A)(i(89283))}),r("discourse/controllers/user-activity-bookmarks",function(){return(0,s.A)(i(48392))}),r("discourse/routes/user-activity-bookmarks",function(){return(0,s.A)(i(61723))}),r("discourse/controllers/user-activity",function(){return(0,s.A)(i(77504))}),r("discourse/routes/user-activity",function(){return(0,s.A)(i(67267))}),r("discourse/controllers/user-badges",function(){return(0,s.A)(i(64781))}),r("discourse/routes/user-badges",function(){return(0,s.A)(i(34154))}),r("discourse/templates/user-invited-show",function(){return(0,s.A)(i(17652))}),r("discourse/controllers/user-invited-show",function(){return(0,s.A)(i(56654))}),r("discourse/routes/user-invited-show",function(){return(0,s.A)(i(43689))}),r("discourse/templates/user-invited",function(){return(0,s.A)(i(80352))}),r("discourse/controllers/user-invited",function(){return(0,s.A)(i(3882))}),r("discourse/routes/user-invited",function(){return(0,s.A)(i(77547))}),r("discourse/controllers/user-notifications",function(){return(0,s.A)(i(9013))}),r("discourse/routes/user-notifications",function(){return(0,s.A)(i(96436))}),r("discourse/controllers/user-posts",function(){return(0,s.A)(i(60330))}),r("discourse/templates/user-private-messages-group",function(){return(0,s.A)(i(75259))}),r("discourse/controllers/user-private-messages-group",function(){return(0,s.A)(i(76637))}),r("discourse/routes/user-private-messages-group",function(){return(0,s.A)(i(70734))}),r("discourse/templates/user-private-messages-tags-index",function(){return(0,s.A)(i(41014))}),r("discourse/controllers/user-private-messages-tags-index",function(){return(0,s.A)(i(45972))}),r("discourse/routes/user-private-messages-tags-index",function(){return(0,s.A)(i(66329))}),r("discourse/templates/user-private-messages-tags",function(){return(0,s.A)(i(23079))}),r("discourse/controllers/user-private-messages-tags",function(){return(0,s.A)(i(61537))}),r("discourse/routes/user-private-messages-tags",function(){return(0,s.A)(i(97016))}),r("discourse/templates/user-private-messages-user",function(){return(0,s.A)(i(45901))}),r("discourse/controllers/user-private-messages-user",function(){return(0,s.A)(i(8639))}),r("discourse/routes/user-private-messages-user",function(){return(0,s.A)(i(84686))}),r("discourse/controllers/user-private-messages",function(){return(0,s.A)(i(67971))}),r("discourse/routes/user-private-messages",function(){return(0,s.A)(i(30120))}),r("discourse/controllers/user-summary",function(){return(0,s.A)(i(93421))}),r("discourse/routes/user-summary",function(){return(0,s.A)(i(22624))}),r("discourse/templates/user-topics-list",function(){return(0,s.A)(i(36708))}),r("discourse/controllers/user-topics-list",function(){return(0,s.A)(i(85894))}),r("discourse/templates/user",function(){return(0,s.A)(i(45114))}),r("discourse/controllers/user",function(){return(0,s.A)(i(18692))}),r("discourse/routes/user",function(){return(0,s.A)(i(40773))}),r("discourse/templates/user/activity",function(){return(0,s.A)(i(29468))}),r("discourse/templates/user/badges",function(){return(0,s.A)(i(58521))}),r("discourse/templates/user/bookmarks",function(){return(0,s.A)(i(40224))}),r("discourse/templates/user/collapsed-info",function(){return(0,s.A)(i(76453))}),r("discourse/templates/user/messages",function(){return(0,s.A)(i(41150))}),r("discourse/templates/user/notifications-index",function(){return(0,s.A)(i(23228))}),r("discourse/templates/user/notifications",function(){return(0,s.A)(i(28937))}),r("discourse/templates/user/posts",function(){return(0,s.A)(i(55910))}),r("discourse/templates/user/profile-hidden",function(){return(0,s.A)(i(16329))}),r("discourse/templates/user/stream",function(){return(0,s.A)(i(83418))}),r("discourse/templates/user/summary",function(){return(0,s.A)(i(52113))}),r("discourse/templates/users",function(){return(0,s.A)(i(16713))}),r("discourse/controllers/users",function(){return(0,s.A)(i(6155))}),r("discourse/routes/users",function(){return(0,s.A)(i(10320))}),r("discourse/routes/account-created-resent",function(){return(0,s.A)(i(2696))}),r("discourse/templates/account-created",function(){return(0,s.A)(i(41475))}),r("discourse/routes/account-created",function(){return(0,s.A)(i(78790))}),r("discourse/templates/account-created/edit-email",function(){return(0,s.A)(i(95775))}),r("discourse/templates/account-created/index",function(){return(0,s.A)(i(41004))}),r("discourse/templates/account-created/resent",function(){return(0,s.A)(i(28005))}),r("discourse/templates/activate-account",function(){return(0,s.A)(i(84330))}),r("discourse/routes/activate-account",function(){return(0,s.A)(i(91837))}),r("discourse/routes/app-route-map",function(){return(0,s.A)(i(66900))}),r("discourse/routes/associate-account",function(){return(0,s.A)(i(65532))}),r("discourse/routes/badges-index",function(){return(0,s.A)(i(71591))}),r("discourse/routes/badges-show",function(){return(0,s.A)(i(73257))}),r("discourse/routes/build-category-route",function(){return(0,s.A)(i(93209))}),r("discourse/routes/build-group-messages-route",function(){return(0,s.A)(i(89751))}),r("discourse/routes/build-private-messages-group-route",function(){return(0,s.A)(i(45677))}),r("discourse/routes/build-private-messages-route",function(){return(0,s.A)(i(43027))}),r("discourse/routes/build-topic-route",function(){return(0,s.A)(i(45614))}),r("discourse/routes/conduct",function(){return(0,s.A)(i(44156))}),r("discourse/routes/discourse",function(){return(0,s.A)(i(61037))}),r("discourse/routes/discovery-categories",function(){return(0,s.A)(i(85739))}),r("discourse/routes/discovery-filter",function(){return(0,s.A)(i(28261))}),r("discourse/routes/discovery-index",function(){return(0,s.A)(i(97667))}),r("discourse/routes/discovery-subcategories",function(){return(0,s.A)(i(41909))}),r("discourse/routes/edit-category-index",function(){return(0,s.A)(i(40618))}),r("discourse/routes/edit-category",function(){return(0,s.A)(i(25307))}),r("discourse/routes/exception-unknown",function(){return(0,s.A)(i(14438))}),r("discourse/templates/faq",function(){return(0,s.A)(i(13753))}),r("discourse/routes/faq",function(){return(0,s.A)(i(1968))}),r("discourse/routes/forgot-password",function(){return(0,s.A)(i(70651))}),r("discourse/routes/group-activity-index",function(){return(0,s.A)(i(47352))}),r("discourse/routes/group-activity-mentions",function(){return(0,s.A)(i(97325))}),r("discourse/routes/group-manage-email",function(){return(0,s.A)(i(40930))}),r("discourse/routes/group-manage-index",function(){return(0,s.A)(i(14010))}),r("discourse/routes/group-manage-interaction",function(){return(0,s.A)(i(25554))}),r("discourse/routes/group-manage-membership",function(){return(0,s.A)(i(57e3))}),r("discourse/routes/group-members",function(){return(0,s.A)(i(37609))}),r("discourse/routes/group-messages-archive",function(){return(0,s.A)(i(12559))}),r("discourse/routes/group-messages-inbox",function(){return(0,s.A)(i(65445))}),r("discourse/routes/group-messages-index",function(){return(0,s.A)(i(1393))}),r("discourse/routes/guidelines",function(){return(0,s.A)(i(60729))}),r("discourse/routes/new-category",function(){return(0,s.A)(i(21171))}),r("discourse/routes/new-invite",function(){return(0,s.A)(i(49166))}),r("discourse/routes/new-message",function(){return(0,s.A)(i(42016))}),r("discourse/routes/new-topic",function(){return(0,s.A)(i(99256))}),r("discourse/routes/post",function(){return(0,s.A)(i(46452))}),r("discourse/templates/posts",function(){return(0,s.A)(i(38634))}),r("discourse/routes/posts",function(){return(0,s.A)(i(80507))}),r("discourse/routes/preferences-account",function(){return(0,s.A)(i(39724))}),r("discourse/routes/preferences-apps",function(){return(0,s.A)(i(7967))}),r("discourse/templates/preferences-email",function(){return(0,s.A)(i(34762))}),r("discourse/routes/preferences-email",function(){return(0,s.A)(i(44271))}),r("discourse/routes/preferences-emails",function(){return(0,s.A)(i(94282))}),r("discourse/routes/preferences-index",function(){return(0,s.A)(i(21947))}),r("discourse/routes/preferences-interface",function(){return(0,s.A)(i(91040))}),r("discourse/routes/preferences-navigation-menu",function(){return(0,s.A)(i(73037))}),r("discourse/routes/preferences-notifications",function(){return(0,s.A)(i(14003))}),r("discourse/routes/preferences-profile",function(){return(0,s.A)(i(44886))}),r("discourse/templates/preferences-second-factor",function(){return(0,s.A)(i(28110))}),r("discourse/routes/preferences-second-factor",function(){return(0,s.A)(i(26467))}),r("discourse/routes/preferences-security",function(){return(0,s.A)(i(70641))}),r("discourse/routes/preferences-tags",function(){return(0,s.A)(i(16506))}),r("discourse/routes/preferences-tracking",function(){return(0,s.A)(i(43850))}),r("discourse/routes/preferences-users",function(){return(0,s.A)(i(45871))}),r("discourse/templates/privacy",function(){return(0,s.A)(i(96769))}),r("discourse/routes/privacy",function(){return(0,s.A)(i(53156))}),r("discourse/routes/restricted-user",function(){return(0,s.A)(i(12999))}),r("discourse/templates/review-show",function(){return(0,s.A)(i(72087))}),r("discourse/routes/review-show",function(){return(0,s.A)(i(622))}),r("discourse/templates/review-topics",function(){return(0,s.A)(i(842))}),r("discourse/routes/review-topics",function(){return(0,s.A)(i(30551))}),r("discourse/templates/review",function(){return(0,s.A)(i(35969))}),r("discourse/routes/review",function(){return(0,s.A)(i(41898))}),r("discourse/routes/rules",function(){return(0,s.A)(i(40639))}),r("discourse/routes/tag-show",function(){return(0,s.A)(i(20532))}),r("discourse/routes/tags-legacy-redirect",function(){return(0,s.A)(i(76380))}),r("discourse/routes/topic-by-slug-or-id",function(){return(0,s.A)(i(80505))}),r("discourse/routes/topic-from-params-near",function(){return(0,s.A)(i(60550))}),r("discourse/routes/topic-from-params",function(){return(0,s.A)(i(92035))}),r("discourse/templates/tos",function(){return(0,s.A)(i(78087))}),r("discourse/routes/tos",function(){return(0,s.A)(i(68174))}),r("discourse/templates/unknown",function(){return(0,s.A)(i(86275))}),r("discourse/routes/unknown",function(){return(0,s.A)(i(89066))}),r("discourse/routes/user-activity-bookmarks-with-reminders",function(){return(0,s.A)(i(26454))}),r("discourse/routes/user-activity-drafts",function(){return(0,s.A)(i(73692))}),r("discourse/routes/user-activity-index",function(){return(0,s.A)(i(98770))}),r("discourse/routes/user-activity-likes-given",function(){return(0,s.A)(i(60674))}),r("discourse/templates/user-activity-pending",function(){return(0,s.A)(i(18876))}),r("discourse/routes/user-activity-pending",function(){return(0,s.A)(i(13973))}),r("discourse/routes/user-activity-read",function(){return(0,s.A)(i(51428))}),r("discourse/routes/user-activity-replies",function(){return(0,s.A)(i(86658))}),r("discourse/routes/user-activity-stream",function(){return(0,s.A)(i(49384))}),r("discourse/routes/user-activity-topics",function(){return(0,s.A)(i(14852))}),r("discourse/routes/user-deleted-posts",function(){return(0,s.A)(i(6739))}),r("discourse/routes/user-index",function(){return(0,s.A)(i(24395))}),r("discourse/routes/user-invited-index",function(){return(0,s.A)(i(29594))}),r("discourse/routes/user-notifications-edits",function(){return(0,s.A)(i(73768))}),r("discourse/routes/user-notifications-index",function(){return(0,s.A)(i(30373))}),r("discourse/routes/user-notifications-likes-received",function(){return(0,s.A)(i(10701))}),r("discourse/routes/user-notifications-links",function(){return(0,s.A)(i(10228))}),r("discourse/routes/user-notifications-mentions",function(){return(0,s.A)(i(98))}),r("discourse/routes/user-notifications-responses",function(){return(0,s.A)(i(61462))}),r("discourse/routes/user-private-messages-group-archive",function(){return(0,s.A)(i(8289))}),r("discourse/routes/user-private-messages-group-index",function(){return(0,s.A)(i(96355))}),r("discourse/routes/user-private-messages-group-new",function(){return(0,s.A)(i(7833))}),r("discourse/routes/user-private-messages-group-unread",function(){return(0,s.A)(i(66836))}),r("discourse/routes/user-private-messages-tags-show",function(){return(0,s.A)(i(42188))}),r("discourse/routes/user-private-messages-user-archive",function(){return(0,s.A)(i(73345))}),r("discourse/routes/user-private-messages-user-index",function(){return(0,s.A)(i(82563))}),r("discourse/routes/user-private-messages-user-new",function(){return(0,s.A)(i(11865))}),r("discourse/routes/user-private-messages-user-sent",function(){return(0,s.A)(i(49297))}),r("discourse/routes/user-private-messages-user-unread",function(){return(0,s.A)(i(4212))}),r("discourse/routes/user-private-messages-user-warnings",function(){return(0,s.A)(i(88494))}),r("discourse/routes/user-topic-list",function(){return(0,s.A)(i(55384))}),r("discourse/templates/groups/index",function(){return(0,s.A)(i(66962))}),r("discourse/templates/groups/new",function(){return(0,s.A)(i(13256))}),r("discourse/templates/invites",function(){return(0,s.A)(i(90883))}),r("discourse/templates/invites/show",function(){return(0,s.A)(i(10735))}),r("discourse/templates/loading",function(){return(0,s.A)(i(39157))}),r("discourse/templates/login-preferences",function(){return(0,s.A)(i(38767))}),r("discourse/templates/selected-posts",function(){return(0,s.A)(i(65642))}),r("discourse/templates/tag-groups-index",function(){return(0,s.A)(i(5351))}),r("discourse/templates/tags",function(){return(0,s.A)(i(77556))}),r("discourse/templates/tags/index",function(){return(0,s.A)(i(47851))}),n._embroiderRouteBundles_=[{names:["wizard","wizard.index","wizard.step"],load:function(){return i.e(256).then(i.bind(i,47256))}}]},56115:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(61037),n=i(88820);class r extends s.default{titleToken(){return(0,n.i18n)("groups.manage.profile.title")}}},56178:e=>{e.exports="object"==typeof global&&global&&global.Object===Object&&global},56266:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95766),n=i(77667),r=i(18555),a=i(41422),o=i(72523),l=i(10723);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"capabilities",[r.service]))();#j=(()=>void dt7948.i(this,"capabilities"))();static #i=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#eO=(()=>void dt7948.i(this,"appEvents"))();MIN_THRESHOLD=120;constructor(){if(super(...arguments),!window.visualViewport||!this.capabilities.isIpadOS&&this.site.desktopView)return;this.windowInnerHeight=window.innerHeight,(0,n.scheduleOnce)("afterRender",this,this.debouncedOnViewportResize),window.visualViewport.addEventListener("resize",this.debouncedOnViewportResize)}willDestroy(){super.willDestroy(...arguments),(0,n.cancel)(this.debouncedHandler),window.visualViewport.removeEventListener("resize",this.debouncedOnViewportResize)}setVH(){if((0,l.default)())return;let e=Math.round(window.visualViewport.height);if(this.previousHeight&&1>=Math.abs(this.previousHeight-e))return!1;this.previousHeight=e,document.documentElement.style.setProperty("--composer-vh",`${e/100}px`)}debouncedOnViewportResize(){this.debouncedHandler=(0,a.default)(this,this.onViewportResize,50)}static #s=(()=>dt7948.n(this.prototype,"debouncedOnViewportResize",[o.bind]))();onViewportResize(){if(!1===this.setVH())return;let e=document.documentElement,t=!1;this.windowInnerHeight-window.visualViewport.height>this.MIN_THRESHOLD&&(t=!0),this.appEvents.trigger("keyboard-visibility-change",t),t?e.classList.add("keyboard-visible"):e.classList.remove("keyboard-visible")}static #u=(()=>dt7948.n(this.prototype,"onViewportResize",[o.bind]))()}},56270:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})},56281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>N});var s=i(95766),n=i(87531),r=i(25604),a=i(4781),o=i(75527),l=i(5845),u=i(77667),c=i(18555),d=i(83426),p=i(88761),h=i(11075),m=i(72490),g=i(3948),f=i(90403),_=i(71396),y=i(53769),b=i(77586),w=i(53775),k=i(70412),T=i(25239),S=i(29174),C=i(70677),A=i(18674),D=i(74089),M=i(90211),x=i(85899),E=i(36649),L=i(88820),P=i(5263),F=i(72799),I=i(71209);class N extends s.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[c.service]))();#j=(()=>void dt7948.i(this,"capabilities"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[c.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[c.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();static #s=(()=>dt7948.g(this.prototype,"site",[c.service]))();#r=(()=>void dt7948.i(this,"site"))();static #u=(()=>dt7948.g(this.prototype,"login",[c.service]))();#eQ=(()=>void dt7948.i(this,"login"))();static #c=(()=>dt7948.g(this.prototype,"modal",[c.service]))();#p=(()=>void dt7948.i(this,"modal"))();static #_=(()=>dt7948.g(this.prototype,"loggingIn",[n.tracked],function(){return!1}))();#uq=(()=>void dt7948.i(this,"loggingIn"))();static #b=(()=>dt7948.g(this.prototype,"loggedIn",[n.tracked],function(){return!1}))();#u$=(()=>void dt7948.i(this,"loggedIn"))();static #v=(()=>dt7948.g(this.prototype,"showLoginButtons",[n.tracked],function(){return!0}))();#uz=(()=>void dt7948.i(this,"showLoginButtons"))();static #w=(()=>dt7948.g(this.prototype,"showSecondFactor",[n.tracked],function(){return!1}))();#uW=(()=>void dt7948.i(this,"showSecondFactor"))();static #k=(()=>dt7948.g(this.prototype,"loginPassword",[n.tracked],function(){return""}))();#uK=(()=>void dt7948.i(this,"loginPassword"))();static #T=(()=>dt7948.g(this.prototype,"loginName",[n.tracked],function(){return""}))();#uG=(()=>void dt7948.i(this,"loginName"))();static #S=(()=>dt7948.g(this.prototype,"flash",[n.tracked],function(){return this.args.model.flash}))();#Q=(()=>void dt7948.i(this,"flash"))();static #C=(()=>dt7948.g(this.prototype,"flashType",[n.tracked],function(){return this.args.model.flashType}))();#nA=(()=>void dt7948.i(this,"flashType"))();static #A=(()=>dt7948.g(this.prototype,"canLoginLocal",[n.tracked],function(){return this.siteSettings.enable_local_logins}))();#uJ=(()=>void dt7948.i(this,"canLoginLocal"))();static #D=(()=>dt7948.g(this.prototype,"canLoginLocalWithEmail",[n.tracked],function(){return this.siteSettings.enable_local_logins_via_email}))();#uQ=(()=>void dt7948.i(this,"canLoginLocalWithEmail"))();static #M=(()=>dt7948.g(this.prototype,"secondFactorMethod",[n.tracked],function(){return E.SECOND_FACTOR_METHODS.TOTP}))();#rI=(()=>void dt7948.i(this,"secondFactorMethod"))();static #z=(()=>dt7948.g(this.prototype,"securityKeyCredential",[n.tracked]))();#uX=(()=>void dt7948.i(this,"securityKeyCredential"))();static #V=(()=>dt7948.g(this.prototype,"otherMethodAllowed",[n.tracked]))();#nr=(()=>void dt7948.i(this,"otherMethodAllowed"))();static #W=(()=>dt7948.g(this.prototype,"secondFactorRequired",[n.tracked]))();#nt=(()=>void dt7948.i(this,"secondFactorRequired"))();static #K=(()=>dt7948.g(this.prototype,"backupEnabled",[n.tracked]))();#ns=(()=>void dt7948.i(this,"backupEnabled"))();static #G=(()=>dt7948.g(this.prototype,"totpEnabled",[n.tracked]))();#uZ=(()=>void dt7948.i(this,"totpEnabled"))();static #J=(()=>dt7948.g(this.prototype,"showSecurityKey",[n.tracked]))();#u1=(()=>void dt7948.i(this,"showSecurityKey"))();static #e0=(()=>dt7948.g(this.prototype,"securityKeyChallenge",[n.tracked]))();#u0=(()=>void dt7948.i(this,"securityKeyChallenge"))();static #e2=(()=>dt7948.g(this.prototype,"securityKeyAllowedCredentialIds",[n.tracked]))();#u2=(()=>void dt7948.i(this,"securityKeyAllowedCredentialIds"))();static #e3=(()=>dt7948.g(this.prototype,"secondFactorToken",[n.tracked]))();#sJ=(()=>void dt7948.i(this,"secondFactorToken"))();get awaitingApproval(){return this.args.model.awaitingApproval&&!this.canLoginLocal&&!this.canLoginLocalWithEmail}get loginDisabled(){return this.loggingIn||this.loggedIn}get modalBodyClasses(){let e=["login-modal-body"];return this.awaitingApproval&&e.push("awaiting-approval"),!this.hasAtLeastOneLoginButton||this.showSecondFactor||this.showSecurityKey||e.push("has-alt-auth"),this.canLoginLocal||e.push("no-local-login"),(this.showSecondFactor||this.showSecurityKey)&&e.push("second-factor"),e.join(" ")}get canUsePasskeys(){return this.siteSettings.enable_local_logins&&this.siteSettings.enable_passkeys&&(0,M.isWebauthnSupported)()}get hasAtLeastOneLoginButton(){return(0,x.findAll)().length>0||this.canUsePasskeys}get hasNoLoginOptions(){return!this.hasAtLeastOneLoginButton&&!this.canLoginLocal}get loginButtonLabel(){return this.loggingIn?"login.logging_in":"login.title"}get showSignupLink(){return this.args.model.canSignUp&&!this.showSecondFactor}get adminLoginPath(){return(0,C.default)("/u/admin-login")}async passkeyLogin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"optional";try{let t=await (0,M.getPasskeyCredential)(e=>this.dialog.alert(e),e,this.capabilities.isFirefox);if(t){let e=await (0,w.ajax)("/session/passkey/auth.json",{type:"POST",data:{publicKeyCredential:t}});if(e&&!e.error){let e=(0,T.default)("destination_url"),t=(0,T.default)("sso_destination_url");t?((0,T.removeCookie)("sso_destination_url"),window.location.assign(t)):e?((0,T.removeCookie)("destination_url"),window.location.assign(e)):this.args.model.referrerTopicUrl?window.location.assign(this.args.model.referrerTopicUrl):window.location.reload()}else this.dialog.alert(e.error)}}catch(e){(0,k.popupAjaxError)(e)}}static #e8=(()=>dt7948.n(this.prototype,"passkeyLogin",[o.action]))();preloadLogin(){let e=document.querySelector("#hidden-login-form input[name=username]")?.value;e?(this.loginName=e,this.loginPassword=document.querySelector("#hidden-login-form input[name=password]").value):(0,T.default)("email")&&(this.loginName=(0,T.default)("email"))}static #e4=(()=>dt7948.n(this.prototype,"preloadLogin",[o.action]))();securityKeyCredentialChanged(e){this.securityKeyCredential=e}static #e7=(()=>dt7948.n(this.prototype,"securityKeyCredentialChanged",[o.action]))();flashChanged(e){this.flash=e}static #e9=(()=>dt7948.n(this.prototype,"flashChanged",[o.action]))();flashTypeChanged(e){this.flashType=e}static #e5=(()=>dt7948.n(this.prototype,"flashTypeChanged",[o.action]))();loginNameChanged(e){this.loginName=e.target.value}static #e6=(()=>dt7948.n(this.prototype,"loginNameChanged",[o.action]))();async triggerLogin(){if(!this.loginDisabled){if((0,p.isEmpty)(this.loginName)||(0,p.isEmpty)(this.loginPassword)){this.flash=(0,L.i18n)("login.blank_username_or_password"),this.flashType="error";return}try{this.loggingIn=!0;let e=await (0,w.ajax)("/session",{type:"POST",data:{login:this.loginName,password:this.loginPassword,second_factor_token:this.securityKeyCredential||this.secondFactorToken,second_factor_method:this.secondFactorMethod,timezone:moment.tz.guess()}});if(e&&e.error){if(this.loggingIn=!1,this.flash=null,(e.security_key_enabled||e.totp_enabled)&&!this.secondFactorRequired){this.otherMethodAllowed=e.multiple_second_factor_methods,this.secondFactorRequired=!0,this.showLoginButtons=!1,this.backupEnabled=e.backup_enabled,this.totpEnabled=e.totp_enabled,this.showSecondFactor=e.totp_enabled,this.showSecurityKey=e.security_key_enabled,this.secondFactorMethod=e.security_key_enabled?E.SECOND_FACTOR_METHODS.SECURITY_KEY:E.SECOND_FACTOR_METHODS.TOTP,this.securityKeyChallenge=e.challenge,this.securityKeyAllowedCredentialIds=e.allowed_credential_ids,this.showSecurityKey||(0,u.schedule)("afterRender",()=>document.getElementById("second-factor").querySelector("input").focus());return}"not_activated"===e.reason?this.args.model.showNotActivated({username:this.loginName,sentTo:(0,S.default)(e.sent_to_email),currentEmail:(0,S.default)(e.current_email)}):"suspended"===e.reason?(this.args.closeModal(),this.dialog.alert(e.error)):("expired"===e.reason?this.flash=(0,d.htmlSafe)((0,L.i18n)("login.password_expired",{reset_url:(0,C.default)("/password-reset")})):this.flash=e.error,this.flashType="error")}else{this.loggedIn=!0;let e=document.getElementById("hidden-login-form"),t=(t,i)=>{e&&(e.querySelector(`input[name=${i}]`).value=t)},i=(0,T.default)("destination_url"),s=(0,T.default)("sso_destination_url");if(t(this.loginName,"username"),t(this.loginPassword,"password"),s){(0,T.removeCookie)("sso_destination_url"),window.location.assign(s);return}i?((0,T.removeCookie)("destination_url"),t(i,"redirect")):t(this.args.model.referrerTopicUrl?this.args.model.referrerTopicUrl:window.location.href,"redirect"),e&&(navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&navigator.userAgent.match(/Safari/g)?window.location.href=e.querySelector("input[name=redirect]").value:e.submit());return}}catch(e){e.jqXHR&&429===e.jqXHR.status?this.flash=(0,L.i18n)("login.rate_limit"):e.jqXHR&&503===e.jqXHR.status&&"read_only"===e.jqXHR.responseJSON.error_type?this.flash=(0,L.i18n)("read_only_mode.login_disabled"):(0,D.areCookiesEnabled)()?this.flash=(0,L.i18n)("login.error"):this.flash=(0,L.i18n)("login.cookies_error"),this.flashType="error",this.loggingIn=!1}}}static #te=(()=>dt7948.n(this.prototype,"triggerLogin",[o.action]))();externalLoginAction(e){this.loginDisabled||this.login.externalLogin(e,{signup:!1,setLoggingIn:e=>this.loggingIn=e})}static #tt=(()=>dt7948.n(this.prototype,"externalLoginAction",[o.action]))();createAccount(){let e={};this.loginName&&this.loginName.indexOf("@")>0?(e.accountEmail=this.loginName,e.accountUsername=null):(e.accountUsername=this.loginName,e.accountEmail=null),this.args.model.showCreateAccount(e)}static #ti=(()=>dt7948.n(this.prototype,"createAccount",[o.action]))();interceptResetLink(e){!(0,A.wantsNewWindow)(e)&&e.target.href&&new URL(e.target.href).pathname===(0,C.default)("/password-reset")&&(e.preventDefault(),e.stopPropagation(),this.modal.show(P.default,{model:{emailOrUsername:this.loginName}}))}static #sF=(()=>dt7948.n(this.prototype,"interceptResetLink",[o.action]))();static #sI=(()=>(0,F.setComponentTemplate)((0,I.createTemplateFactory)({id:"oJf93cnp",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"login-modal -large"],[4,[32,1],[[30,0,["preloadLogin"]]],null],[4,[32,2],["click",[30,0,["interceptResetLink"]]],null]],[["@bodyClass","@closeModal","@flash","@flashType"],[[30,0,["modalBodyClasses"]],[30,1],[30,0,["flash"]],[30,0,["flashType"]]]],[["body","footer"],[[[[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName"],["login-before-modal-body","div"]],null],[1,"\\n\\n"],[41,[30,0,["hasNoLoginOptions"]],[[[1," "],[10,0],[15,0,[52,[30,0,["site","desktopView"]],"login-left-side"]],[12],[1,"\\n "],[10,0],[14,0,"login-welcome-header no-login-methods-configured"],[12],[1,"\\n "],[10,"h1"],[14,0,"login-title"],[12],[1,[28,[32,4],["login.no_login_methods.title"],null]],[13],[1,"\\n "],[10,"img"],[12],[13],[1,"\\n "],[10,2],[14,0,"login-subheader"],[12],[1,"\\n "],[1,[28,[32,5],[[28,[32,4],["login.no_login_methods.description",[28,[32,6],null,[["adminLoginPath"],[[30,0,["adminLoginPath"]]]]]],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,7],null,[["@header"],[[28,[32,4],["login.header_title"],null]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@name","@outletArgs"],["login-header-bottom",[28,[32,6],null,[["createAccount"],[[30,0,["createAccount"]]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"],[41,[30,0,["showLoginButtons"]],[[[1," "],[8,[32,8],null,[["@externalLogin","@passkeyLogin","@context"],[[30,0,["externalLoginAction"]],[30,0,["passkeyLogin"]],"login"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["canLoginLocal"]],[[[1," "],[10,0],[15,0,[52,[30,0,["site","desktopView"]],"login-left-side"]],[12],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,7],null,[["@header"],[[28,[32,4],["login.header_title"],null]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@name","@outletArgs"],["login-header-bottom",[28,[32,6],null,[["createAccount"],[[30,0,["createAccount"]]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[8,[32,9],null,[["@loginName","@loginNameChanged","@canLoginLocalWithEmail","@canUsePasskeys","@passkeyLogin","@loginPassword","@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@securityKeyAllowedCredentialIds","@securityKeyChallenge","@showSecurityKey","@otherMethodAllowed","@showSecondFactor","@handleForgotPassword","@login","@flashChanged","@flashTypeChanged","@securityKeyCredentialChanged"],[[30,0,["loginName"]],[30,0,["loginNameChanged"]],[30,0,["canLoginLocalWithEmail"]],[30,0,["canUsePasskeys"]],[30,0,["passkeyLogin"]],[30,0,["loginPassword"]],[30,0,["secondFactorMethod"]],[30,0,["secondFactorToken"]],[30,0,["backupEnabled"]],[30,0,["totpEnabled"]],[30,0,["securityKeyAllowedCredentialIds"]],[30,0,["securityKeyChallenge"]],[30,0,["showSecurityKey"]],[30,0,["otherMethodAllowed"]],[30,0,["showSecondFactor"]],[30,0,["handleForgotPassword"]],[30,0,["triggerLogin"]],[30,0,["flashChanged"]],[30,0,["flashTypeChanged"]],[30,0,["securityKeyCredentialChanged"]]]],null],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[10,0],[14,0,"d-modal__footer"],[12],[1,"\\n "],[8,[32,10],null,[["@canLoginLocal","@showSecurityKey","@login","@loginButtonLabel","@loginDisabled","@showSignupLink","@createAccount","@loggingIn","@showSecondFactor"],[[30,0,["canLoginLocal"]],[30,0,["showSecurityKey"]],[30,0,["triggerLogin"]],[30,0,["loginButtonLabel"]],[30,0,["loginDisabled"]],[30,0,["showSignupLink"]],[30,0,["createAccount"]],[30,0,["loggingIn"]],[30,0,["showSecondFactor"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,11],[[30,0,["showLoginButtons"]],[30,0,["site","desktopView"]]],null],[[[41,[51,[30,0,["canLoginLocal"]]],[[[1," "],[10,0],[14,0,"login-left-side"],[12],[1,"\\n "],[8,[32,7],null,[["@header"],[[28,[32,4],["login.header_title"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasAtLeastOneLoginButton"]],[[[1," "],[10,0],[14,0,"login-right-side"],[12],[1,"\\n "],[8,[32,8],null,[["@externalLogin","@passkeyLogin","@context"],[[30,0,["externalLoginAction"]],[30,0,["passkeyLogin"]],"login"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null]],[]]],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[41,[51,[30,0,["hasNoLoginOptions"]]],[[[1," "],[8,[32,10],null,[["@canLoginLocal","@showSecurityKey","@login","@loginButtonLabel","@loginDisabled","@showSignupLink","@createAccount","@loggingIn","@showSecondFactor"],[[30,0,["canLoginLocal"]],[30,0,["showSecurityKey"]],[30,0,["triggerLogin"]],[30,0,["loginButtonLabel"]],[30,0,["loginDisabled"]],[30,0,["showSignupLink"]],[30,0,["createAccount"]],[30,0,["loggingIn"]],[30,0,["showSecondFactor"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/login.js",scope:()=>[m.default,l.default,a.on,y.default,L.i18n,d.htmlSafe,r.hash,b.default,f.default,g.default,_.default,h.and],isStrictMode:!0}),this))()}},56351:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(61152);let n={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object AsyncFunction]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object FileList]":"filelist"},{toString:r}=Object.prototype;function a(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=n[r.call(e)]||"object";return"function"===t?s.default.detect(e)&&(t="class"):"object"===t&&(e instanceof Error?t="error":e instanceof s.default?t="instance":e instanceof Date&&(t="date")),t}},56386:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4781),n=i(83426),r=i(11075),a=i(12733),o=i(72799),l=i(71209),u=i(86960);let c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"TN05zWBR",block:'[[[1,"\\n "],[10,0],[14,0,"control-group form-template-field"],[14,"data-field-type","dropdown"],[12],[1,"\\n"],[41,[30,1,["label"]],[[[1," "],[10,"label"],[14,0,"form-template-field__label"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n"],[41,[30,2,["required"]],[[[1," "],[1,[28,[32,0],["asterisk"],[["class"],["form-template-field__required-indicator"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1," "],[10,1],[14,0,"form-template-field__description"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["description"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"select"],[16,3,[30,3]],[24,0,"form-template-field__dropdown"],[16,"required",[52,[30,2,["required"]],"required",""]],[4,[32,2],["input",[30,4]],null],[12],[1,"\\n"],[41,[30,1,["none_label"]],[[[1," "],[10,"option"],[14,0,"form-template-field__dropdown-placeholder"],[14,2,""],[14,"disabled",""],[14,"selected",""],[14,"hidden",""],[12],[1,[30,1,["none_label"]]],[13],[1,"\\n"]],[]],null],[42,[28,[31,2],[[28,[31,2],[[30,5]],null]],null],null,[[[1," "],[10,"option"],[15,2,[30,6]],[15,"selected",[28,[32,3],[[30,7],[30,6]],null]],[12],[1,[30,6]],[13],[1,"\\n"]],[6]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],["@attributes","@validations","@id","@onChange","@choices","choice","@value"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/dropdown.js",scope:()=>[a.default,n.htmlSafe,s.on,r.eq],isStrictMode:!0}),(0,u.default)(void 0,"dropdown:Dropdown"))},56472:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(72799),n=i(25604),r=i(75527),a=i(32504),o=i(81539),l=i(23722),u=i(30616),c=i(88820),d=i(71209);let p=dt7948.c(class extends s.default{expandDetails=!1;toggleDetails(){this.toggleProperty("expandDetails")}static #e=(()=>dt7948.n(this.prototype,"toggleDetails",[r.action]))();filter(e){this.set(`filters.${e.key}`,e.value)}static #t=(()=>dt7948.n(this.prototype,"filter",[r.action]))();static #i=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"YupHq/0f",block:'[[[1,"\\n "],[10,"tr"],[14,0,"group-manage-logs-row"],[12],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-default"]],[["@action","@translatedLabel"],[[28,[32,1],[[30,0,["filter"]],[28,[32,2],null,[["value","key"],[[30,0,["log","action"]],"action"]]]],null],[30,0,["log","actionTitle"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"td"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,3],[[30,0,["log","acting_user"]]],[["imageSize"],["tiny"]]]],[13],[1,"\\n "],[8,[32,0],[[24,0,"btn-default"]],[["@action","@translatedLabel"],[[28,[32,1],[[30,0,["filter"]],[28,[32,2],null,[["value","key"],[[30,0,["log","acting_user","username"]],"acting_user"]]]],null],[30,0,["log","acting_user","username"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"td"],[12],[1,"\\n"],[41,[30,0,["log","target_user"]],[[[1," "],[10,1],[12],[1,[28,[32,3],[[30,0,["log","target_user"]]],[["imageSize"],["tiny"]]]],[13],[1,"\\n "],[8,[32,0],[[24,0,"btn-default"]],[["@action","@translatedLabel"],[[28,[32,1],[[30,0,["filter"]],[28,[32,2],null,[["value","key"],[[30,0,["log","target_user","username"]],"target_user"]]]],null],[30,0,["log","target_user","username"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,"td"],[12],[1,"\\n"],[41,[30,0,["log","subject"]],[[[1," "],[8,[32,0],[[24,0,"btn-default"]],[["@action","@translatedLabel"],[[28,[32,1],[[30,0,["filter"]],[28,[32,2],null,[["value","key"],[[30,0,["log","subject"]],"subject"]]]],null],[30,0,["log","subject"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,"td"],[12],[1,[28,[32,4],[[30,0,["log","created_at"]]],null]],[13],[1,"\\n\\n "],[10,"td"],[14,0,"group-manage-logs-expand-details"],[12],[1,"\\n"],[41,[30,0,["log","prev_value"]],[[[1," "],[8,[32,0],null,[["@action","@icon"],[[30,0,["toggleDetails"]],[52,[30,0,["expandDetails"]],"angle-up","angle-down"]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["expandDetails"]],[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[14,"colspan","6"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"strong"],[12],[1,[28,[32,5],["groups.manage.logs.from"],null]],[13],[1,":\\n "],[10,"code"],[12],[1,[30,0,["log","prev_value"]]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[10,"strong"],[12],[1,[28,[32,5],["groups.manage.logs.to"],null]],[13],[1,":\\n "],[10,"code"],[12],[1,[30,0,["log","new_value"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-manage-logs-row.js",scope:()=>[o.default,n.fn,n.hash,l.default,u.default,c.i18n],isStrictMode:!0}),this))()},[(0,a.tagName)("")])},56489:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})})},56607:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(95766),n=i(87531),r=i(25604),a=i(75527),o=i(18555),l=i(11075),u=i(81539),c=i(39268),d=i(12733),p=i(35352),h=i(88820),m=i(72799),g=i(71209);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#r=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"isEditing",[n.tracked],function(){return!1}))();#at=(()=>void dt7948.i(this,"isEditing"))();get participantsClasses(){return!this.isEditing&&this.site.mobileView&&this.args.topicDetails.allowed_groups.length>4?"participants hide-names":"participants"}get canInvite(){return this.args.topicDetails.can_invite_to}get canRemove(){return this.args.topicDetails.can_remove_allowed_users||this.args.topicDetails.can_remove_self_id}get canShowControls(){return this.canInvite||this.canRemove}get actionAllowed(){return this.canRemove?this.toggleEditing:this.args.showInvite}get actionAllowedLabel(){return this.canInvite&&this.canRemove?"private_message_info.edit":!this.canInvite&&this.canRemove?"private_message_info.remove":"private_message_info.add"}toggleEditing(){this.isEditing=!this.isEditing}static #i=(()=>dt7948.n(this.prototype,"toggleEditing",[a.action]))();static #s=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"SYFKBNrO",block:'[[[1,"\\n "],[10,0],[15,0,[30,0,["participantsClasses"]]],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["allowed_groups"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@model","@isEditing","@canRemoveAllowedUsers","@removeAllowedGroup"],[[30,2],[30,0,["isEditing"]],[30,1,["can_remove_allowed_users"]],[30,3]]],null],[1,"\\n"]],[2]],null],[42,[28,[31,1],[[28,[31,1],[[30,1,["allowed_users"]]],null]],null],null,[[[1," "],[8,[32,1],null,[["@model","@isEditing","@canRemoveAllowedUsers","@canRemoveSelfId","@removeAllowedUser"],[[30,4],[30,0,["isEditing"]],[30,1,["can_remove_allowed_users"]],[30,1,["can_remove_self_id"]],[30,5]]],null],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["canShowControls"]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-default add-remove-participant-btn"]],[["@action","@label"],[[30,0,["actionAllowed"]],[30,0,["actionAllowedLabel"]]]],null],[1,"\\n\\n"],[41,[28,[32,3],[[30,0,["canInvite"]],[30,0,["isEditing"]]],null],[[[1," "],[8,[32,2],[[24,0,"btn-default add-participant-btn"]],[["@action","@icon"],[[30,6],"plus"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@topicDetails","group","@removeAllowedGroup","user","@removeAllowedUser","@showInvite"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/private-message-map.js",scope:()=>[_,b,u.default,l.and],isStrictMode:!0}),this))()}class _ extends s.default{get canRemoveLink(){return this.args.isEditing&&this.args.canRemoveAllowedUsers}get groupUrl(){return(0,p.groupPath)(this.args.model.name)}static #e=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"isLeg0lP",block:'[[[1,"\\n "],[10,0],[14,0,"user group"],[12],[1,"\\n "],[10,3],[15,6,[30,0,["groupUrl"]]],[14,0,"group-link"],[12],[1,"\\n "],[1,[28,[32,0],["users"],null]],[1,"\\n "],[10,1],[14,0,"group-name"],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["canRemoveLink"]],[[[1," "],[8,[32,1],null,[["@model","@removeAllowedGroup"],[[30,1],[30,2]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","@removeAllowedGroup"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/private-message-map.js",scope:()=>[d.default,y],isStrictMode:!0}),this))()}class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#d=(()=>void dt7948.i(this,"dialog"))();showConfirmDialog(){this.dialog.deleteConfirm({message:(0,h.i18n)("private_message_info.remove_allowed_group",{name:this.args.model.name}),confirmButtonLabel:"private_message_info.remove_group",didConfirm:()=>this.args.removeAllowedGroup(this.args.model)})}static #t=(()=>dt7948.n(this.prototype,"showConfirmDialog",[a.action]))();static #i=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"pYHtg6/s",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"remove-invited"]],[["@action","@icon"],[[30,0,["showConfirmDialog"]],"xmark"]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/private-message-map.js",scope:()=>[u.default],isStrictMode:!0}),this))()}class b extends s.default{get avatarTitle(){return this.args.model.name||this.args.model.username}get isCurrentUser(){return this.args.canRemoveSelfId===this.args.model.id}get canRemoveLink(){return this.args.isEditing&&(this.args.canRemoveAllowedUsers||this.isCurrentUser)}static #e=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"oXyjIykc",block:'[[[1,"\\n "],[10,0],[14,0,"user"],[12],[1,"\\n "],[10,3],[14,0,"user-link"],[15,6,[30,1,["path"]]],[12],[1,"\\n "],[10,3],[14,0,"trigger-user-card"],[15,"data-user-card",[30,1,["username"]]],[15,"title",[30,1,["username"]]],[14,"aria-hidden","true"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["avatar_template"]],"tiny",[28,[32,1],null,[["title"],[[30,0,["avatarTitle"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"username"],[12],[1,[30,1,["username"]]],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canRemoveLink"]],[[[1," "],[8,[32,2],null,[["@model","@isCurrentUser","@removeAllowedUser"],[[30,1],[30,0,["isCurrentUser"]],[30,2]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","@removeAllowedUser"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/private-message-map.js",scope:()=>[c.default,r.hash,w],isStrictMode:!0}),this))()}class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#d=(()=>void dt7948.i(this,"dialog"))();showConfirmDialog(){let e=this.args.isCurrentUser?"private_message_info.leave_message":"private_message_info.remove_allowed_user";this.dialog.deleteConfirm({message:(0,h.i18n)(e,{name:this.args.model.username}),confirmButtonLabel:this.args.isCurrentUser?"private_message_info.leave":"private_message_info.remove_user",didConfirm:()=>this.args.removeAllowedUser(this.args.model)})}static #t=(()=>dt7948.n(this.prototype,"showConfirmDialog",[a.action]))();static #i=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"pYHtg6/s",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"remove-invited"]],[["@action","@icon"],[[30,0,["showConfirmDialog"]],"xmark"]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/private-message-map.js",scope:()=>[u.default],isStrictMode:!0}),this))()}},56634:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(95766),n=i(4781),r=i(75527),a=i(54074),o=i(72799),l=i(71209);let u=["color","date","datetime-local","email","hidden","month","number","password","range","search","tel","text","time","url","week"];class c extends s.default{static controlType="input";constructor(e,t){if(super(...arguments),["checkbox","radio"].includes(t.type))throw Error(`input component does not support @type="${t.type}" as there is a dedicated component for this.`);if(t.type&&!u.includes(t.type))throw Error(`input component does not support @type="${t.type}", must be one of ${u.join(", ")}!`)}get type(){return this.args.type??"text"}handleInput(e){let t=""===e.target.value?void 0:"number"===this.type?parseFloat(e.target.value):e.target.value;this.args.field.set(t)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"9gu/ApTy",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__control-input-wrapper"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[10,1],[14,0,"form-kit__before-input"],[12],[1,[30,1]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"input"],[16,4,[30,0,["type"]]],[16,2,[30,2,["value"]]],[16,0,[28,[32,0],["form-kit__control-input",[52,[30,1],"has-prefix"],[52,[30,3],"has-suffix"]],null]],[16,"disabled",[30,2,["disabled"]]],[17,4],[4,[32,1],["input",[30,0,["handleInput"]]],null],[12],[13],[1,"\\n\\n"],[41,[30,3],[[[1," "],[10,1],[14,0,"form-kit__after-input"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@before","@field","@after","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/input.js",scope:()=>[a.default,n.on],isStrictMode:!0}),this))()}},56654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21980),n=i(75527),r=i(57528),a=i(18555),o=i(67289),l=i(59830),u=i(87307),c=i(70412),d=i(72523),p=i(69164),h=i(41795),m=i(88820);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#d=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#p=(()=>void dt7948.i(this,"modal"))();user=null;model=null;filter=null;invitesCount=null;canLoadMore=!0;invitesLoading=!1;reinvitedAll=!1;removedAll=!1;searchTerm="";static #i=(()=>dt7948.g(this.prototype,"inviteRedeemed",[(0,r.equal)("filter","redeemed")]))();#cd=(()=>void dt7948.i(this,"inviteRedeemed"))();static #s=(()=>dt7948.g(this.prototype,"inviteExpired",[(0,r.equal)("filter","expired")]))();#cp=(()=>void dt7948.i(this,"inviteExpired"))();static #u=(()=>dt7948.g(this.prototype,"invitePending",[(0,r.equal)("filter","pending")]))();#ch=(()=>void dt7948.i(this,"invitePending"))();static #c=(()=>dt7948.g(this.prototype,"canInviteToForum",[(0,r.reads)("currentUser.can_invite_to_forum")]))();#cm=(()=>void dt7948.i(this,"canInviteToForum"))();static #_=(()=>dt7948.g(this.prototype,"canBulkInvite",[(0,r.reads)("currentUser.admin")]))();#cg=(()=>void dt7948.i(this,"canBulkInvite"))();searchTermChanged(){this._searchTermChanged()}static #b=(()=>dt7948.n(this.prototype,"searchTermChanged",[(0,o.observes)("searchTerm")]))();_searchTermChanged(){h.default.findInvitedBy(this.user,this.filter,this.searchTerm).then(e=>this.set("model",e))}static #v=(()=>dt7948.n(this.prototype,"_searchTermChanged",[(0,d.debounce)(p.INPUT_DELAY)]))();hasEmailInvites(e){return e.invites.some(e=>e.email)}static #w=(()=>dt7948.n(this.prototype,"hasEmailInvites",[(0,d.default)("model")]))();showBulkActionButtons(e){return"pending"===e&&this.model.invites.length>0&&this.currentUser.staff}static #k=(()=>dt7948.n(this.prototype,"showBulkActionButtons",[(0,d.default)("filter")]))();showSearch(e,t){return e[t]>5}static #T=(()=>dt7948.n(this.prototype,"showSearch",[(0,d.default)("invitesCount","filter")]))();createInvite(){this.modal.show(l.default,{model:{invites:this.model.invites}})}static #S=(()=>dt7948.n(this.prototype,"createInvite",[n.action]))();createInviteCsv(){this.modal.show(u.default)}static #C=(()=>dt7948.n(this.prototype,"createInviteCsv",[n.action]))();editInvite(e){this.modal.show(l.default,{model:{editing:!0,invite:e}})}static #A=(()=>dt7948.n(this.prototype,"editInvite",[n.action]))();destroyInvite(e){e.destroy(),this.model.invites.removeObject(e)}static #D=(()=>dt7948.n(this.prototype,"destroyInvite",[n.action]))();destroyAllExpired(){this.dialog.deleteConfirm({message:(0,m.i18n)("user.invited.remove_all_confirm"),didConfirm:()=>h.default.destroyAllExpired().then(()=>{this.set("removedAll",!0),this.send("triggerRefresh")}).catch(c.popupAjaxError)})}static #M=(()=>dt7948.n(this.prototype,"destroyAllExpired",[n.action]))();reinvite(e){return e.reinvite(),!1}static #z=(()=>dt7948.n(this.prototype,"reinvite",[n.action]))();reinviteAll(){this.dialog.yesNoConfirm({message:(0,m.i18n)("user.invited.reinvite_all_confirm"),didConfirm:()=>h.default.reinviteAll().then(()=>this.set("reinvitedAll",!0)).catch(c.popupAjaxError)})}static #V=(()=>dt7948.n(this.prototype,"reinviteAll",[n.action]))();loadMore(){let e=this.model;this.canLoadMore&&!this.invitesLoading&&(this.set("invitesLoading",!0),h.default.findInvitedBy(this.user,this.filter,this.searchTerm,e.invites.length).then(t=>{this.set("invitesLoading",!1),e.invites.pushObjects(t.invites),(0===t.invites.length||t.invites.lengthdt7948.n(this.prototype,"loadMore",[n.action]))()}},56658:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(72523),n=i(25687);let r=["scroll","touchmove","mousedown","wheel","keyup"],a=["mousedown","mousewheel","touchmove","wheel"];function o(e,t,i){return Math.abs(t-i)this.options.originalTopOffset?i-this.options.originalTopOffset:i-(0,n.headerOffset)()}clearLock(){this._removeListener(),window.cancelAnimationFrame(this._requestId),this.options.finished&&this.options.finished()}lock(){this.startedAt=Date.now(),this.previousTop=this.elementTop(),this.previousTop&&window.scrollTo(window.pageXOffset,this.previousTop),this._requestId=window.requestAnimationFrame(this._performLocking),this._removeListener(),this._addListener()}_scrollListener(e){(e.which>0||a.includes(e.type))&&this.clearLock()}static #e=(()=>dt7948.n(this.prototype,"_scrollListener",[s.bind]))();_addListener(){r.forEach(e=>{document.body.addEventListener(e,this._scrollListener,{passive:!0})})}_removeListener(){r.forEach(e=>{document.body.removeEventListener(e,this._scrollListener)})}_performLocking(){let e=this.elementTop();if(!this.previousTop&&!e){Date.now()-this.startedAt>5e3&&this.clearLock(),this._requestId=window.requestAnimationFrame(this._performLocking);return}let t=Math.max(0,e);return isNaN(t)||(o(4,t,this.previousTop)&&o(4,window.scrollY,t)||(window.scrollTo(window.pageXOffset,t),this.previousTop=t),this.options.originalTopOffset||Date.now()-this.startedAt>1e3)?this.clearLock():void(this._requestId=window.requestAnimationFrame(this._performLocking))}static #t=(()=>dt7948.n(this.prototype,"_performLocking",[s.bind]))()}},56731:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83426),n=i(88012);function r(e,t){return(0,s.htmlSafe)((0,n.default)(e,t))}},56802:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(75289),n=i(2369),r=i(74512),a=i(53775),o=i(20434),l=i(72523),u=i(25640),c=i(9789),d=i(2552);class p extends u.default{loaded=!1;itemsLoaded=0;content=[];static #e=(()=>dt7948.g(this.prototype,"baseUrl",[(0,o.url)("itemsLoaded","user.username_lower","/user_actions.json?offset=%@&username=%@")]))();#cf=(()=>void dt7948.i(this,"baseUrl"))();filterParam(e){return e===d.default.TYPES.replies?[d.default.TYPES.replies,d.default.TYPES.quotes].join(","):e||[d.default.TYPES.topics,d.default.TYPES.posts].join(",")}static #t=(()=>dt7948.n(this.prototype,"filterParam",[(0,l.default)("filter")]))();filterBy(e){return this.setProperties(Object.assign({itemsLoaded:0,content:[],lastLoadedUrl:null},e)),this.findItems()}nextFindUrl(){let e=this.baseUrl;return this.filterParam&&(e+=`&filter=${this.filterParam}`),this.actingUsername&&(e+=`&acting_username=${this.actingUsername}`),e}static #i=(()=>dt7948.n(this.prototype,"nextFindUrl",[(0,l.default)("baseUrl","filterParam","actingUsername")]))();noContent(e,t){return e&&0===t.length}static #s=(()=>dt7948.n(this.prototype,"noContent",[(0,l.default)("loaded","content.[]")]))();canLoadMore(){return this.nextFindUrl!==this.lastLoadedUrl}static #u=(()=>dt7948.n(this.prototype,"canLoadMore",[(0,l.default)("nextFindUrl","lastLoadedUrl")]))();remove(e){this.content.forEach(t=>{["likes","stars","edits","bookmarks"].forEach(i=>{let s=t.get(`childGroups.${i}.items`);s&&s.removeObject(e)})});let t=this.content.filter(e=>["likes","stars","edits","bookmarks"].some(t=>e.get(`childGroups.${t}.items.length`)>0));this.setProperties({content:t,itemsLoaded:t.length})}findItems(){if(!this.canLoadMore)return n.Promise.resolve();let e=this.nextFindUrl;return this.loading?n.Promise.resolve():(this.set("loading",!0),(0,a.ajax)(e).then(e=>{if(e&&e.user_actions){let t=(0,s.A)();e.categories?.forEach(e=>{c.default.current().updateCategory(e)}),e.user_actions?.forEach(e=>{e.titleHtml=(0,r.default)(e.title),t.pushObject(d.default.create(e))}),this.content.pushObjects(d.default.collapseStream(t)),this.setProperties({itemsLoaded:this.itemsLoaded+e.user_actions.length})}}).finally(()=>this.setProperties({loaded:!0,loading:!1,lastLoadedUrl:e})))}}},56896:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(74089);function n(e){let{src:t,code:i,label:n}=e,r=t?`
${(0,s.escapeExpression)(i)}`:(0,s.escapeExpression)(n);return`${r}`}function r(e){let{options:t}=e;return`
`}},56897:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(21980),n=i(75527),r=i(18555);class a extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#a=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"tagGroups",[s.inject]))();#o=(()=>void dt7948.i(this,"tagGroups"))();onDestroy(){this.tagGroups.model.removeObject(this.model),this.router.transitionTo("tagGroups.index")}static #i=(()=>dt7948.n(this.prototype,"onDestroy",[n.action]))()}},56969:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(75527),n=i(32504),r=i(88820),a=i(32019),o=i(84190);let l=dt7948.c(class extends a.default{actionsMapping=null;get content(){return[{id:"manageGroups",name:(0,r.i18n)("tagging.manage_groups"),description:(0,r.i18n)("tagging.manage_groups_description"),icon:"tags"},{id:"uploadTags",name:(0,r.i18n)("tagging.upload"),description:(0,r.i18n)("tagging.upload_description"),icon:"upload"},{id:"deleteUnusedTags",name:(0,r.i18n)("tagging.delete_unused"),description:(0,r.i18n)("tagging.delete_unused_description"),icon:"trash-can"}]}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();onChange(e){this.actionsMapping[e]?.()}static #t=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,o.pluginApiIdentifiers)("tags-admin-dropdown"),(0,o.selectKitOptions)({icons:["wrench","caret-down"],showFullTitle:!1}),(0,n.classNames)("tags-admin-dropdown")])},56977:e=>{e.exports=function(e){return e&&"Thunk"===e.type}},57e3:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18555),n=i(61037),r=i(88820);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();titleToken(){return(0,r.i18n)("groups.manage.membership.title")}afterModel(e){e.get("automatic")&&this.router.replaceWith("group.manage.interaction",e)}}},57008:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(72490),n=i(29349),r=i(74089),a=i(88820),o=i(72799),l=i(71209),u=i(86960);let c=(0,r.optionalRequire)("admin/components/tags-uploader"),d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"VswBYvQp",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["tagging.upload"],null],[30,1]]],[["body"],[[[[1,"\\n "],[8,[32,2],null,[["@refresh","@closeModal","@id"],[[28,[32,3],["triggerRefresh"],null],[30,1],"tags-uploader"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/tag-upload.js",scope:()=>[s.default,a.i18n,c,n.default],isStrictMode:!0}),(0,u.default)(void 0,"tag-upload:TagUpload"))},57102:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(21980),n=i(75527);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"group",[s.inject]))();#n1=(()=>void dt7948.i(this,"group"))();static #t=(()=>dt7948.g(this.prototype,"groupActivity",[s.inject]))();#c_=(()=>void dt7948.i(this,"groupActivity"))();static #i=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#im=(()=>void dt7948.i(this,"application"))();async fetchMorePosts(){let e=this.model,t=e[e.length-1].created_at,i=this.group.model,s=this.groupActivity.category_id,n={before:t,type:this.type,categoryId:s};return await i.findPosts(n)}static #s=(()=>dt7948.n(this.prototype,"fetchMorePosts",[n.action]))()}},57118:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addPostTransformCallback:()=>C,cloak:()=>P,default:()=>I,disableCloaking:()=>E,havePostStreamWidgetExtensions:()=>k,postTransformCallbacks:()=>S,preventCloak:()=>L,uncloak:()=>F});var s=i(97527),n=i(89179),r=i.n(n),a=i(70043),o=i(82568),l=i(98160),u=i(41422),c=i(19888),d=i(35794),p=i(91846),h=i(67518),m=i(1780),g=i(35352),f=i(23085),_=i(84837),y=i(21115),b=i(88820),w=i(71209);let k=null;(0,c.registerDeprecationHandler)((e,t)=>{t?.id==="discourse.post-stream-widget-overrides"&&(k||(k=new Set),k.add((0,h.consolePrefix)().slice(1,-1)))});let T=null;function S(e){if(null!==T)for(let t=0;t{M={},x={}}),(0,y.createWidget)("posts-filtered-notice",{buildKey:e=>`posts-filtered-notice-${e.id}`,buildClasses:()=>["posts-filtered-notice"],html(e){let t=e.streamFilters;if(t.filter_upwards_post_id||t.mixedHiddenPosts)return[(0,a.h)("span.filtered-replies-viewing",(0,b.i18n)("post.filtered_replies.viewing_subset")),this.attach("filter-show-all",e)];if(t.replies_to_post_number){let i=e.posts.findBy("post_number",t.replies_to_post_number);return[(0,a.h)("span.filtered-replies-viewing",(0,b.i18n)("post.filtered_replies_viewing",{count:i.reply_count})),(0,a.h)("span.filtered-user-row",[(0,a.h)("span.filtered-avatar",f.avatarFor.call(this,"small",{template:i.avatar_template,username:i.username,url:i.usernameUrl})),this.attach("filter-jump-to-post",{username:i.username,postNumber:t.replies_to_post_number})]),this.attach("filter-show-all",e)]}if(t.filter&&"summary"===t.filter)return[(0,a.h)("span.filtered-replies-viewing",(0,b.i18n)("post.filtered_replies.viewing_summary")),this.attach("filter-show-all",e)];if(t.username_filters){let t=e.posts[1],i=parseInt(e.filteredPostsCount,10)-1;return[(0,a.h)("span.filtered-replies-viewing",(0,b.i18n)("post.filtered_replies.viewing_posts_by",{post_count:i})),(0,a.h)("span.filtered-avatar",f.avatarFor.call(this,"small",{template:t.avatar_template,username:t.username,url:t.usernameUrl})),this.attach("poster-name",t),this.attach("filter-show-all",e)]}return[]}}),(0,y.createWidget)("filter-jump-to-post",{tagName:"a.filtered-jump-to-post",buildKey:e=>`jump-to-post-${e.id}`,html:e=>(0,b.i18n)("post.filtered_replies.post_number",{username:e.username,post_number:e.postNumber}),click(){g.default.jumpToPost(this.attrs.postNumber)}}),(0,y.createWidget)("filter-show-all",{tagName:"button.filtered-replies-show-all",buildKey:e=>`filtered-show-all-${e.id}`,buildClasses:()=>["btn","btn-primary"],html:()=>[(0,d.iconNode)("up-down"),(0,b.i18n)("post.filtered_replies.show_all")],click(){this.sendWidgetAction("cancelFilter"),this.appEvents.trigger("post-stream:filter-show-all",this.attrs.streamFilters)}});let I=(0,y.createWidget)("post-stream",{tagName:"div.post-stream",html(e){let t,i;(0,s.getOwner)(this).lookup("service:site").useGlimmerPostStream;let n=(e.posts||[]).toArray(),r=n.length,a=r>0?n[r-1].post_number:0,o=[],u=e.gaps&&e.gaps.before?e.gaps.before:{},c=e.gaps&&e.gaps.after?e.gaps.after:{},d=this.site.mobileView;for(let s=0;sthis.sendWidgetAction("fillGapBefore",{post:h,gap:y})}):this.attach("post-gap",{pos:"before",postId:h.id,gap:y},{model:h}));let b=new Date(f.created_at).getTime();if(i){let e=Math.floor((b-i)/864e5);e>this.siteSettings.show_time_gap_days&&o.push(new _.default(this,"div.time-gap.small-action",(0,w.createTemplateFactory)({id:"UXtHUJAZ",block:'[[[8,[39,0],null,[["@daysSince"],[[30,1,["daysSince"]]]],null]],["@data"],false,["post/time-gap"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post-stream.js",isStrictMode:!1}),{daysSince:e}))}if(i=b,f.height=x[h.id],f.cloaked=M[h.id],S(f),f.isSmallAction)o.push(this.site.useGlimmerPostStream?new _.default(this,"div.post-small-action-shim",(0,w.createTemplateFactory)({id:"9VN0HL0v",block:'[[[8,[39,0],null,[["@post","@deletePost","@editPost","@recoverPost"],[[30,1,["post"]],[30,1,["deletePost"]],[30,1,["editPost"]],[30,1,["recoverPost"]]]],null]],["@data"],false,["post/small-action"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post-stream.js",isStrictMode:!1}),{post:h,deletePost:()=>this.sendWidgetAction("deletePost",h),editPost:()=>this.sendWidgetAction("editPost",h),recoverPost:()=>this.sendWidgetAction("recoverPost",h)}):this.attach("post-small-action",f,{model:h}));else if(this.site.useGlimmerPostStream){let i,s;(h.canManage||h.canSplitMergeTopic)&&(i=e.multiSelect)&&(s=e.selectedQuery(h)),o.push(this.attach("glimmer-post",{post:h,prevPost:t,nextPost:g,canCreatePost:e.canCreatePost,cancelFilter:e=>this.sendWidgetAction("cancelFilter",e),changeNotice:()=>this.sendWidgetAction("changeNotice",h),changePostOwner:()=>this.sendWidgetAction("changePostOwner",h),deletePost:()=>this.sendWidgetAction("deletePost",h),editPost:()=>this.sendWidgetAction("editPost",h),expandHidden:()=>this.sendWidgetAction("expandHidden",h),filteringRepliesToPostNumber:e.filteringRepliesToPostNumber,grantBadge:()=>this.sendWidgetAction("grantBadge",h),lockPost:()=>this.sendWidgetAction("lockPost",h),multiSelect:i,permanentlyDeletePost:()=>this.sendWidgetAction("permanentlyDeletePost",h),rebakePost:()=>this.sendWidgetAction("rebakePost",h),recoverPost:()=>this.sendWidgetAction("recoverPost",h),removeAllowedGroup:()=>this.sendWidgetAction("removeAllowedGroup",h),removeAllowedUser:()=>this.sendWidgetAction("removeAllowedUser",h),replyToPost:()=>this.sendWidgetAction("replyToPost",h),selectBelow:()=>this.sendWidgetAction("selectBelow",h),selectReplies:()=>this.sendWidgetAction("selectReplies",h),selected:s,showFlags:()=>this.sendWidgetAction("showFlags",h),showHistory:()=>this.sendWidgetAction("showHistory",h),showInvite:()=>this.sendWidgetAction("showInvite",h),showLogin:()=>this.sendWidgetAction("showLogin",h),showPagePublish:()=>this.sendWidgetAction("showPagePublish",h),showRawEmail:()=>this.sendWidgetAction("showRawEmail",h),showReadIndicator:e.showReadIndicator,togglePostSelection:()=>this.sendWidgetAction("togglePostSelection",h),togglePostType:()=>this.sendWidgetAction("togglePostType",h),toggleReplyAbove:()=>this.sendWidgetAction("toggleReplyAbove",h),toggleWiki:()=>this.sendWidgetAction("toggleWiki",h),unhidePost:()=>this.sendWidgetAction("unhidePost",h),unlockPost:()=>this.sendWidgetAction("unlockPost",h),updateTopicPageQueryParams:()=>this.sendWidgetAction("updateTopicPageQueryParams")}))}else f.showReadIndicator=e.showReadIndicator,o.push(this.attach("post",f,{model:h}));let k=c[h.id];k&&o.push(this.site.useGlimmerPostStream?new _.default(this,"div.post-gap-shim",(0,w.createTemplateFactory)({id:"QmcA6MnM",block:'[[[8,[39,0],null,[["@post","@gap","@fillGap"],[[30,1,["post"]],[30,1,["gap"]],[30,1,["fillGap"]]]],null]],["@data"],false,["post/gap"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post-stream.js",isStrictMode:!1}),{post:h,gap:k,fillGap:()=>this.sendWidgetAction("fillGapAfter",{post:h,gap:k})}):this.attach("post-gap",{pos:"after",postId:h.id,gap:k},{model:h})),s!==r-1&&a<=e.highestPostNumber&&e.lastReadPostNumber===h.post_number&&o.push(this.site.useGlimmerPostStream?new _.default(this,"div.post-visited-line-shim",(0,w.createTemplateFactory)({id:"XWT+o6M7",block:'[[[8,[39,0],null,[["@post"],[[30,1,["post"]]]],null]],["@data"],false,["post/visited-line"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post-stream.js",isStrictMode:!1}),{post:h}):this.attach("topic-post-visited-line",{post_number:h.post_number})),t=h}return e.streamFilters&&Object.keys(e.streamFilters).length&&(Object.keys(u).length>0||Object.keys(c).length>0)&&o.push(this.site.useGlimmerPostStream?new _.default(this,"div.post-filtered-notice-shim",(0,w.createTemplateFactory)({id:"OyrFPALi",block:'[[[8,[39,0],null,[["@posts","@cancelFilter","@streamFilters","@filteredPostsCount"],[[30,1,["posts"]],[30,1,["cancelFilter"]],[30,1,["streamFilters"]],[30,1,["filteredPostsCount"]]]],null]],["@data"],false,["post/filtered-notice"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post-stream.js",isStrictMode:!1}),{posts:n,streamFilters:e.streamFilters,filteredPostsCount:e.filteredPostsCount,cancelFilter:()=>this.sendWidgetAction("cancelFilter")}):this.attach("posts-filtered-notice",{posts:n,streamFilters:e.streamFilters,filteredPostsCount:e.filteredPostsCount})),o}})},57141:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});let s=[];function n(e,t,i){for(let s=0;s{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(8658),n=i(10147),r=i(52984),a=i(88820),o=i(72799),l=i(71209),u=i(86960);let c=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"TT5Zxry7",block:'[[[1,"\\n "],[10,0],[14,0,"control-group preferences-navigation-menu-navigation"],[14,"data-setting-name","user-navigation-menu-navigation"],[12],[1,"\\n "],[10,"legend"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.experimental_sidebar.navigation_section"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["user.experimental_sidebar.navigation_section_instruction"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"pref-link-to-filtered-list"]],[["@labelKey","@checked"],["user.experimental_sidebar.link_to_filtered_list_checkbox_description",[30,1,["newSidebarLinkToFilteredList"]]]],null],[1,"\\n "],[8,[32,1],[[24,0,"pref-show-count-new-items"]],[["@labelKey","@checked"],["user.experimental_sidebar.show_count_new_items_checkbox_description",[30,1,["newSidebarShowCountOfNewItems"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/navigation-menu.js",scope:()=>[a.i18n,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},57237:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(72799),n=i(25604),r=i(62838),a=i(8658),o=i(81539),l=i(61810),u=i(53769),c=i(10147),d=i(52984),p=i(41689),h=i(40834),m=i(86326),g=i(74512),f=i(88820),_=i(52605),y=i(23293),b=i(71209),w=i(86960);let k=(0,a.default)((0,s.setComponentTemplate)((0,b.createTemplateFactory)({id:"7D8k4ZFr",block:'[[[1,"\\n"],[41,[30,1,["showEnforcedRequiredFieldsNotice"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,[28,[32,0],["user.preferences.profile.enforced_required_fields"],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,1,["showEnforcedRequiredFieldsNotice"]]],[[[41,[30,1,["siteSettings","allow_users_to_hide_profile"]],[[[1," "],[10,0],[14,0,"control-group user-hide-profile"],[14,"data-setting-name","user-hide-profile"],[12],[1,"\\n "],[8,[32,1],[[24,"data-setting-name","user-hide-profile"],[24,0,"pref-hide-profile"]],[["@labelKey","@checked"],["user.hide_profile",[30,1,["model","user_option","hide_profile"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canChangeBio"]],[[[1," "],[10,0],[14,0,"control-group pref-bio"],[14,"data-setting-name","user-bio"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.bio"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls bio-composer input-xxlarge"],[12],[1,"\\n "],[8,[32,2],null,[["@value"],[[30,1,["model","bio_raw"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group pref-timezone"],[14,"data-setting-name","user-timezone"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.timezone"],null]],[13],[1,"\\n "],[8,[32,3],[[24,0,"input-xxlarge"]],[["@value","@onChange"],[[30,1,["model","user_option","timezone"]],[28,[32,4],[[28,[31,2],[[30,1,["model","user_option","timezone"]]],null]],null]]],null],[1,"\\n "],[8,[32,5],[[24,0,"btn-default"]],[["@icon","@label","@action"],["globe","user.use_current_timezone",[30,1,["useCurrentTimezone"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","can_change_location"]],[[[1," "],[10,0],[14,0,"control-group pref-location"],[14,"data-setting-name","user-location"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","edit-location"],[12],[1,[28,[32,0],["user.location"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],[[24,0,"input-xxlarge"],[24,1,"edit-location"]],[["@type","@value"],["text",[30,1,["model","location"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","can_change_website"]],[[[1," "],[10,0],[14,0,"control-group pref-website"],[14,"data-setting-name","user-website"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","edit-website"],[12],[1,[28,[32,0],["user.website"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],[[24,0,"input-xxlarge"],[24,1,"edit-website"]],[["@type","@value"],["text",[30,1,["model","website"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,1,["userFields"]]],null]],null],null,[[[1," "],[10,0],[14,0,"control-group"],[14,"data-setting-name","user-user-fields"],[12],[1,"\\n "],[8,[32,7],null,[["@field","@value"],[[30,2,["field"]],[30,2,["value"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[10,0],[14,0,"clearfix"],[12],[13],[1,"\\n\\n"],[41,[51,[30,1,["showEnforcedRequiredFieldsNotice"]]],[[[41,[30,1,["siteSettings","allow_profile_backgrounds"]],[[[41,[30,1,["canUploadProfileHeader"]],[[[1," "],[10,0],[14,0,"control-group pref-profile-bg"],[14,"data-setting-name","user-profile-bg"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.change_profile_background.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,8],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,1,["model","profile_background_upload_url"]],[30,1,["profileBackgroundUploadDone"]],[28,[32,4],[[28,[31,2],[[30,1,["model","profile_background_upload_url"]]],null],null],null],"profile_background","profile-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.change_profile_background.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["canUploadUserCardBackground"]],[[[1," "],[10,0],[14,0,"control-group pref-profile-bg"],[14,"data-setting-name","user-card-bg"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.change_card_background.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,8],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,1,["model","card_background_upload_url"]],[30,1,["cardBackgroundUploadDone"]],[28,[32,4],[[28,[31,2],[[30,1,["model","card_background_upload_url"]]],null],null],null],"card_background","profile-card-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.change_card_background.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,1,["siteSettings","allow_featured_topic_on_user_profiles"]],[[[1," "],[10,0],[14,0,"control-group"],[14,"data-setting-name","user-featured-topic"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.featured_topic"],null]],[13],[1,"\\n"],[41,[30,1,["model","featured_topic"]],[[[1," "],[10,"label"],[14,0,"featured-topic-link"],[12],[1,"\\n "],[8,[32,9],null,[["@route","@models"],["topic",[28,[32,10],[[30,1,["model","featured_topic","slug"]],[30,1,["model","featured_topic","id"]]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,11],[[28,[32,12],[[30,1,["model","featured_topic","fancy_title"]]],null]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,5],[[24,0,"btn-default feature-topic-on-profile-btn"]],[["@action","@label"],[[30,1,["showFeaturedTopicModal"]],"user.feature_topic_on_profile.open_search"]],null],[1,"\\n"],[41,[30,1,["model","featured_topic"]],[[[1," "],[8,[32,5],[[24,0,"btn-danger clear-feature-topic-on-profile-btn"]],[["@action","@label"],[[30,1,["clearFeaturedTopicFromProfile"]],"user.feature_topic_on_profile.clear.title"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.change_featured_topic.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canChangeDefaultCalendar"]],[[[1," "],[10,0],[14,0,"control-group"],[14,"data-setting-name","user-default-calendar"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["download_calendar.default_calendar"],null]],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,13],null,[["@valueProperty","@content","@value","@id","@onChange"],["value",[30,1,["calendarOptions"]],[30,1,["model","user_option","default_calendar"]],"user-default-calendar",[28,[32,4],[[28,[31,2],[[30,1,["model","user_option","default_calendar"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["download_calendar.default_calendar_instruction"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,14],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-profile","div",[28,[32,15],null,[["model","save"],[[30,1,["model"]],[30,1,["save"]]]]]]],null],[1,"\\n\\n "],[8,[32,14],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-preferences","div",[28,[32,15],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n "],[8,[32,14],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-controls","div",[28,[32,15],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,16],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller","uf"],false,["if","unless","mut","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/profile.js",scope:()=>[f.i18n,c.default,l.default,y.default,n.fn,o.default,s.Input,h.default,p.default,r.LinkTo,n.array,g.default,m.default,_.default,u.default,n.hash,d.default],isStrictMode:!0}),(0,w.default)(void 0,void 0)))},57289:(e,t,i)=>{"use strict";i.r(t);var s=i(84837),n=i(71209);(0,s.registerWidgetShim)("small-user-list","div",(0,n.createTemplateFactory)({id:"3yQzdNyf",block:'[[[1,"\\n "],[8,[39,0],[[16,0,[30,1,["listClassName"]]]],[["@ariaLabel","@users","@addSelf","@count","@description","@isVisible"],[[30,1,["ariaLabel"]],[30,1,["users"]],[30,1,["addSelf"]],[30,1,["count"]],[30,1,["description"]],[30,1,["isVisible"]]]],null]],["@data"],false,["small-user-list"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/actions-summary.js",isStrictMode:!1})),(0,s.registerWidgetShim)("actions-summary","section.post-actions",(0,n.createTemplateFactory)({id:"FAR5de5H",block:'[[[8,[39,0],null,[["@post"],[[30,1]]],null]],["@data"],false,["post/actions-summary"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/actions-summary.js",isStrictMode:!1}))},57508:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(72799),n=i(97527),r=i(32504),a=i(72523);let o=dt7948.c(class extends s.default{layout(e){return(0,n.getOwner)(this).lookup(`template:composer/${e}`)}static #e=(()=>dt7948.n(this.prototype,"layout",[(0,a.default)("message.templateName")]))()},[(0,r.classNameBindings)(":composer-popup","message.extraClass")])},57510:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>E});var s=i(95766),n=i(25604),r=i(4781),a=i(75527),o=i(77667),l=i(18555),u=i(83426),c=i(55230),d=i(11075),p=i(53769),h=i(53988),m=i(95638),g=i(54971),f=i(93432),_=i(23722),y=i(92960),b=i(54074),w=i(65358),k=i(55353),T=i(89756),S=i(18674),C=i(70278),A=i(35352),D=i(88820),M=i(72799),x=i(71209);class E extends s.default{static #e=(()=>dt7948.g(this.prototype,"historyStore",[l.service]))();#eG=(()=>void dt7948.i(this,"historyStore"))();static #t=(()=>dt7948.g(this.prototype,"site",[l.service]))();#r=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#x=(()=>void dt7948.i(this,"siteSettings"))();highlightIfNeeded=(()=>(0,c.modifier)(e=>{this.args.topic.id===this.historyStore.get("lastTopicIdViewed")?(e.dataset.isLastViewedTopic=!0,this.highlightRow(e),(0,o.next)(()=>this.historyStore.delete("lastTopicIdViewed")),this.shouldFocusLastVisited&&(0,o.next)(()=>e.querySelector(".main-link .title")?.focus())):this.args.topic.get("highlight")&&(this.highlightRow(e),(0,o.next)(()=>this.args.topic.set("highlight",!1)))}))();get isSelected(){return this.args.selected?.includes(this.args.topic)}get tagClassNames(){return this.args.topic.tags?.map(e=>`tag-${e}`)}get expandPinned(){let e;return e=!!this.args.topic.pinned&&(!this.useMobileLayout||!!this.siteSettings.show_pinned_excerpt_mobile)&&(!this.site.desktopView||!!this.siteSettings.show_pinned_excerpt_desktop)&&(this.args.expandGloballyPinned&&this.args.topic.pinned_globally||this.args.expandAllPinned),(0,C.applyValueTransformer)("topic-list-item-expand-pinned",e,{topic:this.args.topic,mobileView:this.useMobileLayout})}get shouldFocusLastVisited(){return this.site.desktopView&&this.args.focusLastVisitedTopic}navigateToTopic(e,t){this.historyStore.set("lastTopicIdViewed",e.id),A.default.routeTo(t||e.url)}static #s=(()=>dt7948.n(this.prototype,"navigateToTopic",[a.action]))();highlightRow(e){e.addEventListener("animationend",()=>e.classList.remove("highlighted"),{once:!0}),e.classList.add("highlighted")}onTitleFocus(e){e.target.closest(".topic-list-item").classList.add("selected")}static #u=(()=>dt7948.n(this.prototype,"onTitleFocus",[a.action]))();onTitleBlur(e){e.target.closest(".topic-list-item").classList.remove("selected")}static #c=(()=>dt7948.n(this.prototype,"onTitleBlur",[a.action]))();onBulkSelectToggle(e){if(e.target.checked){if(this.args.selected.addObject(this.args.topic),this.args.bulkSelectHelper.lastCheckedElementId&&e.shiftKey){let t=[...document.querySelectorAll("input.bulk-select")],i=t.indexOf(e.target),s=t.findIndex(e=>e.id===this.args.bulkSelectHelper.lastCheckedElementId);t.slice(Math.min(i,s),Math.max(i,s)).filter(e=>!e.checked).forEach(e=>e.click())}this.args.bulkSelectHelper.lastCheckedElementId=e.target.id}else this.args.selected.removeObject(this.args.topic),this.args.bulkSelectHelper.lastCheckedElementId=null}static #_=(()=>dt7948.n(this.prototype,"onBulkSelectToggle",[a.action]))();click(e){(0,C.applyBehaviorTransformer)("topic-list-item-click",()=>{if(e.target.classList.contains("raw-topic-link")||e.target.classList.contains("post-activity")||e.target.classList.contains("badge-posts")){if((0,S.wantsNewWindow)(e))return;e.preventDefault(),this.navigateToTopic(this.args.topic,e.target.href);return}if(this.site.mobileView&&e.target.matches(".topic-list-data, .main-link, .right, .topic-item-stats, .topic-item-stats__category-tags, .discourse-tags")){if((0,S.wantsNewWindow)(e))return;e.preventDefault(),this.navigateToTopic(this.args.topic,this.args.topic.lastUnreadUrl);return}},{topic:this.args.topic,event:e,navigateToTopic:this.navigateToTopic})}static #b=(()=>dt7948.n(this.prototype,"click",[a.action]))();keyDown(e){"Enter"===e.key&&(e.target.classList.contains("post-activity")||e.target.classList.contains("badge-posts"))&&(e.preventDefault(),this.navigateToTopic(this.args.topic,e.target.href))}static #v=(()=>dt7948.n(this.prototype,"keyDown",[a.action]))();get useMobileLayout(){return(0,C.applyValueTransformer)("topic-list-item-mobile-layout",this.site.mobileView,{topic:this.args.topic})}get additionalClasses(){return(0,C.applyValueTransformer)("topic-list-item-class",[],{topic:this.args.topic,index:this.args.index})}get style(){let e=(0,C.applyValueTransformer)("topic-list-item-style",[],{topic:this.args.topic,index:this.args.index}).filter(Boolean).filter(e=>{if((0,u.isHTMLSafe)(e))return!0;console.error("topic-list-item-style must be formed of htmlSafe strings. Skipped unsafe value:",e)});if(e.length)return(0,u.htmlSafe)(e.join(`
`))}static #w=(()=>(0,M.setComponentTemplate)((0,x.createTemplateFactory)({id:"0su1Buw5",block:'[[[1,"\\n "],[11,"tr"],[16,"data-topic-id",[30,1,["id"]]],[16,"role",[30,0,["role"]]],[16,"aria-level",[30,0,["ariaLevel"]]],[16,0,[28,[32,0],["topic-list-item",[52,[30,1,["category"]],[28,[32,1],["category-",[30,1,["category","fullSlug"]]],null]],[52,[28,[32,2],[[30,1],[30,2]],null],"last-visit"],[52,[30,1,["visited"]],"visited"],[52,[30,1,["hasExcerpt"]],"has-excerpt"],[52,[28,[32,3],[[30,0,["expandPinned"]],[30,1,["hasExcerpt"]]],null],"excerpt-expanded"],[52,[30,1,["unseen"]],"unseen-topic"],[52,[30,1,["unread_posts"]],"unread-posts"],[52,[30,1,["liked"]],"liked"],[52,[30,1,["archived"]],"archived"],[52,[30,1,["bookmarked"]],"bookmarked"],[52,[30,1,["pinned"]],"pinned"],[52,[30,1,["closed"]],"closed"],[30,0,["tagClassNames"]],[30,0,["additionalClasses"]]],null]],[16,5,[30,0,["style"]]],[4,[30,0,["highlightIfNeeded"]],null,null],[4,[32,4],["keydown",[30,0,["keyDown"]]],null],[4,[32,4],["click",[30,0,["click"]]],null],[12],[1,"\\n "],[8,[32,5],null,[["@name","@outletArgs"],["above-topic-list-item",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[1,"\\n"],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-item",[28,[32,6],null,[["topic","bulkSelectEnabled","onBulkSelectToggle","isSelected","hideCategory","tagsForUser","showTopicPostBadges","navigateToTopic"],[[30,1],[30,3],[30,0,["onBulkSelectToggle"]],[30,0,["isSelected"]],[30,4],[30,5],[30,6],[30,0,["navigateToTopic"]]]]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["useMobileLayout"]],[[[1," "],[10,"td"],[15,0,[28,[32,0],["topic-list-data",[52,[30,3],"bulk-select-enabled"]],null]],[12],[1,"\\n "],[10,0],[14,0,"pull-left"],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,"label"],[15,"for",[29,["bulk-select-",[30,1,["id"]]]]],[12],[1,"\\n "],[11,"input"],[16,"checked",[30,0,["isSelected"]]],[16,1,[29,["bulk-select-",[30,1,["id"]]]]],[24,0,"bulk-select"],[24,4,"checkbox"],[4,[32,4],["click",[30,0,["onBulkSelectToggle"]]],null],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-item-mobile-avatar",[28,[32,6],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,3],[15,6,[30,1,["lastPostUrl"]]],[15,"aria-label",[28,[32,7],["latest_poster_link"],[["username"],[[30,1,["lastPosterUser","username"]]]]]],[15,"data-user-card",[30,1,["lastPosterUser","username"]]],[12],[1,[28,[32,8],[[30,1,["lastPosterUser"]]],[["imageSize"],["large"]]]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"topic-item-metadata right"],[12],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-before-link",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"main-link"],[12],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-before-status",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[8,[32,9],null,[["@topic","@context"],[[30,1],"topic-list"]],null],[8,[32,10],[[24,0,"raw-link raw-topic-link"],[4,[32,4],["focus",[30,0,["onTitleFocus"]]],null],[4,[32,4],["blur",[30,0,["onTitleBlur"]]],null]],[["@topic"],[[30,1]]],null],[41,[30,1,["featured_link"]],[[[1," "],[1,[28,[32,11],[[30,1]],null]]],[]],null],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-after-title",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[41,[30,1,["unseen"]],[[[10,1],[14,0,"topic-post-badges"],[12],[1," "],[10,1],[14,0,"badge-notification new-topic"],[12],[13],[13]],[]],null],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-after-badges",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[41,[30,0,["expandPinned"]],[[[8,[32,12],null,[["@topic"],[[30,1]]],null]],[]],null],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-main-link-bottom",[28,[32,6],null,[["topic","expandPinned"],[[30,1],[30,0,["expandPinned"]]]]]]],null],[1,"\\n "],[13],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-after-main-link",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"pull-right"],[12],[1,"\\n "],[8,[32,13],null,[["@topic","@postBadgesEnabled"],[[30,1],[30,6]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"topic-item-stats clearfix"],[12],[1,"\\n "],[10,1],[14,0,"topic-item-stats__category-tags"],[12],[1,"\\n"],[41,[51,[30,4]],[[[1," "],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-before-category",[28,[32,6],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[1,[28,[32,14],[[30,1,["category"]]],null]],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-after-category",[28,[32,6],null,[["topic"],[[30,1]]]]]],null]],[]],null],[1,[28,[32,15],[[30,1]],[["mode"],["list"]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"num activity last"],[12],[1,"\\n "],[8,[32,5],null,[["@name","@outletArgs"],["topic-list-item-mobile-bumped-at",[28,[32,6],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,1],[15,"title",[30,1,["bumpedAtTitle"]]],[14,0,"age activity"],[12],[1,"\\n "],[10,3],[15,6,[30,1,["lastPostUrl"]]],[12],[1,[28,[32,16],[[30,1,["bumpedAt"]]],[["format","noTitle"],["tiny","true"]]]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[42,[28,[31,3],[[28,[31,3],[[30,7]],null]],null],null,[[[1," "],[8,[30,8,["value","item"]],null,[["@topic","@bulkSelectEnabled","@onBulkSelectToggle","@isSelected","@showTopicPostBadges","@hideCategory","@tagsForUser","@expandPinned"],[[30,1],[30,3],[30,0,["onBulkSelectToggle"]],[30,0,["isSelected"]],[30,6],[30,4],[30,5],[30,0,["expandPinned"]]]],null],[1,"\\n"]],[8]],null]],[]]],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@topic","@lastVisitedTopic","@bulkSelectEnabled","@hideCategory","@tagsForUser","@showTopicPostBadges","@columns","entry"],false,["if","unless","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item.js",scope:()=>[b.default,n.concat,d.eq,d.and,r.on,p.default,n.hash,D.i18n,_.default,f.default,g.default,T.default,m.default,h.default,y.default,w.default,k.default],isStrictMode:!0}),this))()}},57528:(e,t,i)=>{"use strict";i.r(t),i.d(t,{alias:()=>n.a,and:()=>r.and,bool:()=>r.bool,collect:()=>a.collect,default:()=>s.C,deprecatingAlias:()=>r.deprecatingAlias,empty:()=>r.empty,equal:()=>r.equal,expandProperties:()=>s.e,filter:()=>a.filter,filterBy:()=>a.filterBy,gt:()=>r.gt,gte:()=>r.gte,intersect:()=>a.intersect,lt:()=>r.lt,lte:()=>r.lte,map:()=>a.map,mapBy:()=>a.mapBy,match:()=>r.match,max:()=>a.max,min:()=>a.min,none:()=>r.none,not:()=>r.not,notEmpty:()=>r.notEmpty,oneWay:()=>r.oneWay,or:()=>r.or,readOnly:()=>r.readOnly,reads:()=>r.oneWay,setDiff:()=>a.setDiff,sort:()=>a.sort,sum:()=>a.sum,union:()=>a.union,uniq:()=>a.uniq,uniqBy:()=>a.uniqBy});var s=i(42938);i(78212);var n=i(18337);i(11191),i(61535),i(77350),i(8215),i(38230),i(80725);var r=i(92666),a=i(11595)},57576:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_addTrackedPostProperty:()=>E,clearAddedTrackedPostProperties:()=>L,default:()=>F});var s=i(87531),n=i(75527),r=i(57528),a=i(18555),o=i(88761),l=i(2369),u=i(72032),c=i(53775),d=i(70412),p=i(20434),h=i(72523),m=i(73418),g=i(44501),f=i(98817),_=i(35352),y=i(74089),b=i(86073),w=i(7339),k=i(81644),T=i(25640),S=i(9789),C=i(36649),A=i(88820);let D=(0,i(74828).A)(i(87531)).cached,M=new Set,x=new Set;function E(e){M.add(e)}function L(){M.clear()}function P(e,t,i){return x.add(t),(0,s.tracked)(e,t,i)}class F extends T.default{static munge(e){if(e.likeAction??=null,e.actions_summary){let t=n.default.create();e.actions_summary=e.actions_summary.map(i=>{i.actionType=S.default.current().postActionTypeById(i.id),i.count=i.count||0;let s=b.default.create(i);return t[i.actionType.name_key]=s,"like"===i.actionType.name_key&&(e.likeAction=s),s}),e.actionByName=t}return e&&e.reply_to_user&&(e.reply_to_user=C.default.create(e.reply_to_user)),e}static updateBookmark(e,t){return(0,c.ajax)(`/posts/${e}/bookmark`,{type:"PUT",data:{bookmarked:t}})}static destroyBookmark(e){return(0,c.ajax)(`/posts/${e}/bookmark`,{type:"DELETE"})}static deleteMany(e){let{agreeWithFirstReplyFlag:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.ajax)("/posts/destroy_many",{type:"DELETE",data:{post_ids:e,agree_with_first_reply_flag:t}})}static mergePosts(e){return(0,c.ajax)("/posts/merge_posts",{type:"PUT",data:{post_ids:e}}).catch(d.popupAjaxError)}static loadRevision(e,t){return(0,c.ajax)(`/posts/${e}/revisions/${t}.json`).then(e=>(e.categories?.forEach(e=>S.default.current().updateCategory(e)),n.default.create(e)))}static hideRevision(e,t){return(0,c.ajax)(`/posts/${e}/revisions/${t}/hide`,{type:"PUT"})}static permanentlyDeleteRevisions(e){return(0,c.ajax)(`/posts/${e}/revisions/permanently_delete`,{type:"DELETE"})}static showRevision(e,t){return(0,c.ajax)(`/posts/${e}/revisions/${t}/show`,{type:"PUT"})}static loadRawEmail(e){return(0,c.ajax)(`/posts/${e}/raw-email.json`)}static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"site",[a.service]))();#r=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"customShare",[s.tracked],function(){return null}))();#cy=(()=>void dt7948.i(this,"customShare"))();static #s=(()=>dt7948.g(this.prototype,"action_code",[P]))();#cb=(()=>void dt7948.i(this,"action_code"))();static #u=(()=>dt7948.g(this.prototype,"action_code_path",[P]))();#cv=(()=>void dt7948.i(this,"action_code_path"))();static #c=(()=>dt7948.g(this.prototype,"action_code_who",[P]))();#cw=(()=>void dt7948.i(this,"action_code_who"))();static #_=(()=>dt7948.g(this.prototype,"actions_summary",[P]))();#ck=(()=>void dt7948.i(this,"actions_summary"))();static #b=(()=>dt7948.g(this.prototype,"admin",[P]))();#ne=(()=>void dt7948.i(this,"admin"))();static #v=(()=>dt7948.g(this.prototype,"badges_granted",[P]))();#cT=(()=>void dt7948.i(this,"badges_granted"))();static #w=(()=>dt7948.g(this.prototype,"bookmarked",[P]))();#cS=(()=>void dt7948.i(this,"bookmarked"))();static #k=(()=>dt7948.g(this.prototype,"can_delete",[P]))();#ew=(()=>void dt7948.i(this,"can_delete"))();static #T=(()=>dt7948.g(this.prototype,"can_edit",[P]))();#cC=(()=>void dt7948.i(this,"can_edit"))();static #S=(()=>dt7948.g(this.prototype,"can_permanently_delete",[P]))();#eT=(()=>void dt7948.i(this,"can_permanently_delete"))();static #C=(()=>dt7948.g(this.prototype,"can_recover",[P]))();#cA=(()=>void dt7948.i(this,"can_recover"))();static #A=(()=>dt7948.g(this.prototype,"can_see_hidden_post",[P]))();#cD=(()=>void dt7948.i(this,"can_see_hidden_post"))();static #D=(()=>dt7948.g(this.prototype,"can_view_edit_history",[P]))();#cM=(()=>void dt7948.i(this,"can_view_edit_history"))();static #M=(()=>dt7948.g(this.prototype,"cooked",[P]))();#cx=(()=>void dt7948.i(this,"cooked"))();static #z=(()=>dt7948.g(this.prototype,"cooked_hidden",[P]))();#cE=(()=>void dt7948.i(this,"cooked_hidden"))();static #V=(()=>dt7948.g(this.prototype,"created_at",[P]))();#cL=(()=>void dt7948.i(this,"created_at"))();static #W=(()=>dt7948.g(this.prototype,"deleted_at",[P]))();#cP=(()=>void dt7948.i(this,"deleted_at"))();static #K=(()=>dt7948.g(this.prototype,"deleted_by",[P]))();#cF=(()=>void dt7948.i(this,"deleted_by"))();static #G=(()=>dt7948.g(this.prototype,"excerpt",[P]))();#t9=(()=>void dt7948.i(this,"excerpt"))();static #J=(()=>dt7948.g(this.prototype,"expandedExcerpt",[P]))();#cI=(()=>void dt7948.i(this,"expandedExcerpt"))();static #e0=(()=>dt7948.g(this.prototype,"group_moderator",[P]))();#cN=(()=>void dt7948.i(this,"group_moderator"))();static #e2=(()=>dt7948.g(this.prototype,"hidden",[P]))();#iU=(()=>void dt7948.i(this,"hidden"))();static #e3=(()=>dt7948.g(this.prototype,"is_auto_generated",[P]))();#cj=(()=>void dt7948.i(this,"is_auto_generated"))();static #e8=(()=>dt7948.g(this.prototype,"last_wiki_edit",[P]))();#cO=(()=>void dt7948.i(this,"last_wiki_edit"))();static #e4=(()=>dt7948.g(this.prototype,"likeAction",[P]))();#cR=(()=>void dt7948.i(this,"likeAction"))();static #e7=(()=>dt7948.g(this.prototype,"link_counts",[P]))();#cU=(()=>void dt7948.i(this,"link_counts"))();static #e9=(()=>dt7948.g(this.prototype,"locked",[P]))();#cB=(()=>void dt7948.i(this,"locked"))();static #e5=(()=>dt7948.g(this.prototype,"moderator",[P]))();#cY=(()=>void dt7948.i(this,"moderator"))();static #e6=(()=>dt7948.g(this.prototype,"name",[P]))();#is=(()=>void dt7948.i(this,"name"))();static #te=(()=>dt7948.g(this.prototype,"notice",[P]))();#ly=(()=>void dt7948.i(this,"notice"))();static #tt=(()=>dt7948.g(this.prototype,"notice_created_by_user",[P]))();#cH=(()=>void dt7948.i(this,"notice_created_by_user"))();static #ti=(()=>dt7948.g(this.prototype,"post_number",[P]))();#cq=(()=>void dt7948.i(this,"post_number"))();static #sF=(()=>dt7948.g(this.prototype,"post_type",[P]))();#c$=(()=>void dt7948.i(this,"post_type"))();static #sI=(()=>dt7948.g(this.prototype,"primary_group_name",[P]))();#cz=(()=>void dt7948.i(this,"primary_group_name"))();static #sN=(()=>dt7948.g(this.prototype,"read",[P]))();#u8=(()=>void dt7948.i(this,"read"))();static #sj=(()=>dt7948.g(this.prototype,"reply_count",[P]))();#cV=(()=>void dt7948.i(this,"reply_count"))();static #sO=(()=>dt7948.g(this.prototype,"reply_to_user",[P]))();#cW=(()=>void dt7948.i(this,"reply_to_user"))();static #sR=(()=>dt7948.g(this.prototype,"staff",[P]))();#cK=(()=>void dt7948.i(this,"staff"))();static #sU=(()=>dt7948.g(this.prototype,"title_is_group",[P]))();#cG=(()=>void dt7948.i(this,"title_is_group"))();static #sB=(()=>dt7948.g(this.prototype,"trust_level",[P]))();#cJ=(()=>void dt7948.i(this,"trust_level"))();static #sY=(()=>dt7948.g(this.prototype,"updated_at",[P]))();#cQ=(()=>void dt7948.i(this,"updated_at"))();static #sH=(()=>dt7948.g(this.prototype,"user",[P]))();#tH=(()=>void dt7948.i(this,"user"))();static #aB=(()=>dt7948.g(this.prototype,"user_deleted",[P]))();#cX=(()=>void dt7948.i(this,"user_deleted"))();static #aY=(()=>dt7948.g(this.prototype,"user_id",[P]))();#cZ=(()=>void dt7948.i(this,"user_id"))();static #aH=(()=>dt7948.g(this.prototype,"user_suspended",[P]))();#c1=(()=>void dt7948.i(this,"user_suspended"))();static #aq=(()=>dt7948.g(this.prototype,"user_title",[P]))();#c0=(()=>void dt7948.i(this,"user_title"))();static #a$=(()=>dt7948.g(this.prototype,"username",[P]))();#c2=(()=>void dt7948.i(this,"username"))();static #az=(()=>dt7948.g(this.prototype,"version",[P]))();#c3=(()=>void dt7948.i(this,"version"))();static #aV=(()=>dt7948.g(this.prototype,"via_email",[P]))();#c8=(()=>void dt7948.i(this,"via_email"))();static #aW=(()=>dt7948.g(this.prototype,"wiki",[P]))();#c4=(()=>void dt7948.i(this,"wiki"))();static #aK=(()=>dt7948.g(this.prototype,"yours",[P]))();#c7=(()=>void dt7948.i(this,"yours"))();static #aG=(()=>dt7948.g(this.prototype,"user_custom_fields",[P]))();#c9=(()=>void dt7948.i(this,"user_custom_fields"))();static #aJ=(()=>dt7948.g(this.prototype,"canEdit",[(0,r.alias)("can_edit")]))();#n0=(()=>void dt7948.i(this,"canEdit"))();static #aQ=(()=>dt7948.g(this.prototype,"new_user",[(0,r.equal)("trust_level",0)]))();#c5=(()=>void dt7948.i(this,"new_user"))();static #aX=(()=>dt7948.g(this.prototype,"firstPost",[(0,r.equal)("post_number",1)]))();#c6=(()=>void dt7948.i(this,"firstPost"))();static #aZ=(()=>dt7948.g(this.prototype,"deletedViaTopic",[(0,r.and)("firstPost","topic.deleted_at")]))();#de=(()=>void dt7948.i(this,"deletedViaTopic"))();static #a1=(()=>dt7948.g(this.prototype,"deleted",[(0,r.or)("deleted_at","deletedViaTopic")]))();#dt=(()=>void dt7948.i(this,"deleted"))();static #a0=(()=>dt7948.g(this.prototype,"notDeleted",[(0,r.not)("deleted")]))();#di=(()=>void dt7948.i(this,"notDeleted"))();static #a2=(()=>dt7948.g(this.prototype,"recoverable",[(0,r.or)("deleted_at","user_deleted")]))();#ds=(()=>void dt7948.i(this,"recoverable"))();static #a3=(()=>dt7948.g(this.prototype,"topicOwner",[(0,p.propertyEqual)("topic.details.created_by.id","user_id")]))();#dn=(()=>void dt7948.i(this,"topicOwner"))();static #a8=(()=>dt7948.g(this.prototype,"topicCreatedById",[(0,r.alias)("topic.details.created_by.id")]))();#dr=(()=>void dt7948.i(this,"topicCreatedById"))();static #a4=(()=>dt7948.g(this.prototype,"postDeletedBy",[(0,r.alias)("deletedBy")]))();#da=(()=>void dt7948.i(this,"postDeletedBy"))();static #a7=(()=>dt7948.g(this.prototype,"postDeletedAt",[(0,r.alias)("deletedAt")]))();#dl=(()=>void dt7948.i(this,"postDeletedAt"))();constructor(){super(...arguments),M.forEach(e=>{(0,f.defineTrackedProperty)(this,e)})}get shareUrl(){return this.customShare||(0,u.resolveShareUrl)(this.url,this.currentUser)}showName(e,t){return e&&e!==t&&this.siteSettings.display_name_on_posts}static #a9=(()=>dt7948.n(this.prototype,"showName",[(0,h.default)("name","username")]))();get deletedBy(){return this.firstPost?this.topic?.deleted_by:this.deleted_by}get deletedAt(){return this.firstPost?this.topic?.deleted_at:this.deleted_at}url(e,t,i){return(0,y.postUrl)(i||this.topic_slug,t||this.get("topic.id"),e)}static #a5=(()=>dt7948.n(this.prototype,"url",[(0,h.default)("post_number","topic_id","topic.slug")]))();urlWithNumber(e,t){return 1===e?`${t}/1`:t}static #a6=(()=>dt7948.n(this.prototype,"urlWithNumber",[(0,h.default)("post_number","url")]))();usernameUrl(e){return(0,_.userPath)(e)}static #oe=(()=>dt7948.n(this.prototype,"usernameUrl",[(0,h.default)("username")]))();updatePostField(e,t){let i={};return i[e]=t,(0,c.ajax)(`/posts/${this.id}/${e}`,{type:"PUT",data:i}).then(i=>(this.set(e,t),i)).catch(d.popupAjaxError)}get internalLinks(){return(0,o.isEmpty)(this.link_counts)?null:this.link_counts.filter(e=>e.internal&&e.title)}flagsAvailable(){return this.site?this.site.flagTypes.filter(e=>this.get(`actionByName.${e.name_key}.can_act`)):[]}static #ot=(()=>dt7948.n(this.prototype,"flagsAvailable",[(0,h.default)("actions_summary.@each.can_act")]))();useTopicTitleHeadline(e,t){return e&&t}static #oi=(()=>dt7948.n(this.prototype,"useTopicTitleHeadline",[(0,h.default)("siteSettings.use_pg_headlines_for_excerpt","topic_title_headline")]))();topicTitleHeadline(e){return(0,g.fancyTitle)(e,this.siteSettings.support_mixed_text_direction)}static #os=(()=>dt7948.n(this.prototype,"topicTitleHeadline",[(0,h.default)("topic_title_headline")]))();get canBookmark(){return!!this.currentUser}get canDelete(){return this.can_delete&&!this.deleted_at&&this.currentUser&&(this.currentUser.staff||!this.user_deleted)}get canDeleteTopic(){return this.firstPost&&!this.deleted&&this.topic.details.can_delete}get canEditStaffNotes(){return!!this.topic.details.can_edit_staff_notes}get canFlag(){return!this.topic.deleted&&!(0,o.isEmpty)(this.flagsAvailable)}get canManage(){return this.currentUser?.canManageTopic}get canPermanentlyDelete(){return this.deleted&&(this.firstPost?this.topic.details.can_permanently_delete:this.can_permanently_delete)}get canPublishPage(){return this.firstPost&&!!this.topic.details.can_publish_page}get canRecoverTopic(){return this.firstPost&&this.deleted&&this.topic.details.can_recover}get isRecoveringTopic(){return this.firstPost&&!this.deleted&&this.topic.details.can_recover}get canRecover(){return!this.canRecoverTopic&&this.recoverable&&this.can_recover}get isRecovering(){return!this.isRecoveringTopic&&!this.recoverable&&this.can_recover}get canSplitMergeTopic(){return!!this.topic?.details?.can_split_merge_topic}get canToggleLike(){return!!this.likeAction?.get("canToggle")}get filteredRepliesPostNumber(){return this.topic.get("postStream.filterRepliesToPostNumber")}get hasReplies(){return this.reply_count>0}get isWhisper(){return this.post_type===this.site.post_types.whisper}get isModeratorAction(){return this.post_type===this.site.post_types.moderator_action}get liked(){return!!this.likeAction?.get("acted")}get likeCount(){return this.likeAction?.get("count")}get showFlagDelete(){return!this.canDelete&&this.yours&&this.canFlag&&this.currentUser&&!this.currentUser.staff}get showLike(){return!!(!this.currentUser||this.topic?.get("archived")&&this.user_id!==this.currentUser.id)||this.likeAction&&(this.liked||this.canToggleLike)}afterUpdate(e){e.category&&this.site.updateCategory(e.category)}updateProperties(){return{post:{raw:this.raw,edit_reason:this.editReason},image_sizes:this.imageSizes}}createProperties(){let e=this.getProperties(k.default.serializedFieldsForCreate());e.reply_to_post_number=this.reply_to_post_number,e.image_sizes=this.imageSizes;let t=this.metaData;return t&&(e.meta_data={},Object.keys(t).forEach(i=>e.meta_data[i]=t[i])),e}async expand(){let e=await (0,c.ajax)(`/posts/${this.id}/expand-embed`);this.cooked=``}recover(){let e=this.getProperties("deleted_at","deleted_by","user_deleted","can_delete");return this.setProperties({deleted_at:null,deleted_by:null,user_deleted:!1,can_delete:!1}),(0,c.ajax)(`/posts/${this.id}/recover`,{type:"PUT"}).then(e=>{this.setProperties({cooked:e.cooked,raw:e.raw,user_deleted:!1,can_delete:!0,version:e.version})}).catch(t=>{(0,d.popupAjaxError)(t),this.setProperties(e)})}setDeletedState(e){let t;if(this.set("oldCooked",this.cooked),e.staff||0===this.siteSettings.delete_removed_posts_after)this.setProperties({deleted_at:new Date,deleted_by:e,can_delete:!1,can_permanently_delete:this.siteSettings.can_permanently_delete&&e.admin,can_recover:!0});else{let e=1===this.post_number?"topic.deleted_by_author_simple":"post.deleted_by_author_simple";t=(0,m.cook)((0,A.i18n)(e)).then(e=>{this.setProperties({cooked:e,can_delete:!1,can_permanently_delete:!1,version:this.version+1,can_recover:!0,can_edit:!1,user_deleted:!0})})}return t||l.Promise.resolve()}undoDeleteState(){this.oldCooked&&this.setProperties({deleted_at:null,deleted_by:null,cooked:this.oldCooked,version:this.version-1,can_recover:!1,can_delete:!0,user_deleted:!1})}destroy(e,t){return this.setDeletedState(e).then(()=>(0,c.ajax)("/posts/"+this.id,{data:{context:window.location.pathname,...t},type:"DELETE"}))}updateFromPost(e){[...Object.keys(e),...x,...M].forEach(t=>{let i=e[t],s=this[t];i||(i=null),s||(s=null);let r=!1;"function"!=typeof i&&s!==i&&("reply_to_user"===t&&i&&s&&(r=i.username===s.username||(0,n.get)(i,"username")===(0,n.get)(s,"username")),r||this.set(t,i))})}expandHidden(){return(0,c.ajax)(`/posts/${this.id}/cooked.json`).then(e=>{this.setProperties({cooked:e.cooked,cooked_hidden:!1})})}rebake(){return(0,c.ajax)(`/posts/${this.id}/rebake`,{type:"PUT"}).catch(d.popupAjaxError)}unhide(){return(0,c.ajax)(`/posts/${this.id}/unhide`,{type:"PUT"})}createBookmark(e){this.setProperties({"topic.bookmarked":!0,bookmarked:!0,bookmark_reminder_at:e.reminder_at,bookmark_auto_delete_preference:e.auto_delete_preference,bookmark_name:e.name,bookmark_id:e.id}),this.topic.incrementProperty("bookmarksWereChanged"),this.appEvents.trigger("bookmarks:changed",e,{target:"post",targetId:this.id}),this.appEvents.trigger("post-stream:refresh",{id:this.id})}deleteBookmark(e){this.set("topic.bookmarked",e),this.clearBookmark()}clearBookmark(){this.setProperties({bookmark_reminder_at:null,bookmark_name:null,bookmark_id:null,bookmarked:!1,bookmark_auto_delete_preference:null}),this.topic.incrementProperty("bookmarksWereChanged"),this.appEvents.trigger("bookmarks:changed",null,{target:"post",targetId:this.id})}updateActionsSummary(e){e&&e.id===this.id&&(e=F.munge(e),this.set("actions_summary",e.actions_summary))}updateLikeCount(e,t,i){let s=this.currentUser?.id===t,n=s&&"liked"===i,r=this.get("actions_summary"),a=S.default.current().post_action_types.find(e=>"like"===e.name_key).id,o={id:a,count:e,acted:n};if(this.actions_summary.find(e=>e.id===a))o.acted=(n||this.likeAction.acted)&&!("unliked"===i&&s),Object.assign(this.actions_summary.find(e=>e.id===a),o),Object.assign(this.actionByName.like,o),Object.assign(this.likeAction,o);else{let e=F.munge({id:this.id,actions_summary:[o]});this.set("actions_summary",Object.assign(r,e.actions_summary)),this.set("actionByName",e.actionByName),this.set("likeAction",e.likeAction)}}revertToRevision(e){return(0,c.ajax)(`/posts/${this.id}/revisions/${e}/revert`,{type:"PUT"})}get topicNotificationLevel(){return this.topic.details.notification_level}get userBadges(){if(!this.topic?.user_badges)return;let e=this.topic.user_badges.users[this.user_id]?.badge_ids;if(e)return e.map(e=>this.topic.user_badges.badges[e])}get badgesGranted(){return this.badges_granted?.map(e=>{let t=w.default.createFromJson(e);return Array.isArray(t)?t[0]:t})}static #on=(()=>dt7948.n(this.prototype,"badgesGranted",[D]))();get requestedGroupName(){return 1===this.post_number?this.topic?.requested_group_name:null}get expandablePost(){return 1===this.post_number&&!!this.topic?.expandable_first_post}get topicUrl(){return this.topic?.url}get actionsSummary(){return this.actions_summary?.filter(e=>"like"!==e.actionType.name_key&&e.acted)?.map(e=>({id:e.id,postId:this.id,action:e.actionType.name_key,canUndo:e.can_undo,description:e.translatedDescription}))}static #or=(()=>dt7948.n(this.prototype,"actionsSummary",[D]))()}},57610:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(32504),n=i(91514),r=i.n(n),a=i(81185),o=i(72799),l=i(71209);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"moCutui4",block:'[[[1,"\\n "],[1,[28,[32,0],[[30,0,["rowValue"]]],[["count","noHref"],[[30,0,["item","count"]],true]]]],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/tag-chooser-row.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.classNames)("tag-chooser-row")])},57722:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21980),n=i(75527),r=i(57528),a=i(53775),o=i(70412),l=i(72523),u=i(35352),c=i(90211),d=i(36649),p=i(88820);let{TOTP:h,BACKUP_CODE:m,SECURITY_KEY:g}=d.SECOND_FACTOR_METHODS;class f extends s.default{TOTP=(()=>h)();BACKUP_CODE=(()=>m)();SECURITY_KEY=(()=>g)();queryParams=["nonce"];message=null;loadError=!1;messageIsError=!1;secondFactorToken=null;userSelectedMethod=null;isLoading=!1;static #e=(()=>dt7948.g(this.prototype,"totpEnabled",[(0,r.readOnly)("model.totp_enabled")]))();#uZ=(()=>void dt7948.i(this,"totpEnabled"))();static #t=(()=>dt7948.g(this.prototype,"backupCodesEnabled",[(0,r.readOnly)("model.backup_enabled")]))();#du=(()=>void dt7948.i(this,"backupCodesEnabled"))();static #i=(()=>dt7948.g(this.prototype,"securityKeysEnabled",[(0,r.readOnly)("model.security_keys_enabled")]))();#dc=(()=>void dt7948.i(this,"securityKeysEnabled"))();static #s=(()=>dt7948.g(this.prototype,"allowedMethods",[(0,r.readOnly)("model.allowed_methods")]))();#dd=(()=>void dt7948.i(this,"allowedMethods"))();static #u=(()=>dt7948.g(this.prototype,"customDescription",[(0,r.readOnly)("model.description")]))();#dp=(()=>void dt7948.i(this,"customDescription"))();static #c=(()=>dt7948.g(this.prototype,"showTotpForm",[(0,r.equal)("shownSecondFactorMethod",h)]))();#dh=(()=>void dt7948.i(this,"showTotpForm"))();static #_=(()=>dt7948.g(this.prototype,"showSecurityKeyForm",[(0,r.equal)("shownSecondFactorMethod",g)]))();#dm=(()=>void dt7948.i(this,"showSecurityKeyForm"))();static #b=(()=>dt7948.g(this.prototype,"showBackupCodesForm",[(0,r.equal)("shownSecondFactorMethod",m)]))();#dg=(()=>void dt7948.i(this,"showBackupCodesForm"))();totpAvailable(){return this.totpEnabled&&this.allowedMethods.includes(h)}static #v=(()=>dt7948.n(this.prototype,"totpAvailable",[(0,l.default)("allowedMethods.[]","totpEnabled")]))();backupCodesAvailable(){return this.backupCodesEnabled&&this.allowedMethods.includes(m)}static #w=(()=>dt7948.n(this.prototype,"backupCodesAvailable",[(0,l.default)("allowedMethods.[]","backupCodesEnabled")]))();securityKeysAvailable(){return this.securityKeysEnabled&&this.allowedMethods.includes(g)}static #k=(()=>dt7948.n(this.prototype,"securityKeysAvailable",[(0,l.default)("allowedMethods.[]","securityKeysEnabled")]))();shownSecondFactorMethod(e,t,i,s){if(null!==e)return e;if(t)return g;if(i)return h;if(s)return m;throw Error("unexpected state of user 2fa settings!")}static #T=(()=>dt7948.n(this.prototype,"shownSecondFactorMethod",[(0,l.default)("userSelectedMethod","securityKeysAvailable","totpAvailable","backupCodesAvailable")]))();alternativeMethods(e,t,i,s){let n=[];return t&&e!==g&&n.push({id:g,translationKey:"login.second_factor_toggle.security_key",class:"security-key"}),i&&e!==h&&n.push({id:h,translationKey:"login.second_factor_toggle.totp",class:"totp"}),s&&e!==m&&n.push({id:m,translationKey:"login.second_factor_toggle.backup_code",class:"backup-code"}),n}static #S=(()=>dt7948.n(this.prototype,"alternativeMethods",[(0,l.default)("shownSecondFactorMethod","securityKeysAvailable","totpAvailable","backupCodesAvailable")]))();secondFactorTitle(e){switch(e){case h:case g:return(0,p.i18n)("login.second_factor_title");case m:return(0,p.i18n)("login.second_factor_backup_title")}}static #C=(()=>dt7948.n(this.prototype,"secondFactorTitle",[(0,l.default)("shownSecondFactorMethod")]))();secondFactorDescription(e){switch(e){case h:return(0,p.i18n)("login.second_factor_description");case g:return(0,p.i18n)("login.security_key_description");case m:return(0,p.i18n)("login.second_factor_backup_description")}}static #A=(()=>dt7948.n(this.prototype,"secondFactorDescription",[(0,l.default)("shownSecondFactorMethod")]))();alertClass(e){return e?"alert-error":"alert-success"}static #D=(()=>dt7948.n(this.prototype,"alertClass",[(0,l.default)("messageIsError")]))();inputFormClass(e,t){return e?"totp-token":t?"backup-code-token":void 0}static #M=(()=>dt7948.n(this.prototype,"inputFormClass",[(0,l.default)("showTotpForm","showBackupCodesForm")]))();resetState(){this.set("message",null),this.set("messageIsError",!1),this.set("secondFactorToken",null),this.set("userSelectedMethod",null),this.set("loadError",!1)}displayError(e){this.set("message",e),this.set("messageIsError",!0)}displaySuccess(e){this.set("message",e),this.set("messageIsError",!1)}async verifySecondFactor(e){this.set("isLoading",!0);try{let t=await (0,a.ajax)("/session/2fa",{type:"POST",data:{...e,second_factor_method:this.shownSecondFactorMethod,nonce:this.nonce}}),i=await (0,a.ajax)(t.callback_path,{type:t.callback_method,data:{second_factor_nonce:this.nonce,...t.callback_params}});this.displaySuccess((0,p.i18n)("second_factor_auth.redirect_after_success")),u.default.routeTo(i.redirect_url||t.redirect_url)}catch(e){this.displayError((0,o.extractError)(e))}finally{this.set("isLoading",!1)}}useAnotherMethod(e,t){t?.preventDefault(),this.set("userSelectedMethod",e)}static #z=(()=>dt7948.n(this.prototype,"useAnotherMethod",[n.action]))();authenticateSecurityKey(){(0,c.getWebauthnCredential)(this.model.challenge,this.model.allowed_credential_ids,e=>{this.verifySecondFactor({second_factor_token:e})},e=>{this.displayError(e)})}static #V=(()=>dt7948.n(this.prototype,"authenticateSecurityKey",[n.action]))();isSecondFactorTokenValid(e){return e?.length>0}static #W=(()=>dt7948.n(this.prototype,"isSecondFactorTokenValid",[(0,l.default)("secondFactorToken")]))();authenticateToken(){this.verifySecondFactor({second_factor_token:this.secondFactorToken})}static #K=(()=>dt7948.n(this.prototype,"authenticateToken",[n.action]))()}},57723:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(87449),n=i(88820);let r={relativeColor:CSS.supports("(color: hsl(from white h s l))"),subgrid:CSS.supports("(grid-template-rows: subgrid)"),lookbehindRegex:function(){try{return RegExp("(?<=a)b").test("ab")}catch{return!1}}()},a=(0,s.apiInitializer)(e=>{Object.values(r).every(Boolean)||(console.error("Feature detection result",r),e.addGlobalNotice((0,n.i18n)("safari_15_warning",{url:"https://meta.discourse.org/t/358131"}),"browser-deprecation-warning",{dismissable:!0,level:"warn",dismissDuration:moment.duration(1,"week")}))})},57749:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(95766),n=i(87531),r=i(72799),a=i(75527),o=i(81539),l=i(72490),u=i(36649),c=i(88820),d=i(71209);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#eg=(()=>void dt7948.i(this,"loading"))();maxSecondFactorNameLength=(()=>u.MAX_SECOND_FACTOR_NAME_LENGTH)();editSecondFactor(){this.loading=!0,this.args.model.user.updateSecondFactor(this.args.model.secondFactor.id,this.args.model.secondFactor.name,!1,this.args.model.secondFactor.method).then(e=>{e.error||this.args.model.markDirty()}).catch(e=>{this.args.closeModal(),this.args.model.onError(e)}).finally(()=>{this.loading=!1,this.args.closeModal()})}static #t=(()=>dt7948.n(this.prototype,"editSecondFactor",[a.action]))();static #i=(()=>(0,r.setComponentTemplate)((0,d.createTemplateFactory)({id:"8gHYTYjc",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["user.second_factor.edit_title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"input-group"],[12],[1,"\\n "],[10,"label"],[14,"for","authenticator-name"],[12],[1,[28,[32,1],["user.second_factor.edit_description"],null]],[13],[1,"\\n "],[8,[32,2],[[24,3,"authenticator-name"],[16,"maxlength",[30,0,["maxSecondFactorNameLength"]]]],[["@type","@value"],["text",[30,2,["secondFactor","name"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["editSecondFactor"]],"user.second_factor.save"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/second-factor-edit.js",scope:()=>[l.default,c.i18n,r.Input,o.default],isStrictMode:!0}),this))()}},57750:(e,t,i)=>{"use strict";e.exports=new(i(94950))("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},57832:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(18555),n=i(72577);let r=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#a=(()=>void dt7948.i(this,"router"))();get onDiscoveryRoute(){let{currentRouteName:e}=this.router;return e?.startsWith("discovery.")||e?.startsWith("tags.show")||"tag.show"===e}get category(){if(this.onDiscoveryRoute)return this.#df?.category}get tag(){if(this.onDiscoveryRoute)return this.#df?.tag}get currentTopicList(){if(this.onDiscoveryRoute)return this.#df?.list}get #df(){return this.router.currentRoute.attributes}},[n.disableImplicitInjections])},57965:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(95766),n=i(18555),r=i(74142),a=i(87139),o=i(7543),l=i(70879),u=i(72342),c=i(72799),d=i(71209);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#L=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>(0,c.setComponentTemplate)((0,d.createTemplateFactory)({id:"7r6UOHDc",block:'[[[1,"\\n "],[10,0],[14,0,"sidebar-sections"],[12],[1,"\\n "],[8,[32,0],null,[["@collapsable","@toggleNavigationMenu"],[[30,1],[30,2]]],null],[1,"\\n\\n "],[8,[32,1],null,[["@collapsable"],[[30,1]]],null],[1,"\\n\\n"],[41,[30,0,["currentUser","display_sidebar_tags"]],[[[1," "],[8,[32,2],null,[["@collapsable"],[[30,1]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["currentUser","can_send_private_messages"]],[[[1," "],[8,[32,3],null,[["@collapsable"],[[30,1]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,3]],[[[1," "],[8,[32,4],null,[["@collapsable"],[[30,1]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@collapsableSections","@toggleNavigationMenu","@hideApiSections"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/user/sections.js",scope:()=>[o.default,a.default,u.default,l.default,r.default],isStrictMode:!0}),this))()}},58013:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(72799),n=i(75527),r=i(32504),a=i(81539),o=i(35813),l=i(47952),u=i(71209);let c=dt7948.c(class extends s.default{date=null;relativeDate=null;showTime=!0;clearable=!1;get hours(){return this.date&&this.get("showTime")?this.date.hours():null}static #e=(()=>dt7948.n(this.prototype,"hours",[(0,n.computed)("date","showTime")]))();get minutes(){return this.date&&this.get("showTime")?this.date.minutes():null}static #t=(()=>dt7948.n(this.prototype,"minutes",[(0,n.computed)("date","showTime")]))();onClear(){this.onChange(null)}static #i=(()=>dt7948.n(this.prototype,"onClear",[n.action]))();onChangeTime(e){if(this.onChange){let t=this.date?this.date:this.relativeDate?this.relativeDate:moment.tz(this.resolvedTimezone);this.onChange(moment.tz({year:t.year(),month:t.month(),day:t.date(),hours:e.hours,minutes:e.minutes},this.resolvedTimezone))}}static #s=(()=>dt7948.n(this.prototype,"onChangeTime",[n.action]))();onChangeDate(e){if(!e)return void this.onClear();this.onChange?.(moment.tz({year:e.year(),month:e.month(),day:e.date(),hours:this.hours||0,minutes:this.minutes||0},this.resolvedTimezone))}static #u=(()=>dt7948.n(this.prototype,"onChangeDate",[n.action]))();get resolvedTimezone(){return this.timezone||moment.tz.guess()}static #c=(()=>dt7948.n(this.prototype,"resolvedTimezone",[(0,n.computed)("timezone")]))();static #_=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"gZ+PK9kq",block:'[[[1,"\\n"],[41,[51,[30,0,["timeFirst"]]],[[[1," "],[8,[32,0],null,[["@date","@placeholder","@relativeDate","@onChange","@useGlobalPickerContainer"],[[30,0,["date"]],[30,0,["placeholder"]],[30,0,["relativeDate"]],[30,0,["onChangeDate"]],[30,0,["useGlobalPickerContainer"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showTime"]],[[[1," "],[8,[32,1],null,[["@date","@relativeDate","@onChange"],[[30,0,["date"]],[30,0,["relativeDate"]],[30,0,["onChangeTime"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["timeFirst"]],[[[1," "],[8,[32,0],null,[["@date","@placeholder","@relativeDate","@onChange","@useGlobalPickerContainer"],[[30,0,["date"]],[30,0,["placeholder"]],[30,0,["relativeDate"]],[30,0,["onChangeDate"]],[30,0,["useGlobalPickerContainer"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["clearable"]],[[[1," "],[8,[32,2],[[24,0,"btn-default clear-date-time"]],[["@icon","@action"],["xmark",[30,0,["onClear"]]]],null],[1,"\\n"]],[]],null],[1," "]],[],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/date-time-input.js",scope:()=>[o.default,l.default,a.default],isStrictMode:!0}),this))()},[(0,r.classNames)("d-date-time-input")])},58041:e=>{"use strict";function t(e,t){var i="",s=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(i+=`
`+e.mark.snippet),s+" "+i):s}function i(e,i){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=i,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.toString=function(e){return this.name+": "+t(this,e)},e.exports=i},58071:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(90541)},58164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BUTTON_ACTION_MODE_DELETE:()=>o,BUTTON_ACTION_MODE_DELETE_TOPIC:()=>l,BUTTON_ACTION_MODE_RECOVER:()=>c,BUTTON_ACTION_MODE_RECOVERING:()=>p,BUTTON_ACTION_MODE_RECOVERING_TOPIC:()=>h,BUTTON_ACTION_MODE_RECOVER_TOPIC:()=>d,BUTTON_ACTION_MODE_SHOW_FLAG_DELETE:()=>u,default:()=>m});var s=i(95766),n=i(81539),r=i(72799),a=i(71209);let o="delete",l="delete-topic",u="show-flag-delete",c="recover",d="recover-topic",p="recovering",h="recovering-topic";class m extends s.default{static shouldRender(e){return!!m.modeFor(e.post)}static modeFor(e){if(e.canRecoverTopic)return d;if(e.canDeleteTopic)return l;if(e.canRecover)return c;if(e.canDelete)return o;if(e.showFlagDelete)return u;else if(e.isRecovering)return p;else if(e.isRecoveringTopic)return h}get className(){switch(this.#d_){case c:case d:case p:case h:return"post-action-menu__recover recover";default:return"post-action-menu__delete delete"}}get icon(){switch(this.#d_){case c:case d:case p:case h:return"arrow-rotate-left";default:return"trash-can"}}get label(){switch(this.#d_){case o:return"post.controls.delete_action";case l:case u:return"topic.actions.delete";case c:case p:return"post.controls.undelete_action";case d:case h:return"topic.actions.recover"}}get title(){switch(this.#d_){case o:return"post.controls.delete";case l:return"post.controls.delete_topic";case u:return"post.controls.delete_topic_disallowed";case c:case p:return"post.controls.undelete";case d:case h:return"topic.actions.recover"}}get activeAction(){if(this.args.post.canRecoverTopic)return this.args.buttonActions.recoverPost;if(this.args.post.canDeleteTopic)return this.args.buttonActions.deletePost;if(this.args.post.canRecover)return this.args.buttonActions.recoverPost;if(this.args.post.canDelete)return this.args.buttonActions.deletePost;if(this.args.post.showFlagDelete)return this.args.buttonActions.showDeleteTopicModal}get disabled(){return!this.activeAction}get #d_(){return this.constructor.modeFor(this.args.post)}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"OIzyWdfV",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[30,0,["className"]]],[17,1],[16,"disabled",[30,0,["disabled"]]]],[["@action","@icon","@label","@title"],[[30,0,["activeAction"]],[30,0,["icon"]],[52,[30,2],[30,0,["label"]]],[30,0,["title"]]]],null],[1,"\\n "]],["&attrs","@showLabel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/delete.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},58199:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(75527),n=i(15613),r=i(86073);class a extends n.default{title(){return"flagging_topic.title"}targetsTopic(){return!0}customSubmitLabel(){return"flagging_topic.notify_action"}submitLabel(){return"flagging_topic.action"}flagCreatedEvent(){return"topic:flag-created"}flagsAvailable(e){let t=s.default.create();return e.args.model.flagModel.actions_summary.forEach(i=>{i.flagTopic=e.args.model.flagModel,i.actionType=e.site.topicFlagTypeById(i.id),t.set(i.actionType.name_key,r.default.create(i))}),e.topicActionByName=t,e.site.topic_flag_types.filter(t=>e.args.model.flagModel.actions_summary.some(e=>e.id===t.id&&e.can_act))}postActionFor(e){return e.topicActionByName[e.selected.name_key]}}},58257:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(72799),n=i(4781),r=i(83426),a=i(12733),o=i(71209),l=i(86960);let u=(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"wGFvMdhi",block:'[[[1,"\\n "],[10,0],[14,0,"control-group form-template-field"],[14,"data-field-type","textarea"],[12],[1,"\\n"],[41,[30,1,["label"]],[[[1," "],[10,"label"],[14,0,"form-template-field__label"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n"],[41,[30,2,["required"]],[[[1," "],[1,[28,[32,0],["asterisk"],[["class"],["form-template-field__required-indicator"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1," "],[10,1],[14,0,"form-template-field__description"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["description"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],[[16,3,[30,3]],[24,0,"form-template-field__textarea"],[16,"placeholder",[30,1,["placeholder"]]],[16,"pattern",[30,2,["pattern"]]],[16,"minlength",[30,2,["minimum"]]],[16,"maxlength",[30,2,["maximum"]]],[16,"required",[52,[30,2,["required"]],"required",""]],[4,[32,3],["input",[30,5]],null]],[["@value"],[[30,4]]],null],[1," "],[13],[1,"\\n"]],["@attributes","@validations","@id","@value","@onChange"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/textarea.js",scope:()=>[a.default,r.htmlSafe,s.Textarea,n.on],isStrictMode:!0}),(0,l.default)(void 0,"textarea:Textarea0"))},58313:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(95766),n=i(25604),r=i(75527),a=i(81539),o=i(72490),l=i(24633),u=i(53775),c=i(70412),d=i(88820),p=i(72799),h=i(71209);class m extends s.default{delete(){(0,u.ajax)("/admin/themes/bulk_destroy.json",{type:"DELETE",data:{theme_ids:this.args.model.selectedThemesOrComponents.mapBy("id")}}).then(()=>{this.args.model.refreshAfterDelete(),this.args.closeModal()}).catch(c.popupAjaxError)}static #e=(()=>dt7948.n(this.prototype,"delete",[r.action]))();static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"hy0UXPgS",block:'[[[1,"\\n "],[8,[32,0],null,[["@closeModal","@title"],[[30,1],[28,[32,1],["admin.customize.bulk_delete"],null]]],[["body","footer"],[[[[1,"\\n "],[1,[28,[32,1],[[28,[32,2],["admin.customize.bulk_",[30,2,["type"]],"_delete_confirm"],null]],null]],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,2,["selectedThemesOrComponents"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,[30,3,["name"]]],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n\\n "]],[]],[[[1,"\\n "],[8,[32,3],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["delete"]],"yes_value"]],null],[1,"\\n "],[8,[32,4],null,[["@close"],[[30,1]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model","theme"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/delete-themes-confirm.js",scope:()=>[o.default,d.i18n,n.concat,a.default,l.default],isStrictMode:!0}),this))()}},58521:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(25604),n=i(8658),r=i(20804),a=i(53769),o=i(28078),l=i(88820),u=i(72799),c=i(71209),d=i(86960);let p=(0,n.default)((0,u.setComponentTemplate)((0,c.createTemplateFactory)({id:"7KjyXftR",block:'[[[1,"\\n "],[1,[28,[32,0],["user-badges-page"],null]],[1,"\\n\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["user-badges-content",[28,[32,2],null,[["sortedBadges","maxFavBadges","favoriteBadges","canFavoriteMoreBadges","favorite"],[[30,1,["sortedBadges"]],[30,1,["siteSettings","max_favorite_badges"]],[30,1,["favoriteBadges"]],[30,1,["canFavoriteMoreBadges"]],[30,1,["favorite"]]]]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["siteSettings","max_favorite_badges"]],[[[1," "],[10,2],[14,0,"favorite-count"],[12],[1,"\\n "],[1,[28,[32,3],["badges.favorite_count"],[["count","max"],[[30,1,["favoriteBadges","length"]],[30,1,["siteSettings","max_favorite_badges"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"badge-group-list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["sortedBadges"]]],null]],null],null,[[[1," "],[8,[32,4],null,[["@badge","@count","@canFavorite","@isFavorite","@username","@canFavoriteMoreBadges","@onFavoriteClick","@filterUser"],[[30,2,["badge"]],[30,2,["count"]],[30,2,["can_favorite"]],[30,2,["is_favorite"]],[30,1,["username"]],[30,1,["canFavoriteMoreBadges"]],[28,[32,5],[[30,1,["favorite"]],[30,2]],null],"true"]],null],[1,"\\n"]],[2]],null],[1," "],[8,[32,1],null,[["@name","@outletArgs"],["after-user-profile-badges",[28,[32,2],null,[["user"],[[30,1,["user","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@controller","ub"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/badges.js",scope:()=>[o.default,a.default,s.hash,l.i18n,r.default,s.fn],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},58572:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CUSTOM_TABS_CLASSES:()=>r,default:()=>n,registerUserMenuTab:()=>a,resetUserMenuTabs:()=>o});var s=i(88820);class n{constructor(e,t,i){this.currentUser=e,this.siteSettings=t,this.site=i}get shouldDisplay(){return!0}get count(){return 0}get title(){let e,t=this.id.replaceAll(/-/g,"_"),i=this.count;return e=this.count?`user_menu.tabs.${t}_with_unread`:`user_menu.tabs.${t}`,(0,s.i18n)(e,{count:i})}get panelComponent(){throw Error("not implemented")}get id(){throw Error("not implemented")}get icon(){throw Error("not implemented")}get notificationTypes(){}getUnreadCountForType(e){let t=`grouped_unread_notifications.${this.site.notification_types[e]}`,i=`grouped_unread_high_priority_notifications.${this.site.notification_types[e]}`;return this.currentUser.get(t)||this.currentUser.get(i)||0}}let r=[];function a(e){r.push(e(n))}function o(){r.length=0}},58602:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?i[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},58610:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i},week:{dow:1,doy:4}})})},58712:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(81213);class n extends s.default{get dismissTypes(){return this.filterByTypes}get emptyStateComponent(){return"user-menu/other-notifications-list-empty-state"}get renderDismissConfirmation(){return!1}}},58744:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(72799),n=i(75527),r=i(32504),a=i(56729),o=i(55800);let l=dt7948.c(class extends s.default.extend(o.default){selectKit=null;role="listbox";tabindex=0;get selectedValue(){return this.value===this.getValue(this.selectKit.noneItem)?null:(0,a.makeArray)(this.value).join(",")}static #e=(()=>dt7948.n(this.prototype,"selectedValue",[(0,n.computed)("value")]))();get selectedNames(){return(0,a.makeArray)(this.selectedContent).map(e=>this.getName(e)).join(",")}static #t=(()=>dt7948.n(this.prototype,"selectedNames",[(0,n.computed)("selectedContent.[]")]))();get buttonTitle(){if(!this.value&&this.selectKit.noneItem&&!this.selectKit.options.showFullTitle)return this.selectKit.noneItem.title||this.selectKit.noneItem.name}static #i=(()=>dt7948.n(this.prototype,"buttonTitle",[(0,n.computed)("value","selectKit.noneItem")]))();get icons(){let e=(0,a.makeArray)(this.selectKit.options.icon),t=(0,a.makeArray)(this.selectKit.options.icons);return e.concat(t).filter(Boolean)}static #s=(()=>dt7948.n(this.prototype,"icons",[(0,n.computed)("selectKit.options.{icon,icons}")]))();didInsertElement(){super.didInsertElement(...arguments),this.selectKit.options.autofocus&&this.set("isFocused",!0)}mouseDown(){return!1}click(e){if(e.preventDefault(),e.stopPropagation(),e.target?.classList.contains("selected-choice")||e.target.parentNode?.classList.contains("selected-choice"))return!1;let t="INPUT"===e.target.tagName||e.target.querySelector("input");this.selectKit.isExpanded&&t||this.selectKit.toggle(e)}keyUp(e){" "===e.key&&e.preventDefault()}keyDown(e){if(this.selectKit.isDisabled||this.selectKit.options.disabled||this.selectKit.options.useHeaderFilter)return;if(!this.selectKit.onKeydown(e))return!1;let t=e.shiftKey&&"Shift"===e.key;if(!e.metaKey&&!t)if("Enter"===e.key)if(e.stopPropagation(),this.selectKit.isExpanded){if(this.selectKit.highlighted)return this.selectKit.select(this.getValue(this.selectKit.highlighted),this.selectKit.highlighted),!1}else this.selectKit.close(e);else if("ArrowUp"===e.key)return e.stopPropagation(),this.selectKit.isExpanded?this.selectKit.highlightPrevious():this.selectKit.open(e),!1;else if("ArrowDown"===e.key)return e.stopPropagation(),this.selectKit.isExpanded?this.selectKit.highlightNext():this.selectKit.open(e),!1;else if(" "===e.key)e.stopPropagation(),e.preventDefault(),this.selectKit.open(e);else if("Escape"===e.key)e.stopPropagation(),this.selectKit.isExpanded?this.selectKit.close(e):this.element.blur();else if("Tab"===e.key)return!0;else if("Backspace"===e.key)this._focusFilterInput();else if(this.selectKit.options.filterable||this.selectKit.options.autoFilterable||this.selectKit.options.allowAny)this.selectKit.isExpanded?this._focusFilterInput():this.isValidInput(e.key)&&(this.selectKit.set("filter",e.key),this.selectKit.open(e),e.preventDefault(),e.stopPropagation());else if(this.selectKit.isExpanded)return!1;else return!0}_focusFilterInput(){let e=document.querySelector(`#${this.selectKit.uniqueID}-filter`);if(e){e.style.display="flex";let t=e.querySelector(".filter-input");t&&t.focus()}}},[(0,r.attributeBindings)("role","tabindex","selectedValue:data-value","selectedNames:data-name","buttonTitle:title","selectKit.options.autofocus:autofocus"),(0,r.classNameBindings)("isFocused"),(0,r.classNames)("select-kit-header")])},58782:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(78212);i(61535),i(11191),i(77350),i(38230),i(8215);var n=i(42938),r=i(17),a=i(27024);i(80725);let o=i(99110).default.create({get(e){return(0,n.g)(this,e)},getProperties(){for(var e=arguments.length,t=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:1;return(0,r.s)(this,e,(parseFloat((0,n.g)(this,e))||0)+t)},decrementProperty(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,r.s)(this,e,((0,n.g)(this,e)||0)-t)},toggleProperty(e){return(0,r.s)(this,e,!(0,n.g)(this,e))},cacheFor(e){let t=(0,s.peekMeta)(this);return null!==t?t.valueFor(e):void 0}})},58821:(e,t,i)=>{"use strict";function s(e){if(!Array.isArray(e))throw Error("the argument to the each() macro must be an array");return e}function n(e){return e}function r(e){return l.packages[e]}function a(){return l.global}function o(){let e=l.global,t=e&&e["@embroider/macros"];return!!(t&&t.isTesting)}i.r(t),i.d(t,{config:()=>r,each:()=>s,getGlobalConfig:()=>a,isTesting:()=>o,macroCondition:()=>n});let l=function(){return{packages:{},global:{}}}(),u="undefined"!=typeof window?window._embroider_macros_runtime_config:void 0;if(u){let e=function(){return{config:r,getGlobalConfig:a,setConfig(e,t){l.packages[e]=t},setGlobalConfig(e,t){l.global[e]=t}}}();for(let t of u)t(e)}},58837:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(95766),n=i(72799),r=i(71209);class a extends s.default{get messagesNav(){return document.getElementById("user-navigation-secondary__horizontal-nav")}static #e=(()=>(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"e9ozi6Gf",block:'[[[1,"\\n"],[40,[[[1," "],[18,1,null],[1,"\\n"]],[]],"%cursor:0%",[28,[31,1],[[30,0,["messagesNav"]]],null]],[1," "]],["&default"],false,["in-element","-in-el-null","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-nav/messages-secondary-nav.js",isStrictMode:!0}),this))()}},58878:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});class s{constructor(){this.updateRect()}updateRect(){let e=document.getSelection();if(this.range=e?.rangeCount&&e?.getRangeAt?.(0),this.range){if(this.range.collapsed){let e=document.createElement("span");e.textContent="",this.range.insertNode(e),this.rect=e.getBoundingClientRect(),e.parentNode.removeChild(e)}else this.rect=this.range.getBoundingClientRect();return this.rect}}getBoundingClientRect(){return this.rect}getClientRects(){return this.range.getClientRects()}get clientWidth(){return this.rect.width}get clientHeight(){return this.rect.height}}function n(){return new s}},58912:function(e,t,i){!function(e,t){t(i(74531))}(0,function(e){return e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},58923:e=>{"use strict";function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var i,s="";for(i=0;i{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(81539),n=i(72799),r=i(71209),a=i(86960);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"SHyG8vYB",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-action-menu__share share"],[17,1]],[["@action","@icon","@label","@title"],[[30,2,["share"]],"d-post-share",[52,[30,3],"post.controls.share_action"],"post.controls.share"]],null],[1,"\\n"]],["&attrs","@buttonActions","@showLabel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/share.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"share:PostMenuShareButton"))},59011:(e,t,i)=>{"use strict";function s(e){return"user_field"===e.column.type}i.r(t),i.d(t,{default:()=>s})},59021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83426),n=i(88820);let r={all:"all_time",yearly:"this_year",quarterly:"this_quarter",monthly:"this_month",daily:"today"};function a(e){let t,i,{showDateRange:a,fullDay:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=(0,n.i18n)("filters.top."+(r[e]||"this_week"));if(!a)return(0,s.htmlSafe)(l);let u="";switch(t=o?moment().utc().subtract(1,"days"):moment(),e){case"yearly":u=t.clone().subtract(1,"year").format((0,n.i18n)("dates.long_with_year_no_time"))+" – "+t.format((0,n.i18n)("dates.long_with_year_no_time"));break;case"quarterly":u=t.clone().subtract(3,"month").format((0,n.i18n)("dates.long_no_year_no_time"))+" – "+t.format((0,n.i18n)("dates.long_no_year_no_time"));break;case"weekly":u=(o?t.clone().subtract(1,"week"):t.clone().subtract(6,"days")).format((0,n.i18n)("dates.long_no_year_no_time"))+" – "+t.format((0,n.i18n)("dates.long_no_year_no_time"));break;case"monthly":u=t.clone().subtract(1,"month").format((0,n.i18n)("dates.long_no_year_no_time"))+" – "+t.format((0,n.i18n)("dates.long_no_year_no_time"));break;case"daily":u=t.clone().format((0,n.i18n)("dates.full_no_year_no_time"))}return(0,s.htmlSafe)(`